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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/dist/cdn/{DNZXXP5C.js → 2BKWAHTD.js} +1 -1
  2. package/dist/cdn/{DWPXOIRF.js → 2EXFLJU6.js} +1 -1
  3. package/dist/cdn/{3XHI22WD.js → 2J6WEB6T.js} +1 -1
  4. package/dist/cdn/{BEICGIY5.js → 2JSC2QUL.js} +1 -1
  5. package/dist/cdn/{J4FR5WZG.js → 2PRSXEWN.js} +1 -1
  6. package/dist/cdn/{5OABHJND.js → 2TATEEFZ.js} +1 -1
  7. package/dist/cdn/{Z46QEYSO.js → 2X67IX24.js} +1 -1
  8. package/dist/cdn/{LFA3XEWF.js → 3AMV4V75.js} +1 -1
  9. package/dist/cdn/{2GV5JA27.js → 3GEL52XF.js} +1 -1
  10. package/dist/cdn/{KIWV2RIN.js → 3SMFVQGP.js} +1 -1
  11. package/dist/cdn/{DXXGERVD.js → 3TKC6DSX.js} +1 -1
  12. package/dist/cdn/{7JPHMESH.js → 3VFPLRD3.js} +1 -1
  13. package/dist/cdn/{X2M3ZYHO.js → 42QIJYPN.js} +1 -1
  14. package/dist/cdn/{4HCQOJIM.js → 446K7RDY.js} +1 -1
  15. package/dist/cdn/{ECF4B24M.js → 44ZEP4IY.js} +1 -1
  16. package/dist/cdn/{OKOOKG4L.js → 46XABBUQ.js} +1 -1
  17. package/dist/cdn/{ODCD75PC.js → 4DRKK3S6.js} +1 -1
  18. package/dist/cdn/{VHLDFKDS.js → 4HP7BSCJ.js} +1 -1
  19. package/dist/cdn/{FROWRLYW.js → 4JR57ZIQ.js} +1 -1
  20. package/dist/cdn/{ULOXCWFO.js → 4KLQZIOV.js} +1 -1
  21. package/dist/cdn/{BVRQWRKX.js → 4LFTK2G2.js} +1 -1
  22. package/dist/cdn/{WVKMYNN7.js → 4O6ZYILT.js} +1 -1
  23. package/dist/cdn/{DDGUDJJZ.js → 4OOG2D4K.js} +1 -1
  24. package/dist/cdn/{F2YSSNVY.js → 4PM34QMT.js} +1 -1
  25. package/dist/cdn/{PYEOGYQ3.js → 4U6DCBKV.js} +1 -1
  26. package/dist/cdn/{6HDYZ7WW.js → 5CXJJCRX.js} +1 -1
  27. package/dist/cdn/{NVPN3I72.js → 5GEEJRIV.js} +1 -1
  28. package/dist/cdn/{BCHHB4QH.js → 5IWCWL2Q.js} +1 -1
  29. package/dist/cdn/{G7BWEBJH.js → 5VK56DPB.js} +1 -1
  30. package/dist/cdn/{SXW4GFL3.js → 5YPWQQGI.js} +1 -1
  31. package/dist/cdn/{SOIBQ3FH.js → 625O4F4L.js} +1 -1
  32. package/dist/cdn/64Z2GM4G.js +2 -0
  33. package/dist/cdn/{QBVHLHRR.js → 6BT6RP22.js} +1 -1
  34. package/dist/cdn/{PCXDOSKQ.js → 6DNLVSRG.js} +1 -1
  35. package/dist/cdn/{UYJB3OR4.js → 6GFNMSM4.js} +1 -1
  36. package/dist/cdn/{JJXJPZUK.js → 6H3MIUBS.js} +1 -1
  37. package/dist/cdn/{TDYIVFVF.js → 6QZ7MAGX.js} +1 -1
  38. package/dist/cdn/{KXDLX4RE.js → 6WT5CUW4.js} +1 -1
  39. package/dist/cdn/{5DN4ONEW.js → 7LXH7MOG.js} +1 -1
  40. package/dist/cdn/{WP52KJNL.js → 7P24CQF4.js} +1 -1
  41. package/dist/cdn/{6ARTIZQQ.js → 7PMJ7HCH.js} +1 -1
  42. package/dist/cdn/{YBTMO6HU.js → AGMTGWSW.js} +1 -1
  43. package/dist/cdn/ANB7YZCR.js +2 -0
  44. package/dist/cdn/{ZNV3M5P2.js → ANL4FWAY.js} +1 -1
  45. package/dist/cdn/{7ID5HLPS.js → AV6RANT4.js} +1 -1
  46. package/dist/cdn/{NQXXIEV2.js → B5JHLGAR.js} +1 -1
  47. package/dist/cdn/{AUP633OS.js → BBCJXNKF.js} +1 -1
  48. package/dist/cdn/{G2PLGAUY.js → BDWZ4IDY.js} +1 -1
  49. package/dist/cdn/{TTWQ7RNF.js → BMCWYFA5.js} +1 -1
  50. package/dist/cdn/{T4B5XW65.js → BUJRBKUJ.js} +1 -1
  51. package/dist/cdn/{DF2MPD7N.js → BXBPEOE3.js} +1 -1
  52. package/dist/cdn/{6WFVZM5S.js → BZ7I4EVH.js} +1 -1
  53. package/dist/cdn/{6Y7Q7GRB.js → C56JAWYF.js} +1 -1
  54. package/dist/cdn/{37GYWGAF.js → C6YBFPOZ.js} +1 -1
  55. package/dist/cdn/{7BU454HH.js → CDZ5APA7.js} +1 -1
  56. package/dist/cdn/{UTJTCZCF.js → CLAUPAZP.js} +1 -1
  57. package/dist/cdn/{XVZ74ZME.js → CN4RPDZZ.js} +1 -1
  58. package/dist/cdn/{66TZB3H3.js → CNUAMIZQ.js} +1 -1
  59. package/dist/cdn/{E6ZXXC74.js → CRF4QEYX.js} +1 -1
  60. package/dist/cdn/{VTYQHAZN.js → CRJB272X.js} +1 -1
  61. package/dist/cdn/{3P44HZ3K.js → CX23L4OX.js} +1 -1
  62. package/dist/cdn/{SOLTOPI3.js → D3EEDNNQ.js} +1 -1
  63. package/dist/cdn/{EXB4CY2Y.js → D73SZKP6.js} +1 -1
  64. package/dist/cdn/{NZK2LVFA.js → D7RGMUI2.js} +1 -1
  65. package/dist/cdn/{PSTG4I4W.js → DBDYLXR3.js} +1 -1
  66. package/dist/cdn/{2NMV3XLT.js → DENZ276N.js} +1 -1
  67. package/dist/cdn/{COC7IS2Z.js → DJTPCTD2.js} +1 -1
  68. package/dist/cdn/{GEOME3IC.js → DP2UXNPJ.js} +1 -1
  69. package/dist/cdn/{4UCQJWD2.js → DVH35LZL.js} +1 -1
  70. package/dist/cdn/{HGEK42FO.js → DVLTVCIH.js} +1 -1
  71. package/dist/cdn/{RVXA65TI.js → DXPNJHEM.js} +1 -1
  72. package/dist/cdn/{446MXZCR.js → DYKRS7YX.js} +1 -1
  73. package/dist/cdn/{OLY5EME5.js → E3RBRDUV.js} +1 -1
  74. package/dist/cdn/{IN7TMVRK.js → EG2L67V5.js} +1 -1
  75. package/dist/cdn/{NRFCVOMM.js → ELK22XFC.js} +1 -1
  76. package/dist/cdn/{DARVFHQE.js → EMOYKTQL.js} +1 -1
  77. package/dist/cdn/{PLDTM6JH.js → EPPCGUBI.js} +1 -1
  78. package/dist/cdn/{RXKIZFNQ.js → EZFBYRI4.js} +1 -1
  79. package/dist/cdn/{27VBOPFN.js → F5JWLUNT.js} +1 -1
  80. package/dist/cdn/{7HBOZBSC.js → F5X65A3N.js} +1 -1
  81. package/dist/cdn/{5FBHHKRV.js → F6OOD4XH.js} +1 -1
  82. package/dist/cdn/{6Y36YFPN.js → FK6XIGNL.js} +1 -1
  83. package/dist/cdn/{CPWIRCCP.js → FK7DDNOY.js} +1 -1
  84. package/dist/cdn/{ZP2VJX3N.js → FPE4MRJJ.js} +1 -1
  85. package/dist/cdn/FTRRLFYT.js +2 -0
  86. package/dist/cdn/{Q7GF26CL.js → FY7P5YLX.js} +1 -1
  87. package/dist/cdn/{AHWBCZBO.js → G4CULX2V.js} +1 -1
  88. package/dist/cdn/{D6UG734Y.js → G7UA3GCV.js} +1 -1
  89. package/dist/cdn/{EP27GLNL.js → GA75N36P.js} +1 -1
  90. package/dist/cdn/{FOKE5ILO.js → GDE46UIN.js} +1 -1
  91. package/dist/cdn/{7OLHJCFT.js → GEZIZQV6.js} +1 -1
  92. package/dist/cdn/{WGLTX4YP.js → GGS33TQP.js} +1 -1
  93. package/dist/cdn/{L5XC4FXT.js → GKMKHUYO.js} +1 -1
  94. package/dist/cdn/{I52P5EXK.js → GMXEWGVF.js} +1 -1
  95. package/dist/cdn/{F5N3YH5Z.js → GOMR7D5M.js} +1 -1
  96. package/dist/cdn/{TLAJ3GMX.js → GQDEVRKG.js} +1 -1
  97. package/dist/cdn/{C6K7TZ27.js → GRZJXRZ5.js} +1 -1
  98. package/dist/cdn/{32526XJ7.js → GTQOMGD7.js} +1 -1
  99. package/dist/cdn/{YFX2STSS.js → GZOFHTYL.js} +1 -1
  100. package/dist/cdn/{XQBN6SO5.js → H3BORJ4D.js} +1 -1
  101. package/dist/cdn/{SSB4SQXA.js → H7KPXXYG.js} +1 -1
  102. package/dist/cdn/{R2FI35AK.js → HKKNU4CX.js} +1 -1
  103. package/dist/cdn/HOMM5T7F.js +2 -0
  104. package/dist/cdn/HR7ZYFTI.js +2 -0
  105. package/dist/cdn/{YBJ6ZAPO.js → HTUN6GST.js} +1 -1
  106. package/dist/cdn/{YDILFOHE.js → HU2SSY4B.js} +1 -1
  107. package/dist/cdn/{FQ3ZJA4Q.js → HU6UTBYZ.js} +1 -1
  108. package/dist/cdn/HUZLTULW.js +2 -0
  109. package/dist/cdn/{DU2IPXWR.js → HXQ26YHC.js} +1 -1
  110. package/dist/cdn/{QXEOEFF3.js → I7XTEFQP.js} +1 -1
  111. package/dist/cdn/{C53YBNQ4.js → ICVPF3HG.js} +1 -1
  112. package/dist/cdn/{4P4NKBQC.js → IGJX57YC.js} +1 -1
  113. package/dist/cdn/{GMN6YYZU.js → IH2T7XRU.js} +1 -1
  114. package/dist/cdn/{WKRW6DI5.js → IH7XQCY4.js} +1 -1
  115. package/dist/cdn/{U77WHUC6.js → IRDDLVT2.js} +1 -1
  116. package/dist/cdn/{PQ7NUE5C.js → IW3P4TGM.js} +1 -1
  117. package/dist/cdn/{VTDB4D2K.js → J2UKNBRU.js} +1 -1
  118. package/dist/cdn/{EPTTFCSI.js → J4Q5N5D6.js} +1 -1
  119. package/dist/cdn/{MN2WU342.js → JFE63ANJ.js} +1 -1
  120. package/dist/cdn/{JNNI75UW.js → JILA7S66.js} +1 -1
  121. package/dist/cdn/{ZAW644CF.js → JPQ5ELDQ.js} +1 -1
  122. package/dist/cdn/{PD7SLPIK.js → JWCEHGEZ.js} +1 -1
  123. package/dist/cdn/{YV35TNL4.js → K2FK6DOL.js} +1 -1
  124. package/dist/cdn/{LTFGTX7S.js → KBRYRH7T.js} +1 -1
  125. package/dist/cdn/{BABV4TXK.js → KKSTZRNG.js} +1 -1
  126. package/dist/cdn/{F233GPOS.js → KLSIUZNN.js} +1 -1
  127. package/dist/cdn/{LXHZGIW5.js → KMT6GH2D.js} +1 -1
  128. package/dist/cdn/{ZMP3REWL.js → KWY77UEE.js} +1 -1
  129. package/dist/cdn/{UVPQKV5P.js → KWYTKFIZ.js} +1 -1
  130. package/dist/cdn/{DZIJPJS3.js → L2L5W4AL.js} +1 -1
  131. package/dist/cdn/{PFSIUSDJ.js → L3G6WFXY.js} +1 -1
  132. package/dist/cdn/{5XMKJYT6.js → L6B4S7NV.js} +1 -1
  133. package/dist/cdn/{QBRGIFBY.js → LDNST76E.js} +1 -1
  134. package/dist/cdn/{IIX2OICP.js → LGBJIOTW.js} +1 -1
  135. package/dist/cdn/LHH3PS5H.js +2 -0
  136. package/dist/cdn/{7Y4SF2NT.js → LI3NOBHV.js} +1 -1
  137. package/dist/cdn/{3RSMD7RR.js → LQYTLVCL.js} +1 -1
  138. package/dist/cdn/{C74S3MND.js → LU7T7KSQ.js} +1 -1
  139. package/dist/cdn/{IZYFQNW2.js → LUXHFHRT.js} +1 -1
  140. package/dist/cdn/{BBKQM2GF.js → LWX6L3JT.js} +1 -1
  141. package/dist/cdn/{UYAOMCP7.js → LZUAJU6O.js} +1 -1
  142. package/dist/cdn/{2RTEHAVG.js → M4PV743P.js} +1 -1
  143. package/dist/cdn/{LSLTIN2Q.js → M4RV2DCP.js} +1 -1
  144. package/dist/cdn/{TRN35DVC.js → M5YUKXZG.js} +1 -1
  145. package/dist/cdn/{DFTYQJWJ.js → MG2HQ3FT.js} +1 -1
  146. package/dist/cdn/{MA2DWIGR.js → MGERV5RP.js} +1 -1
  147. package/dist/cdn/{O6KVILZF.js → MVTCAJTE.js} +1 -1
  148. package/dist/cdn/{6GGKA7MT.js → MVVX32NQ.js} +1 -1
  149. package/dist/cdn/{V4AT7ENI.js → N4HZLXED.js} +1 -1
  150. package/dist/cdn/{WPXCX7TX.js → NC7HMCQS.js} +1 -1
  151. package/dist/cdn/{57LPG3BE.js → NCI2IL35.js} +1 -1
  152. package/dist/cdn/{UZXVNOOD.js → NF426VVG.js} +1 -1
  153. package/dist/cdn/{YWOY3GID.js → NITCLRB6.js} +1 -1
  154. package/dist/cdn/{VKO3CVBS.js → NN4HL3RN.js} +1 -1
  155. package/dist/cdn/{M7MRLBZA.js → NPWUWO5D.js} +1 -1
  156. package/dist/cdn/{Z42MH42I.js → NTEKRSNB.js} +1 -1
  157. package/dist/cdn/{JKE3FA4Q.js → NYIKMTKG.js} +1 -1
  158. package/dist/cdn/{FTLNYN3G.js → NZQCJQ4Q.js} +1 -1
  159. package/dist/cdn/{3KAC2MKA.js → O2RCWKKW.js} +1 -1
  160. package/dist/cdn/{4WZZZTT5.js → OAZQQASF.js} +1 -1
  161. package/dist/cdn/{O5HQ5YZK.js → OJDGKV5X.js} +1 -1
  162. package/dist/cdn/{DCO26B7J.js → OMDFAKMT.js} +1 -1
  163. package/dist/cdn/{UVAUYBWF.js → OT4D3TVG.js} +1 -1
  164. package/dist/cdn/{LRH4FKHU.js → OWJ5ENXR.js} +1 -1
  165. package/dist/cdn/{PMRTCWGK.js → OZ7HDVE2.js} +1 -1
  166. package/dist/cdn/{CNXH745H.js → PQ4HZRQ5.js} +1 -1
  167. package/dist/cdn/{W73JDM22.js → PSBSMEOS.js} +1 -1
  168. package/dist/cdn/{S4L4V6FJ.js → PTJOLAFO.js} +1 -1
  169. package/dist/cdn/{ARLGT35P.js → PTS3BVGQ.js} +1 -1
  170. package/dist/cdn/{4ZAEHJPD.js → PWG3JEER.js} +1 -1
  171. package/dist/cdn/{6NSO42OW.js → PWMO74B5.js} +1 -1
  172. package/dist/cdn/{M4GAOTVS.js → PXRN3VUN.js} +1 -1
  173. package/dist/cdn/{PKYYNRBS.js → QHO5AMUP.js} +1 -1
  174. package/dist/cdn/{CDHP7WRH.js → QNQOBXLM.js} +1 -1
  175. package/dist/cdn/{OKAGFDAM.js → QVI5ZINK.js} +1 -1
  176. package/dist/cdn/{IFLDLAK4.js → RC7AEIEI.js} +1 -1
  177. package/dist/cdn/{6UMEQS35.js → RCJ3GROZ.js} +1 -1
  178. package/dist/cdn/{GBMEEEGZ.js → RIWLSAPB.js} +1 -1
  179. package/dist/cdn/{4KWDLXSO.js → RLG3UWIL.js} +1 -1
  180. package/dist/cdn/{I6DE3NLP.js → RX7LVZ5V.js} +1 -1
  181. package/dist/cdn/{REB4CHAK.js → SAI7K4OO.js} +1 -1
  182. package/dist/cdn/{M3CIFZFR.js → SC4BF7H6.js} +1 -1
  183. package/dist/cdn/{BOPNSNUT.js → SKV3CQSZ.js} +1 -1
  184. package/dist/cdn/{N4D5I6Y4.js → SMEVSYDK.js} +1 -1
  185. package/dist/cdn/{GPYZM5CC.js → SMMOQFAB.js} +1 -1
  186. package/dist/cdn/{AMRSK274.js → SN6VSKBM.js} +1 -1
  187. package/dist/cdn/SPJZCPH4.js +2 -0
  188. package/dist/cdn/{ETD3FAGO.js → SQH7I4MS.js} +1 -1
  189. package/dist/cdn/{O2LMVVKS.js → SRPQR7CY.js} +1 -1
  190. package/dist/cdn/{MGH6EHT7.js → ST5CGV6Q.js} +1 -1
  191. package/dist/cdn/{3MWXYWKR.js → SUGD5PEJ.js} +1 -1
  192. package/dist/cdn/{2IBL2HKQ.js → T2BFHU2Z.js} +1 -1
  193. package/dist/cdn/{M7ENWEKN.js → T2JBUILX.js} +1 -1
  194. package/dist/cdn/{6CKQPMJB.js → TCY4IVTP.js} +1 -1
  195. package/dist/cdn/{Z42YLJMZ.js → TEEHMUMV.js} +1 -1
  196. package/dist/cdn/{NY5NK2MP.js → THHQJGUB.js} +1 -1
  197. package/dist/cdn/{Q2KWXSLQ.js → TII37L6V.js} +1 -1
  198. package/dist/cdn/{SI2DEXWH.js → TJHVEY7T.js} +1 -1
  199. package/dist/cdn/{3HI5IZSQ.js → TLZBUTWJ.js} +1 -1
  200. package/dist/cdn/{VWW5GBIK.js → TRRAIBBM.js} +1 -1
  201. package/dist/cdn/{2TTSZF7O.js → TXVB6WRV.js} +1 -1
  202. package/dist/cdn/U2UY53UR.js +2 -0
  203. package/dist/cdn/{A7YFCO3R.js → U2XP3I7M.js} +1 -1
  204. package/dist/cdn/{5B22465P.js → U53HTVZS.js} +1 -1
  205. package/dist/cdn/{WYYUFJHO.js → U6BOSBYA.js} +1 -1
  206. package/dist/cdn/{WKI4XW7G.js → U6UL7OKY.js} +1 -1
  207. package/dist/cdn/{JN6RVFAM.js → UI3RWIDZ.js} +1 -1
  208. package/dist/cdn/{EVWWTIEQ.js → UIDNNWPD.js} +1 -1
  209. package/dist/cdn/{25PLRKZK.js → UJBFSJDF.js} +1 -1
  210. package/dist/cdn/{34XDXFK6.js → V345T5CR.js} +1 -1
  211. package/dist/cdn/{XYAJT7LP.js → V6CCL3L6.js} +1 -1
  212. package/dist/cdn/{VXXXOGU7.js → VQURMPYV.js} +1 -1
  213. package/dist/cdn/{RINX3CTL.js → VRUG5L4Z.js} +1 -1
  214. package/dist/cdn/{IUYW4QOS.js → VVLJLOSE.js} +1 -1
  215. package/dist/cdn/{YEKQVWF5.js → VZUPHB6L.js} +1 -1
  216. package/dist/cdn/{VPREN7P6.js → WNXQHRKE.js} +1 -1
  217. package/dist/cdn/{BFYJTV6Q.js → WRB2DEQ6.js} +1 -1
  218. package/dist/cdn/{HLOH2QPV.js → WV3Q2QUS.js} +1 -1
  219. package/dist/cdn/{BVJRB5FA.js → WVRIR3PK.js} +1 -1
  220. package/dist/cdn/{ZCI6T4IU.js → WYQAN63T.js} +1 -1
  221. package/dist/cdn/{PJIES74D.js → X64WORSC.js} +1 -1
  222. package/dist/cdn/{XLB473BN.js → XFQWANZ4.js} +1 -1
  223. package/dist/cdn/{4H2REMNG.js → XMYFUC6S.js} +1 -1
  224. package/dist/cdn/{7V7LQ35Q.js → XQRLK3FO.js} +1 -1
  225. package/dist/cdn/{QZVF23GH.js → XRQKJFNJ.js} +1 -1
  226. package/dist/cdn/{PMXSSYFB.js → XWGAKGVP.js} +1 -1
  227. package/dist/cdn/{IKVGZFZ6.js → XXDJKZSO.js} +1 -1
  228. package/dist/cdn/Y4GL4RZF.js +2 -0
  229. package/dist/cdn/{TI7UH6FZ.js → Y5BPYGSY.js} +1 -1
  230. package/dist/cdn/{AGXUHDNS.js → Y6MM3GUE.js} +1 -1
  231. package/dist/cdn/{ZH3MW6H3.js → Y6ZJNJZ7.js} +1 -1
  232. package/dist/cdn/{KAG4QZ7K.js → Y6ZUXP3Q.js} +1 -1
  233. package/dist/cdn/{XO7X6L4B.js → YDDOSD2C.js} +1 -1
  234. package/dist/cdn/{Z6ZEF6NC.js → YE6AOCCR.js} +1 -1
  235. package/dist/cdn/{YCKZUQ7P.js → YEPFWDQQ.js} +1 -1
  236. package/dist/cdn/{5GFPOTOB.js → YEPGUNSV.js} +1 -1
  237. package/dist/cdn/{DXTK47ES.js → YGBYB3BZ.js} +1 -1
  238. package/dist/cdn/{CWCVAPXD.js → YGD6HMAF.js} +1 -1
  239. package/dist/cdn/{G6L4BDEL.js → YIN7QUD2.js} +1 -1
  240. package/dist/cdn/{BZXGVKKW.js → YVXXZIP7.js} +1 -1
  241. package/dist/cdn/{XLYOZSWI.js → YWKKRBFW.js} +1 -1
  242. package/dist/cdn/{CLICUS2A.js → Z6JIKBXL.js} +1 -1
  243. package/dist/cdn/{2GPVEWYM.js → ZRBE5FVD.js} +1 -1
  244. package/dist/cdn/{EJVFK7JX.js → ZRT4RJ62.js} +1 -1
  245. package/dist/cdn/{HTYTZ7GK.js → ZSO62SMG.js} +1 -1
  246. package/dist/cdn/{ZE4UHSTB.js → ZXE7NGIY.js} +1 -1
  247. package/dist/cdn/index.js +1 -1
  248. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  249. package/dist/components/arcgis-feature-relationship/customElement.js +97 -98
  250. package/dist/components/arcgis-features-next/customElement.js +17 -14
  251. package/dist/components/arcgis-layer-list-next/customElement.js +105 -97
  252. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
  253. package/dist/components/arcgis-selection-list/customElement.d.ts +12 -0
  254. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
  255. package/dist/components/arcgis-sketch/customElement.d.ts +18 -0
  256. package/dist/components/arcgis-sketch/customElement.js +1 -1
  257. package/dist/docs/api.json +1 -1
  258. package/dist/docs/docs.json +1 -1
  259. package/dist/docs/vscode.html-custom-data.json +1 -1
  260. package/dist/docs/web-types.json +1 -1
  261. package/package.json +6 -6
  262. package/dist/cdn/6TXZMHLZ.js +0 -2
  263. package/dist/cdn/7ILT5PDJ.js +0 -2
  264. package/dist/cdn/DGXTCH6B.js +0 -2
  265. package/dist/cdn/M7F66X42.js +0 -2
  266. package/dist/cdn/NEPTDMLE.js +0 -2
  267. package/dist/cdn/PTHNXKEA.js +0 -2
  268. package/dist/cdn/Q6RSVQNE.js +0 -2
  269. package/dist/cdn/TM4FFRX5.js +0 -2
  270. package/dist/cdn/XLZB6JMZ.js +0 -2
  271. package/dist/cdn/Y4C7JJCJ.js +0 -2
@@ -1,40 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as N } from "../../chunks/runtime.js";
2
+ import { c as x } from "../../chunks/runtime.js";
3
3
  import { html as h } from "lit";
4
4
  import { keyed as w } from "lit/directives/keyed.js";
5
- import { repeat as S } from "lit/directives/repeat.js";
6
- import k from "@arcgis/core/layerList/LayerListModel.js";
7
- import { classes as B } from "@arcgis/toolkit/dom";
8
- import { generateGuid as U } from "@arcgis/toolkit/string";
5
+ import { repeat as N } from "lit/directives/repeat.js";
6
+ import U from "@arcgis/core/layerList/LayerListModel.js";
7
+ import { classes as k } from "@arcgis/toolkit/dom";
8
+ import { generateGuid as B } from "@arcgis/toolkit/string";
9
9
  import { createRef as b, ref as _ } from "lit/directives/ref.js";
10
10
  import { u as G } from "../../chunks/useT9n.js";
11
11
  import { m as H } from "../../chunks/useViewModel.js";
12
+ import { m as q } from "../../chunks/handle.js";
12
13
  import { g as $ } from "../../chunks/globalCss.js";
13
14
  import { c as y } from "../../chunks/css.js";
14
- import { g as m, a as F, m as V, b as j, r as T, s as q, c as z, d as J, e as K } from "../../chunks/layer-list-utils.js";
15
+ import { g as m, a as M, m as V, b as j, r as T, s as z, c as J, d as K, e as Q } from "../../chunks/layer-list-utils.js";
15
16
  import p from "@arcgis/core/core/Collection.js";
16
17
  import { on as C, watch as A } from "@arcgis/core/core/reactiveUtils.js";
17
- import { LitElement as Q, createEvent as I, renderElement as D, safeClassMap as E, nothing as O } from "@arcgis/lumina";
18
- import { usePropertyChange as W } from "@arcgis/lumina/controllers";
19
- import { reEmitEvent as X } from "@arcgis/lumina-toolkit/reEmitEvent";
20
- import { u as Y } from "../../chunks/useCloseEvent.js";
21
- import { u as Z, s as ee, a as te } from "../../chunks/layer-list-next.js";
18
+ import { LitElement as W, createEvent as I, renderElement as D, safeClassMap as F, nothing as O } from "@arcgis/lumina";
19
+ import { usePropertyChange as X } from "@arcgis/lumina/controllers";
20
+ import { reEmitEvent as Y } from "@arcgis/lumina-toolkit/reEmitEvent";
21
+ import { u as Z } from "../../chunks/useCloseEvent.js";
22
+ import { u as ee, s as te, a as ie } from "../../chunks/layer-list-next.js";
22
23
  import { ArcgisLayerListItem as se } from "./layer-list-item/customElement.js";
23
- import { i as ie, h as ae, r as le } from "../../chunks/utils.js";
24
+ import { i as ae, h as le, r as re } from "../../chunks/utils.js";
24
25
  import "../arcgis-layer-list-item-indicator/customElement.js";
25
- const P = "nested", oe = H(k);
26
- class re extends Q {
26
+ const P = "nested", oe = H(U);
27
+ class ne extends W {
27
28
  constructor() {
28
- super(...arguments), this.#s = Z(this), this.#i = null, this._rootListRef = b(), this._layerFlowItemRef = b(), this._panelFlowItemRef = b(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${U()}`, this.#a = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
29
- const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, l = m(e, this.operationalItems);
29
+ super(...arguments), this.#i = ee(this), this.#s = null, this._rootListRef = b(), this._layerFlowItemRef = b(), this._panelFlowItemRef = b(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${B()}`, this.#a = null, this._updateAnimationFrame = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, a) => {
30
+ const s = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, l = m(e, this.operationalItems);
30
31
  if (!l?.sortable)
31
32
  return !1;
32
- const o = this.#e(t), r = this.#e(s), n = this.#t(o), d = F(o), g = this.#t(r), u = F(r), f = !!d && !!u && d === u, L = {
33
+ const r = this.#e(t), o = this.#e(i), n = this.#t(r), d = M(r), g = this.#t(o), u = M(o), f = !!d && !!u && d === u, L = {
33
34
  selected: l,
34
35
  from: n,
35
36
  to: g
36
- }, v = o?.group, c = r?.group, R = n?.layer?.type ?? "", x = g?.layer?.type ?? "", M = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
37
- return v && c && typeof i == "function" ? i(L) : f && !M.has(R) && !M.has(x) && l?.layer?.type !== "sublayer";
37
+ }, v = r?.group, c = o?.group, R = n?.layer?.type ?? "", S = g?.layer?.type ?? "", E = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
38
+ return v && c && typeof s == "function" ? s(L) : f && !E.has(R) && !E.has(S) && l?.layer?.type !== "sublayer";
38
39
  }, this._onCatalogOpen = (e) => {
39
40
  this.openedLayers.push(e.layer?.parent);
40
41
  }, this._onTablesOpen = (e) => {
@@ -46,33 +47,39 @@ class re extends Q {
46
47
  }, this._setActiveItem = (e) => {
47
48
  if (this.visibilityAppearance !== "default")
48
49
  return;
49
- const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(y.item)), s = m(t, this.operationalItems);
50
- this._activeItem = s;
51
- }, this.viewModel = oe(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
50
+ const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(y.item)), i = m(t, this.operationalItems);
51
+ this._activeItem = i;
52
+ }, this._scheduleUpdate = () => {
53
+ this._updateAnimationFrame === null && (this._updateAnimationFrame = requestAnimationFrame(() => {
54
+ this._updateAnimationFrame = null, this.isConnected && this.requestUpdate();
55
+ }));
56
+ }, this._cancelScheduledUpdate = () => {
57
+ this._updateAnimationFrame !== null && (cancelAnimationFrame(this._updateAnimationFrame), this._updateAnimationFrame = null);
58
+ }, this.viewModel = oe(this), this.arcgisClose = Z(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
52
59
  t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
53
60
  }, this._onSelectedDragItemLayerUidChange = (e) => {
54
61
  this._selectedDragItemLayerUid = e;
55
62
  }, this._onTriggerAction = (e, t) => {
56
63
  this.triggerAction(e, t);
57
- }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange = W()("state"), this.arcgisReady = I(), this.arcgisSelectedItemsChange = I(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
64
+ }, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = I(), this.arcgisOpenedLayersChange = I(), this.arcgisPropertyChange = X()("state"), this.arcgisReady = I(), this.arcgisSelectedItemsChange = I(), this.arcgisTriggerAction = Y(() => this.viewModel, "trigger-action");
58
65
  }
59
66
  static {
60
67
  this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, view: 0, visibilityAppearance: 1 };
61
68
  }
62
69
  static {
63
- this.styles = [ee, te];
70
+ this.styles = [te, ie];
64
71
  }
65
- #s;
66
72
  #i;
73
+ #s;
67
74
  #a;
68
75
  get _totalItems() {
69
- return this.viewModel.operationalItems.flatten((t) => t.children.filter((s) => s.layer?.type !== "catalog-dynamic-group")).length;
76
+ return this.viewModel.operationalItems.flatten((t) => t.children.filter((i) => i.layer?.type !== "catalog-dynamic-group")).length;
70
77
  }
71
78
  get _visibleItems() {
72
79
  return this.operationalItems?.filter((e) => !e.hidden && (this.showErrors || !e.error));
73
80
  }
74
81
  get _openedPanelItems() {
75
- return this._visibleItems.flatten((e) => e.children).filter((e) => !e.hidden && e.panel?.open && !e.panel.disabled && e.panel.flowEnabled && (!ie(e) || ae(e)));
82
+ return this._visibleItems.flatten((e) => e.children).filter((e) => !e.hidden && e.panel?.open && !e.panel.disabled && e.panel.flowEnabled && (!ae(e) || le(e)));
76
83
  }
77
84
  get _dragEnabled() {
78
85
  return this._totalItems >= this.minDragEnabledItems && this.dragEnabled;
@@ -82,7 +89,7 @@ class re extends Q {
82
89
  }
83
90
  get _renderedOpenLayerFlowItems() {
84
91
  const { openedLayers: e } = this;
85
- return e.toArray().map((t, s) => this.#_(t, s === e.length - 1));
92
+ return e.toArray().map((t, i) => this.#_(t, i === e.length - 1));
86
93
  }
87
94
  get catalogLayerList() {
88
95
  return this._catalogLayerList;
@@ -100,10 +107,11 @@ class re extends Q {
100
107
  }, { initial: !0 }),
101
108
  C(() => this.viewModel.operationalItems, "change", () => T(this.selectedItems), { initial: !0 }),
102
109
  A(() => this.operationalItems.flatten((e) => e.children).map((e) => e.uid).join(","), () => {
103
- T(this.selectedItems), this.requestUpdate();
110
+ T(this.selectedItems), this._scheduleUpdate();
104
111
  }, { initial: !0 }),
112
+ q(this._cancelScheduledUpdate),
105
113
  C(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
106
- A(() => [this.filterPredicate, this._rootListRef.value], () => q(this._rootListRef.value, this.filterPredicate, this.operationalItems))
114
+ A(() => [this.filterPredicate, this._rootListRef.value], () => z(this._rootListRef.value, this.filterPredicate, this.operationalItems))
107
115
  ]);
108
116
  }
109
117
  triggerAction(e, t) {
@@ -119,48 +127,48 @@ class re extends Q {
119
127
  }
120
128
  #t(e) {
121
129
  const t = e?.getAttribute("data-item");
122
- return t ? this.#r(t) : null;
130
+ return t ? this.#o(t) : null;
123
131
  }
124
- #r(e) {
132
+ #o(e) {
125
133
  const t = this.operationalItems?.toArray() ?? [];
126
134
  for (; t.length; ) {
127
- const s = t.shift();
128
- if (!s)
135
+ const i = t.shift();
136
+ if (!i)
129
137
  continue;
130
- if (s.uid === e)
131
- return s;
132
- const a = s.children?.toArray() ?? [];
138
+ if (i.uid === e)
139
+ return i;
140
+ const a = i.children?.toArray() ?? [];
133
141
  t.push(...a);
134
142
  }
135
143
  return null;
136
144
  }
137
145
  async #n(e, t) {
138
- const { _layerListMap: s } = this, a = s.get(e);
146
+ const { _layerListMap: i } = this, a = i.get(e);
139
147
  if (a)
140
148
  return a;
141
- const i = e.type === "catalog" ? await this.#d(e) : await this.#p(e);
142
- return t.aborted || s.set(e, i), i;
149
+ const s = e.type === "catalog" ? await this.#d(e) : await this.#p(e);
150
+ return t.aborted || i.set(e, s), s;
143
151
  }
144
152
  async #c() {
145
- const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
153
+ const { _layerListMap: e, openedLayers: t, openedLayerLists: i } = this;
146
154
  this.#a?.abort();
147
- const a = new AbortController(), { signal: i } = a;
148
- this.#a = a, e.forEach((r, n) => {
149
- t.includes(n) || (r?.destroy?.(), e.delete(n));
155
+ const a = new AbortController(), { signal: s } = a;
156
+ this.#a = a, e.forEach((o, n) => {
157
+ t.includes(n) || (o?.destroy?.(), e.delete(n));
150
158
  });
151
- const l = await Promise.all(t.map((r) => this.#n(r, i)));
152
- if (i.aborted)
159
+ const l = await Promise.all(t.map((o) => this.#n(o, s)));
160
+ if (s.aborted)
153
161
  return;
154
- s.removeAll(), s.addMany(l);
155
- const o = s.at(-1);
156
- o ? "catalogLayer" in o ? (this._catalogLayerList = o, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = o) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
162
+ i.removeAll(), i.addMany(l);
163
+ const r = i.at(-1);
164
+ r ? "catalogLayer" in r ? (this._catalogLayerList = r, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = r) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
157
165
  }
158
166
  #h() {
159
167
  this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
160
168
  }
161
169
  async #d(e) {
162
- const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: l, selectionMode: o, visibilityAppearance: r } = this;
163
- return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? l} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? r} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
170
+ const { headingLevel: t, catalogOptions: i, filterPlaceholder: a, listItemCreatedFunction: s, minFilterItems: l, selectionMode: r, visibilityAppearance: o } = this;
171
+ return D(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder ?? a} .listItemCreatedFunction=${i?.listItemCreatedFunction ?? s} .minFilterItems=${i?.minFilterItems ?? l} .selectionMode=${i?.selectionMode ?? r} .visibilityAppearance=${i?.visibilityAppearance ?? o} .showErrors=${i?.showErrors ?? this.showErrors} .showFilter=${i?.showFilter ?? this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
164
172
  }
165
173
  #m(e) {
166
174
  switch (e.type) {
@@ -181,45 +189,45 @@ class re extends Q {
181
189
  }
182
190
  }
183
191
  async #p(e) {
184
- const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this.#m(e);
185
- return D(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list-next>`);
192
+ const { headingLevel: t, selectionMode: i, dragEnabled: a } = this, s = this.#m(e);
193
+ return D(h`<arcgis-table-list-next .headingLevel=${s?.headingLevel ?? t} .selectionMode=${s?.selectionMode ?? i} .dragEnabled=${s?.dragEnabled ?? a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon ?? void 0} .label=${s?.label ?? void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list-next>`);
186
194
  }
187
195
  #g(e) {
188
196
  e.open = !1;
189
197
  }
190
- #u({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
191
- const i = this.#e(e), l = this.#e(t), o = m(s, this.operationalItems), r = this.#t(i), n = this.#t(l);
192
- a == null || !o || (this.viewModel.moveItem(o, n, r, a), le(
198
+ #u({ toEl: e, fromEl: t, dragEl: i, newIndex: a }) {
199
+ const s = this.#e(e), l = this.#e(t), r = m(i, this.operationalItems), o = this.#t(s), n = this.#t(l);
200
+ a == null || !r || (this.viewModel.moveItem(r, n, o, a), re(
193
201
  this,
194
- o.uid,
202
+ r.uid,
195
203
  // Make sure we have the current node and not a stale one
196
- (d) => d !== s && this.#e(d.parentElement) === i
204
+ (d) => d !== i && this.#e(d.parentElement) === s
197
205
  ));
198
206
  }
199
207
  #f(e) {
200
- const { fromEl: t, toEl: s, dragEl: a, oldIndex: i } = e;
201
- if (t !== s) {
208
+ const { fromEl: t, toEl: i, dragEl: a, oldIndex: s } = e;
209
+ if (t !== i) {
202
210
  a.remove();
203
211
  return;
204
212
  }
205
- i == null || !t || !a || t.insertBefore(a, t.children[i]);
213
+ s == null || !t || !a || t.insertBefore(a, t.children[s]);
206
214
  }
207
215
  #y(e) {
208
- const t = this.#i, { dragEl: s, newIndex: a } = e, i = this.#e(e.fromEl), l = this.#e(e.toEl), o = t?.newIndex === a && t?.dragEl === s && t?.toEl === l && t?.fromEl === i;
209
- if (!(!i || !l || o)) {
210
- if (this.#i = {
216
+ const t = this.#s, { dragEl: i, newIndex: a } = e, s = this.#e(e.fromEl), l = this.#e(e.toEl), r = t?.newIndex === a && t?.dragEl === i && t?.toEl === l && t?.fromEl === s;
217
+ if (!(!s || !l || r)) {
218
+ if (this.#s = {
211
219
  ...e,
212
- fromEl: i,
220
+ fromEl: s,
213
221
  toEl: l
214
- }, this._selectedDragItemLayerUid = s.value, i === l) {
215
- const r = Array.from(i.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
216
- this.#I(i, r);
222
+ }, this._selectedDragItemLayerUid = i.value.layer?.uid ?? null, s === l) {
223
+ const o = Array.from(s.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
224
+ this.#I(s, o);
217
225
  return;
218
226
  }
219
227
  this.#u({
220
228
  toEl: l,
221
- fromEl: i,
222
- dragEl: s,
229
+ fromEl: s,
230
+ dragEl: i,
223
231
  newIndex: a
224
232
  });
225
233
  }
@@ -227,77 +235,77 @@ class re extends Q {
227
235
  #I(e, t) {
228
236
  if (e)
229
237
  if (e === this._rootListRef.value)
230
- z(this.el.view?.map?.layers, t);
238
+ J(this.el.view?.map?.layers, t);
231
239
  else {
232
- const s = m(e, this.operationalItems);
233
- if (!s)
240
+ const i = m(e, this.operationalItems);
241
+ if (!i)
234
242
  return;
235
- J(s, t);
243
+ K(i, t);
236
244
  }
237
245
  }
238
246
  #L(e) {
239
- const { selectionMode: t, selectedItems: s } = this;
247
+ const { selectionMode: t, selectedItems: i } = this;
240
248
  if (t === "none")
241
249
  return;
242
- const i = e.target.selectedItems.map((l) => m(l, this.operationalItems)).filter(Boolean);
243
- s.removeAll(), s.addMany(i);
250
+ const s = e.target.selectedItems.map((l) => m(l, this.operationalItems)).filter(Boolean);
251
+ i.removeAll(), i.addMany(s);
244
252
  }
245
253
  render() {
246
254
  const { state: e } = this, t = {
247
255
  [$.hidden]: e === "loading",
248
256
  [$.disabled]: e === "disabled"
249
257
  };
250
- return h`<div class=${E(B($.widget, t))}>${this._visibleItems?.length ? this.#w() : null}${this.#C()}</div>`;
258
+ return h`<div class=${F(k($.widget, t))}>${this._visibleItems?.length ? this.#w() : null}${this.#C()}</div>`;
251
259
  }
252
260
  #v(e) {
253
- const { _tooltipReferenceMap: t, messages: s } = this;
254
- return e ? h`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid ?? "")}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
261
+ const { _tooltipReferenceMap: t, messages: i } = this;
262
+ return e ? h`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid ?? "")}>${i.layerIncompatibleTooltip}</calcite-tooltip>` : null;
255
263
  }
256
264
  #l(e) {
257
265
  if (e.incompatible)
258
266
  return this.#v(e);
259
- const t = e.children?.filter((s) => !s.hidden).toArray().map((s) => this.#l(s)) ?? [];
267
+ const t = e.children?.filter((i) => !i.hidden).toArray().map((i) => this.#l(i)) ?? [];
260
268
  return t.length ? t : null;
261
269
  }
262
270
  #w() {
263
271
  return this._visibleItems?.toArray().map((t) => this.#l(t));
264
272
  }
265
- #o() {
273
+ #r() {
266
274
  return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
267
275
  }
268
276
  #b() {
269
- return this.hideNoItemsNotice ? null : h`<div class=${E(y.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#o()}</calcite-notice></div>`;
277
+ return this.hideNoItemsNotice ? null : h`<div class=${F(y.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#r()}</calcite-notice></div>`;
270
278
  }
271
279
  #_(e, t) {
272
- const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
273
- return w(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? O} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(l) => {
280
+ const { messages: i, openedLayers: a } = this, s = e.title || this.messages.untitledLayer;
281
+ return w(e?.uid ?? s, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? O} .description=${s} .heading=${i[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(l) => {
274
282
  l.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
275
283
  }} ${_(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
276
284
  }
277
285
  #$() {
278
286
  const { _openedPanelItems: e, openedLayers: t } = this;
279
- return S(e.toArray(), (a) => a.uid, (a, i) => {
280
- const { panel: l, title: o } = a, r = () => this.#g(l);
281
- return h`<calcite-flow-item .description=${o} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
282
- n.preventDefault(), r();
283
- }} ${_(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${r} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
287
+ return N(e.toArray(), (a) => a.uid, (a, s) => {
288
+ const { panel: l, title: r } = a, o = () => this.#g(l);
289
+ return h`<calcite-flow-item .description=${r} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && s === e.length - 1} @calciteFlowItemBack=${(n) => {
290
+ n.preventDefault(), o();
291
+ }} ${_(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${a} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${o} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
284
292
  });
285
293
  }
286
294
  #C() {
287
- const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: l, showCollapseButton: o, showHeading: r, _dragEnabled: n, filterText: d, openedLayers: g, filterPlaceholder: u, messages: f } = this, L = this.#s.selectionMode, v = [
288
- h`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${r ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!g.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${u} .filterProps=${K} .filterText=${a ? d : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${L} @calciteListChange=${this.#L} @calciteListFilter=${(c) => {
295
+ const { collapsed: e, _visibleItems: t, _openedPanelItems: i, _filterEnabled: a, _rootGroupUid: s, showCloseButton: l, showCollapseButton: r, showHeading: o, _dragEnabled: n, filterText: d, openedLayers: g, filterPlaceholder: u, messages: f } = this, L = this.#i.selectionMode, v = [
296
+ h`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${r} .heading=${o ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!g.length && !i.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${s ?? O} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${u} .filterProps=${Q} .filterText=${a ? d : ""} .group=${s} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${L} @calciteListChange=${this.#L} @calciteListFilter=${(c) => {
289
297
  this.filterText = c.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
290
- }} @calciteListOrderChange=${(c) => this.#y(c.detail)} @calciteListDragEnd=${(c) => this.#f(c.detail)} ${_(this._rootListRef)}>${t.toArray().map((c) => this.#E(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(y.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#o()}</calcite-notice></div>` : null}</calcite-list>` : this.#b()}</calcite-flow-item>`,
298
+ }} @calciteListOrderChange=${(c) => this.#y(c.detail)} @calciteListDragEnd=${(c) => this.#f(c.detail)} ${_(this._rootListRef)}>${t.toArray().map((c) => this.#F(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${F(y.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#r()}</calcite-notice></div>` : null}</calcite-list>` : this.#b()}</calcite-flow-item>`,
291
299
  this.#$(),
292
300
  this._renderedOpenLayerFlowItems
293
301
  ];
294
302
  return this.closed ? null : w("root-flow", h`<calcite-flow>${v}</calcite-flow>`);
295
303
  }
296
- #E(e, t, s) {
297
- return w(e.uid, se({ activeItem: this._activeItem, canMove: this._canMove, css: y, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.#s.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
304
+ #F(e, t, i) {
305
+ return w(e.uid, se({ activeItem: this._activeItem, canMove: this._canMove, css: y, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.#i.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
298
306
  }
299
307
  }
300
- N("arcgis-layer-list-next", re);
308
+ x("arcgis-layer-list-next", ne);
301
309
  export {
302
- re as ArcgisLayerListNext
310
+ ne as ArcgisLayerListNext
303
311
  };
@@ -1,81 +1,81 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { html as s } from "lit";
3
- import { keyed as K } from "lit/directives/keyed.js";
4
- import { isLayerFromCatalog as Ee } from "@arcgis/core/layers/catalog/catalogUtils.js";
3
+ import { keyed as W } from "lit/directives/keyed.js";
4
+ import { isLayerFromCatalog as Pe } from "@arcgis/core/layers/catalog/catalogUtils.js";
5
5
  import { safeClassMap as r, nothing as d } from "@arcgis/lumina";
6
- import { classes as Q } from "@arcgis/toolkit/dom";
7
- import { createRef as W, ref as X } from "lit/directives/ref.js";
8
- import { a as Pe } from "../../../chunks/action-utils.js";
9
- import { f as we, i as Y, l as Oe, h as Fe, j as Ge, k as Re, g as Ve } from "../../../chunks/layer-list-utils.js";
10
- import { a as He, b as Ue, i as qe, g as Z, t as ee, h as te, c as je, F as Be, d as Ne, L as ie, f as _e } from "../../../chunks/utils.js";
11
- const ae = /* @__PURE__ */ new Map();
12
- function le(l) {
13
- return l ? ae.get(l) ?? !1 : !1;
6
+ import { classes as X } from "@arcgis/toolkit/dom";
7
+ import { createRef as Y, ref as Z } from "lit/directives/ref.js";
8
+ import { a as we } from "../../../chunks/action-utils.js";
9
+ import { f as Oe, i as ee, l as Fe, h as Ge, j as Re, k as Ve, g as He } from "../../../chunks/layer-list-utils.js";
10
+ import { a as Ue, b as qe, i as je, g as te, t as ie, h as ae, c as Be, F as Ne, d as _e, L as le, f as ze } from "../../../chunks/utils.js";
11
+ const ne = /* @__PURE__ */ new Map();
12
+ function se(l) {
13
+ return l ? ne.get(l) ?? !1 : !1;
14
14
  }
15
- function ze(l, e) {
16
- const g = !(l.aria?.pressed ?? le(e));
17
- return l.aria = { ...l.aria, pressed: g }, e && ae.set(e, g), g;
15
+ function Je(l, e) {
16
+ const g = !(l.aria?.pressed ?? se(e));
17
+ return l.aria = { ...l.aria, pressed: g }, e && ne.set(e, g), g;
18
18
  }
19
- function Je(l) {
20
- const { item: e, itemType: g = "layer", parent: v, hideStatusIndicators: ne, css: i, visibilityAppearance: I, hideCatalogLayerList: se, dragEnabled: E = !1, rootGroupUid: A, listModeDisabled: ce = !1, selectionMode: T, displayMode: oe, layerTablesEnabled: C, showErrors: re, parentTitles: P, selectedItems: de, activeItem: me, handleCatalogOpen: ue, handleTablesOpen: pe, selectedDragItemLayerUid: be, handleSelectedDragItemLayerUidChange: ge, handlePanelOpen: ye, messages: a, setCurrentActiveItem: w, clearActiveItem: O } = l, $e = He(e), ve = Ue(e), c = qe(e), y = W(), S = W(), fe = g === "table" ? a.untitledTable ?? "" : a.untitledLayer ?? "", he = $e ? a.trackInfo?.[e.content.name] ?? e.content.name : "", Ie = ve ? a.telemetryDisplay?.[e.content.name] ?? e.content.name : "", p = e.title || he || Ie || fe || "";
21
- let F = null;
22
- !ne && !c && (F = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${a} .item=${e} .parent=${v} slot=content-end></arcgis-layer-list-item-indicator>`);
19
+ function Ke(l) {
20
+ const { item: e, itemType: g = "layer", parent: v, hideStatusIndicators: ce, css: i, visibilityAppearance: I, hideCatalogLayerList: oe, dragEnabled: E = !1, rootGroupUid: A, listModeDisabled: re = !1, selectionMode: T, displayMode: de, layerTablesEnabled: C, showErrors: me, parentTitles: P, selectedItems: ue, activeItem: pe, handleCatalogOpen: be, handleTablesOpen: ge, selectedDragItemLayerUid: w, handleSelectedDragItemLayerUidChange: ye, handlePanelOpen: $e, messages: a, setCurrentActiveItem: O, clearActiveItem: F } = l, ve = Ue(e), fe = qe(e), c = je(e), y = Y(), S = Y(), he = g === "table" ? a.untitledTable ?? "" : a.untitledLayer ?? "", Ie = ve ? a.trackInfo?.[e.content.name] ?? e.content.name : "", Ae = fe ? a.telemetryDisplay?.[e.content.name] ?? e.content.name : "", p = e.title || Ie || Ae || he || "";
23
21
  let G = null;
22
+ !ce && !c && (G = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${a} .item=${e} .parent=${v} slot=content-end></arcgis-layer-list-item-indicator>`);
23
+ let R = null;
24
24
  {
25
- const { layer: t } = e, n = t && "persistenceEnabled" in t && (Ee(t) || !t.persistenceEnabled);
26
- !c && (l.showTemporaryLayerIndicators || l.showTemporaryTableIndicators) && n && (G = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${a.temporary ?? d}></calcite-icon>`);
25
+ const { layer: t } = e, n = t && "persistenceEnabled" in t && (Pe(t) || !t.persistenceEnabled);
26
+ !c && (l.showTemporaryLayerIndicators || l.showTemporaryTableIndicators) && n && (R = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${a.temporary ?? d}></calcite-icon>`);
27
27
  }
28
- let R = null;
28
+ let V = null;
29
29
  if ("visible" in e && "visibleToggle" in i && I) {
30
- const t = Z(v);
30
+ const t = te(v);
31
31
  if (t !== "inherited") {
32
- const n = we({
32
+ const n = Oe({
33
33
  visible: e.visible,
34
34
  exclusive: t === "exclusive",
35
35
  visibilityAppearance: I
36
- }), o = I === "checkbox", m = a.layerVisibility, $ = p, b = $ ? `${m ?? ""}: ${$}` : m ?? "", f = c ? e.visible : le(e.layer?.id);
37
- R = s`<calcite-action .aria=${{ pressed: f }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${b} @click=${(D) => {
38
- c || ze(D.currentTarget, e.layer?.id), ee(e, v);
39
- }} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(Q({
36
+ }), o = I === "checkbox", m = a.layerVisibility, $ = p, b = $ ? `${m ?? ""}: ${$}` : m ?? "", h = c ? e.visible : se(e.layer?.id);
37
+ V = s`<calcite-action .aria=${{ pressed: h }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${b} @click=${(D) => {
38
+ c || Je(D.currentTarget, e.layer?.id), ie(e, v);
39
+ }} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(X({
40
40
  [i.visibleIcon]: t !== "exclusive" && e.visible
41
41
  }))} .icon=${n} scale=s></calcite-icon>`}</calcite-action>`;
42
42
  }
43
43
  }
44
- let V = null;
44
+ let H = null;
45
45
  {
46
46
  const t = e.panel;
47
- t?.open && !t.disabled && !t.flowEnabled && (!c || te(e)) && (V = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${l.view}></arcgis-layer-list-item-panel></div>`);
47
+ t?.open && !t.disabled && !t.flowEnabled && (!c || ae(e)) && (H = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${l.view}></arcgis-layer-list-item-panel></div>`);
48
48
  }
49
- let H = null;
49
+ let U = null;
50
50
  {
51
51
  const t = e.panel;
52
- if (t?.visible && (!c || te(e))) {
52
+ if (t?.visible && (!c || ae(e))) {
53
53
  const { open: n, title: o, disabled: m } = t;
54
54
  (t.content === "legend" || Array.isArray(t.content) && t.content.includes("legend")) && (t.icon = "legend");
55
55
  const $ = {
56
56
  icon: t.icon,
57
57
  image: t.image ?? void 0,
58
58
  indicator: !1
59
- }, b = Pe($);
60
- H = s`<calcite-action .active=${n} .disabled=${m} .icon=${b} @click=${() => je(e, ye)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${Be(i, t)}</calcite-action>`;
59
+ }, b = we($);
60
+ U = s`<calcite-action .active=${n} .disabled=${m} .icon=${b} @click=${() => Be(e, $e)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${Ne(i, t)}</calcite-action>`;
61
61
  }
62
62
  }
63
- let U = null;
64
- {
65
- const t = e.layer, n = t?.type === "catalog-footprint", o = t?.type === "sublayer" && Y(t, "footprints");
66
- !c && "itemCatalogIcon" in i && (n || o) && (U = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
67
- }
68
63
  let q = null;
69
64
  {
70
- const t = e.layer, n = t?.type === "catalog-dynamic-group", o = t?.type === "sublayer" && Y(t, "layers-in-view");
71
- !c && "itemCatalogIcon" in i && (n || o) && (q = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
65
+ const t = e.layer, n = t?.type === "catalog-footprint", o = t?.type === "sublayer" && ee(t, "footprints");
66
+ !c && "itemCatalogIcon" in i && (n || o) && (q = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
72
67
  }
73
68
  let j = null;
69
+ {
70
+ const t = e.layer, n = t?.type === "catalog-dynamic-group", o = t?.type === "sublayer" && ee(t, "layers-in-view");
71
+ !c && "itemCatalogIcon" in i && (n || o) && (j = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
72
+ }
73
+ let B = null;
74
74
  if ("visible" in e) {
75
75
  const t = e.layer;
76
- !c && !se && t?.type === "catalog-dynamic-group" && (j = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => ue?.(e)} slot=actions-end .text=${p ?? ""}></calcite-action>`);
76
+ !c && !oe && t?.type === "catalog-dynamic-group" && (B = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => be?.(e)} slot=actions-end .text=${p ?? ""}></calcite-action>`);
77
77
  }
78
- let B = null, L = !1;
78
+ let N = null, L = !1;
79
79
  {
80
80
  const t = e.layer;
81
81
  if (!c && C && t)
@@ -88,50 +88,50 @@ function Je(l) {
88
88
  L = C.includes(t.type) && "subtables" in t && !!t.subtables?.length;
89
89
  break;
90
90
  }
91
- "itemTableIcon" in i && "visible" in e && "tables" in a && L && (B = K(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${a.tables} title=${a.tables ?? d} @calciteListItemSelect=${() => pe?.(e)} .value=${e}><calcite-icon class=${r(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>`));
91
+ "itemTableIcon" in i && "visible" in e && "tables" in a && L && (N = W(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${a.tables} title=${a.tables ?? d} @calciteListItemSelect=${() => ge?.(e)} .value=${e}><calcite-icon class=${r(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>`));
92
92
  }
93
- let N = null;
93
+ let _ = null;
94
94
  if ("children" in e) {
95
- const t = [...P ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && Oe(e), $ = ce ? !1 : Fe(o), b = o?.type === "group", f = !$ && !m && E && b, D = b && "sortable" in e && e.sortable, xe = n.some((u) => "sortable" in u && u.sortable), Me = g === "layer" ? Ge(e) : !0, ke = E && (m || f) && (xe || f) && ("childrenSortable" in e && e.childrenSortable || D) && Me, De = m ? (n?.filter((u) => !u.hidden && (re || !u.error)).toArray() ?? []).map((u) => Je({
95
+ const t = [...P ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && Fe(e), $ = re ? !1 : Ge(o), b = o?.type === "group", h = !$ && !m && E && b, D = b && "sortable" in e && e.sortable, Me = n.some((u) => "sortable" in u && u.sortable), ke = g === "layer" ? Re(e) : !0, De = E && (m || h) && (Me || h) && ("childrenSortable" in e && e.childrenSortable || D) && ke, Ee = m ? (n?.filter((u) => !u.hidden && (me || !u.error)).toArray() ?? []).map((u) => Ke({
96
96
  ...l,
97
97
  item: u,
98
98
  parent: e,
99
99
  parentTitles: t
100
100
  })) : null;
101
- (m || f) && (N = s`<calcite-list .canPull=${(u) => l.canMove ? l.canMove(u, "pull") : !1} .canPut=${(u) => l.canMove ? l.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${oe} .dragEnabled=${ke} .group=${b ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${De}${B}</calcite-list>`);
101
+ (m || h) && (_ = s`<calcite-list .canPull=${(u) => l.canMove ? l.canMove(u, "pull") : !1} .canPut=${(u) => l.canMove ? l.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${de} .dragEnabled=${De} .group=${b ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${Ee}${N}</calcite-list>`);
102
102
  }
103
103
  let x = null;
104
104
  if (!c && e.error) {
105
105
  const t = "layerError" in a ? a.layerError : a.tableError;
106
106
  x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${t}</div></calcite-notice></div>`;
107
- } else "incompatible" in e && e.incompatible && "layerIncompatible" in a && (x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${X(S)}><div slot=message>${a.layerIncompatible}</div></calcite-notice></div>`);
108
- const _ = Ne(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), z = Re(_), Ae = _.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => ie(l, n, !0))}</calcite-action-group>`), Te = (t) => {
107
+ } else "incompatible" in e && e.incompatible && "layerIncompatible" in a && (x = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Z(S)}><div slot=message>${a.layerIncompatible}</div></calcite-notice></div>`);
108
+ const z = _e(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), J = Ve(z), Te = z.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => le(l, n, !0))}</calcite-action-group>`), Ce = (t) => {
109
109
  e.actionsOpen = t.currentTarget.open;
110
110
  };
111
- let J = null;
112
- M > 1 && (J = s`<calcite-action-menu appearance=transparent .label=${a.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Te}><calcite-action .aria=${{
111
+ let K = null;
112
+ M > 1 && (K = s`<calcite-action-menu appearance=transparent .label=${a.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Ce}><calcite-action .aria=${{
113
113
  expanded: e.actionsOpen ?? !1,
114
114
  hasPopup: "true"
115
- }} icon=ellipsis slot=trigger .text=${a.options ?? ""} title=${a.options ?? d}></calcite-action>${Ae}</calcite-action-menu>`);
115
+ }} icon=ellipsis slot=trigger .text=${a.options ?? ""} title=${a.options ?? d}></calcite-action>${Te}</calcite-action-menu>`);
116
116
  let k = null;
117
- M === 1 && z ? k = ie(l, z, !1) : M > 1 && (k = J);
118
- const Ce = c ? p : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in a && !e.visibleAtCurrentTimeExtent ? `${p} (${a.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in a && !e.visibleAtCurrentScale ? `${p} (${a.layerInvisibleAtScale})` : p, Se = "parent" in e && e.parent?.layer?.type === "catalog", h = e.layer, Le = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent);
119
- return queueMicrotask(() => {
120
- c || _e(y.value ?? null, e, be, ge), S.value && (l.handleTooltipReferenceChange?.(h?.uid, S.value), queueMicrotask(() => l.handleTooltipReferenceChange?.(h?.uid, null)));
121
- }), K(e.uid, s`<calcite-list-item class=${r(Q(i.item, "itemActive" in i && { [i.itemActive]: me?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${h?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Se} id=${(c ? void 0 : h?.uid) ?? d} .label=${p} .metadata=${{ parentTitles: P ?? [], _title: p }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? de.includes(e) : !1} title=${Ce ?? d} .unavailable=${Le} .value=${e} @focusin=${() => {
122
- w?.(e), y.value?.classList.add(i.itemActive);
117
+ M === 1 && J ? k = le(l, J, !1) : M > 1 && (k = K);
118
+ const Se = c ? p : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in a && !e.visibleAtCurrentTimeExtent ? `${p} (${a.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in a && !e.visibleAtCurrentScale ? `${p} (${a.layerInvisibleAtScale})` : p, Le = "parent" in e && e.parent?.layer?.type === "catalog", f = e.layer, xe = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent), Q = !c && w === f?.uid;
119
+ return (Q || "incompatible" in e && e.incompatible) && queueMicrotask(() => {
120
+ Q && ze(y.value ?? null, e, w, ye), S.value && (l.handleTooltipReferenceChange?.(f?.uid, S.value), queueMicrotask(() => l.handleTooltipReferenceChange?.(f?.uid, null)));
121
+ }), W(e.uid, s`<calcite-list-item class=${r(X(i.item, "itemActive" in i && { [i.itemActive]: pe?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${f?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Le} id=${(c ? void 0 : f?.uid) ?? d} .label=${p} .metadata=${{ parentTitles: P ?? [], _title: p }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? ue.includes(e) : !1} title=${Se ?? d} .unavailable=${xe} .value=${e} @focusin=${() => {
122
+ O?.(e), y.value?.classList.add(i.itemActive);
123
123
  }} @focusout=${() => {
124
- O?.(), y.value?.classList.remove(i.itemActive);
124
+ F?.(), y.value?.classList.remove(i.itemActive);
125
125
  }} @mouseover=${() => {
126
- w?.(e), y.value?.classList.add(i.itemActive);
126
+ O?.(e), y.value?.classList.add(i.itemActive);
127
127
  }} @mouseleave=${() => {
128
- O?.(), y.value?.classList.remove(i.itemActive);
128
+ F?.(), y.value?.classList.remove(i.itemActive);
129
129
  }} @calciteListItemSelect=${(t) => {
130
- t.target === t.currentTarget && "visible" in e && Ve(t.currentTarget, l.operationalItems) === e && T === "none" && Z(v) !== "inherited" && ee(e, v);
130
+ t.target === t.currentTarget && "visible" in e && He(t.currentTarget, l.operationalItems) === e && T === "none" && te(v) !== "inherited" && ie(e, v);
131
131
  }} @calciteListItemToggle=${(t) => {
132
132
  "open" in e && (t.stopPropagation(), e.open = t.target.expanded);
133
- }} ${X(y)}>${U}${q}${F}${R}${j}${G}${N}${x}${V}${H}${k}</calcite-list-item>`);
133
+ }} ${Z(y)}>${q}${j}${G}${V}${B}${R}${_}${x}${H}${U}${k}</calcite-list-item>`);
134
134
  }
135
135
  export {
136
- Je as ArcgisLayerListItem
136
+ Ke as ArcgisLayerListItem
137
137
  };