@arcgis/map-components 5.0.0-next.65 → 5.0.0-next.67

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 (437) hide show
  1. package/dist/cdn/{BJHEP4XP.js → 22ZBLGXQ.js} +2 -2
  2. package/dist/cdn/{C6U6JARU.js → 2HMUSZEY.js} +2 -2
  3. package/dist/cdn/{5QBG5EOQ.js → 2J2DJMDL.js} +1 -1
  4. package/dist/cdn/{K47L6NOF.js → 2P6DNJJL.js} +2 -2
  5. package/dist/cdn/{GNHM6SBQ.js → 2V6KWQOC.js} +2 -2
  6. package/dist/cdn/{GBKSMVC7.js → 2V7XLXJV.js} +2 -2
  7. package/dist/cdn/{2QRKVAPO.js → 2VBEQ225.js} +2 -2
  8. package/dist/cdn/{RVWQIUF5.js → 35ICJS3W.js} +2 -2
  9. package/dist/cdn/{XCTFOALH.js → 3ELDEDP2.js} +2 -2
  10. package/dist/cdn/{CJVUGN55.js → 3RWHXN7H.js} +2 -2
  11. package/dist/cdn/{GCOTAHXV.js → 3TFZWVBY.js} +2 -2
  12. package/dist/cdn/{VHOKP7SF.js → 3VJXWJCD.js} +2 -2
  13. package/dist/cdn/{TXOG4Z6N.js → 4KKPB4KM.js} +1 -1
  14. package/dist/cdn/{Q425F5UE.js → 4SMCLBCG.js} +2 -2
  15. package/dist/cdn/{RIHSDHAT.js → 4SRZHHTD.js} +2 -2
  16. package/dist/cdn/{PK4J333D.js → 56U2M5V4.js} +2 -2
  17. package/dist/cdn/{TKCWTYOZ.js → 56XCOWFC.js} +2 -2
  18. package/dist/cdn/{H4H62MBN.js → 5DUABPIN.js} +2 -2
  19. package/dist/cdn/{AWPRUMSC.js → 5L2XFMWY.js} +2 -2
  20. package/dist/cdn/{TA7FJ7HL.js → 5MAN4C7N.js} +2 -2
  21. package/dist/cdn/{Q6N4X2MW.js → 5TIWXMJX.js} +1 -1
  22. package/dist/cdn/{GFD5SGUU.js → 5YK6S4HT.js} +2 -2
  23. package/dist/cdn/{UKP5D6BA.js → 66EWWF6R.js} +2 -2
  24. package/dist/cdn/{RALXK5F3.js → 66XGBQBM.js} +2 -2
  25. package/dist/cdn/{LWXDT3YK.js → 6AOLQOOB.js} +2 -2
  26. package/dist/cdn/{OEMIU6NB.js → 6CTGFFG5.js} +2 -2
  27. package/dist/cdn/{3JCXYH7S.js → 6FGXITHU.js} +2 -2
  28. package/dist/cdn/{XDFS4H76.js → 6MVGR4Q3.js} +2 -2
  29. package/dist/cdn/{TNDFGQEW.js → 6NSZH2NE.js} +2 -2
  30. package/dist/cdn/{IOFNEOYJ.js → 6O3NEH2Z.js} +2 -2
  31. package/dist/cdn/{UQYYPM3W.js → 6QHOZSDW.js} +2 -2
  32. package/dist/cdn/{7PE5UD44.js → 73LVCP3A.js} +2 -2
  33. package/dist/cdn/{WIAVRJTD.js → 74HR3QDO.js} +2 -2
  34. package/dist/cdn/{5PIAYUVO.js → 75BJ2RPY.js} +2 -2
  35. package/dist/cdn/{LD7SNY7V.js → 767ZOISL.js} +2 -2
  36. package/dist/cdn/{G5YF56K3.js → 7CO635RL.js} +2 -2
  37. package/dist/cdn/{QDBIQPQO.js → 7K43K2LZ.js} +2 -2
  38. package/dist/cdn/{3L5UI3AI.js → 7NK4JRQ4.js} +2 -2
  39. package/dist/cdn/{VPUFBN4H.js → A4ZKF2QZ.js} +2 -2
  40. package/dist/cdn/{JOUP23O2.js → A64ZWPDA.js} +2 -2
  41. package/dist/cdn/{X54RL5BW.js → AX3VIDH3.js} +2 -2
  42. package/dist/cdn/{NHIE2466.js → AX5GA5H2.js} +2 -2
  43. package/dist/cdn/{UCJDUGAR.js → B3ER6PBK.js} +2 -2
  44. package/dist/cdn/{R2U35PLT.js → B45A7PJ2.js} +2 -2
  45. package/dist/cdn/B7NJOKRQ.js +4 -0
  46. package/dist/cdn/{L53LKL2S.js → BCIL52FK.js} +2 -2
  47. package/dist/cdn/{DPCRZFAW.js → BLACE246.js} +1 -1
  48. package/dist/cdn/{Y24EAP3X.js → BNTIBG5H.js} +2 -2
  49. package/dist/cdn/{WLUTTI5Q.js → BPYYLGTK.js} +2 -2
  50. package/dist/cdn/{ZOZ4YUTK.js → BQM2ZG55.js} +2 -2
  51. package/dist/cdn/{BM7KL6XM.js → BTRY5MNV.js} +2 -2
  52. package/dist/cdn/{Z3NNJDTM.js → BZ4C7RDY.js} +2 -2
  53. package/dist/cdn/{B56EYQBQ.js → BZPKYCHN.js} +2 -2
  54. package/dist/cdn/{BUM43HIE.js → C37I33FE.js} +2 -2
  55. package/dist/cdn/{53KLRKNE.js → C4HQLDFE.js} +2 -2
  56. package/dist/cdn/{KWMSY74E.js → CDMHHYF4.js} +2 -2
  57. package/dist/cdn/{BCSJYGKD.js → CIYCDAKC.js} +2 -2
  58. package/dist/cdn/{UVKLKBFZ.js → CRE2AMY6.js} +2 -2
  59. package/dist/cdn/{XXZ5OIOO.js → CSCBRVFP.js} +2 -2
  60. package/dist/cdn/{4NRF5SG7.js → CXISHSM6.js} +1 -1
  61. package/dist/cdn/D4WSYFGE.js +4 -0
  62. package/dist/cdn/{T3S6F2QX.js → DA5NWZ6B.js} +2 -2
  63. package/dist/cdn/{DEWXFVA2.js → DFVZAMQJ.js} +2 -2
  64. package/dist/cdn/{JFJWPCQW.js → DGMCD2H7.js} +2 -2
  65. package/dist/cdn/{YEULH7GB.js → DQML4J5Z.js} +2 -2
  66. package/dist/cdn/{FPXZTXZ2.js → DR4S7I7Q.js} +2 -2
  67. package/dist/cdn/{UZJCNUFV.js → DWO6HP37.js} +1 -1
  68. package/dist/cdn/{DYX5JHIZ.js → DYGOKHNM.js} +2 -2
  69. package/dist/cdn/{TIPROZGG.js → E3K2MKZS.js} +2 -2
  70. package/dist/cdn/{E2PNBNYE.js → E44YLMKI.js} +2 -2
  71. package/dist/cdn/{JINP6ERS.js → E5LZVT76.js} +2 -2
  72. package/dist/cdn/{SIBAVBYH.js → EHC32GRH.js} +2 -2
  73. package/dist/cdn/{EUIOCCG7.js → EKROT6MQ.js} +2 -2
  74. package/dist/cdn/{HTEMUI7T.js → EMIZSVVJ.js} +2 -2
  75. package/dist/cdn/{ESIY2O5P.js → EPEPREG4.js} +2 -2
  76. package/dist/cdn/{FIG2JMUZ.js → EPVEF4IV.js} +2 -2
  77. package/dist/cdn/{IAU2D2SB.js → EQMSRY6G.js} +2 -2
  78. package/dist/cdn/{WAP72TTX.js → ESDI347I.js} +2 -2
  79. package/dist/cdn/{N7ANNJIC.js → ETOKITYY.js} +2 -2
  80. package/dist/cdn/{BR3THC3H.js → ETX4WDNX.js} +2 -2
  81. package/dist/cdn/{LE6L63G4.js → EUUXE2QK.js} +2 -2
  82. package/dist/cdn/{4KWASTF5.js → F5O2CLBL.js} +2 -2
  83. package/dist/cdn/{VDDVPZ3G.js → FCPYUKDN.js} +2 -2
  84. package/dist/cdn/{VWT2ZVPA.js → FKKV2GA2.js} +2 -2
  85. package/dist/cdn/{2VSEV6MM.js → FMMVTT4G.js} +1 -1
  86. package/dist/cdn/{T2FTDJIZ.js → FN325N43.js} +1 -1
  87. package/dist/cdn/{OTMOXCM2.js → FO7BGLGZ.js} +2 -2
  88. package/dist/cdn/{NWT3MS2P.js → FPCHUHQ7.js} +2 -2
  89. package/dist/cdn/FS47ANAM.js +4 -0
  90. package/dist/cdn/{DQCAMOIF.js → FUCVCWPB.js} +2 -2
  91. package/dist/cdn/{7GASA4FN.js → FVKBK2X4.js} +2 -2
  92. package/dist/cdn/{NEMIRQXR.js → FZIBVSN4.js} +2 -2
  93. package/dist/cdn/{J5SLQL4V.js → G4MEC757.js} +2 -2
  94. package/dist/cdn/{YJ7OYO7Z.js → GGFE4OKL.js} +2 -2
  95. package/dist/cdn/{I5GCV6SR.js → GJ5F3YQH.js} +2 -2
  96. package/dist/cdn/{HN3W7FJ7.js → GK4E3OLJ.js} +2 -2
  97. package/dist/cdn/{M7AQFRSL.js → GTM6NT6F.js} +2 -2
  98. package/dist/cdn/{7LEGPRNL.js → GV7R6ODQ.js} +2 -2
  99. package/dist/cdn/{EUR7C455.js → HEAAVUAR.js} +2 -2
  100. package/dist/cdn/{CWWB2IAP.js → HEMBK6OH.js} +2 -2
  101. package/dist/cdn/{KSFFCU5K.js → HIK6CZYO.js} +2 -2
  102. package/dist/cdn/{3UVK2EE7.js → HLLVMJQZ.js} +2 -2
  103. package/dist/cdn/{BDTKLJNM.js → HOHMW6S7.js} +3 -3
  104. package/dist/cdn/{O4YDJ4CR.js → HV2MRIAJ.js} +1 -1
  105. package/dist/cdn/{NP6VAK5C.js → HWGN24EU.js} +2 -2
  106. package/dist/cdn/{B5LMEWVN.js → HWW5FTZI.js} +2 -2
  107. package/dist/cdn/{GAAV43RP.js → I2WFMQNC.js} +2 -2
  108. package/dist/cdn/{LKGUWQCT.js → I33HGRWX.js} +2 -2
  109. package/dist/cdn/{HWRCE4FY.js → I47KECCR.js} +2 -2
  110. package/dist/cdn/{UCFUVVL7.js → I4KGNTOS.js} +2 -2
  111. package/dist/cdn/{JXLQWHSV.js → I74RWDF4.js} +2 -2
  112. package/dist/cdn/{2KND3F45.js → IK5ZWXEW.js} +2 -2
  113. package/dist/cdn/{7JDNJOKW.js → IPZIIMC6.js} +2 -2
  114. package/dist/cdn/{EUIFOFK5.js → ITG6MSU7.js} +2 -2
  115. package/dist/cdn/{ATT6DCCW.js → IWMMC4UW.js} +2 -2
  116. package/dist/cdn/{5VA4AXPP.js → JC7BYFF2.js} +2 -2
  117. package/dist/cdn/{4KZV2BWE.js → JDMLYHQR.js} +2 -2
  118. package/dist/cdn/{HH765JZC.js → JH3IT72I.js} +2 -2
  119. package/dist/cdn/{6ZMIDMXE.js → JICZV5CK.js} +2 -2
  120. package/dist/cdn/{OZ3JGZBP.js → JKDYUAUS.js} +2 -2
  121. package/dist/cdn/{IJU3SRGI.js → JZDOQOUQ.js} +2 -2
  122. package/dist/cdn/K3OAPLNY.js +4 -0
  123. package/dist/cdn/{Y6SYTDCJ.js → L2YBSSZ7.js} +2 -2
  124. package/dist/cdn/{TG2MCMXO.js → LC4BNSEU.js} +2 -2
  125. package/dist/cdn/{RRB4SWD2.js → LIWCKT44.js} +2 -2
  126. package/dist/cdn/{5RY4EI4X.js → LNXCX3IL.js} +2 -2
  127. package/dist/cdn/{G4LG5CHE.js → LSAIJBVV.js} +2 -2
  128. package/dist/cdn/LTHV4Y3K.js +4 -0
  129. package/dist/cdn/LTROZPDZ.js +4 -0
  130. package/dist/cdn/{Q57GDWNL.js → LVNJOCMT.js} +2 -2
  131. package/dist/cdn/{5B2DGI4Z.js → LY3LG7G7.js} +2 -2
  132. package/dist/cdn/{RQDXBXI3.js → M4S6FPKH.js} +2 -2
  133. package/dist/cdn/{SV5NIZIA.js → M74AGXWG.js} +2 -2
  134. package/dist/cdn/{AVDPYQ7E.js → MDGFDWY5.js} +2 -2
  135. package/dist/cdn/{JX5RDQFQ.js → MOV6EQSG.js} +2 -2
  136. package/dist/cdn/{LYAWLMJQ.js → MUECXXXB.js} +2 -2
  137. package/dist/cdn/{EJK4WZEP.js → MYM63GNH.js} +2 -2
  138. package/dist/cdn/{X7WRJNWU.js → N7H652A2.js} +2 -2
  139. package/dist/cdn/{HHSEJYOP.js → NCKSIPEG.js} +2 -2
  140. package/dist/cdn/{6LRKZVG3.js → NH45VJDS.js} +2 -2
  141. package/dist/cdn/{HCNDFLNG.js → NIPBEZ3X.js} +2 -2
  142. package/dist/cdn/{5NMAXRTF.js → NISI5RU3.js} +2 -2
  143. package/dist/cdn/{NY47EWBH.js → NMHORQ52.js} +2 -2
  144. package/dist/cdn/{QV5N4DWP.js → NUWADIOT.js} +2 -2
  145. package/dist/cdn/{G2WCBJCC.js → NVMPOZKE.js} +2 -2
  146. package/dist/cdn/{BOPLHEVC.js → NWG43M6P.js} +2 -2
  147. package/dist/cdn/{LNMQCN2Y.js → NY34UR6J.js} +2 -2
  148. package/dist/cdn/{35NY4ARB.js → OIL27XKY.js} +2 -2
  149. package/dist/cdn/{N345D7JI.js → OJ4UKQBC.js} +2 -2
  150. package/dist/cdn/{N624XXEY.js → ON3LHGY2.js} +2 -2
  151. package/dist/cdn/{5STBO2TF.js → P3VNMDEH.js} +2 -2
  152. package/dist/cdn/P5DQ2TDJ.js +4 -0
  153. package/dist/cdn/{EDMGJ53Y.js → P7DGSZ3D.js} +2 -2
  154. package/dist/cdn/{FRJ5L26H.js → PBXLVQH3.js} +2 -2
  155. package/dist/cdn/{O7GA4XVL.js → PC7DZF3S.js} +2 -2
  156. package/dist/cdn/{PV7SKQCM.js → PSX5EREP.js} +2 -2
  157. package/dist/cdn/{7JN5KXNK.js → PXAI3AYM.js} +2 -2
  158. package/dist/cdn/{ZQBWVNZU.js → PZRYBKZH.js} +2 -2
  159. package/dist/cdn/{KF4LI52J.js → Q3MXCJ4L.js} +2 -2
  160. package/dist/cdn/{VEQT2S7L.js → Q44O6KWO.js} +2 -2
  161. package/dist/cdn/{NIPRLTKS.js → Q54MTJLQ.js} +2 -2
  162. package/dist/cdn/{NP42P62U.js → Q6HNUBKI.js} +2 -2
  163. package/dist/cdn/{NUBSWNIX.js → QABUDA5I.js} +2 -2
  164. package/dist/cdn/{QHXH52SD.js → QFKOOJZY.js} +2 -2
  165. package/dist/cdn/{Y3EAIJT2.js → QO2KSZ4L.js} +2 -2
  166. package/dist/cdn/{AX4VYIJJ.js → QS2KF7FA.js} +1 -1
  167. package/dist/cdn/{R5ZME4FZ.js → QSXHJT32.js} +2 -2
  168. package/dist/cdn/{4LS6A43E.js → QVTZKDYF.js} +2 -2
  169. package/dist/cdn/{Z5G7XQPZ.js → QXTZIFMZ.js} +2 -2
  170. package/dist/cdn/{B2PT54EK.js → R3MYPVTD.js} +2 -2
  171. package/dist/cdn/{V5NCCPE6.js → R4M55RG6.js} +2 -2
  172. package/dist/cdn/{QNVLFIM6.js → R5JGKEV2.js} +2 -2
  173. package/dist/cdn/{JFGRGVPS.js → RGKVPOMZ.js} +2 -2
  174. package/dist/cdn/RH2YHX3P.js +4 -0
  175. package/dist/cdn/{AG7JSJKM.js → RJOWS5MZ.js} +2 -2
  176. package/dist/cdn/{CWWQ5DVQ.js → RNC3FJ3S.js} +1 -1
  177. package/dist/cdn/{UBP6DPGX.js → RQQ7IXRP.js} +2 -2
  178. package/dist/cdn/{BZ6JECFC.js → RQTZYZZ6.js} +2 -2
  179. package/dist/cdn/{ROXHM4KC.js → RYNUN4IL.js} +2 -2
  180. package/dist/cdn/{JFJVWP3U.js → S45GQDNX.js} +1 -1
  181. package/dist/cdn/{JNWAAADJ.js → SBTQWSWC.js} +2 -2
  182. package/dist/cdn/{C2EZM4TZ.js → SN25TXJU.js} +2 -2
  183. package/dist/cdn/{REZNHBLL.js → SNDBNSIV.js} +2 -2
  184. package/dist/cdn/{DMPFR2VI.js → SNSDTQMU.js} +2 -2
  185. package/dist/cdn/{AX2T37U6.js → SQGNUFMS.js} +1 -1
  186. package/dist/cdn/{3KDM6YY5.js → SUFS3HTE.js} +2 -2
  187. package/dist/cdn/{JT4BL4MI.js → SVZ6FAM5.js} +2 -2
  188. package/dist/cdn/{KAUAQB5Y.js → SXHIEPVW.js} +2 -2
  189. package/dist/cdn/{7TGU7KD4.js → SXLGVSO6.js} +2 -2
  190. package/dist/cdn/{PMPAGMK6.js → SYAQMZMQ.js} +2 -2
  191. package/dist/cdn/{GLAFC4GB.js → T4WAECZN.js} +2 -2
  192. package/dist/cdn/{4EKNIIEL.js → TFQ7CBIN.js} +2 -2
  193. package/dist/cdn/{VUDJZHBN.js → TME2DRKC.js} +2 -2
  194. package/dist/cdn/{IXXU3CSS.js → TNPOR5E5.js} +2 -2
  195. package/dist/cdn/{TFA2DQO3.js → TO75T3AD.js} +2 -2
  196. package/dist/cdn/{IZRU6BKU.js → TQ4OGM7K.js} +2 -2
  197. package/dist/cdn/{YE55BS2Q.js → TUD7KUZC.js} +2 -2
  198. package/dist/cdn/{E2B4A7JI.js → TVP6XXKF.js} +2 -2
  199. package/dist/cdn/{IBSZVEO4.js → TWCZPC2A.js} +2 -2
  200. package/dist/cdn/{KRRD73M7.js → TYDBNT2V.js} +2 -2
  201. package/dist/cdn/{IHKT5L2N.js → TZVUUDV7.js} +2 -2
  202. package/dist/cdn/{LEFUBLHD.js → UA7XDPNY.js} +2 -2
  203. package/dist/cdn/{A6ZDKGQC.js → UG5KA4NB.js} +2 -2
  204. package/dist/cdn/{NTWYBKV5.js → UHYKDZ7J.js} +2 -2
  205. package/dist/cdn/{E74OSTOG.js → UNUVSU7Q.js} +2 -2
  206. package/dist/cdn/{RT65YYLB.js → UVI2BWG2.js} +2 -2
  207. package/dist/cdn/{UYA7EJAG.js → VAJ24WML.js} +2 -2
  208. package/dist/cdn/{345GKQYL.js → VEJ5FG75.js} +2 -2
  209. package/dist/cdn/{D3JV4VL4.js → VPDXKXCC.js} +1 -1
  210. package/dist/cdn/{Y5OSSEKH.js → W4C2JITJ.js} +1 -1
  211. package/dist/cdn/{ONUUXE7I.js → W6XJGXH6.js} +2 -2
  212. package/dist/cdn/{TG4MX7AM.js → W7KWVBJ5.js} +2 -2
  213. package/dist/cdn/{AYFDVED6.js → WFNLWK76.js} +2 -2
  214. package/dist/cdn/{6QD2NADI.js → WUVYGM7F.js} +2 -2
  215. package/dist/cdn/{L7PM5PWT.js → WYLR6PIL.js} +2 -2
  216. package/dist/cdn/{S5XJEGFM.js → WYYVLYLI.js} +2 -2
  217. package/dist/cdn/{TBPNX6RN.js → WZXWEBI3.js} +1 -1
  218. package/dist/cdn/{UXP7P2OA.js → XILQVE34.js} +2 -2
  219. package/dist/cdn/{OGHVJWW3.js → XNLZGWNP.js} +2 -2
  220. package/dist/cdn/{3HKFIINT.js → XPPYXO3N.js} +2 -2
  221. package/dist/cdn/{ORXTE5WT.js → XPQ6LAON.js} +2 -2
  222. package/dist/cdn/{ATHJBHFY.js → Y33D43YW.js} +2 -2
  223. package/dist/cdn/{YVMGT4OF.js → YKGRMO2T.js} +2 -2
  224. package/dist/cdn/{275CRYH6.js → YPA7PKX3.js} +2 -2
  225. package/dist/cdn/{ZOHOTLJQ.js → YRKQUZJM.js} +2 -2
  226. package/dist/cdn/{OLKD773Z.js → YXHNB6YW.js} +4 -4
  227. package/dist/cdn/{RYM5AUKL.js → Z4BAIRVV.js} +2 -2
  228. package/dist/cdn/{OGXGWEYC.js → ZC6M2WG3.js} +2 -2
  229. package/dist/cdn/{3RWUCAU3.js → ZD5T3TQU.js} +2 -2
  230. package/dist/cdn/{U5VJC7XL.js → ZEWTYDHQ.js} +2 -2
  231. package/dist/cdn/ZJG3JA3R.js +4 -0
  232. package/dist/cdn/{XNSYK37O.js → ZK7LO3AM.js} +2 -2
  233. package/dist/cdn/{WNUC527M.js → ZO6NDZK7.js} +2 -2
  234. package/dist/cdn/{RRKT3GP4.js → ZPN6NMOO.js} +2 -2
  235. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  236. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -1
  237. package/dist/cdn/index.js +2 -2
  238. package/dist/chunks/AnalysisViewModel.js +1 -1
  239. package/dist/chunks/action-utils.js +1 -1
  240. package/dist/chunks/async-utils.js +1 -1
  241. package/dist/chunks/basemap-gallery-resources.js +1 -1
  242. package/dist/chunks/chart-utils.js +1 -1
  243. package/dist/chunks/chartCommon.js +1 -1
  244. package/dist/chunks/component-utils.js +1 -1
  245. package/dist/chunks/constants.js +1 -1
  246. package/dist/chunks/createCloseEvent.js +1 -1
  247. package/dist/chunks/esri-main.js +1 -1
  248. package/dist/chunks/feature-utils.js +16 -16
  249. package/dist/chunks/globalCss.js +1 -1
  250. package/dist/chunks/handle.js +1 -1
  251. package/dist/chunks/heading.js +1 -1
  252. package/dist/chunks/layer-list.js +1 -1
  253. package/dist/chunks/legacyIcon.js +1 -1
  254. package/dist/chunks/maybe.js +1 -1
  255. package/dist/chunks/measurementUtils.js +1 -1
  256. package/dist/chunks/runtime.js +1 -1
  257. package/dist/chunks/screenLocation.js +1 -1
  258. package/dist/chunks/slots.js +2 -2
  259. package/dist/chunks/svgUtils.js +1 -1
  260. package/dist/chunks/time-utils.js +1 -1
  261. package/dist/chunks/univariateUtils.js +1 -1
  262. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  263. package/dist/chunks/useHandles.js +1 -1
  264. package/dist/chunks/useT9n.js +1 -1
  265. package/dist/chunks/useView.js +1 -1
  266. package/dist/chunks/useViewModel.js +1 -1
  267. package/dist/chunks/useWidget.js +1 -1
  268. package/dist/chunks/utils.js +1 -1
  269. package/dist/chunks/utils2.js +1 -1
  270. package/dist/chunks/visible-element.js +1 -1
  271. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  272. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  273. package/dist/components/arcgis-attachments/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  275. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  276. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  277. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  279. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  280. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  281. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-color-select/customElement.js +1 -1
  284. package/dist/components/arcgis-compass/customElement.js +1 -1
  285. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  286. package/dist/components/arcgis-daylight/customElement.js +3 -1
  287. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  288. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  289. package/dist/components/arcgis-directions/customElement.js +1 -1
  290. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  291. package/dist/components/arcgis-editor/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  293. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  294. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  295. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  296. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  297. package/dist/components/arcgis-expand/customElement.js +1 -1
  298. package/dist/components/arcgis-feature/customElement.js +2 -2
  299. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  301. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-fields/customElement.js +15 -15
  304. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-media/customElement.js +2 -2
  306. package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
  307. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +2 -1
  311. package/dist/components/arcgis-features/customElement.js +1 -1
  312. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  313. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  314. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  315. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  316. package/dist/components/arcgis-home/customElement.js +1 -1
  317. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  318. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  319. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  320. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  321. package/dist/components/arcgis-legend/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  337. package/dist/components/arcgis-link-chart/customElement.js +2 -1
  338. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  339. package/dist/components/arcgis-locate/customElement.js +1 -1
  340. package/dist/components/arcgis-map/customElement.js +2 -1
  341. package/dist/components/arcgis-measurement/customElement.js +1 -1
  342. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  343. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  344. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  345. package/dist/components/arcgis-placement/customElement.js +1 -1
  346. package/dist/components/arcgis-popup/customElement.js +1 -1
  347. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +19 -0
  348. package/dist/components/arcgis-presentation/customElement.d.ts +27 -2
  349. package/dist/components/arcgis-presentation/customElement.js +94 -14
  350. package/dist/components/arcgis-presentation/index.d.ts +1 -0
  351. package/dist/components/arcgis-presentation/index.js +1 -0
  352. package/dist/components/arcgis-print/customElement.js +1 -1
  353. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  354. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  356. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  357. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  358. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  359. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  360. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  361. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  362. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  363. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  364. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  365. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  366. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  367. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  368. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  369. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  370. package/dist/components/arcgis-scene/customElement.js +2 -1
  371. package/dist/components/arcgis-search/customElement.js +1 -1
  372. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  373. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  374. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  375. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
  376. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
  377. package/dist/components/arcgis-sketch/customElement.js +1 -1
  378. package/dist/components/arcgis-slice/customElement.js +1 -1
  379. package/dist/components/arcgis-spinner/customElement.js +1 -1
  380. package/dist/components/arcgis-swipe/customElement.js +1 -1
  381. package/dist/components/arcgis-table-list/customElement.js +1 -1
  382. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  383. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  384. package/dist/components/arcgis-track/customElement.js +1 -1
  385. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  387. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  388. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  389. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  390. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  393. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  394. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  395. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  396. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  397. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  398. package/dist/components/arcgis-version-management/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  400. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  402. package/dist/components/arcgis-video/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  406. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  407. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  408. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  409. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  410. package/dist/components/arcgis-volume-measurement/customElement.js +53 -44
  411. package/dist/components/arcgis-volume-measurement/index.d.ts +1 -0
  412. package/dist/components/arcgis-volume-measurement/index.js +1 -0
  413. package/dist/components/arcgis-weather/customElement.js +1 -1
  414. package/dist/components/arcgis-zoom/customElement.js +1 -1
  415. package/dist/docs/api.json +126 -2
  416. package/dist/docs/docs.json +99 -2
  417. package/dist/docs/vscode.html-custom-data.json +28 -2
  418. package/dist/docs/web-types.json +46 -3
  419. package/dist/index.d.ts +74 -74
  420. package/dist/index.js +1 -1
  421. package/dist/loader.d.ts +1 -1
  422. package/dist/loader.js +2 -2
  423. package/dist/types/components.d.ts +1 -1
  424. package/dist/types/lumina.d.ts +75 -75
  425. package/dist/types/preact.d.ts +75 -75
  426. package/dist/types/preact10.d.ts +75 -75
  427. package/dist/types/react.d.ts +75 -75
  428. package/dist/types/stencil.d.ts +75 -75
  429. package/package.json +3 -3
  430. package/dist/cdn/7MFIX2DN.js +0 -4
  431. package/dist/cdn/DBR6LHAF.js +0 -4
  432. package/dist/cdn/DCDHF7LW.js +0 -4
  433. package/dist/cdn/EWOOGZOU.js +0 -4
  434. package/dist/cdn/K2GUDPS7.js +0 -4
  435. package/dist/cdn/LEUPDLKZ.js +0 -4
  436. package/dist/cdn/SZQVEVWP.js +0 -4
  437. package/dist/cdn/VQ2TCARY.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.65 */
4
- import c from"./NUBSWNIX.js";import{a as E}from"./KF4LI52J.js";import b from"./DPCRZFAW.js";import a from"./GNHM6SBQ.js";import"./TBPNX6RN.js";import"./3UVK2EE7.js";import{a as w}from"./IHKT5L2N.js";import"./XDFS4H76.js";import"./6LRKZVG3.js";import{h as S}from"./5QBG5EOQ.js";import{b as y}from"./Y5OSSEKH.js";import{G as v,H as f,I as T,J as h,K as A,L as o,O as M,b as r}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
3
+ v5.0.0-next.67 */
4
+ import c from"./QABUDA5I.js";import{a as E}from"./Q3MXCJ4L.js";import b from"./BLACE246.js";import a from"./2V6KWQOC.js";import"./WZXWEBI3.js";import"./HLLVMJQZ.js";import{a as w}from"./TZVUUDV7.js";import"./6MVGR4Q3.js";import"./NH45VJDS.js";import{h as S}from"./2J2DJMDL.js";import{b as y}from"./W4C2JITJ.js";import{G as v,H as f,I as T,J as h,K as A,L as o,O as M,b as r}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([{isLayerFromCatalog:O},,,{b:I,c:L}])=>{var D={hideChildren:"hide-children"};function R({exclusive:a,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?a?"circle-f":i?"check-square-f":"view-visible":a?"circle":i?"square":"view-hide"}function P({connectionStatus:a,publishing:e}){return a?a==="connected"?"beacon":"offline":e?"square":"bullet-point"}function F(a){return a?.listMode===D.hideChildren}function k(a){let e=(a?.layer&&U(a.layer)?a.layer.layer:void 0)??a?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(a){return a!=null&&"layer"in a&&a.layer!=null}function B(a){let e=V(a);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(a){return a&&"capabilities"in a&&a.capabilities!=null&&"exportMap"in a.capabilities?a.capabilities.exportMap:void 0}function G(a){return a?.getAttribute("data-item")}function N(a){let{children:e,error:t}=a,i="incompatible"in a?a.incompatible:!1;return!!e?.filter(n=>!n.hidden).length&&!t&&!i}function q(a){for(let e of a)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function x(a,e){let t=a.parent,i=a.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let n=i.sourceJSON.layers;if(!n)return!1;let s=n.find(l=>a.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:n.find(l=>l.id===t.id)?.type==="Catalog Layer"}var C=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.messages=w(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=E}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:n}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(n.statusIndicator,{[n.publishing]:s},"updating"in n&&{[n.updating]:c},"connectionStatus"in n&&{[n.connectionStatus]:u},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:n}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(n.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:n,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!n)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:n}),d=n==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:n}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${n} .icon=${I(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",n=t?.type==="sublayer"&&x(t,"footprints");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",n=t?.type==="sublayer"&&x(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||n)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:n}=t,s=n?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!n.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:n,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=n?!1:F(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:n}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${n?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:q(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(S(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(G(e.target)!==t)return;let n=this._getParentVisibilityMode(i);this.selectionMode!=="none"||n==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:n,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:n===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:n}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${I(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(n?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${n} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let n="image"in e?e.image:void 0,s={[t.itemActionImage]:!!n};return n?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(L(n))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};M("arcgis-layer-list-item",C);return C},"layers/catalog/catalogUtils",a,b,c)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.67 */
4
+ import e from"./K3OAPLNY.js";import d from"./BLACE246.js";import c from"./5YK6S4HT.js";import"./TZVUUDV7.js";import b from"./Q44O6KWO.js";import a from"./XPPYXO3N.js";import"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./2J2DJMDL.js";import"./W4C2JITJ.js";import"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,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.65 */
4
- import e from"./GFD5SGUU.js";import{a as I}from"./IHKT5L2N.js";import{a as f}from"./T2FTDJIZ.js";import d from"./VEQT2S7L.js";import a from"./3HKFIINT.js";import{g as k}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import{b as p}from"./Y5OSSEKH.js";import{H as b,I as S,J as c,L as m,O as C,a as x,b as r,s as y,w as $}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([O,h,{substitute:D},{watch:R},z,,,M])=>{function L(n){if(n==null||Number.isNaN(n))return 0;let e=n+180;return Math.trunc(T(e,360))}function B(n){let e=n;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:T(Math.trunc(e),360)-180}function T(n,e){return(n%e+e)%e}var E={fromAttribute:n=>h.fromHex(n),toAttribute:n=>typeof n=="string"?n:n?.toHex()??""},N=x`.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}:host{display:flex}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}`,W="arcgis-grid-controls",s={base:W,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=h.fromArray([115,115,115]),_=h.fromArray([200,200,200]),j=["interactive","place","rotate"],A=M(z),w=class extends S{constructor(){super(...arguments),this._labelUid=$(),this._messages=I({}),this._viewModel=A(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.view=this._viewModel.view,this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=k()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,view:0,referenceElement:1,position:3,icon:1,customColor:[3,{converter:E}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:E}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=N}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":_.equals(e)?"light":"custom"}set theme(e){let i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=_;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[R(()=>this._viewModel.gridColor,e=>{let i=e instanceof h?e:typeof e=="string"?h.fromHex(e):null;i&&!v.equals(e)&&!_.equals(i)?this.customColor=i:v.equals(i)?this.theme="dark":_.equals(i)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let i=e.dataset.placementAction;this._placementModeButtonRefs.set(i,e)}else this._placementModeButtonRefs.clear()}render(){return r`<div class=${c(p(s.base,f.widget,f.panel))}><div class=${c(s.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:i,hideNumericInputs:t,hideLineIntervalInput:a,hideGridSnapEnabledToggle:o,hideDynamicScaleToggle:l,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),i?void 0:this._renderGridPlacementButtons(),t?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!o&&this.snappingOptions?this._renderSnappingToggle():void 0,l?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:i,gridControlsEnabled:t}=this,a=i||!t;return r`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(o=>this._renderPlacementModeButton(o,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,i,t){let a=this._messages?.placementState?.[e],o=this._placementModeButtonRefs.get(e);return r`<div><calcite-action .active=${t===e} alignment=center .disabled=${i} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${o?r`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${o}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:i,effectiveSpacingAfterDynamicScaling:t,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:o}=this,l=t!=null&&t!==i;return r`<div class=${c(p(s.numericInputsContainer))}>${[a?r`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${l?r`<calcite-icon class=${c(p(s.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!o} number-button-type=none .value=${i?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${l&&this._warningIconTooltipRef?r`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:t},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,r`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!o} integer number-button-type=none suffix-text=\u00B0 .value=${`${L(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=B(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:i}=this;return r`<div class=${c(p(s.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!i} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:t})=>{let a=Number.parseInt(t.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(t.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:i}=this,t=e?.gridEnabled??!1;return r`<arcgis-labeled-switch .checked=${!!t} .disabled=${!(i&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:i,dynamicScaling:t,gridControlsEnabled:a}=this,o=!this.hideOutOfScaleWarning&&i;return r`<arcgis-labeled-switch .checked=${t} .disabled=${!a} .hint=${o?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${l=>{l.stopPropagation(),this.dynamicScaling=l.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:i}=this;return r`<arcgis-labeled-switch .checked=${i} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${t=>{t.stopPropagation(),this.rotateWithMap=t.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return r`<div class=${c(s.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return r`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${c(s.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?r`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${i=>{let t=h.fromHex(i.currentTarget.value);t&&(this.customColor=t,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:i,gridControlsEnabled:t}=this,{value:a}=e,o=this._messages?.gridTheme?.[a],l=`${this._labelUid}--theme_tile_${a}`,d=`${l}__label`,g=u.gridTheme[a];return r`<div class=${c(p({[s.tile]:!0,[s.tileDisabled]:!t}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${i===a} .disabled=${!t} id=${l??m} .name=${`${this._labelUid}--theme`} @change=${P=>{this.theme=a,P.currentTarget.focus()}} tabindex=0 type=radio><div class=${c(s.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${l} id=${d??m}>${o}</calcite-label></div></div>`}};C("arcgis-grid-controls",w);return w},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,d,e)
3
+ v5.0.0-next.67 */
4
+ import e from"./5YK6S4HT.js";import{a as I}from"./TZVUUDV7.js";import{a as f}from"./FN325N43.js";import d from"./Q44O6KWO.js";import a from"./XPPYXO3N.js";import{g as k}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./2J2DJMDL.js";import{b as p}from"./W4C2JITJ.js";import{H as b,I as S,J as c,L as m,O as C,a as x,b as r,s as y,w as $}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([O,h,{substitute:D},{watch:R},z,,,M])=>{function L(n){if(n==null||Number.isNaN(n))return 0;let e=n+180;return Math.trunc(T(e,360))}function B(n){let e=n;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:T(Math.trunc(e),360)-180}function T(n,e){return(n%e+e)%e}var E={fromAttribute:n=>h.fromHex(n),toAttribute:n=>typeof n=="string"?n:n?.toHex()??""},N=x`.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}:host{display:flex}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);overflow-y:auto;width:100%;.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}`,W="arcgis-grid-controls",s={base:W,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=h.fromArray([115,115,115]),_=h.fromArray([200,200,200]),j=["interactive","place","rotate"],A=M(z),w=class extends S{constructor(){super(...arguments),this._labelUid=$(),this._messages=I({}),this._viewModel=A(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.view=this._viewModel.view,this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=k()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,view:0,referenceElement:1,position:3,icon:1,customColor:[3,{converter:E}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:E}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=N}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":_.equals(e)?"light":"custom"}set theme(e){let i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=i?.theme?.accentColor??new O().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=_;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[R(()=>this._viewModel.gridColor,e=>{let i=e instanceof h?e:typeof e=="string"?h.fromHex(e):null;i&&!v.equals(e)&&!_.equals(i)?this.customColor=i:v.equals(i)?this.theme="dark":_.equals(i)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let i=e.dataset.placementAction;this._placementModeButtonRefs.set(i,e)}else this._placementModeButtonRefs.clear()}render(){return r`<div class=${c(p(s.base,f.widget,f.panel))}><div class=${c(s.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:i,hideNumericInputs:t,hideLineIntervalInput:a,hideGridSnapEnabledToggle:o,hideDynamicScaleToggle:l,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),i?void 0:this._renderGridPlacementButtons(),t?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!o&&this.snappingOptions?this._renderSnappingToggle():void 0,l?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:i,gridControlsEnabled:t}=this,a=i||!t;return r`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(o=>this._renderPlacementModeButton(o,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,i,t){let a=this._messages?.placementState?.[e],o=this._placementModeButtonRefs.get(e);return r`<div><calcite-action .active=${t===e} alignment=center .disabled=${i} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${o?r`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${o}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:i,effectiveSpacingAfterDynamicScaling:t,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:o}=this,l=t!=null&&t!==i;return r`<div class=${c(p(s.numericInputsContainer))}>${[a?r`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${l?r`<calcite-icon class=${c(p(s.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!o} number-button-type=none .value=${i?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${l&&this._warningIconTooltipRef?r`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:t},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,r`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!o} integer number-button-type=none suffix-text=\u00B0 .value=${`${L(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=B(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:i}=this;return r`<div class=${c(p(s.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!i} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:t})=>{let a=Number.parseInt(t.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(t.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:i}=this,t=e?.gridEnabled??!1;return r`<arcgis-labeled-switch .checked=${!!t} .disabled=${!(i&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:i,dynamicScaling:t,gridControlsEnabled:a}=this,o=!this.hideOutOfScaleWarning&&i;return r`<arcgis-labeled-switch .checked=${t} .disabled=${!a} .hint=${o?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${l=>{l.stopPropagation(),this.dynamicScaling=l.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:i}=this;return r`<arcgis-labeled-switch .checked=${i} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${t=>{t.stopPropagation(),this.rotateWithMap=t.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return r`<div class=${c(s.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return r`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${c(s.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?r`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${i=>{let t=h.fromHex(i.currentTarget.value);t&&(this.customColor=t,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:i,gridControlsEnabled:t}=this,{value:a}=e,o=this._messages?.gridTheme?.[a],l=`${this._labelUid}--theme_tile_${a}`,d=`${l}__label`,g=u.gridTheme[a];return r`<div class=${c(p({[s.tile]:!0,[s.tileDisabled]:!t}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${i===a} .disabled=${!t} id=${l??m} .name=${`${this._labelUid}--theme`} @change=${P=>{this.theme=a,P.currentTarget.focus()}} tabindex=0 type=radio><div class=${c(s.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${l} id=${d??m}>${o}</calcite-label></div></div>`}};C("arcgis-grid-controls",w);return w},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,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.65 */
4
- import{e as r}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{I as o,O as n,b as t}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","core/reactiveUtils")
3
+ v5.0.0-next.67 */
4
+ import{e as r}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./W4C2JITJ.js";import{I as o,O as n,b as t}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([h,{watch:v}])=>{var _=["Auto"],g=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],d=new h([255,127,0]),s=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._direction=r(),this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,a=this._direction==="rtl"?"chevron-left":"chevron-right",p=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({label:i,value:c})=>t`<calcite-list-item .disabled=${l?.layer?.isLive&&c!==1} .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${_.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,$=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??d.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new h(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??d.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon .icon=${a} scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?p:null}${this._active==="quality"?m:null}${this._active==="color"?$:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",s);return s},"Color","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.65 */
4
- import{e as l}from"./O4YDJ4CR.js";import{I as o,J as r,O as n,a as i,b as e}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([m])=>{var u=i`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}.actions[hidden]{display:none}`,a=class extends o{constructor(){super(...arguments),this._formatter=new m,this.layout="block",this.items=[],this.state="disabled",this.unsupportedLabel=""}static{this.properties={hintLabel:1,layout:1,items:0,state:1,unsupportedLabel:1}}static{this.styles=u}async load(){await this._formatter.when()}render(){switch(this.state){case"unsupported":return e`<section class="error"><p>${this.unsupportedLabel}</p></section>`;case"measuring":return e`<section class="hint"><p>${this.hintLabel}</p></section>`;case"ready":return e`<div class="actions"><slot name=actions></slot></div>`;default:return e`<slot name=settings></slot>${d({formatter:this._formatter,items:this.items,layout:this.layout})}<div class="actions"><slot name=actions></slot></div>`}}};function d(t){return e`<section class="section">${t.items.map(s=>p({formatter:t.formatter,measurement:s.measurement,title:s.title,layout:t.layout}))}</section>`}function p(t){let s=t.measurement.state==="available"?l(t.formatter,t.measurement.value):null,c=t.measurement.state==="unavailable";return e`<div class=${r({item:!0,"item-disabled":c})}><calcite-label .layout=${t.layout}>${t.title}<output aria-live=polite class="item-value">${s??"-"}</output></calcite-label></div>`}n("arcgis-measurement-content",a);return a},"applications/Components/QuantityFormatter")
3
+ v5.0.0-next.67 */
4
+ import{e as l}from"./HV2MRIAJ.js";import{I as o,J as r,O as n,a as i,b as e}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([m])=>{var u=i`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}.actions[hidden]{display:none}`,a=class extends o{constructor(){super(...arguments),this._formatter=new m,this.layout="block",this.items=[],this.state="disabled",this.unsupportedLabel=""}static{this.properties={hintLabel:1,layout:1,items:0,state:1,unsupportedLabel:1}}static{this.styles=u}async load(){await this._formatter.when()}render(){switch(this.state){case"unsupported":return e`<section class="error"><p>${this.unsupportedLabel}</p></section>`;case"measuring":return e`<section class="hint"><p>${this.hintLabel}</p></section>`;case"ready":return e`<div class="actions"><slot name=actions></slot></div>`;default:return e`<slot name=settings></slot>${d({formatter:this._formatter,items:this.items,layout:this.layout})}<div class="actions"><slot name=actions></slot></div>`}}};function d(t){return e`<section class="section">${t.items.map(s=>p({formatter:t.formatter,measurement:s.measurement,title:s.title,layout:t.layout}))}</section>`}function p(t){let s=t.measurement.state==="available"?l(t.formatter,t.measurement.value):null,c=t.measurement.state==="unavailable";return e`<div class=${r({item:!0,"item-disabled":c})}><calcite-label .layout=${t.layout}>${t.title}<output aria-live=polite class="item-value">${s??"-"}</output></calcite-label></div>`}n("arcgis-measurement-content",a);return a},"applications/Components/QuantityFormatter")
@@ -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.65 */
4
- import{a as m}from"./275CRYH6.js";import"./3UVK2EE7.js";import"./T2FTDJIZ.js";import{b as o}from"./Y5OSSEKH.js";import{I as d,J as s,O as g,a as c,b as i}from"./OLKD773Z.js";import"./JFJVWP3U.js";var f=c`.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)}:host{display:block}.arcgis-legend__no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.arcgis-legend__layer{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-sm);word-wrap:break-word}.arcgis-legend__layer:last-child{border-bottom:none}.arcgis-legend__layer--elements{margin-left:var(--calcite-spacing-sm);overflow:auto}.arcgis-legend__layer-child{margin-left:var(--calcite-spacing-sm);padding-right:0;padding-left:0}:dir(rtl) .arcgis-legend__layer--elements,:dir(rtl) .arcgis-legend__layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`,a={layer:"arcgis-legend__layer",layerElements:"arcgis-legend__layer--elements",layerChild:"arcgis-legend__layer-child",noLegend:"arcgis-legend__no-legend"},n=class extends d{constructor(){super(...arguments),this.headingLevel=3,this.type="classic"}static{this.properties={activeLayerInfos:0,headingLevel:9,type:32,messages:0}}static{this.styles=f}render(){let e=this.activeLayerInfos?.toArray().map(r=>this._renderLegendForLayer(r)).filter(Boolean);return e?.length?i`<section>${e}</section>`:i`<div class=${s(a.noLegend)}>${this.messages.noLegend}</div>`}_renderLegendForLayer(e){if(!e.ready)return null;let r=e.title?m({level:this.headingLevel,children:e.title}):null;if(e.children.length){let t=e.children.toArray().map(l=>this._renderLegendForLayer(l));return i`<section class=${s(a.layer)}>${r}${t}</section>`}return this._renderLegendElementsForLayer(e,r)}_renderLegendElementsForLayer(e,r){let t=e.legendElements?.filter(Boolean);if(!t?.length)return null;let l=t.map(_=>i`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter??void 0} .layer=${e.layer} .legendElement=${_} .messages=${this.messages}></arcgis-legend-classic-element>`),h={[a.layerChild]:!!e.parent};return i`<section class=${s(o(a.layer,h))}>${r}<div class=${s(a.layerElements)}>${l}</div></section>`}};g("arcgis-legend-classic-view",n);export{n as LegendClassicView};
3
+ v5.0.0-next.67 */
4
+ import{a as m}from"./YPA7PKX3.js";import"./HLLVMJQZ.js";import"./FN325N43.js";import{b as o}from"./W4C2JITJ.js";import{I as d,J as s,O as g,a as c,b as i}from"./YXHNB6YW.js";import"./S45GQDNX.js";var f=c`.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)}:host{display:block}.arcgis-legend__no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.arcgis-legend__layer{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-sm);word-wrap:break-word}.arcgis-legend__layer:last-child{border-bottom:none}.arcgis-legend__layer--elements{margin-left:var(--calcite-spacing-sm);overflow:auto}.arcgis-legend__layer-child{margin-left:var(--calcite-spacing-sm);padding-right:0;padding-left:0}:dir(rtl) .arcgis-legend__layer--elements,:dir(rtl) .arcgis-legend__layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`,a={layer:"arcgis-legend__layer",layerElements:"arcgis-legend__layer--elements",layerChild:"arcgis-legend__layer-child",noLegend:"arcgis-legend__no-legend"},n=class extends d{constructor(){super(...arguments),this.headingLevel=3,this.type="classic"}static{this.properties={activeLayerInfos:0,headingLevel:9,type:32,messages:0}}static{this.styles=f}render(){let e=this.activeLayerInfos?.toArray().map(r=>this._renderLegendForLayer(r)).filter(Boolean);return e?.length?i`<section>${e}</section>`:i`<div class=${s(a.noLegend)}>${this.messages.noLegend}</div>`}_renderLegendForLayer(e){if(!e.ready)return null;let r=e.title?m({level:this.headingLevel,children:e.title}):null;if(e.children.length){let t=e.children.toArray().map(l=>this._renderLegendForLayer(l));return i`<section class=${s(a.layer)}>${r}${t}</section>`}return this._renderLegendElementsForLayer(e,r)}_renderLegendElementsForLayer(e,r){let t=e.legendElements?.filter(Boolean);if(!t?.length)return null;let l=t.map(_=>i`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter??void 0} .layer=${e.layer} .legendElement=${_} .messages=${this.messages}></arcgis-legend-classic-element>`),h={[a.layerChild]:!!e.parent};return i`<section class=${s(o(a.layer,h))}>${r}<div class=${s(a.layerElements)}>${l}</div></section>`}};g("arcgis-legend-classic-view",n);export{n as LegendClassicView};
@@ -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.65 */
4
- import{I as d,J as h,K as p,L as r,O as g,a as o,b as s,s as c}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{substitute:v}])=>{var x=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-collapse-toggle-size: 32px;--internal-color-indicator-width: 3px;--internal-opacity-disabled: .4}.container{position:relative;background:var(--calcite-color-foreground-2)}.disabled{filter:grayscale(1);opacity:var(--internal-opacity-disabled)}.color-indicator{position:absolute;inset-inline-start:0;top:0;width:var(--internal-color-indicator-width);height:100%}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.content{display:block;padding:var(--internal-block-spacing) var(--internal-inline-spacing);padding-top:0}.collapse-toggle{flex-shrink:0;width:var(--internal-collapse-toggle-size);height:var(--internal-collapse-toggle-size)}.label{--calcite-label-margin-bottom: 0;flex-grow:1;flex-shrink:1;padding-inline-start:var(--internal-inline-spacing);min-width:0}`,l=class extends d{constructor(){super(...arguments),this.expanded=!1,this.featureSelected=!1,this.hideCheckbox=!1,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,expanded:5,featureSelected:5,hideCheckbox:5,messages:0,result:0}}static{this.styles=x}async destroy(){await this.manager.destroy()}render(){return s`<div class=${h({container:!0,expanded:this.expanded,disabled:this._disabled})}>${this._renderColorIndicator()}<div class="header">${this._renderLabelWithCheckbox()}${this._renderCollapseToggleButton()}</div>${this.expanded?this._renderStatistics():void 0}</div>`}_renderColorIndicator(){return s`<div class="color-indicator" style=${p({backgroundColor:this.result.profile.color.toCss()})}></div>`}_renderCollapseToggleButton(){let{expanded:e,messages:t}=this,i=t[e?"hideDetails":"showDetails"]??"";return s`<calcite-action appearance=transparent class="collapse-toggle" data-testid=${`legend-toggle-${this.result.profile.id}`} .icon=${e?"chevron-up":"chevron-down"} @click=${()=>this.arcgisExpandedToggle.emit(this.result.profile)} scale=s .text=${i} title=${i??r}></calcite-action>`}_renderLabelWithCheckbox(){let{result:e,hideCheckbox:t,messages:i}=this;return s`<calcite-label class="label" layout=inline>${t?void 0:this._renderCheckbox()}${u(e,i)}</calcite-label>`}_renderCheckbox(){let{result:e,messages:t}=this,{profile:i}=e,n=i.enabled,f=t[n?"hideProfile":"showProfile"]??"",b=v(f,{name:u(e,t)});return s`<calcite-checkbox .checked=${n} class="checkbox" title=${b??r} .disabled=${this._disabled} @calciteCheckboxChange=${()=>{i.enabled=!i.enabled}}></calcite-checkbox>`}_renderStatistics(){return s`<div class="content"><arcgis-elevation-profile-statistics .messages=${this.messages} .result=${this._disabled?void 0:this.result} .effectiveDisplayUnits=${this.effectiveDisplayUnits}></arcgis-elevation-profile-statistics></div>`}get _disabled(){return!this.featureSelected&&this.result.profile.type==="input"}};function u({profile:a},{profiles:e}){let t=a.title;if(t!=null)return t;if(!e)return"";switch(a.type){case"ground":return e.ground;case"input":return e.input;case"query":return e.query;case"scene":return e.scene;default:return""}}g("arcgis-elevation-profile-legend-item",l);return l},"intl")
3
+ v5.0.0-next.67 */
4
+ import{I as d,J as h,K as p,L as r,O as g,a as o,b as s,s as c}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([{substitute:v}])=>{var x=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-collapse-toggle-size: 32px;--internal-color-indicator-width: 3px;--internal-opacity-disabled: .4}.container{position:relative;background:var(--calcite-color-foreground-2)}.disabled{filter:grayscale(1);opacity:var(--internal-opacity-disabled)}.color-indicator{position:absolute;inset-inline-start:0;top:0;width:var(--internal-color-indicator-width);height:100%}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.content{display:block;padding:var(--internal-block-spacing) var(--internal-inline-spacing);padding-top:0}.collapse-toggle{flex-shrink:0;width:var(--internal-collapse-toggle-size);height:var(--internal-collapse-toggle-size)}.label{--calcite-label-margin-bottom: 0;flex-grow:1;flex-shrink:1;padding-inline-start:var(--internal-inline-spacing);min-width:0}`,l=class extends d{constructor(){super(...arguments),this.expanded=!1,this.featureSelected=!1,this.hideCheckbox=!1,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,expanded:5,featureSelected:5,hideCheckbox:5,messages:0,result:0}}static{this.styles=x}async destroy(){await this.manager.destroy()}render(){return s`<div class=${h({container:!0,expanded:this.expanded,disabled:this._disabled})}>${this._renderColorIndicator()}<div class="header">${this._renderLabelWithCheckbox()}${this._renderCollapseToggleButton()}</div>${this.expanded?this._renderStatistics():void 0}</div>`}_renderColorIndicator(){return s`<div class="color-indicator" style=${p({backgroundColor:this.result.profile.color.toCss()})}></div>`}_renderCollapseToggleButton(){let{expanded:e,messages:t}=this,i=t[e?"hideDetails":"showDetails"]??"";return s`<calcite-action appearance=transparent class="collapse-toggle" data-testid=${`legend-toggle-${this.result.profile.id}`} .icon=${e?"chevron-up":"chevron-down"} @click=${()=>this.arcgisExpandedToggle.emit(this.result.profile)} scale=s .text=${i} title=${i??r}></calcite-action>`}_renderLabelWithCheckbox(){let{result:e,hideCheckbox:t,messages:i}=this;return s`<calcite-label class="label" layout=inline>${t?void 0:this._renderCheckbox()}${u(e,i)}</calcite-label>`}_renderCheckbox(){let{result:e,messages:t}=this,{profile:i}=e,n=i.enabled,f=t[n?"hideProfile":"showProfile"]??"",b=v(f,{name:u(e,t)});return s`<calcite-checkbox .checked=${n} class="checkbox" title=${b??r} .disabled=${this._disabled} @calciteCheckboxChange=${()=>{i.enabled=!i.enabled}}></calcite-checkbox>`}_renderStatistics(){return s`<div class="content"><arcgis-elevation-profile-statistics .messages=${this.messages} .result=${this._disabled?void 0:this.result} .effectiveDisplayUnits=${this.effectiveDisplayUnits}></arcgis-elevation-profile-statistics></div>`}get _disabled(){return!this.featureSelected&&this.result.profile.type==="input"}};function u({profile:a},{profiles:e}){let t=a.title;if(t!=null)return t;if(!e)return"";switch(a.type){case"ground":return e.ground;case"input":return e.input;case"query":return e.query;case"scene":return e.scene;default:return""}}g("arcgis-elevation-profile-legend-item",l);return l},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{G as u,H as v,I as g,O as w,a as b,b as o,s as p}from"./OLKD773Z.js";import"./JFJVWP3U.js";var C=b`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=u(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=p(),this.arcgisCreateVersion=p(),this.arcgisFlowItemBack=p(),this.arcgisFlowItemClose=p()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.styles=C}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:d,isVersionAdministrator:t,serviceUrl:r,versionInfo:a}}=this,{_alterVersionParameters:c,_createVersionParameters:s}=this;switch(i==="create"&&(s||(s={access:"public",description:"",featureServerUrl:r,ownerName:d,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:r,versionIdentifier:a.versionIdentifier,ownerName:h,versionName:m,access:a.access,description:a.description})),e.type){case"calciteChipGroupSelect":{let n=e.target.label,l=e.target.selectedItems[0].label;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteInputTextInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteTextAreaInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}}i==="create"&&(s.access!=="public"&&d.toUpperCase()!==s.ownerName?.toUpperCase()&&!t?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=s),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{selected:e,showBackButton:i,versionPropertiesElementProps:{closable:h,currentUser:m,state:d,strings:t,versionInfo:r},_mode:a,_ownerName:c,_versionName:s}=this,n=o`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,l=o`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a==="edit"&&r.access==="public"||a==="create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,$=o`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a==="edit"?r.description:""}></calcite-text-area></calcite-label>`,V=o`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a==="edit"?s:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,f=o`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a==="edit"?c:m}></calcite-input-text></calcite-label>`,I=a==="create"?o`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return o`<calcite-flow-item .closable=${h} .description=${r?r.versionIdentifier.name:""} .heading=${r?t.actions.editVersion:t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${d==="executing"}><calcite-block .label=${t.headers.versionProperties} open>${V}${$}${l}${f}${I}${n}</calcite-block></calcite-panel></calcite-flow-item>`}};w("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
3
+ v5.0.0-next.67 */
4
+ import{G as u,H as v,I as g,O as w,a as b,b as o,s as p}from"./YXHNB6YW.js";import"./S45GQDNX.js";var C=b`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=u(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=p(),this.arcgisCreateVersion=p(),this.arcgisFlowItemBack=p(),this.arcgisFlowItemClose=p()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.styles=C}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:d,isVersionAdministrator:t,serviceUrl:r,versionInfo:a}}=this,{_alterVersionParameters:c,_createVersionParameters:s}=this;switch(i==="create"&&(s||(s={access:"public",description:"",featureServerUrl:r,ownerName:d,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:r,versionIdentifier:a.versionIdentifier,ownerName:h,versionName:m,access:a.access,description:a.description})),e.type){case"calciteChipGroupSelect":{let n=e.target.label,l=e.target.selectedItems[0].label;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteInputTextInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteTextAreaInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}}i==="create"&&(s.access!=="public"&&d.toUpperCase()!==s.ownerName?.toUpperCase()&&!t?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=s),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{selected:e,showBackButton:i,versionPropertiesElementProps:{closable:h,currentUser:m,state:d,strings:t,versionInfo:r},_mode:a,_ownerName:c,_versionName:s}=this,n=o`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,l=o`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a==="edit"&&r.access==="public"||a==="create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,$=o`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a==="edit"?r.description:""}></calcite-text-area></calcite-label>`,V=o`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a==="edit"?s:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,f=o`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a==="edit"?c:m}></calcite-input-text></calcite-label>`,I=a==="create"?o`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return o`<calcite-flow-item .closable=${h} .description=${r?r.versionIdentifier.name:""} .heading=${r?t.actions.editVersion:t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${d==="executing"}><calcite-block .label=${t.headers.versionProperties} open>${V}${$}${l}${f}${I}${n}</calcite-block></calcite-panel></calcite-flow-item>`}};w("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
@@ -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.65 */
4
- import{a as c}from"./2VSEV6MM.js";import{I as a,O as n,a as r,b as t}from"./OLKD773Z.js";import"./JFJVWP3U.js";var h=r`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,l=class extends a{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideModeSelect=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideModeSelect:5,messages:0}}static{this.styles=h}render(){return t`${c({hidden:this.hideModeSelect,children:this._renderModeSelect()})}${c({hidden:this.hideColorPicker,children:t`<arcgis-color-select .color=${this.options.color} .label=${this.messages?.duration?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}_renderModeSelect(){let{options:e,scale:s}=this,{mode:i}=e,o=this.messages?.duration;return t`<calcite-label .scale=${s}>${o?.modeLabel}<calcite-segmented-control .scale=${s} width=full @calciteSegmentedControlChange=${d=>{e.mode=d.currentTarget.value}}><calcite-segmented-control-item value=hourly .checked=${i==="hourly"}>${o?.hourlyLabel}</calcite-segmented-control-item><calcite-segmented-control-item value=continuous .checked=${i==="continuous"}>${o?.continuousLabel}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}};n("arcgis-shadow-cast-duration-config",l);export{l as ArcgisShadowCastDurationConfig};
3
+ v5.0.0-next.67 */
4
+ import{a as c}from"./FMMVTT4G.js";import{I as a,O as n,a as r,b as t}from"./YXHNB6YW.js";import"./S45GQDNX.js";var h=r`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,l=class extends a{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideModeSelect=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideModeSelect:5,messages:0}}static{this.styles=h}render(){return t`${c({hidden:this.hideModeSelect,children:this._renderModeSelect()})}${c({hidden:this.hideColorPicker,children:t`<arcgis-color-select .color=${this.options.color} .label=${this.messages?.duration?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}_renderModeSelect(){let{options:e,scale:s}=this,{mode:i}=e,o=this.messages?.duration;return t`<calcite-label .scale=${s}>${o?.modeLabel}<calcite-segmented-control .scale=${s} width=full @calciteSegmentedControlChange=${d=>{e.mode=d.currentTarget.value}}><calcite-segmented-control-item value=hourly .checked=${i==="hourly"}>${o?.hourlyLabel}</calcite-segmented-control-item><calcite-segmented-control-item value=continuous .checked=${i==="continuous"}>${o?.continuousLabel}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`}};n("arcgis-shadow-cast-duration-config",l);export{l as ArcgisShadowCastDurationConfig};
@@ -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.65 */
4
- import b from"./4NRF5SG7.js";import{a as p}from"./ROXHM4KC.js";import{e as m}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{I as o,J as a,O as n,a as r,b as l}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{watch:g},{b:d,c:h,d:_}])=>{var S=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",i={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},c=class extends o{constructor(){super(...arguments),this._handles=p("disconnect"),this._direction=m(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,t=>this._templateState=t??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){let e=this._selectedTemplate?h(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class=${a(i.templateSelectContainer)} .description=${d(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?_(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class=${a(i.templateSelectArrow)} .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};n("arcgis-print-template-select",c);return c},"core/reactiveUtils",b)
3
+ v5.0.0-next.67 */
4
+ import b from"./CXISHSM6.js";import{a as p}from"./RYNUN4IL.js";import{e as m}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./W4C2JITJ.js";import{I as o,J as a,O as n,a as r,b as l}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([{watch:g},{b:d,c:h,d:_}])=>{var S=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",i={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},c=class extends o{constructor(){super(...arguments),this._handles=p("disconnect"),this._direction=m(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,t=>this._templateState=t??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){let e=this._selectedTemplate?h(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class=${a(i.templateSelectContainer)} .description=${d(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?_(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class=${a(i.templateSelectArrow)} .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};n("arcgis-print-template-select",c);return c},"core/reactiveUtils",b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as x}from"./IHKT5L2N.js";import"./XDFS4H76.js";import"./6LRKZVG3.js";import"./Y5OSSEKH.js";import{I as v,J as g,O as T,a as $,b as d,s as y}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([S,G,A,P,{SimpleMarkerSymbol:_},u,I,b])=>{var F=$`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",m={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},s="map-components:utility-network-trace-location",L=class extends v{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=F}async load(){u.isLoaded()||await u.load()}_createPolyline(t,e){return new S({hasZ:!1,hasM:!0,paths:t,spatialReference:new G({wkid:e})})}_calculatePercentAlong(t,e){let a=t.spatialReference,r=this._createPolyline(t.paths,a.wkid),o=e.x-.5,i=e.x+.5,n=e.y-.5,c=e.y+.5,l=[[[o,n],[i,c]]],w=this._createPolyline(l,e.spatialReference.wkid),p=u.execute(w,a);if(!p)return console.error(`${s} - Unable to project flag geometry to source geometry spatial reference.`),.5;let h=I.execute(r,p);if(h.length>0){let C=b.execute(r,{unit:"feet"}),k;return h[0].paths[0][0][0]===r.paths[0][0][0]?k=b.execute(h[0],{unit:"feet"}):k=b.execute(h[1],{unit:"feet"}),k/C}return console.warn(`${s} - Unable to cut the source geometry with the flag geometry.`),.5}async _ensureNecessaryAttributes(t){let e=(t.layer?.type,t.layer),a=e.fieldsIndex?.get("assetgroup")??!1,r=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,i=e.fieldsIndex?.get("assettype")?.name??"assettype",n=t.getGlobalId(),c=t.getObjectId(),l=a?!!t.getAttribute(r):!0,w=o?!!t.getAttribute(i):!0;if(n&&c&&l&&w)return t;let p=e.createQuery();return p.objectIds=[c],(await e.queryFeatures(p))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(t,e){let{view:a}=this;if(!a||t.length===0){console.log(`${s} - No view or results to process.`);return}let r=t[0].graphic,o=await this._ensureNecessaryAttributes(r);if(!o){console.error(`${s} - Unable to get necessary attributes for trace location.`);return}this._generateTraceLocation(o,e)}_createFlagSymbol(){let{traceLocationType:t}=this,e=[244,21,21,.6],a=[21,244,21,.6];return t==="stopping-point"?new _({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new _({color:e,style:"square",size:12,outline:{color:e,width:0}}):new _({color:a,style:"circle",size:12,outline:{color:a,width:0}})}_addFlagGraphic(t,e,a){let{flagLayer:r,view:o}=this;if(!r||!o)return console.error(`${s} - Flag layer or view is not available.`),null;let i=e.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===t)&&i!=="polyline")return console.warn(`${s} - A flag with the same globalId already exists.`),null;let n=this._createFlagSymbol(),c=new P({geometry:a,symbol:n,attributes:e.attributes});return r.add(c),c}async _generateItemTitle(t){let{messages:e}=this,a=(t.layer?.type,t.layer);return("getFeatureTitle"in a?await a.getFeatureTitle(t):null)||t?.getObjectId()?.toString()||e.labels.unknown}async _generateFlagInfo(t,e){let{traceLocationType:a,utilityNetwork:r}=this,o=t.getGlobalId()??"",i=t.geometry?.type,n=await this._generateItemTitle(t);if(i==="point"||i==="polygon"){let c=r?.getTerminalConfiguration(t),l=c?c.terminals[0].id:1;return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:c??void 0,selectedTerminals:c?new Set([l]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(i==="polyline"){let c=this._calculatePercentAlong(t.geometry,e);return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,percentAlong:c}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async _generateTraceLocation(t,e){let{traceLocations:a}=this,r=t.getGlobalId()??"",o=t.geometry?.type,i=await this._generateFlagInfo(t,e);if(!i){console.error(`${s} - Unable to generate flag info for trace location.`);return}let n=a?.filter(c=>c.spatialProperties.mapGraphic?.getGlobalId()===r)??[];if(n.length===0||o==="polyline"){if(o==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-i.traceLocation.percentAlong)<=this.spatialTolerance)){console.warn(`${s} - A flag with the same globalId already exists within tolerance.`);return}let c=this._addFlagGraphic(r,t,e);if(!c){console.warn(`${s} - Unable to add flag graphic.`);return}i.spatialProperties.flagGraphic=c,a?.add(i);return}console.warn(`${s} - A flag with the same globalId already exists.`)}async _hitTest(t){let{view:e,utilityNetwork:a}=this;if(!e||!a){console.error(`${s} - View or utility network is not available for hit test.`);return}let r=t.graphic?.geometry,o=this.view?.toScreen(r);if(!o){console.warn(`${s} - No screen point available for hit test.`);return}let i=(await e.hitTest(o,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(i.length===0){console.log(`${s} - No usable hit test results found.`);return}this._ensureNecessaryAttributesAndGenerateTraceLocation(i,r)}_resetAfterSketch(){let{view:t}=this;if(!t){console.error(`${s} - View is not available to reset after sketch.`);return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in t&&t.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(t){let{sketchViewModel:e,view:a}=this;if(!e||!a){console.error(`${s} - SketchViewModel or view is not available on sketch complete.`);return}t.state==="complete"&&t.graphic&&(e.layer.remove(t.graphic),this._hitTest(t)),(t.state==="cancel"||t.state==="complete")&&this._resetAfterSketch()}_handleAddButtonClick(){let{view:t,sketchViewModel:e}=this;t&&e&&(this._clickHandler?.remove(),this._clickHandler=e.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in t&&t.acquireCursor("crosshair"),this.sketchViewModel?.create("point"),this.arcgisTraceLocationSelectStart.emit())}_handleClearButtonClick(){let{flagLayer:t,traceLocations:e}=this;e?.forEach(a=>{a.spatialProperties.flagGraphic&&t&&t.remove(a.spatialProperties.flagGraphic)}),e?.removeAll()}renderAddLocationBlock(){let{traceLocationType:t,messages:e,traceLocations:a}=this,r=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r.heading,i=r.description,n=r.buttonText;return d`<calcite-block .heading=${o} .label=${o} expanded .description=${i}>${a?.length?d`<calcite-button class=${g(m.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${a} .traceLocationType=${t}></arcgis-utility-network-trace-location-list><div class=${g(m.buttonContainer)}><calcite-button class=${g(m.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return d`<div class=${g(m.base)}>${this.renderAddLocationBlock()}</div>`}};T("arcgis-utility-network-trace-location",L);return L},"geometry/Polyline","geometry/SpatialReference","rest/networks/support/TraceLocation","Graphic","symbols","geometry/operators/projectOperator","geometry/operators/cutOperator","geometry/operators/lengthOperator")
3
+ v5.0.0-next.67 */
4
+ import{a as x}from"./TZVUUDV7.js";import"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./W4C2JITJ.js";import{I as v,J as g,O as T,a as $,b as d,s as y}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([S,G,A,P,{SimpleMarkerSymbol:_},u,I,b])=>{var F=$`.arcgis-utility-network-trace-location calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-location calcite-notice{padding:var(--calcite-spacing-xs)}.arcgis-utility-network-trace-location__add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.arcgis-utility-network-trace-location__button-container{justify-content:center;display:grid}.arcgis-utility-network-trace-location__clear-button{--calcite-button-border-color: transparent}`,f="arcgis-utility-network-trace-location",m={base:f,buttonContainer:`${f}__button-container`,clearButton:`${f}__clear-button`,addLocationButton:`${f}__add-location-button`},s="map-components:utility-network-trace-location",L=class extends v{constructor(){super(...arguments),this.messages=x({blocking:!0}),this.traceLocationType="starting-point",this.spatialTolerance=.05,this.arcgisTraceLocationChange=y(),this.arcgisTraceLocationSelectEnd=y(),this.arcgisTraceLocationSelectStart=y()}static{this.properties={view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,flagLayer:0,spatialTolerance:9,utilityNetwork:0}}static{this.styles=F}async load(){u.isLoaded()||await u.load()}_createPolyline(t,e){return new S({hasZ:!1,hasM:!0,paths:t,spatialReference:new G({wkid:e})})}_calculatePercentAlong(t,e){let a=t.spatialReference,r=this._createPolyline(t.paths,a.wkid),o=e.x-.5,i=e.x+.5,n=e.y-.5,c=e.y+.5,l=[[[o,n],[i,c]]],w=this._createPolyline(l,e.spatialReference.wkid),p=u.execute(w,a);if(!p)return console.error(`${s} - Unable to project flag geometry to source geometry spatial reference.`),.5;let h=I.execute(r,p);if(h.length>0){let C=b.execute(r,{unit:"feet"}),k;return h[0].paths[0][0][0]===r.paths[0][0][0]?k=b.execute(h[0],{unit:"feet"}):k=b.execute(h[1],{unit:"feet"}),k/C}return console.warn(`${s} - Unable to cut the source geometry with the flag geometry.`),.5}async _ensureNecessaryAttributes(t){let e=(t.layer?.type,t.layer),a=e.fieldsIndex?.get("assetgroup")??!1,r=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,i=e.fieldsIndex?.get("assettype")?.name??"assettype",n=t.getGlobalId(),c=t.getObjectId(),l=a?!!t.getAttribute(r):!0,w=o?!!t.getAttribute(i):!0;if(n&&c&&l&&w)return t;let p=e.createQuery();return p.objectIds=[c],(await e.queryFeatures(p))?.features[0]||null}async _ensureNecessaryAttributesAndGenerateTraceLocation(t,e){let{view:a}=this;if(!a||t.length===0){console.log(`${s} - No view or results to process.`);return}let r=t[0].graphic,o=await this._ensureNecessaryAttributes(r);if(!o){console.error(`${s} - Unable to get necessary attributes for trace location.`);return}this._generateTraceLocation(o,e)}_createFlagSymbol(){let{traceLocationType:t}=this,e=[244,21,21,.6],a=[21,244,21,.6];return t==="stopping-point"?new _({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new _({color:e,style:"square",size:12,outline:{color:e,width:0}}):new _({color:a,style:"circle",size:12,outline:{color:a,width:0}})}_addFlagGraphic(t,e,a){let{flagLayer:r,view:o}=this;if(!r||!o)return console.error(`${s} - Flag layer or view is not available.`),null;let i=e.geometry?.type;if(this.traceLocations?.some(l=>l.traceLocation.globalId===t)&&i!=="polyline")return console.warn(`${s} - A flag with the same globalId already exists.`),null;let n=this._createFlagSymbol(),c=new P({geometry:a,symbol:n,attributes:e.attributes});return r.add(c),c}async _generateItemTitle(t){let{messages:e}=this,a=(t.layer?.type,t.layer);return("getFeatureTitle"in a?await a.getFeatureTitle(t):null)||t?.getObjectId()?.toString()||e.labels.unknown}async _generateFlagInfo(t,e){let{traceLocationType:a,utilityNetwork:r}=this,o=t.getGlobalId()??"",i=t.geometry?.type,n=await this._generateItemTitle(t);if(i==="point"||i==="polygon"){let c=r?.getTerminalConfiguration(t),l=c?c.terminals[0].id:1;return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,terminalId:l}),flagProperties:{title:n,expanded:!1,terminalConfiguration:c??void 0,selectedTerminals:c?new Set([l]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(i==="polyline"){let c=this._calculatePercentAlong(t.geometry,e);return{traceLocation:new A({type:a,isFilterBarrier:!1,globalId:o,percentAlong:c}),flagProperties:{title:n,expanded:!1},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async _generateTraceLocation(t,e){let{traceLocations:a}=this,r=t.getGlobalId()??"",o=t.geometry?.type,i=await this._generateFlagInfo(t,e);if(!i){console.error(`${s} - Unable to generate flag info for trace location.`);return}let n=a?.filter(c=>c.spatialProperties.mapGraphic?.getGlobalId()===r)??[];if(n.length===0||o==="polyline"){if(o==="polyline"&&n.length>0&&n.some(l=>Math.abs(l.traceLocation.percentAlong-i.traceLocation.percentAlong)<=this.spatialTolerance)){console.warn(`${s} - A flag with the same globalId already exists within tolerance.`);return}let c=this._addFlagGraphic(r,t,e);if(!c){console.warn(`${s} - Unable to add flag graphic.`);return}i.spatialProperties.flagGraphic=c,a?.add(i);return}console.warn(`${s} - A flag with the same globalId already exists.`)}async _hitTest(t){let{view:e,utilityNetwork:a}=this;if(!e||!a){console.error(`${s} - View or utility network is not available for hit test.`);return}let r=t.graphic?.geometry,o=this.view?.toScreen(r);if(!o){console.warn(`${s} - No screen point available for hit test.`);return}let i=(await e.hitTest(o,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(i.length===0){console.log(`${s} - No usable hit test results found.`);return}this._ensureNecessaryAttributesAndGenerateTraceLocation(i,r)}_resetAfterSketch(){let{view:t}=this;if(!t){console.error(`${s} - View is not available to reset after sketch.`);return}this._clickHandler?.remove(),this._clickHandler=void 0,"acquireCursor"in t&&t.acquireCursor("default"),this.arcgisTraceLocationSelectEnd.emit()}_handleSketchComplete(t){let{sketchViewModel:e,view:a}=this;if(!e||!a){console.error(`${s} - SketchViewModel or view is not available on sketch complete.`);return}t.state==="complete"&&t.graphic&&(e.layer.remove(t.graphic),this._hitTest(t)),(t.state==="cancel"||t.state==="complete")&&this._resetAfterSketch()}_handleAddButtonClick(){let{view:t,sketchViewModel:e}=this;t&&e&&(this._clickHandler?.remove(),this._clickHandler=e.on("create",this._handleSketchComplete.bind(this)),"acquireCursor"in t&&t.acquireCursor("crosshair"),this.sketchViewModel?.create("point"),this.arcgisTraceLocationSelectStart.emit())}_handleClearButtonClick(){let{flagLayer:t,traceLocations:e}=this;e?.forEach(a=>{a.spatialProperties.flagGraphic&&t&&t.remove(a.spatialProperties.flagGraphic)}),e?.removeAll()}renderAddLocationBlock(){let{traceLocationType:t,messages:e,traceLocations:a}=this,r=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r.heading,i=r.description,n=r.buttonText;return d`<calcite-block .heading=${o} .label=${o} expanded .description=${i}>${a?.length?d`<calcite-button class=${g(m.clearButton)} slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this._handleClearButtonClick()}>${e.buttons.clear}</calcite-button>`:null}<arcgis-utility-network-trace-location-list .traceLocations=${a} .traceLocationType=${t}></arcgis-utility-network-trace-location-list><div class=${g(m.buttonContainer)}><calcite-button class=${g(m.addLocationButton)} icon-start=select appearance=outline .label=${n} @click=${()=>this._handleAddButtonClick()}>${n}</calcite-button></div></calcite-block>`}render(){return d`<div class=${g(m.base)}>${this.renderAddLocationBlock()}</div>`}};T("arcgis-utility-network-trace-location",L);return L},"geometry/Polyline","geometry/SpatialReference","rest/networks/support/TraceLocation","Graphic","symbols","geometry/operators/projectOperator","geometry/operators/cutOperator","geometry/operators/lengthOperator")
@@ -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.65 */
4
- import{I as l,O as o,a as n,b as r}from"./OLKD773Z.js";import"./JFJVWP3U.js";var p=n`:host{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs)}`,t=class extends l{constructor(){super(...arguments),this._expandedLine=void 0,this.featureSelected=!1}static{this.properties={_expandedLine:16,effectiveDisplayUnits:0,featureSelected:5,messages:0,results:0}}static{this.styles=p}async destroy(){await this.manager.destroy()}_onToggleExpand(s){let e=s.detail;this._expandedLine=e===this._expandedLine?void 0:e}render(){let{messages:s,effectiveDisplayUnits:e,_expandedLine:d}=this,i=this.results??[],c=i.length<=1;return i.map(a=>r`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${e} .expanded=${a.profile===d} .featureSelected=${this.featureSelected} .hideCheckbox=${c} .messages=${s} @arcgisExpandedToggle=${this._onToggleExpand} .result=${a}></arcgis-elevation-profile-legend-item>`)}};o("arcgis-elevation-profile-legend",t);export{t as ArcgisElevationProfileLegend};
3
+ v5.0.0-next.67 */
4
+ import{I as l,O as o,a as n,b as r}from"./YXHNB6YW.js";import"./S45GQDNX.js";var p=n`:host{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs)}`,t=class extends l{constructor(){super(...arguments),this._expandedLine=void 0,this.featureSelected=!1}static{this.properties={_expandedLine:16,effectiveDisplayUnits:0,featureSelected:5,messages:0,results:0}}static{this.styles=p}async destroy(){await this.manager.destroy()}_onToggleExpand(s){let e=s.detail;this._expandedLine=e===this._expandedLine?void 0:e}render(){let{messages:s,effectiveDisplayUnits:e,_expandedLine:d}=this,i=this.results??[],c=i.length<=1;return i.map(a=>r`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${e} .expanded=${a.profile===d} .featureSelected=${this.featureSelected} .hideCheckbox=${c} .messages=${s} @arcgisExpandedToggle=${this._onToggleExpand} .result=${a}></arcgis-elevation-profile-legend-item>`)}};o("arcgis-elevation-profile-legend",t);export{t as ArcgisElevationProfileLegend};
@@ -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.65 */
4
- import a from"./UZJCNUFV.js";import{b as r}from"./Y5OSSEKH.js";import{I as m,J as s,O as g,a as c,b as l}from"./OLKD773Z.js";import"./JFJVWP3U.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.67 */
4
+ import a from"./DWO6HP37.js";import{b as r}from"./W4C2JITJ.js";import{I as m,J as s,O as g,a as c,b as l}from"./YXHNB6YW.js";import"./S45GQDNX.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.65 */
4
- import"./JFJVWP3U.js";var a={_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 - 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:"\u043D. \u0435.",_era_bc:"\u043F. \u043D. \u0435.",A:"a",P:"p",AM:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435",PM:"\u043F\u043E \u043F\u043E\u0434\u043D\u0435","A.M.":"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435","P.M.":"\u043F\u043E \u043F\u043E\u0434\u043D\u0435",January:"\u0458\u0430\u043D\u0443\u0430\u0440",February:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0458",June:"\u0458\u0443\u043D",July:"\u0458\u0443\u043B",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440",October:"\u043E\u043A\u0442\u043E\u0431\u0430\u0440",November:"\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440",December:"\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440",Jan:"\u0458\u0430\u043D",Feb:"\u0444\u0435\u0431",Mar:"\u043C\u0430\u0440",Apr:"\u0430\u043F\u0440","May(short)":"\u043C\u0430\u0458",Jun:"\u0458\u0443\u043D",Jul:"\u0458\u0443\u043B",Aug:"\u0430\u0432\u0433",Sep:"\u0441\u0435\u043F",Oct:"\u043E\u043A\u0442",Nov:"\u043D\u043E\u0432",Dec:"\u0434\u0435\u0446",Sunday:"\u043D\u0435\u0434\u0435\u0459\u0430",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A",Tuesday:"\u0443\u0442\u043E\u0440\u0430\u043A",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A",Friday:"\u043F\u0435\u0442\u0430\u043A",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0435\u0434",Mon:"\u043F\u043E\u043D",Tue:"\u0443\u0442\u043E",Wed:"\u0441\u0440\u0435",Thu:"\u0447\u0435\u0442",Fri:"\u043F\u0435\u0442",Sat:"\u0441\u0443\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zumiranje",Play:"Reprodukuj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Mati\u010Dna stranica",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0160tampaj",Image:"Snimak",Data:"Podaci",Print:"\u0160tampaj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Iz %1 u %2","From %1":"Iz %1","To %1":"U %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.67 */
4
+ import"./S45GQDNX.js";var a={_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 - 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:"\u043D. \u0435.",_era_bc:"\u043F. \u043D. \u0435.",A:"a",P:"p",AM:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435",PM:"\u043F\u043E \u043F\u043E\u0434\u043D\u0435","A.M.":"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435","P.M.":"\u043F\u043E \u043F\u043E\u0434\u043D\u0435",January:"\u0458\u0430\u043D\u0443\u0430\u0440",February:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0458",June:"\u0458\u0443\u043D",July:"\u0458\u0443\u043B",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440",October:"\u043E\u043A\u0442\u043E\u0431\u0430\u0440",November:"\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440",December:"\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440",Jan:"\u0458\u0430\u043D",Feb:"\u0444\u0435\u0431",Mar:"\u043C\u0430\u0440",Apr:"\u0430\u043F\u0440","May(short)":"\u043C\u0430\u0458",Jun:"\u0458\u0443\u043D",Jul:"\u0458\u0443\u043B",Aug:"\u0430\u0432\u0433",Sep:"\u0441\u0435\u043F",Oct:"\u043E\u043A\u0442",Nov:"\u043D\u043E\u0432",Dec:"\u0434\u0435\u0446",Sunday:"\u043D\u0435\u0434\u0435\u0459\u0430",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A",Tuesday:"\u0443\u0442\u043E\u0440\u0430\u043A",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A",Friday:"\u043F\u0435\u0442\u0430\u043A",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0435\u0434",Mon:"\u043F\u043E\u043D",Tue:"\u0443\u0442\u043E",Wed:"\u0441\u0440\u0435",Thu:"\u0447\u0435\u0442",Fri:"\u043F\u0435\u0442",Sat:"\u0441\u0443\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zumiranje",Play:"Reprodukuj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Mati\u010Dna stranica",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0160tampaj",Image:"Snimak",Data:"Podaci",Print:"\u0160tampaj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Iz %1 u %2","From %1":"Iz %1","To %1":"U %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{b as m,c as h,d as p}from"./OLKD773Z.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
3
+ v5.0.0-next.67 */
4
+ import{b as m,c as h,d as p}from"./YXHNB6YW.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};