@arcgis/map-components 5.1.0-next.13 → 5.1.0-next.15
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/{7JQZBAFA.js → 255MJSL7.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → 2632C726.js} +1 -1
- package/dist/cdn/{EGN3YTD6.js → 2ID4LW4Y.js} +1 -1
- package/dist/cdn/{YFUI4F5L.js → 2LRWWFCA.js} +1 -1
- package/dist/cdn/2XOP6ODR.js +2 -0
- package/dist/cdn/{P6UY3ICC.js → 2XULQGZU.js} +1 -1
- package/dist/cdn/{7MD3GFV6.js → 2YBN6D3R.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → 36FHKW25.js} +1 -1
- package/dist/cdn/{KYOYYCFY.js → 3IBLMFG2.js} +1 -1
- package/dist/cdn/{GKW3DDEQ.js → 3KOO4QMQ.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → 3O62Y4XU.js} +1 -1
- package/dist/cdn/{U4QW6VHU.js → 4723UCGJ.js} +1 -1
- package/dist/cdn/{JFDN4YD7.js → 4E76WGF2.js} +1 -1
- package/dist/cdn/{FYTMMPPG.js → 4GMSBMTS.js} +1 -1
- package/dist/cdn/{KAXJKSFB.js → 4JLBYQRJ.js} +1 -1
- package/dist/cdn/{SXS6AFSU.js → 4S2ZIUO2.js} +1 -1
- package/dist/cdn/{ZURN5EZI.js → 4WDHTN24.js} +1 -1
- package/dist/cdn/{DTVW3MYT.js → 4X3QNLL2.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → 5H2OW6X5.js} +1 -1
- package/dist/cdn/5IXIFOQE.js +2 -0
- package/dist/cdn/{KNAUIRT6.js → 63HF2QYP.js} +1 -1
- package/dist/cdn/{TUW6NLYY.js → 6IUWB6ML.js} +1 -1
- package/dist/cdn/6PXPLFFB.js +2 -0
- package/dist/cdn/{UAO23YMW.js → 6XQPM3XF.js} +1 -1
- package/dist/cdn/6YZHULFG.js +2 -0
- package/dist/cdn/{I5QTPPFJ.js → 7CFAFS3P.js} +1 -1
- package/dist/cdn/{UNX4CKAF.js → 7D3Z55D3.js} +1 -1
- package/dist/cdn/{RRXH4CSV.js → 7SCKZLOG.js} +1 -1
- package/dist/cdn/{7ZAVSDBZ.js → 7SLU4JV4.js} +1 -1
- package/dist/cdn/{4QKKEYOT.js → 7U4AFNWK.js} +1 -1
- package/dist/cdn/{GHFKQEFW.js → A5JTB4SB.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → AEDEEK6H.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → ANLNLB7F.js} +1 -1
- package/dist/cdn/{A44ZCOCX.js → ATG3WC6M.js} +1 -1
- package/dist/cdn/{RP5SO6BA.js → AWONSBWA.js} +1 -1
- package/dist/cdn/{BUOIT34V.js → B4IPMHN5.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → B4UXMUWZ.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → BN6DAJ2Q.js} +1 -1
- package/dist/cdn/{XMSGTOUV.js → BOM3XB6A.js} +1 -1
- package/dist/cdn/{5RGFRTJS.js → BSOU3YSC.js} +1 -1
- package/dist/cdn/{62WRVJ3U.js → BUUMJJ3W.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → BX6WWIAY.js} +1 -1
- package/dist/cdn/{MQ6HO6LA.js → C3MVYUAO.js} +1 -1
- package/dist/cdn/C4FXVPMR.js +2 -0
- package/dist/cdn/{HH6BDERO.js → CJX4GSEZ.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → CMI4ZWGU.js} +1 -1
- package/dist/cdn/{XFDR4YDM.js → COSZXJ2Q.js} +1 -1
- package/dist/cdn/{2EJ4XRH4.js → CUNZDZ3C.js} +1 -1
- package/dist/cdn/CWODI2VY.js +2 -0
- package/dist/cdn/{A2JO7DWO.js → DDYVX52H.js} +1 -1
- package/dist/cdn/{CC53K2CR.js → DG7CXNOU.js} +1 -1
- package/dist/cdn/{U37ZXVJO.js → DMGQRIIZ.js} +1 -1
- package/dist/cdn/E44RUDE7.js +2 -0
- package/dist/cdn/{TCG6VGIB.js → ELIGNLIF.js} +1 -1
- package/dist/cdn/{EQCNO3G4.js → EM6YZ3JD.js} +1 -1
- package/dist/cdn/EQPJBPD5.js +2 -0
- package/dist/cdn/{RP2MWWN5.js → F2JFRFTT.js} +1 -1
- package/dist/cdn/{AJHRJ5EA.js → FDCE7TCR.js} +1 -1
- package/dist/cdn/{2NOL7QIE.js → FNJ3HMEN.js} +1 -1
- package/dist/cdn/{XE5UPQ5E.js → FTAYHPMM.js} +1 -1
- package/dist/cdn/{OKXZJQ2B.js → FTQ4FNZO.js} +1 -1
- package/dist/cdn/{AEYZDEAH.js → FUXY5EKO.js} +1 -1
- package/dist/cdn/{OD5DHUHZ.js → FZDIAVC4.js} +1 -1
- package/dist/cdn/{SYMDMOKL.js → G7QZJNAC.js} +1 -1
- package/dist/cdn/{EX22SAPL.js → GF4QAY6O.js} +1 -1
- package/dist/cdn/{556MC5SF.js → GHVLDDZ3.js} +1 -1
- package/dist/cdn/{WTMMFDEH.js → GIAAX7SI.js} +1 -1
- package/dist/cdn/HDL76VD5.js +2 -0
- package/dist/cdn/{GNGZFV2C.js → HVKFQS3R.js} +1 -1
- package/dist/cdn/{37TNG76C.js → HZOWV5JG.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → I46QTMEJ.js} +1 -1
- package/dist/cdn/{5ITF7Q7U.js → I4SD3GKU.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → I6EE4PLM.js} +1 -1
- package/dist/cdn/{NGKNECON.js → ILVKM7IB.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → IOYNCKBD.js} +1 -1
- package/dist/cdn/{QVMTO5BV.js → IUFWY6SY.js} +1 -1
- package/dist/cdn/{SZ5MNKOW.js → IVHQAQZW.js} +1 -1
- package/dist/cdn/{6F6VOBIA.js → IX5YLGNO.js} +1 -1
- package/dist/cdn/{UKKUFJLL.js → J275QP5E.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → JEFKCKHC.js} +1 -1
- package/dist/cdn/JSD5CN5Q.js +2 -0
- package/dist/cdn/{ZD5FJHIQ.js → JSISELHB.js} +1 -1
- package/dist/cdn/{4EAZ4PIQ.js → JUVPY4PW.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → JWGHJITH.js} +1 -1
- package/dist/cdn/{NZAO2BVV.js → L6E647YW.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LA34IEDJ.js} +1 -1
- package/dist/cdn/LB32PLWG.js +2 -0
- package/dist/cdn/{42UR6TXZ.js → LJLCKW5C.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → LQNM7YK2.js} +1 -1
- package/dist/cdn/{R4V6HGJH.js → LYJM7ALP.js} +1 -1
- package/dist/cdn/{RUB6EORR.js → MIXNJBCA.js} +1 -1
- package/dist/cdn/{ZVTPU2MO.js → MR4WJFX6.js} +1 -1
- package/dist/cdn/{NSGDR7V5.js → MSWQUZSG.js} +1 -1
- package/dist/cdn/{GYTQDFSL.js → MWS2QVII.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → NFEIF3A6.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → NHBPPRG2.js} +1 -1
- package/dist/cdn/{UHFSSX2G.js → NLRKDVIJ.js} +1 -1
- package/dist/cdn/{LZQCXN6A.js → NPEA453T.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → NQ3Z6LXI.js} +1 -1
- package/dist/cdn/{2KDBYYCF.js → NWWJHV2L.js} +1 -1
- package/dist/cdn/NYO3FKS3.js +2 -0
- package/dist/cdn/{YA6FUJR2.js → O2BAIE3M.js} +1 -1
- package/dist/cdn/{A7JPWYKR.js → OJCZ3DV5.js} +1 -1
- package/dist/cdn/{TP6I2LJO.js → OKXFUFPW.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → PJHO2DXQ.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → PR47Q75I.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → PX63EYUH.js} +1 -1
- package/dist/cdn/{MAGJWMWM.js → PXJQJ6MY.js} +1 -1
- package/dist/cdn/{MDCB7SO4.js → QEXDU6P7.js} +1 -1
- package/dist/cdn/{TJG4UE24.js → QHSQUBMZ.js} +1 -1
- package/dist/cdn/QUXORNHT.js +2 -0
- package/dist/cdn/{XRP25NGI.js → RG5JFGHQ.js} +1 -1
- package/dist/cdn/{ZM2YXU7Y.js → RMGBO7V2.js} +1 -1
- package/dist/cdn/{CVBNRF34.js → S726H24O.js} +1 -1
- package/dist/cdn/{XXZ3CKTX.js → SKUQ3U6A.js} +1 -1
- package/dist/cdn/{NRV7VFJ7.js → SVRZWJDO.js} +1 -1
- package/dist/cdn/{WOV3LB6K.js → TE3F7O3C.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → TFKBGMV2.js} +1 -1
- package/dist/cdn/{5LBJB4MP.js → TK4IQ72L.js} +1 -1
- package/dist/cdn/{XOPJ7VX2.js → TKFT2JL7.js} +1 -1
- package/dist/cdn/{24A3PRKY.js → TKK5PRP5.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → TMXUHRLR.js} +1 -1
- package/dist/cdn/{GY5226CJ.js → UNY32K3R.js} +1 -1
- package/dist/cdn/{DDFVZ5WZ.js → US7LKUHP.js} +1 -1
- package/dist/cdn/V2K737I4.js +2 -0
- package/dist/cdn/{3DO7PVNW.js → VD6EJLFO.js} +1 -1
- package/dist/cdn/VYAUH7PN.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → W5E542JG.js} +1 -1
- package/dist/cdn/{5TQ4ESJT.js → WCIXC6UR.js} +1 -1
- package/dist/cdn/{TPOLS4YM.js → WPWBOKOR.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → WZDTXSRM.js} +1 -1
- package/dist/cdn/{PISCYSA5.js → X35NN2TZ.js} +1 -1
- package/dist/cdn/{XMZSFKKO.js → X4AA7QDM.js} +1 -1
- package/dist/cdn/{QXUY4FOY.js → X5NCN674.js} +1 -1
- package/dist/cdn/{C24SOTLL.js → Y4JTATJ2.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → Y6W27QLR.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → ZERLO6VI.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/measurementUtils.js +3 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +62 -74
- package/dist/components/arcgis-area-measurement-3d/customElement.js +52 -64
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +59 -71
- package/dist/components/arcgis-directions/customElement.d.ts +49 -1
- package/dist/components/arcgis-directions/customElement.js +30 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +58 -70
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-popup/customElement.js +103 -96
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
- package/dist/components/arcgis-slice/types.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +14 -2
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +8 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +23 -20
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +43 -28
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
- package/dist/components/types.d.ts +8 -6
- 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 +7 -7
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/package.json +4 -4
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/57NR3THC.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/CTSWZC3O.js +0 -2
- package/dist/cdn/D73JFV2R.js +0 -2
- package/dist/cdn/DINM6JDS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EM7YCHTU.js +0 -2
- package/dist/cdn/HE6QV4XG.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/LIEE5WCD.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/N3BD4UQD.js +0 -2
- package/dist/cdn/QJOQNSYB.js +0 -2
- package/dist/cdn/RWQYK5BX.js +0 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as E, html as g } from "lit";
|
|
4
|
+
import { keyed as P } from "lit/directives/keyed.js";
|
|
5
|
+
import F from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
7
|
+
import { useDirection as N, usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { m as L } from "../../chunks/useViewModel.js";
|
|
9
|
-
import { LitElement as S, createEvent as
|
|
9
|
+
import { LitElement as S, createEvent as _, safeStyleMap as T, safeClassMap as y } from "@arcgis/lumina";
|
|
10
10
|
import { stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
11
|
-
import {
|
|
12
|
-
import { createRef as
|
|
11
|
+
import { classes as C } from "@arcgis/toolkit/dom";
|
|
12
|
+
import { createRef as m, ref as f } from "lit/directives/ref.js";
|
|
13
13
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import B from "@arcgis/core/support/actions/ActionButton.js";
|
|
15
15
|
import { t as H } from "../../chunks/screenLocation.js";
|
|
16
16
|
import "../arcgis-search-result-renderer/customElement.js";
|
|
17
|
-
const I =
|
|
18
|
-
function
|
|
19
|
-
return
|
|
17
|
+
const I = E`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.root{display:flex;position:absolute;flex-flow:column nowrap;z-index:401;pointer-events:none;border:none;overflow:visible;padding:0;width:auto;height:auto;background-color:transparent}.hidden{visibility:hidden}.root:popover-open{display:flex;position:fixed;flex-flow:column nowrap;margin:0}arcgis-features{flex:1;width:100%}.shadow{box-shadow:var(--calcite-shadow-sm)}.aligned-top-center{transform-origin:50% 100%}.aligned-bottom-center{transform-origin:50% -5%}.aligned-top-left,.aligned-bottom-left{transform-origin:100% 50%}.aligned-top-right,.aligned-bottom-right{transform-origin:-5% 50%}.aligned-top-center,.aligned-top-left,.aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.pointer{position:absolute;width:0;height:0}.pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.aligned-top-center .pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-bottom-center .pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.aligned-top-left .pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-bottom-left .pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-top-right .pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.aligned-bottom-right .pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.aligned-top-center .pointer-direction,.aligned-bottom-center .pointer-direction{transform:scale(.75,2) rotate(45deg)}.aligned-top-left .pointer-direction,.aligned-bottom-left .pointer-direction,.aligned-top-right .pointer-direction,.aligned-bottom-right .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.aligned-top-center .pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.aligned-bottom-center .pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.is-xl-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-large-size)}.is-md-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-medium-size)}.is-sm-width-breakpoint .main-container,.is-xs-width-breakpoint .main-container{width:var(--arcgis-internal-popup-content-small-size)}.is-xs-width-breakpoint.is-docked-top-center,.is-xs-width-breakpoint.is-docked-bottom-center{margin:0;width:auto}.is-xs-width-breakpoint.is-docked-top-center .main-container,.is-xs-width-breakpoint.is-docked-bottom-center .main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.is-xs-width-breakpoint.is-docked-bottom-center .main-container{bottom:0}.is-xs-width-breakpoint.is-docked-top-center .main-container{top:0}.is-xl-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.is-lg-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.is-sm-height-breakpoint .main-container,.is-xs-height-breakpoint .main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.is-docked{flex-flow:row nowrap;inset:0;margin:var(--arcgis-layout-overlay-space-top, 0) var(--arcgis-layout-overlay-space-right, 0) var(--arcgis-layout-overlay-space-bottom, 0) var(--arcgis-layout-overlay-space-left, 0);padding:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.is-docked-top-left,.is-docked-top-center,.is-docked-top-right,.is-docked-top-start,.is-docked-top-end{align-items:flex-start}.is-docked-bottom-left,.is-docked-bottom-center,.is-docked-bottom-right,.is-docked-bottom-start,.is-docked-bottom-end{align-items:flex-end}.is-docked-top-left,.is-docked-bottom-left,.is-docked-top-start,.is-docked-bottom-start{justify-content:flex-start}.is-docked-top-center,.is-docked-bottom-center{justify-content:center}.is-docked-top-right,.is-docked-bottom-right,.is-docked-top-end,.is-docked-bottom-end{justify-content:flex-end}.is-docked-top-left.is-rtl,.is-docked-top-right.is-rtl,.is-docked-bottom-left.is-rtl,.is-docked-bottom-right.is-rtl{flex-direction:row-reverse}.is-docked-top-left .main-container,.is-docked-top-right .main-container,.is-docked-bottom-left .main-container,.is-docked-bottom-right .main-container,.is-docked-top-start .main-container,.is-docked-top-end .main-container,.is-docked-bottom-start .main-container,.is-docked-bottom-end .main-container{max-height:80%}.is-docked-top-center .main-container,.is-docked-bottom-center .main-container{max-height:40%}@media(prefers-reduced-motion){.aligned-top-center,.aligned-top-left,.aligned-top-right,.aligned-bottom-center,.aligned-bottom-left,.aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
|
|
18
|
+
function b(k) {
|
|
19
|
+
return k && Number.parseInt(k.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
|
|
20
20
|
}
|
|
21
|
-
const j = L(
|
|
21
|
+
const j = L(F), M = {
|
|
22
22
|
buttonEnabled: !0,
|
|
23
23
|
position: "auto",
|
|
24
24
|
breakpoint: {
|
|
@@ -27,9 +27,9 @@ const j = L($), x = {
|
|
|
27
27
|
};
|
|
28
28
|
class W extends S {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(...arguments), this._featuresComponent =
|
|
30
|
+
super(...arguments), this._direction = N(), this._featuresComponent = m(), this._dockAction = new B({ id: "popup-dock-action" }), this._mainContainerNode = m(), this._pointerNode = m(), this.messages = $(), this.viewModel = j(this), this._containerNode = m(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
|
|
31
31
|
this.positionStyle = this._calculatePositionStyle();
|
|
32
|
-
}, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady =
|
|
32
|
+
}, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = _(), this.arcgisClose = _(), this.arcgisTriggerAction = _();
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
35
|
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
|
|
@@ -42,7 +42,7 @@ class W extends S {
|
|
|
42
42
|
}
|
|
43
43
|
get _featureNavigationTop() {
|
|
44
44
|
const { currentAlignment: t, currentDockPosition: e } = this;
|
|
45
|
-
return t === "bottom-left" || t === "bottom-center" || t === "bottom-right" || e === "top-left" || e === "top-center" || e === "top-right";
|
|
45
|
+
return t === "bottom-left" || t === "bottom-center" || t === "bottom-right" || t === "bottom-start" || t === "bottom-end" || e === "top-left" || e === "top-center" || e === "top-right" || e === "top-start" || e === "top-end";
|
|
46
46
|
}
|
|
47
47
|
get currentAlignment() {
|
|
48
48
|
return this._getCurrentAlignment();
|
|
@@ -51,13 +51,13 @@ class W extends S {
|
|
|
51
51
|
return this._getCurrentDockPosition();
|
|
52
52
|
}
|
|
53
53
|
get dockOptions() {
|
|
54
|
-
return this._dockOptions ||
|
|
54
|
+
return this._dockOptions || M;
|
|
55
55
|
}
|
|
56
56
|
set dockOptions(t) {
|
|
57
|
-
const e = { ...
|
|
57
|
+
const e = { ...M }, i = this.viewModel?.view?.breakpoints, o = {};
|
|
58
58
|
i && (o.width = i.xsmall, o.height = i.xsmall);
|
|
59
|
-
const
|
|
60
|
-
typeof
|
|
59
|
+
const r = { ...e, ...t }, n = { ...e.breakpoint, ...o }, { breakpoint: s } = r;
|
|
60
|
+
typeof s == "object" ? r.breakpoint = { ...n, ...s } : s && (r.breakpoint = n), this._dockOptions = r;
|
|
61
61
|
}
|
|
62
62
|
get open() {
|
|
63
63
|
return this.viewModel.visible;
|
|
@@ -97,7 +97,7 @@ class W extends S {
|
|
|
97
97
|
}
|
|
98
98
|
loaded() {
|
|
99
99
|
this.manager.onLifecycle(() => [
|
|
100
|
-
l(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled], () => this._handleDockIcon(), { initial: !0 }),
|
|
100
|
+
l(() => [this.viewModel?.view?.widthBreakpoint, this.dockEnabled, this._direction], () => this._handleDockIcon(), { initial: !0 }),
|
|
101
101
|
l(() => [this.dockEnabled, this.messages?.undock, this.messages?.dock], () => this._handleDockEnabled(), { initial: !0 }),
|
|
102
102
|
l(() => [this.dockOptions, this._featuresComponent.value], () => {
|
|
103
103
|
const { _dockAction: t, dockOptions: e } = this, i = this._featuresComponent.value?.headerActions;
|
|
@@ -142,61 +142,57 @@ class W extends S {
|
|
|
142
142
|
t.stopPropagation(), t.detail.action === this._dockAction && (this.dockEnabled = !this.dockEnabled), this.arcgisTriggerAction.emit({ action: t.detail.action });
|
|
143
143
|
}
|
|
144
144
|
_isOutsideView(t) {
|
|
145
|
-
const { popupHeight: e, popupWidth: i, screenLocation: o, side:
|
|
146
|
-
return Number.isNaN(i) || Number.isNaN(e) || !
|
|
145
|
+
const { popupHeight: e, popupWidth: i, screenLocation: o, side: r, view: n } = t;
|
|
146
|
+
return Number.isNaN(i) || Number.isNaN(e) || !n || !o ? !1 : r === "right" && o.x + i / 2 > n.width || r === "left" && o.x - i / 2 < 0 || r === "top" && o.y - e < 0 || r === "bottom" && o.y + e > n.height;
|
|
147
147
|
}
|
|
148
148
|
_getPointerSize() {
|
|
149
|
-
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, i =
|
|
149
|
+
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, i = b(e?.height), o = b(e?.width);
|
|
150
150
|
return Math.hypot(i, o);
|
|
151
151
|
}
|
|
152
152
|
_calculateAutoAlignment(t) {
|
|
153
153
|
if (t !== "auto")
|
|
154
154
|
return t;
|
|
155
|
-
const { _mainContainerNode: e, _popupRect: i, viewModel: o } = this, { view:
|
|
156
|
-
if (
|
|
155
|
+
const { _mainContainerNode: e, _popupRect: i, viewModel: o } = this, { view: r } = o, { screenLocation: n } = this;
|
|
156
|
+
if (n == null || !r || !i || !e.value)
|
|
157
157
|
return "top-center";
|
|
158
|
-
const
|
|
159
|
-
popupHeight:
|
|
158
|
+
const s = window.getComputedStyle(e.value), a = b(s.maxHeight), d = b(s.height), c = this._getPointerSize(), { height: p, width: v } = i, h = v + c, u = Math.max(p, a, d) + c, x = this._isOutsideView({
|
|
159
|
+
popupHeight: u,
|
|
160
160
|
popupWidth: h,
|
|
161
|
-
screenLocation:
|
|
161
|
+
screenLocation: n,
|
|
162
162
|
side: "right",
|
|
163
|
-
view:
|
|
164
|
-
}),
|
|
165
|
-
popupHeight:
|
|
163
|
+
view: r
|
|
164
|
+
}), z = this._isOutsideView({
|
|
165
|
+
popupHeight: u,
|
|
166
166
|
popupWidth: h,
|
|
167
|
-
screenLocation:
|
|
167
|
+
screenLocation: n,
|
|
168
168
|
side: "left",
|
|
169
|
-
view:
|
|
170
|
-
}),
|
|
171
|
-
popupHeight:
|
|
169
|
+
view: r
|
|
170
|
+
}), w = this._isOutsideView({
|
|
171
|
+
popupHeight: u,
|
|
172
172
|
popupWidth: h,
|
|
173
|
-
screenLocation:
|
|
173
|
+
screenLocation: n,
|
|
174
174
|
side: "top",
|
|
175
|
-
view:
|
|
176
|
-
}),
|
|
177
|
-
popupHeight:
|
|
175
|
+
view: r
|
|
176
|
+
}), D = this._isOutsideView({
|
|
177
|
+
popupHeight: u,
|
|
178
178
|
popupWidth: h,
|
|
179
|
-
screenLocation:
|
|
179
|
+
screenLocation: n,
|
|
180
180
|
side: "bottom",
|
|
181
|
-
view:
|
|
181
|
+
view: r
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return z ? w ? "bottom-right" : "top-right" : x ? w ? "bottom-left" : "top-left" : w ? D ? "top-center" : "bottom-center" : "top-center";
|
|
184
184
|
}
|
|
185
185
|
_callCurrentAlignment(t) {
|
|
186
186
|
return typeof t == "function" ? t.call(this) : t;
|
|
187
187
|
}
|
|
188
188
|
_getCurrentAlignment() {
|
|
189
|
-
return this.dockEnabled || !this.active || !this._mainContainerNode.value ? null : this.
|
|
190
|
-
}
|
|
191
|
-
_calculatePositionResult(t) {
|
|
192
|
-
const e = ["left", "right"];
|
|
193
|
-
return C(this.el) === "rtl" && e.reverse(), t?.replace(/start/giu, e[0]).replace(/end/giu, e[1]);
|
|
189
|
+
return this.dockEnabled || !this.active || !this._mainContainerNode.value ? null : this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment));
|
|
194
190
|
}
|
|
195
191
|
_callDockPosition(t) {
|
|
196
192
|
return typeof t == "function" ? t.call(this) : t;
|
|
197
193
|
}
|
|
198
194
|
_getDockPosition() {
|
|
199
|
-
return this.
|
|
195
|
+
return this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position));
|
|
200
196
|
}
|
|
201
197
|
_getCurrentDockPosition() {
|
|
202
198
|
return this.dockEnabled && this.active ? this._getDockPosition() : null;
|
|
@@ -204,14 +200,14 @@ class W extends S {
|
|
|
204
200
|
_calculateAutoDockPosition(t) {
|
|
205
201
|
if (t !== "auto")
|
|
206
202
|
return t;
|
|
207
|
-
const e = this.viewModel?.view, i =
|
|
203
|
+
const e = this.viewModel?.view, i = "top-end";
|
|
208
204
|
if (!e)
|
|
209
205
|
return i;
|
|
210
206
|
const { breakpoints: o } = e;
|
|
211
207
|
return o?.xsmall && e.width <= o.xsmall ? "bottom-center" : i;
|
|
212
208
|
}
|
|
213
209
|
_getDockIcon() {
|
|
214
|
-
const t = this._getDockPosition();
|
|
210
|
+
const t = this._getDockPosition(), { _direction: e } = this;
|
|
215
211
|
if (this.dockEnabled)
|
|
216
212
|
return "minimize";
|
|
217
213
|
switch (t) {
|
|
@@ -224,8 +220,14 @@ class W extends S {
|
|
|
224
220
|
return "dock-bottom";
|
|
225
221
|
case "top-right":
|
|
226
222
|
case "bottom-right":
|
|
227
|
-
default:
|
|
228
223
|
return "dock-right";
|
|
224
|
+
case "top-start":
|
|
225
|
+
case "bottom-start":
|
|
226
|
+
return e === "rtl" ? "dock-right" : "dock-left";
|
|
227
|
+
case "top-end":
|
|
228
|
+
case "bottom-end":
|
|
229
|
+
default:
|
|
230
|
+
return e === "rtl" ? "dock-left" : "dock-right";
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
233
|
_handleDockIcon() {
|
|
@@ -237,33 +239,33 @@ class W extends S {
|
|
|
237
239
|
_calculateAlignmentPosition(t, e, i, o) {
|
|
238
240
|
if (t < 0 || e < 0 || !i || !o || t > i.width || e > i.height)
|
|
239
241
|
return;
|
|
240
|
-
const { currentAlignment: n } = this,
|
|
241
|
-
if (n === "top-left")
|
|
242
|
+
const { _direction: r, currentAlignment: n } = this, s = this._getPointerSize(), a = s / 2;
|
|
243
|
+
if (n === "top-left" || n === "top-start" && r === "ltr" || n === "top-end" && r === "rtl")
|
|
242
244
|
return {
|
|
243
245
|
top: e + i.top - (o.height + a),
|
|
244
246
|
left: t + i.left - o.width - a
|
|
245
247
|
};
|
|
246
248
|
if (n === "top-center")
|
|
247
249
|
return {
|
|
248
|
-
top: e + i.top - (o.height +
|
|
250
|
+
top: e + i.top - (o.height + s),
|
|
249
251
|
left: t + i.left - o.width / 2
|
|
250
252
|
};
|
|
251
|
-
if (n === "top-right")
|
|
253
|
+
if (n === "top-right" || n === "top-end" && r === "ltr" || n === "top-start" && r === "rtl")
|
|
252
254
|
return {
|
|
253
255
|
top: e + i.top - (o.height + a),
|
|
254
256
|
left: t + i.left + a
|
|
255
257
|
};
|
|
256
|
-
if (n === "bottom-left")
|
|
258
|
+
if (n === "bottom-left" || n === "bottom-start" && r === "ltr" || n === "bottom-end" && r === "rtl")
|
|
257
259
|
return {
|
|
258
260
|
top: e + i.top + a,
|
|
259
261
|
left: t + i.left - o.width - a
|
|
260
262
|
};
|
|
261
263
|
if (n === "bottom-center")
|
|
262
264
|
return {
|
|
263
|
-
top: e + i.top +
|
|
265
|
+
top: e + i.top + s,
|
|
264
266
|
left: t + i.left - o.width / 2
|
|
265
267
|
};
|
|
266
|
-
if (n === "bottom-right")
|
|
268
|
+
if (n === "bottom-right" || n === "bottom-end" && r === "ltr" || n === "bottom-start" && r === "rtl")
|
|
267
269
|
return {
|
|
268
270
|
top: e + i.top + a,
|
|
269
271
|
left: t + i.left + a
|
|
@@ -285,11 +287,11 @@ class W extends S {
|
|
|
285
287
|
return `inset: ${this._getPositionStyleValue(o.top)} ${this._getPositionStyleValue(o.right)} ${this._getPositionStyleValue(o.bottom)} ${this._getPositionStyleValue(o.left)};`;
|
|
286
288
|
}
|
|
287
289
|
_dockingThresholdCrossed(t, e, i) {
|
|
288
|
-
const [o,
|
|
289
|
-
return o <=
|
|
290
|
+
const [o, r] = t, [n, s] = e, { width: a = 0, height: d = 0 } = i ?? {};
|
|
291
|
+
return o <= a && n > a || o > a && n <= a || r <= d && s > d || r > d && s <= d;
|
|
290
292
|
}
|
|
291
293
|
_updateDockEnabledForViewSize(t, e) {
|
|
292
|
-
if (!t || !e)
|
|
294
|
+
if (!t || !e || !this.viewModel?.view?.ready)
|
|
293
295
|
return;
|
|
294
296
|
const { dockOptions: i } = this, o = i.breakpoint;
|
|
295
297
|
typeof o == "object" && this._dockingThresholdCrossed(t, e, o) && this._setDockEnabledForViewSize(i);
|
|
@@ -298,57 +300,62 @@ class W extends S {
|
|
|
298
300
|
const e = t.breakpoint, i = this.viewModel?.view?.ui;
|
|
299
301
|
if (!i)
|
|
300
302
|
return !1;
|
|
301
|
-
const { width: o, height:
|
|
302
|
-
if (Number.isNaN(o) || Number.isNaN(
|
|
303
|
+
const { width: o, height: r } = i;
|
|
304
|
+
if (Number.isNaN(o) || Number.isNaN(r) || typeof e != "object")
|
|
303
305
|
return !1;
|
|
304
|
-
const
|
|
305
|
-
return
|
|
306
|
+
const n = typeof e.width == "number" && o <= (e.width ?? 0), s = typeof e.height == "number" && r <= (e.height ?? 0);
|
|
307
|
+
return n || s;
|
|
306
308
|
}
|
|
307
309
|
_setDockEnabledForViewSize(t) {
|
|
308
310
|
this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
|
|
309
311
|
}
|
|
310
312
|
render() {
|
|
311
|
-
const {
|
|
312
|
-
"aligned-top-center":
|
|
313
|
-
"aligned-bottom-center":
|
|
314
|
-
"aligned-top-left":
|
|
315
|
-
"aligned-bottom-left":
|
|
316
|
-
"aligned-top-right":
|
|
317
|
-
"aligned-bottom-right":
|
|
313
|
+
const { _direction: t, dockEnabled: e, currentAlignment: i, currentDockPosition: o, positionStyle: r } = this, { active: n, view: s } = this.viewModel, a = n && e, d = n && !e, c = s?.widthBreakpoint, p = s?.heightBreakpoint, v = {
|
|
314
|
+
"aligned-top-center": i === "top-center",
|
|
315
|
+
"aligned-bottom-center": i === "bottom-center",
|
|
316
|
+
"aligned-top-left": i === "top-left" || i === "top-start" && t === "ltr" || i === "top-end" && t === "rtl",
|
|
317
|
+
"aligned-bottom-left": i === "bottom-left" || i === "bottom-start" && t === "ltr" || i === "bottom-end" && t === "rtl",
|
|
318
|
+
"aligned-top-right": i === "top-right" || i === "top-end" && t === "ltr" || i === "top-start" && t === "rtl",
|
|
319
|
+
"aligned-bottom-right": i === "bottom-right" || i === "bottom-end" && t === "ltr" || i === "bottom-start" && t === "rtl",
|
|
318
320
|
"is-docked": a,
|
|
319
|
-
shadow:
|
|
320
|
-
"is-
|
|
321
|
-
"is-docked-top-
|
|
322
|
-
"is-docked-top-
|
|
323
|
-
"is-docked-
|
|
324
|
-
"is-docked-
|
|
325
|
-
"is-docked-
|
|
326
|
-
"is-
|
|
327
|
-
"is-
|
|
328
|
-
"is-
|
|
329
|
-
"is-
|
|
330
|
-
"is-
|
|
331
|
-
"is-xl-
|
|
332
|
-
"is-lg-
|
|
333
|
-
"is-md-
|
|
334
|
-
"is-sm-
|
|
335
|
-
"is-xs-
|
|
321
|
+
shadow: d,
|
|
322
|
+
"is-rtl": this._direction === "rtl",
|
|
323
|
+
"is-docked-top-start": o === "top-start",
|
|
324
|
+
"is-docked-top-end": o === "top-end",
|
|
325
|
+
"is-docked-top-left": o === "top-left",
|
|
326
|
+
"is-docked-top-center": o === "top-center",
|
|
327
|
+
"is-docked-top-right": o === "top-right",
|
|
328
|
+
"is-docked-bottom-left": o === "bottom-left",
|
|
329
|
+
"is-docked-bottom-center": o === "bottom-center",
|
|
330
|
+
"is-docked-bottom-right": o === "bottom-right",
|
|
331
|
+
"is-docked-bottom-start": o === "bottom-start",
|
|
332
|
+
"is-docked-bottom-end": o === "bottom-end",
|
|
333
|
+
"is-xl-width-breakpoint": c === "xlarge",
|
|
334
|
+
"is-lg-width-breakpoint": c === "large",
|
|
335
|
+
"is-md-width-breakpoint": c === "medium",
|
|
336
|
+
"is-sm-width-breakpoint": c === "small",
|
|
337
|
+
"is-xs-width-breakpoint": c === "xsmall",
|
|
338
|
+
"is-xl-height-breakpoint": p === "xlarge",
|
|
339
|
+
"is-lg-height-breakpoint": p === "large",
|
|
340
|
+
"is-md-height-breakpoint": p === "medium",
|
|
341
|
+
"is-sm-height-breakpoint": p === "small",
|
|
342
|
+
"is-xs-height-breakpoint": p === "xsmall"
|
|
336
343
|
};
|
|
337
|
-
return
|
|
338
|
-
hidden: !n || !
|
|
339
|
-
}))} .ariaHidden=${!n} .ariaLabel=${V(this.heading ?? "")} role=dialog popover=manual ${
|
|
344
|
+
return g`<div style=${T(r)} class=${y(C("root", v, {
|
|
345
|
+
hidden: !n || !r && !e
|
|
346
|
+
}))} .ariaHidden=${!n} .ariaLabel=${V(this.heading ?? "")} role=dialog popover=manual ${f(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
|
|
340
347
|
}
|
|
341
348
|
_renderPointer() {
|
|
342
|
-
return !this.dockEnabled || !this.active ?
|
|
349
|
+
return !this.dockEnabled || !this.active ? g`<div class="pointer" role=presentation><div class=${y(C("pointer-direction", "shadow"))} ${f(this._pointerNode)}></div></div>` : null;
|
|
343
350
|
}
|
|
344
351
|
_renderMainContainer() {
|
|
345
352
|
const t = {
|
|
346
353
|
shadow: this.dockEnabled
|
|
347
354
|
};
|
|
348
|
-
return
|
|
355
|
+
return g`<div class=${y(C("main-container", t))} ${f(this._mainContainerNode)}>${P(this.viewModel, g`<arcgis-features .collapsed=${this.collapsed} .autoDestroyDisabled=${this.autoDestroyDisabled} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${f(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
349
356
|
}
|
|
350
357
|
}
|
|
351
|
-
|
|
358
|
+
A("arcgis-popup", W);
|
|
352
359
|
export {
|
|
353
360
|
W as ArcgisPopup
|
|
354
361
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
2
2
|
|
|
3
|
-
export type PopupPositionResult = "bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right";
|
|
3
|
+
export type PopupPositionResult = "bottom-center" | "bottom-end" | "bottom-left" | "bottom-right" | "bottom-start" | "top-center" | "top-end" | "top-left" | "top-right" | "top-start";
|
|
4
4
|
|
|
5
5
|
export type PopupPositionValue = PopupPositionResult | PopupPositionVariable;
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
3
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
4
|
-
import type Slide from "@arcgis/core/webscene/Slide";
|
|
3
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
|
+
import type Slide from "@arcgis/core/webscene/Slide.js";
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
|
7
7
|
export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "slideId" | "view">> {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
3
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
3
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
4
4
|
import type { HeadingLevel } from "../types.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
-
import type { MeasurementSystem } from "@arcgis/core/core/units";
|
|
3
|
+
import type { MeasurementSystem } from "@arcgis/core/core/units.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
2
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
3
3
|
import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js";
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type Color from "@arcgis/core/Color.js";
|
|
6
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
7
7
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
8
|
+
import type { ShadowCastMode, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
|
|
8
9
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
10
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
10
|
-
import type { ShadowCastMode as ShadowCastMode2, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* The Shadow Cast component displays the cumulative shadows of 3D features in a
|
|
@@ -430,7 +430,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
430
430
|
*
|
|
431
431
|
* @since 5.0
|
|
432
432
|
*/
|
|
433
|
-
accessor mode:
|
|
433
|
+
accessor mode: ShadowCastMode;
|
|
434
434
|
/**
|
|
435
435
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
436
436
|
*
|
|
@@ -10,9 +10,8 @@ import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/Ske
|
|
|
10
10
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
12
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
13
|
-
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent } from "@arcgis/core/widgets/Sketch/types";
|
|
13
|
+
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, RedoEvent, DeleteEvent, CreateEvent, SketchTool, SelectionTool, CreationMode, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
|
|
14
14
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
15
|
-
import type { SketchTool, SelectionTool, CreateTool as CreateTool2, CreationMode, CreateOptions as CreateOptions2, UpdateOptions, Layout, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol, State, ToolbarKind } from "@arcgis/core/widgets/Sketch/types.js";
|
|
16
15
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
17
16
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
18
17
|
|
|
@@ -59,7 +58,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
59
58
|
*
|
|
60
59
|
* @default ["point", "polyline", "freehandPolyline", "polygon", "freehandPolygon", "rectangle", "circle"]
|
|
61
60
|
*/
|
|
62
|
-
accessor availableCreateTools: Array<
|
|
61
|
+
accessor availableCreateTools: Array<CreateTool> | null | undefined;
|
|
63
62
|
/** The graphic that is being created. */
|
|
64
63
|
get createGraphic(): Graphic | null | undefined;
|
|
65
64
|
/**
|
|
@@ -83,7 +82,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
83
82
|
*
|
|
84
83
|
* @since 4.14
|
|
85
84
|
*/
|
|
86
|
-
accessor defaultCreateOptions:
|
|
85
|
+
accessor defaultCreateOptions: CreateOptions;
|
|
87
86
|
/**
|
|
88
87
|
* By default, sketch will auto-create a new graphics layer if none was
|
|
89
88
|
* provided. Set this prop to true to disable this behavior.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer";
|
|
2
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
1
|
+
import type BuildingComponentSublayer from "@arcgis/core/layers/buildingSublayers/BuildingComponentSublayer.js";
|
|
2
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
3
3
|
|
|
4
4
|
export type SliceableLayer = BuildingComponentSublayer | Layer;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type LinkChartView from "@arcgis/core/views/LinkChartView";
|
|
5
|
-
import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem";
|
|
6
|
-
import type Collection from "@arcgis/core/core/Collection";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
5
|
+
import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
6
|
+
import type Collection from "@arcgis/core/core/Collection.js";
|
|
7
7
|
import type WebMap from "@arcgis/core/WebMap.js";
|
|
8
8
|
import type WebScene from "@arcgis/core/WebScene.js";
|
|
9
|
-
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
10
9
|
import type ListItem from "@arcgis/core/widgets/TableList/ListItem.js";
|
|
11
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
11
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
13
|
-
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel";
|
|
12
|
+
import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel.js";
|
|
14
13
|
import type { FilterPredicate } from "@arcgis/core/widgets/TableList.js";
|
|
15
14
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
16
15
|
import type { ListItemModifier, State } from "@arcgis/core/widgets/TableList/types.js";
|
|
@@ -231,7 +230,7 @@ export abstract class ArcgisTableList extends LitElement {
|
|
|
231
230
|
*
|
|
232
231
|
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectionMode)
|
|
233
232
|
*/
|
|
234
|
-
accessor selectedItems:
|
|
233
|
+
accessor selectedItems: Collection<ListItem>;
|
|
235
234
|
/**
|
|
236
235
|
* Specifies the selection mode.
|
|
237
236
|
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems) property.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type WebMap from "@arcgis/core/WebMap";
|
|
2
|
+
import type WebMap from "@arcgis/core/WebMap.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
|
-
import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel";
|
|
8
|
-
import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider";
|
|
7
|
+
import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel.js";
|
|
8
|
+
import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider.js";
|
|
9
9
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
10
10
|
import type { Action, TimeSliderMode, TimeSliderState, Stops } from "@arcgis/core/widgets/TimeSlider/types.js";
|
|
11
11
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
|
-
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry";
|
|
4
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
+
import type AggregatedGeometry from "@arcgis/core/rest/networks/support/AggregatedGeometry.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
@@ -35,6 +35,16 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
35
35
|
};
|
|
36
36
|
showGraphics: string;
|
|
37
37
|
}>;
|
|
38
|
+
/**
|
|
39
|
+
* If true, the component will not be destroyed automatically when it is
|
|
40
|
+
* disconnected from the document. This is useful when you want to move the
|
|
41
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
42
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry/#destroy) method when you are done to
|
|
43
|
+
* prevent memory leaks.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
accessor autoDestroyDisabled: boolean;
|
|
38
48
|
/** @required */
|
|
39
49
|
accessor geometry: AggregatedGeometry | undefined;
|
|
40
50
|
/**
|
|
@@ -48,6 +58,8 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
|
|
|
48
58
|
accessor state: State;
|
|
49
59
|
/** @required */
|
|
50
60
|
accessor view: MapView | undefined;
|
|
61
|
+
/** Permanently destroy the component. */
|
|
62
|
+
destroy(): Promise<void>;
|
|
51
63
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
52
64
|
readonly "@eventTypes": {
|
|
53
65
|
arcgisHideGraphicsChange: ArcgisUtilityNetworkAggregatedGeometry["arcgisHideGraphicsChange"]["detail"];
|