@arcgis/map-components 5.1.0-next.76 → 5.1.0-next.78

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 (223) hide show
  1. package/dist/cdn/{CACNO7RL.js → 2KPAIYFL.js} +1 -1
  2. package/dist/cdn/3C7OR3CF.js +2 -0
  3. package/dist/cdn/{KA7TWJWF.js → 3S5CHU4A.js} +1 -1
  4. package/dist/cdn/{CYQO4QP4.js → 3STORKVK.js} +1 -1
  5. package/dist/cdn/{I4N2D54J.js → 3SYWMT6T.js} +1 -1
  6. package/dist/cdn/{LB4DADJX.js → 3WKBZDRG.js} +1 -1
  7. package/dist/cdn/{HWEEHWOD.js → 3XD6T77C.js} +1 -1
  8. package/dist/cdn/{43K6WHJE.js → 3Z2IGTFN.js} +1 -1
  9. package/dist/cdn/{DLWIT4TY.js → 4ADMY4RI.js} +1 -1
  10. package/dist/cdn/{UWDVCS4E.js → 4CHI5XSE.js} +1 -1
  11. package/dist/cdn/{6W4FXBBQ.js → 4MXDYPC4.js} +1 -1
  12. package/dist/cdn/{FOUN5D3O.js → 4TV5HESM.js} +1 -1
  13. package/dist/cdn/{T66WG4I4.js → 52O6WSI4.js} +1 -1
  14. package/dist/cdn/{STRMIFOQ.js → 52QFTNJG.js} +1 -1
  15. package/dist/cdn/{SE6RRFBA.js → 57WSL6RK.js} +1 -1
  16. package/dist/cdn/{OTC6TYTF.js → 5FVIW7SW.js} +1 -1
  17. package/dist/cdn/{5J37HLFL.js → 5K7ZMOEQ.js} +1 -1
  18. package/dist/cdn/{3AX3SJK2.js → 5NMJSOMR.js} +1 -1
  19. package/dist/cdn/{WINS52AG.js → 5T4NN5A3.js} +1 -1
  20. package/dist/cdn/{FE3BYRUX.js → 5VYKZV6B.js} +1 -1
  21. package/dist/cdn/{SJDBMERA.js → 5YLOV5ME.js} +1 -1
  22. package/dist/cdn/{NNZFQ3A4.js → 63DNMQT4.js} +1 -1
  23. package/dist/cdn/{B2S3QOVD.js → 6BZE3KO2.js} +1 -1
  24. package/dist/cdn/{G42P3KQ6.js → 6EHFB5MX.js} +1 -1
  25. package/dist/cdn/{XF6IFR2Q.js → 6SQQGMCG.js} +1 -1
  26. package/dist/cdn/{JKJ4FQKL.js → 6VS456TO.js} +1 -1
  27. package/dist/cdn/{UHALHKHT.js → 6WK62PKO.js} +1 -1
  28. package/dist/cdn/{NIBNK3Z5.js → 6YTWFGYC.js} +1 -1
  29. package/dist/cdn/{W2TSRBOS.js → 754HIIHN.js} +1 -1
  30. package/dist/cdn/{YWYIVDCG.js → 7ECV2B3N.js} +1 -1
  31. package/dist/cdn/{W7UFIVEB.js → 7L4BYCIR.js} +1 -1
  32. package/dist/cdn/{MEGP2NPD.js → 7QA6YHUU.js} +1 -1
  33. package/dist/cdn/{NJW26JFU.js → 7ZHMWLGY.js} +1 -1
  34. package/dist/cdn/{72CK3WCR.js → 7ZPROKEE.js} +1 -1
  35. package/dist/cdn/{M7RBOMBN.js → A3LEKJKR.js} +1 -1
  36. package/dist/cdn/{GT6Q5IY3.js → A4AU5MP3.js} +1 -1
  37. package/dist/cdn/{ZJ22ILAI.js → A4PJCQZZ.js} +1 -1
  38. package/dist/cdn/{APKTL7SO.js → A7UALTCV.js} +1 -1
  39. package/dist/cdn/{ZJKDFPY4.js → ACNNN424.js} +1 -1
  40. package/dist/cdn/{P7GBGAFM.js → AZHR5D3O.js} +1 -1
  41. package/dist/cdn/{ZBT5NH2L.js → B776JQDT.js} +1 -1
  42. package/dist/cdn/{E7EA5XDB.js → BC3ME4FG.js} +1 -1
  43. package/dist/cdn/{NLRDVW4V.js → BJXBU27X.js} +1 -1
  44. package/dist/cdn/{A26DRZN4.js → BUBHE53F.js} +1 -1
  45. package/dist/cdn/{S6KYM3LN.js → BUVEEFU7.js} +1 -1
  46. package/dist/cdn/{SCPCX6UA.js → BXUZLV3P.js} +1 -1
  47. package/dist/cdn/C5DLADWD.js +4 -0
  48. package/dist/cdn/{PHRWTXE2.js → CCCV6EBK.js} +1 -1
  49. package/dist/cdn/{AG7LUCV3.js → CI7CWSV2.js} +1 -1
  50. package/dist/cdn/{7TFFI5XQ.js → CIAIK3BO.js} +1 -1
  51. package/dist/cdn/{S4U6RD3Z.js → CK2WVOTW.js} +1 -1
  52. package/dist/cdn/{CHMQU4DQ.js → CLRZU7WX.js} +1 -1
  53. package/dist/cdn/{V2HLEYHF.js → CRPUZSLJ.js} +1 -1
  54. package/dist/cdn/{UFPVVX5A.js → D53MCPSK.js} +1 -1
  55. package/dist/cdn/DHJSJAAW.js +2 -0
  56. package/dist/cdn/{N7VR7H4O.js → DNQTYLNU.js} +1 -1
  57. package/dist/cdn/{KIK5PKO7.js → DSILOGA4.js} +1 -1
  58. package/dist/cdn/{CRYOAY2H.js → DVO4VBDY.js} +1 -1
  59. package/dist/cdn/DWH2AQRZ.js +2 -0
  60. package/dist/cdn/{CQRMBQPI.js → EH65OLD4.js} +1 -1
  61. package/dist/cdn/{SD7DMWPD.js → EHCSSPND.js} +1 -1
  62. package/dist/cdn/{WFCPCKWY.js → EL3TOQXJ.js} +1 -1
  63. package/dist/cdn/ENZU463G.js +2 -0
  64. package/dist/cdn/{IHQLTHJE.js → EP34L6YR.js} +1 -1
  65. package/dist/cdn/{GFIX4VIP.js → ESRT2LM3.js} +1 -1
  66. package/dist/cdn/{WO2BX7U2.js → F3ZBOUVA.js} +1 -1
  67. package/dist/cdn/{Q4M2HATT.js → FFG3KEF2.js} +1 -1
  68. package/dist/cdn/{OCARRD2E.js → FMFI64MN.js} +1 -1
  69. package/dist/cdn/{L5MVC2NA.js → FRDIRDV2.js} +1 -1
  70. package/dist/cdn/{MELR5RGE.js → FYYOO2SP.js} +1 -1
  71. package/dist/cdn/{KET53JUE.js → FZ234X2S.js} +1 -1
  72. package/dist/cdn/{X3FFVKWE.js → G5BZ2XDI.js} +1 -1
  73. package/dist/cdn/{ASX42Z23.js → G7ABQLKM.js} +1 -1
  74. package/dist/cdn/{ZZ2PNMQH.js → GDRDTQNF.js} +1 -1
  75. package/dist/cdn/{YQEDXRJA.js → GHNXMTEW.js} +1 -1
  76. package/dist/cdn/{3I5WS3FR.js → GXJXCDAV.js} +1 -1
  77. package/dist/cdn/{5N7UWAVE.js → H5PYEVJK.js} +1 -1
  78. package/dist/cdn/{QDEWCM6X.js → HENNZAPX.js} +1 -1
  79. package/dist/cdn/{NHFOFAFP.js → HG7ZXBAM.js} +1 -1
  80. package/dist/cdn/{X4K6UDSU.js → HLAS4IJN.js} +1 -1
  81. package/dist/cdn/{WIBXC4YU.js → I4FQEN2E.js} +1 -1
  82. package/dist/cdn/{S5JVHVOR.js → I56NMUHZ.js} +1 -1
  83. package/dist/cdn/{OLEXEPTK.js → IE6ZIKTS.js} +1 -1
  84. package/dist/cdn/{NORRVFXR.js → IHYP7TNI.js} +1 -1
  85. package/dist/cdn/{RJ6ZGPF4.js → IJ23I4O5.js} +1 -1
  86. package/dist/cdn/{DJOFGKNV.js → IJTP75DN.js} +1 -1
  87. package/dist/cdn/{2ELCZVYD.js → IKJ4QOOE.js} +1 -1
  88. package/dist/cdn/{Z5OWX3WN.js → ILL73PSY.js} +1 -1
  89. package/dist/cdn/{IP6NIPH4.js → ISHFOB43.js} +1 -1
  90. package/dist/cdn/{6D72H6LD.js → J752EZTH.js} +1 -1
  91. package/dist/cdn/{FZQCY3ZG.js → JAFF7K7J.js} +1 -1
  92. package/dist/cdn/{FUQTYVGG.js → JEMHSKQB.js} +1 -1
  93. package/dist/cdn/{EVY34LST.js → JGWD2EFI.js} +1 -1
  94. package/dist/cdn/{CZ4AD53F.js → JI4OTEL5.js} +1 -1
  95. package/dist/cdn/{MNXYDKVS.js → JJJFLSQG.js} +1 -1
  96. package/dist/cdn/{IUC4DIX3.js → JML2AIAF.js} +1 -1
  97. package/dist/cdn/{ECFM6HYM.js → JV35L4KZ.js} +1 -1
  98. package/dist/cdn/{FJZK7WV6.js → JVFKWD4H.js} +1 -1
  99. package/dist/cdn/{NZJR4L2B.js → KCUBKBVC.js} +1 -1
  100. package/dist/cdn/{BEHN6I6X.js → KJIFTTVI.js} +1 -1
  101. package/dist/cdn/{APYGTRF2.js → KYAZDACR.js} +1 -1
  102. package/dist/cdn/{OEYAER33.js → L2IH77R2.js} +1 -1
  103. package/dist/cdn/{WEH7CANO.js → L2ZRXLAY.js} +1 -1
  104. package/dist/cdn/{3HOI2V7M.js → L63YI34J.js} +1 -1
  105. package/dist/cdn/{BH32Z76H.js → LGHCANK6.js} +1 -1
  106. package/dist/cdn/{5LX733ME.js → LLXBBPLP.js} +1 -1
  107. package/dist/cdn/{2F2MGL4Q.js → LODZ4FPE.js} +1 -1
  108. package/dist/cdn/{K2DVP6DU.js → LT6MLTBE.js} +1 -1
  109. package/dist/cdn/{CFXRUQAL.js → LUXDVDWQ.js} +1 -1
  110. package/dist/cdn/{BHFAEIHA.js → LY5ME2JV.js} +1 -1
  111. package/dist/cdn/{LHINF2SX.js → LYJ2YSMR.js} +1 -1
  112. package/dist/cdn/{QKG6UT42.js → N65HO77B.js} +1 -1
  113. package/dist/cdn/{VRTVUSGY.js → N6EZNANB.js} +1 -1
  114. package/dist/cdn/{TXGJSCLD.js → NC4U36XU.js} +1 -1
  115. package/dist/cdn/{PP7ZT3L2.js → NE7URSJE.js} +1 -1
  116. package/dist/cdn/{2NOPYDQS.js → NH55ZRSN.js} +1 -1
  117. package/dist/cdn/{5UNQDPZJ.js → NHZAMO5I.js} +1 -1
  118. package/dist/cdn/{FAQRULFP.js → NJ45FAUA.js} +1 -1
  119. package/dist/cdn/NJ5PJX47.js +2 -0
  120. package/dist/cdn/{JR4KXCXH.js → NNI6LGQD.js} +1 -1
  121. package/dist/cdn/{ADEVZ6VO.js → NRSGW66G.js} +1 -1
  122. package/dist/cdn/{RO7G7YI6.js → O26UZS77.js} +1 -1
  123. package/dist/cdn/{TXDD3LFB.js → OF557DVT.js} +1 -1
  124. package/dist/cdn/{LWQZWUXM.js → ONFQOLB7.js} +1 -1
  125. package/dist/cdn/{AOJHIQTX.js → OR3ZMOGW.js} +1 -1
  126. package/dist/cdn/{6OM4BUVD.js → OU2KFEK7.js} +1 -1
  127. package/dist/cdn/{OOWF5FYH.js → OVVNERWE.js} +1 -1
  128. package/dist/cdn/{6G2BU2BR.js → OWMOCBP5.js} +1 -1
  129. package/dist/cdn/{QW4QGAIG.js → OXTLJPNZ.js} +1 -1
  130. package/dist/cdn/{LJZ2SOPU.js → PBACFJHC.js} +1 -1
  131. package/dist/cdn/{OED5NC6N.js → PDJZAHR3.js} +1 -1
  132. package/dist/cdn/{N3OPOJCY.js → PH7MF23O.js} +1 -1
  133. package/dist/cdn/{V3BMEZZP.js → PPXAIUP5.js} +1 -1
  134. package/dist/cdn/{3SFEMBVV.js → PV3EMYHQ.js} +1 -1
  135. package/dist/cdn/{6UX4Z6VU.js → PYCPKGFF.js} +1 -1
  136. package/dist/cdn/{RVJNTIZ7.js → Q2HMS3UI.js} +1 -1
  137. package/dist/cdn/{W63VCIHF.js → Q5XUBNES.js} +1 -1
  138. package/dist/cdn/{FMHQLHWM.js → Q7DJZTZS.js} +1 -1
  139. package/dist/cdn/{ULEVE3UM.js → QDNEMQDL.js} +1 -1
  140. package/dist/cdn/{6PKEUXSO.js → QLYIU55V.js} +1 -1
  141. package/dist/cdn/{LZUWGRAM.js → RC3W33TY.js} +1 -1
  142. package/dist/cdn/{VXFUINRN.js → RKE44TXA.js} +1 -1
  143. package/dist/cdn/{MNLNBW3S.js → RROMCPSS.js} +1 -1
  144. package/dist/cdn/{XM5NRBJO.js → RTMJCNEQ.js} +1 -1
  145. package/dist/cdn/{JBTN4GL2.js → RUN2XYMY.js} +1 -1
  146. package/dist/cdn/{JE27PKO6.js → RVWQECCR.js} +1 -1
  147. package/dist/cdn/{DXHOQGVA.js → RYAQ3K3R.js} +1 -1
  148. package/dist/cdn/{Y6J3KKIJ.js → RYTRWCXZ.js} +1 -1
  149. package/dist/cdn/{7KWU54HM.js → STZRQJUZ.js} +1 -1
  150. package/dist/cdn/{QVQGIR6D.js → SVZ5TS47.js} +1 -1
  151. package/dist/cdn/{Y5JWTIP4.js → SXGAGZZF.js} +1 -1
  152. package/dist/cdn/{J7CQ6QTI.js → SZYFJ2ME.js} +1 -1
  153. package/dist/cdn/{BAJLAC4A.js → T5SQSJ4I.js} +1 -1
  154. package/dist/cdn/{QCDIKENQ.js → TDGOH2O5.js} +1 -1
  155. package/dist/cdn/{HAKD7266.js → TG26NB3V.js} +1 -1
  156. package/dist/cdn/{A47GCJWF.js → TKV5RNCX.js} +1 -1
  157. package/dist/cdn/{WULZBTNW.js → TLSINA7Z.js} +1 -1
  158. package/dist/cdn/TQMA4OZB.js +2 -0
  159. package/dist/cdn/{XOTOQOK6.js → TRFQEBXS.js} +1 -1
  160. package/dist/cdn/{QZBFM3AA.js → U244HQF3.js} +1 -1
  161. package/dist/cdn/{CFIG2V7L.js → U3YXUZHJ.js} +1 -1
  162. package/dist/cdn/{VNWKALDY.js → U4FOT7ER.js} +1 -1
  163. package/dist/cdn/{FL6CHMPH.js → UCML2746.js} +1 -1
  164. package/dist/cdn/{NOCKD7KH.js → UD6QF2NI.js} +1 -1
  165. package/dist/cdn/{X7JSA5PG.js → UL4XLLGI.js} +1 -1
  166. package/dist/cdn/{NMP4CEPM.js → UODEI64R.js} +1 -1
  167. package/dist/cdn/{MZ2TWQRP.js → UUGR43RO.js} +1 -1
  168. package/dist/cdn/{RZ3PYHOX.js → UUSDRN34.js} +1 -1
  169. package/dist/cdn/{HAWDOVIO.js → UVAO2IEE.js} +1 -1
  170. package/dist/cdn/{CIDI6EZW.js → V2BJHPKN.js} +1 -1
  171. package/dist/cdn/{SM7CZ2LG.js → V45TGYWX.js} +1 -1
  172. package/dist/cdn/{33HHEIDJ.js → VCA3DNKP.js} +1 -1
  173. package/dist/cdn/{N2ZR7Q6F.js → VMVHTLRD.js} +1 -1
  174. package/dist/cdn/{KCMHFNRQ.js → VOO3RMI7.js} +1 -1
  175. package/dist/cdn/{IVKWYER5.js → VPOSSFKR.js} +1 -1
  176. package/dist/cdn/{LBBPRMIN.js → VSHOU5LO.js} +1 -1
  177. package/dist/cdn/{2LHTH7PU.js → WBDPNTXV.js} +1 -1
  178. package/dist/cdn/{W5DCESH4.js → WBPFDTEJ.js} +1 -1
  179. package/dist/cdn/{MF7JPFJ4.js → WGYO5OR6.js} +1 -1
  180. package/dist/cdn/WMCZM6D4.js +2 -0
  181. package/dist/cdn/{TL3BHZ3H.js → WNAVM6XX.js} +1 -1
  182. package/dist/cdn/{AG6LWZ63.js → WX2MMWLH.js} +1 -1
  183. package/dist/cdn/{PGZSF2NC.js → XF56AAZA.js} +1 -1
  184. package/dist/cdn/{DDRAWHZU.js → XHN4O3NF.js} +1 -1
  185. package/dist/cdn/{3ATNVL7S.js → YGUNBANA.js} +1 -1
  186. package/dist/cdn/{ZRBPUXRN.js → YKWANHMZ.js} +1 -1
  187. package/dist/cdn/{JWH3UFIH.js → YSVPE3RI.js} +1 -1
  188. package/dist/cdn/{JO7B2R5F.js → YTQQDJUX.js} +1 -1
  189. package/dist/cdn/{O6JPYYGF.js → ZD53HSIG.js} +1 -1
  190. package/dist/cdn/{HL4M23YL.js → ZEOBDRTD.js} +1 -1
  191. package/dist/cdn/{D3LKHYLJ.js → ZOJOWYGT.js} +1 -1
  192. package/dist/cdn/{YFXHW7I2.js → ZQDX6D67.js} +1 -1
  193. package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
  194. package/dist/cdn/index.js +1 -1
  195. package/dist/components/arcgis-feature/customElement.js +1 -1
  196. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  197. package/dist/components/arcgis-feature-table/customElement.d.ts +9 -0
  198. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  199. package/dist/components/arcgis-features/customElement.js +2 -2
  200. package/dist/components/arcgis-popup/customElement.js +105 -105
  201. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +5 -1
  202. package/dist/components/arcgis-presentation/customElement.d.ts +15 -8
  203. package/dist/components/arcgis-presentation/customElement.js +249 -196
  204. package/dist/components/arcgis-presentation-captions/customElement.js +21 -15
  205. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +49 -52
  206. package/dist/docs/api.json +1 -1
  207. package/dist/docs/docs.json +1 -1
  208. package/dist/docs/vscode.html-custom-data.json +1 -1
  209. package/dist/docs/web-types.json +1 -1
  210. package/dist/loader.js +3 -3
  211. package/dist/types/lumina.d.ts +2 -2
  212. package/dist/types/preact.d.ts +2 -2
  213. package/dist/types/react.d.ts +2 -2
  214. package/dist/types/stencil.d.ts +2 -2
  215. package/package.json +4 -4
  216. package/dist/cdn/5CKHTWHC.js +0 -2
  217. package/dist/cdn/65CSQYOK.js +0 -2
  218. package/dist/cdn/DSHFA5OM.js +0 -2
  219. package/dist/cdn/GRYRJF75.js +0 -4
  220. package/dist/cdn/ILA4VRUF.js +0 -2
  221. package/dist/cdn/UVGSA7KM.js +0 -2
  222. package/dist/cdn/YLKEVZLN.js +0 -2
  223. package/dist/cdn/ZVDWGIFU.js +0 -2
@@ -1,53 +1,84 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as z } from "../../chunks/runtime.js";
3
3
  import { css as O, html as u } from "lit";
4
- import { GenericController as A, proxyExports as R, useDirection as G } from "@arcgis/lumina/controllers";
5
- import { LitElement as M, createEvent as x, nothing as g } from "@arcgis/lumina";
6
- import { u as N } from "../../chunks/useT9n.js";
7
- import { m as $ } from "../../chunks/useViewModel.js";
8
- import { property as h, subclass as E } from "@arcgis/core/core/accessorSupport/decorators.js";
9
- import T from "@arcgis/core/core/Accessor.js";
10
- import I from "@arcgis/core/core/Collection.js";
11
- import { ignoreAbortErrors as B } from "@arcgis/core/core/promiseUtils.js";
12
- import { on as V, whenOnce as S, watch as y } from "@arcgis/core/core/reactiveUtils.js";
13
- import k from "@arcgis/core/Graphic.js";
14
- import D from "@arcgis/core/layers/Layer.js";
15
- import H from "@arcgis/core/graphic/CSVGraphicOrigin.js";
4
+ import { GenericController as F, proxyExports as R, useDirection as G } from "@arcgis/lumina/controllers";
5
+ import { LitElement as M, createEvent as I, nothing as S } from "@arcgis/lumina";
6
+ import { u as $ } from "../../chunks/useT9n.js";
7
+ import { m as N } from "../../chunks/useViewModel.js";
8
+ import { property as c, subclass as B } from "@arcgis/core/core/accessorSupport/decorators.js";
9
+ import E from "@arcgis/core/core/Accessor.js";
10
+ import y from "@arcgis/core/core/Collection.js";
11
+ import { ignoreAbortErrors as T } from "@arcgis/core/core/promiseUtils.js";
12
+ import { watch as g, on as H, whenOnce as v } from "@arcgis/core/core/reactiveUtils.js";
13
+ import D from "@arcgis/core/Graphic.js";
14
+ import V from "@arcgis/core/layers/Layer.js";
15
+ import k from "@arcgis/core/graphic/CSVGraphicOrigin.js";
16
16
  import j from "@arcgis/core/graphic/GeoJSONGraphicOrigin.js";
17
17
  import W from "@arcgis/core/graphic/SceneGraphicOrigin.js";
18
18
  import K from "@arcgis/core/graphic/WFSGraphicOrigin.js";
19
19
  import U from "@arcgis/core/graphic/BuildingGraphicOrigin.js";
20
20
  import Q from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
21
- import { fetchPopupFeaturesFromGraphics as F } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
22
- import { s as w } from "../../chunks/resources.js";
21
+ import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
22
+ import { s as _ } from "../../chunks/resources.js";
23
23
  const q = O`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.root{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`;
24
- var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, c = (s, e, t, i) => {
25
- for (var r = i > 1 ? void 0 : i ? X(e, t) : e, n = s.length - 1, o; n >= 0; n--)
26
- (o = s[n]) && (r = (i ? o(e, t, r) : o(r)) || r);
27
- return i && r && J(e, t, r), r;
24
+ var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, l = (i, e, t, s) => {
25
+ for (var r = s > 1 ? void 0 : s ? X(e, t) : e, n = i.length - 1, o; n >= 0; n--)
26
+ (o = i[n]) && (r = (s ? o(e, t, r) : o(r)) || r);
27
+ return s && r && J(e, t, r), r;
28
28
  };
29
- let d = class extends T {
29
+ let a = class extends E {
30
+ //endregion
30
31
  //#region Lifecycle
31
- constructor(s) {
32
- super(s), this.keyboardNavigationEnabled = !1, this._subscribeToSlideEvents = (e) => {
33
- this._unSubscribeToSlideEvents(e), e.forEach((t) => {
34
- const i = t.on("apply-slide-start", () => this._onApplySlideStart(t)), r = t.on("apply-slide-complete", () => this._onApplySlideComplete(t));
35
- this.addHandles(i, t.id), this.addHandles(r, t.id);
32
+ constructor(i) {
33
+ super(i), this.transitionActive = !1, this.keyboardNavigationEnabled = !1, this._subscribeToSlideEvents = (e) => {
34
+ this._unsubscribeToSlideEvents(e), e.forEach((t) => {
35
+ const s = t.on("apply-slide-start", () => this._onApplySlideStart(t)), r = t.on("apply-slide-complete", () => this._onApplySlideComplete(t)), n = t.on("apply-slide-cancel", () => this._onApplySlideCancel(t));
36
+ this.addHandles(s, t.id), this.addHandles(r, t.id), this.addHandles(n, t.id);
36
37
  });
37
- }, this._unSubscribeToSlideEvents = (e) => {
38
+ }, this._unsubscribeToSlideEvents = (e) => {
38
39
  e.forEach((t) => {
39
40
  this.hasHandles(t.id) && this.removeHandles(t.id);
40
41
  });
41
42
  };
42
43
  }
43
44
  initialize() {
44
- this._startWatchVisibleSlides();
45
+ this.addHandles(
46
+ g(
47
+ () => this.view?.map,
48
+ (i, e) => {
49
+ if (this.hasHandles("sceneLoaded") && this.removeHandles("sceneLoaded"), e) {
50
+ const t = e.presentation?.slides;
51
+ t && t.length > 0 && this._unsubscribeToSlideEvents(t);
52
+ }
53
+ i && this.addHandles(
54
+ g(
55
+ () => i.loaded,
56
+ (t) => {
57
+ t && (this.removeHandles("sceneLoaded"), this._startWatchSlides(), this._slideId && this._applySlideById(this._slideId));
58
+ },
59
+ { initial: !0 }
60
+ ),
61
+ "sceneLoaded"
62
+ );
63
+ },
64
+ { initial: !0 }
65
+ )
66
+ );
45
67
  }
46
68
  destroy() {
47
- this._unSubscribeToSlideEvents(this.visibleSlides);
69
+ this._unsubscribeToSlideEvents(this.slides);
70
+ }
71
+ get slideId() {
72
+ return this._slideId;
73
+ }
74
+ set slideId(i) {
75
+ i === void 0 || !this.view?.map?.loaded ? this._slideId = i : this._applySlideById(i);
48
76
  }
49
77
  get visibleSlides() {
50
- return this.view?.map?.presentation?.slides?.filter((s) => !s.hidden) ?? new I();
78
+ return this.view?.map?.presentation?.slides?.filter((i) => !i.hidden) ?? new y();
79
+ }
80
+ get slides() {
81
+ return this.view?.map?.presentation?.slides ?? new y();
51
82
  }
52
83
  get lastSlideSelected() {
53
84
  return this.getSlideIndexBySlideId(this.slideId) === this.visibleSlides.length - 1;
@@ -64,106 +95,128 @@ let d = class extends T {
64
95
  get slideIndex() {
65
96
  return this.getSlideIndexBySlideId(this.slideId);
66
97
  }
67
- getSlideIndexBySlideId(s) {
98
+ getSlideIndexBySlideId(i) {
68
99
  let e = -1;
69
- return s && (e = this.visibleSlides.findIndex((t) => t.id === s)), e;
100
+ return i && (e = this.visibleSlides.findIndex((t) => t.id === i)), e;
70
101
  }
71
- navigateInPresentation(s) {
72
- const e = this.slideIndex + s;
102
+ navigateInPresentation(i) {
103
+ const e = this.slideIndex + i;
73
104
  let t = this._getSlideBySlideIndex(e);
74
105
  t ??= this._getSlideBySlideIndex(0), t && this._applySlide(t);
75
106
  }
76
- captureArrowKeysForNavigation(s, e) {
107
+ captureArrowKeysForNavigation(i, e) {
77
108
  const t = ["ArrowLeft", "ArrowRight", "PageUp", "PageDown"];
78
- if (document.activeElement?.nodeName.toLowerCase() === "arcgis-scene" || !t.includes(s.code))
109
+ if (document.activeElement?.nodeName.toLowerCase() === "arcgis-scene" || !t.includes(i.code))
79
110
  return;
80
- const r = e === "rtl" ? "ArrowRight" : "ArrowLeft", o = s.code === r || s.code === "PageUp" ? -1 : 1;
111
+ const r = e === "rtl" ? "ArrowRight" : "ArrowLeft", o = i.code === r || i.code === "PageUp" ? -1 : 1;
81
112
  this.navigateInPresentation(o);
82
113
  }
83
114
  //#endregion
84
115
  //#region Private Methods
85
- _getSlideBySlideIndex(s) {
86
- if (s != null && s >= 0 && s < this.visibleSlides.length)
87
- return this.visibleSlides.getItemAt(s);
116
+ _getSlideBySlideIndex(i) {
117
+ if (i != null && i >= 0 && i < this.visibleSlides.length)
118
+ return this.visibleSlides.getItemAt(i);
119
+ }
120
+ async _applySlideById(i) {
121
+ const e = i ? this._getSlideBySlideId(i) : void 0;
122
+ e && await this._applySlide(e);
88
123
  }
89
- async _applySlide(s) {
90
- this.view && await B(s.applyTo(this.view));
124
+ _getSlideBySlideId(i) {
125
+ return this.visibleSlides.find((e) => e.id === i);
91
126
  }
92
- _startWatchVisibleSlides() {
93
- this._subscribeToSlideEvents(this.visibleSlides), this.addHandles(
94
- V(
95
- () => this.visibleSlides,
127
+ async _applySlide(i) {
128
+ this.view && await T(i.applyTo(this.view));
129
+ }
130
+ _startWatchSlides() {
131
+ this._subscribeToSlideEvents(this.slides), this.addHandles(
132
+ H(
133
+ () => this.slides,
96
134
  "change",
97
- (s) => {
98
- this._subscribeToSlideEvents(new I(s.added)), this._unSubscribeToSlideEvents(new I(s.removed));
135
+ (i) => {
136
+ this._subscribeToSlideEvents(new y(i.added)), this._unsubscribeToSlideEvents(new y(i.removed));
99
137
  },
100
138
  {
101
139
  onListenerAdd: this._subscribeToSlideEvents,
102
- onListenerRemove: this._unSubscribeToSlideEvents
140
+ onListenerRemove: this._unsubscribeToSlideEvents
103
141
  }
104
142
  )
105
143
  );
106
144
  }
107
- _onApplySlideStart(s) {
108
- this.slideId = s.id, this.onApplySlideStart?.(s);
145
+ _onApplySlideStart(i) {
146
+ this._slideId = i.id, this.transitionActive = !0, this.onApplySlideStart?.(i);
147
+ }
148
+ _onApplySlideComplete(i) {
149
+ this.transitionActive = !1, this.onApplySlideComplete?.(i);
109
150
  }
110
- _onApplySlideComplete(s) {
111
- this.onApplySlideComplete?.(s);
151
+ _onApplySlideCancel(i) {
152
+ this.transitionActive = !1, this.onApplySlideCancel?.(i);
112
153
  }
113
154
  //#endregion
114
155
  };
115
- c([
116
- h()
117
- ], d.prototype, "view", 2);
118
- c([
119
- h()
120
- ], d.prototype, "slideId", 2);
121
- c([
122
- h()
123
- ], d.prototype, "keyboardNavigationEnabled", 2);
124
- c([
125
- h()
126
- ], d.prototype, "visibleSlides", 1);
127
- c([
128
- h()
129
- ], d.prototype, "lastSlideSelected", 1);
130
- c([
131
- h()
132
- ], d.prototype, "firstSlideSelected", 1);
133
- c([
134
- h()
135
- ], d.prototype, "slideSelected", 1);
136
- c([
137
- h()
138
- ], d.prototype, "hasOnlyOneSlide", 1);
139
- c([
140
- h()
141
- ], d.prototype, "onApplySlideStart", 2);
142
- c([
143
- h()
144
- ], d.prototype, "onApplySlideComplete", 2);
145
- c([
146
- h()
147
- ], d.prototype, "getSlideIndexBySlideId", 1);
148
- d = c([
149
- E("components.presentation.PresentationViewModel")
150
- ], d);
151
- class Y extends A {
156
+ l([
157
+ c()
158
+ ], a.prototype, "_slideId", 2);
159
+ l([
160
+ c()
161
+ ], a.prototype, "view", 2);
162
+ l([
163
+ c()
164
+ ], a.prototype, "slideId", 1);
165
+ l([
166
+ c()
167
+ ], a.prototype, "transitionActive", 2);
168
+ l([
169
+ c()
170
+ ], a.prototype, "keyboardNavigationEnabled", 2);
171
+ l([
172
+ c()
173
+ ], a.prototype, "visibleSlides", 1);
174
+ l([
175
+ c()
176
+ ], a.prototype, "slides", 1);
177
+ l([
178
+ c()
179
+ ], a.prototype, "lastSlideSelected", 1);
180
+ l([
181
+ c()
182
+ ], a.prototype, "firstSlideSelected", 1);
183
+ l([
184
+ c()
185
+ ], a.prototype, "slideSelected", 1);
186
+ l([
187
+ c()
188
+ ], a.prototype, "hasOnlyOneSlide", 1);
189
+ l([
190
+ c()
191
+ ], a.prototype, "onApplySlideStart", 2);
192
+ l([
193
+ c()
194
+ ], a.prototype, "onApplySlideComplete", 2);
195
+ l([
196
+ c()
197
+ ], a.prototype, "onApplySlideCancel", 2);
198
+ l([
199
+ c()
200
+ ], a.prototype, "getSlideIndexBySlideId", 1);
201
+ a = l([
202
+ B("components.presentation.PresentationViewModel")
203
+ ], a);
204
+ class Y extends F {
152
205
  constructor(e) {
153
206
  super(e);
154
207
  }
155
208
  hostLoaded() {
156
209
  this.component.manager.onLifecycle(() => {
157
210
  const e = this.component;
158
- S(() => e.referenceElement).then((t) => {
211
+ v(() => e.referenceElement).then((t) => {
159
212
  this._isArcgisScene(t) && (this._sceneRef = t);
160
213
  });
161
214
  });
162
215
  }
163
216
  openPopup(e) {
164
217
  this.component.view && this.component.slideId === e.id && e.elements.popupInfo != null && this._preparePopupFeature(this.component.view, e.elements.popupInfo).then(
165
- ({ success: t, features: i, popupInfo: r }) => {
166
- this.component.slideId === e.id && (t ? this._handlePopupFeatureFound(e, i, r) : this.component.arcgisPopupFeatureNotFound.emit({ slide: e }));
218
+ ({ success: t, features: s, popupInfo: r }) => {
219
+ this.component.slideId === e.id && (t ? this._handlePopupFeatureFound(e, s, r) : this.component.arcgisPopupFeatureNotFound.emit({ slide: e }));
167
220
  }
168
221
  );
169
222
  }
@@ -172,67 +225,67 @@ class Y extends A {
172
225
  return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
173
226
  }
174
227
  closePopup() {
175
- this.component.popupDisabled || this._sceneRef?.closePopup();
228
+ this.component.slidePopupDisabled || this._sceneRef?.closePopup();
176
229
  }
177
- async _handlePopupFeatureFound(e, t, i) {
178
- const r = i?.location ?? void 0;
179
- this.component.arcgisPopupFeaturesRetrieved.emit({ slide: e, features: t, location: r }), this.component.popupDisabled || await this._sceneRef?.openPopup({
230
+ async _handlePopupFeatureFound(e, t, s) {
231
+ const r = s?.location ?? void 0;
232
+ this.component.arcgisPopupFeaturesRetrieved.emit({ slide: e, features: t, location: r }), this.component.slidePopupDisabled || await this._sceneRef?.openPopup({
180
233
  features: t,
181
234
  location: r
182
235
  });
183
236
  }
184
237
  async _preparePopupFeature(e, t) {
185
- let i = [];
238
+ let s = [];
186
239
  if (!t.features?.length || t.features.length === 0)
187
- return { success: !1, features: i };
240
+ return { success: !1, features: s };
188
241
  const r = t.features?.getItemAt(t.selectedFeatureIndex)?.layerReference;
189
242
  if (r?.layerId == null)
190
- return { success: !1, features: i };
243
+ return { success: !1, features: s };
191
244
  const { layer: n, sublayer: o } = this._getLayersFromView(e, r.layerId, r?.sublayerId);
192
245
  if (!n)
193
- return { success: !1, features: i };
194
- const a = o ?? n;
195
- if (!a || !this._layerTypeSupportsCapturePopup(a))
196
- return { success: !1, features: i };
197
- if (i = await this._fetchFeaturesFromQueryable(e, t, n, o, a), i && this._featureHasBeenFilledWithAttributes(i)) {
198
- const l = i[0];
199
- return this._setFallbackPopupTemplate(l, o, n), this._setFallbackGeometry(l, t?.location), { success: !0, features: i, popupInfo: t };
246
+ return { success: !1, features: s };
247
+ const d = o ?? n;
248
+ if (!d || !this._layerTypeSupportsCapturePopup(d))
249
+ return { success: !1, features: s };
250
+ if (s = await this._fetchFeaturesFromQueryable(e, t, n, o, d), s && this._featureHasBeenFilledWithAttributes(s)) {
251
+ const p = s[0];
252
+ return this._setFallbackPopupTemplate(p, o, n), this._setFallbackGeometry(p, t?.location), { success: !0, features: s, popupInfo: t };
200
253
  }
201
- return { success: !1, features: i };
254
+ return { success: !1, features: s };
202
255
  }
203
- _getLayersFromView(e, t, i) {
204
- const r = e.map?.findLayerById(t) ?? void 0, n = this._getBuildingSceneLayerSublayer(r, i);
256
+ _getLayersFromView(e, t, s) {
257
+ const r = e.map?.findLayerById(t) ?? void 0, n = this._getBuildingSceneLayerSublayer(r, s);
205
258
  return { layer: r, sublayer: n };
206
259
  }
207
260
  _getBuildingSceneLayerSublayer(e, t) {
208
- let i;
209
- return e && this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (i = e.allSublayers.find(
261
+ let s;
262
+ return e && this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (s = e.allSublayers.find(
210
263
  (r) => r.id === t && r.type === "building-component"
211
- )), i;
264
+ )), s;
212
265
  }
213
266
  _featureHasBeenFilledWithAttributes(e) {
214
267
  return e && e.length > 0 && e[0].attributes && Object.entries(e[0].attributes)?.length > 1;
215
268
  }
216
- async _fetchFeaturesFromQueryable(e, t, i, r, n) {
269
+ async _fetchFeaturesFromQueryable(e, t, s, r, n) {
217
270
  const o = t.features?.getItemAt(t.selectedFeatureIndex);
218
271
  if (o?.id == null)
219
272
  return await Promise.resolve([]);
220
- const a = await e.whenLayerView(i);
221
- await S(() => !a.updating);
222
- const p = this._tryGetBuildingComponentSublayerView(i, r, a) ?? a;
223
- await S(() => !p.updating);
224
- const b = this._createFeatureGraphic(i, r, n, o.id);
225
- let _ = await F(p, [b]);
226
- return this._featureHasBeenFilledWithAttributes(_) || (await S(() => !e.updating), _ = await F(p, [b])), _;
227
- }
228
- _tryGetBuildingComponentSublayerView(e, t, i) {
273
+ const d = await e.whenLayerView(s);
274
+ await v(() => !d.updating);
275
+ const h = this._tryGetBuildingComponentSublayerView(s, r, d) ?? d;
276
+ await v(() => !h.updating);
277
+ const f = this._createFeatureGraphic(s, r, n, o.id);
278
+ let x = await A(h, [f]);
279
+ return this._featureHasBeenFilledWithAttributes(x) || (await v(() => !e.updating), x = await A(h, [f])), x;
280
+ }
281
+ _tryGetBuildingComponentSublayerView(e, t, s) {
229
282
  let r;
230
- return this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (r = i.sublayerViews.find(
283
+ return this._isLayer(e) && this._isBuildingSceneLayer(e) && t != null && (r = s.sublayerViews.find(
231
284
  (n) => n.sublayer.id === t.id
232
285
  )), r;
233
286
  }
234
- _setFallbackPopupTemplate(e, t, i) {
235
- e.popupTemplate == null && (e.popupTemplate = t?.popupTemplate ? t.popupTemplate : i.popupTemplate);
287
+ _setFallbackPopupTemplate(e, t, s) {
288
+ e.popupTemplate == null && (e.popupTemplate = t?.popupTemplate ? t.popupTemplate : s.popupTemplate);
236
289
  }
237
290
  /**
238
291
  * If there is no geometry of the feature in the service,
@@ -245,14 +298,14 @@ class Y extends A {
245
298
  _setFallbackGeometry(e, t) {
246
299
  e.geometry == null && t && (e.geometry = t.clone());
247
300
  }
248
- _createFeatureGraphic(e, t, i, r) {
249
- const n = this._getGlobalIdFieldNameFromLayer(i), o = r.type === "global-id" && n ? n : i.objectIdField, a = this._getGraphicOrigin(e, t), l = new k({ attributes: {}, layer: e, origin: a });
250
- return l.attributes[o] = r.value, l;
301
+ _createFeatureGraphic(e, t, s, r) {
302
+ const n = this._getGlobalIdFieldNameFromLayer(s), o = r.type === "global-id" && n ? n : s.objectIdField, d = this._getGraphicOrigin(e, t), p = new D({ attributes: {}, layer: e, origin: d });
303
+ return p.attributes[o] = r.value, p;
251
304
  }
252
305
  _getGraphicOrigin(e, t) {
253
306
  switch (e.type) {
254
307
  case "csv":
255
- return new H(e);
308
+ return new k(e);
256
309
  case "feature":
257
310
  return new Q(e);
258
311
  case "geojson":
@@ -271,7 +324,7 @@ class Y extends A {
271
324
  return e != null && ["csv", "feature", "geojson", "wfs", "scene", "building-component"].includes(e.type);
272
325
  }
273
326
  _isLayer(e) {
274
- return !!e && e instanceof D;
327
+ return !!e && e instanceof V;
275
328
  }
276
329
  _isBuildingSceneLayer(e) {
277
330
  return e?.type === "building-scene";
@@ -281,68 +334,68 @@ class Y extends A {
281
334
  }
282
335
  //#endregion
283
336
  }
284
- const Z = (s) => new Y(s), f = Object.freeze({ width: 0, height: 0 }), m = /* @__PURE__ */ new WeakMap(), v = () => ({
285
- topLeft: { ...f },
286
- topRight: { ...f },
287
- bottomLeft: { ...f },
288
- bottomRight: { ...f }
289
- }), C = (s) => ({
290
- topLeft: { ...s.topLeft },
291
- topRight: { ...s.topRight },
292
- bottomLeft: { ...s.bottomLeft },
293
- bottomRight: { ...s.bottomRight }
294
- }), L = (s) => {
295
- let e = m.get(s);
337
+ const Z = (i) => new Y(i), w = Object.freeze({ width: 0, height: 0 }), b = /* @__PURE__ */ new WeakMap(), m = () => ({
338
+ topLeft: { ...w },
339
+ topRight: { ...w },
340
+ bottomLeft: { ...w },
341
+ bottomRight: { ...w }
342
+ }), C = (i) => ({
343
+ topLeft: { ...i.topLeft },
344
+ topRight: { ...i.topRight },
345
+ bottomLeft: { ...i.bottomLeft },
346
+ bottomRight: { ...i.bottomRight }
347
+ }), L = (i) => {
348
+ let e = b.get(i);
296
349
  return e || (e = {
297
350
  observedGroups: /* @__PURE__ */ new Map(),
298
- observedSizes: v(),
351
+ observedSizes: m(),
299
352
  subscribers: /* @__PURE__ */ new Set()
300
- }, m.set(s, e)), e;
301
- }, ee = (s) => {
302
- const e = s?.topLeft.value, t = s?.topRight.value, i = s?.bottomLeft.value, r = s?.bottomRight.value;
303
- return e && t && i && r ? {
353
+ }, b.set(i, e)), e;
354
+ }, ee = (i) => {
355
+ const e = i?.topLeft.value, t = i?.topRight.value, s = i?.bottomLeft.value, r = i?.bottomRight.value;
356
+ return e && t && s && r ? {
304
357
  topLeft: e,
305
358
  topRight: t,
306
- bottomLeft: i,
359
+ bottomLeft: s,
307
360
  bottomRight: r
308
361
  } : null;
309
- }, te = (s, e) => w.every((t) => s.get(t) === e[t]), ie = (s) => {
310
- const e = C(s.observedSizes);
311
- s.subscribers.forEach((t) => t(e));
312
- }, se = (s, e) => {
313
- const t = m.get(s);
362
+ }, te = (i, e) => _.every((t) => i.get(t) === e[t]), ie = (i) => {
363
+ const e = C(i.observedSizes);
364
+ i.subscribers.forEach((t) => t(e));
365
+ }, se = (i, e) => {
366
+ const t = b.get(i);
314
367
  if (!t)
315
368
  return;
316
- let i = !1;
369
+ let s = !1;
317
370
  e.forEach((r) => {
318
- const n = w.find((b) => t.observedGroups.get(b) === r.target);
371
+ const n = _.find((f) => t.observedGroups.get(f) === r.target);
319
372
  if (!n)
320
373
  return;
321
- const { width: o, height: a } = r.contentRect, l = { width: o, height: a }, p = t.observedSizes[n];
322
- p.width === l.width && p.height === l.height || (t.observedSizes[n] = l, i = !0);
323
- }), i && ie(t);
324
- }, P = (s, e) => {
325
- const t = L(s);
374
+ const { width: o, height: d } = r.contentRect, p = { width: o, height: d }, h = t.observedSizes[n];
375
+ h.width === p.width && h.height === p.height || (t.observedSizes[n] = p, s = !0);
376
+ }), s && ie(t);
377
+ }, P = (i, e) => {
378
+ const t = L(i);
326
379
  t.resizeObserver || (t.resizeObserver = new ResizeObserver((r) => {
327
- se(s, r);
380
+ se(i, r);
328
381
  }));
329
- const i = ee(e);
330
- if (!i) {
382
+ const s = ee(e);
383
+ if (!s) {
331
384
  t.observedGroups.size > 0 && (t.resizeObserver.disconnect(), t.observedGroups.clear());
332
385
  return;
333
386
  }
334
- te(t.observedGroups, i) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), w.forEach((r) => {
335
- const n = i[r];
387
+ te(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), _.forEach((r) => {
388
+ const n = s[r];
336
389
  t.observedGroups.set(r, n), t.resizeObserver?.observe(n);
337
390
  }));
338
- }, re = (s, e) => {
339
- const t = L(s);
391
+ }, re = (i, e) => {
392
+ const t = L(i);
340
393
  return t.subscribers.add(e), e(C(t.observedSizes)), () => {
341
- const i = m.get(s);
342
- i && (i.subscribers.delete(e), i.subscribers.size === 0 && (i.resizeObserver?.disconnect(), i.observedGroups.clear(), m.delete(s)));
394
+ const s = b.get(i);
395
+ s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
343
396
  };
344
397
  };
345
- class ne extends A {
398
+ class ne extends F {
346
399
  // References to the slot group elements owned by the host component.
347
400
  #t;
348
401
  #e;
@@ -353,29 +406,29 @@ class ne extends A {
353
406
  * @param component The host component that owns the slot group elements.
354
407
  */
355
408
  constructor(e) {
356
- super(e), this.exports = v();
409
+ super(e), this.exports = m();
357
410
  }
358
411
  hostDisconnected() {
359
- this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = v();
412
+ this.#i?.(), this.#i = void 0, this.#e = void 0, this.#t = void 0, this.exports = m();
360
413
  }
361
414
  hostLifecycle() {
362
415
  return [
363
- y(
416
+ g(
364
417
  () => this.#s(),
365
418
  (t) => {
366
419
  if (this.#e !== t) {
367
420
  if (this.#i?.(), this.#i = void 0, this.#e = t, this.#t = t?.slotGroupRefs, !t) {
368
- this.exports = v();
421
+ this.exports = m();
369
422
  return;
370
423
  }
371
- this.#i = re(t, (i) => {
372
- this.#r(i) || (this.exports = i);
424
+ this.#i = re(t, (s) => {
425
+ this.#r(s) || (this.exports = s);
373
426
  }), P(t, this.#t);
374
427
  }
375
428
  },
376
429
  { sync: !0, initial: !0 }
377
430
  ),
378
- y(
431
+ g(
379
432
  () => this.#s()?.slotGroupRefs,
380
433
  (t) => {
381
434
  this.#t = t, this.#e && t && P(this.#e, t);
@@ -393,26 +446,26 @@ class ne extends A {
393
446
  }
394
447
  // Compares the newly measured sizes against the currently exported values.
395
448
  #r(e) {
396
- const t = this.exports ?? v();
397
- return w.every((i) => {
398
- const r = t[i], n = e[i];
449
+ const t = this.exports ?? m();
450
+ return _.every((s) => {
451
+ const r = t[s], n = e[s];
399
452
  return r.width === n.width && r.height === n.height;
400
453
  });
401
454
  }
402
455
  }
403
- const oe = R(ne), ae = $(d);
456
+ const oe = R(ne), ae = N(a);
404
457
  class le extends M {
405
458
  constructor() {
406
- super(...arguments), this._messages = N(), this.viewModel = ae(this), this._direction = G(), this._captureArrowKeysForNavigation = (e) => {
459
+ super(...arguments), this._messages = $(), this.viewModel = ae(this), this._direction = G(), this._captureArrowKeysForNavigation = (e) => {
407
460
  this.viewModel.captureArrowKeysForNavigation(e, this._direction);
408
461
  }, this._useFeatureRefPopup = Z(this), this._handleApplySlideStart = () => {
409
462
  this._useFeatureRefPopup.closePopup();
410
463
  }, this._handleApplySlideComplete = (e) => {
411
464
  this._useFeatureRefPopup.openPopup(e);
412
- }, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.scale = "m", this.keyboardNavigationEnabled = !1, this.popupDisabled = !1, this.arcgisPopupFeatureNotFound = x(), this.arcgisPopupFeaturesRetrieved = x(), this.arcgisReady = x();
465
+ }, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.scale = "m", this.keyboardNavigationEnabled = !1, this.slidePopupDisabled = !1, this.slideCaptionsDisabled = !1, this.arcgisPopupFeatureNotFound = I(), this.arcgisPopupFeaturesRetrieved = I(), this.arcgisReady = I();
413
466
  }
414
467
  static {
415
- this.properties = { _slotSizesController: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, scale: 1, keyboardNavigationEnabled: 5, popupDisabled: 5 };
468
+ this.properties = { _slotSizesController: 16, slideId: 1, autoDestroyDisabled: 5, view: 0, scale: 1, keyboardNavigationEnabled: 5, slidePopupDisabled: 5, slideCaptionsDisabled: 5 };
416
469
  }
417
470
  static {
418
471
  this.styles = q;
@@ -428,11 +481,11 @@ class le extends M {
428
481
  }
429
482
  loaded() {
430
483
  this.manager.onLifecycle(() => {
431
- this.viewModel.onApplySlideStart = this._handleApplySlideStart, this.viewModel.onApplySlideComplete = this._handleApplySlideComplete, this._keyboardHandle = y(() => this.keyboardNavigationEnabled, (t) => {
484
+ this.viewModel.onApplySlideStart = this._handleApplySlideStart, this.viewModel.onApplySlideComplete = this._handleApplySlideComplete, this._keyboardHandle = g(() => this.keyboardNavigationEnabled, (t) => {
432
485
  document.removeEventListener("keydown", this._captureArrowKeysForNavigation), t && document.addEventListener("keydown", this._captureArrowKeysForNavigation);
433
486
  }, { initial: !0 });
434
487
  const e = this;
435
- S(() => e.referenceElement).then((t) => {
488
+ v(() => e.referenceElement).then((t) => {
436
489
  this._isArcgisScene(t) && (this._slotSizesController = oe(this), this._watchSceneViewSlotSizes());
437
490
  }), this.manager.onDisconnected(() => {
438
491
  document.removeEventListener("keydown", this._captureArrowKeysForNavigation), this._keyboardHandle?.remove();
@@ -443,30 +496,30 @@ class le extends M {
443
496
  return e === void 0 || typeof e == "string" ? !1 : "tagName" in e && e.tagName === "ARCGIS-SCENE";
444
497
  }
445
498
  _watchSceneViewSlotSizes() {
446
- return y(() => this._slotSizesController, (e) => this._updatePresentationCaptionsPadding(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
499
+ return g(() => this._slotSizesController, (e) => this._updatePresentationCaptionsPadding(e?.topLeft, e?.topRight, e?.bottomLeft, e?.bottomRight), { initial: !0 });
447
500
  }
448
- _updatePresentationCaptionsPadding(e, t, i, r) {
449
- const n = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, o = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, a = Math.max(e?.height ?? 0, t?.height ?? 0), l = Math.max(i?.height ?? 0, r?.height ?? 0);
501
+ _updatePresentationCaptionsPadding(e, t, s, r) {
502
+ const n = this._direction === "ltr" ? e?.width ?? 0 : t?.width ?? 0, o = this._direction === "ltr" ? t?.width ?? 0 : e?.width ?? 0, d = Math.max(e?.height ?? 0, t?.height ?? 0), p = Math.max(s?.height ?? 0, r?.height ?? 0);
450
503
  this.el.style.setProperty("--arcgis-internal-presentation-captions-padding-start", `${n.toString()}px`), this.el.style.setProperty("--arcgis-internal-presentation-captions-padding-end", `${o.toString()}px`);
451
- const p = n <= Math.max(a, l) && o <= Math.max(a, l);
452
- this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", p ? "0" : `${a}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", p ? "0" : `${l}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", p ? `${n}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", p ? `${o}px` : "0");
504
+ const h = n <= Math.max(d, p) && o <= Math.max(d, p);
505
+ this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top", h ? "0" : `${d}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom", h ? "0" : `${p}px`), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start", h ? `${n}px` : "0"), this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end", h ? `${o}px` : "0");
453
506
  }
454
507
  render() {
455
508
  if (this.viewModel.visibleSlides.length === 0)
456
509
  return u`<div></div>`;
457
- const e = this.viewModel.visibleSlides.find((r) => r.id === this.slideId), t = this._renderNavigation(), i = this._renderCaptions(e);
458
- return u`${i}${t}`;
510
+ const e = this.viewModel.visibleSlides.find((r) => r.id === this.slideId), t = this._renderNavigation(), s = this._renderCaptions(e);
511
+ return u`${s}${t}`;
459
512
  }
460
513
  _renderNavigation() {
461
- const e = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, t = this._direction === "rtl", i = t ? "chevron-right" : "chevron-left", r = t ? "chevron-left" : "chevron-right";
462
- return u`<div class="root"><calcite-button appearance=transparent icon-start=${i ?? g} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected || !this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? g} @click=${() => this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(e ? "reset" : r) ?? g} kind=neutral .scale=${this.scale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? g} @click=${() => this.viewModel.navigateInPresentation(1)}></calcite-button></div>`;
514
+ const e = this.viewModel.lastSlideSelected && !this.viewModel.hasOnlyOneSlide, t = this._direction === "rtl", s = t ? "chevron-right" : "chevron-left", r = t ? "chevron-left" : "chevron-right";
515
+ return u`<div class="root"><calcite-button appearance=transparent icon-start=${s ?? S} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected || !this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? S} @click=${() => this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(e ? "reset" : r) ?? S} kind=neutral .scale=${this.scale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? S} @click=${() => this.viewModel.navigateInPresentation(1)}></calcite-button></div>`;
463
516
  }
464
517
  _renderSlideCounter() {
465
518
  const e = this.viewModel.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.viewModel.visibleSlides.length.toString());
466
- return this.viewModel.slideSelected ? u`<p role=banner aria-label=${t ?? g} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
519
+ return this.viewModel.slideSelected ? u`<p role=banner aria-label=${t ?? S} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>` : u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`;
467
520
  }
468
521
  _renderCaptions(e) {
469
- return u`<arcgis-presentation-captions .slide=${e}></arcgis-presentation-captions>`;
522
+ return this.slideCaptionsDisabled ? null : u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.viewModel.transitionActive}></arcgis-presentation-captions>`;
470
523
  }
471
524
  }
472
525
  z("arcgis-presentation", le);