@arcgis/map-components 6.0.0-next.41 → 6.0.0-next.43
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/{HOMM5T7F.js → 23FQMZEJ.js} +1 -1
- package/dist/cdn/{OT4D3TVG.js → 2KGJ7SZH.js} +1 -1
- package/dist/cdn/{GTQOMGD7.js → 2MIHLZFT.js} +1 -1
- package/dist/cdn/{NF426VVG.js → 3L2QSX64.js} +1 -1
- package/dist/cdn/{IH2T7XRU.js → 3VLSPKTJ.js} +1 -1
- package/dist/cdn/3ZRVPLIZ.js +2 -0
- package/dist/cdn/{TII37L6V.js → 4FBPT5MA.js} +1 -1
- package/dist/cdn/{6WT5CUW4.js → 4IPFHL7W.js} +1 -1
- package/dist/cdn/{5XZKVLHC.js → 5ATTOWK4.js} +1 -1
- package/dist/cdn/{HUZLTULW.js → 5MRT5VRJ.js} +1 -1
- package/dist/cdn/6E4PVTTN.js +2 -0
- package/dist/cdn/{JBD7Q5YD.js → 6NCSWYYX.js} +1 -1
- package/dist/cdn/{5VK56DPB.js → 6NY67VW5.js} +1 -1
- package/dist/cdn/{RX7LVZ5V.js → 6P7V62WJ.js} +1 -1
- package/dist/cdn/{2BKWAHTD.js → 6TLX4R5A.js} +1 -1
- package/dist/cdn/6YPY3QWH.js +2 -0
- package/dist/cdn/72KS3TKM.js +2 -0
- package/dist/cdn/{5IWCWL2Q.js → 7FB4DOVH.js} +1 -1
- package/dist/cdn/{DYKRS7YX.js → 7GXJ6HJZ.js} +1 -1
- package/dist/cdn/7WUY57GO.js +2 -0
- package/dist/cdn/{DVLTVCIH.js → 7YSYI32G.js} +1 -1
- package/dist/cdn/{AMRGLUBB.js → AKSCONMP.js} +1 -1
- package/dist/cdn/{FTRRLFYT.js → B6VGTQ4L.js} +1 -1
- package/dist/cdn/BQCOYIEH.js +2 -0
- package/dist/cdn/{Y6MM3GUE.js → BVWTI63V.js} +1 -1
- package/dist/cdn/{4DRKK3S6.js → CBCAUSDJ.js} +1 -1
- package/dist/cdn/{CX23L4OX.js → CPK3PMBE.js} +1 -1
- package/dist/cdn/CSVVXWVY.js +2 -0
- package/dist/cdn/{Y4GL4RZF.js → CX5AZKYT.js} +1 -1
- package/dist/cdn/{2J6WEB6T.js → DEICCDP4.js} +1 -1
- package/dist/cdn/DJAFLMKA.js +2 -0
- package/dist/cdn/DSINA62N.js +4 -0
- package/dist/cdn/{NYIKMTKG.js → E4ZUESKS.js} +1 -1
- package/dist/cdn/{UJBFSJDF.js → E5BLQ5FK.js} +1 -1
- package/dist/cdn/{KKSTZRNG.js → EDGXY4OL.js} +1 -1
- package/dist/cdn/{YEPFWDQQ.js → EL5AFBNE.js} +1 -1
- package/dist/cdn/{GEZIZQV6.js → EN5NCDOJ.js} +1 -1
- package/dist/cdn/{QNQOBXLM.js → EQA4WO3H.js} +1 -1
- package/dist/cdn/{JILA7S66.js → FLSEDKWU.js} +1 -1
- package/dist/cdn/{625O4F4L.js → GQVCBPZS.js} +1 -1
- package/dist/cdn/{I7XTEFQP.js → GSGFAJCR.js} +1 -1
- package/dist/cdn/{BXBPEOE3.js → GSU7GNNP.js} +1 -1
- package/dist/cdn/{IZFEOYED.js → H2PXK4AT.js} +1 -1
- package/dist/cdn/{RCJ3GROZ.js → HBQAYD5H.js} +1 -1
- package/dist/cdn/{D7RGMUI2.js → IAJNBAC5.js} +1 -1
- package/dist/cdn/{JPQ5ELDQ.js → INMMQJOE.js} +1 -1
- package/dist/cdn/{OMDFAKMT.js → IQYLP2H7.js} +1 -1
- package/dist/cdn/{DVH35LZL.js → J2K2LRII.js} +1 -1
- package/dist/cdn/JUTSSJJF.js +2 -0
- package/dist/cdn/JZYDXRQ6.js +4 -0
- package/dist/cdn/{Y6ZJNJZ7.js → KSOO3XZ2.js} +1 -1
- package/dist/cdn/{KLSIUZNN.js → MKL4YXDU.js} +1 -1
- package/dist/cdn/{EMOYKTQL.js → O2BFE6NY.js} +1 -1
- package/dist/cdn/OUFB4LJK.js +2 -0
- package/dist/cdn/{GFC6LS4L.js → OYG42YJL.js} +1 -1
- package/dist/cdn/{O2RCWKKW.js → PD2BELF2.js} +1 -1
- package/dist/cdn/{T2JBUILX.js → PFYEJDRJ.js} +1 -1
- package/dist/cdn/{JWCEHGEZ.js → PNMBUGPD.js} +1 -1
- package/dist/cdn/QEAEEU72.js +2 -0
- package/dist/cdn/{U53HTVZS.js → RUJLTSDR.js} +1 -1
- package/dist/cdn/{IH7XQCY4.js → SA7B3XQG.js} +1 -1
- package/dist/cdn/{CNUAMIZQ.js → T5RX6NXT.js} +2 -2
- package/dist/cdn/T7PDMEAD.js +2 -0
- package/dist/cdn/{7PMJ7HCH.js → U5BYZI4G.js} +1 -1
- package/dist/cdn/UPXNXNTT.js +2 -0
- package/dist/cdn/{MG2HQ3FT.js → UW3FYQWG.js} +1 -1
- package/dist/cdn/V34ZYXUI.js +2 -0
- package/dist/cdn/{WRB2DEQ6.js → W6ILOTBW.js} +1 -1
- package/dist/cdn/{EZFBYRI4.js → WYX6WXW4.js} +1 -1
- package/dist/cdn/{JFE63ANJ.js → X27EW2YC.js} +1 -1
- package/dist/cdn/{6GFNMSM4.js → XHHVIWXO.js} +1 -1
- package/dist/cdn/{7P24CQF4.js → XOWOMVSW.js} +1 -1
- package/dist/cdn/{CRJB272X.js → XURPEC42.js} +1 -1
- package/dist/cdn/{WVRIR3PK.js → YB6AHPU5.js} +1 -1
- package/dist/cdn/{LQYTLVCL.js → YRQXG7GX.js} +1 -1
- package/dist/cdn/{LHH3PS5H.js → ZVGWUEUE.js} +1 -1
- package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +43 -50
- package/dist/components/arcgis-daylight/customElement.js +231 -225
- package/dist/components/arcgis-editor/customElement.d.ts +0 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -0
- package/dist/components/arcgis-elevation-profile/customElement.js +39 -38
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +0 -1
- package/dist/components/arcgis-scene/customElement.d.ts +0 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +36 -24
- package/dist/components/arcgis-shadow-cast/customElement.js +105 -128
- package/dist/components/arcgis-sketch/customElement.d.ts +0 -1
- package/dist/components/arcgis-time-zone-chip/customElement.d.ts +8 -0
- package/dist/components/arcgis-time-zone-chip/customElement.js +27 -18
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +34 -34
- package/dist/components/types.d.ts +7 -0
- 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/index.d.ts +0 -10
- package/dist/loader.js +3 -4
- package/dist/types/lumina.d.ts +6 -11
- package/dist/types/preact.d.ts +6 -12
- package/dist/types/react.d.ts +6 -13
- package/dist/types/stencil.d.ts +6 -11
- package/package.json +7 -7
- package/dist/cdn/27TSPXYV.js +0 -2
- package/dist/cdn/2JSC2QUL.js +0 -2
- package/dist/cdn/43IGD6V3.js +0 -2
- package/dist/cdn/4JR57ZIQ.js +0 -2
- package/dist/cdn/6BT6RP22.js +0 -2
- package/dist/cdn/6KYZMT4A.js +0 -2
- package/dist/cdn/BJUFDQGX.js +0 -2
- package/dist/cdn/DFNH6YRR.js +0 -2
- package/dist/cdn/GOMR7D5M.js +0 -2
- package/dist/cdn/HKKNU4CX.js +0 -2
- package/dist/cdn/LZUAJU6O.js +0 -2
- package/dist/cdn/PYBUTNHM.js +0 -2
- package/dist/cdn/SKV3CQSZ.js +0 -2
- package/dist/cdn/TXVB6WRV.js +0 -2
- package/dist/cdn/UYDXI4AK.js +0 -4
- package/dist/cdn/YAWLVMV6.js +0 -2
- package/dist/cdn/YGBYB3BZ.js +0 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +0 -100
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +0 -44
- package/dist/components/arcgis-utility-network-validate-topology/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-validate-topology/index.js +0 -1
- /package/dist/cdn/{SLQPDAGN.js → 237ZYFAI.js} +0 -0
- /package/dist/cdn/{AYQJ2LTV.js → 4LNUUNTS.js} +0 -0
- /package/dist/cdn/{OLSESBZ7.js → 4RG2L4NX.js} +0 -0
- /package/dist/cdn/{N2YWWQOS.js → 6F6UDFL6.js} +0 -0
- /package/dist/cdn/{62HMPABL.js → 6FZQAFDW.js} +0 -0
- /package/dist/cdn/{RTDY3HLR.js → 6RNYBJQG.js} +0 -0
- /package/dist/cdn/{ZCL4XHIZ.js → 6YT2MRU6.js} +0 -0
- /package/dist/cdn/{XQ2WXTW7.js → AAF7U7C7.js} +0 -0
- /package/dist/cdn/{IRFIHD5X.js → AZFQTGM4.js} +0 -0
- /package/dist/cdn/{XCSF7KJK.js → BVR6RYPL.js} +0 -0
- /package/dist/cdn/{DPEWQQEB.js → C3VCBV5R.js} +0 -0
- /package/dist/cdn/{ZSKO7HLH.js → COJJ4ST7.js} +0 -0
- /package/dist/cdn/{NVN2CATF.js → CSLBASOL.js} +0 -0
- /package/dist/cdn/{2P5AJORF.js → DDUJHOQ5.js} +0 -0
- /package/dist/cdn/{DLUFAV4S.js → F25B6VFT.js} +0 -0
- /package/dist/cdn/{PWZHB6VD.js → FC4U5FYO.js} +0 -0
- /package/dist/cdn/{SLNXNVPI.js → H3SNBMDP.js} +0 -0
- /package/dist/cdn/{QWMDZDQA.js → HDNFEQXP.js} +0 -0
- /package/dist/cdn/{FJMXBIN5.js → HMAEKQ63.js} +0 -0
- /package/dist/cdn/{T34W3GKP.js → HRKFC3ZC.js} +0 -0
- /package/dist/cdn/{5GTPIPN7.js → ID3JLPN6.js} +0 -0
- /package/dist/cdn/{KOMTNQPT.js → IKNNVF57.js} +0 -0
- /package/dist/cdn/{OFBWNR54.js → J3U6IFQO.js} +0 -0
- /package/dist/cdn/{CHMBPPHS.js → JUG5VVPL.js} +0 -0
- /package/dist/cdn/{MEISDI2H.js → KYUDUFNZ.js} +0 -0
- /package/dist/cdn/{4LWSF6AI.js → L63YJ5AF.js} +0 -0
- /package/dist/cdn/{LVIYMA67.js → LGPNCTTW.js} +0 -0
- /package/dist/cdn/{LS4U4GD5.js → LH4SQVC2.js} +0 -0
- /package/dist/cdn/{XGWYQ7FU.js → LNUFIKD5.js} +0 -0
- /package/dist/cdn/{7YT5W57B.js → NIASADUV.js} +0 -0
- /package/dist/cdn/{UDXDE3LW.js → NJ3CJS46.js} +0 -0
- /package/dist/cdn/{6SL7YNKF.js → NXC47WWQ.js} +0 -0
- /package/dist/cdn/{ZNIMZP5R.js → O527UXXI.js} +0 -0
- /package/dist/cdn/{G4IKO2R6.js → OXZOWO5A.js} +0 -0
- /package/dist/cdn/{SFDCS6A2.js → PHFJU5KL.js} +0 -0
- /package/dist/cdn/{TP2KQRW6.js → QHK5I5OO.js} +0 -0
- /package/dist/cdn/{IAYL44LK.js → RB3QNSQJ.js} +0 -0
- /package/dist/cdn/{ECA47Z37.js → T4CJDMMZ.js} +0 -0
- /package/dist/cdn/{AKTIOEYM.js → TAU22PX7.js} +0 -0
- /package/dist/cdn/{ZHYXFOYU.js → VP47DYTR.js} +0 -0
- /package/dist/cdn/{NVKOZL7X.js → WMP77MLQ.js} +0 -0
- /package/dist/cdn/{5GGAWGSN.js → WMRMVZHH.js} +0 -0
- /package/dist/cdn/{GCPR7XFU.js → YEEPGAEP.js} +0 -0
|
@@ -432,7 +432,6 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
432
432
|
* Changes to this property apply when the next create or update operation starts, not to an operation already in progress.
|
|
433
433
|
*
|
|
434
434
|
* @default false
|
|
435
|
-
* @beta
|
|
436
435
|
* @since 5.2
|
|
437
436
|
* @default false
|
|
438
437
|
*/
|
|
@@ -41,8 +41,16 @@ import type { SystemOrLengthUnit } from "@arcgis/core/core/units.js";
|
|
|
41
41
|
* * In geographic coordinate systems (GCS) and in Web Mercator, distances are computed geodetically.
|
|
42
42
|
* * In projected coordinate systems (PCS), apart from Web Mercator, distances are computed in a Euclidean manner (in their respective PCS).
|
|
43
43
|
*
|
|
44
|
+
* **Things to consider**
|
|
45
|
+
*
|
|
46
|
+
* - Profile sample distances are determined automatically based on the input geometry, profile configuration, and
|
|
47
|
+
* available elevation data. No sampling distance needs to be specified.
|
|
48
|
+
* - Results depend on the available elevation data and its resolution.
|
|
49
|
+
*
|
|
44
50
|
* **Known limitations**
|
|
45
51
|
*
|
|
52
|
+
* - Scene profiles can change with the camera position because they use the level of detail (LOD) of the geometry
|
|
53
|
+
* currently loaded in the view.
|
|
46
54
|
* - [ElevationProfileLineInput](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineInput/) in 2D is only valid when the analysis [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) has z values, `hasZ===true` and no [elevationInfo](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#elevationInfo) is set.
|
|
47
55
|
* - [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
48
56
|
*
|
|
@@ -6,54 +6,54 @@ import { createChart as k } from "@arcgis/core/applications/Components/analysisU
|
|
|
6
6
|
import { signal as M } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
7
7
|
import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
|
|
8
8
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
|
-
import { LitElement as B, createEvent as
|
|
10
|
-
import { usePropertyChange as
|
|
9
|
+
import { LitElement as B, createEvent as D, nothing as u, safeClassMap as m } from "@arcgis/lumina";
|
|
10
|
+
import { useDirection as O, usePropertyChange as $ } from "@arcgis/lumina/controllers";
|
|
11
11
|
import { slotChangeHasContent as _ } from "@arcgis/toolkit/dom/slots";
|
|
12
|
-
import { u as
|
|
13
|
-
import { m as
|
|
14
|
-
import { t as
|
|
12
|
+
import { u as V } from "../../chunks/useT9n.js";
|
|
13
|
+
import { m as E } from "../../chunks/useViewModel.js";
|
|
14
|
+
import { t as P, c as x } from "../../chunks/async-utils.js";
|
|
15
15
|
import { g as f } from "../../chunks/globalCss.js";
|
|
16
|
-
import
|
|
17
|
-
import { property as a, subclass as
|
|
18
|
-
import { A } from "../../chunks/AnalysisViewModel.js";
|
|
19
|
-
import { a as
|
|
16
|
+
import z from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
17
|
+
import { property as a, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
18
|
+
import { A as F } from "../../chunks/AnalysisViewModel.js";
|
|
19
|
+
import { a as L } from "../../chunks/maybe.js";
|
|
20
20
|
import { c as y, d as w } from "../../chunks/measurementUtils.js";
|
|
21
|
-
import { m as
|
|
22
|
-
const
|
|
23
|
-
async function
|
|
24
|
-
const s = await
|
|
25
|
-
return
|
|
21
|
+
import { m as I } from "../../chunks/handle.js";
|
|
22
|
+
const R = S`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-space-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-space-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-space-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
23
|
+
async function T(t, e, i) {
|
|
24
|
+
const s = await H(t, e);
|
|
25
|
+
return P(i), Z(s) ? s.highlight(e) : I();
|
|
26
26
|
}
|
|
27
|
-
async function
|
|
27
|
+
async function H(t, e) {
|
|
28
28
|
const i = e?.layer;
|
|
29
29
|
if (!(!i || i.type === "subtype-sublayer" || i.type === "sublayer" || i.type === "building-component"))
|
|
30
30
|
return await t.whenLayerView(i);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Z(t) {
|
|
33
33
|
return t != null && "highlight" in t && typeof t.highlight == "function";
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function j({ geometry: t }) {
|
|
36
36
|
return t?.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function G({ geometry: t }) {
|
|
39
39
|
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function q(t) {
|
|
42
42
|
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
for (var n = s > 1 ? void 0 : s ?
|
|
44
|
+
var N = Object.defineProperty, J = Object.getOwnPropertyDescriptor, o = (t, e, i, s) => {
|
|
45
|
+
for (var n = s > 1 ? void 0 : s ? J(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
46
46
|
(c = t[l]) && (n = (s ? c(e, i, n) : c(n)) || n);
|
|
47
|
-
return s && n &&
|
|
47
|
+
return s && n && N(e, i, n), n;
|
|
48
48
|
};
|
|
49
|
-
let r = class extends
|
|
49
|
+
let r = class extends F {
|
|
50
50
|
constructor() {
|
|
51
51
|
super(...arguments), this._resettingUnits = !1, this.highlightDisabled = !1, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
52
52
|
}
|
|
53
53
|
get _hasSamples() {
|
|
54
54
|
const { progress: t } = this;
|
|
55
55
|
return !!this.analysisView?.results?.some(
|
|
56
|
-
(e) => e.available && (t < 1 ||
|
|
56
|
+
(e) => e.available && (t < 1 || q(e))
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
59
|
get doneButtonAvailable() {
|
|
@@ -63,7 +63,7 @@ let r = class extends A {
|
|
|
63
63
|
return this.analysisView?.effectiveDisplayUnits;
|
|
64
64
|
}
|
|
65
65
|
get errorState() {
|
|
66
|
-
if (!
|
|
66
|
+
if (!j(this.analysis))
|
|
67
67
|
return "no-valid-input";
|
|
68
68
|
const t = this.analysisView?.error;
|
|
69
69
|
if (t)
|
|
@@ -87,7 +87,7 @@ let r = class extends A {
|
|
|
87
87
|
return this.feature != null;
|
|
88
88
|
}
|
|
89
89
|
get hasVertices() {
|
|
90
|
-
return
|
|
90
|
+
return G(this.analysis);
|
|
91
91
|
}
|
|
92
92
|
get indicatorRelativePosition() {
|
|
93
93
|
return this.analysisView?.indicatorRelativePosition ?? void 0;
|
|
@@ -245,17 +245,17 @@ let r = class extends A {
|
|
|
245
245
|
}
|
|
246
246
|
// Should never happen because both 2d and 3d are supported
|
|
247
247
|
constructAnalysis() {
|
|
248
|
-
return new
|
|
248
|
+
return new z();
|
|
249
249
|
}
|
|
250
250
|
_highlightSelectedFeature(t) {
|
|
251
251
|
this._removeSelectionHighlight();
|
|
252
252
|
const e = this.view;
|
|
253
253
|
!e || !t || (this._selectionHighlightTask = x(
|
|
254
|
-
async (i) => await
|
|
254
|
+
async (i) => await T(e, t, { signal: i })
|
|
255
255
|
));
|
|
256
256
|
}
|
|
257
257
|
_removeSelectionHighlight() {
|
|
258
|
-
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask =
|
|
258
|
+
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = L(this._selectionHighlightTask);
|
|
259
259
|
}
|
|
260
260
|
_excludeSelectedFeatureFromProfile(t, e, i) {
|
|
261
261
|
const s = new Set(t.exclude ?? []);
|
|
@@ -354,22 +354,22 @@ o([
|
|
|
354
354
|
a({ readOnly: !0 })
|
|
355
355
|
], r.prototype, "canResetElevationUnit", 1);
|
|
356
356
|
r = o([
|
|
357
|
-
|
|
357
|
+
A("components.elevation-profile.ElevationProfileViewModel")
|
|
358
358
|
], r);
|
|
359
359
|
function b(t) {
|
|
360
360
|
const e = t?.filter((i) => w.includes(i));
|
|
361
361
|
return e && e.length > 0 ? e : w.slice();
|
|
362
362
|
}
|
|
363
|
-
const
|
|
364
|
-
class
|
|
363
|
+
const K = E(r);
|
|
364
|
+
class Q extends B {
|
|
365
365
|
constructor() {
|
|
366
|
-
super(...arguments), this.viewModel =
|
|
366
|
+
super(...arguments), this.viewModel = K(this), this._direction = O(), this._chartInitializationTask = M(void 0), this._hideZoomOutButton = !0, this._hasSettingsStartContent = !1, this._hasSettingsEndContent = !1, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, this.hideChart = !1, this.hideChartGridLines = !1, this.hideChartAxisLabels = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideResetUnitsButton = !1, this.hideStartButton = !1, this.hideUniformChartScalingToggle = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.highlightDisabled = this.viewModel.highlightDisabled, this.icon = "altitude", this.indicatorRelativePosition = this.viewModel.indicatorRelativePosition, this.interactionDisabled = this.viewModel.interactionDisabled, this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this._messages = V(), this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = $()("analysis", "effectiveDisplayUnits", "elevationInfo", "feature", "geometry", "indicatorRelativePosition", "interactionDisabled", "progress", "state"), this.arcgisReady = D();
|
|
367
367
|
}
|
|
368
368
|
static {
|
|
369
369
|
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, _hasSettingsStartContent: 16, _hasSettingsEndContent: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideChartGridLines: 5, hideChartAxisLabels: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideResetUnitsButton: 5, hideStartButton: 5, hideUniformChartScalingToggle: 5, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideVisualization: 5, highlightDisabled: 5, icon: 3, indicatorRelativePosition: 40, interactionDisabled: 5, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, _messages: 0, referenceElement: 1, profiles: 0, progress: 40, state: 32, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
|
|
370
370
|
}
|
|
371
371
|
static {
|
|
372
|
-
this.styles =
|
|
372
|
+
this.styles = R;
|
|
373
373
|
}
|
|
374
374
|
get _selectButtonVisible() {
|
|
375
375
|
return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
|
|
@@ -403,6 +403,7 @@ class K extends B {
|
|
|
403
403
|
analysisView: this.viewModel.analysisView,
|
|
404
404
|
container: e,
|
|
405
405
|
messages: i,
|
|
406
|
+
rtl: this._direction === "rtl",
|
|
406
407
|
signal: s,
|
|
407
408
|
uniformScaling: this.viewModel.uniformChartScaling,
|
|
408
409
|
onRangeChange: (n, l) => {
|
|
@@ -440,7 +441,7 @@ class K extends B {
|
|
|
440
441
|
this.viewModel.stop();
|
|
441
442
|
}
|
|
442
443
|
_getErrorMessage() {
|
|
443
|
-
const e =
|
|
444
|
+
const e = W[this.viewModel.errorState];
|
|
444
445
|
return e ? this._messages?.errors?.[e] : void 0;
|
|
445
446
|
}
|
|
446
447
|
_onClearButtonClick() {
|
|
@@ -617,14 +618,14 @@ class K extends B {
|
|
|
617
618
|
function h(t) {
|
|
618
619
|
return t.hidden ? void 0 : t.children;
|
|
619
620
|
}
|
|
620
|
-
const p = [{ type: "select" }, { type: "sketch" }],
|
|
621
|
+
const p = [{ type: "select" }, { type: "sketch" }], W = {
|
|
621
622
|
none: void 0,
|
|
622
623
|
"no-valid-input": "noProfile",
|
|
623
624
|
"no-available-profiles": "noProfile",
|
|
624
625
|
"too-complex": "tooComplex",
|
|
625
626
|
unknown: "unknown"
|
|
626
627
|
};
|
|
627
|
-
C("arcgis-elevation-profile",
|
|
628
|
+
C("arcgis-elevation-profile", Q);
|
|
628
629
|
export {
|
|
629
|
-
|
|
630
|
+
Q as ArcgisElevationProfile
|
|
630
631
|
};
|
|
@@ -27,7 +27,6 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
27
27
|
* **Things to consider**
|
|
28
28
|
*
|
|
29
29
|
* * Line Of Sight is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
30
|
-
* * The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
|
|
31
30
|
* * Snapping, tooltips, display units, and input units are inherited from
|
|
32
31
|
* [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
|
|
33
32
|
* * Snapping is enabled by default. Holding the `CTRL` key disables it.
|
|
@@ -40,6 +39,10 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
40
39
|
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/),
|
|
41
40
|
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
42
41
|
*
|
|
42
|
+
* **Known Limitations**
|
|
43
|
+
*
|
|
44
|
+
* * Line of sight results can change when you zoom because the level of detail (LOD) of the scene geometry changes.
|
|
45
|
+
*
|
|
43
46
|
* **See also**
|
|
44
47
|
*
|
|
45
48
|
* - [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
@@ -3,7 +3,7 @@ import type ShadowCastAnalysis from "@arcgis/core/analysis/ShadowCastAnalysis.js
|
|
|
3
3
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
4
|
import type Color from "@arcgis/core/Color.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
6
|
+
import type { ArcgisReferenceElement, HeadingLevel, TimeZoneEditMode } from "../types.js";
|
|
7
7
|
import type { ShadowCastMode, ShadowCastTotalDurationMode } from "@arcgis/core/analysis/ShadowCast/types.js";
|
|
8
8
|
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
9
9
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -19,30 +19,24 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
19
19
|
* By default, the component visualizes shadows. When [visualizeSunlight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#visualizeSunlight) is `true`,
|
|
20
20
|
* it visualizes sunlight exposure instead.
|
|
21
21
|
*
|
|
22
|
-
* The component provides controls for the date, time range,
|
|
22
|
+
* The component provides controls for the date, time range, scene time zone, visualization mode, colors, intervals, and whether
|
|
23
23
|
* to visualize shadows or sunlight.
|
|
24
24
|
*
|
|
25
25
|
* The [date](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#date), [startTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#startTimeOfDay),
|
|
26
|
-
* [endTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#endTimeOfDay)
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* and [endTimeOfDay](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#endTimeOfDay) properties define the date and time range used to compute
|
|
27
|
+
* the analysis overlay. They do not change the lighting in the scene.
|
|
28
|
+
* To control scene lighting, use the [arcgis-daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
|
|
29
29
|
*
|
|
30
30
|
* The visualization is hidden when the selected time range includes nighttime at the current camera location.
|
|
31
31
|
* When that happens, we display a notice indicating that the visualization is not available.
|
|
32
32
|
*
|
|
33
|
-
* The [
|
|
34
|
-
*
|
|
35
|
-
* such as `Europe/Zurich`, or automatically account for daylight saving time.
|
|
33
|
+
* The [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone) property specifies the time zone used to interpret the selected date
|
|
34
|
+
* and time range, including daylight saving time.
|
|
36
35
|
*
|
|
37
|
-
* The
|
|
38
|
-
* Changing the selection
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* > [!IMPORTANT]
|
|
43
|
-
* >
|
|
44
|
-
* > Shadow Cast does not use [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone). Changing the scene's time zone does not affect
|
|
45
|
-
* > the analysis. Support for using the scene's time zone is planned for a future release.
|
|
36
|
+
* The time zone selector, labeled **Scene time zone** in the component, sets [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone).
|
|
37
|
+
* Changing the selection preserves the selected date and time range and updates the analysis.
|
|
38
|
+
* The selector can be hidden using the [hideTimezone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#hideTimezone) property.
|
|
39
|
+
* Use [timeZoneEditMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#timeZoneEditMode) to change the time zone button's behavior.
|
|
46
40
|
*
|
|
47
41
|
* The [mode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#mode) property controls how shadow or sunlight exposure is visualized:
|
|
48
42
|
*
|
|
@@ -59,14 +53,13 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
59
53
|
* **Known limitations**
|
|
60
54
|
*
|
|
61
55
|
* * Shadow Cast is only supported in a 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
56
|
+
* * Shadow cast results can change when you zoom because the level of detail (LOD) of the scene geometry changes.
|
|
62
57
|
* * Terrain does not cast shadows in this analysis.
|
|
63
58
|
* * As a result, shadow duration may be underestimated and sunlight duration may be overestimated in areas where terrain
|
|
64
59
|
* would normally block sunlight.
|
|
65
60
|
* * The time range must fit within one continuous daylight period at the current camera location.
|
|
66
61
|
* The visualization is also hidden when no daylight is expected or the analysis settings cannot be resolved.
|
|
67
|
-
* *
|
|
68
|
-
* the camera's longitude. It does not determine the regional time zone at the camera's location. If the estimated offset
|
|
69
|
-
* is not appropriate for the analysis date and location, users can set it manually using the UTC offset selector.
|
|
62
|
+
* * The scene time zone is not automatically selected from the camera location.
|
|
70
63
|
*
|
|
71
64
|
* **See also**
|
|
72
65
|
*
|
|
@@ -283,7 +276,7 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
283
276
|
*/
|
|
284
277
|
accessor hideTimeRangeSlider: boolean;
|
|
285
278
|
/**
|
|
286
|
-
* If true, the
|
|
279
|
+
* If true, the time zone control is hidden.
|
|
287
280
|
*
|
|
288
281
|
* @default false
|
|
289
282
|
*/
|
|
@@ -525,10 +518,20 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
525
518
|
* * `ready` - component is ready
|
|
526
519
|
*/
|
|
527
520
|
get state(): "disabled" | "ready";
|
|
521
|
+
/**
|
|
522
|
+
* Controls what happens when the time zone button is clicked.
|
|
523
|
+
*
|
|
524
|
+
* - `"inline"`: Opens the Scene time zone picker.
|
|
525
|
+
* - `"action"`: Emits [@arcgisTimeZoneAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#event-arcgisTimeZoneAction). The application can open its own settings.
|
|
526
|
+
* - `"read-only"`: Shows the time zone in a noninteractive chip.
|
|
527
|
+
*
|
|
528
|
+
* @default "inline"
|
|
529
|
+
* @since 6.0
|
|
530
|
+
*/
|
|
531
|
+
accessor timeZoneEditMode: TimeZoneEditMode;
|
|
528
532
|
/**
|
|
529
533
|
* Controls whether the component uses its legacy UTC-offset model or the scene's regional time zone.
|
|
530
534
|
*
|
|
531
|
-
* @default "offset"
|
|
532
535
|
* @internal
|
|
533
536
|
*/
|
|
534
537
|
accessor timeZoneMode: "offset" | "region";
|
|
@@ -551,8 +554,9 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
551
554
|
* The UTC offset in hours used to interpret the selected date and time range for the analysis. This numeric offset
|
|
552
555
|
* does not identify a regional time zone or automatically account for daylight saving time.
|
|
553
556
|
*
|
|
554
|
-
*
|
|
555
|
-
*
|
|
557
|
+
* The component uses [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone) by default.
|
|
558
|
+
*
|
|
559
|
+
* @deprecated since 6.0. Use [arcgis-scene.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#timeZone) instead.
|
|
556
560
|
*/
|
|
557
561
|
accessor utcOffset: number | null | undefined;
|
|
558
562
|
/**
|
|
@@ -601,8 +605,16 @@ export abstract class ArcgisShadowCast extends LitElement {
|
|
|
601
605
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
602
606
|
/** Emitted when the component associated with a map or scene view is ready for user interaction. */
|
|
603
607
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
608
|
+
/**
|
|
609
|
+
* Fires when the time zone button is clicked and [timeZoneEditMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/#timeZoneEditMode) is `"action"`.
|
|
610
|
+
* The application handles this event to open its own time zone settings.
|
|
611
|
+
*
|
|
612
|
+
* @since 6.0
|
|
613
|
+
*/
|
|
614
|
+
readonly arcgisTimeZoneAction: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
604
615
|
readonly "@eventTypes": {
|
|
605
616
|
arcgisPropertyChange: ArcgisShadowCast["arcgisPropertyChange"]["detail"];
|
|
606
617
|
arcgisReady: ArcgisShadowCast["arcgisReady"]["detail"];
|
|
618
|
+
arcgisTimeZoneAction: ArcgisShadowCast["arcgisTimeZoneAction"]["detail"];
|
|
607
619
|
};
|
|
608
620
|
}
|