@arcgis/map-components 5.2.0-next.25 → 5.2.0-next.26

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 (254) hide show
  1. package/dist/cdn/{7TE4BSW7.js → 2NYG7G7M.js} +1 -1
  2. package/dist/cdn/{RDYFXGBG.js → 2SEZT4WZ.js} +1 -1
  3. package/dist/cdn/{SLPRDDKL.js → 333FN2FH.js} +1 -1
  4. package/dist/cdn/{O3S3JGUF.js → 3ACWQZMG.js} +1 -1
  5. package/dist/cdn/{3ZLJBZUR.js → 3IVI7KSX.js} +1 -1
  6. package/dist/cdn/{NIH6ZDQF.js → 3MDY3AXY.js} +1 -1
  7. package/dist/cdn/{CIMTQPRO.js → 3TFVMVSU.js} +1 -1
  8. package/dist/cdn/{5OIAYTR6.js → 3UEX6WWW.js} +1 -1
  9. package/dist/cdn/{JDWZTXWP.js → 3XUZ45XB.js} +1 -1
  10. package/dist/cdn/{OGNQD4YE.js → 3XWUH3TJ.js} +1 -1
  11. package/dist/cdn/{XHCEMCMK.js → 3YDQP3TL.js} +1 -1
  12. package/dist/cdn/{WR7D5AWQ.js → 42N4OII5.js} +1 -1
  13. package/dist/cdn/{ZN5DPJ47.js → 435CL2BU.js} +1 -1
  14. package/dist/cdn/{TA7BOHI2.js → 43OLIA7Q.js} +1 -1
  15. package/dist/cdn/{W67QMPVV.js → 45O57WR4.js} +1 -1
  16. package/dist/cdn/{FHL4L2ZY.js → 45OF43WO.js} +1 -1
  17. package/dist/cdn/{CXHORYLL.js → 4DU47CLL.js} +1 -1
  18. package/dist/cdn/{7TA73NAM.js → 4ICKT52U.js} +1 -1
  19. package/dist/cdn/4IKFF53M.js +2 -0
  20. package/dist/cdn/4JHO27KW.js +2 -0
  21. package/dist/cdn/{TALJULOQ.js → 4L35X2II.js} +1 -1
  22. package/dist/cdn/{KDXJMMWU.js → 4NMNJIYV.js} +1 -1
  23. package/dist/cdn/4RGFCQOB.js +2 -0
  24. package/dist/cdn/{4BJSMXKG.js → 54WXILYF.js} +1 -1
  25. package/dist/cdn/{A6O75S47.js → 63RAMAYF.js} +1 -1
  26. package/dist/cdn/{EVEGXXQF.js → 6EKV3B5S.js} +1 -1
  27. package/dist/cdn/{MOQQDHMJ.js → 6FOYKQEP.js} +1 -1
  28. package/dist/cdn/{25YGNXRQ.js → 6HJM34BD.js} +1 -1
  29. package/dist/cdn/{KHIEG5JF.js → 6HXM4D4W.js} +1 -1
  30. package/dist/cdn/{ACMQRVHQ.js → 6IEKX6LJ.js} +1 -1
  31. package/dist/cdn/6JMYHTFN.js +2 -0
  32. package/dist/cdn/{NGTGQ4VB.js → 6O7GP3C3.js} +1 -1
  33. package/dist/cdn/{JPLUPA6R.js → 6PS3YIDY.js} +1 -1
  34. package/dist/cdn/{KVM3SKQX.js → 6S7LUYCJ.js} +1 -1
  35. package/dist/cdn/{KRXDH2HI.js → 6ZJFTT6R.js} +1 -1
  36. package/dist/cdn/{IN7S26X4.js → 6ZP6GZS7.js} +1 -1
  37. package/dist/cdn/{Y62ISVYZ.js → 75PSCL4A.js} +1 -1
  38. package/dist/cdn/{IFWIGLKK.js → 7ED4UQDB.js} +1 -1
  39. package/dist/cdn/{HNA422YB.js → 7GXEJLOM.js} +1 -1
  40. package/dist/cdn/{XDKYOMSQ.js → 7KPJBKO6.js} +1 -1
  41. package/dist/cdn/{5LM2XZIK.js → 7LRGEABA.js} +1 -1
  42. package/dist/cdn/{K23ECU7I.js → 7MKSGCWC.js} +1 -1
  43. package/dist/cdn/{JKGGA54X.js → 7MWEEVVD.js} +1 -1
  44. package/dist/cdn/{VZNQJ644.js → 7PTCONZB.js} +1 -1
  45. package/dist/cdn/{4NPLHQZG.js → 7XUCMK3B.js} +1 -1
  46. package/dist/cdn/{LMNWYSI3.js → 7ZVWCRXE.js} +1 -1
  47. package/dist/cdn/{BXDVZQ2A.js → A2Q7UAOI.js} +1 -1
  48. package/dist/cdn/{XJMQFTSS.js → AEBJAVUX.js} +1 -1
  49. package/dist/cdn/{K6U6L7EK.js → AGTJNHWI.js} +1 -1
  50. package/dist/cdn/{YEPPZ46U.js → ATLWKCAP.js} +1 -1
  51. package/dist/cdn/AU7UZMXF.js +2 -0
  52. package/dist/cdn/{6EFOGQLH.js → AW7PMR3D.js} +1 -1
  53. package/dist/cdn/{LKRXUVVK.js → B2ZGMSHQ.js} +1 -1
  54. package/dist/cdn/{O5TKBG2D.js → B7P66JTS.js} +1 -1
  55. package/dist/cdn/{USYDTYRK.js → BCXPJXAK.js} +1 -1
  56. package/dist/cdn/BK6P2PBO.js +2 -0
  57. package/dist/cdn/{KUUKJIQM.js → BPQPJXPT.js} +1 -1
  58. package/dist/cdn/{MRDKTBHD.js → BPXKEXYV.js} +1 -1
  59. package/dist/cdn/{F7ZQA7S5.js → BRDTU3O6.js} +1 -1
  60. package/dist/cdn/{LLPO63LQ.js → BXLXZYRC.js} +1 -1
  61. package/dist/cdn/{VG7WYAOD.js → CCFKZSFO.js} +1 -1
  62. package/dist/cdn/{JXS44YCP.js → COGFFO5G.js} +1 -1
  63. package/dist/cdn/{5BIMGLS7.js → CTUD7CTJ.js} +1 -1
  64. package/dist/cdn/{RDFCQM5U.js → CX5LLKOW.js} +1 -1
  65. package/dist/cdn/DBJFHC3S.js +2 -0
  66. package/dist/cdn/DFMHSA2D.js +2 -0
  67. package/dist/cdn/{G46IIKPN.js → DLMGAC2A.js} +1 -1
  68. package/dist/cdn/{IJQZON2Z.js → DU6OKLV4.js} +1 -1
  69. package/dist/cdn/{PIRSSTSR.js → DUDVPO32.js} +1 -1
  70. package/dist/cdn/{OKHEBRQW.js → DUWXDGIW.js} +1 -1
  71. package/dist/cdn/EBWDF4RR.js +2 -0
  72. package/dist/cdn/{RP3SPYWY.js → EEF3VY5V.js} +1 -1
  73. package/dist/cdn/{DYG6G3ZY.js → EFYUNXBG.js} +1 -1
  74. package/dist/cdn/{LDYIWX26.js → EI7NXMGF.js} +1 -1
  75. package/dist/cdn/{WGR4TMS3.js → EIHTWPOP.js} +1 -1
  76. package/dist/cdn/{L4BJVEKK.js → EK44YZYH.js} +1 -1
  77. package/dist/cdn/{P5N66JAU.js → EK7GAWIV.js} +1 -1
  78. package/dist/cdn/{AAMJRMEX.js → EL6TAK3S.js} +1 -1
  79. package/dist/cdn/{MXY2C4UH.js → ENSUS3VL.js} +1 -1
  80. package/dist/cdn/{JMJ3LJGR.js → ESTUA4YE.js} +1 -1
  81. package/dist/cdn/{SEG3YDME.js → EVYO2SIO.js} +1 -1
  82. package/dist/cdn/{FOFJHQ4Z.js → FCRUDE4P.js} +1 -1
  83. package/dist/cdn/{NGMHPU5E.js → FCRWSG6Z.js} +1 -1
  84. package/dist/cdn/{76M43EVT.js → FJT2YAI6.js} +1 -1
  85. package/dist/cdn/{SLTQSWGA.js → G4CPNGQ6.js} +1 -1
  86. package/dist/cdn/{XIOGQDJH.js → GJIDZ4M6.js} +1 -1
  87. package/dist/cdn/{P3U6DQN6.js → GLNO2ZMW.js} +1 -1
  88. package/dist/cdn/{HBEXNLQM.js → GPPU5K5J.js} +1 -1
  89. package/dist/cdn/{ZUXQKICJ.js → GPVFCWMU.js} +1 -1
  90. package/dist/cdn/{TOVZMHWU.js → GRUB3M36.js} +1 -1
  91. package/dist/cdn/{JMRI4LOI.js → H3J6GAKO.js} +1 -1
  92. package/dist/cdn/{5P3LF4QU.js → H6MYLGUN.js} +1 -1
  93. package/dist/cdn/{HNFXE43W.js → HIHYNNEU.js} +1 -1
  94. package/dist/cdn/{FT7ETWDM.js → HKTQWWXP.js} +1 -1
  95. package/dist/cdn/{AASOO75T.js → HOIUABRJ.js} +1 -1
  96. package/dist/cdn/I5MVHBKV.js +2 -0
  97. package/dist/cdn/{BXKNMJRR.js → IDZCPNFC.js} +1 -1
  98. package/dist/cdn/{XHZ4LEYE.js → IHVHH3Z4.js} +1 -1
  99. package/dist/cdn/{FWRUNJU5.js → IKBRNNUA.js} +1 -1
  100. package/dist/cdn/{NSE7MO5B.js → IPLVHFN5.js} +1 -1
  101. package/dist/cdn/{W3HICVNX.js → IQSSVLSC.js} +1 -1
  102. package/dist/cdn/{B56MNMJP.js → ITCLBS5H.js} +1 -1
  103. package/dist/cdn/{ZFFLDL4P.js → IZVYML7I.js} +1 -1
  104. package/dist/cdn/{CM2CNZDR.js → JBD3X2G7.js} +1 -1
  105. package/dist/cdn/{C4F6EN5S.js → JCHYVWCR.js} +1 -1
  106. package/dist/cdn/JCRPP54Z.js +2 -0
  107. package/dist/cdn/{GXVM7UPW.js → JLZJ354E.js} +1 -1
  108. package/dist/cdn/JSQZYDU6.js +2 -0
  109. package/dist/cdn/{YJP7TIKT.js → K3BJFKYY.js} +1 -1
  110. package/dist/cdn/{IGK4DKJ2.js → K5M3ZRVS.js} +1 -1
  111. package/dist/cdn/{GWZQD2KS.js → K7LJE67S.js} +1 -1
  112. package/dist/cdn/{FX7YHZMN.js → K7UC43CL.js} +1 -1
  113. package/dist/cdn/{YJM4JJRY.js → KBHTEAAG.js} +1 -1
  114. package/dist/cdn/{VOZ7A7UW.js → KG2IHV32.js} +1 -1
  115. package/dist/cdn/{IXZEUVT2.js → KLXEJCTT.js} +1 -1
  116. package/dist/cdn/{H47NPYUM.js → KPOSO4HB.js} +1 -1
  117. package/dist/cdn/{MFNC5YCH.js → KQT5MAFE.js} +1 -1
  118. package/dist/cdn/{DKH7GP3H.js → KXLCQG2D.js} +1 -1
  119. package/dist/cdn/{KLZFVT3D.js → KZBBEVWQ.js} +1 -1
  120. package/dist/cdn/{TMTDOGUQ.js → LA3UYF7I.js} +1 -1
  121. package/dist/cdn/{OOGQULHG.js → LKR52VUM.js} +1 -1
  122. package/dist/cdn/{OOLXNUY7.js → MAJ3JPSY.js} +1 -1
  123. package/dist/cdn/{FKGPQIBN.js → MDXQUNKW.js} +1 -1
  124. package/dist/cdn/{J33ULIDR.js → MECGUFOT.js} +1 -1
  125. package/dist/cdn/{UGOZSFW2.js → MGAHLABQ.js} +1 -1
  126. package/dist/cdn/{UNJTV3EI.js → MMNJNQ3Q.js} +1 -1
  127. package/dist/cdn/{REGSXPSY.js → MOIULPNJ.js} +1 -1
  128. package/dist/cdn/{UCPXN4Y5.js → MPYM4XNR.js} +1 -1
  129. package/dist/cdn/{2HQBEMYE.js → MTYQJ4TB.js} +1 -1
  130. package/dist/cdn/{6FRKBUG7.js → MZ35VFYR.js} +1 -1
  131. package/dist/cdn/{6ANMW473.js → N3JXA7DZ.js} +1 -1
  132. package/dist/cdn/{YKNC7IPO.js → NANWWHJ6.js} +1 -1
  133. package/dist/cdn/{2ENPU5CD.js → NAWH5P73.js} +1 -1
  134. package/dist/cdn/{Q6WNAJIC.js → NC472JXT.js} +1 -1
  135. package/dist/cdn/{BZNHYPVY.js → NCHQCPM6.js} +1 -1
  136. package/dist/cdn/{PDXPDGIN.js → NQSW6QJ6.js} +1 -1
  137. package/dist/cdn/{4BGPI3L3.js → NR53EGV6.js} +1 -1
  138. package/dist/cdn/{HVUITMRU.js → NRYA6EOZ.js} +1 -1
  139. package/dist/cdn/{EN3H2GBU.js → NVKY5H7W.js} +1 -1
  140. package/dist/cdn/{TOWBALAU.js → NXELRSXN.js} +1 -1
  141. package/dist/cdn/{O24XZVUV.js → NYS47GN2.js} +1 -1
  142. package/dist/cdn/{XDS3ZIHV.js → O7SRECHG.js} +1 -1
  143. package/dist/cdn/{2DSE5WHM.js → OF562TYT.js} +1 -1
  144. package/dist/cdn/{FAWJCFZQ.js → OMHMO6DD.js} +1 -1
  145. package/dist/cdn/{ZRRENPUV.js → OPP5DWFT.js} +1 -1
  146. package/dist/cdn/{HJ72UWKP.js → PIRA7ITO.js} +1 -1
  147. package/dist/cdn/{DFZK7FIP.js → PKS3JYAN.js} +1 -1
  148. package/dist/cdn/{TQHPE2X2.js → PLLSFCLD.js} +1 -1
  149. package/dist/cdn/{EQSDRIG6.js → PXZ7GYGB.js} +1 -1
  150. package/dist/cdn/{AC3GTCHJ.js → QAU5TWTZ.js} +1 -1
  151. package/dist/cdn/{SJIHZIXG.js → QFH7PJYV.js} +1 -1
  152. package/dist/cdn/{GJNYMDKO.js → QKCBJKWT.js} +1 -1
  153. package/dist/cdn/{M2MJH2FX.js → R5NVFWFA.js} +1 -1
  154. package/dist/cdn/R6Y3QBJZ.js +2 -0
  155. package/dist/cdn/{CFM2RF2I.js → R72MT5TQ.js} +1 -1
  156. package/dist/cdn/{KVE5RIEE.js → RKXL42SK.js} +1 -1
  157. package/dist/cdn/{TPZUKUI7.js → RO35U2LW.js} +1 -1
  158. package/dist/cdn/{J2ZJJKEI.js → ROIAI7KY.js} +1 -1
  159. package/dist/cdn/{FPX4MV2U.js → S3NMAVL6.js} +1 -1
  160. package/dist/cdn/{HUBIN764.js → S7HZFJQZ.js} +1 -1
  161. package/dist/cdn/SAEE5GTI.js +2 -0
  162. package/dist/cdn/{KTXZR4IK.js → SBUR54TP.js} +1 -1
  163. package/dist/cdn/{PGCAY24R.js → SFP62RAJ.js} +1 -1
  164. package/dist/cdn/{GJMQ36NP.js → SGY36MUJ.js} +1 -1
  165. package/dist/cdn/{KG7UUIXV.js → SHJGMBBY.js} +1 -1
  166. package/dist/cdn/{Z42EKLRO.js → SJP5NLRB.js} +1 -1
  167. package/dist/cdn/{Y34KC34C.js → SNDTIGUT.js} +1 -1
  168. package/dist/cdn/{EMFCOFJ7.js → SPJCXMMT.js} +1 -1
  169. package/dist/cdn/{5Y3L2RDW.js → SSVJJAR5.js} +1 -1
  170. package/dist/cdn/{2HCFI5P5.js → SWKWLPLG.js} +1 -1
  171. package/dist/cdn/{UCEBZVNP.js → TA7JY4OV.js} +1 -1
  172. package/dist/cdn/{LDIKIEPN.js → TAFFNLUI.js} +1 -1
  173. package/dist/cdn/{H2U2JK4T.js → TCFK2EXM.js} +1 -1
  174. package/dist/cdn/{RMIR7645.js → TCKCE5NB.js} +1 -1
  175. package/dist/cdn/{BCFML3VR.js → TCS6CS2V.js} +1 -1
  176. package/dist/cdn/{DPZPIVA7.js → TCYTMU4A.js} +1 -1
  177. package/dist/cdn/{ITRTOO6W.js → TDEIRM7H.js} +1 -1
  178. package/dist/cdn/{CTPATSJU.js → TMOESX4H.js} +1 -1
  179. package/dist/cdn/{TUTJXJ6H.js → TSL4BZHI.js} +1 -1
  180. package/dist/cdn/{3M2ZWBEY.js → TZAGBPDN.js} +1 -1
  181. package/dist/cdn/{64S26ZIP.js → TZHGOM2Y.js} +1 -1
  182. package/dist/cdn/{2MO6LJPR.js → UEYLTX3J.js} +1 -1
  183. package/dist/cdn/{FG75P4KZ.js → UFGA4NGM.js} +1 -1
  184. package/dist/cdn/{6LYXJS6X.js → UMJTWBQ3.js} +1 -1
  185. package/dist/cdn/{ZZRHGYCY.js → UQIJOVPD.js} +1 -1
  186. package/dist/cdn/{RAUCP5RZ.js → V2FVPSX3.js} +1 -1
  187. package/dist/cdn/{Q4PNCUBK.js → V7MKCC7O.js} +1 -1
  188. package/dist/cdn/{QBTISG6Z.js → VAYZZ5OC.js} +1 -1
  189. package/dist/cdn/{L4UGJGS2.js → VHIOEBAH.js} +1 -1
  190. package/dist/cdn/{JCTU3MST.js → VJ2SMYNX.js} +1 -1
  191. package/dist/cdn/{6FMZAOVP.js → VLJKBHDD.js} +1 -1
  192. package/dist/cdn/{5SZX4F2U.js → VLXRN5II.js} +1 -1
  193. package/dist/cdn/{RXXEVGCM.js → VRWFW2LF.js} +1 -1
  194. package/dist/cdn/{YGAY263P.js → VSXLCBBA.js} +1 -1
  195. package/dist/cdn/{MDHIPDGE.js → VYBNGAPG.js} +1 -1
  196. package/dist/cdn/{HHSGISLJ.js → W2WYFYTT.js} +1 -1
  197. package/dist/cdn/{YAJLIV63.js → W5HSEDAR.js} +1 -1
  198. package/dist/cdn/{IPJSPBVN.js → WBLJSZV4.js} +1 -1
  199. package/dist/cdn/{KUPGJQBQ.js → WKQXQLLR.js} +1 -1
  200. package/dist/cdn/XJU225AF.js +2 -0
  201. package/dist/cdn/{TCQVDAIJ.js → XJVFSXPM.js} +1 -1
  202. package/dist/cdn/{DKG4Q4BC.js → XMBA7QLQ.js} +1 -1
  203. package/dist/cdn/XPSJ37QH.js +2 -0
  204. package/dist/cdn/{VPF46BTA.js → YCVINCOI.js} +1 -1
  205. package/dist/cdn/{EM4QPCQL.js → YMCZRMWW.js} +1 -1
  206. package/dist/cdn/{V6GGLHFM.js → YMHPA3VC.js} +1 -1
  207. package/dist/cdn/YOXKII2K.js +2 -0
  208. package/dist/cdn/{SF7HIXTT.js → YSLSCMZ4.js} +1 -1
  209. package/dist/cdn/{6WOZIOJH.js → YU7SUXHY.js} +1 -1
  210. package/dist/cdn/{ZAYZVEUD.js → YUCJQ6XI.js} +1 -1
  211. package/dist/cdn/{LXVRZSZ6.js → YUV3XEWE.js} +1 -1
  212. package/dist/cdn/{RCRVCOEZ.js → Z66KOPPI.js} +1 -1
  213. package/dist/cdn/{TI4T3QPS.js → Z77JVENV.js} +1 -1
  214. package/dist/cdn/{J5LPKT5M.js → ZBWHLMXA.js} +1 -1
  215. package/dist/cdn/{QXTTJTWV.js → ZQBMKJX7.js} +1 -1
  216. package/dist/cdn/index.js +1 -1
  217. package/dist/chunks/css.js +25 -0
  218. package/dist/chunks/earth-utils.js +21 -0
  219. package/dist/chunks/layer-list-next.js +7 -0
  220. package/dist/chunks/layer-list-utils.js +6 -6
  221. package/dist/chunks/runtime.js +5 -5
  222. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +108 -125
  223. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +85 -103
  224. package/dist/components/arcgis-daylight/customElement.js +174 -190
  225. package/dist/components/arcgis-feature-table/customElement.js +34 -34
  226. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +51 -9
  227. package/dist/components/arcgis-layer-list-next/customElement.js +111 -110
  228. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  229. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  230. package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
  231. package/dist/components/arcgis-table-list-next/customElement.js +59 -80
  232. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  233. package/dist/docs/api.json +1 -1
  234. package/dist/docs/docs.json +1 -1
  235. package/dist/docs/web-types.json +1 -1
  236. package/package.json +4 -4
  237. package/dist/cdn/5RXWVXJA.js +0 -2
  238. package/dist/cdn/BGWYOIKY.js +0 -2
  239. package/dist/cdn/BV6DN77M.js +0 -2
  240. package/dist/cdn/GOXEUMKX.js +0 -2
  241. package/dist/cdn/GUBDP7SN.js +0 -2
  242. package/dist/cdn/IXWSTLNL.js +0 -2
  243. package/dist/cdn/JD2JNE73.js +0 -2
  244. package/dist/cdn/KLKFMZ7U.js +0 -2
  245. package/dist/cdn/MV56NKNP.js +0 -2
  246. package/dist/cdn/NR6V3DTH.js +0 -2
  247. package/dist/cdn/SRKKE3UN.js +0 -2
  248. package/dist/cdn/VL2VVN6C.js +0 -2
  249. package/dist/cdn/VVATJD2C.js +0 -2
  250. package/dist/cdn/VZVNKP6W.js +0 -2
  251. package/dist/cdn/YUBFK6NS.js +0 -2
  252. package/dist/chunks/layer-list-item-indicator.js +0 -74
  253. package/dist/chunks/layer-list-item.js +0 -6
  254. /package/dist/cdn/{OTZMVWAB.js → H7BPQQ3W.js} +0 -0
@@ -1,58 +1,41 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as P } from "../../chunks/runtime.js";
3
- import { css as B, html as n } from "lit";
4
- import { keyed as h } from "lit/directives/keyed.js";
5
- import { repeat as O } from "lit/directives/repeat.js";
6
- import D from "@arcgis/core/widgets/BasemapLayerList/BasemapLayerListViewModel.js";
2
+ import { c as O } from "../../chunks/runtime.js";
3
+ import { css as D, html as o } from "lit";
4
+ import { keyed as d } from "lit/directives/keyed.js";
5
+ import { repeat as x } from "lit/directives/repeat.js";
6
+ import k from "@arcgis/core/widgets/BasemapLayerList/BasemapLayerListViewModel.js";
7
7
  import y from "@arcgis/core/core/Collection.js";
8
- import { on as z, watch as S } from "@arcgis/core/core/reactiveUtils.js";
9
- import { LitElement as G, createEvent as N, renderElement as L, safeClassMap as g, nothing as _ } from "@arcgis/lumina";
10
- import { usePropertyChange as U } from "@arcgis/lumina/controllers";
11
- import { reEmitEvent as H } from "@arcgis/lumina/controllers/accessor";
12
- import { classes as Y } from "@arcgis/toolkit/dom";
8
+ import { on as S, watch as U } from "@arcgis/core/core/reactiveUtils.js";
9
+ import { LitElement as G, createEvent as N, renderElement as w, safeClassMap as f, nothing as _ } from "@arcgis/lumina";
10
+ import { usePropertyChange as H } from "@arcgis/lumina/controllers";
11
+ import { reEmitEvent as V } from "@arcgis/lumina/controllers/accessor";
12
+ import { classes as q } from "@arcgis/toolkit/dom";
13
13
  import { generateGuid as j } from "@arcgis/toolkit/string";
14
- import { createRef as m, ref as f } from "lit/directives/ref.js";
15
- import { u as V } from "../../chunks/useCloseEvent.js";
16
- import { u as Z } from "../../chunks/useT9n.js";
17
- import { m as q } from "../../chunks/useViewModel.js";
18
- import { g as v } from "../../chunks/globalCss.js";
19
- import { g as d, a as x, b as J, r as K, s as $, c as Q, d as W, e as X } from "../../chunks/layer-list-utils.js";
14
+ import { createRef as m, ref as g } from "lit/directives/ref.js";
15
+ import { u as z } from "../../chunks/useCloseEvent.js";
16
+ import { u as J } from "../../chunks/useT9n.js";
17
+ import { m as K } from "../../chunks/useViewModel.js";
18
+ import { g as L } from "../../chunks/globalCss.js";
19
+ import { g as h, a as $, b as Q, r as W, s as F, c as X, d as Y, e as Z } from "../../chunks/layer-list-utils.js";
20
20
  import { ArcgisLayerListItem as ee } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
21
- import { s as te } from "../../chunks/layer-list-item.js";
22
- import "../../chunks/layer-list-item-indicator.js";
21
+ import { s as te, a as se } from "../../chunks/layer-list-next.js";
22
+ import { c as ie } from "../../chunks/css.js";
23
+ import "../arcgis-layer-list-item-indicator/customElement.js";
23
24
  import "../arcgis-layer-list-item-panel/customElement.js";
24
25
  const p = {
25
- actionMenu: "action-menu",
26
- actionGroup: "action-group",
27
- filterNoResults: "filter-no-results",
28
- item: "item",
29
- itemActive: "active",
30
- itemContentBottom: "content-bottom",
31
- itemMessage: "message",
32
- itemActionIcon: "action-icon",
33
- itemActionImage: "action-image",
34
- itemTemporaryIcon: "temporary-icon",
35
- itemTableIcon: "table-icon",
36
- itemCatalogIcon: "catalog-icon",
37
- statusIndicator: "status-indicator",
38
- publishing: "publishing",
39
- updating: "updating",
40
- connectionStatus: "connection-status",
41
- connectionStatusConnected: "connection-status--connected",
42
- visibleToggle: "visible-toggle",
43
- visibleIcon: "visible-icon",
26
+ ...ie,
44
27
  section: "section",
45
28
  editing: "editing",
46
29
  editingForm: "editing-form"
47
- }, ie = B`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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{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__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);overflow-y:auto;transition:max-height .25s ease-in-out;--arcgis-layer-list-visibility-icon: hidden}:host>div{display:flex;width:100%}.editing-form{display:flex;height:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.item{--calcite-list-item-icon-center: 8.5px}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;font-size:var(--calcite-font-size);text-align:center}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}.status-indicator{margin-inline:0}.content-bottom,.message{margin:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, F = "nested", se = ".*\\S+.*", T = "data-basemap-layer-type", ae = q(D);
48
- class re extends G {
30
+ }, ae = D`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, T = "nested", le = ".*\\S+.*", E = "data-basemap-layer-type", re = K(k);
31
+ class oe extends G {
49
32
  constructor() {
50
- super(...arguments), this._baseListRef = m(), this._referenceListRef = m(), this._editTitleInputRef = m(), this._layerFlowItemRef = m(), this._panelFlowItemRef = m(), this._rootFlowItemRef = m(), this._editingFlowItemRef = m(), this._lastDragDetail = null, this._selectedDragItemLayerUid = null, this._rootGroupUid = `basemap-${j()}`, this._openedLayersController = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this._focusEditingFlowItem = !1, this.messages = Z(), this.viewModel = ae(this), this.arcgisClose = V(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, s) => {
51
- const r = s === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, o = d(e, this._allItems);
52
- if (!o?.sortable)
33
+ super(...arguments), this._baseListRef = m(), this._referenceListRef = m(), this._editTitleInputRef = m(), this._layerFlowItemRef = m(), this._panelFlowItemRef = m(), this._rootFlowItemRef = m(), this._editingFlowItemRef = m(), this._lastDragDetail = null, this._selectedDragItemLayerUid = null, this._rootGroupUid = `basemap-${j()}`, this._openedLayersController = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this._focusEditingFlowItem = !1, this.messages = J(), this.viewModel = re(this), this.arcgisClose = z(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, i) => {
34
+ const l = i === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = h(e, this._allItems);
35
+ if (!r?.sortable)
53
36
  return !1;
54
- const a = d(t, this._allItems), l = x(t), c = d(i, this._allItems), b = x(i), u = !!l && !!b && l === b, k = { selected: o, from: a, to: c }, C = t.group, M = i.group, R = a?.layer?.type ?? "", A = c?.layer?.type ?? "", I = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
55
- return C && M && typeof r == "function" ? r(k) : u && !I.has(R) && !I.has(A) && o.layer?.type !== "sublayer";
37
+ const a = h(t, this._allItems), n = $(t), c = h(s, this._allItems), I = $(s), u = !!n && !!I && n === I, M = { selected: r, from: a, to: c }, R = t.group, P = s.group, A = a?.layer?.type ?? "", B = c?.layer?.type ?? "", v = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
38
+ return R && P && typeof l == "function" ? l(M) : u && !v.has(A) && !v.has(B) && r.layer?.type !== "sublayer";
56
39
  }, this._onTriggerAction = (e, t) => {
57
40
  this.triggerAction(e, t);
58
41
  }, this._onTooltipReferenceChange = (e, t) => {
@@ -70,8 +53,8 @@ class re extends G {
70
53
  }, this._setActiveItem = (e) => {
71
54
  if (this.visibilityAppearance !== "default")
72
55
  return;
73
- const t = Array.from(e.composedPath()).find((i) => i.classList?.contains(p.item));
74
- this._activeItem = d(t, this._allItems) ?? null;
56
+ const t = Array.from(e.composedPath()).find((s) => s.classList?.contains(p.item));
57
+ this._activeItem = h(t, this._allItems) ?? null;
75
58
  }, this._onSelectedDragItemLayerUidChange = (e) => {
76
59
  this._selectedDragItemLayerUid = e;
77
60
  }, this._toggleEditingTitle = () => {
@@ -81,13 +64,13 @@ class re extends G {
81
64
  e.preventDefault();
82
65
  const t = this._editTitleInputRef.value?.value;
83
66
  t?.trim() && (this.basemapTitle = t), this._toggleEditingTitle();
84
- }, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new y(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.baseFilterText = "", this.baseListItemCreatedFunction = this.viewModel.baseListItemCreatedFunction, this.basemapTitle = this.viewModel.basemapTitle, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.editingTitle = !1, this.filterPlaceholder = "", this.headingLevel = 2, this.icon = "layers", this.layerTablesEnabled = new y(["knowledge-graph"]), this.minFilterItems = J, this.openedLayers = new y(), this.referenceFilterText = "", this.referenceListItemCreatedFunction = this.viewModel.referenceListItemCreatedFunction, this.selectedItems = new y(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideBaseLayers = !1, this.hideCatalogLayerList = !1, this.hideHeading = !1, this.hideReferenceLayers = !1, this.hideStatusIndicators = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditTitleButton = !1, this.showErrors = !1, this.showFilter = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = U()("state"), this.arcgisReady = N(), this.arcgisTriggerAction = H(() => this.viewModel, "trigger-action");
67
+ }, this._activeItem = null, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.openedLayerLists = new y(), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.baseFilterText = "", this.baseListItemCreatedFunction = this.viewModel.baseListItemCreatedFunction, this.basemapTitle = this.viewModel.basemapTitle, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.editingTitle = !1, this.filterPlaceholder = "", this.headingLevel = 2, this.icon = "layers", this.layerTablesEnabled = new y(["knowledge-graph"]), this.minFilterItems = Q, this.openedLayers = new y(), this.referenceFilterText = "", this.referenceListItemCreatedFunction = this.viewModel.referenceListItemCreatedFunction, this.selectedItems = new y(), this.selectionMode = "none", this.visibilityAppearance = "default", this.hideBaseLayers = !1, this.hideCatalogLayerList = !1, this.hideHeading = !1, this.hideReferenceLayers = !1, this.hideStatusIndicators = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditTitleButton = !1, this.showErrors = !1, this.showFilter = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = H()("state"), this.arcgisReady = N(), this.arcgisTriggerAction = V(() => this.viewModel, "trigger-action");
85
68
  }
86
69
  static {
87
70
  this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16, view: 0, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, mapImageOptions: 0, minFilterItems: 9, openedLayers: 32, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, tableList: 32, tileOptions: 0, visibilityAppearance: 1, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, messageOverrides: 0, state: 32 };
88
71
  }
89
72
  static {
90
- this.styles = [ie, te];
73
+ this.styles = [te, ae, se];
91
74
  }
92
75
  get _allItems() {
93
76
  return this.referenceItems.concat(this.baseItems);
@@ -133,45 +116,45 @@ class re extends G {
133
116
  }
134
117
  loaded() {
135
118
  this.manager.onLifecycle(() => [
136
- z(() => this.openedLayers, "change", () => {
119
+ S(() => this.openedLayers, "change", () => {
137
120
  this._handleOpenedLayersChange();
138
121
  }, { initial: !0 }),
139
- S(() => [this.viewModel.referenceItems.toArray(), this.viewModel.baseItems.toArray()], () => K(this.selectedItems), { initial: !0 })
122
+ U(() => [this.viewModel.referenceItems.toArray(), this.viewModel.baseItems.toArray()], () => W(this.selectedItems), { initial: !0 })
140
123
  ]);
141
124
  }
142
125
  updated() {
143
- $(this._baseListRef.value, this.baseFilterPredicate, this.baseItems), $(this._referenceListRef.value, this.referenceFilterPredicate, this.referenceItems);
126
+ F(this._baseListRef.value, this.baseFilterPredicate, this.baseItems), F(this._referenceListRef.value, this.referenceFilterPredicate, this.referenceItems);
144
127
  }
145
128
  triggerAction(e, t) {
146
129
  this.viewModel.triggerAction(e, t);
147
130
  }
148
131
  async _createFlowList(e, t) {
149
- const i = this._layerListMap.get(e);
150
- if (i)
151
- return i;
152
- const s = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
153
- return t.aborted || this._layerListMap.set(e, s), s;
132
+ const s = this._layerListMap.get(e);
133
+ if (s)
134
+ return s;
135
+ const i = e.type === "catalog" ? await this._createCatalogLayerList(e) : await this._createTableList(e);
136
+ return t.aborted || this._layerListMap.set(e, i), i;
154
137
  }
155
138
  async _handleOpenedLayersChange() {
156
- const { _layerListMap: e, openedLayers: t, openedLayerLists: i } = this;
139
+ const { _layerListMap: e, openedLayers: t, openedLayerLists: s } = this;
157
140
  this._openedLayersController?.abort();
158
- const s = new AbortController(), { signal: r } = s;
159
- this._openedLayersController = s, e.forEach((l, c) => {
160
- t.includes(c) || (l?.destroy?.(), e.delete(c));
141
+ const i = new AbortController(), { signal: l } = i;
142
+ this._openedLayersController = i, e.forEach((n, c) => {
143
+ t.includes(c) || (n?.destroy?.(), e.delete(c));
161
144
  });
162
- const o = await Promise.all(t.map((l) => this._createFlowList(l, r)));
163
- if (r.aborted)
145
+ const r = await Promise.all(t.map((n) => this._createFlowList(n, l)));
146
+ if (l.aborted)
164
147
  return;
165
- i.removeAll(), i.addMany(o);
166
- const a = i.at(-1);
148
+ s.removeAll(), s.addMany(r);
149
+ const a = s.at(-1);
167
150
  a ? "catalogLayer" in a ? (this._catalogLayerList = a, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = a) : (this._catalogLayerList = void 0, this._tableList = void 0);
168
151
  }
169
152
  _destroyOpenedLayerLists() {
170
153
  this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
171
154
  }
172
155
  async _createCatalogLayerList(e) {
173
- const { headingLevel: t, catalogOptions: i, filterPlaceholder: s, minFilterItems: r, selectionMode: o, visibilityAppearance: a, layerTablesEnabled: l } = this;
174
- return L(n`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder ?? s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems ?? r} .selectionMode=${i?.selectionMode ?? o} .visibilityAppearance=${i?.visibilityAppearance ?? a} .showErrors=${i?.visibleElements?.errors ?? this.showErrors} .showFilter=${i?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${l} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`);
156
+ const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: l, selectionMode: r, visibilityAppearance: a, layerTablesEnabled: n } = this;
157
+ return w(o`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? l} .selectionMode=${s?.selectionMode ?? r} .visibilityAppearance=${s?.visibilityAppearance ?? a} .showErrors=${s?.visibleElements?.errors ?? this.showErrors} .showFilter=${s?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${s?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`);
175
158
  }
176
159
  _getTableListParams(e) {
177
160
  switch (e.type) {
@@ -187,56 +170,56 @@ class re extends G {
187
170
  }
188
171
  async _createTableList(e) {
189
172
  const t = this._getTableListParams(e);
190
- return L(n`<arcgis-table-list .headingLevel=${t?.headingLevel ?? this.headingLevel} .selectionMode=${t?.selectionMode ?? this.selectionMode} .dragEnabled=${t?.dragEnabled ?? this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon ?? void 0} .label=${t?.label ?? void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(i) => i.stopPropagation()}></arcgis-table-list>`);
173
+ return w(o`<arcgis-table-list .headingLevel=${t?.headingLevel ?? this.headingLevel} .selectionMode=${t?.selectionMode ?? this.selectionMode} .dragEnabled=${t?.dragEnabled ?? this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon ?? void 0} .label=${t?.label ?? void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(s) => s.stopPropagation()}></arcgis-table-list>`);
191
174
  }
192
175
  _handlePanelFlowItemBack(e) {
193
176
  e.open = !1, this._focusRootFlowItem = !0;
194
177
  }
195
- _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: i, newIndex: s }) {
196
- const r = d(i, this._allItems), o = d(e, this._allItems), a = d(t, this._allItems), l = E(t), c = E(e);
197
- s == null || !r || !a || !o || !l || !c || this.viewModel.moveListItem({
198
- targetItem: r,
178
+ _moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: i }) {
179
+ const l = h(s, this._allItems), r = h(e, this._allItems), a = h(t, this._allItems), n = C(t), c = C(e);
180
+ i == null || !l || !a || !r || !n || !c || this.viewModel.moveListItem({
181
+ targetItem: l,
199
182
  fromParentItem: a,
200
- toParentItem: o,
201
- newIndex: s,
202
- from: l,
183
+ toParentItem: r,
184
+ newIndex: i,
185
+ from: n,
203
186
  to: c
204
187
  });
205
188
  }
206
189
  _handleCalciteListDragEnd(e) {
207
- const { fromEl: t, toEl: i, dragEl: s, oldIndex: r } = e;
208
- if (t !== i) {
209
- s.remove();
190
+ const { fromEl: t, toEl: s, dragEl: i, oldIndex: l } = e;
191
+ if (t !== s) {
192
+ i.remove();
210
193
  return;
211
194
  }
212
- r == null || !t || !s || t.insertBefore(s, t.children[r]);
195
+ l == null || !t || !i || t.insertBefore(i, t.children[l]);
213
196
  }
214
197
  _onCalciteListOrderChange(e) {
215
- const { _lastDragDetail: t } = this, { toEl: i, fromEl: s, dragEl: r, newIndex: o } = e, a = t?.newIndex === o && t?.dragEl === r && t?.toEl === i && t?.fromEl === s;
216
- if (!s || !i || a)
198
+ const { _lastDragDetail: t } = this, { toEl: s, fromEl: i, dragEl: l, newIndex: r } = e, a = t?.newIndex === r && t?.dragEl === l && t?.toEl === s && t?.fromEl === i;
199
+ if (!i || !s || a)
217
200
  return;
218
- this._lastDragDetail = e, this._selectedDragItemLayerUid = r.value.layer?.uid ?? null;
219
- const l = s, c = i;
220
- if (l === c) {
221
- const b = Array.from(s.children).filter((u) => u?.matches("calcite-list-item")).map((u) => u.value.layer?.uid ?? "");
222
- this._sortLayers(l, b);
201
+ this._lastDragDetail = e, this._selectedDragItemLayerUid = l.value.layer?.uid ?? null;
202
+ const n = i, c = s;
203
+ if (n === c) {
204
+ const I = Array.from(i.children).filter((u) => u?.matches("calcite-list-item")).map((u) => u.value.layer?.uid ?? "");
205
+ this._sortLayers(n, I);
223
206
  return;
224
207
  }
225
- this._moveLayerFromChildList({ toEl: c, fromEl: l, dragEl: r, newIndex: o });
208
+ this._moveLayerFromChildList({ toEl: c, fromEl: n, dragEl: l, newIndex: r });
226
209
  }
227
210
  _sortLayers(e, t) {
228
211
  if (e === this._referenceListRef.value || e === this._baseListRef.value) {
229
- const s = e === this._baseListRef.value ? this.view?.map?.basemap?.baseLayers : this.view?.map?.basemap?.referenceLayers;
230
- Q(s, t);
212
+ const i = e === this._baseListRef.value ? this.view?.map?.basemap?.baseLayers : this.view?.map?.basemap?.referenceLayers;
213
+ X(i, t);
231
214
  return;
232
215
  }
233
- const i = d(e, this._allItems);
234
- i && W(i, t);
216
+ const s = h(e, this._allItems);
217
+ s && Y(s, t);
235
218
  }
236
219
  _handleCalciteListChange(e) {
237
220
  if (this.selectionMode === "none")
238
221
  return;
239
- const t = e.target.selectedItems.map((i) => d(i, this._allItems)).filter(Boolean);
222
+ const t = e.target.selectedItems.map((s) => h(s, this._allItems)).filter(Boolean);
240
223
  this.selectedItems.removeAll(), this.selectedItems.addMany(t);
241
224
  }
242
225
  _focusFlowItem(e, t) {
@@ -244,70 +227,70 @@ class re extends G {
244
227
  }
245
228
  render() {
246
229
  const e = {
247
- [v.hidden]: this.state === "loading",
248
- [v.disabled]: this.state === "disabled"
230
+ [L.hidden]: this.state === "loading",
231
+ [L.disabled]: this.state === "disabled"
249
232
  };
250
- return n`<div class=${g(Y(v.widget, v.panel, e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`;
233
+ return o`<div class=${f(q(L.widget, L.panel, e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`;
251
234
  }
252
235
  _renderItemTooltip(e) {
253
- return e ? n`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid ?? "")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>` : null;
236
+ return e ? o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid ?? "")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>` : null;
254
237
  }
255
238
  _renderItemTooltipNodes(e) {
256
239
  if (e.incompatible)
257
240
  return this._renderItemTooltip(e);
258
- const t = e.children?.filter((i) => !i.hidden).toArray().map((i) => this._renderItemTooltipNodes(i));
241
+ const t = e.children?.filter((s) => !s.hidden).toArray().map((s) => this._renderItemTooltipNodes(s));
259
242
  return t?.length ? t : null;
260
243
  }
261
244
  _renderItemTooltips() {
262
245
  return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map((e) => this._renderItemTooltipNodes(e));
263
246
  }
264
247
  _renderNoLayersInfoMessage(e) {
265
- return n`<div slot=message>${e}</div>`;
248
+ return o`<div slot=message>${e}</div>`;
266
249
  }
267
250
  _renderNoLayersInfo(e, t) {
268
- return n`<div class=${g(p.itemMessage)}>${h(t, n`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`;
251
+ return o`<div class=${f(p.itemMessage)}>${d(t, o`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`;
269
252
  }
270
253
  _renderEditingInput() {
271
- return n`<div class=${g(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${se} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle ?? _} type=text .value=${this.viewModel.basemapTitle ?? void 0} ${f(this._editTitleInputRef)}></calcite-input></calcite-label></div>`;
254
+ return o`<div class=${f(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${le} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle ?? _} type=text .value=${this.viewModel.basemapTitle ?? void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`;
272
255
  }
273
256
  _renderEditingForm() {
274
- return this.editingTitle ? n`<form class=${g(p.editingForm)} @submit=${this._formSubmit}><calcite-flow-item .heading=${this.hideHeading ? void 0 : this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemBack=${(e) => {
257
+ return this.editingTitle ? o`<form class=${f(p.editingForm)} @submit=${this._formSubmit}><calcite-flow-item .heading=${this.hideHeading ? void 0 : this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemBack=${(e) => {
275
258
  e.preventDefault(), this._toggleEditingTitle();
276
- }} ${f(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item></form>` : null;
259
+ }} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item></form>` : null;
277
260
  }
278
261
  _renderEditTitleButton() {
279
- return this.showEditTitleButton && !this.editingTitle ? n`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit ?? ""} title=${this.messages.edit ?? _}></calcite-action>` : null;
262
+ return this.showEditTitleButton && !this.editingTitle ? o`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit ?? ""} title=${this.messages.edit ?? _}></calcite-action>` : null;
280
263
  }
281
264
  _renderItems() {
282
265
  const e = [
283
- h("root-flow-item", n`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading ? void 0 : this.viewModel.basemapTitle ?? this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle && !this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemClose=${() => {
266
+ d("root-flow-item", o`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading ? void 0 : this.viewModel.basemapTitle ?? this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle && !this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemClose=${() => {
284
267
  this.closed = !0;
285
- }} ${f(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),
268
+ }} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),
286
269
  this._renderEditingForm(),
287
270
  this._renderPanelFlowItems(),
288
271
  this._renderedOpenLayerFlowItems
289
272
  ];
290
- return this._focusRootFlowItem = this._focusFlowItem(this._rootFlowItemRef.value, this._focusRootFlowItem), this._focusEditingFlowItem = this._focusFlowItem(this._editingFlowItemRef.value, this._focusEditingFlowItem), this.closed ? null : h("root-flow", n`<calcite-flow>${e}</calcite-flow>`);
273
+ return this._focusRootFlowItem = this._focusFlowItem(this._rootFlowItemRef.value, this._focusRootFlowItem), this._focusEditingFlowItem = this._focusFlowItem(this._editingFlowItemRef.value, this._focusEditingFlowItem), this.closed ? null : d("root-flow", o`<calcite-flow>${e}</calcite-flow>`);
291
274
  }
292
275
  _renderPanelFlowItems() {
293
- return O(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
294
- const { panel: i, title: s } = e, r = () => this._handlePanelFlowItemBack(i);
295
- return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), n`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(o) => {
296
- o.preventDefault(), r();
297
- }} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .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>`;
276
+ return x(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
277
+ const { panel: s, title: i } = e, l = () => this._handlePanelFlowItemBack(s);
278
+ return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), o`<calcite-flow-item .description=${i} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(r) => {
279
+ r.preventDefault(), l();
280
+ }} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
298
281
  });
299
282
  }
300
283
  _renderLayerFlowItem(e, t) {
301
- const i = e.title || this.messages.untitledLayer;
302
- return this._focusLayerFlowItem === e.uid && (this._focusLayerFlowItem = this._focusFlowItem(this._layerFlowItemRef.value, !0) ? e.uid : null), h(e.uid, n`<calcite-flow-item data-layer-uid=${e.uid ?? _} .description=${i} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(s) => {
303
- s.preventDefault(), this.openedLayers.pop();
304
- const r = this.openedLayers.at(-1);
305
- r ? this._focusLayerFlowItem = r.uid : this._focusRootFlowItem = !0;
306
- }} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
284
+ const s = e.title || this.messages.untitledLayer;
285
+ return this._focusLayerFlowItem === e.uid && (this._focusLayerFlowItem = this._focusFlowItem(this._layerFlowItemRef.value, !0) ? e.uid : null), d(e.uid, o`<calcite-flow-item data-layer-uid=${e.uid ?? _} .description=${s} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(i) => {
286
+ i.preventDefault(), this.openedLayers.pop();
287
+ const l = this.openedLayers.at(-1);
288
+ l ? this._focusLayerFlowItem = l.uid : this._focusRootFlowItem = !0;
289
+ }} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
307
290
  }
308
- _renderList(e, t, i) {
309
- const s = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, r = t === "reference" ? this.referenceFilterText : this.baseFilterText, o = (t === "reference" ? this.messages.noReferenceLayers : this.messages.noBaseLayers) ?? this.messages.noItemsToDisplay ?? "";
310
- return h(`block-${t}`, n`<calcite-block class=${g(p.section)} collapsible expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(o, t)}${h(`list-${t}`, n`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(a) => this._canMove(a, "pull")} .canPut=${(a) => this._canMove(a, "put")} data-basemap-layer-type=${t ?? _} data-layer-type=${this._rootGroupUid ?? _} .displayMode=${F} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${X} .filterText=${s ? r : ""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(a) => this._handleCalciteListDragEnd(a.detail)} @calciteListFilter=${(a) => this[t === "reference" ? "referenceFilterText" : "baseFilterText"] = a.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(a) => this._onCalciteListOrderChange(a.detail)} ${f(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((a) => this._renderItem(a, i))}${s ? n`<div class=${g(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
291
+ _renderList(e, t, s) {
292
+ const i = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, l = t === "reference" ? this.referenceFilterText : this.baseFilterText, r = (t === "reference" ? this.messages.noReferenceLayers : this.messages.noBaseLayers) ?? this.messages.noItemsToDisplay ?? "";
293
+ return d(`block-${t}`, o`<calcite-block class=${f(p.section)} collapsible expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(r, t)}${d(`list-${t}`, o`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(a) => this._canMove(a, "pull")} .canPut=${(a) => this._canMove(a, "put")} data-basemap-layer-type=${t ?? _} data-layer-type=${this._rootGroupUid ?? _} .displayMode=${T} .dragEnabled=${this.dragEnabled} .filterEnabled=${i} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${Z} .filterText=${i ? l : ""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(a) => this._handleCalciteListDragEnd(a.detail)} @calciteListFilter=${(a) => this[t === "reference" ? "referenceFilterText" : "baseFilterText"] = a.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(a) => this._onCalciteListOrderChange(a.detail)} ${g(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((a) => this._renderItem(a, s))}${i ? o`<div class=${f(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(r)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
311
294
  }
312
295
  _renderBaseSection() {
313
296
  return this.hideBaseLayers ? null : this._renderList(this._visibleBaseItems, "base", this._visibleBaseItems.length === 1);
@@ -315,15 +298,15 @@ class re extends G {
315
298
  _renderReferenceSection() {
316
299
  return this.hideReferenceLayers ? null : this._renderList(this._visibleReferenceItems, "reference", !1);
317
300
  }
318
- _renderItem(e, t, i, s) {
319
- return h(e.uid, ee({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: F, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: i, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
301
+ _renderItem(e, t, s, i) {
302
+ return d(e.uid, ee({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: T, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: s, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
320
303
  }
321
304
  }
322
- function E(w) {
323
- const e = w.closest(`[${T}]`)?.getAttribute(T);
305
+ function C(b) {
306
+ const e = b.closest(`[${E}]`)?.getAttribute(E);
324
307
  return e === "base" || e === "reference" ? e : null;
325
308
  }
326
- P("arcgis-basemap-layer-list-next", re);
309
+ O("arcgis-basemap-layer-list-next", oe);
327
310
  export {
328
- re as ArcgisBasemapLayerListNext
311
+ oe as ArcgisBasemapLayerListNext
329
312
  };