@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.
- package/dist/cdn/{CACNO7RL.js → 2KPAIYFL.js} +1 -1
- package/dist/cdn/3C7OR3CF.js +2 -0
- package/dist/cdn/{KA7TWJWF.js → 3S5CHU4A.js} +1 -1
- package/dist/cdn/{CYQO4QP4.js → 3STORKVK.js} +1 -1
- package/dist/cdn/{I4N2D54J.js → 3SYWMT6T.js} +1 -1
- package/dist/cdn/{LB4DADJX.js → 3WKBZDRG.js} +1 -1
- package/dist/cdn/{HWEEHWOD.js → 3XD6T77C.js} +1 -1
- package/dist/cdn/{43K6WHJE.js → 3Z2IGTFN.js} +1 -1
- package/dist/cdn/{DLWIT4TY.js → 4ADMY4RI.js} +1 -1
- package/dist/cdn/{UWDVCS4E.js → 4CHI5XSE.js} +1 -1
- package/dist/cdn/{6W4FXBBQ.js → 4MXDYPC4.js} +1 -1
- package/dist/cdn/{FOUN5D3O.js → 4TV5HESM.js} +1 -1
- package/dist/cdn/{T66WG4I4.js → 52O6WSI4.js} +1 -1
- package/dist/cdn/{STRMIFOQ.js → 52QFTNJG.js} +1 -1
- package/dist/cdn/{SE6RRFBA.js → 57WSL6RK.js} +1 -1
- package/dist/cdn/{OTC6TYTF.js → 5FVIW7SW.js} +1 -1
- package/dist/cdn/{5J37HLFL.js → 5K7ZMOEQ.js} +1 -1
- package/dist/cdn/{3AX3SJK2.js → 5NMJSOMR.js} +1 -1
- package/dist/cdn/{WINS52AG.js → 5T4NN5A3.js} +1 -1
- package/dist/cdn/{FE3BYRUX.js → 5VYKZV6B.js} +1 -1
- package/dist/cdn/{SJDBMERA.js → 5YLOV5ME.js} +1 -1
- package/dist/cdn/{NNZFQ3A4.js → 63DNMQT4.js} +1 -1
- package/dist/cdn/{B2S3QOVD.js → 6BZE3KO2.js} +1 -1
- package/dist/cdn/{G42P3KQ6.js → 6EHFB5MX.js} +1 -1
- package/dist/cdn/{XF6IFR2Q.js → 6SQQGMCG.js} +1 -1
- package/dist/cdn/{JKJ4FQKL.js → 6VS456TO.js} +1 -1
- package/dist/cdn/{UHALHKHT.js → 6WK62PKO.js} +1 -1
- package/dist/cdn/{NIBNK3Z5.js → 6YTWFGYC.js} +1 -1
- package/dist/cdn/{W2TSRBOS.js → 754HIIHN.js} +1 -1
- package/dist/cdn/{YWYIVDCG.js → 7ECV2B3N.js} +1 -1
- package/dist/cdn/{W7UFIVEB.js → 7L4BYCIR.js} +1 -1
- package/dist/cdn/{MEGP2NPD.js → 7QA6YHUU.js} +1 -1
- package/dist/cdn/{NJW26JFU.js → 7ZHMWLGY.js} +1 -1
- package/dist/cdn/{72CK3WCR.js → 7ZPROKEE.js} +1 -1
- package/dist/cdn/{M7RBOMBN.js → A3LEKJKR.js} +1 -1
- package/dist/cdn/{GT6Q5IY3.js → A4AU5MP3.js} +1 -1
- package/dist/cdn/{ZJ22ILAI.js → A4PJCQZZ.js} +1 -1
- package/dist/cdn/{APKTL7SO.js → A7UALTCV.js} +1 -1
- package/dist/cdn/{ZJKDFPY4.js → ACNNN424.js} +1 -1
- package/dist/cdn/{P7GBGAFM.js → AZHR5D3O.js} +1 -1
- package/dist/cdn/{ZBT5NH2L.js → B776JQDT.js} +1 -1
- package/dist/cdn/{E7EA5XDB.js → BC3ME4FG.js} +1 -1
- package/dist/cdn/{NLRDVW4V.js → BJXBU27X.js} +1 -1
- package/dist/cdn/{A26DRZN4.js → BUBHE53F.js} +1 -1
- package/dist/cdn/{S6KYM3LN.js → BUVEEFU7.js} +1 -1
- package/dist/cdn/{SCPCX6UA.js → BXUZLV3P.js} +1 -1
- package/dist/cdn/C5DLADWD.js +4 -0
- package/dist/cdn/{PHRWTXE2.js → CCCV6EBK.js} +1 -1
- package/dist/cdn/{AG7LUCV3.js → CI7CWSV2.js} +1 -1
- package/dist/cdn/{7TFFI5XQ.js → CIAIK3BO.js} +1 -1
- package/dist/cdn/{S4U6RD3Z.js → CK2WVOTW.js} +1 -1
- package/dist/cdn/{CHMQU4DQ.js → CLRZU7WX.js} +1 -1
- package/dist/cdn/{V2HLEYHF.js → CRPUZSLJ.js} +1 -1
- package/dist/cdn/{UFPVVX5A.js → D53MCPSK.js} +1 -1
- package/dist/cdn/DHJSJAAW.js +2 -0
- package/dist/cdn/{N7VR7H4O.js → DNQTYLNU.js} +1 -1
- package/dist/cdn/{KIK5PKO7.js → DSILOGA4.js} +1 -1
- package/dist/cdn/{CRYOAY2H.js → DVO4VBDY.js} +1 -1
- package/dist/cdn/DWH2AQRZ.js +2 -0
- package/dist/cdn/{CQRMBQPI.js → EH65OLD4.js} +1 -1
- package/dist/cdn/{SD7DMWPD.js → EHCSSPND.js} +1 -1
- package/dist/cdn/{WFCPCKWY.js → EL3TOQXJ.js} +1 -1
- package/dist/cdn/ENZU463G.js +2 -0
- package/dist/cdn/{IHQLTHJE.js → EP34L6YR.js} +1 -1
- package/dist/cdn/{GFIX4VIP.js → ESRT2LM3.js} +1 -1
- package/dist/cdn/{WO2BX7U2.js → F3ZBOUVA.js} +1 -1
- package/dist/cdn/{Q4M2HATT.js → FFG3KEF2.js} +1 -1
- package/dist/cdn/{OCARRD2E.js → FMFI64MN.js} +1 -1
- package/dist/cdn/{L5MVC2NA.js → FRDIRDV2.js} +1 -1
- package/dist/cdn/{MELR5RGE.js → FYYOO2SP.js} +1 -1
- package/dist/cdn/{KET53JUE.js → FZ234X2S.js} +1 -1
- package/dist/cdn/{X3FFVKWE.js → G5BZ2XDI.js} +1 -1
- package/dist/cdn/{ASX42Z23.js → G7ABQLKM.js} +1 -1
- package/dist/cdn/{ZZ2PNMQH.js → GDRDTQNF.js} +1 -1
- package/dist/cdn/{YQEDXRJA.js → GHNXMTEW.js} +1 -1
- package/dist/cdn/{3I5WS3FR.js → GXJXCDAV.js} +1 -1
- package/dist/cdn/{5N7UWAVE.js → H5PYEVJK.js} +1 -1
- package/dist/cdn/{QDEWCM6X.js → HENNZAPX.js} +1 -1
- package/dist/cdn/{NHFOFAFP.js → HG7ZXBAM.js} +1 -1
- package/dist/cdn/{X4K6UDSU.js → HLAS4IJN.js} +1 -1
- package/dist/cdn/{WIBXC4YU.js → I4FQEN2E.js} +1 -1
- package/dist/cdn/{S5JVHVOR.js → I56NMUHZ.js} +1 -1
- package/dist/cdn/{OLEXEPTK.js → IE6ZIKTS.js} +1 -1
- package/dist/cdn/{NORRVFXR.js → IHYP7TNI.js} +1 -1
- package/dist/cdn/{RJ6ZGPF4.js → IJ23I4O5.js} +1 -1
- package/dist/cdn/{DJOFGKNV.js → IJTP75DN.js} +1 -1
- package/dist/cdn/{2ELCZVYD.js → IKJ4QOOE.js} +1 -1
- package/dist/cdn/{Z5OWX3WN.js → ILL73PSY.js} +1 -1
- package/dist/cdn/{IP6NIPH4.js → ISHFOB43.js} +1 -1
- package/dist/cdn/{6D72H6LD.js → J752EZTH.js} +1 -1
- package/dist/cdn/{FZQCY3ZG.js → JAFF7K7J.js} +1 -1
- package/dist/cdn/{FUQTYVGG.js → JEMHSKQB.js} +1 -1
- package/dist/cdn/{EVY34LST.js → JGWD2EFI.js} +1 -1
- package/dist/cdn/{CZ4AD53F.js → JI4OTEL5.js} +1 -1
- package/dist/cdn/{MNXYDKVS.js → JJJFLSQG.js} +1 -1
- package/dist/cdn/{IUC4DIX3.js → JML2AIAF.js} +1 -1
- package/dist/cdn/{ECFM6HYM.js → JV35L4KZ.js} +1 -1
- package/dist/cdn/{FJZK7WV6.js → JVFKWD4H.js} +1 -1
- package/dist/cdn/{NZJR4L2B.js → KCUBKBVC.js} +1 -1
- package/dist/cdn/{BEHN6I6X.js → KJIFTTVI.js} +1 -1
- package/dist/cdn/{APYGTRF2.js → KYAZDACR.js} +1 -1
- package/dist/cdn/{OEYAER33.js → L2IH77R2.js} +1 -1
- package/dist/cdn/{WEH7CANO.js → L2ZRXLAY.js} +1 -1
- package/dist/cdn/{3HOI2V7M.js → L63YI34J.js} +1 -1
- package/dist/cdn/{BH32Z76H.js → LGHCANK6.js} +1 -1
- package/dist/cdn/{5LX733ME.js → LLXBBPLP.js} +1 -1
- package/dist/cdn/{2F2MGL4Q.js → LODZ4FPE.js} +1 -1
- package/dist/cdn/{K2DVP6DU.js → LT6MLTBE.js} +1 -1
- package/dist/cdn/{CFXRUQAL.js → LUXDVDWQ.js} +1 -1
- package/dist/cdn/{BHFAEIHA.js → LY5ME2JV.js} +1 -1
- package/dist/cdn/{LHINF2SX.js → LYJ2YSMR.js} +1 -1
- package/dist/cdn/{QKG6UT42.js → N65HO77B.js} +1 -1
- package/dist/cdn/{VRTVUSGY.js → N6EZNANB.js} +1 -1
- package/dist/cdn/{TXGJSCLD.js → NC4U36XU.js} +1 -1
- package/dist/cdn/{PP7ZT3L2.js → NE7URSJE.js} +1 -1
- package/dist/cdn/{2NOPYDQS.js → NH55ZRSN.js} +1 -1
- package/dist/cdn/{5UNQDPZJ.js → NHZAMO5I.js} +1 -1
- package/dist/cdn/{FAQRULFP.js → NJ45FAUA.js} +1 -1
- package/dist/cdn/NJ5PJX47.js +2 -0
- package/dist/cdn/{JR4KXCXH.js → NNI6LGQD.js} +1 -1
- package/dist/cdn/{ADEVZ6VO.js → NRSGW66G.js} +1 -1
- package/dist/cdn/{RO7G7YI6.js → O26UZS77.js} +1 -1
- package/dist/cdn/{TXDD3LFB.js → OF557DVT.js} +1 -1
- package/dist/cdn/{LWQZWUXM.js → ONFQOLB7.js} +1 -1
- package/dist/cdn/{AOJHIQTX.js → OR3ZMOGW.js} +1 -1
- package/dist/cdn/{6OM4BUVD.js → OU2KFEK7.js} +1 -1
- package/dist/cdn/{OOWF5FYH.js → OVVNERWE.js} +1 -1
- package/dist/cdn/{6G2BU2BR.js → OWMOCBP5.js} +1 -1
- package/dist/cdn/{QW4QGAIG.js → OXTLJPNZ.js} +1 -1
- package/dist/cdn/{LJZ2SOPU.js → PBACFJHC.js} +1 -1
- package/dist/cdn/{OED5NC6N.js → PDJZAHR3.js} +1 -1
- package/dist/cdn/{N3OPOJCY.js → PH7MF23O.js} +1 -1
- package/dist/cdn/{V3BMEZZP.js → PPXAIUP5.js} +1 -1
- package/dist/cdn/{3SFEMBVV.js → PV3EMYHQ.js} +1 -1
- package/dist/cdn/{6UX4Z6VU.js → PYCPKGFF.js} +1 -1
- package/dist/cdn/{RVJNTIZ7.js → Q2HMS3UI.js} +1 -1
- package/dist/cdn/{W63VCIHF.js → Q5XUBNES.js} +1 -1
- package/dist/cdn/{FMHQLHWM.js → Q7DJZTZS.js} +1 -1
- package/dist/cdn/{ULEVE3UM.js → QDNEMQDL.js} +1 -1
- package/dist/cdn/{6PKEUXSO.js → QLYIU55V.js} +1 -1
- package/dist/cdn/{LZUWGRAM.js → RC3W33TY.js} +1 -1
- package/dist/cdn/{VXFUINRN.js → RKE44TXA.js} +1 -1
- package/dist/cdn/{MNLNBW3S.js → RROMCPSS.js} +1 -1
- package/dist/cdn/{XM5NRBJO.js → RTMJCNEQ.js} +1 -1
- package/dist/cdn/{JBTN4GL2.js → RUN2XYMY.js} +1 -1
- package/dist/cdn/{JE27PKO6.js → RVWQECCR.js} +1 -1
- package/dist/cdn/{DXHOQGVA.js → RYAQ3K3R.js} +1 -1
- package/dist/cdn/{Y6J3KKIJ.js → RYTRWCXZ.js} +1 -1
- package/dist/cdn/{7KWU54HM.js → STZRQJUZ.js} +1 -1
- package/dist/cdn/{QVQGIR6D.js → SVZ5TS47.js} +1 -1
- package/dist/cdn/{Y5JWTIP4.js → SXGAGZZF.js} +1 -1
- package/dist/cdn/{J7CQ6QTI.js → SZYFJ2ME.js} +1 -1
- package/dist/cdn/{BAJLAC4A.js → T5SQSJ4I.js} +1 -1
- package/dist/cdn/{QCDIKENQ.js → TDGOH2O5.js} +1 -1
- package/dist/cdn/{HAKD7266.js → TG26NB3V.js} +1 -1
- package/dist/cdn/{A47GCJWF.js → TKV5RNCX.js} +1 -1
- package/dist/cdn/{WULZBTNW.js → TLSINA7Z.js} +1 -1
- package/dist/cdn/TQMA4OZB.js +2 -0
- package/dist/cdn/{XOTOQOK6.js → TRFQEBXS.js} +1 -1
- package/dist/cdn/{QZBFM3AA.js → U244HQF3.js} +1 -1
- package/dist/cdn/{CFIG2V7L.js → U3YXUZHJ.js} +1 -1
- package/dist/cdn/{VNWKALDY.js → U4FOT7ER.js} +1 -1
- package/dist/cdn/{FL6CHMPH.js → UCML2746.js} +1 -1
- package/dist/cdn/{NOCKD7KH.js → UD6QF2NI.js} +1 -1
- package/dist/cdn/{X7JSA5PG.js → UL4XLLGI.js} +1 -1
- package/dist/cdn/{NMP4CEPM.js → UODEI64R.js} +1 -1
- package/dist/cdn/{MZ2TWQRP.js → UUGR43RO.js} +1 -1
- package/dist/cdn/{RZ3PYHOX.js → UUSDRN34.js} +1 -1
- package/dist/cdn/{HAWDOVIO.js → UVAO2IEE.js} +1 -1
- package/dist/cdn/{CIDI6EZW.js → V2BJHPKN.js} +1 -1
- package/dist/cdn/{SM7CZ2LG.js → V45TGYWX.js} +1 -1
- package/dist/cdn/{33HHEIDJ.js → VCA3DNKP.js} +1 -1
- package/dist/cdn/{N2ZR7Q6F.js → VMVHTLRD.js} +1 -1
- package/dist/cdn/{KCMHFNRQ.js → VOO3RMI7.js} +1 -1
- package/dist/cdn/{IVKWYER5.js → VPOSSFKR.js} +1 -1
- package/dist/cdn/{LBBPRMIN.js → VSHOU5LO.js} +1 -1
- package/dist/cdn/{2LHTH7PU.js → WBDPNTXV.js} +1 -1
- package/dist/cdn/{W5DCESH4.js → WBPFDTEJ.js} +1 -1
- package/dist/cdn/{MF7JPFJ4.js → WGYO5OR6.js} +1 -1
- package/dist/cdn/WMCZM6D4.js +2 -0
- package/dist/cdn/{TL3BHZ3H.js → WNAVM6XX.js} +1 -1
- package/dist/cdn/{AG6LWZ63.js → WX2MMWLH.js} +1 -1
- package/dist/cdn/{PGZSF2NC.js → XF56AAZA.js} +1 -1
- package/dist/cdn/{DDRAWHZU.js → XHN4O3NF.js} +1 -1
- package/dist/cdn/{3ATNVL7S.js → YGUNBANA.js} +1 -1
- package/dist/cdn/{ZRBPUXRN.js → YKWANHMZ.js} +1 -1
- package/dist/cdn/{JWH3UFIH.js → YSVPE3RI.js} +1 -1
- package/dist/cdn/{JO7B2R5F.js → YTQQDJUX.js} +1 -1
- package/dist/cdn/{O6JPYYGF.js → ZD53HSIG.js} +1 -1
- package/dist/cdn/{HL4M23YL.js → ZEOBDRTD.js} +1 -1
- package/dist/cdn/{D3LKHYLJ.js → ZOJOWYGT.js} +1 -1
- package/dist/cdn/{YFXHW7I2.js → ZQDX6D67.js} +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-popup/customElement.js +105 -105
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +5 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +15 -8
- package/dist/components/arcgis-presentation/customElement.js +249 -196
- package/dist/components/arcgis-presentation-captions/customElement.js +21 -15
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +49 -52
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/5CKHTWHC.js +0 -2
- package/dist/cdn/65CSQYOK.js +0 -2
- package/dist/cdn/DSHFA5OM.js +0 -2
- package/dist/cdn/GRYRJF75.js +0 -4
- package/dist/cdn/ILA4VRUF.js +0 -2
- package/dist/cdn/UVGSA7KM.js +0 -2
- package/dist/cdn/YLKEVZLN.js +0 -2
- package/dist/cdn/ZVDWGIFU.js +0 -2
|
@@ -4,13 +4,13 @@ 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
|
|
8
|
-
import { m as
|
|
7
|
+
import { useDirection as N, usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { m as O } 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
|
-
import { classes as
|
|
11
|
+
import { classes as x } from "@arcgis/toolkit/dom";
|
|
12
12
|
import { createRef as m, ref as f } from "lit/directives/ref.js";
|
|
13
|
-
import { watch as
|
|
13
|
+
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import B from "@arcgis/core/support/actions/ActionButton.js";
|
|
15
15
|
import { t as H } from "../../chunks/screenLocation.js";
|
|
16
16
|
import "../arcgis-search-result-renderer/customElement.js";
|
|
@@ -18,7 +18,7 @@ const I = E`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--
|
|
|
18
18
|
function b(k) {
|
|
19
19
|
return k && Number.parseInt(k.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
|
|
20
20
|
}
|
|
21
|
-
const j =
|
|
21
|
+
const j = O(F), C = {
|
|
22
22
|
buttonEnabled: !0,
|
|
23
23
|
position: "auto",
|
|
24
24
|
breakpoint: {
|
|
@@ -29,7 +29,7 @@ class W extends S {
|
|
|
29
29
|
constructor() {
|
|
30
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 = () => {
|
|
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 =
|
|
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 = _();
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
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 };
|
|
@@ -51,13 +51,13 @@ class W extends S {
|
|
|
51
51
|
return this._getCurrentDockPosition();
|
|
52
52
|
}
|
|
53
53
|
get dockOptions() {
|
|
54
|
-
return this._dockOptions ||
|
|
54
|
+
return this._dockOptions || C;
|
|
55
55
|
}
|
|
56
56
|
set dockOptions(t) {
|
|
57
|
-
const e = { ...
|
|
58
|
-
|
|
59
|
-
const r = { ...e, ...t }, n = { ...e.breakpoint, ...
|
|
60
|
-
typeof
|
|
57
|
+
const e = { ...C }, o = this.viewModel?.view?.breakpoints, i = {};
|
|
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;
|
|
61
61
|
}
|
|
62
62
|
get selectedDrillInFeature() {
|
|
63
63
|
return this._featuresComponent.value?.selectedDrillInFeature ?? null;
|
|
@@ -91,13 +91,13 @@ class W extends S {
|
|
|
91
91
|
}
|
|
92
92
|
loaded() {
|
|
93
93
|
this.manager.onLifecycle(() => [
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
const { _dockAction: t, dockOptions: e } = this,
|
|
98
|
-
|
|
94
|
+
h(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled, this._direction], () => this._handleDockIcon(), { initial: !0 }),
|
|
95
|
+
h(() => [this.dockEnabled, this.messages?.undock, this.messages?.dock], () => this._handleDockEnabled(), { initial: !0 }),
|
|
96
|
+
h(() => [this.dockOptions, this._featuresComponent.value], () => {
|
|
97
|
+
const { _dockAction: t, dockOptions: e } = this, o = this._featuresComponent.value?.headerActions;
|
|
98
|
+
o?.remove(t), e.buttonEnabled && o?.add(t);
|
|
99
99
|
}, { initial: !0 }),
|
|
100
|
-
|
|
100
|
+
h(() => [
|
|
101
101
|
this._pointerNode.value,
|
|
102
102
|
this.alignment,
|
|
103
103
|
this.currentAlignment,
|
|
@@ -108,16 +108,16 @@ class W extends S {
|
|
|
108
108
|
this.viewModel?.location,
|
|
109
109
|
this.viewModel?.view?.size
|
|
110
110
|
], () => this._positionContainer(), { initial: !0 }),
|
|
111
|
-
|
|
111
|
+
h(() => this._mainContainerNode.value, (t) => {
|
|
112
112
|
this._popupResizeObserver.disconnect(), t && this._popupResizeObserver.observe(t);
|
|
113
113
|
}, { initial: !0 }),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
h(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
|
|
115
|
+
h(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
|
|
116
|
+
h(() => this.view?.map, (t) => {
|
|
117
117
|
this.viewModel.map = t;
|
|
118
118
|
}, { initial: !0 }),
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
h(() => this.screenLocation, (t, e) => this._autoClose(t, e)),
|
|
120
|
+
h(() => [this.active, this._containerNode.value, this.dockEnabled, this.topLayerDisabled], () => this._togglePopover(), { initial: !0 })
|
|
121
121
|
]);
|
|
122
122
|
}
|
|
123
123
|
_togglePopover() {
|
|
@@ -136,45 +136,45 @@ class W extends S {
|
|
|
136
136
|
t.stopPropagation(), t.detail.action === this._dockAction && (this.dockEnabled = !this.dockEnabled), this.arcgisTriggerAction.emit({ action: t.detail.action });
|
|
137
137
|
}
|
|
138
138
|
_isOutsideView(t) {
|
|
139
|
-
const { popupHeight: e, popupWidth:
|
|
140
|
-
return Number.isNaN(
|
|
139
|
+
const { popupHeight: e, popupWidth: o, screenLocation: i, side: r, view: n } = t;
|
|
140
|
+
return Number.isNaN(o) || Number.isNaN(e) || !n || !i ? !1 : r === "right" && i.x + o / 2 > n.width || r === "left" && i.x - o / 2 < 0 || r === "top" && i.y - e < 0 || r === "bottom" && i.y + e > n.height;
|
|
141
141
|
}
|
|
142
142
|
_getPointerSize() {
|
|
143
|
-
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null,
|
|
144
|
-
return Math.hypot(
|
|
143
|
+
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, o = b(e?.height), i = b(e?.width);
|
|
144
|
+
return Math.hypot(o, i);
|
|
145
145
|
}
|
|
146
146
|
_calculateAutoAlignment(t) {
|
|
147
147
|
if (t !== "auto")
|
|
148
148
|
return t;
|
|
149
|
-
const { _mainContainerNode: e, _popupRect:
|
|
150
|
-
if (n == null || !r || !
|
|
149
|
+
const { _mainContainerNode: e, _popupRect: o, viewModel: i } = this, { view: r } = i, { screenLocation: n } = this;
|
|
150
|
+
if (n == null || !r || !o || !e.value)
|
|
151
151
|
return "top-center";
|
|
152
|
-
const
|
|
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({
|
|
153
153
|
popupHeight: u,
|
|
154
|
-
popupWidth:
|
|
154
|
+
popupWidth: p,
|
|
155
155
|
screenLocation: n,
|
|
156
156
|
side: "right",
|
|
157
157
|
view: r
|
|
158
|
-
}),
|
|
158
|
+
}), D = this._isOutsideView({
|
|
159
159
|
popupHeight: u,
|
|
160
|
-
popupWidth:
|
|
160
|
+
popupWidth: p,
|
|
161
161
|
screenLocation: n,
|
|
162
162
|
side: "left",
|
|
163
163
|
view: r
|
|
164
164
|
}), w = this._isOutsideView({
|
|
165
165
|
popupHeight: u,
|
|
166
|
-
popupWidth:
|
|
166
|
+
popupWidth: p,
|
|
167
167
|
screenLocation: n,
|
|
168
168
|
side: "top",
|
|
169
169
|
view: r
|
|
170
|
-
}),
|
|
170
|
+
}), z = this._isOutsideView({
|
|
171
171
|
popupHeight: u,
|
|
172
|
-
popupWidth:
|
|
172
|
+
popupWidth: p,
|
|
173
173
|
screenLocation: n,
|
|
174
174
|
side: "bottom",
|
|
175
175
|
view: r
|
|
176
176
|
});
|
|
177
|
-
return
|
|
177
|
+
return D ? w ? "bottom-right" : "top-right" : M ? w ? "bottom-left" : "top-left" : w ? z ? "top-center" : "bottom-center" : "top-center";
|
|
178
178
|
}
|
|
179
179
|
_callCurrentAlignment(t) {
|
|
180
180
|
return typeof t == "function" ? t.call(this) : t;
|
|
@@ -194,11 +194,11 @@ class W extends S {
|
|
|
194
194
|
_calculateAutoDockPosition(t) {
|
|
195
195
|
if (t !== "auto")
|
|
196
196
|
return t;
|
|
197
|
-
const e = this.viewModel?.view,
|
|
197
|
+
const e = this.viewModel?.view, o = "top-end";
|
|
198
198
|
if (!e)
|
|
199
|
-
return
|
|
200
|
-
const { breakpoints:
|
|
201
|
-
return
|
|
199
|
+
return o;
|
|
200
|
+
const { breakpoints: i } = e;
|
|
201
|
+
return i?.xsmall && e.width <= i.xsmall ? "bottom-center" : o;
|
|
202
202
|
}
|
|
203
203
|
_getDockIcon() {
|
|
204
204
|
const t = this._getDockPosition(), { _direction: e } = this;
|
|
@@ -228,39 +228,39 @@ class W extends S {
|
|
|
228
228
|
_handleDockEnabled() {
|
|
229
229
|
this._dockAction.title = this.dockEnabled ? this.messages?.undock : this.messages?.dock;
|
|
230
230
|
}
|
|
231
|
-
_calculateAlignmentPosition(t, e,
|
|
232
|
-
if (t < 0 || e < 0 || !
|
|
231
|
+
_calculateAlignmentPosition(t, e, o, i) {
|
|
232
|
+
if (t < 0 || e < 0 || !o || !i || t > o.width || e > o.height)
|
|
233
233
|
return;
|
|
234
|
-
const {
|
|
235
|
-
if (
|
|
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")
|
|
236
236
|
return {
|
|
237
|
-
top:
|
|
238
|
-
left:
|
|
237
|
+
top: s - (i.height + d),
|
|
238
|
+
left: n - i.width - d
|
|
239
239
|
};
|
|
240
|
-
if (
|
|
240
|
+
if (a === "top-center")
|
|
241
241
|
return {
|
|
242
|
-
top:
|
|
243
|
-
left:
|
|
242
|
+
top: s - (i.height + c),
|
|
243
|
+
left: n - i.width / 2
|
|
244
244
|
};
|
|
245
|
-
if (
|
|
245
|
+
if (a === "top-right" || a === "top-end" && l === "ltr" || a === "top-start" && l === "rtl")
|
|
246
246
|
return {
|
|
247
|
-
top:
|
|
248
|
-
left:
|
|
247
|
+
top: s - (i.height + d),
|
|
248
|
+
left: n + d
|
|
249
249
|
};
|
|
250
|
-
if (
|
|
250
|
+
if (a === "bottom-left" || a === "bottom-start" && l === "ltr" || a === "bottom-end" && l === "rtl")
|
|
251
251
|
return {
|
|
252
|
-
top:
|
|
253
|
-
left:
|
|
252
|
+
top: s + d,
|
|
253
|
+
left: n - i.width - d
|
|
254
254
|
};
|
|
255
|
-
if (
|
|
255
|
+
if (a === "bottom-center")
|
|
256
256
|
return {
|
|
257
|
-
top:
|
|
258
|
-
left:
|
|
257
|
+
top: s + c,
|
|
258
|
+
left: n - i.width / 2
|
|
259
259
|
};
|
|
260
|
-
if (
|
|
260
|
+
if (a === "bottom-right" || a === "bottom-end" && l === "ltr" || a === "bottom-start" && l === "rtl")
|
|
261
261
|
return {
|
|
262
|
-
top:
|
|
263
|
-
left:
|
|
262
|
+
top: s + d,
|
|
263
|
+
left: n + d
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
266
|
_getPositionStyleValue(t) {
|
|
@@ -272,79 +272,79 @@ class W extends S {
|
|
|
272
272
|
const { screenLocation: t } = this;
|
|
273
273
|
if (t == null)
|
|
274
274
|
return;
|
|
275
|
-
const e = this.view?.container?.getBoundingClientRect(),
|
|
276
|
-
this._popupRect =
|
|
277
|
-
const
|
|
278
|
-
if (
|
|
279
|
-
return `inset: ${this._getPositionStyleValue(
|
|
275
|
+
const e = this.view?.container?.getBoundingClientRect(), o = this._mainContainerNode.value?.getBoundingClientRect();
|
|
276
|
+
this._popupRect = o;
|
|
277
|
+
const i = this._calculateAlignmentPosition(t.x, t.y, e, o);
|
|
278
|
+
if (i)
|
|
279
|
+
return `inset: ${this._getPositionStyleValue(i.top)} ${this._getPositionStyleValue(i.right)} ${this._getPositionStyleValue(i.bottom)} ${this._getPositionStyleValue(i.left)};`;
|
|
280
280
|
}
|
|
281
|
-
_dockingThresholdCrossed(t, e,
|
|
282
|
-
const [
|
|
283
|
-
return
|
|
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;
|
|
284
284
|
}
|
|
285
285
|
_updateDockEnabledForViewSize(t, e) {
|
|
286
286
|
if (!t || !e || !this.viewModel?.view?.ready)
|
|
287
287
|
return;
|
|
288
|
-
const { dockOptions:
|
|
289
|
-
typeof
|
|
288
|
+
const { dockOptions: o } = this, i = o.breakpoint;
|
|
289
|
+
typeof i == "object" && this._dockingThresholdCrossed(t, e, i) && this._setDockEnabledForViewSize(o);
|
|
290
290
|
}
|
|
291
291
|
_shouldDockAtCurrentViewSize(t) {
|
|
292
|
-
const e = t.breakpoint,
|
|
293
|
-
if (!
|
|
292
|
+
const e = t.breakpoint, o = this.viewModel?.view?.ui;
|
|
293
|
+
if (!o)
|
|
294
294
|
return !1;
|
|
295
|
-
const { width:
|
|
296
|
-
if (Number.isNaN(
|
|
295
|
+
const { width: i, height: r } = o;
|
|
296
|
+
if (Number.isNaN(i) || Number.isNaN(r) || typeof e != "object")
|
|
297
297
|
return !1;
|
|
298
|
-
const n = typeof e.width == "number" &&
|
|
299
|
-
return n ||
|
|
298
|
+
const n = typeof e.width == "number" && i <= (e.width ?? 0), s = typeof e.height == "number" && r <= (e.height ?? 0);
|
|
299
|
+
return n || s;
|
|
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:
|
|
306
|
-
"aligned-top-center":
|
|
307
|
-
"aligned-bottom-center":
|
|
308
|
-
"aligned-top-left":
|
|
309
|
-
"aligned-bottom-left":
|
|
310
|
-
"aligned-top-right":
|
|
311
|
-
"aligned-bottom-right":
|
|
312
|
-
"is-docked":
|
|
313
|
-
shadow:
|
|
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 = {
|
|
306
|
+
"aligned-top-center": o === "top-center",
|
|
307
|
+
"aligned-bottom-center": o === "bottom-center",
|
|
308
|
+
"aligned-top-left": o === "top-left" || o === "top-start" && t === "ltr" || o === "top-end" && t === "rtl",
|
|
309
|
+
"aligned-bottom-left": o === "bottom-left" || o === "bottom-start" && t === "ltr" || o === "bottom-end" && t === "rtl",
|
|
310
|
+
"aligned-top-right": o === "top-right" || o === "top-end" && t === "ltr" || o === "top-start" && t === "rtl",
|
|
311
|
+
"aligned-bottom-right": o === "bottom-right" || o === "bottom-end" && t === "ltr" || o === "bottom-start" && t === "rtl",
|
|
312
|
+
"is-docked": l,
|
|
313
|
+
shadow: a,
|
|
314
314
|
"is-rtl": this._direction === "rtl",
|
|
315
|
-
"is-docked-top-start":
|
|
316
|
-
"is-docked-top-end":
|
|
317
|
-
"is-docked-top-left":
|
|
318
|
-
"is-docked-top-center":
|
|
319
|
-
"is-docked-top-right":
|
|
320
|
-
"is-docked-bottom-left":
|
|
321
|
-
"is-docked-bottom-center":
|
|
322
|
-
"is-docked-bottom-right":
|
|
323
|
-
"is-docked-bottom-start":
|
|
324
|
-
"is-docked-bottom-end":
|
|
315
|
+
"is-docked-top-start": i === "top-start",
|
|
316
|
+
"is-docked-top-end": i === "top-end",
|
|
317
|
+
"is-docked-top-left": i === "top-left",
|
|
318
|
+
"is-docked-top-center": i === "top-center",
|
|
319
|
+
"is-docked-top-right": i === "top-right",
|
|
320
|
+
"is-docked-bottom-left": i === "bottom-left",
|
|
321
|
+
"is-docked-bottom-center": i === "bottom-center",
|
|
322
|
+
"is-docked-bottom-right": i === "bottom-right",
|
|
323
|
+
"is-docked-bottom-start": i === "bottom-start",
|
|
324
|
+
"is-docked-bottom-end": i === "bottom-end",
|
|
325
325
|
"is-xl-width-breakpoint": c === "xlarge",
|
|
326
326
|
"is-lg-width-breakpoint": c === "large",
|
|
327
327
|
"is-md-width-breakpoint": c === "medium",
|
|
328
328
|
"is-sm-width-breakpoint": c === "small",
|
|
329
329
|
"is-xs-width-breakpoint": c === "xsmall",
|
|
330
|
-
"is-xl-height-breakpoint":
|
|
331
|
-
"is-lg-height-breakpoint":
|
|
332
|
-
"is-md-height-breakpoint":
|
|
333
|
-
"is-sm-height-breakpoint":
|
|
334
|
-
"is-xs-height-breakpoint":
|
|
330
|
+
"is-xl-height-breakpoint": d === "xlarge",
|
|
331
|
+
"is-lg-height-breakpoint": d === "large",
|
|
332
|
+
"is-md-height-breakpoint": d === "medium",
|
|
333
|
+
"is-sm-height-breakpoint": d === "small",
|
|
334
|
+
"is-xs-height-breakpoint": d === "xsmall"
|
|
335
335
|
};
|
|
336
|
-
return g`<div style=${T(r)} class=${y(
|
|
336
|
+
return g`<div style=${T(r)} class=${y(x("root", v, {
|
|
337
337
|
hidden: !n || !r && !e
|
|
338
338
|
}))} .ariaHidden=${!n} .ariaLabel=${V(this.heading ?? "")} role=dialog popover=manual ${f(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
|
|
339
339
|
}
|
|
340
340
|
_renderPointer() {
|
|
341
|
-
return !this.dockEnabled || !this.active ? g`<div class="pointer" role=presentation><div class=${y(
|
|
341
|
+
return !this.dockEnabled || !this.active ? g`<div class="pointer" role=presentation><div class=${y(x("pointer-direction", "shadow"))} ${f(this._pointerNode)}></div></div>` : null;
|
|
342
342
|
}
|
|
343
343
|
_renderMainContainer() {
|
|
344
344
|
const t = {
|
|
345
345
|
shadow: this.dockEnabled
|
|
346
346
|
};
|
|
347
|
-
return g`<div class=${y(
|
|
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>`;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
A("arcgis-popup", W);
|
|
@@ -4,7 +4,7 @@ import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
|
4
4
|
import type Slide from "@arcgis/core/webscene/Slide.js";
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
|
7
|
-
export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "onApplySlideComplete" | "onApplySlideStart" | "slideId" | "view">> {}
|
|
7
|
+
export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "onApplySlideCancel" | "onApplySlideComplete" | "onApplySlideStart" | "slideId" | "transitionActive" | "view">> {}
|
|
8
8
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export default class PresentationViewModel extends Accessor {
|
|
@@ -19,11 +19,15 @@ export default class PresentationViewModel extends Accessor {
|
|
|
19
19
|
*/
|
|
20
20
|
accessor keyboardNavigationEnabled: boolean;
|
|
21
21
|
get lastSlideSelected(): boolean;
|
|
22
|
+
accessor onApplySlideCancel: ((slide: Slide) => void) | undefined;
|
|
22
23
|
accessor onApplySlideComplete: ((slide: Slide) => void) | undefined;
|
|
23
24
|
accessor onApplySlideStart: ((slide: Slide) => void) | undefined;
|
|
24
25
|
accessor slideId: string | undefined;
|
|
25
26
|
get slideIndex(): number;
|
|
27
|
+
get slides(): Collection<Slide>;
|
|
26
28
|
get slideSelected(): boolean;
|
|
29
|
+
/** @default false */
|
|
30
|
+
accessor transitionActive: boolean;
|
|
27
31
|
accessor view: SceneView | undefined;
|
|
28
32
|
get visibleSlides(): Collection<Slide>;
|
|
29
33
|
/**
|
|
@@ -47,22 +47,29 @@ export abstract class ArcgisPresentation extends LitElement {
|
|
|
47
47
|
* @default false
|
|
48
48
|
*/
|
|
49
49
|
accessor keyboardNavigationEnabled: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Disable display of popup when slide with popup is applied.
|
|
52
|
-
* Per default the display of popup is disabled.
|
|
53
|
-
* The events arcgisPopupFeaturesRetrieved and arcgisPopupFeatureNotFound will be emitted also when popups are disabled.
|
|
54
|
-
*
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
accessor popupDisabled: boolean;
|
|
58
50
|
/**
|
|
59
51
|
* specifies the size of the component
|
|
60
52
|
*
|
|
61
53
|
* @default "m"
|
|
62
54
|
*/
|
|
63
55
|
accessor scale: "l" | "m" | "s";
|
|
56
|
+
/**
|
|
57
|
+
* Disable display of captions when slide is applied.
|
|
58
|
+
* Per default the display of captions is enabled.
|
|
59
|
+
*
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
accessor slideCaptionsDisabled: boolean;
|
|
64
63
|
/** The id of the slide applied to the view */
|
|
65
64
|
accessor slideId: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Disable display of popup when slide with popup is applied.
|
|
67
|
+
* Per default the display of popup is enabled.
|
|
68
|
+
* The events arcgisPopupFeaturesRetrieved and arcgisPopupFeatureNotFound will be emitted also when popups are disabled.
|
|
69
|
+
*
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
accessor slidePopupDisabled: boolean;
|
|
66
73
|
/**
|
|
67
74
|
* The view associated with the component.
|
|
68
75
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-presentation component will be associated with a map or scene component rather than using the `view` property.
|