@arcgis/map-components 5.1.0-next.93 → 5.1.0-next.95

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 (229) hide show
  1. package/dist/cdn/{3UIUMMLG.js → 275TABLZ.js} +1 -1
  2. package/dist/cdn/{ZL3CSJU4.js → 2J42FBYN.js} +1 -1
  3. package/dist/cdn/{R3WL7KY6.js → 2QLVX5KR.js} +1 -1
  4. package/dist/cdn/{XNZFVKZY.js → 2T6C5D5Z.js} +1 -1
  5. package/dist/cdn/{MCGKNN23.js → 2W4ZASDU.js} +1 -1
  6. package/dist/cdn/{YCIA6ESZ.js → 2XA5VKFB.js} +1 -1
  7. package/dist/cdn/{ZYPAW3ZI.js → 3F4KXFH5.js} +1 -1
  8. package/dist/cdn/{ZJN6UUR4.js → 3FTGWMYP.js} +1 -1
  9. package/dist/cdn/{PP3ZDADO.js → 3LF64HWX.js} +1 -1
  10. package/dist/cdn/{N3PGBI5P.js → 3NT2PSQ5.js} +1 -1
  11. package/dist/cdn/{UIWXAYUP.js → 3W5LJ4AP.js} +1 -1
  12. package/dist/cdn/{5E6PE65A.js → 3YYUV3EO.js} +1 -1
  13. package/dist/cdn/{UOT2FCSQ.js → 4EK7PZ5M.js} +1 -1
  14. package/dist/cdn/{X55JXSXH.js → 4GN7X3VA.js} +1 -1
  15. package/dist/cdn/4GPGAR5Y.js +2 -0
  16. package/dist/cdn/{SMUFWMGG.js → 4KGZNDVB.js} +1 -1
  17. package/dist/cdn/{QG5A5CAV.js → 4LJNVQIY.js} +1 -1
  18. package/dist/cdn/{I4CEHX7Z.js → 4MLEO5M6.js} +1 -1
  19. package/dist/cdn/{B647LFEA.js → 4XAI2HIF.js} +1 -1
  20. package/dist/cdn/{57WQVTC2.js → 554D54AD.js} +1 -1
  21. package/dist/cdn/{XISJTOJV.js → 56GDMEZE.js} +1 -1
  22. package/dist/cdn/{XWD2WUJV.js → 57A2O7CZ.js} +1 -1
  23. package/dist/cdn/{BDASTP3D.js → 5A2T35G4.js} +1 -1
  24. package/dist/cdn/{K26WS5WS.js → 5AY6FU6R.js} +1 -1
  25. package/dist/cdn/{K2RCQ3S4.js → 5FEFHUMM.js} +1 -1
  26. package/dist/cdn/{4PGPOFFE.js → 5IBP5WKD.js} +1 -1
  27. package/dist/cdn/{SKUO7YQD.js → 64QHDCUF.js} +1 -1
  28. package/dist/cdn/{UYUEVVYI.js → 65PU3KOG.js} +1 -1
  29. package/dist/cdn/{3M3HVWX5.js → 67GDORQV.js} +1 -1
  30. package/dist/cdn/{ATTV2K2S.js → 6G6PWW2Q.js} +1 -1
  31. package/dist/cdn/{VZZFI5LH.js → 6LADJTTX.js} +1 -1
  32. package/dist/cdn/{XU2LZ5PF.js → 6NSYCKDQ.js} +1 -1
  33. package/dist/cdn/{5S64MDG5.js → 6OWWUSS7.js} +1 -1
  34. package/dist/cdn/{SN73654V.js → 6QUBJ7E2.js} +1 -1
  35. package/dist/cdn/{UEAC3ZX7.js → 6UF3I2GQ.js} +1 -1
  36. package/dist/cdn/{K2DPIVNY.js → 77IMVUYA.js} +1 -1
  37. package/dist/cdn/{3UA2XDDN.js → 7FBS2YPD.js} +1 -1
  38. package/dist/cdn/7HJFPAJR.js +2 -0
  39. package/dist/cdn/{MJLYS4D6.js → 7NYRLFG6.js} +1 -1
  40. package/dist/cdn/{SUE6ZIET.js → 7QN5ETG3.js} +1 -1
  41. package/dist/cdn/{6Z5ORZ2B.js → 7RY6UVUF.js} +1 -1
  42. package/dist/cdn/{4ZDRPGCJ.js → AG4XP7WD.js} +1 -1
  43. package/dist/cdn/{46JVFHXL.js → AQL3HNTJ.js} +1 -1
  44. package/dist/cdn/{VUNTFVQY.js → B2COUWK5.js} +1 -1
  45. package/dist/cdn/{KSQRNB2Z.js → B3QD4K6Y.js} +1 -1
  46. package/dist/cdn/{2DMGAVGS.js → BLPEMTBM.js} +1 -1
  47. package/dist/cdn/{SLO3RS7Y.js → BPXRWL4P.js} +1 -1
  48. package/dist/cdn/{T473T3LG.js → BXJHAM43.js} +1 -1
  49. package/dist/cdn/{XEZGNV3L.js → BXTQCGGX.js} +1 -1
  50. package/dist/cdn/{K7H4JUDB.js → C3WBF7XC.js} +1 -1
  51. package/dist/cdn/{RBZSSI26.js → C5DDFL3G.js} +1 -1
  52. package/dist/cdn/{LJT6EZCS.js → CDNHMAUM.js} +1 -1
  53. package/dist/cdn/CJCVY3SM.js +2 -0
  54. package/dist/cdn/{UNC2Y424.js → CNTHGHGO.js} +1 -1
  55. package/dist/cdn/{DAO42MDC.js → COI7GRVR.js} +1 -1
  56. package/dist/cdn/{SVK455WD.js → CUJU6FOW.js} +1 -1
  57. package/dist/cdn/{IFIOUBWT.js → CWMB6MYT.js} +1 -1
  58. package/dist/cdn/{WDCYTHR5.js → D2DQYFAE.js} +1 -1
  59. package/dist/cdn/{A2SFKWAL.js → D6SKLDR6.js} +1 -1
  60. package/dist/cdn/{5IDKVBD3.js → DHD7IQMK.js} +1 -1
  61. package/dist/cdn/{4HIVPFCR.js → DPP7TVRA.js} +1 -1
  62. package/dist/cdn/{D5W4MV7H.js → DRYESB57.js} +1 -1
  63. package/dist/cdn/{GDHU6FB7.js → DU33A6QD.js} +1 -1
  64. package/dist/cdn/{VHG7HRXL.js → E5WBI5X5.js} +1 -1
  65. package/dist/cdn/{WRWNOEUN.js → EBDZKNBH.js} +1 -1
  66. package/dist/cdn/{RQ5AH3UV.js → EY6456J2.js} +1 -1
  67. package/dist/cdn/{JITTSIXQ.js → EZKQ32UE.js} +1 -1
  68. package/dist/cdn/{VWOPI2DX.js → F57ILFMK.js} +1 -1
  69. package/dist/cdn/{PUGRPSE4.js → F5GS7T5H.js} +1 -1
  70. package/dist/cdn/{EMYF3NHI.js → F6TM5JIA.js} +1 -1
  71. package/dist/cdn/{KRWHYRGY.js → F74Q35TC.js} +1 -1
  72. package/dist/cdn/{MAQOMR7D.js → F7XZ67WM.js} +1 -1
  73. package/dist/cdn/FBUEM62L.js +2 -0
  74. package/dist/cdn/{NJP6OBBN.js → FE4VLVCJ.js} +1 -1
  75. package/dist/cdn/{2H2DMVMF.js → FULJ4HOF.js} +1 -1
  76. package/dist/cdn/{7I55Z3PZ.js → GA25H7TO.js} +1 -1
  77. package/dist/cdn/{2YB6S64G.js → GEIIUKCL.js} +1 -1
  78. package/dist/cdn/{AWTAJAUI.js → GFSXVSH3.js} +1 -1
  79. package/dist/cdn/{ZTFE5VIJ.js → GGX2U62R.js} +1 -1
  80. package/dist/cdn/{LNKHXXYR.js → GRJZ5XH4.js} +1 -1
  81. package/dist/cdn/{62G4GYVI.js → GUATS4JC.js} +1 -1
  82. package/dist/cdn/{QTDWVVZ3.js → GX4HWNBP.js} +1 -1
  83. package/dist/cdn/{VSKUN6HM.js → GZNXU67E.js} +1 -1
  84. package/dist/cdn/{T5CHGHFY.js → H2EFMN5O.js} +1 -1
  85. package/dist/cdn/{4GX6K4QV.js → HFMTROLW.js} +1 -1
  86. package/dist/cdn/{UOOE5336.js → HMWOHSHV.js} +1 -1
  87. package/dist/cdn/{6GMOTVSO.js → HTGRCL67.js} +1 -1
  88. package/dist/cdn/{WLTOQWZB.js → HYBXTQYR.js} +1 -1
  89. package/dist/cdn/{3VGXWPQK.js → HYYJAFDF.js} +1 -1
  90. package/dist/cdn/{QXRPFQIH.js → IDOO4DBA.js} +1 -1
  91. package/dist/cdn/{QD6FFBIJ.js → ILZF34TP.js} +1 -1
  92. package/dist/cdn/{HQNCVN73.js → INM3C2CU.js} +1 -1
  93. package/dist/cdn/{6V7YOGR4.js → IRJXJAHW.js} +1 -1
  94. package/dist/cdn/{V4RMKJUW.js → IU2X5JKR.js} +1 -1
  95. package/dist/cdn/{AHAEFJXW.js → IXPKHDYQ.js} +1 -1
  96. package/dist/cdn/{65B3NTSL.js → J4QI2XAM.js} +1 -1
  97. package/dist/cdn/{W7KCNEQL.js → J76FNJLA.js} +1 -1
  98. package/dist/cdn/{ZCQAWUVA.js → JBJJSR3A.js} +1 -1
  99. package/dist/cdn/{XO5ETTHD.js → JJEA2LYD.js} +1 -1
  100. package/dist/cdn/{CKGSEXVO.js → JQVJUBK3.js} +1 -1
  101. package/dist/cdn/{Q4Z25HZZ.js → JZI5HE35.js} +1 -1
  102. package/dist/cdn/{FJY5EA2S.js → K2EFPB7C.js} +1 -1
  103. package/dist/cdn/{GFNS6DWD.js → K2GKTAR3.js} +1 -1
  104. package/dist/cdn/{3N5NYUQ4.js → K4X6NI5B.js} +1 -1
  105. package/dist/cdn/{MAFF3ZL7.js → K6KU3WDF.js} +1 -1
  106. package/dist/cdn/{ZXJWPP5J.js → KELOCYUX.js} +1 -1
  107. package/dist/cdn/{IA5VGN4S.js → KLRWWLVV.js} +1 -1
  108. package/dist/cdn/{RCLKTOCN.js → KP443AQC.js} +1 -1
  109. package/dist/cdn/{Z5ZYDPSC.js → KQ5SR3R6.js} +1 -1
  110. package/dist/cdn/{FGZC6Q4U.js → L2GFOEBX.js} +1 -1
  111. package/dist/cdn/{64Q47BWH.js → L2P4AHTV.js} +1 -1
  112. package/dist/cdn/{QHSIMKPK.js → LDA27YQX.js} +1 -1
  113. package/dist/cdn/{Q6IMZMFI.js → LDQVFFG7.js} +1 -1
  114. package/dist/cdn/{F2T4T7QR.js → LHLMIMWB.js} +1 -1
  115. package/dist/cdn/{J6K64FAM.js → LMYDN3CX.js} +1 -1
  116. package/dist/cdn/{H54OQ5CH.js → LWOHSXSL.js} +1 -1
  117. package/dist/cdn/{FF62HZ2F.js → MBFZTFOF.js} +1 -1
  118. package/dist/cdn/{2XVIUHZR.js → MDEZXQD5.js} +1 -1
  119. package/dist/cdn/{266WI6FR.js → MDICXONO.js} +1 -1
  120. package/dist/cdn/{EQEMVJRY.js → MFWRNJRB.js} +1 -1
  121. package/dist/cdn/{RVLC2U3T.js → MQSMJ752.js} +1 -1
  122. package/dist/cdn/{D5R7F5KN.js → MSQZ5Y7W.js} +1 -1
  123. package/dist/cdn/MTKZBIHD.js +4 -0
  124. package/dist/cdn/{7DQQFAVI.js → MZ5UTKUW.js} +1 -1
  125. package/dist/cdn/{SN7YZQCO.js → N47EYOIP.js} +1 -1
  126. package/dist/cdn/{SZCDFVDJ.js → N7AIF75B.js} +1 -1
  127. package/dist/cdn/{AJ7PACLN.js → NAUELW7F.js} +1 -1
  128. package/dist/cdn/{PAUCVKJP.js → NLOTYLYD.js} +1 -1
  129. package/dist/cdn/{MUR25U2W.js → NOKOBGO5.js} +1 -1
  130. package/dist/cdn/{SOMOHX4W.js → NPYJ33ZZ.js} +1 -1
  131. package/dist/cdn/{XYLQAWUN.js → NQUJODZJ.js} +1 -1
  132. package/dist/cdn/{636SD5YI.js → O6IQDA6U.js} +1 -1
  133. package/dist/cdn/{E2DUJ3PM.js → O773XPW4.js} +1 -1
  134. package/dist/cdn/{BVHIMMQZ.js → OBPZYX2V.js} +1 -1
  135. package/dist/cdn/{UZXNZF42.js → OMILTOU6.js} +1 -1
  136. package/dist/cdn/{YAWKQTTR.js → OP2AQIQD.js} +1 -1
  137. package/dist/cdn/{6PHYFOHH.js → OTRHRG4K.js} +1 -1
  138. package/dist/cdn/{66YJK5TN.js → OU6CKOXX.js} +1 -1
  139. package/dist/cdn/{W27GXCEC.js → P5W4IZQ7.js} +1 -1
  140. package/dist/cdn/{GSIO2ZPC.js → PE2SL2JT.js} +1 -1
  141. package/dist/cdn/{D4ZQOMOH.js → PQYAQLWZ.js} +1 -1
  142. package/dist/cdn/{XUJGETHA.js → QFYJVLO7.js} +1 -1
  143. package/dist/cdn/{372AEJRW.js → QRL36FQF.js} +1 -1
  144. package/dist/cdn/{C2LLHKD7.js → QS27JYF4.js} +1 -1
  145. package/dist/cdn/{R7XZ64RD.js → QXNQMZ2O.js} +1 -1
  146. package/dist/cdn/{7HI6SDQK.js → RDVUWMJL.js} +1 -1
  147. package/dist/cdn/{POZYAP5U.js → RGXDYVNJ.js} +1 -1
  148. package/dist/cdn/{3DLPQGFS.js → RTMPZHFG.js} +1 -1
  149. package/dist/cdn/{S2IGQZN6.js → S35VRA2Q.js} +1 -1
  150. package/dist/cdn/{GPYPWFDI.js → SANMFYL5.js} +1 -1
  151. package/dist/cdn/{47GZDSBT.js → SBWTPIZH.js} +1 -1
  152. package/dist/cdn/{HCAJWILB.js → SNDZKJDW.js} +1 -1
  153. package/dist/cdn/{DSAWFUXK.js → SRJLCIJT.js} +1 -1
  154. package/dist/cdn/{G5JRWW4N.js → T6N6SMRC.js} +1 -1
  155. package/dist/cdn/{DMYT2NGU.js → TCBAZRSC.js} +1 -1
  156. package/dist/cdn/{STAEZF3H.js → TLW6EUMH.js} +1 -1
  157. package/dist/cdn/{O3Q5EADH.js → TOSMQANL.js} +1 -1
  158. package/dist/cdn/{X43QDFKP.js → TRS3RTXT.js} +1 -1
  159. package/dist/cdn/{JWHIGOCO.js → TTVGFF4P.js} +1 -1
  160. package/dist/cdn/{QMR3YL46.js → U2OEVO7O.js} +1 -1
  161. package/dist/cdn/{77GYZHXQ.js → UGMECJB5.js} +1 -1
  162. package/dist/cdn/{ZRWZ5OQK.js → UGNN7NUH.js} +1 -1
  163. package/dist/cdn/{TIP4QUW7.js → ULVRY7SN.js} +1 -1
  164. package/dist/cdn/{VEGB3Z7Z.js → UZIWAJUS.js} +1 -1
  165. package/dist/cdn/{5NSQZMF6.js → V4UDDYXG.js} +1 -1
  166. package/dist/cdn/{TBGGJL5S.js → V6CAMCLS.js} +1 -1
  167. package/dist/cdn/{IJULQXYC.js → VCOJNSMR.js} +1 -1
  168. package/dist/cdn/{JTQEQIQN.js → VDTXVUTI.js} +1 -1
  169. package/dist/cdn/{WMQ4C7GL.js → VH5VIBP2.js} +1 -1
  170. package/dist/cdn/{7GN54I5I.js → VHM4V7EX.js} +1 -1
  171. package/dist/cdn/{M4KJ5Q7J.js → VJ7LVGB3.js} +1 -1
  172. package/dist/cdn/{FHPU53JE.js → VJBFX2TR.js} +1 -1
  173. package/dist/cdn/{54JWVQJQ.js → VROG3646.js} +1 -1
  174. package/dist/cdn/{T5K2XFNK.js → VSFDIVO3.js} +1 -1
  175. package/dist/cdn/{NABXYQM6.js → VSYFDRLW.js} +1 -1
  176. package/dist/cdn/{A35RPLAM.js → VTARIBL6.js} +1 -1
  177. package/dist/cdn/{H4LUQZPZ.js → W2QDJLIF.js} +1 -1
  178. package/dist/cdn/{5POIGC3F.js → W46HOMCK.js} +1 -1
  179. package/dist/cdn/WBMQWJPR.js +2 -0
  180. package/dist/cdn/WGPAZAL4.js +2 -0
  181. package/dist/cdn/{XHYVTSLE.js → WP7WCBSK.js} +1 -1
  182. package/dist/cdn/{FBSEFCKA.js → WQKSM3ZG.js} +1 -1
  183. package/dist/cdn/{KHM4SNZ7.js → WYA63JWJ.js} +1 -1
  184. package/dist/cdn/{3YI6JMPT.js → WZD56JKD.js} +1 -1
  185. package/dist/cdn/{TH3C6YTI.js → XIN3BIAA.js} +1 -1
  186. package/dist/cdn/XLCCCQDQ.js +2 -0
  187. package/dist/cdn/{QATUESST.js → YGXWGRVN.js} +1 -1
  188. package/dist/cdn/{BZPFKOQX.js → YHUPCIHU.js} +1 -1
  189. package/dist/cdn/YK6AXMWY.js +2 -0
  190. package/dist/cdn/{PG52GEPB.js → YKZWVFIT.js} +1 -1
  191. package/dist/cdn/{6BD74YDF.js → YNGHIC64.js} +1 -1
  192. package/dist/cdn/{6IJGTPXG.js → YSTT74WA.js} +1 -1
  193. package/dist/cdn/{RXSGPYBA.js → YTEF6GVH.js} +1 -1
  194. package/dist/cdn/{6P5CNXUG.js → YXFBW6ZD.js} +1 -1
  195. package/dist/cdn/{WW6DO3EN.js → Z4ZJOKKX.js} +1 -1
  196. package/dist/cdn/{3KMSE2II.js → Z63CNYOU.js} +1 -1
  197. package/dist/cdn/{MVULTZL6.js → ZYG4YNMK.js} +1 -1
  198. package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
  199. package/dist/cdn/assets/popup/t9n/messages.en.json +1 -1
  200. package/dist/cdn/index.js +1 -1
  201. package/dist/chunks/layer-list-item-indicator.js +1 -1
  202. package/dist/chunks/layer-list-utils.js +13 -13
  203. package/dist/chunks/slots.js +1 -1
  204. package/dist/components/arcgis-daylight/customElement.d.ts +1 -7
  205. package/dist/components/arcgis-elevation-profile/customElement.d.ts +0 -2
  206. package/dist/components/arcgis-features/customElement.d.ts +8 -1
  207. package/dist/components/arcgis-features/customElement.js +53 -53
  208. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  210. package/dist/components/arcgis-layer-list-new/customElement.js +3 -3
  211. package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +76 -66
  212. package/dist/components/arcgis-popup/customElement.d.ts +8 -1
  213. package/dist/components/arcgis-popup/customElement.js +31 -31
  214. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  215. package/dist/docs/api.json +1 -1
  216. package/dist/docs/docs.json +1 -1
  217. package/dist/docs/vscode.html-custom-data.json +1 -1
  218. package/dist/docs/web-types.json +1 -1
  219. package/dist/loader.js +2 -2
  220. package/package.json +5 -5
  221. package/dist/cdn/3TNGLWSM.js +0 -2
  222. package/dist/cdn/63PP72KA.js +0 -2
  223. package/dist/cdn/7W2JQJJR.js +0 -2
  224. package/dist/cdn/DDD7772O.js +0 -4
  225. package/dist/cdn/LS5SUX5K.js +0 -2
  226. package/dist/cdn/NSN5TBKU.js +0 -2
  227. package/dist/cdn/OHF7YMVK.js +0 -2
  228. package/dist/cdn/R2L7EANK.js +0 -2
  229. package/dist/cdn/UOZXW7WA.js +0 -2
@@ -1,13 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { html as c } from "lit";
3
3
  import { keyed as W } from "lit/directives/keyed.js";
4
- import { isLayerFromCatalog as he } from "@arcgis/core/layers/catalog/catalogUtils.js";
5
- import { safeClassMap as d, safeStyleMap as Ie, nothing as r, renderElement as Ae } from "@arcgis/lumina";
4
+ import { isLayerFromCatalog as Ae } from "@arcgis/core/layers/catalog/catalogUtils.js";
5
+ import { safeClassMap as d, safeStyleMap as Ce, nothing as r, renderElement as Se } from "@arcgis/lumina";
6
6
  import { classes as P } from "@arcgis/toolkit/dom";
7
7
  import { createRef as X, ref as Y } from "lit/directives/ref.js";
8
- import { g as Ce, a as ie } from "../../../chunks/action-utils.js";
9
- import { g as Te, i as Z, l as Se, a as Me, c as xe, b as Le, d as Ee } from "../../../chunks/layer-list-utils.js";
10
- import { s as ke } from "../../../chunks/component-utils.js";
8
+ import { g as Te, a as ie } from "../../../chunks/action-utils.js";
9
+ import { h as Me, j as Z, l as xe, k as Le, n as Ee, o as ke, g as we } from "../../../chunks/layer-list-utils.js";
10
+ import { s as Pe } from "../../../chunks/component-utils.js";
11
+ const le = /* @__PURE__ */ new Map();
12
+ function ae(i) {
13
+ return i ? le.get(i) ?? !1 : !1;
14
+ }
15
+ function De(i, e) {
16
+ const l = !(i.aria?.pressed ?? ae(e));
17
+ return i.aria = { ...i.aria, pressed: l }, e && le.set(e, l), l;
18
+ }
11
19
  function D(i) {
12
20
  return i && "visibilityMode" in i ? i.visibilityMode : null;
13
21
  }
@@ -16,124 +24,126 @@ function ee(i, e) {
16
24
  return;
17
25
  D(e) === "exclusive" && i.visible || (i.visible = !i.visible);
18
26
  }
19
- function we(i, e) {
27
+ function Fe(i, e) {
20
28
  i.panel.open = !i.panel.open, i.panel.open && e();
21
29
  }
22
- function Pe(i, e, a, u) {
23
- i && a === e.layer?.uid && (ke(i), u?.(null));
30
+ function Oe(i, e, l, u) {
31
+ i && l === e.layer?.uid && (Pe(i), u?.(null));
24
32
  }
25
- function De(i, e, a) {
26
- a.type === "toggle" && (a.value = !a.value), i(a, e);
33
+ function Re(i, e, l) {
34
+ l.type === "toggle" && (l.value = !l.value), i(l, e);
27
35
  }
28
- function Fe(i) {
29
- return i.actionsSections.map((e) => e.filter((a) => a.visible));
36
+ function Ve(i) {
37
+ return i.actionsSections.map((e) => e.filter((l) => l.visible));
30
38
  }
31
- function le(i, e) {
32
- const { icon: a } = e;
33
- if (a)
39
+ function ne(i, e) {
40
+ const { icon: l } = e;
41
+ if (l)
34
42
  return null;
35
43
  const u = "image" in e ? e.image : void 0;
36
- return u ? c`<span aria-hidden=true class=${d(P(i.itemActionIcon, { [i.itemActionImage]: !!u }))} style=${Ie(Ce(u))}></span>` : null;
44
+ return u ? c`<span aria-hidden=true class=${d(P(i.itemActionIcon, { [i.itemActionImage]: !!u }))} style=${Ce(Te(u))}></span>` : null;
37
45
  }
38
- function te(i, e, a) {
39
- const { item: u, css: l, handleAction: y } = i, { active: A, disabled: f, title: g, type: C, indicator: v } = e, T = ie(e);
40
- return c`<calcite-action .active=${C === "toggle" ? e.value : !1} data-action-id=${e.id ?? r} .disabled=${f} .icon=${T} .indicator=${v} .loading=${A} @click=${() => De(y, u, e)} scale=s slot=${(a ? void 0 : "actions-end") ?? r} .text=${g ?? ""} .textEnabled=${a} title=${g ?? void 0 ?? r}>${le(l, e)}</calcite-action>`;
46
+ function te(i, e, l) {
47
+ const { item: u, css: a, handleAction: f } = i, { active: C, disabled: I, title: p, type: S, indicator: h } = e, T = ie(e);
48
+ return c`<calcite-action .active=${S === "toggle" ? e.value : !1} data-action-id=${e.id ?? r} .disabled=${I} .icon=${T} .indicator=${h} .loading=${C} @click=${() => Re(f, u, e)} scale=s slot=${(l ? void 0 : "actions-end") ?? r} .text=${p ?? ""} .textEnabled=${l} title=${p ?? void 0 ?? r}>${ne(a, e)}</calcite-action>`;
41
49
  }
42
- function Oe(i) {
43
- const { item: e, parent: a, hideStatusIndicators: u, css: l, visibilityAppearance: y, hideCatalogLayerList: A, dragEnabled: f = !1, rootGroupUid: g, listModeDisabled: C = !1, selectionMode: v, displayMode: T, layerTablesEnabled: S, showErrors: ne, parentTitles: F, selectedItems: ae, activeItem: ce, handleCatalogOpen: oe, handleTablesOpen: se, selectedDragItemLayerUid: re, handleSelectedDragItemLayerUidChange: de, handlePanelOpen: ue, messages: n, setCurrentActiveItem: O, clearActiveItem: R } = i, b = X(), M = X(), p = e.title || ("untitledTable" in n ? n.untitledTable : n.untitledLayer ?? "");
50
+ function Ge(i) {
51
+ const { item: e, parent: l, hideStatusIndicators: u, css: a, visibilityAppearance: f, hideCatalogLayerList: C, dragEnabled: I = !1, rootGroupUid: p, listModeDisabled: S = !1, selectionMode: h, displayMode: T, layerTablesEnabled: M, showErrors: ce, parentTitles: F, selectedItems: se, activeItem: oe, handleCatalogOpen: re, handleTablesOpen: de, selectedDragItemLayerUid: ue, handleSelectedDragItemLayerUidChange: me, handlePanelOpen: $e, messages: n, setCurrentActiveItem: O, clearActiveItem: R } = i, g = X(), x = X(), b = e.title || ("untitledTable" in n ? n.untitledTable : n.untitledLayer ?? "");
44
52
  let V = null;
45
- u || (V = Ae(c`<arcgis-layer-list-item-indicator .messages=${n} .item=${e} .parent=${a} slot=content-end></arcgis-layer-list-item-indicator>`));
53
+ u || (V = Se(c`<arcgis-layer-list-item-indicator .messages=${n} .item=${e} .parent=${l} slot=content-end></arcgis-layer-list-item-indicator>`));
46
54
  let G = null;
47
55
  {
48
- const { layer: t } = e, o = t && "persistenceEnabled" in t && (he(t) || !t.persistenceEnabled);
49
- (i.showTemporaryLayerIndicators || i.showTemporaryTableIndicators) && o && (G = c`<calcite-icon class=${d(l.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${n.temporary ?? r}></calcite-icon>`);
56
+ const { layer: t } = e, s = t && "persistenceEnabled" in t && (Ae(t) || !t.persistenceEnabled);
57
+ (i.showTemporaryLayerIndicators || i.showTemporaryTableIndicators) && s && (G = c`<calcite-icon class=${d(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${n.temporary ?? r}></calcite-icon>`);
50
58
  }
51
59
  let H = null;
52
- if ("visible" in e && "visibleToggle" in l && y) {
53
- const t = D(a);
60
+ if ("visible" in e && "visibleToggle" in a && f) {
61
+ const t = D(l);
54
62
  if (t !== "inherited") {
55
- const o = Te({
63
+ const s = Me({
56
64
  visible: e.visible,
57
65
  exclusive: t === "exclusive",
58
- visibilityAppearance: y
59
- }), s = y === "checkbox", m = n.layerVisibility;
60
- H = c`<calcite-action class=${d(l.visibleToggle)} .icon=${s ? o : void 0} @click=${() => ee(e, a)} .slot=${s ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? r}>${s ? null : c`<calcite-icon class=${d(P({
61
- [l.visibleIcon]: t !== "exclusive" && e.visible
62
- }))} .icon=${o} scale=s></calcite-icon>`}</calcite-action>`;
66
+ visibilityAppearance: f
67
+ }), o = f === "checkbox", m = n.layerVisibility, v = ae(e.layer?.id);
68
+ H = c`<calcite-action .aria=${{ pressed: v }} .active=${v} class=${d(a.visibleToggle)} .icon=${o ? s : void 0} @click=${(y) => {
69
+ De(y.currentTarget, e.layer?.id), ee(e, l);
70
+ }} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? r}>${o ? null : c`<calcite-icon class=${d(P({
71
+ [a.visibleIcon]: t !== "exclusive" && e.visible
72
+ }))} .icon=${s} scale=s></calcite-icon>`}</calcite-action>`;
63
73
  }
64
74
  }
65
75
  let U = null;
66
76
  {
67
77
  const t = e.panel;
68
- t?.open && !t.disabled && !t.flowEnabled && (U = c`<div class=${d(l.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${i.view}></arcgis-layer-list-item-panel></div>`);
78
+ t?.open && !t.disabled && !t.flowEnabled && (U = c`<div class=${d(a.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${i.view}></arcgis-layer-list-item-panel></div>`);
69
79
  }
70
80
  let q = null;
71
81
  {
72
82
  const t = e.panel;
73
83
  if (t?.visible) {
74
- const { open: o, title: s, disabled: m } = t, w = { icon: t.icon, image: t.image, indicator: !1 }, I = ie(w);
75
- q = c`<calcite-action .active=${o} .disabled=${m} .icon=${I} @click=${() => we(e, ue)} slot=actions-end .text=${s ?? ""} title=${s ?? void 0 ?? r}>${le(l, t)}</calcite-action>`;
84
+ const { open: s, title: o, disabled: m } = t, v = { icon: t.icon, image: t.image, indicator: !1 }, y = ie(v);
85
+ q = c`<calcite-action .active=${s} .disabled=${m} .icon=${y} @click=${() => Fe(e, $e)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? r}>${ne(a, t)}</calcite-action>`;
76
86
  }
77
87
  }
78
- let B = null;
88
+ let j = null;
79
89
  {
80
- const t = e.layer, o = t?.type === "catalog-footprint", s = t?.type === "sublayer" && Z(t, "footprints");
81
- "itemCatalogIcon" in l && (o || s) && (B = c`<calcite-icon class=${d(l.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
90
+ const t = e.layer, s = t?.type === "catalog-footprint", o = t?.type === "sublayer" && Z(t, "footprints");
91
+ "itemCatalogIcon" in a && (s || o) && (j = c`<calcite-icon class=${d(a.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
82
92
  }
83
- let N = null;
93
+ let B = null;
84
94
  {
85
- const t = e.layer, o = t?.type === "catalog-dynamic-group", s = t?.type === "sublayer" && Z(t, "layers-in-view");
86
- "itemCatalogIcon" in l && (o || s) && (N = c`<calcite-icon class=${d(l.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
95
+ const t = e.layer, s = t?.type === "catalog-dynamic-group", o = t?.type === "sublayer" && Z(t, "layers-in-view");
96
+ "itemCatalogIcon" in a && (s || o) && (B = c`<calcite-icon class=${d(a.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
87
97
  }
88
- let _ = null;
98
+ let N = null;
89
99
  if ("visible" in e) {
90
100
  const t = e.layer;
91
- !A && t?.type === "catalog-dynamic-group" && (_ = c`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => oe?.(e)} scale=s slot=actions-end .text=${p ?? ""}></calcite-action>`);
101
+ !C && t?.type === "catalog-dynamic-group" && (N = c`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => re?.(e)} scale=s slot=actions-end .text=${b ?? ""}></calcite-action>`);
92
102
  }
93
- let j = null, x = !1;
103
+ let _ = null, L = !1;
94
104
  {
95
105
  const t = e.layer;
96
- if (S && t)
106
+ if (M && t)
97
107
  switch (t.type) {
98
108
  case "knowledge-graph":
99
- x = S.includes(t.type) && "tables" in t && !!t.tables?.length;
109
+ L = M.includes(t.type) && "tables" in t && !!t.tables?.length;
100
110
  break;
101
111
  case "map-image":
102
112
  case "tile":
103
- x = S.includes(t.type) && "subtables" in t && !!t.subtables?.length;
113
+ L = M.includes(t.type) && "subtables" in t && !!t.subtables?.length;
104
114
  break;
105
115
  }
106
- "itemTableIcon" in l && "visible" in e && "tables" in n && x && (j = W(`${e.uid}-tables`, c`<calcite-list-item class=${d(l.item)} data-layer-id=${t?.id ?? r} drag-disabled .label=${n.tables} title=${n.tables ?? r} @calciteListItemSelect=${() => se?.(e)} .value=${e}><calcite-icon class=${d(l.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>`));
116
+ "itemTableIcon" in a && "visible" in e && "tables" in n && L && (_ = W(`${e.uid}-tables`, c`<calcite-list-item class=${d(a.item)} data-layer-id=${t?.id ?? r} drag-disabled .label=${n.tables} title=${n.tables ?? r} @calciteListItemSelect=${() => de?.(e)} .value=${e}><calcite-icon class=${d(a.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>`));
107
117
  }
108
118
  let z = null;
109
119
  if ("children" in e) {
110
- const t = [...F ?? [], e.title], { children: o, layer: s } = e, m = s?.type !== "catalog-dynamic-group" && Se(e), w = C ? !1 : Me(s), I = s?.type === "group", ye = !w && !m && f && I, ve = f && "childrenSortable" in e && e.childrenSortable && xe(e), fe = m ? o?.filter(($) => !$.hidden && (ne || !$.error)).toArray().map(($) => Oe({ ...i, item: $, parent: e, parentTitles: t })) : null;
111
- (m || ye) && (z = c`<calcite-list .canPull=${($) => i.canMove ? i.canMove($, "pull") : !1} .canPut=${($) => i.canMove ? i.canMove($, "put") : !1} data-item=${e.uid ?? r} data-layer-type=${g ?? r} .displayMode=${T} .dragEnabled=${ve} .group=${I ? g : `${g}-${s?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${v}>${fe}${j}</calcite-list>`);
120
+ const t = [...F ?? [], e.title], { children: s, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && xe(e), v = S ? !1 : Le(o), y = o?.type === "group", fe = !v && !m && I && y, he = I && "childrenSortable" in e && e.childrenSortable && Ee(e), Ie = m ? s?.filter(($) => !$.hidden && (ce || !$.error)).toArray().map(($) => Ge({ ...i, item: $, parent: e, parentTitles: t })) : null;
121
+ (m || fe) && (z = c`<calcite-list .canPull=${($) => i.canMove ? i.canMove($, "pull") : !1} .canPut=${($) => i.canMove ? i.canMove($, "put") : !1} data-item=${e.uid ?? r} data-layer-type=${p ?? r} .displayMode=${T} .dragEnabled=${he} .group=${y ? p : `${p}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${h}>${Ie}${_}</calcite-list>`);
112
122
  }
113
- let L = null;
114
- e.error ? L = c`<div class=${d(l.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError" in n ? n.tableError : n.layerError}</div></calcite-notice></div>` : "incompatible" in e && e.incompatible && "layerIncompatible" in n && (L = c`<div class=${d(l.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Y(M)}><div slot=message>${n.layerIncompatible}</div></calcite-notice></div>`);
115
- const J = Fe(e), E = e.actionsSections.reduce((t, o) => t + o.length, 0), K = Le(J), me = J.toArray().map((t) => c`<calcite-action-group>${t.toArray().map((o) => te(i, o, !0))}</calcite-action-group>`), $e = (t) => {
123
+ let E = null;
124
+ e.error ? E = c`<div class=${d(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError" in n ? n.tableError : n.layerError}</div></calcite-notice></div>` : "incompatible" in e && e.incompatible && "layerIncompatible" in n && (E = c`<div class=${d(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${Y(x)}><div slot=message>${n.layerIncompatible}</div></calcite-notice></div>`);
125
+ const J = Ve(e), k = e.actionsSections.reduce((t, s) => t + s.length, 0), K = ke(J), ge = J.toArray().map((t) => c`<calcite-action-group>${t.toArray().map((s) => te(i, s, !0))}</calcite-action-group>`), pe = (t) => {
116
126
  e.actionsOpen = t.currentTarget.open;
117
127
  };
118
128
  let Q = null;
119
- E > 1 && (Q = c`<calcite-action-menu appearance=transparent .label=${n.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${$e}><calcite-action icon=ellipsis scale=s slot=trigger .text=${n.options ?? ""} title=${n.options ?? r}></calcite-action>${me}</calcite-action-menu>`);
120
- let k = null;
121
- E === 1 && K ? k = te(i, K, !1) : E > 1 && (k = Q);
122
- const be = "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in n && !e.visibleAtCurrentTimeExtent ? `${p} (${n.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in n && !e.visibleAtCurrentScale ? `${p} (${n.layerInvisibleAtScale})` : p, ge = "parent" in e && e.parent?.layer?.type === "catalog", h = e.layer, pe = "visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent;
129
+ k > 1 && (Q = c`<calcite-action-menu appearance=transparent .label=${n.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${pe}><calcite-action icon=ellipsis scale=s slot=trigger .text=${n.options ?? ""} title=${n.options ?? r}></calcite-action>${ge}</calcite-action-menu>`);
130
+ let w = null;
131
+ k === 1 && K ? w = te(i, K, !1) : k > 1 && (w = Q);
132
+ const be = "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in n && !e.visibleAtCurrentTimeExtent ? `${b} (${n.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in n && !e.visibleAtCurrentScale ? `${b} (${n.layerInvisibleAtScale})` : b, ve = "parent" in e && e.parent?.layer?.type === "catalog", A = e.layer, ye = "visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent;
123
133
  return queueMicrotask(() => {
124
- Pe(b.value ?? null, e, re, de), M.value && (i.handleTooltipReferenceChange?.(h?.uid, M.value), queueMicrotask(() => i.handleTooltipReferenceChange?.(h?.uid, null))), e.panel && (e.panel.container = b.value);
125
- }), W(e.uid, c`<calcite-list-item class=${d(P(l.item, "itemActive" in l && { [l.itemActive]: ce?.uid === e.uid }))} data-item=${e.uid ?? r} data-layer-id=${h?.id ?? r} .dragDisabled=${!("sortable" in e && e.sortable) || ge} id=${h?.uid ?? r} .label=${p} .metadata=${{ parentTitles: F ?? [], _title: p }} .expanded=${"open" in e && e.open} .selected=${v !== "none" ? ae.includes(e) : !1} title=${be ?? r} .unavailable=${pe} .value=${e} @focusin=${() => {
126
- O?.(e), b.value?.classList.add(l.itemActive);
134
+ Oe(g.value ?? null, e, ue, me), x.value && (i.handleTooltipReferenceChange?.(A?.uid, x.value), queueMicrotask(() => i.handleTooltipReferenceChange?.(A?.uid, null))), e.panel && (e.panel.container = g.value);
135
+ }), W(e.uid, c`<calcite-list-item class=${d(P(a.item, "itemActive" in a && { [a.itemActive]: oe?.uid === e.uid }))} data-item=${e.uid ?? r} data-layer-id=${A?.id ?? r} .dragDisabled=${!("sortable" in e && e.sortable) || ve} id=${A?.uid ?? r} .label=${b} .metadata=${{ parentTitles: F ?? [], _title: b }} .expanded=${"open" in e && e.open} .selected=${h !== "none" ? se.includes(e) : !1} title=${be ?? r} .unavailable=${ye} .value=${e} @focusin=${() => {
136
+ O?.(e), g.value?.classList.add(a.itemActive);
127
137
  }} @focusout=${() => {
128
- R?.(), b.value?.classList.remove(l.itemActive);
138
+ R?.(), g.value?.classList.remove(a.itemActive);
129
139
  }} @mouseover=${() => {
130
- O?.(e), b.value?.classList.add(l.itemActive);
140
+ O?.(e), g.value?.classList.add(a.itemActive);
131
141
  }} @mouseleave=${() => {
132
- R?.(), b.value?.classList.remove(l.itemActive);
133
- }} @calciteListItemSelect=${(t) => "visible" in e && Ee(t.currentTarget, i.operationalItems) === e && v === "none" && D(a) !== "inherited" && ee(e, a)} @calciteListItemToggle=${(t) => {
142
+ R?.(), g.value?.classList.remove(a.itemActive);
143
+ }} @calciteListItemSelect=${(t) => "visible" in e && we(t.currentTarget, i.operationalItems) === e && h === "none" && D(l) !== "inherited" && ee(e, l)} @calciteListItemToggle=${(t) => {
134
144
  "open" in e && (t.stopPropagation(), e.open = t.target.expanded);
135
- }} ${Y(b)}>${B}${N}${V}${H}${_}${G}${z}${L}${U}${q}${k}</calcite-list-item>`);
145
+ }} ${Y(g)}>${j}${B}${V}${H}${N}${G}${z}${E}${U}${q}${w}</calcite-list-item>`);
136
146
  }
137
147
  export {
138
- Oe as ArcgisLayerListItem
148
+ Ge as ArcgisLayerListItem
139
149
  };
@@ -249,6 +249,7 @@ export abstract class ArcgisPopup extends LitElement {
249
249
  * ```
250
250
  */
251
251
  accessor dockOptions: DockOptions;
252
+ get effectiveHeading(): string | null | undefined;
252
253
  /**
253
254
  * The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) available in the component.
254
255
  *
@@ -451,6 +452,8 @@ export abstract class ArcgisPopup extends LitElement {
451
452
  zoom?: string | undefined;
452
453
  dock?: string | undefined;
453
454
  undock?: string | undefined;
455
+ collapse?: string | undefined;
456
+ expand?: string | undefined;
454
457
  };
455
458
  /** @internal */
456
459
  protected messages: Partial<{
@@ -458,11 +461,15 @@ export abstract class ArcgisPopup extends LitElement {
458
461
  zoom: string;
459
462
  dock: string;
460
463
  undock: string;
464
+ collapse: string;
465
+ expand: string;
461
466
  }> & T9nMeta<{
462
467
  componentLabel: string;
463
468
  zoom: string;
464
469
  dock: string;
465
470
  undock: string;
471
+ collapse: string;
472
+ expand: string;
466
473
  }>;
467
474
  /**
468
475
  * Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
@@ -607,7 +614,7 @@ export abstract class ArcgisPopup extends LitElement {
607
614
  triggerAction(action: ActionButton | ActionToggle): Promise<void>;
608
615
  /** Emitted when the component's close button is clicked. */
609
616
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
610
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "active" | "collapsed" | "currentAlignment" | "dockEnabled" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "state" | "open"; }>;
617
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "active" | "collapsed" | "currentAlignment" | "dockEnabled" | "effectiveHeading" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "state" | "open"; }>;
611
618
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
612
619
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
613
620
  /**
@@ -4,21 +4,21 @@ import { css as E, html as g } from "lit";
4
4
  import { keyed as P } from "lit/directives/keyed.js";
5
5
  import F from "@arcgis/core/popup/Features.js";
6
6
  import { u as $ } from "../../chunks/useT9n.js";
7
- import { useDirection as N, usePropertyChange as L } from "@arcgis/lumina/controllers";
8
- import { m as O } from "../../chunks/useViewModel.js";
7
+ import { useDirection as N, usePropertyChange as O } from "@arcgis/lumina/controllers";
8
+ import { m as L } from "../../chunks/useViewModel.js";
9
9
  import { LitElement as S, createEvent as _, safeStyleMap as T, safeClassMap as y } from "@arcgis/lumina";
10
10
  import { stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
11
11
  import { classes as x } from "@arcgis/toolkit/dom";
12
12
  import { createRef as m, ref as f } from "lit/directives/ref.js";
13
13
  import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
14
- import B from "@arcgis/core/support/actions/ActionButton.js";
15
- import { t as H } from "../../chunks/screenLocation.js";
14
+ import H from "@arcgis/core/support/actions/ActionButton.js";
15
+ import { t as B } from "../../chunks/screenLocation.js";
16
16
  import "../arcgis-search-result-renderer/customElement.js";
17
17
  const I = E`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.root{display:flex;position:absolute;flex-flow:column nowrap;z-index:401;pointer-events:none;border:none;overflow:visible;padding:0;width:auto;height:auto;background-color:transparent}.hidden{visibility:hidden}.root:popover-open{display:flex;position:fixed;flex-flow:column nowrap;margin:0}arcgis-features{flex:1;width:100%}.shadow{box-shadow:var(--calcite-shadow-sm)}.aligned-top-center{transform-origin:50% 100%}.aligned-bottom-center{transform-origin:50% -5%}.aligned-top-left,.aligned-bottom-left{transform-origin:100% 50%}.aligned-top-right,.aligned-bottom-right{transform-origin:-5% 50%}.aligned-top-center,.aligned-top-left,.aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.pointer{position:absolute;width:0;height:0}.pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.aligned-top-center .pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-bottom-center .pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-top-left .pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-bottom-left .pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-top-right .pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-bottom-right .pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-top-center .pointer-direction,.aligned-bottom-center .pointer-direction{transform:scale(.75,2) rotate(45deg)}.aligned-top-left .pointer-direction,.aligned-bottom-left .pointer-direction,.aligned-top-right .pointer-direction,.aligned-bottom-right .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.aligned-top-center .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.aligned-bottom-center .pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.is-xl-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-large-size)}.is-md-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-medium-size)}.is-sm-width-breakpoint .main-container,.is-xs-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-small-size)}.is-xs-width-breakpoint.is-docked-top-center,.is-xs-width-breakpoint.is-docked-bottom-center{margin:0;width:auto}.is-xs-width-breakpoint.is-docked-top-center .main-container,.is-xs-width-breakpoint.is-docked-bottom-center .main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.is-xs-width-breakpoint.is-docked-bottom-center .main-container{bottom:0}.is-xs-width-breakpoint.is-docked-top-center .main-container{top:0}.is-xl-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.is-sm-height-breakpoint .main-container,.is-xs-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.is-docked{flex-flow:row nowrap;inset:0;margin:var(--arcgis-layout-overlay-space-top, 0) var(--arcgis-layout-overlay-space-right, 0) var(--arcgis-layout-overlay-space-bottom, 0) var(--arcgis-layout-overlay-space-left, 0);padding:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.is-docked-top-left,.is-docked-top-center,.is-docked-top-right,.is-docked-top-start,.is-docked-top-end{align-items:flex-start}.is-docked-bottom-left,.is-docked-bottom-center,.is-docked-bottom-right,.is-docked-bottom-start,.is-docked-bottom-end{align-items:flex-end}.is-docked-top-left,.is-docked-bottom-left,.is-docked-top-start,.is-docked-bottom-start{justify-content:flex-start}.is-docked-top-center,.is-docked-bottom-center{justify-content:center}.is-docked-top-right,.is-docked-bottom-right,.is-docked-top-end,.is-docked-bottom-end{justify-content:flex-end}.is-docked-top-left.is-rtl,.is-docked-top-right.is-rtl,.is-docked-bottom-left.is-rtl,.is-docked-bottom-right.is-rtl{flex-direction:row-reverse}.is-docked-top-left .main-container,.is-docked-top-right .main-container,.is-docked-bottom-left .main-container,.is-docked-bottom-right .main-container,.is-docked-top-start .main-container,.is-docked-top-end .main-container,.is-docked-bottom-start .main-container,.is-docked-bottom-end .main-container{max-height:80%}.is-docked-top-center .main-container,.is-docked-bottom-center .main-container{max-height:40%}@media(prefers-reduced-motion){.aligned-top-center,.aligned-top-left,.aligned-top-right,.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
18
18
  function b(k) {
19
19
  return k && Number.parseInt(k.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
20
20
  }
21
- const j = O(F), C = {
21
+ const j = L(F), C = {
22
22
  buttonEnabled: !0,
23
23
  position: "auto",
24
24
  breakpoint: {
@@ -27,12 +27,12 @@ const j = O(F), C = {
27
27
  };
28
28
  class W extends S {
29
29
  constructor() {
30
- super(...arguments), this._direction = N(), this._featuresComponent = m(), this._dockAction = new B({ id: "popup-dock-action" }), this._mainContainerNode = m(), this._pointerNode = m(), this.messages = $(), this.viewModel = j(this), this._containerNode = m(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
30
+ super(...arguments), this._direction = N(), this._featuresComponent = m(), this._dockAction = new H({ id: "popup-dock-action" }), this._mainContainerNode = m(), this._pointerNode = m(), this.messages = $(), this.viewModel = j(this), this._containerNode = m(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
31
31
  this.positionStyle = this._calculatePositionStyle();
32
- }, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = !1, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = _(), this.arcgisClose = _(), this.arcgisTriggerAction = _();
32
+ }, this.screenLocation = B(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = !1, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = _(), this.arcgisClose = _(), this.arcgisTriggerAction = _();
33
33
  }
34
34
  static {
35
- this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
35
+ this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, effectiveHeading: 32, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
36
36
  }
37
37
  static {
38
38
  this.styles = I;
@@ -56,8 +56,8 @@ class W extends S {
56
56
  set dockOptions(t) {
57
57
  const e = { ...C }, o = this.viewModel?.view?.breakpoints, i = {};
58
58
  o && (i.width = o.xsmall, i.height = o.xsmall);
59
- const r = { ...e, ...t }, n = { ...e.breakpoint, ...i }, { breakpoint: s } = r;
60
- typeof s == "object" ? r.breakpoint = { ...n, ...s } : s && (r.breakpoint = n), this._dockOptions = r;
59
+ const r = { ...e, ...t }, n = { ...e.breakpoint, ...i }, { breakpoint: a } = r;
60
+ typeof a == "object" ? r.breakpoint = { ...n, ...a } : a && (r.breakpoint = n), this._dockOptions = r;
61
61
  }
62
62
  get selectedDrillInFeature() {
63
63
  return this._featuresComponent.value?.selectedDrillInFeature ?? null;
@@ -149,7 +149,7 @@ class W extends S {
149
149
  const { _mainContainerNode: e, _popupRect: o, viewModel: i } = this, { view: r } = i, { screenLocation: n } = this;
150
150
  if (n == null || !r || !o || !e.value)
151
151
  return "top-center";
152
- const s = window.getComputedStyle(e.value), l = b(s.maxHeight), a = b(s.height), c = this._getPointerSize(), { height: d, width: v } = o, p = v + c, u = Math.max(d, l, a) + c, M = this._isOutsideView({
152
+ const a = window.getComputedStyle(e.value), l = b(a.maxHeight), s = b(a.height), c = this._getPointerSize(), { height: d, width: v } = o, p = v + c, u = Math.max(d, l, s) + c, M = this._isOutsideView({
153
153
  popupHeight: u,
154
154
  popupWidth: p,
155
155
  screenLocation: n,
@@ -231,35 +231,35 @@ class W extends S {
231
231
  _calculateAlignmentPosition(t, e, o, i) {
232
232
  if (t < 0 || e < 0 || !o || !i || t > o.width || e > o.height)
233
233
  return;
234
- const { topLayerDisabled: r } = this, n = r ? t : t + o.x, s = r ? e : e + o.y, { _direction: l, currentAlignment: a } = this, c = this._getPointerSize(), d = c / 2;
235
- if (a === "top-left" || a === "top-start" && l === "ltr" || a === "top-end" && l === "rtl")
234
+ const { topLayerDisabled: r } = this, n = r ? t : t + o.x, a = r ? e : e + o.y, { _direction: l, currentAlignment: s } = this, c = this._getPointerSize(), d = c / 2;
235
+ if (s === "top-left" || s === "top-start" && l === "ltr" || s === "top-end" && l === "rtl")
236
236
  return {
237
- top: s - (i.height + d),
237
+ top: a - (i.height + d),
238
238
  left: n - i.width - d
239
239
  };
240
- if (a === "top-center")
240
+ if (s === "top-center")
241
241
  return {
242
- top: s - (i.height + c),
242
+ top: a - (i.height + c),
243
243
  left: n - i.width / 2
244
244
  };
245
- if (a === "top-right" || a === "top-end" && l === "ltr" || a === "top-start" && l === "rtl")
245
+ if (s === "top-right" || s === "top-end" && l === "ltr" || s === "top-start" && l === "rtl")
246
246
  return {
247
- top: s - (i.height + d),
247
+ top: a - (i.height + d),
248
248
  left: n + d
249
249
  };
250
- if (a === "bottom-left" || a === "bottom-start" && l === "ltr" || a === "bottom-end" && l === "rtl")
250
+ if (s === "bottom-left" || s === "bottom-start" && l === "ltr" || s === "bottom-end" && l === "rtl")
251
251
  return {
252
- top: s + d,
252
+ top: a + d,
253
253
  left: n - i.width - d
254
254
  };
255
- if (a === "bottom-center")
255
+ if (s === "bottom-center")
256
256
  return {
257
- top: s + c,
257
+ top: a + c,
258
258
  left: n - i.width / 2
259
259
  };
260
- if (a === "bottom-right" || a === "bottom-end" && l === "ltr" || a === "bottom-start" && l === "rtl")
260
+ if (s === "bottom-right" || s === "bottom-end" && l === "ltr" || s === "bottom-start" && l === "rtl")
261
261
  return {
262
- top: s + d,
262
+ top: a + d,
263
263
  left: n + d
264
264
  };
265
265
  }
@@ -279,8 +279,8 @@ class W extends S {
279
279
  return `inset: ${this._getPositionStyleValue(i.top)} ${this._getPositionStyleValue(i.right)} ${this._getPositionStyleValue(i.bottom)} ${this._getPositionStyleValue(i.left)};`;
280
280
  }
281
281
  _dockingThresholdCrossed(t, e, o) {
282
- const [i, r] = t, [n, s] = e, { width: l = 0, height: a = 0 } = o ?? {};
283
- return i <= l && n > l || i > l && n <= l || r <= a && s > a || r > a && s <= a;
282
+ const [i, r] = t, [n, a] = e, { width: l = 0, height: s = 0 } = o ?? {};
283
+ return i <= l && n > l || i > l && n <= l || r <= s && a > s || r > s && a <= s;
284
284
  }
285
285
  _updateDockEnabledForViewSize(t, e) {
286
286
  if (!t || !e || !this.viewModel?.view?.ready)
@@ -295,14 +295,14 @@ class W extends S {
295
295
  const { width: i, height: r } = o;
296
296
  if (Number.isNaN(i) || Number.isNaN(r) || typeof e != "object")
297
297
  return !1;
298
- const n = typeof e.width == "number" && i <= (e.width ?? 0), s = typeof e.height == "number" && r <= (e.height ?? 0);
299
- return n || s;
298
+ const n = typeof e.width == "number" && i <= (e.width ?? 0), a = typeof e.height == "number" && r <= (e.height ?? 0);
299
+ return n || a;
300
300
  }
301
301
  _setDockEnabledForViewSize(t) {
302
302
  this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
303
303
  }
304
304
  render() {
305
- const { _direction: t, dockEnabled: e, currentAlignment: o, currentDockPosition: i, positionStyle: r } = this, { active: n, view: s } = this.viewModel, l = n && e, a = n && !e, c = s?.widthBreakpoint, d = s?.heightBreakpoint, v = {
305
+ const { _direction: t, dockEnabled: e, currentAlignment: o, currentDockPosition: i, positionStyle: r } = this, { active: n, view: a } = this.viewModel, l = n && e, s = n && !e, c = a?.widthBreakpoint, d = a?.heightBreakpoint, v = {
306
306
  "aligned-top-center": o === "top-center",
307
307
  "aligned-bottom-center": o === "bottom-center",
308
308
  "aligned-top-left": o === "top-left" || o === "top-start" && t === "ltr" || o === "top-end" && t === "rtl",
@@ -310,7 +310,7 @@ class W extends S {
310
310
  "aligned-top-right": o === "top-right" || o === "top-end" && t === "ltr" || o === "top-start" && t === "rtl",
311
311
  "aligned-bottom-right": o === "bottom-right" || o === "bottom-end" && t === "ltr" || o === "bottom-start" && t === "rtl",
312
312
  "is-docked": l,
313
- shadow: a,
313
+ shadow: s,
314
314
  "is-rtl": this._direction === "rtl",
315
315
  "is-docked-top-start": i === "top-start",
316
316
  "is-docked-top-end": i === "top-end",
@@ -344,7 +344,7 @@ class W extends S {
344
344
  const t = {
345
345
  shadow: this.dockEnabled
346
346
  };
347
- return g`<div class=${y(x("main-container", t))} ${f(this._mainContainerNode)}>${P(this.viewModel, g`<arcgis-features .collapsed=${this.collapsed} .autoDestroyDisabled=${this.autoDestroyDisabled} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`;
347
+ return g`<div class=${y(x("main-container", t))} ${f(this._mainContainerNode)}>${P(this.viewModel, g`<arcgis-features .collapsed=${this.collapsed} .autoDestroyDisabled=${this.autoDestroyDisabled} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`;
348
348
  }
349
349
  }
350
350
  A("arcgis-popup", W);
@@ -15,7 +15,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
15
15
  * [slice analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/)
16
16
  * to any layer type, making it possible to see inside buildings or to explore geological surfaces.
17
17
  *
18
- * [![slice](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/slice.webm)](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
18
+ * <a href="https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html"><video src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/slice.webm" autoplay loop muted playsinline></video></a>
19
19
  *
20
20
  * The slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape)
21
21
  * is always a [plane](https://developers.arcgis.com/javascript/latest/references/core/analysis/SlicePlane/).