@arcgis/map-components 5.1.0-next.10 → 5.1.0-next.12
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/2AYGSNEO.js +2 -0
- package/dist/cdn/{YSDQ5VNK.js → 2EJ4XRH4.js} +1 -1
- package/dist/cdn/{FOMIDTAN.js → 2NOL7QIE.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → 37TNG76C.js} +1 -1
- package/dist/cdn/{GLNRLEZE.js → 3DO7PVNW.js} +1 -1
- package/dist/cdn/{EPQN4FJS.js → 3XMPN66U.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → 3YA25S2J.js} +1 -1
- package/dist/cdn/{5FZLG5YS.js → 42UR6TXZ.js} +1 -1
- package/dist/cdn/4EAZ4PIQ.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{JTEJ2NHE.js → 556MC5SF.js} +1 -1
- package/dist/cdn/{7L5TRJUA.js → 5ITF7Q7U.js} +1 -1
- package/dist/cdn/5LBJB4MP.js +2 -0
- package/dist/cdn/{CUWONRT5.js → 5RGFRTJS.js} +1 -1
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/{UZ7KLWGC.js → 63P5VYGP.js} +1 -1
- package/dist/cdn/{FTBTVD7U.js → 64OEHFBZ.js} +1 -1
- package/dist/cdn/{2PAAPTW5.js → 6CGPJGIB.js} +1 -1
- package/dist/cdn/{AN2ZNLDK.js → 6F6VOBIA.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{I6ZXIPND.js → 7JQZBAFA.js} +1 -1
- package/dist/cdn/{PESPV6VP.js → 7YLXQNEC.js} +1 -1
- package/dist/cdn/A2JO7DWO.js +2 -0
- package/dist/cdn/{D7DDJ2QZ.js → A44ZCOCX.js} +2 -2
- package/dist/cdn/A4UJ53JS.js +2 -0
- package/dist/cdn/{S52VES4H.js → A7JPWYKR.js} +1 -1
- package/dist/cdn/{GS43BIES.js → AEYZDEAH.js} +1 -1
- package/dist/cdn/{CMWIMRU2.js → AJHRJ5EA.js} +1 -1
- package/dist/cdn/{INS77MCT.js → AP2IFWYH.js} +1 -1
- package/dist/cdn/{OAFAR3NG.js → BUOIT34V.js} +1 -1
- package/dist/cdn/{BNJXI23I.js → C24SOTLL.js} +1 -1
- package/dist/cdn/{LSF66JVY.js → C4DJABUI.js} +1 -1
- package/dist/cdn/{SPACZLHW.js → C7YN3AZA.js} +1 -1
- package/dist/cdn/{CXOYV56L.js → CC53K2CR.js} +1 -1
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/{7DTWNSIR.js → CTSWZC3O.js} +1 -1
- package/dist/cdn/{BX7N3KYH.js → CVBNRF34.js} +1 -1
- package/dist/cdn/CWJ5OA5A.js +2 -0
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/D73JFV2R.js +2 -0
- package/dist/cdn/{Y6KRMZWJ.js → DINM6JDS.js} +1 -1
- package/dist/cdn/{CEJGZMGB.js → DTVW3MYT.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → EENOVGOS.js} +1 -1
- package/dist/cdn/EGN3YTD6.js +2 -0
- package/dist/cdn/{YZZJQMH4.js → EM7YCHTU.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → EQCNO3G4.js} +1 -1
- package/dist/cdn/{7ZCMIKP6.js → EX22SAPL.js} +1 -1
- package/dist/cdn/{SSZMOOL6.js → F4HWT5H3.js} +1 -1
- package/dist/cdn/{ERTOHEVB.js → FB6YQKF2.js} +1 -1
- package/dist/cdn/{ACWGHEWO.js → FYTMMPPG.js} +1 -1
- package/dist/cdn/{POEZXWTT.js → GNGZFV2C.js} +1 -1
- package/dist/cdn/{LCUXPDUW.js → GY5226CJ.js} +1 -1
- package/dist/cdn/{QX27DK37.js → HB3W3CO5.js} +1 -1
- package/dist/cdn/{3A7HYDQP.js → HE6QV4XG.js} +1 -1
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{4URF7CKU.js → HH6BDERO.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → HO4JUZ6N.js} +1 -1
- package/dist/cdn/{JLIZWDU5.js → I5QTPPFJ.js} +1 -1
- package/dist/cdn/{VGTTCLO3.js → IDDSHZVB.js} +1 -1
- package/dist/cdn/{7CBBWB77.js → J55YUTPM.js} +1 -1
- package/dist/cdn/JRPIJ24K.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → K27JJT2P.js} +1 -1
- package/dist/cdn/{LVSNYSCO.js → KAXJKSFB.js} +1 -1
- package/dist/cdn/{RXFUZXUX.js → KHM3S4Q6.js} +1 -1
- package/dist/cdn/{PFYZ7JRB.js → KNAUIRT6.js} +1 -1
- package/dist/cdn/{IY2G6DLG.js → KY2UAUNI.js} +1 -1
- package/dist/cdn/{JMHCIJG4.js → LG4PZVHS.js} +1 -1
- package/dist/cdn/{XWAT4IT2.js → LHEP4QSS.js} +1 -1
- package/dist/cdn/LIEE5WCD.js +2 -0
- package/dist/cdn/{KQNQ6ITI.js → LZQCXN6A.js} +1 -1
- package/dist/cdn/{JCV26SSG.js → M4L5EDRB.js} +1 -1
- package/dist/cdn/{2K45WUVH.js → M65HMJZA.js} +1 -1
- package/dist/cdn/{U5HXLA7K.js → MAGJWMWM.js} +1 -1
- package/dist/cdn/{XTFD35UI.js → MDCB7SO4.js} +1 -1
- package/dist/cdn/{KLBNUE5Q.js → N3BD4UQD.js} +1 -1
- package/dist/cdn/{7357JBTM.js → NGKNECON.js} +1 -1
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/{YR3SQWM6.js → NRBM3YR6.js} +1 -1
- package/dist/cdn/{77ERVO5S.js → NRV7VFJ7.js} +1 -1
- package/dist/cdn/{YBJEMNAU.js → NSGDR7V5.js} +1 -1
- package/dist/cdn/{CQ2L75M3.js → NZAO2BVV.js} +1 -1
- package/dist/cdn/{OJNMPOYD.js → OCEXQCFT.js} +1 -1
- package/dist/cdn/{FANKLSAT.js → OD5DHUHZ.js} +1 -1
- package/dist/cdn/{L6LZYPWJ.js → ORH27QWU.js} +1 -1
- package/dist/cdn/{5PJEJPFY.js → OSPWEZQJ.js} +1 -1
- package/dist/cdn/{BB5CXHDQ.js → PISCYSA5.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → PMQLTMQ4.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{GHA2ANJZ.js → QJOQNSYB.js} +1 -1
- package/dist/cdn/{LZ3PMD7Z.js → QVMTO5BV.js} +1 -1
- package/dist/cdn/{L7NIKN24.js → R4V6HGJH.js} +1 -1
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{4YQLL44L.js → RP5SO6BA.js} +1 -1
- package/dist/cdn/{JC4DYMKT.js → RRXH4CSV.js} +1 -1
- package/dist/cdn/{7S4WE6H3.js → RUB6EORR.js} +1 -1
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{SFM3XWUA.js → S6G6XXTM.js} +1 -1
- package/dist/cdn/{HVI2FE73.js → SZ5MNKOW.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T2ZF4XIZ.js} +1 -1
- package/dist/cdn/{U5FUT6DD.js → TP6I2LJO.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → TPOLS4YM.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → TUW6NLYY.js} +1 -1
- package/dist/cdn/{KG2M6IQS.js → U4QW6VHU.js} +1 -1
- package/dist/cdn/{SZNBYDQI.js → UAO23YMW.js} +1 -1
- package/dist/cdn/{LY735GHL.js → UHFSSX2G.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → UKKUFJLL.js} +1 -1
- package/dist/cdn/{4PWBNKOA.js → UKNKW6MH.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → UM2FDZJJ.js} +1 -1
- package/dist/cdn/{DLUXWET4.js → UNX4CKAF.js} +1 -1
- package/dist/cdn/{5LD4AU4Q.js → VNOZYJLP.js} +1 -1
- package/dist/cdn/{OMKVQOUI.js → VU3SJK5Z.js} +1 -1
- package/dist/cdn/{I2WEEE2E.js → WGWNMYUH.js} +1 -1
- package/dist/cdn/{LLNNQ2ED.js → WOV3LB6K.js} +1 -1
- package/dist/cdn/{ZIX3WE2Q.js → WTMMFDEH.js} +1 -1
- package/dist/cdn/{E4YMNWRJ.js → WW6L6XX4.js} +1 -1
- package/dist/cdn/{BAPY2HFP.js → XMSGTOUV.js} +1 -1
- package/dist/cdn/XMZSFKKO.js +2 -0
- package/dist/cdn/{LMV6L2OF.js → XRP25NGI.js} +1 -1
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/{RWJKQEMK.js → XXZ3CKTX.js} +1 -1
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → YC6JWXOW.js} +1 -1
- package/dist/cdn/{GUAI5SHN.js → YFUI4F5L.js} +1 -1
- package/dist/cdn/{N76CLHYJ.js → ZD25GJYW.js} +1 -1
- package/dist/cdn/{67IVXIOR.js → ZD5FJHIQ.js} +1 -1
- package/dist/cdn/{UDPUTCKL.js → ZM2YXU7Y.js} +1 -1
- package/dist/cdn/{2BJHF4JK.js → ZURN5EZI.js} +1 -1
- package/dist/cdn/{KNJ7PME5.js → ZVTPU2MO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +18 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +42 -42
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +33 -33
- package/dist/components/arcgis-search/customElement.d.ts +11 -11
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +66 -85
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +33 -38
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -34
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +63 -84
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +66 -81
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +58 -75
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +61 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- 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 +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/AIRDJCFV.js +0 -2
- package/dist/cdn/CKBTMA4D.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CZE43OAC.js +0 -2
- package/dist/cdn/D6YUW72R.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/I3PBMKT5.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as N } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as E, html as o } from "lit";
|
|
4
|
-
import { keyed as
|
|
4
|
+
import { keyed as b } from "lit/directives/keyed.js";
|
|
5
5
|
import O from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
|
-
import { classes as
|
|
7
|
+
import { classes as F } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { m as R } from "../../chunks/useViewModel.js";
|
|
10
10
|
import { LitElement as P, createEvent as C, renderElement as H, nothing as d, safeClassMap as $ } from "@arcgis/lumina";
|
|
@@ -50,7 +50,7 @@ class q extends P {
|
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
|
-
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
53
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, visible: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureViewModelAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
56
|
this.styles = G;
|
|
@@ -70,6 +70,12 @@ class q extends P {
|
|
|
70
70
|
get _collapseEnabled() {
|
|
71
71
|
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureViewModel?.title) && !!(this.content || this.viewModel.selectedFeatureViewModel?.content));
|
|
72
72
|
}
|
|
73
|
+
get visible() {
|
|
74
|
+
return this.viewModel.visible;
|
|
75
|
+
}
|
|
76
|
+
set visible(e) {
|
|
77
|
+
this.viewModel.visible = e;
|
|
78
|
+
}
|
|
73
79
|
get chartAnimationDisabled() {
|
|
74
80
|
return !(this.viewModel.featureViewModelAbilities?.chartAnimation ?? !0);
|
|
75
81
|
}
|
|
@@ -119,10 +125,10 @@ class q extends P {
|
|
|
119
125
|
this.viewModel.featureViewModelAbilities ??= {}, this.viewModel.featureViewModelAbilities.utilityNetworkAssociationsContent = !e;
|
|
120
126
|
}
|
|
121
127
|
get open() {
|
|
122
|
-
return this.
|
|
128
|
+
return this.visible;
|
|
123
129
|
}
|
|
124
130
|
set open(e) {
|
|
125
|
-
this.
|
|
131
|
+
this.visible = e;
|
|
126
132
|
}
|
|
127
133
|
get selectedDrillInFeature() {
|
|
128
134
|
const e = Array.from(this.flowItems).at(-1);
|
|
@@ -135,7 +141,7 @@ class q extends P {
|
|
|
135
141
|
return this.viewModel.clear();
|
|
136
142
|
}
|
|
137
143
|
async close() {
|
|
138
|
-
this.
|
|
144
|
+
this.visible = !1;
|
|
139
145
|
}
|
|
140
146
|
async destroy() {
|
|
141
147
|
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
@@ -272,7 +278,7 @@ class q extends P {
|
|
|
272
278
|
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
273
279
|
}
|
|
274
280
|
_viewChange() {
|
|
275
|
-
this.viewModel.clear(), this.
|
|
281
|
+
this.viewModel.clear(), this.visible = !1;
|
|
276
282
|
}
|
|
277
283
|
_closeOpenActionMenu() {
|
|
278
284
|
const { _actionBarMenuNode: e } = this;
|
|
@@ -347,7 +353,7 @@ class q extends P {
|
|
|
347
353
|
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
348
354
|
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(i.keys(), (n) => {
|
|
349
355
|
const a = i.get(n)?.map((r) => this._renderFeatureMenuItem(r)), l = n ? n.title ?? this.messages.untitled : null;
|
|
350
|
-
return !this.hideFeatureListLayerTitle && l !== null ?
|
|
356
|
+
return !this.hideFeatureListLayerTitle && l !== null ? b(n ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
351
357
|
})}</calcite-list>` : null;
|
|
352
358
|
}
|
|
353
359
|
_renderHeaderAction(e) {
|
|
@@ -362,17 +368,17 @@ class q extends P {
|
|
|
362
368
|
if (l === "list" && !r)
|
|
363
369
|
return null;
|
|
364
370
|
const _ = a.length === 0 && (l === "list" ? !!r : !p);
|
|
365
|
-
return o`<calcite-flow-item class=${$(
|
|
371
|
+
return o`<calcite-flow-item class=${$(F({
|
|
366
372
|
"content-feature": !0,
|
|
367
373
|
"flow-item-collapsed": i
|
|
368
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(
|
|
374
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(F("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
369
375
|
}
|
|
370
376
|
_renderFeatureMenuContainer() {
|
|
371
377
|
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: n, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: _, featureViewModels: I, pendingPromisesCount: T } = e, k = i ?? s.selectFeature;
|
|
372
378
|
if (n === "feature" && !a)
|
|
373
379
|
return null;
|
|
374
380
|
const D = n === "list" ? !l : a;
|
|
375
|
-
return o`<calcite-flow-item class=${$(
|
|
381
|
+
return o`<calcite-flow-item class=${$(F({
|
|
376
382
|
"flow-item-collapsed": p
|
|
377
383
|
}))} .closable=${n === "list" && !t} .closed=${!_} .collapsed=${n === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${n === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
378
384
|
total: I.length
|
|
@@ -401,7 +407,7 @@ class q extends P {
|
|
|
401
407
|
}
|
|
402
408
|
_renderContent() {
|
|
403
409
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
404
|
-
return t ?
|
|
410
|
+
return t ? b(t, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? b(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
405
411
|
}
|
|
406
412
|
}
|
|
407
413
|
N("arcgis-features", q);
|
|
@@ -10,10 +10,10 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* The Floor Filter component simplifies visualization of GIS data for a specific floor of a
|
|
12
12
|
* building in your application. It allows you to filter down the floor plan data displayed in your
|
|
13
|
-
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](
|
|
14
|
-
* or a [level](
|
|
13
|
+
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to a [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), a [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility) in the site,
|
|
14
|
+
* or a [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level) in the facility.
|
|
15
15
|
*
|
|
16
|
-
* To visualize your data based on [site](
|
|
16
|
+
* To visualize your data based on [site](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#site), [facility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#facility), or [level](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-floor-filter/#level), your map must contain the related
|
|
17
17
|
* floor plan layers, with features linked together in a floor plan hierarchy.
|
|
18
18
|
* Once you define your map as floor-aware in the map properties, the interactive, on-screen
|
|
19
19
|
* Floor Filter component appears and can be used to explore the floor-aware data based on the
|
|
@@ -102,7 +102,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
102
102
|
accessor customColor: Color | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Returns `true` if the grid is enabled for display.
|
|
105
|
-
* Use [trySetDisplayEnabled](
|
|
105
|
+
* Use [trySetDisplayEnabled()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#trySetDisplayEnabled) to enable or disable grid display.
|
|
106
106
|
*
|
|
107
107
|
* @default false
|
|
108
108
|
*/
|
|
@@ -110,7 +110,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
110
110
|
/**
|
|
111
111
|
* Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
|
|
112
112
|
* grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
|
|
113
|
-
* The way additional grid lines are shown is controlled by the [majorLineInterval](
|
|
113
|
+
* The way additional grid lines are shown is controlled by the [majorLineInterval](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#majorLineInterval) property.
|
|
114
114
|
*
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
@@ -127,7 +127,7 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
127
127
|
get gridControlsEnabled(): boolean;
|
|
128
128
|
/**
|
|
129
129
|
* True if the grid is currently not displayed (and therefore also not a valid snap target),
|
|
130
|
-
* because [dynamicScaling](
|
|
130
|
+
* because [dynamicScaling](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#dynamicScaling) is off and the grid cells are too small
|
|
131
131
|
* to render at the current scale.
|
|
132
132
|
*
|
|
133
133
|
* @default false
|
|
@@ -278,8 +278,8 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
278
278
|
/** Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically. */
|
|
279
279
|
accessor rotation: number;
|
|
280
280
|
/**
|
|
281
|
-
* Controls snapping behavior if [snappingOptions](
|
|
282
|
-
* If [snappingOptions](
|
|
281
|
+
* Controls snapping behavior if [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) has been defined.
|
|
282
|
+
* If [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#snappingOptions) have been defined, disabling or enabling grid snapping will
|
|
283
283
|
* also disable or enable grid display.
|
|
284
284
|
*
|
|
285
285
|
* @default false
|
|
@@ -292,20 +292,20 @@ export abstract class ArcgisGridControls extends LitElement {
|
|
|
292
292
|
*/
|
|
293
293
|
accessor snappingOptions: SnappingOptions | null | undefined;
|
|
294
294
|
/**
|
|
295
|
-
* Length of a grid cell. Grid cells are always square. Defined in [unit](
|
|
295
|
+
* Length of a grid cell. Grid cells are always square. Defined in [unit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#unit).
|
|
296
296
|
*
|
|
297
297
|
* @default 1
|
|
298
298
|
*/
|
|
299
299
|
accessor spacing: number;
|
|
300
300
|
/**
|
|
301
301
|
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
302
|
-
* the [customColor](
|
|
302
|
+
* the [customColor](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
303
303
|
*
|
|
304
304
|
* @default "dark"
|
|
305
305
|
*/
|
|
306
306
|
accessor theme: GridTheme | null | undefined;
|
|
307
307
|
/**
|
|
308
|
-
* Unit of measure (foot, meter, etc) used when defining the [spacing](
|
|
308
|
+
* Unit of measure (foot, meter, etc) used when defining the [spacing](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-grid-controls/#spacing) grid cell.
|
|
309
309
|
* Note that units are defined relatively to the map's spatial reference length unit,
|
|
310
310
|
* which will not correspond to geographic distance unless using a special-purpose basemap
|
|
311
311
|
* within a supported target area.
|
|
@@ -10,7 +10,7 @@ import type { LayerInfo } from "@arcgis/core/widgets/types.js";
|
|
|
10
10
|
import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* The Legend component displays the symbols and labels used to represent layers in
|
|
13
|
+
* The Legend component displays the symbols and labels used to represent layers in an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
14
14
|
* Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
|
|
15
15
|
*
|
|
16
16
|
* The legend automatically updates when:
|
|
@@ -9,7 +9,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
9
9
|
/**
|
|
10
10
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
11
|
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
12
|
-
* in
|
|
12
|
+
* in an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
13
13
|
* displayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
14
14
|
*
|
|
15
15
|
* 
|
|
@@ -26,7 +26,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
26
26
|
*
|
|
27
27
|
* **Known limitation**
|
|
28
28
|
*
|
|
29
|
-
* Line Of Sight is only supported in a 3D [
|
|
29
|
+
* Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
30
30
|
*
|
|
31
31
|
* **See also**
|
|
32
32
|
*
|
|
@@ -57,9 +57,9 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
57
57
|
* The [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
58
58
|
* created or modified by the component.
|
|
59
59
|
*
|
|
60
|
-
* When connecting the Line Of Sight component to the [
|
|
60
|
+
* When connecting the Line Of Sight component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
61
61
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
62
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
62
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
63
63
|
* You can then wait for the [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
64
64
|
* to be created before accessing the analysis results.
|
|
65
65
|
*
|
|
@@ -207,7 +207,7 @@ export abstract class ArcgisLineOfSight extends LitElement {
|
|
|
207
207
|
accessor view: SceneView | undefined;
|
|
208
208
|
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
209
209
|
clear(): Promise<void>;
|
|
210
|
-
/** After [stop()](
|
|
210
|
+
/** After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
|
|
211
211
|
continue(): Promise<void>;
|
|
212
212
|
/** Permanently destroy the component. */
|
|
213
213
|
destroy(): Promise<void>;
|
|
@@ -53,7 +53,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
53
53
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
54
54
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
55
55
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
56
|
-
* @slot [popup] - Slot for the [
|
|
56
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
57
57
|
* @since 4.32
|
|
58
58
|
*/
|
|
59
59
|
export abstract class ArcgisLinkChart extends LitElement {
|
|
@@ -438,7 +438,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
438
438
|
*/
|
|
439
439
|
accessor popup: Popup | null | undefined;
|
|
440
440
|
/**
|
|
441
|
-
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) property (representing the component) will be used for popups instead of the [popup](
|
|
441
|
+
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) property (representing the widget).
|
|
442
442
|
*
|
|
443
443
|
* **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
|
|
444
444
|
*
|
|
@@ -453,14 +453,14 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
453
453
|
*/
|
|
454
454
|
accessor popupComponentEnabled: boolean;
|
|
455
455
|
/**
|
|
456
|
-
* Controls whether the default popup opens automatically when users click on the view. This controls both the [
|
|
456
|
+
* Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
|
|
457
457
|
*
|
|
458
458
|
* @default false
|
|
459
459
|
* @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#openPopup)
|
|
460
460
|
*/
|
|
461
461
|
accessor popupDisabled: boolean;
|
|
462
462
|
/**
|
|
463
|
-
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](
|
|
463
|
+
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupComponentEnabled) property must be set to `true` to use this property.
|
|
464
464
|
*
|
|
465
465
|
* **Note:** This is a beta feature and may change in future releases.
|
|
466
466
|
*
|
|
@@ -512,7 +512,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
512
512
|
* The view may be rotated by directly setting
|
|
513
513
|
* the rotation or by using the following mouse event: `Right-click + Drag`.
|
|
514
514
|
* WebLinkChart rotation may be disabled by setting the `rotationEnabled` property
|
|
515
|
-
* in [constraints](
|
|
515
|
+
* in [constraints](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#constraints) to `false`.
|
|
516
516
|
*
|
|
517
517
|
* @default 0
|
|
518
518
|
* @example
|
|
@@ -789,7 +789,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
789
789
|
center?: LinkChartView["center"] | null | undefined | number[] | string;
|
|
790
790
|
};
|
|
791
791
|
/**
|
|
792
|
-
* Fires when
|
|
792
|
+
* Fires when an arcgis-link-chart fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
793
793
|
*
|
|
794
794
|
* @since 4.34
|
|
795
795
|
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#loadErrorSources)
|
|
@@ -7,10 +7,10 @@ import { LitElement as h, createEvent as c, nothing as p } from "@arcgis/lumina"
|
|
|
7
7
|
import { u as m } from "../../chunks/useView.js";
|
|
8
8
|
import { log as d } from "@arcgis/toolkit/log";
|
|
9
9
|
import { when as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
|
-
const a = (
|
|
10
|
+
const a = (t) => t === "hidden" ? "hide-link-chart-nonspatial-data" : "show-link-chart-nonspatial-data";
|
|
11
11
|
class y extends h {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map
|
|
13
|
+
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible"), this.visualScale = "m", this.arcgisPropertyChange = r()("state"), this.arcgisReady = c();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { _state: 16, view: 0, autoDestroyDisabled: 5, icon: 1, label: 1, messageOverrides: 0, referenceElement: 1, state: 32, visualScale: 1 };
|
|
@@ -21,32 +21,32 @@ class y extends h {
|
|
|
21
21
|
async destroy() {
|
|
22
22
|
await this.manager.destroy();
|
|
23
23
|
}
|
|
24
|
-
async switchNonspatialVisibility(
|
|
25
|
-
this.view && (s.changeNonspatialDataDisplay(this.view,
|
|
24
|
+
async switchNonspatialVisibility(i) {
|
|
25
|
+
this.view && (s.changeNonspatialDataDisplay(this.view, i), this.icon = a(i));
|
|
26
26
|
}
|
|
27
27
|
loaded() {
|
|
28
28
|
this.manager.onLifecycle(() => [
|
|
29
|
-
g(() => this.view?.ready ? "ready" : "disabled", (
|
|
30
|
-
this._state =
|
|
29
|
+
g(() => this.view?.ready ? "ready" : "disabled", (i) => {
|
|
30
|
+
this._state = i, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible");
|
|
31
31
|
}, { sync: !0, initial: !0 })
|
|
32
32
|
]);
|
|
33
33
|
}
|
|
34
34
|
_handleToggle() {
|
|
35
|
-
const e = this.view?.map
|
|
35
|
+
const e = (this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible") === "hidden" ? "visible" : "hidden";
|
|
36
36
|
this.switchNonspatialVisibility(e);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const { messages:
|
|
40
|
-
return this.state === "ready" && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
39
|
+
const { messages: i } = this;
|
|
40
|
+
return this.state === "ready" && this.view?.map && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
41
41
|
e.key === "Enter" && this._handleToggle();
|
|
42
|
-
}} .disabled=${this.view?.map
|
|
42
|
+
}} .disabled=${this.view?.map?.mapType !== "webLinkChart"} .text=${i.toggleLabel} title=${i.toggleLabel ?? p} data-testid=link-chart-nonspatial-visibility-toggle-action></calcite-action>`;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
const s = {
|
|
46
|
-
changeNonspatialDataDisplay: (
|
|
47
|
-
|
|
46
|
+
changeNonspatialDataDisplay: (t, i) => {
|
|
47
|
+
t.map.changeNonspatialDataDisplay(i);
|
|
48
48
|
},
|
|
49
|
-
useView: (
|
|
49
|
+
useView: (t) => m(t)
|
|
50
50
|
};
|
|
51
51
|
o("arcgis-link-chart-nonspatial-visibility-toggle", y);
|
|
52
52
|
export {
|
|
@@ -128,7 +128,7 @@ export abstract class ArcgisLocate extends LitElement {
|
|
|
128
128
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
129
129
|
/**
|
|
130
130
|
* Indicates the scale to set on the view when navigating to the position of the geolocated
|
|
131
|
-
* result, after a location is returned from the [
|
|
131
|
+
* result, after a location is returned from the [@arcgisSuccess](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-locate/#event-arcgisSuccess) event.
|
|
132
132
|
*
|
|
133
133
|
* @default null
|
|
134
134
|
*/
|