@arcgis/map-components 5.2.0-next.90 → 5.2.0-next.93
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/2AKHVAG7.js +2 -0
- package/dist/cdn/2GM4O42V.js +2 -0
- package/dist/cdn/{2LDYIMCE.js → 2U6EB7BN.js} +1 -1
- package/dist/cdn/{HOUQ3XZ3.js → 34CXVCB3.js} +1 -1
- package/dist/cdn/{NWLNFKT6.js → 3TRAIJXM.js} +1 -1
- package/dist/cdn/{YLXNHUYF.js → 3VFBYBX4.js} +1 -1
- package/dist/cdn/{JGMSDKM3.js → 43XQKUF6.js} +1 -1
- package/dist/cdn/{AYRZUPV2.js → 5IXZDVTF.js} +1 -1
- package/dist/cdn/{RTUHTKTO.js → 5OQPTYP5.js} +1 -1
- package/dist/cdn/{SOOJLVZP.js → 73N362E5.js} +1 -1
- package/dist/cdn/{CEY5WBEU.js → 7BOYQGKF.js} +1 -1
- package/dist/cdn/{67ZLFQ5D.js → A5ZHWVI3.js} +1 -1
- package/dist/cdn/{HRX3VZC6.js → AF65YZXZ.js} +1 -1
- package/dist/cdn/{M7ARKSCG.js → AL52T6VH.js} +1 -1
- package/dist/cdn/{C32RBBXZ.js → B23TN7FG.js} +1 -1
- package/dist/cdn/{S474C2LJ.js → B2FQHBTX.js} +1 -1
- package/dist/cdn/{HXOGSZ3H.js → BSLVN2NW.js} +1 -1
- package/dist/cdn/{3RKXZISX.js → BXDUMWWE.js} +1 -1
- package/dist/cdn/{SD5FKQFO.js → CH6EWFKV.js} +1 -1
- package/dist/cdn/{ZFLMRC4G.js → CQ7HNSA2.js} +1 -1
- package/dist/cdn/{JK4KRK6P.js → CYWMBY4Y.js} +1 -1
- package/dist/cdn/{2VSQARQL.js → DDGANMOY.js} +1 -1
- package/dist/cdn/{BPB6FTQK.js → DMFYRFSD.js} +1 -1
- package/dist/cdn/{PUNT3Q36.js → EEVHASMU.js} +1 -1
- package/dist/cdn/{M6FA6DZH.js → EVKOQOVV.js} +1 -1
- package/dist/cdn/{II5MODDO.js → FR3EHEIV.js} +1 -1
- package/dist/cdn/{MJRXLGST.js → GC65JYR2.js} +1 -1
- package/dist/cdn/{IBOB5TYX.js → H32EDCZG.js} +1 -1
- package/dist/cdn/{5EOKOS52.js → H4FPSA53.js} +1 -1
- package/dist/cdn/{O6F37YLT.js → HAUHWMHN.js} +1 -1
- package/dist/cdn/{6HSLIZLD.js → I22IJPSN.js} +1 -1
- package/dist/cdn/{WQQVESNN.js → I5DFLVVJ.js} +1 -1
- package/dist/cdn/IGFJHWQN.js +2 -0
- package/dist/cdn/{L66K2IBM.js → IORWRMMG.js} +1 -1
- package/dist/cdn/{3VZGQUZE.js → IXS5O6G4.js} +1 -1
- package/dist/cdn/{MZ2KYVWD.js → J3743ZYD.js} +1 -1
- package/dist/cdn/{JTBVK3AS.js → JFHEHJOQ.js} +1 -1
- package/dist/cdn/{AACTDN7T.js → KGXZG3YI.js} +1 -1
- package/dist/cdn/{LKAMRNMI.js → KX3XJGXZ.js} +1 -1
- package/dist/cdn/{VRRD4HXH.js → LBYKVAQ2.js} +1 -1
- package/dist/cdn/MAPYP35W.js +2 -0
- package/dist/cdn/{CFANWKE6.js → NMQLILVV.js} +1 -1
- package/dist/cdn/{UBD7D3LO.js → NO6MFBNV.js} +1 -1
- package/dist/cdn/{B3W2SZIJ.js → NP5NJFWN.js} +1 -1
- package/dist/cdn/{FQTVI2JC.js → NQ5OGG4I.js} +1 -1
- package/dist/cdn/NUPOLDDX.js +2 -0
- package/dist/cdn/{4SV6HHMC.js → O7RSAJOS.js} +1 -1
- package/dist/cdn/{WE2GHP5E.js → Q6TYHAOA.js} +1 -1
- package/dist/cdn/{D325DZEQ.js → QVM6UFNB.js} +1 -1
- package/dist/cdn/{BBFLUSKF.js → QX7CIDD3.js} +1 -1
- package/dist/cdn/{OEGPO4V4.js → R6ZUE6GP.js} +1 -1
- package/dist/cdn/RJSJ53UD.js +2 -0
- package/dist/cdn/{OWT2YYBJ.js → RJZ424ZP.js} +1 -1
- package/dist/cdn/{CS5IVOG4.js → TTDOV3LD.js} +1 -1
- package/dist/cdn/{K43HEYQI.js → U2ZQWROE.js} +1 -1
- package/dist/cdn/UVD3M6B5.js +2 -0
- package/dist/cdn/VIHVSV4P.js +2 -0
- package/dist/cdn/{CJLQURQH.js → VLKHH2Y6.js} +1 -1
- package/dist/cdn/VNX2AHM5.js +2 -0
- package/dist/cdn/{5KXZQI7G.js → VY2FRIAX.js} +1 -1
- package/dist/cdn/{PPTHUNKC.js → W2HQAUUA.js} +1 -1
- package/dist/cdn/WTTWWX57.js +2 -0
- package/dist/cdn/{KEE5SJGE.js → ZTRUEI25.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/GeolocationPositioning.js +45 -45
- package/dist/chunks/async-utils.js +18 -14
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/time-utils.js +2 -2
- package/dist/components/arcgis-building-phase-picker/customElement.js +13 -13
- package/dist/components/arcgis-color-select/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.js +18 -17
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +11 -10
- package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
- package/dist/components/arcgis-daylight/customElement.js +135 -135
- package/dist/components/arcgis-feature/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +24 -24
- package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +42 -41
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +15 -14
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +32 -31
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +9 -8
- package/dist/components/arcgis-link-chart/customElement.d.ts +19 -7
- package/dist/components/arcgis-link-chart/customElement.js +16 -16
- package/dist/components/arcgis-map/customElement.d.ts +19 -7
- package/dist/components/arcgis-map/customElement.js +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +72 -72
- package/dist/components/arcgis-paste/customElement.d.ts +23 -3
- package/dist/components/arcgis-paste/customElement.js +102 -101
- package/dist/components/arcgis-presentation/customElement.js +43 -40
- package/dist/components/arcgis-scene/customElement.d.ts +42 -7
- package/dist/components/arcgis-scene/customElement.js +5 -5
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -3
- package/dist/components/arcgis-time-bar/customElement.d.ts +14 -5
- package/dist/components/arcgis-time-bar/customElement.js +29 -29
- package/dist/components/arcgis-time-bar/types.d.ts +3 -1
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +3 -3
- package/dist/components/arcgis-video/customElement.d.ts +19 -7
- package/dist/components/arcgis-volume-measurement/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +2 -2
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +5 -5
- package/dist/cdn/2FTL6T53.js +0 -2
- package/dist/cdn/2XHGISYY.js +0 -2
- package/dist/cdn/4CJBWGTY.js +0 -2
- package/dist/cdn/5GIJFUEJ.js +0 -2
- package/dist/cdn/HASESZDN.js +0 -2
- package/dist/cdn/LMBTPOT3.js +0 -2
- package/dist/cdn/OU7XFISZ.js +0 -2
- package/dist/cdn/UU4FSZYG.js +0 -2
- package/dist/cdn/YVZI2KY2.js +0 -2
- package/dist/cdn/Z3XLCKLP.js +0 -2
|
@@ -11,18 +11,18 @@ import { u as we } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { u as ye } from "../../chunks/useView.js";
|
|
12
12
|
import { t as A } from "../../chunks/earth-utils.js";
|
|
13
13
|
import { m as J } from "../../chunks/handle.js";
|
|
14
|
-
import { o as H, i as u, l as I, b as
|
|
15
|
-
import {
|
|
16
|
-
import { createTrackingTarget as
|
|
14
|
+
import { o as H, i as u, l as I, b as K, d as D, g as xe } from "../../chunks/time-utils.js";
|
|
15
|
+
import { b as Se, r as De, g as Te, e as ke } from "../../chunks/async-utils.js";
|
|
16
|
+
import { createTrackingTarget as Ce, runTracked as Q, signal as Pe } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
17
17
|
import { C as X } from "../../chunks/component-wrapper.js";
|
|
18
18
|
import { V as T } from "../../chunks/visible-element.js";
|
|
19
19
|
function ae(r, e) {
|
|
20
20
|
return (r % e + e) % e;
|
|
21
21
|
}
|
|
22
|
-
class
|
|
22
|
+
class $e {
|
|
23
23
|
#e;
|
|
24
24
|
#n;
|
|
25
|
-
#a =
|
|
25
|
+
#a = Ce(() => {
|
|
26
26
|
this.#t();
|
|
27
27
|
});
|
|
28
28
|
constructor(e) {
|
|
@@ -30,7 +30,7 @@ class Pe {
|
|
|
30
30
|
let t;
|
|
31
31
|
Q(this.#a, () => {
|
|
32
32
|
t = e();
|
|
33
|
-
}), this.#e =
|
|
33
|
+
}), this.#e = Pe(t);
|
|
34
34
|
}
|
|
35
35
|
#t() {
|
|
36
36
|
const e = this.#e.value;
|
|
@@ -46,29 +46,29 @@ class Pe {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
function N(r) {
|
|
49
|
-
return new
|
|
49
|
+
return new $e(r);
|
|
50
50
|
}
|
|
51
|
-
var M = Math.PI, p = Math.sin, k = Math.cos,
|
|
52
|
-
function
|
|
51
|
+
var M = Math.PI, p = Math.sin, k = Math.cos, Oe = Math.asin, ze = Math.acos, y = M / 180, oe = 1e3 * 60 * 60 * 24, le = 2440588, ce = 2451545;
|
|
52
|
+
function Le(r) {
|
|
53
53
|
return r.valueOf() / oe - 0.5 + le;
|
|
54
54
|
}
|
|
55
55
|
function O(r) {
|
|
56
56
|
return new Date((r + 0.5 - le) * oe);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function Me(r) {
|
|
59
|
+
return Le(r) - ce;
|
|
60
60
|
}
|
|
61
61
|
var ee = y * 23.4397;
|
|
62
|
-
function
|
|
63
|
-
return
|
|
62
|
+
function Ue(r, e) {
|
|
63
|
+
return Oe(p(e) * k(ee) + k(e) * p(ee) * p(r));
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Ee(r) {
|
|
66
66
|
return y * (357.5291 + 0.98560028 * r);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Ae(r) {
|
|
69
69
|
return y * (1.9148 * p(r) + 0.02 * p(2 * r) + 3e-4 * p(3 * r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function He(r, e) {
|
|
72
72
|
var t = y * 102.9372;
|
|
73
73
|
return r + e + t + M;
|
|
74
74
|
}
|
|
@@ -90,7 +90,7 @@ var F = [
|
|
|
90
90
|
[ 6, "goldenHourEnd", "goldenHour" ]
|
|
91
91
|
*/
|
|
92
92
|
], de = 9e-4;
|
|
93
|
-
function
|
|
93
|
+
function Ie(r, e) {
|
|
94
94
|
return Math.round(r - de - e / (2 * M));
|
|
95
95
|
}
|
|
96
96
|
function te(r, e, t) {
|
|
@@ -99,13 +99,13 @@ function te(r, e, t) {
|
|
|
99
99
|
function ie(r, e, t) {
|
|
100
100
|
return ce + r + 53e-4 * p(e) - 69e-4 * p(2 * t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
102
|
+
function Ne(r, e, t) {
|
|
103
|
+
return ze((p(r) - p(e) * p(t)) / (k(e) * k(t)));
|
|
104
104
|
}
|
|
105
105
|
S.getTimes = function(r, e, t) {
|
|
106
|
-
var i = y * -t, s = y * e, n =
|
|
106
|
+
var i = y * -t, s = y * e, n = Me(r), a = Ie(n, i), o = te(0, i, a), c = Ee(o), d = Ae(c), l = He(c, d), h = Ue(l, 0), g = ie(o, c, l);
|
|
107
107
|
function w(E) {
|
|
108
|
-
var $ =
|
|
108
|
+
var $ = Ne(E, s, h), he = te($, i, a);
|
|
109
109
|
return ie(he, c, l);
|
|
110
110
|
}
|
|
111
111
|
function x(E) {
|
|
@@ -121,7 +121,7 @@ S.getTimes = function(r, e, t) {
|
|
|
121
121
|
P = F[b], U = w(P[0] * y), B = g - (U - g), _[P[1]] = O(B), _[P[2]] = O(U);
|
|
122
122
|
return _.polarException = x(F[0][0] * y), _;
|
|
123
123
|
};
|
|
124
|
-
const
|
|
124
|
+
const Fe = {
|
|
125
125
|
spring: { dayOfMonth: 20, month: 2 },
|
|
126
126
|
// Northern Spring equinox in 2014 - March 20
|
|
127
127
|
summer: { dayOfMonth: 21, month: 5 },
|
|
@@ -132,29 +132,29 @@ const Ne = {
|
|
|
132
132
|
// Northern Winter solstice in 2014 - December 21
|
|
133
133
|
}, R = ["spring", "summer", "fall", "winter"];
|
|
134
134
|
function C(r, e, t) {
|
|
135
|
-
const i = V(e, t), { dayOfMonth: s, month: n } =
|
|
135
|
+
const i = V(e, t), { dayOfMonth: s, month: n } = Fe[i], a = new Date(r.getTime());
|
|
136
136
|
return a.setMonth(n, s), a;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const t =
|
|
138
|
+
function Je(r, e) {
|
|
139
|
+
const t = Re(r);
|
|
140
140
|
return V(t, e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Re(r) {
|
|
143
143
|
const e = r.getTime(), t = C(r, "spring", "northern").getTime(), i = C(r, "summer", "northern").getTime(), s = C(r, "fall", "northern").getTime(), n = C(r, "winter", "northern").getTime();
|
|
144
144
|
return e >= t && e < i ? "spring" : e >= i && e < s ? "summer" : e >= s && e < n ? "fall" : "winter";
|
|
145
145
|
}
|
|
146
146
|
function V(r, e) {
|
|
147
|
-
return e === "northern" ? r :
|
|
147
|
+
return e === "northern" ? r : je(r);
|
|
148
148
|
}
|
|
149
149
|
function re(r) {
|
|
150
150
|
return r >= 0 ? "northern" : "southern";
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function je(r) {
|
|
153
153
|
const e = R.indexOf(r);
|
|
154
154
|
return R[(e + 2) % 4];
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
function
|
|
156
|
+
const Ve = 1440, Be = 864e5;
|
|
157
|
+
function qe(r, e, t, i) {
|
|
158
158
|
const s = S.getTimes(r, e, t), n = s.sunrise, a = s.sunset, o = H(r, i), c = H(n, i), d = H(a, i);
|
|
159
159
|
if (o.getUTCDate() !== c.getUTCDate() || o.getUTCDate() !== d.getUTCDate()) {
|
|
160
160
|
const l = o.getTime() - c.getTime() > 0 ? 1 : -1;
|
|
@@ -165,11 +165,11 @@ function Be(r, e, t, i) {
|
|
|
165
165
|
sunset: a
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const Ge = 100, Ye = 1e3, v = 12e5, z = 72e5;
|
|
169
169
|
function se(r, e) {
|
|
170
170
|
return ae(r + e, 24);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Ze({
|
|
173
173
|
mode: r,
|
|
174
174
|
lighting: e,
|
|
175
175
|
getPlaySpeed: t,
|
|
@@ -181,15 +181,15 @@ function Ye({
|
|
|
181
181
|
const c = e.date, d = Date.now() - (o ?? 0);
|
|
182
182
|
if (r === "day") {
|
|
183
183
|
o = Date.now();
|
|
184
|
-
const h = t() /
|
|
184
|
+
const h = t() / Ge * d;
|
|
185
185
|
if (h > 0) {
|
|
186
186
|
let g = new Date(c.getTime() + h);
|
|
187
187
|
const w = e.displayUTCOffset ?? 0, x = se(g.getUTCHours(), w), _ = se(c.getUTCHours(), w);
|
|
188
|
-
x < _ && (g = new Date(c.getTime() + h -
|
|
188
|
+
x < _ && (g = new Date(c.getTime() + h - Be));
|
|
189
189
|
const b = e.clone();
|
|
190
190
|
s?.(), e.date = g, i?.(b, e);
|
|
191
191
|
}
|
|
192
|
-
} else if (d >
|
|
192
|
+
} else if (d > Ye) {
|
|
193
193
|
o = Date.now();
|
|
194
194
|
const l = (c.getUTCMonth() + 1) % 12, h = new Date(c.getTime());
|
|
195
195
|
h.setUTCMonth(l);
|
|
@@ -201,7 +201,7 @@ function Ye({
|
|
|
201
201
|
return a(), J(() => cancelAnimationFrame(n));
|
|
202
202
|
}
|
|
203
203
|
const L = v / 4;
|
|
204
|
-
function
|
|
204
|
+
function We(r, e, t, i) {
|
|
205
205
|
const {
|
|
206
206
|
day: s,
|
|
207
207
|
night: n = s,
|
|
@@ -213,12 +213,12 @@ function Ze(r, e, t, i) {
|
|
|
213
213
|
let m = o;
|
|
214
214
|
return l >= w && l <= x ? l - w <= v ? m = c - (l - w) / v * (c - d) : x - l <= v / 2 ? m = o - (x - l) / v * 2 * (o - d) : m = d : l >= _ && l <= b ? l - _ <= v / 2 ? m = o - (l - _) / v * 2 * (o - d) : b - l <= v ? m = c - (b - l) / v * (c - d) : m = d : (l < h || l > g) && (m = c), m;
|
|
215
215
|
}
|
|
216
|
-
const We = ve`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, Ke = {
|
|
216
|
+
const Ke = ve`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-spacing-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-spacing-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-spacing-md);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, Qe = {
|
|
217
217
|
day: 1,
|
|
218
218
|
night: 6,
|
|
219
219
|
twilight: 2 / 3
|
|
220
220
|
};
|
|
221
|
-
class
|
|
221
|
+
class Xe extends be {
|
|
222
222
|
constructor() {
|
|
223
223
|
super(...arguments), this.messages = we({ blocking: !0 }), this.#n = "none", this.#a = null, this.#g = Z(), this.#_ = Z(), this.#b = 200, this.#v = 200, this.#u = !1, this.#c = {}, this.#d = N((e) => {
|
|
224
224
|
const t = this._lighting, i = u(t) ? t.displayUTCOffset : void 0;
|
|
@@ -238,13 +238,13 @@ class Qe extends be {
|
|
|
238
238
|
}), this.#r = N((e) => {
|
|
239
239
|
const t = xe(this._view, this.utcOffset);
|
|
240
240
|
return this.#t ? e : t ?? e;
|
|
241
|
-
}), this.view = ye(this), this.autoDestroyDisabled = !1, this.dateOrSeason = "date", this.headingLevel = 2, this.hideDatePicker = !1, this.hideHeader = !1, this.hidePlayButtons = !1, this.hideShadowsToggle = !1, this.hideSunLightingToggle = !1, this.hideTimezone = !1, this.icon = "brightness", this.playSpeedMultiplier = 1, this.timeSliderSteps = 5, this.arcgisReady = G(), this.arcgisUserDateTimeChange = G()
|
|
241
|
+
}), this.#h = !1, this.view = ye(this), this.autoDestroyDisabled = !1, this.dateOrSeason = "date", this.headingLevel = 2, this.hideDatePicker = !1, this.hideHeader = !1, this.hidePlayButtons = !1, this.hideShadowsToggle = !1, this.hideSunLightingToggle = !1, this.hideTimezone = !1, this.icon = "brightness", this.playSpeedMultiplier = 1, this.timeSliderSteps = 5, this.arcgisReady = G(), this.arcgisUserDateTimeChange = G();
|
|
242
242
|
}
|
|
243
243
|
static {
|
|
244
|
-
this.properties = { _playingState: 16, localDateAsString: 32, view: 0,
|
|
244
|
+
this.properties = { _playingState: 16, _sunlightingDisabled: 16, _directShadowsDisabled: 16, localDateAsString: 32, view: 0, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
|
|
245
245
|
}
|
|
246
246
|
static {
|
|
247
|
-
this.styles =
|
|
247
|
+
this.styles = Ke;
|
|
248
248
|
}
|
|
249
249
|
get _view() {
|
|
250
250
|
return this.view?.type === "3d" ? this.view : void 0;
|
|
@@ -258,76 +258,29 @@ class Qe extends be {
|
|
|
258
258
|
#b;
|
|
259
259
|
#v;
|
|
260
260
|
#u;
|
|
261
|
-
#o(e, t) {
|
|
262
|
-
return this.#h || this.#u ? !1 : (this.#c[e] = t, !0);
|
|
263
|
-
}
|
|
264
|
-
#x() {
|
|
265
|
-
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#c;
|
|
266
|
-
if (this.#u = !0, e != null)
|
|
267
|
-
if (t == null && i == null) {
|
|
268
|
-
const a = this._lighting;
|
|
269
|
-
u(a) ? (a.displayUTCOffset = e, this.#f(e, a)) : this.#d.mutate(e);
|
|
270
|
-
} else
|
|
271
|
-
this.utcOffset = e;
|
|
272
|
-
t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#c = {}, this.#u = !1;
|
|
273
|
-
}
|
|
274
|
-
#p() {
|
|
275
|
-
if (this.requestUpdate(), this.#t)
|
|
276
|
-
return;
|
|
277
|
-
const e = Se(() => {
|
|
278
|
-
if (u(this._lighting)) {
|
|
279
|
-
const t = this.utcOffset ?? 0, i = this.timeSliderPosition ?? 0, s = this.localDate;
|
|
280
|
-
this._lighting.date = I(s, i, t), this._lighting.displayUTCOffset = t;
|
|
281
|
-
}
|
|
282
|
-
this.#t?.remove();
|
|
283
|
-
}, { timeout: this.#b });
|
|
284
|
-
this.#t = J(() => {
|
|
285
|
-
Te(e), this.#t = void 0;
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
#S(e) {
|
|
289
|
-
const t = this.utcOffset ?? e.displayUTCOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(e.date, t), n = this.timeSliderPosition ?? i, a = this.localDateAsString ?? s;
|
|
290
|
-
this.#t?.remove(), e.date = I(a, n, t), e.displayUTCOffset = t;
|
|
291
|
-
}
|
|
292
|
-
#D({ scale: e, disabled: t }) {
|
|
293
|
-
const { messages: i } = this;
|
|
294
|
-
return f`<calcite-label .scale=${e} class="date-picker-container">${i.date}${Xe({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
|
|
295
|
-
const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
|
|
296
|
-
this.#s(), this.localDate = a, this.#m();
|
|
297
|
-
} })}</calcite-label>${T({ hidden: this.hidePlayButtons, children: ne({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
|
|
298
|
-
this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
|
|
299
|
-
}, scale: e }) })}`;
|
|
300
|
-
}
|
|
301
|
-
#T({ scale: e, disabled: t }) {
|
|
302
|
-
const { messages: i } = this;
|
|
303
|
-
return f`<calcite-label .scale=${e} class="date-picker-container">${i.season}${et({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
|
|
304
|
-
this.#s(), this.currentSeason = s.currentTarget.value;
|
|
305
|
-
} })}</calcite-label>`;
|
|
306
|
-
}
|
|
307
261
|
#c;
|
|
308
|
-
get #
|
|
262
|
+
get #x() {
|
|
309
263
|
return this.#_?.value?.startTime;
|
|
310
264
|
}
|
|
311
265
|
#d;
|
|
312
266
|
#i;
|
|
313
267
|
#r;
|
|
268
|
+
get _lighting() {
|
|
269
|
+
return this._view?.environment?.lighting;
|
|
270
|
+
}
|
|
271
|
+
#h;
|
|
272
|
+
#o;
|
|
314
273
|
get _playingState() {
|
|
315
274
|
return this.#n;
|
|
316
275
|
}
|
|
317
276
|
set _playingState(e) {
|
|
318
|
-
this.#n = e, this.#
|
|
319
|
-
}
|
|
320
|
-
get _lighting() {
|
|
321
|
-
return this._view?.environment?.lighting;
|
|
322
|
-
}
|
|
323
|
-
get localDateAsString() {
|
|
324
|
-
return this.#r.value ?? void 0;
|
|
277
|
+
this.#n = e, this.#o?.remove(), e === "none" ? this.#e?.remove() : (this.#y(e), this.#m());
|
|
325
278
|
}
|
|
326
279
|
get _sunlightingDisabled() {
|
|
327
280
|
return !u(this._lighting);
|
|
328
281
|
}
|
|
329
282
|
set _sunlightingDisabled(e) {
|
|
330
|
-
this.#
|
|
283
|
+
this.#l("sunlightingDisabled", e);
|
|
331
284
|
const t = this._view?.environment;
|
|
332
285
|
if (t == null)
|
|
333
286
|
return;
|
|
@@ -345,9 +298,18 @@ class Qe extends be {
|
|
|
345
298
|
displayUTCOffset: this.utcOffset
|
|
346
299
|
}), o.set(n), t.lighting = o, e || (this.#s(), this.#g.value && (this.#g.value.open = !1));
|
|
347
300
|
}
|
|
301
|
+
get _directShadowsDisabled() {
|
|
302
|
+
return !this._lighting?.directShadowsEnabled;
|
|
303
|
+
}
|
|
304
|
+
set _directShadowsDisabled(e) {
|
|
305
|
+
this.#l("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
|
|
306
|
+
}
|
|
307
|
+
get localDateAsString() {
|
|
308
|
+
return this.#r.value ?? void 0;
|
|
309
|
+
}
|
|
348
310
|
get currentSeason() {
|
|
349
311
|
const e = this._view?.camera?.position?.latitude ?? 0, t = re(e);
|
|
350
|
-
return
|
|
312
|
+
return Je(this.localDate, t);
|
|
351
313
|
}
|
|
352
314
|
set currentSeason(e) {
|
|
353
315
|
this.#s();
|
|
@@ -360,30 +322,24 @@ class Qe extends be {
|
|
|
360
322
|
set dayPlaying(e) {
|
|
361
323
|
this._playingState = e ? "day" : "none";
|
|
362
324
|
}
|
|
363
|
-
get _directShadowsDisabled() {
|
|
364
|
-
return !this._lighting?.directShadowsEnabled;
|
|
365
|
-
}
|
|
366
|
-
set _directShadowsDisabled(e) {
|
|
367
|
-
this.#o("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
|
|
368
|
-
}
|
|
369
325
|
get utcOffset() {
|
|
370
326
|
return this.#d.value;
|
|
371
327
|
}
|
|
372
328
|
set utcOffset(e) {
|
|
373
|
-
this.#d.mutate(e), !this.#
|
|
329
|
+
this.#d.mutate(e), !this.#l("utcOffset", e) && this.#p();
|
|
374
330
|
}
|
|
375
331
|
get timeSliderPosition() {
|
|
376
332
|
return this.#i.value;
|
|
377
333
|
}
|
|
378
334
|
set timeSliderPosition(e) {
|
|
379
|
-
this.#i.mutate(ae(e ?? 0,
|
|
335
|
+
this.#i.mutate(ae(e ?? 0, Ve)), !this.#l("timeSliderPosition", e) && this.#p();
|
|
380
336
|
}
|
|
381
337
|
get localDate() {
|
|
382
338
|
return this.#r.value != null ? new Date(this.#r.value) : /* @__PURE__ */ new Date();
|
|
383
339
|
}
|
|
384
340
|
set localDate(e) {
|
|
385
341
|
if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/u.test(e)) {
|
|
386
|
-
if (this.#r.mutate(e), this.#
|
|
342
|
+
if (this.#r.mutate(e), this.#l("localDate", e))
|
|
387
343
|
return;
|
|
388
344
|
this.#p();
|
|
389
345
|
return;
|
|
@@ -392,7 +348,7 @@ class Qe extends be {
|
|
|
392
348
|
if (K(t)) {
|
|
393
349
|
t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
|
|
394
350
|
const i = t.toISOString().slice(0, 10);
|
|
395
|
-
if (this.#r.mutate(i), this.#
|
|
351
|
+
if (this.#r.mutate(i), this.#l("localDate", i))
|
|
396
352
|
return;
|
|
397
353
|
this.#p();
|
|
398
354
|
}
|
|
@@ -414,7 +370,7 @@ class Qe extends be {
|
|
|
414
370
|
const e = this._view?.camera?.position;
|
|
415
371
|
return e ? A(e) : void 0;
|
|
416
372
|
}, (e, t) => {
|
|
417
|
-
this.#
|
|
373
|
+
this.#T(e, t);
|
|
418
374
|
}, { sync: !0, initial: !0 }),
|
|
419
375
|
pe(() => !u(this._lighting), () => {
|
|
420
376
|
this.#s();
|
|
@@ -423,7 +379,7 @@ class Qe extends be {
|
|
|
423
379
|
this.requestUpdate();
|
|
424
380
|
})
|
|
425
381
|
]), this.manager.onDisconnected(() => {
|
|
426
|
-
this.#e?.remove(), this.#t?.remove(), this.#
|
|
382
|
+
this.#e?.remove(), this.#t?.remove(), this.#o?.remove();
|
|
427
383
|
});
|
|
428
384
|
}
|
|
429
385
|
willUpdate(e) {
|
|
@@ -432,25 +388,55 @@ class Qe extends be {
|
|
|
432
388
|
this.#i.mutate(i), this.#r.mutate(s);
|
|
433
389
|
}
|
|
434
390
|
}
|
|
435
|
-
#h;
|
|
436
391
|
async loaded() {
|
|
437
392
|
const e = new AbortController();
|
|
438
393
|
this.manager.onDisconnected(() => ({
|
|
439
394
|
remove: () => {
|
|
440
395
|
e.abort();
|
|
441
396
|
}
|
|
442
|
-
})), await
|
|
397
|
+
})), await Se(fe(() => this._view?.ready, { signal: e.signal }).then(() => {
|
|
443
398
|
const t = this._lighting, i = this._view?.camera?.position;
|
|
444
399
|
if (this.#c.utcOffset == null && u(t) && t.displayUTCOffset == null && i) {
|
|
445
400
|
const n = A(i);
|
|
446
401
|
this.#f(n, t);
|
|
447
402
|
}
|
|
448
|
-
this.#h = !0, this.#
|
|
403
|
+
this.#h = !0, this.#S(), u(this._lighting) || this.#k();
|
|
449
404
|
const s = this._playingState;
|
|
450
405
|
s !== "none" && this.#e == null && this.#y(s);
|
|
451
406
|
}));
|
|
452
407
|
}
|
|
453
|
-
#
|
|
408
|
+
#l(e, t) {
|
|
409
|
+
return this.#h || this.#u ? !1 : (this.#c[e] = t, !0);
|
|
410
|
+
}
|
|
411
|
+
#S() {
|
|
412
|
+
const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#c;
|
|
413
|
+
if (this.#u = !0, e != null)
|
|
414
|
+
if (t == null && i == null) {
|
|
415
|
+
const a = this._lighting;
|
|
416
|
+
u(a) ? (a.displayUTCOffset = e, this.#f(e, a)) : this.#d.mutate(e);
|
|
417
|
+
} else
|
|
418
|
+
this.utcOffset = e;
|
|
419
|
+
t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#c = {}, this.#u = !1;
|
|
420
|
+
}
|
|
421
|
+
#p() {
|
|
422
|
+
if (this.requestUpdate(), this.#t)
|
|
423
|
+
return;
|
|
424
|
+
const e = De(() => {
|
|
425
|
+
if (u(this._lighting)) {
|
|
426
|
+
const t = this.utcOffset ?? 0, i = this.timeSliderPosition ?? 0, s = this.localDate;
|
|
427
|
+
this._lighting.date = I(s, i, t), this._lighting.displayUTCOffset = t;
|
|
428
|
+
}
|
|
429
|
+
this.#t?.remove();
|
|
430
|
+
}, { timeout: this.#b });
|
|
431
|
+
this.#t = J(() => {
|
|
432
|
+
ke(e), this.#t = void 0;
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
#D(e) {
|
|
436
|
+
const t = this.utcOffset ?? e.displayUTCOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(e.date, t), n = this.timeSliderPosition ?? i, a = this.localDateAsString ?? s;
|
|
437
|
+
this.#t?.remove(), e.date = I(a, n, t), e.displayUTCOffset = t;
|
|
438
|
+
}
|
|
439
|
+
#T(e, t) {
|
|
454
440
|
const i = this._lighting;
|
|
455
441
|
if (!(!this.#h || !u(i) || !i.cameraTrackingEnabled || e == null)) {
|
|
456
442
|
if (t == null && i.displayUTCOffset == null) {
|
|
@@ -463,7 +449,7 @@ class Qe extends be {
|
|
|
463
449
|
#f(e, t) {
|
|
464
450
|
t.displayUTCOffset = e, this.#w(e, t.date);
|
|
465
451
|
}
|
|
466
|
-
#
|
|
452
|
+
#k() {
|
|
467
453
|
const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? A(e) : 0), i = new q({ displayUTCOffset: t });
|
|
468
454
|
this.#w(t, i.date, { fillMissingOnly: !0 });
|
|
469
455
|
}
|
|
@@ -477,16 +463,15 @@ class Qe extends be {
|
|
|
477
463
|
#s() {
|
|
478
464
|
this._playingState = "none";
|
|
479
465
|
}
|
|
480
|
-
#
|
|
481
|
-
|
|
482
|
-
if (this.#l)
|
|
466
|
+
#C(e) {
|
|
467
|
+
if (this.#o)
|
|
483
468
|
return;
|
|
484
469
|
const t = setTimeout(() => {
|
|
485
470
|
const i = e.displayUTCOffset ?? 0, s = e.date, { minutesSinceMidnight: n } = D(s, i);
|
|
486
|
-
this.#i.mutate(n), this.#
|
|
487
|
-
}, this.#v);
|
|
488
|
-
this.#
|
|
489
|
-
clearTimeout(t), this.#
|
|
471
|
+
this.#i.mutate(n), this.#o?.remove();
|
|
472
|
+
}, Te(this.#v));
|
|
473
|
+
this.#o = J(() => {
|
|
474
|
+
clearTimeout(t), this.#o = void 0;
|
|
490
475
|
const i = this._lighting;
|
|
491
476
|
if (u(i)) {
|
|
492
477
|
const s = i.displayUTCOffset ?? 0, n = i.date, { minutesSinceMidnight: a } = D(n, s);
|
|
@@ -502,27 +487,42 @@ class Qe extends be {
|
|
|
502
487
|
const i = t.environment.lighting;
|
|
503
488
|
if (!u(i))
|
|
504
489
|
return;
|
|
505
|
-
this.#
|
|
490
|
+
this.#D(i);
|
|
506
491
|
let s = 0;
|
|
507
|
-
this.#e =
|
|
492
|
+
this.#e = Ze({
|
|
508
493
|
mode: e,
|
|
509
494
|
lighting: i,
|
|
510
495
|
beforeProgress: () => {
|
|
511
|
-
s = this.#
|
|
496
|
+
s = this.#x ?? 0;
|
|
512
497
|
},
|
|
513
498
|
onProgress: (n, a) => {
|
|
514
|
-
this.#i.mutate(s), this
|
|
499
|
+
this.#i.mutate(s), this.#C(a);
|
|
515
500
|
},
|
|
516
501
|
getPlaySpeed: () => {
|
|
517
502
|
const n = this._view, a = this._view?.environment.lighting;
|
|
518
503
|
if (n != null && u(a)) {
|
|
519
|
-
const o = n.camera.position.latitude ?? 0, c = n.camera.position.longitude ?? 0, { sunrise: d, sunset: l } =
|
|
520
|
-
return
|
|
504
|
+
const o = n.camera.position.latitude ?? 0, c = n.camera.position.longitude ?? 0, { sunrise: d, sunset: l } = qe(a.date, o, c, a.displayUTCOffset ?? 0);
|
|
505
|
+
return We(d, l, a.date, Qe) * this.playSpeedMultiplier;
|
|
521
506
|
} else
|
|
522
507
|
return L * this.playSpeedMultiplier;
|
|
523
508
|
}
|
|
524
509
|
});
|
|
525
510
|
}
|
|
511
|
+
#P({ scale: e, disabled: t }) {
|
|
512
|
+
const { messages: i } = this;
|
|
513
|
+
return f`<calcite-label .scale=${e} class="date-picker-container">${i.date}${et({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
|
|
514
|
+
const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
|
|
515
|
+
this.#s(), this.localDate = a, this.#m();
|
|
516
|
+
} })}</calcite-label>${T({ hidden: this.hidePlayButtons, children: ne({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
|
|
517
|
+
this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
|
|
518
|
+
}, scale: e }) })}`;
|
|
519
|
+
}
|
|
520
|
+
#$({ scale: e, disabled: t }) {
|
|
521
|
+
const { messages: i } = this;
|
|
522
|
+
return f`<calcite-label .scale=${e} class="date-picker-container">${i.season}${tt({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
|
|
523
|
+
this.#s(), this.currentSeason = s.currentTarget.value;
|
|
524
|
+
} })}</calcite-label>`;
|
|
525
|
+
}
|
|
526
526
|
render() {
|
|
527
527
|
const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled, s = "m";
|
|
528
528
|
if (!(this._view?.type === "3d"))
|
|
@@ -535,9 +535,9 @@ class Qe extends be {
|
|
|
535
535
|
}, scale: s }) })}${T({ hidden: this.hideTimezone, children: f`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(d) => {
|
|
536
536
|
const l = +d.target.value;
|
|
537
537
|
this.utcOffset = l / 60, this.#s();
|
|
538
|
-
}} ${W(this.#g)}></calcite-input-time-zone></calcite-label><span></span>` })}${T({ hidden: this.hideDatePicker, children: t === "date" ? this.#
|
|
538
|
+
}} ${W(this.#g)}></calcite-input-time-zone></calcite-label><span></span>` })}${T({ hidden: this.hideDatePicker, children: t === "date" ? this.#P({ scale: s, disabled: i }) : this.#$({ scale: s, disabled: i }) })}</div>${T({ hidden: this.hideSunLightingToggle, children: it({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (d) => {
|
|
539
539
|
this._sunlightingDisabled = !d;
|
|
540
|
-
} }) })}${T({ hidden: this.hideShadowsToggle, children:
|
|
540
|
+
} }) })}${T({ hidden: this.hideShadowsToggle, children: rt({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (d) => {
|
|
541
541
|
this._directShadowsDisabled = !d;
|
|
542
542
|
}, shadowEnabled: !this._directShadowsDisabled }) })}` });
|
|
543
543
|
}
|
|
@@ -545,21 +545,21 @@ class Qe extends be {
|
|
|
545
545
|
function ne({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
|
|
546
546
|
return f`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? j} type=button></calcite-button>`;
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function et({ disabled: r, date: e, onDateChange: t, scale: i }) {
|
|
549
549
|
return f`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function tt({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
|
|
552
552
|
return f`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
|
|
553
553
|
s(n);
|
|
554
554
|
}}>${R.map((n) => f`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function it({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
|
|
557
557
|
return f`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? j}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function rt({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
|
|
560
560
|
return f`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? j}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
|
|
561
561
|
}
|
|
562
|
-
ge("arcgis-daylight",
|
|
562
|
+
ge("arcgis-daylight", Xe);
|
|
563
563
|
export {
|
|
564
|
-
|
|
564
|
+
Xe as ArcgisDaylight
|
|
565
565
|
};
|
|
@@ -392,7 +392,7 @@ export abstract class ArcgisFeature extends LitElement {
|
|
|
392
392
|
get state(): State;
|
|
393
393
|
/**
|
|
394
394
|
* Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
|
|
395
|
-
* inherited from [MapView.timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#timeZone). When a
|
|
395
|
+
* inherited from the associated [MapView.timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#timeZone) or [SceneView.timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#timeZone). When a view is not associated with the component,
|
|
396
396
|
* then the property will fallback to the `system` time zone.
|
|
397
397
|
*
|
|
398
398
|
* **Possible Values**
|