@arcgis/map-components 5.0.0-next.164 → 5.0.0-next.165
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/27EX7BAT.js +2 -0
- package/dist/cdn/{3XJU4K4Z.js → 2FBKLGCE.js} +1 -1
- package/dist/cdn/{U3H7EVCU.js → 2GYHEEJC.js} +1 -1
- package/dist/cdn/{NPEMOLA3.js → 2KXVCJMQ.js} +1 -1
- package/dist/cdn/{K4PC3ILQ.js → 2TODV24L.js} +1 -1
- package/dist/cdn/{MAM7YHLA.js → 2VVXUYOF.js} +1 -1
- package/dist/cdn/{QUHJMEBB.js → 2YI467ME.js} +1 -1
- package/dist/cdn/34S3BZS7.js +2 -0
- package/dist/cdn/{JCW65STL.js → 36NT6EOS.js} +1 -1
- package/dist/cdn/{WUISNRWL.js → 3K3Q3L5Z.js} +1 -1
- package/dist/cdn/{ORVYHFUJ.js → 3L6KP67K.js} +1 -1
- package/dist/cdn/{UELD2T53.js → 3O5MUEQE.js} +1 -1
- package/dist/cdn/{ILFME5US.js → 3RF66PN5.js} +1 -1
- package/dist/cdn/{PYMUS3H4.js → 46XRVUAH.js} +1 -1
- package/dist/cdn/{CO7UZYM2.js → 4IFHPHVF.js} +1 -1
- package/dist/cdn/{42WUBROP.js → 4OMTR2QQ.js} +1 -1
- package/dist/cdn/{RZ4T32PU.js → 4PK3GJ4F.js} +1 -1
- package/dist/cdn/{BGG5VIEL.js → 53LWO7HI.js} +1 -1
- package/dist/cdn/{TGUIWWDN.js → 5M4DDFN6.js} +1 -1
- package/dist/cdn/{JWT66RP2.js → 5PG27K3A.js} +1 -1
- package/dist/cdn/{U4TAMNG3.js → 5UFFQJSU.js} +1 -1
- package/dist/cdn/{TQRR2FH6.js → 5Y6NI7HQ.js} +1 -1
- package/dist/cdn/{KAZBQ6OA.js → 67G4OVIE.js} +1 -1
- package/dist/cdn/{QKSSTPS3.js → 7INPCVND.js} +1 -1
- package/dist/cdn/{LE7AXIL2.js → 7QF7HEDI.js} +1 -1
- package/dist/cdn/{7AGJFQHK.js → AAH2GFLP.js} +1 -1
- package/dist/cdn/{Z22BBNTK.js → AC3NQPKC.js} +1 -1
- package/dist/cdn/{26SX6MF4.js → AGY724TJ.js} +1 -1
- package/dist/cdn/AHTIA2R6.js +2 -0
- package/dist/cdn/{25HB2UBJ.js → AIRTNDBH.js} +1 -1
- package/dist/cdn/{JZXMWXVD.js → AOZ2GPBD.js} +1 -1
- package/dist/cdn/{PZ2JPHRS.js → AX67NWFX.js} +1 -1
- package/dist/cdn/{WDTFIXMM.js → BHWPGG7Z.js} +1 -1
- package/dist/cdn/{F2HPTFLQ.js → BPZSPB4L.js} +1 -1
- package/dist/cdn/{67DKLGTW.js → BQDOPZG6.js} +1 -1
- package/dist/cdn/{H5RGMC7S.js → BYVF7WOC.js} +1 -1
- package/dist/cdn/{KGJGLAWM.js → CAW2JA3E.js} +1 -1
- package/dist/cdn/{JUHCPSPF.js → CAYSZWRK.js} +1 -1
- package/dist/cdn/{CSU7GLED.js → CBR6PUEY.js} +1 -1
- package/dist/cdn/{CEB3VR24.js → CFZXYFU7.js} +1 -1
- package/dist/cdn/{FUHAGBXL.js → CGRFWSSV.js} +1 -1
- package/dist/cdn/{KWIBK4I5.js → CGROBDHE.js} +1 -1
- package/dist/cdn/{N7QKWBTM.js → COEDZB6D.js} +1 -1
- package/dist/cdn/{BKYII5LQ.js → CQ6KMSIO.js} +1 -1
- package/dist/cdn/{MU6C77DZ.js → CXJGKZ7S.js} +1 -1
- package/dist/cdn/{5LG4S2WV.js → DGDL4K6G.js} +1 -1
- package/dist/cdn/{4ESEDU4X.js → DHOVN4JA.js} +1 -1
- package/dist/cdn/{IQ7EVFBF.js → DI66GYDO.js} +1 -1
- package/dist/cdn/{M3AVHGBC.js → DMUVML6L.js} +1 -1
- package/dist/cdn/{ZOBY4YF2.js → DXJ7TMEQ.js} +1 -1
- package/dist/cdn/EGCQFNG3.js +2 -0
- package/dist/cdn/EOFEVRA3.js +2 -0
- package/dist/cdn/{XCDPFMHG.js → FFKZELBO.js} +1 -1
- package/dist/cdn/{EO66UQLI.js → FNAMDUKT.js} +1 -1
- package/dist/cdn/{HYBTGX3N.js → FOLIPPYI.js} +1 -1
- package/dist/cdn/{4WMWNIPN.js → FZVLJT66.js} +1 -1
- package/dist/cdn/{NMUWFJ4U.js → GD4LUFAZ.js} +1 -1
- package/dist/cdn/{WV6XSMZW.js → GK5T2FD6.js} +1 -1
- package/dist/cdn/{ZFATBY4D.js → GNCHWVNF.js} +1 -1
- package/dist/cdn/{IL56ZRDO.js → GOBIBDSA.js} +1 -1
- package/dist/cdn/{5KET4V4O.js → HOBC5TEW.js} +1 -1
- package/dist/cdn/{YLSIF5R2.js → HVRIARCB.js} +1 -1
- package/dist/cdn/{7WJ6TNOT.js → IEH4OYWP.js} +1 -1
- package/dist/cdn/{SU6ZGF4G.js → IMPTONCA.js} +1 -1
- package/dist/cdn/{RYKRMJMK.js → IPCQCFE3.js} +1 -1
- package/dist/cdn/{FRGWWVJK.js → J2N4NGSM.js} +1 -1
- package/dist/cdn/{F6QNNUIN.js → J4BNEHAO.js} +1 -1
- package/dist/cdn/{W3AN7XLR.js → JDP3YCBM.js} +1 -1
- package/dist/cdn/{RE2BXNZ3.js → JPZMCGTS.js} +1 -1
- package/dist/cdn/{2FTXKTA4.js → JW5X664C.js} +1 -1
- package/dist/cdn/{NXZJ43G3.js → JYJBSAJT.js} +1 -1
- package/dist/cdn/{RB7GCEEB.js → K6Z5GBWL.js} +1 -1
- package/dist/cdn/{6424II7L.js → KBQK73Z2.js} +1 -1
- package/dist/cdn/{UQKKALKO.js → KCQB4NNK.js} +1 -1
- package/dist/cdn/{DT74YNQP.js → KRVZWYAS.js} +1 -1
- package/dist/cdn/{OFQNQF6N.js → KVJKF3VJ.js} +1 -1
- package/dist/cdn/{J4XU75P7.js → KXTLXAZQ.js} +1 -1
- package/dist/cdn/{Z6LXLPK7.js → LRUQSH7S.js} +1 -1
- package/dist/cdn/{X7QWBVC2.js → M3LMLGTS.js} +1 -1
- package/dist/cdn/{FA3Z6QOE.js → MQYKZ2MY.js} +1 -1
- package/dist/cdn/{AX23Q2XH.js → N7JZUN7G.js} +1 -1
- package/dist/cdn/{IWXXD73F.js → NMKZ77A3.js} +1 -1
- package/dist/cdn/{6IPVLMFQ.js → OJCRKH55.js} +1 -1
- package/dist/cdn/{WLNRPTCN.js → OKSHNWO7.js} +1 -1
- package/dist/cdn/{HKVQWRPL.js → OROETUZO.js} +1 -1
- package/dist/cdn/OY3WQBQM.js +2 -0
- package/dist/cdn/{KRVBBG4M.js → QGNFMBBV.js} +1 -1
- package/dist/cdn/{UW3G2BPO.js → QNCFWECI.js} +1 -1
- package/dist/cdn/{B7SDETM6.js → QSOGE4GS.js} +1 -1
- package/dist/cdn/{OKRTKYGF.js → QTOSV4XU.js} +1 -1
- package/dist/cdn/RTC24EVK.js +2 -0
- package/dist/cdn/{ONPN5M3Z.js → RTLNV5MH.js} +1 -1
- package/dist/cdn/{7EW22PZD.js → RUC6NG6L.js} +1 -1
- package/dist/cdn/{AZN2TGWK.js → RYH43ZOR.js} +1 -1
- package/dist/cdn/{RMFIN5AS.js → RZDIL4FK.js} +1 -1
- package/dist/cdn/{DPW55W6W.js → SAGJDTGS.js} +1 -1
- package/dist/cdn/{AJIZTCGT.js → SS3BP5JY.js} +1 -1
- package/dist/cdn/{RU5U2DVA.js → STZ7NN7N.js} +1 -1
- package/dist/cdn/{T3JWZEB6.js → TBPQMJ3U.js} +1 -1
- package/dist/cdn/TCNK7NLA.js +2 -0
- package/dist/cdn/{3HYCJV4V.js → UCRB5RGH.js} +1 -1
- package/dist/cdn/{GAH6OGQE.js → UEUYXTE3.js} +1 -1
- package/dist/cdn/{LT5ALQM5.js → UFQOOCIO.js} +1 -1
- package/dist/cdn/{6IUQ5UHX.js → UFWKXIL5.js} +1 -1
- package/dist/cdn/UJXCCQWE.js +2 -0
- package/dist/cdn/{KDJV5F4T.js → V2QY34FP.js} +1 -1
- package/dist/cdn/{ZVTV4UKT.js → V4E5MPHA.js} +1 -1
- package/dist/cdn/{DUHFQ4AI.js → VAXL3OO6.js} +1 -1
- package/dist/cdn/{AHGLOKZI.js → VB66GDWY.js} +1 -1
- package/dist/cdn/{INYYRLED.js → VEBPC4NS.js} +1 -1
- package/dist/cdn/W627TIVM.js +2 -0
- package/dist/cdn/{DB2NOQ3D.js → WVRJP4IF.js} +1 -1
- package/dist/cdn/{QF7RABZH.js → WX4UNUXQ.js} +1 -1
- package/dist/cdn/{UBGE4QNR.js → WXQJ3OSA.js} +1 -1
- package/dist/cdn/{CGASUBOS.js → WXXTKBUN.js} +1 -1
- package/dist/cdn/{IKOLSNGV.js → WZVTF32R.js} +1 -1
- package/dist/cdn/{WBGZAAEK.js → X446GLUI.js} +1 -1
- package/dist/cdn/{3UILDMTJ.js → X4DF5NLE.js} +1 -1
- package/dist/cdn/{PQ5PGLJM.js → X4M3A7NY.js} +1 -1
- package/dist/cdn/{AEMKZZZS.js → X4PMY7Z5.js} +1 -1
- package/dist/cdn/{5DEOSU7J.js → X72XPU7O.js} +1 -1
- package/dist/cdn/{XIOIZK7A.js → X7Z2SLR4.js} +1 -1
- package/dist/cdn/{L5JWLRD3.js → XFCXD5BV.js} +1 -1
- package/dist/cdn/{D4PJU376.js → XL4ZVZQO.js} +1 -1
- package/dist/cdn/{SDWQW3ZX.js → XT5EYUOZ.js} +1 -1
- package/dist/cdn/{GCFNRINR.js → XUMBGLCM.js} +1 -1
- package/dist/cdn/{POP5NTRI.js → Y7HAR5TE.js} +1 -1
- package/dist/cdn/{7OOAOM5T.js → YBPTQSLR.js} +1 -1
- package/dist/cdn/{Z6LBCKKH.js → YGFR3GKE.js} +1 -1
- package/dist/cdn/{75LFOVPY.js → YJQ24JUD.js} +1 -1
- package/dist/cdn/{E5SXPWDJ.js → YOZLJOIM.js} +1 -1
- package/dist/cdn/{522HNMQI.js → YQ7TCV5A.js} +1 -1
- package/dist/cdn/{MD36SH63.js → YZSRJTGJ.js} +1 -1
- package/dist/cdn/{CXHSL2Y4.js → ZFHIU6DT.js} +1 -1
- package/dist/cdn/ZNBKMZP7.js +2 -0
- package/dist/cdn/{GMR2QJNU.js → ZY32LRC5.js} +1 -1
- package/dist/cdn/index.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-direct-line-measurement-3d/customElement.js +59 -71
- package/dist/components/arcgis-directions/customElement.d.ts +17 -0
- 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-paste/PasteViewModel.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +7 -3
- package/dist/components/arcgis-popup/customElement.js +103 -96
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +5 -5
- package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
- package/dist/components/types.d.ts +5 -3
- 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 +9 -9
- package/dist/types/lumina.d.ts +8 -8
- package/dist/types/preact.d.ts +8 -8
- package/dist/types/react.d.ts +8 -8
- package/dist/types/stencil.d.ts +8 -8
- package/package.json +4 -4
- package/dist/cdn/3URKZO5O.js +0 -2
- package/dist/cdn/3V6ZTS7B.js +0 -2
- package/dist/cdn/AAGYR4XM.js +0 -2
- package/dist/cdn/F5I4VDXM.js +0 -2
- package/dist/cdn/FKQSJXNW.js +0 -2
- package/dist/cdn/LEUHIPSJ.js +0 -2
- package/dist/cdn/NZXDNMVC.js +0 -2
- package/dist/cdn/ODGGFBDK.js +0 -2
- package/dist/cdn/P76K34HQ.js +0 -2
- package/dist/cdn/SKIP3GUP.js +0 -2
- package/dist/cdn/Y4RMI55P.js +0 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/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} .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
|
|
|
@@ -291,7 +291,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
291
291
|
*/
|
|
292
292
|
accessor sliderStyle: BinaryColorSizeSliderStyle;
|
|
293
293
|
/** The current state of the component. */
|
|
294
|
-
|
|
294
|
+
get state(): SmartMappingSliderBaseState;
|
|
295
295
|
/**
|
|
296
296
|
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
297
297
|
* to link to the slider. You must provide either three or five stops. The minimum size
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
273
273
|
*/
|
|
274
274
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
275
275
|
/** The current state of the component. */
|
|
276
|
-
|
|
276
|
+
get state(): SmartMappingSliderBaseState;
|
|
277
277
|
/** Permanently destroy the component. */
|
|
278
278
|
destroy(): Promise<void>;
|
|
279
279
|
/**
|
|
@@ -12,7 +12,7 @@ class h extends l {
|
|
|
12
12
|
super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state: 32 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = n;
|
|
@@ -280,7 +280,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
280
280
|
*/
|
|
281
281
|
accessor sliderStyle: ClassedSizeSliderStyle;
|
|
282
282
|
/** The current state of the component. */
|
|
283
|
-
|
|
283
|
+
get state(): SmartMappingSliderBaseState;
|
|
284
284
|
/** Permanently destroy the component. */
|
|
285
285
|
destroy(): Promise<void>;
|
|
286
286
|
/**
|
|
@@ -12,7 +12,7 @@ class h extends l {
|
|
|
12
12
|
super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "sliderStyle", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -327,7 +327,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
327
327
|
*/
|
|
328
328
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
329
329
|
/** The current state of the component. */
|
|
330
|
-
|
|
330
|
+
get state(): SmartMappingSliderBaseState;
|
|
331
331
|
/**
|
|
332
332
|
* The colors and sizes corresponding with data values in the [ColorVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/)
|
|
333
333
|
* and [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) of the renderer associated with the slider.
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.primaryHandleEnabled = this.widget.primaryHandleEnabled, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -108,7 +108,7 @@ export abstract class ArcgisSliderHeatmapLegacy extends LitElement {
|
|
|
108
108
|
*/
|
|
109
109
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
110
110
|
/** The current state of the component. */
|
|
111
|
-
|
|
111
|
+
get state(): SmartMappingSliderBaseState;
|
|
112
112
|
/**
|
|
113
113
|
* The color stops of the [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/HeatmapRenderer/) to associate with the slider.
|
|
114
114
|
*
|
|
@@ -12,7 +12,7 @@ class c extends o {
|
|
|
12
12
|
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.stops = this.widget.stops, this.arcgisPropertyChange = s()("precision", "state", "stops"), this.arcgisReady = a(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state: 32, stops: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = d;
|
|
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
273
273
|
*/
|
|
274
274
|
accessor sliderStyle: OpacitySliderStyle;
|
|
275
275
|
/** The current state of the component. */
|
|
276
|
-
|
|
276
|
+
get state(): SmartMappingSliderBaseState;
|
|
277
277
|
/**
|
|
278
278
|
* The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/)
|
|
279
279
|
* to link to the slider. The opacity values in these stops will be used
|
|
@@ -12,7 +12,7 @@ class h extends a {
|
|
|
12
12
|
super(...arguments), this.widget = p(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = d(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -271,7 +271,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
271
271
|
*/
|
|
272
272
|
accessor sliderStyle: SizeSliderStyle;
|
|
273
273
|
/** The current state of the component. */
|
|
274
|
-
|
|
274
|
+
get state(): SmartMappingSliderBaseState;
|
|
275
275
|
/**
|
|
276
276
|
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
|
|
277
277
|
*
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -7,12 +7,17 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
|
7
7
|
import type { InputSetting } from "@arcgis/core/widgets/UtilityNetworkTrace.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* > [!WARNING]
|
|
11
|
+
* >
|
|
12
|
+
* > This component is **deprecated**. [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) is the preferred component for utility network tracing and should be used for all new development.
|
|
13
|
+
*
|
|
14
|
+
* Utility Network Trace component provides a way to run traces in a Utility Network based on connectivity or traversability from set trace locations. Trace locations (starting points and barriers) can be set by clicking the view.
|
|
11
15
|
*
|
|
12
16
|
* > The Utility Network Trace component does not support proxied feature services or feature services that utilize stored credentials.
|
|
13
17
|
*
|
|
14
18
|
* Note: Sign in to access the data in this sample, U/P: `viewer01`/`I68VGU^nMurF`
|
|
15
19
|
*
|
|
20
|
+
* @deprecated since 5.0, use [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) instead.
|
|
16
21
|
* @since 4.28
|
|
17
22
|
*/
|
|
18
23
|
export abstract class ArcgisUtilityNetworkTrace extends LitElement {
|