@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
|
@@ -6,19 +6,19 @@ import "@arcgis/core/core/Error.js";
|
|
|
6
6
|
import * as h from "@arcgis/core/geometry/operators/shapePreservingProjectOperator.js";
|
|
7
7
|
import "@arcgis/core/Graphic.js";
|
|
8
8
|
import b from "@arcgis/core/rest/support/FeatureSet.js";
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { log as
|
|
11
|
-
import { css as w, html as
|
|
12
|
-
import { createRef as L, ref as
|
|
13
|
-
import { u as
|
|
9
|
+
import { LitElement as $, createEvent as o } from "@arcgis/lumina";
|
|
10
|
+
import { log as u, composeMissingPropertyMessage as g, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
|
|
11
|
+
import { css as w, html as i } from "lit";
|
|
12
|
+
import { createRef as L, ref as T } from "lit/directives/ref.js";
|
|
13
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
14
14
|
import { h as m } from "../../chunks/feature-utils.js";
|
|
15
|
-
const
|
|
15
|
+
const R = w`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, p = {
|
|
16
16
|
dirtyAreasDiscovered: -2147208511,
|
|
17
17
|
noValidControllers: -2147208935
|
|
18
18
|
};
|
|
19
|
-
class
|
|
19
|
+
class E extends $ {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(...arguments), this._messages =
|
|
21
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = C({ blocking: !0 }), this._elementsWithoutLayer = [], this._featuresComponentRef = L(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
|
|
22
22
|
const a = e[0].feature.layer, s = t[0].feature.layer, l = a?.title ?? "", c = s?.title ?? "";
|
|
23
23
|
return l.localeCompare(c, void 0, { numeric: !0 });
|
|
24
24
|
}, this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
@@ -28,32 +28,32 @@ class S extends F {
|
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
const l = s.createQuery();
|
|
31
|
-
l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = t.map((
|
|
32
|
-
const { features: c } = b.fromJSON(await _(s, l)), n = await Promise.all(c.map(async (
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
36
|
-
const
|
|
37
|
-
return { feature:
|
|
31
|
+
l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = t.map((r) => r.objectId), l.outFields = ["*"];
|
|
32
|
+
const { features: c } = b.fromJSON(await _(s, l)), n = await Promise.all(c.map(async (r) => {
|
|
33
|
+
r.layer = s.type === "subtype-group" ? s.findSublayerForFeature(r) : s, r.origin = r.layer;
|
|
34
|
+
const d = r.layer;
|
|
35
|
+
if (r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = d.createPopupTemplate()), d && "getFeatureTitle" in d) {
|
|
36
|
+
const y = await d.getFeatureTitle(r) || m(r);
|
|
37
|
+
return { feature: r, label: y };
|
|
38
38
|
}
|
|
39
|
-
return { feature:
|
|
39
|
+
return { feature: r, label: m(r) };
|
|
40
40
|
}));
|
|
41
|
-
s.type === "subtype-group" ? n.forEach((
|
|
41
|
+
s.type === "subtype-group" ? n.forEach((r) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, r.feature.layer.subtypeCode, r)) : this._layerIdToFeatures.set(a, n);
|
|
42
42
|
}, this.aggregatedGeometryGraphicsColor = new v([255, 255, 0, 0.6]), this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.arcgisAggregatedGeometryGraphicsColorChange = o(), this.arcgisHideGraphicsChange = o(), this.arcgisSelectedLayerChange = o(), this.arcgisSelectedResultTypeChange = o(), this.arcgisTraceResultFeaturesReady = o(), this._renderLayerListItem = ([, e]) => {
|
|
43
43
|
if (!e.length)
|
|
44
44
|
return null;
|
|
45
45
|
const t = e[0].feature.layer, a = t?.title || this._messages.unknown;
|
|
46
|
-
return
|
|
46
|
+
return i`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
47
47
|
}, this._renderFeatureListItem = (e) => {
|
|
48
48
|
const { feature: t, label: a } = e;
|
|
49
|
-
return
|
|
49
|
+
return i`<calcite-list-item .label=${a} @calciteListItemSelect=${() => this.selectedFeature = t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
53
|
this.properties = { aggregatedGeometryGraphicsColor: 0, hideFeatureResults: 5, featuresFromSelectedLayer: 32, isElementsSelected: 5, layers: 0, messageOverrides: 0, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0 };
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
|
-
this.styles =
|
|
56
|
+
this.styles = R;
|
|
57
57
|
}
|
|
58
58
|
get featuresFromSelectedLayer() {
|
|
59
59
|
return this._featuresFromSelectedLayer.map(({ feature: e }) => e);
|
|
@@ -67,7 +67,7 @@ class S extends F {
|
|
|
67
67
|
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
68
68
|
}
|
|
69
69
|
loaded() {
|
|
70
|
-
this.utilityNetwork ||
|
|
70
|
+
this.utilityNetwork || u("warn", this, g("utilityNetwork")), this.layers.length === 0 && u("warn", this, F("layers")), this.view || u("warn", this, g("view"));
|
|
71
71
|
}
|
|
72
72
|
_addOrCreateMapValue(e, t, a) {
|
|
73
73
|
const s = e.get(t);
|
|
@@ -105,8 +105,8 @@ class S extends F {
|
|
|
105
105
|
const t = e.map(this._queryFeaturesOnLayer);
|
|
106
106
|
(await Promise.allSettled(t)).forEach((c, n) => {
|
|
107
107
|
if (c.status === "rejected") {
|
|
108
|
-
const [
|
|
109
|
-
|
|
108
|
+
const [r] = e[n];
|
|
109
|
+
u("error", this, `Failed to query features for source ${r}. Reason: ${c.reason}`);
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
const s = Array.from(this._layerIdToFeatures.values()), l = Array.from(this._subtypeCodeToFeatures.values());
|
|
@@ -140,70 +140,70 @@ class S extends F {
|
|
|
140
140
|
if (this.state === "loading")
|
|
141
141
|
return this._renderGettingResults();
|
|
142
142
|
if (this.selectedFeature) {
|
|
143
|
-
const n = this._featuresComponentRef.value,
|
|
144
|
-
return
|
|
143
|
+
const n = this._featuresComponentRef.value, r = n?.selectedFeature ? [n.selectedFeature] : [this.selectedFeature];
|
|
144
|
+
return i`<arcgis-features .referenceElement=${this.referenceElement} .features=${r} .view=${this.view} open .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} @arcgisClose=${() => this.selectedFeature = void 0} ${T(this._featuresComponentRef)}></arcgis-features>`;
|
|
145
145
|
}
|
|
146
146
|
const c = a.length > 0 && !s.length && !l;
|
|
147
|
-
return this.hideFeatureResults && c ? this._renderFeaturesAreHidden() :
|
|
147
|
+
return this.hideFeatureResults && c ? this._renderFeaturesAreHidden() : i`<calcite-flow>${c ? null : i`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(t)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", this.traceResultFeatures.length.toString())} .selected=${(c || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this._featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
|
|
148
148
|
}
|
|
149
149
|
_renderGettingResults() {
|
|
150
|
-
return
|
|
150
|
+
return i`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`;
|
|
151
151
|
}
|
|
152
152
|
_renderLanding(e) {
|
|
153
153
|
const { elements: t, globalFunctionResults: a, aggregatedGeometry: s } = e;
|
|
154
|
-
return
|
|
154
|
+
return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s != null ? this._renderAggregatedGeometry(s) : null}${s != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${a.length > 0 ? this._renderFunctionsResults(a) : null}</calcite-panel>`;
|
|
155
155
|
}
|
|
156
156
|
_renderAggregatedGeometry(e) {
|
|
157
|
-
return
|
|
157
|
+
return i`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
|
|
158
158
|
const a = t.target.value;
|
|
159
159
|
this.arcgisAggregatedGeometryGraphicsColorChange.emit(a);
|
|
160
160
|
}}></calcite-color-picker></calcite-popover></div>`;
|
|
161
161
|
}
|
|
162
162
|
_renderFeaturesAreHidden() {
|
|
163
|
-
return
|
|
163
|
+
return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div></calcite-panel>`;
|
|
164
164
|
}
|
|
165
165
|
_renderNoSelectableResults() {
|
|
166
|
-
return
|
|
166
|
+
return i`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
|
|
167
167
|
}
|
|
168
168
|
_renderElementsResults() {
|
|
169
|
-
return
|
|
169
|
+
return i`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.traceResultFeatures.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
170
170
|
}
|
|
171
171
|
_renderFunctionsResults(e) {
|
|
172
|
-
return
|
|
172
|
+
return i`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null).map((t) => i`<calcite-table-row><calcite-table-cell>${t.networkAttributeName}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
173
173
|
}
|
|
174
174
|
_renderLayerList() {
|
|
175
175
|
const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()), s = e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);
|
|
176
|
-
return this._elementsWithoutLayer.length > 0 && s.push(this._renderUnknownListItem()),
|
|
176
|
+
return this._elementsWithoutLayer.length > 0 && s.push(this._renderUnknownListItem()), i`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state === "loading"}>${s}</calcite-list>`;
|
|
177
177
|
}
|
|
178
178
|
_renderUnknownListItem() {
|
|
179
|
-
return
|
|
179
|
+
return i`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`;
|
|
180
180
|
}
|
|
181
181
|
_renderFeaturesList() {
|
|
182
|
-
return
|
|
182
|
+
return i`<calcite-list .label=${this._messages.headings.traceResultsGeneric}>${this._featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`;
|
|
183
183
|
}
|
|
184
184
|
_renderTraceResultsHeading() {
|
|
185
|
-
return
|
|
185
|
+
return i`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? i`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
|
|
186
186
|
}
|
|
187
187
|
_renderErrorLanding(e) {
|
|
188
188
|
let t = e.message;
|
|
189
189
|
switch (e.details?.raw?.extendedCode) {
|
|
190
|
-
case
|
|
190
|
+
case p.dirtyAreasDiscovered:
|
|
191
191
|
t = this._messages.traceErrors.dirtyAreasDiscovered;
|
|
192
192
|
break;
|
|
193
|
-
case
|
|
193
|
+
case p.noValidControllers:
|
|
194
194
|
t = this._messages.traceErrors.noValidControllers;
|
|
195
195
|
break;
|
|
196
196
|
}
|
|
197
|
-
return
|
|
197
|
+
return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`;
|
|
198
198
|
}
|
|
199
199
|
_renderNoResultsLanding() {
|
|
200
|
-
return
|
|
200
|
+
return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`;
|
|
201
201
|
}
|
|
202
202
|
_renderNoTraceLanding() {
|
|
203
|
-
return
|
|
203
|
+
return i`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
f("arcgis-utility-network-trace-results",
|
|
206
|
+
f("arcgis-utility-network-trace-results", E);
|
|
207
207
|
export {
|
|
208
|
-
|
|
208
|
+
E as ArcgisUtilityNetworkTraceResults
|
|
209
209
|
};
|
|
@@ -2,27 +2,26 @@
|
|
|
2
2
|
import type { ValuePickerEvents, ValuePickerComponent } from "@arcgis/core/widgets/ValuePicker.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
|
-
import type { AnimateEvent } from "@arcgis/core/widgets/ValuePicker/types";
|
|
5
|
+
import type { AnimateEvent, Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
6
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
|
-
import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* > [!WARNING]
|
|
11
10
|
* >
|
|
12
11
|
* > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
|
|
13
12
|
* >
|
|
14
|
-
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point,
|
|
13
|
+
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
|
|
15
14
|
*
|
|
16
15
|
* Value Picker is a component that allows users to step or play through a list of values. Value Picker component can be configured
|
|
17
|
-
* with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-collection),
|
|
18
|
-
* [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-labels),
|
|
19
|
-
* [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#selectable-items) or
|
|
20
|
-
* [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#numeric-values)
|
|
16
|
+
* with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-collection),
|
|
17
|
+
* [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-labels),
|
|
18
|
+
* [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#selectable-items) or
|
|
19
|
+
* [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#numeric-values)
|
|
21
20
|
* control to help users navigate values.
|
|
22
21
|
*
|
|
23
22
|
* Similar to a media player, values can be interactively stepped through using the `next` and `previous` buttons.
|
|
24
23
|
* Value Picker can also be set to automatically progress (play) through an ordered
|
|
25
|
-
* list of items at a [
|
|
24
|
+
* list of items at a [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
|
|
26
25
|
*
|
|
27
26
|
* ### Configuring Value Picker
|
|
28
27
|
*
|
|
@@ -79,7 +78,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
79
78
|
* valuePicker.values = ["ind"];
|
|
80
79
|
* ```
|
|
81
80
|
*
|
|
82
|
-
* The user's interaction can be handled by monitoring the [values](
|
|
81
|
+
* The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
|
|
83
82
|
*
|
|
84
83
|
* ```js
|
|
85
84
|
* valuePicker.addEventListener("arcgisPropertyChange", () => {
|
|
@@ -121,9 +120,9 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
121
120
|
* valuePicker.values = ["topo-vector"];
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
124
|
-
* As the user clicks the _next_, _previous_, and _play_ buttons, the [values](
|
|
125
|
-
* Handle this by listening for the [arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#arcgisPropertyChange)
|
|
126
|
-
* event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#values)
|
|
123
|
+
* As the user clicks the _next_, _previous_, and _play_ buttons, the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property updates.
|
|
124
|
+
* Handle this by listening for the [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPropertyChange)
|
|
125
|
+
* event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values)
|
|
127
126
|
* property changes, as shown below.
|
|
128
127
|
*
|
|
129
128
|
* ```js
|
|
@@ -160,7 +159,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
160
159
|
* valuePicker.values = ["res"];
|
|
161
160
|
* ```
|
|
162
161
|
*
|
|
163
|
-
* The user's interaction can be handled by monitoring the [values](
|
|
162
|
+
* The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
|
|
164
163
|
*
|
|
165
164
|
* ```js
|
|
166
165
|
* valuePicker.addEventListener("arcgisPropertyChange", () => {
|
|
@@ -347,8 +346,8 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
347
346
|
* [ValuePickerSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/).
|
|
348
347
|
*
|
|
349
348
|
* If this property is not set then the play, next and previous buttons will always be enabled. In this case, listen to the
|
|
350
|
-
* component events, for example, [@
|
|
351
|
-
* [@
|
|
349
|
+
* component events, for example, [@arcgisPrevious](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPrevious) and
|
|
350
|
+
* [@arcgisNext](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisNext), when the user interacts with the
|
|
352
351
|
* component.
|
|
353
352
|
*
|
|
354
353
|
* @example
|
|
@@ -482,7 +481,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
482
481
|
*/
|
|
483
482
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
484
483
|
/**
|
|
485
|
-
* The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#component) is being used. For example, a
|
|
484
|
+
* The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#component) is being used. For example, a
|
|
486
485
|
* [slider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/) component will return an array of numbers.
|
|
487
486
|
*
|
|
488
487
|
* If the `component` is not set then this property will return `null`. Similarly this property can be `null`
|
|
@@ -542,7 +541,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
542
541
|
/** Pause playing. */
|
|
543
542
|
pause(): Promise<void>;
|
|
544
543
|
/**
|
|
545
|
-
* Start playing. Value Picker will advance at the rate specified by [playRate](
|
|
544
|
+
* Start playing. Value Picker will advance at the rate specified by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
|
|
546
545
|
*
|
|
547
546
|
* @example
|
|
548
547
|
* ```js
|
|
@@ -594,7 +593,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
594
593
|
"@setterTypes": {
|
|
595
594
|
icon?: IconName;
|
|
596
595
|
};
|
|
597
|
-
/** Fires when the Value Picker is playing at a rate defined by [playRate](
|
|
596
|
+
/** Fires when the Value Picker is playing at a rate defined by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate). */
|
|
598
597
|
readonly arcgisAnimate: import("@arcgis/lumina").TargetedEvent<this, AnimateEvent>;
|
|
599
598
|
/** Fires when the Value Picker's next button is clicked. */
|
|
600
599
|
readonly arcgisNext: import("@arcgis/lumina").TargetedEvent<this, ValuePickerEvents["next"]>;
|
|
@@ -23,7 +23,7 @@ import type { VideoState } from "@arcgis/core/layers/video/types.js";
|
|
|
23
23
|
*
|
|
24
24
|
* **Known limitations**
|
|
25
25
|
*
|
|
26
|
-
* * Not supported in 3D [
|
|
26
|
+
* * Not supported in 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
27
27
|
* * Not supported on macOS and iOS devices.
|
|
28
28
|
*
|
|
29
29
|
* [](https://mediaspace.esri.com/media/1_ctc3psfr)
|
|
@@ -14,7 +14,7 @@ import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUn
|
|
|
14
14
|
* > To learn about features in preview, see the [Frequently Asked Questions](https://developers.arcgis.com/javascript/latest/faq/#what-does-the-preview-tag-mean)
|
|
15
15
|
*
|
|
16
16
|
* The Volume Measurement component can be added to a
|
|
17
|
-
* [
|
|
17
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) to
|
|
18
18
|
* calculate and visualize the volume of ground surfaces within a defined polygonal area.
|
|
19
19
|
*
|
|
20
20
|
* 
|
|
@@ -40,7 +40,7 @@ import type { SystemOrVolumeUnit, SystemOrLengthUnit, LengthUnit, SystemOrAreaUn
|
|
|
40
40
|
* **Known Limitations**
|
|
41
41
|
*
|
|
42
42
|
* - The Volume Measurement component can only be added to a
|
|
43
|
-
* [
|
|
43
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
44
44
|
* - The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
|
|
45
45
|
* - If the view is too close or too far from the measurement polygon, the results will not be computed due to LOD-induced inaccuracies.
|
|
46
46
|
* - The elevation of the target surface in the "Cut & Fill Volume" mode is restricted to the range of -11 km and +9 km.
|
|
@@ -81,9 +81,9 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
81
81
|
* The [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/VolumeMeasurementAnalysis/)
|
|
82
82
|
* created or modified by the component.
|
|
83
83
|
*
|
|
84
|
-
* When connecting the Volume Measurement component to the [
|
|
84
|
+
* When connecting the Volume Measurement component to the [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/)
|
|
85
85
|
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
86
|
-
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
86
|
+
* [arcgis-scene.analyses](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#analyses) collection.
|
|
87
87
|
* You can then wait for the [VolumeMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/VolumeMeasurementAnalysisView3D/)
|
|
88
88
|
* to be created before accessing the analysis results.
|
|
89
89
|
*
|
|
@@ -146,7 +146,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
146
146
|
accessor analysis: VolumeMeasurementAnalysis2;
|
|
147
147
|
/**
|
|
148
148
|
* Unit system (imperial, metric) or specific unit used for displaying the area. Possible values are listed in
|
|
149
|
-
* [areaDisplayUnitOptions](
|
|
149
|
+
* [areaDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnitOptions).
|
|
150
150
|
*
|
|
151
151
|
* @since 5.0
|
|
152
152
|
*/
|
|
@@ -154,7 +154,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
154
154
|
/**
|
|
155
155
|
* List of available units and unit systems (imperial, metric) that are shown in the component's area display unit dropdown.
|
|
156
156
|
* By default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-yards`, `square-miles`, `square-nautical-miles`, `square-us-feet`, `square-millimeters`, `square-centimeters`, `square-decimeters`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.
|
|
157
|
-
* Possible [areaDisplayUnit](
|
|
157
|
+
* Possible [areaDisplayUnit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#areaDisplayUnit) values can only be a subset of this list.
|
|
158
158
|
*
|
|
159
159
|
* @since 5.0
|
|
160
160
|
*/
|
|
@@ -171,7 +171,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
171
171
|
accessor autoDestroyDisabled: boolean;
|
|
172
172
|
/**
|
|
173
173
|
* Unit system (imperial, metric) or specific unit used for displaying the cut and fill target elevation. Possible values are listed in
|
|
174
|
-
* [elevationDisplayUnitOptions](
|
|
174
|
+
* [elevationDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnitOptions).
|
|
175
175
|
*
|
|
176
176
|
* @since 5.0
|
|
177
177
|
*/
|
|
@@ -179,14 +179,14 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
179
179
|
/**
|
|
180
180
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
181
181
|
* By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
182
|
-
* Possible [elevationDisplayUnit](
|
|
182
|
+
* Possible [elevationDisplayUnit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationDisplayUnit) values can only be a subset of this list.
|
|
183
183
|
*
|
|
184
184
|
* @since 5.0
|
|
185
185
|
*/
|
|
186
186
|
accessor elevationDisplayUnitOptions: Array<SystemOrLengthUnit>;
|
|
187
187
|
/**
|
|
188
188
|
* Unit used for inputting the cut and fill target elevation.
|
|
189
|
-
* Possible values are listed in [elevationInputUnitOptions](
|
|
189
|
+
* Possible values are listed in [elevationInputUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnitOptions).
|
|
190
190
|
*
|
|
191
191
|
* This controls which unit is used when entering an elevation value via the tool's UI (for example, using the
|
|
192
192
|
* shift manipulator tooltip input in "Cut & Fill Volume" mode).
|
|
@@ -199,7 +199,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
199
199
|
*
|
|
200
200
|
* By default, the following units are included: `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`,
|
|
201
201
|
* `millimeters`, `centimeters`, `decimeters`, `meters`, `kilometers`.
|
|
202
|
-
* The current [elevationInputUnit](
|
|
202
|
+
* The current [elevationInputUnit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#elevationInputUnit) value can only be a subset of this list.
|
|
203
203
|
*
|
|
204
204
|
* @since 5.0
|
|
205
205
|
*/
|
|
@@ -360,7 +360,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
360
360
|
accessor mode: VolumeMeasureType;
|
|
361
361
|
/**
|
|
362
362
|
* Unit system (imperial, metric) or specific unit used for displaying the perimeter values. Possible values are
|
|
363
|
-
* listed in [perimeterDisplayUnitOptions](
|
|
363
|
+
* listed in [perimeterDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnitOptions).
|
|
364
364
|
*
|
|
365
365
|
* @since 5.0
|
|
366
366
|
*/
|
|
@@ -368,7 +368,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
368
368
|
/**
|
|
369
369
|
* List of available units and unit systems (imperial, metric) that are shown in the component's perimeter display unit dropdown.
|
|
370
370
|
* By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
371
|
-
* Possible [perimeterDisplayUnit](
|
|
371
|
+
* Possible [perimeterDisplayUnit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#perimeterDisplayUnit) values can only be a subset of this list.
|
|
372
372
|
*
|
|
373
373
|
* @since 5.0
|
|
374
374
|
*/
|
|
@@ -397,7 +397,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
397
397
|
accessor view: SceneView | undefined;
|
|
398
398
|
/**
|
|
399
399
|
* Unit system (imperial, metric) or specific unit used for displaying the volume values. Possible values are listed in
|
|
400
|
-
* [volumeDisplayUnitOptions](
|
|
400
|
+
* [volumeDisplayUnitOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnitOptions).
|
|
401
401
|
*
|
|
402
402
|
* @since 5.0
|
|
403
403
|
*/
|
|
@@ -405,7 +405,7 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
405
405
|
/**
|
|
406
406
|
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
407
407
|
* By default, the following units are included: `imperial`, `metric`, `liters`, `megaliters`, `gigaliters`, `cubic-millimeters`, `cubic-centimeters`, `cubic-decimeters`, `cubic-meters`, `cubic-kilometers`, `cubic-inches`, `cubic-us-feet`, `cubic-feet`, `cubic-yards`, `cubic-miles`.
|
|
408
|
-
* Possible [volumeDisplayUnit](
|
|
408
|
+
* Possible [volumeDisplayUnit](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-volume-measurement/#volumeDisplayUnit) values can only be a subset of this list.
|
|
409
409
|
*
|
|
410
410
|
* @since 5.0
|
|
411
411
|
*/
|
|
@@ -316,7 +316,7 @@ class oe extends B {
|
|
|
316
316
|
})} role=presentation>${o === "disabled" && d`<calcite-scrim></calcite-scrim>` || ""}${u({ hidden: this.hideHeader && f, children: d`<div class=${U({
|
|
317
317
|
header: !0,
|
|
318
318
|
"no-content": this.hideHeader
|
|
319
|
-
})}>${u({ hidden: this.hideHeader, children: J({ class: "heading", level: this.headingLevel, children: i.title }) })}<span style=${F({ flex: 1 })}></span>${u({ hidden: f, children: d`<calcite-action icon=gear slot=settings .text=${i.displaySettings} ${D(this.#e)}></calcite-action><calcite-popover slot=settings label .referenceElement=${this.#e.value} overlay-positioning=fixed auto-close .open=${f ? !1 : void 0} ${D(this.#i)}><div class="settings-content">${u({ hidden: x, children: d`<div><p>${i.inputUnits}</p>${C}</div>` })}${u({ hidden: w, children: d`<div><p>${i.displayUnits}</p>${L}</div>` })}</div></calcite-popover>` })}</div>` })}<div class="content">${u({ hidden: this.hideModeSelect, children: d`<calcite-label>${this.messages.measurementMode}<calcite-select label="Select measurement mode" .value=${this.mode} @calciteSelectChange=${(l) => {
|
|
319
|
+
})}>${u({ hidden: this.hideHeader, children: J({ class: "heading", level: this.headingLevel, children: i.title }) })}<span style=${F({ flex: 1 })}></span>${u({ hidden: f, children: d`<calcite-action icon=gear slot=settings .text=${i.displaySettings} ${D(this.#e)}></calcite-action><calcite-popover slot=settings label .referenceElement=${this.#e.value} overlay-positioning=fixed placement=bottom-end auto-close .open=${f ? !1 : void 0} ${D(this.#i)}><div class="settings-content">${u({ hidden: x, children: d`<div><p>${i.inputUnits}</p>${C}</div>` })}${u({ hidden: w, children: d`<div><p>${i.displayUnits}</p>${L}</div>` })}</div></calcite-popover>` })}</div>` })}<div class="content">${u({ hidden: this.hideModeSelect, children: d`<calcite-label>${this.messages.measurementMode}<calcite-select label="Select measurement mode" .value=${this.mode} @calciteSelectChange=${(l) => {
|
|
320
320
|
this.analysis.measureType = l.target.selectedOption.value;
|
|
321
321
|
}}><calcite-option value=cut-fill>${i.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${i.stockpileMode}</calcite-option></calcite-select></calcite-label>` })}${b != null && le({ error: b, messages: i }) || ""}<arcgis-measurement-content .state=${t.displayState} .hintLabel=${i.hint} .unsupportedLabel=${i.unsupported} .items=${[
|
|
322
322
|
{
|
|
@@ -7,7 +7,7 @@ import type { WeatherState } from "./types.js";
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The Weather component allows easy selection and configuration of weather effects in a
|
|
10
|
-
* [
|
|
10
|
+
* [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
11
11
|
* The available weather types are:
|
|
12
12
|
* [sunny](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunnyWeather/),
|
|
13
13
|
* [cloudy](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/CloudyWeather/),
|
|
@@ -16,7 +16,7 @@ import type { WeatherState } from "./types.js";
|
|
|
16
16
|
* [foggy](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/FoggyWeather/).
|
|
17
17
|
*
|
|
18
18
|
* To set the weather programmatically, apply the desired weather type to the
|
|
19
|
-
* [environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) property of the Scene component.
|
|
19
|
+
* [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) property of the Scene component.
|
|
20
20
|
*
|
|
21
21
|
* ```js
|
|
22
22
|
* // Access the Scene component.
|
|
@@ -31,13 +31,13 @@ import type { WeatherState } from "./types.js";
|
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
33
|
* To determine if the weather visualization is available, check the boolean value of `viewElement.environment.weatherAvailable`. The weather is only available:
|
|
34
|
-
* * in `global` [
|
|
35
|
-
* * when `atmosphereEnabled` property on [environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) is `true`,
|
|
34
|
+
* * in `global` [arcgis-scene.viewingMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewingMode),
|
|
35
|
+
* * when `atmosphereEnabled` property on [arcgis-scene.environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) is `true`,
|
|
36
36
|
* * at lower altitudes, near the ground.
|
|
37
37
|
*
|
|
38
38
|
* **Known limitations**
|
|
39
39
|
*
|
|
40
|
-
* Weather is only supported in a 3D [
|
|
40
|
+
* Weather is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
41
41
|
*
|
|
42
42
|
* **See also**
|
|
43
43
|
*
|