@arcgis/map-components 5.1.0-next.102 → 5.1.0-next.103
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/{3EF4MN6L.js → 42YT33SI.js} +1 -1
- package/dist/cdn/{J3MFZHTJ.js → 4P5SOHAK.js} +1 -1
- package/dist/cdn/{6E3T7FRP.js → 4T6TILWS.js} +1 -1
- package/dist/cdn/{SFXP3DOP.js → 5CVCIDET.js} +1 -1
- package/dist/cdn/{H43ZBRJO.js → 5F4QQFMV.js} +1 -1
- package/dist/cdn/{IQHG6OT4.js → 5FHYTVXJ.js} +1 -1
- package/dist/cdn/{SEJ6JCXN.js → 6SLFSRO3.js} +1 -1
- package/dist/cdn/{5AY6FU6R.js → 6U7WM64M.js} +1 -1
- package/dist/cdn/{MFXNJZSL.js → 7MG2HVHJ.js} +1 -1
- package/dist/cdn/{7UZP3RBC.js → AWQHNAWY.js} +1 -1
- package/dist/cdn/{TZKT637Q.js → C5RCUSYN.js} +1 -1
- package/dist/cdn/{GHISRID5.js → D4ATYXZL.js} +1 -1
- package/dist/cdn/{5FEFHUMM.js → DWWDCRDK.js} +1 -1
- package/dist/cdn/{6QTNDMTM.js → EE4OHTHH.js} +1 -1
- package/dist/cdn/FM2ZJK25.js +2 -0
- package/dist/cdn/{ZYG4YNMK.js → GAWULXAQ.js} +1 -1
- package/dist/cdn/{CY5MXN4Q.js → GBHDATFS.js} +1 -1
- package/dist/cdn/{MGLV5EEI.js → HVKDLP74.js} +1 -1
- package/dist/cdn/{K6JERTMI.js → I7HKS77T.js} +1 -1
- package/dist/cdn/ICIX7OQK.js +2 -0
- package/dist/cdn/JW6K33EY.js +2 -0
- package/dist/cdn/LFFZNI4J.js +2 -0
- package/dist/cdn/{P27CM5PI.js → M2ECO3EZ.js} +1 -1
- package/dist/cdn/{T5YUD4HI.js → MLD4FBFB.js} +1 -1
- package/dist/cdn/{SBWTPIZH.js → NWLO4YJB.js} +1 -1
- package/dist/cdn/{KEKKHAC3.js → OGV2KLWY.js} +1 -1
- package/dist/cdn/{RQQW45SO.js → P36R3KMU.js} +1 -1
- package/dist/cdn/{7KIORSA4.js → PO4N3MEU.js} +1 -1
- package/dist/cdn/{KGWDZNHG.js → SKRNQKVO.js} +1 -1
- package/dist/cdn/{DU33A6QD.js → T2RNAPRO.js} +1 -1
- package/dist/cdn/{2M7OVKOX.js → UCPJMQPU.js} +1 -1
- package/dist/cdn/{YNGHIC64.js → UNFS72TS.js} +1 -1
- package/dist/cdn/{HYNB4OPZ.js → VDSKVXIQ.js} +1 -1
- package/dist/cdn/{PWCOBDBK.js → VSZ3LZA2.js} +1 -1
- package/dist/cdn/{CUJU6FOW.js → YGYGCNWI.js} +1 -1
- package/dist/cdn/{ZVTZRBDZ.js → Z5RIW77H.js} +1 -1
- package/dist/cdn/ZDOE5UWP.js +2 -0
- package/dist/cdn/assets/search/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/async-utils.js +63 -51
- package/dist/chunks/time-utils.js +27 -15
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +6 -6
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +3 -0
- package/dist/components/arcgis-slider-time/customElement.d.ts +868 -0
- package/dist/components/arcgis-slider-time/customElement.js +740 -0
- package/dist/components/arcgis-slider-time/index.d.ts +1 -0
- package/dist/components/arcgis-slider-time/index.js +8 -0
- package/dist/components/arcgis-slider-time/types.d.ts +147 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -1
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +13 -9
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +9 -1
- package/dist/types/preact.d.ts +10 -1
- package/dist/types/react.d.ts +11 -1
- package/dist/types/stencil.d.ts +9 -1
- package/package.json +4 -4
- package/dist/cdn/IQPGSWSL.js +0 -2
- package/dist/cdn/IU2X5JKR.js +0 -2
- package/dist/cdn/L7LTDZU6.js +0 -2
- package/dist/cdn/OSRU2RUW.js +0 -2
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
import { property as l, subclass as
|
|
4
|
-
import
|
|
5
|
-
import { a as
|
|
6
|
-
import { log as
|
|
7
|
-
var
|
|
8
|
-
for (var n = o > 1 ? void 0 : o ?
|
|
9
|
-
(u = t[
|
|
10
|
-
return o && n &&
|
|
2
|
+
import d from "@arcgis/core/core/Accessor.js";
|
|
3
|
+
import { property as l, subclass as m } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
4
|
+
import p from "@arcgis/core/core/Error.js";
|
|
5
|
+
import { a as h, r as w } from "./maybe.js";
|
|
6
|
+
import { log as _ } from "@arcgis/toolkit/log";
|
|
7
|
+
var v = Object.defineProperty, A = Object.getOwnPropertyDescriptor, a = (t, r, e, o) => {
|
|
8
|
+
for (var n = o > 1 ? void 0 : o ? A(r, e) : r, i = t.length - 1, u; i >= 0; i--)
|
|
9
|
+
(u = t[i]) && (n = (o ? u(r, e, n) : u(n)) || n);
|
|
10
|
+
return o && n && v(r, e, n), n;
|
|
11
11
|
};
|
|
12
|
-
function
|
|
12
|
+
function S(t, r, e) {
|
|
13
13
|
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
14
|
-
const n = "details" in t && t.details && typeof t.details == "object" && !Array.isArray(t.details) ? { detail: t.details } : void 0,
|
|
15
|
-
|
|
14
|
+
const n = "details" in t && t.details && typeof t.details == "object" && !Array.isArray(t.details) ? { detail: t.details } : void 0, i = e ? `${e} - ${String(t)}` : String(t);
|
|
15
|
+
_("error", r, i, n);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return new
|
|
18
|
+
function f(t = "Aborted") {
|
|
19
|
+
return new p("AbortError", t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function j(t, r = "Aborted") {
|
|
22
22
|
if (g(t))
|
|
23
|
-
throw
|
|
23
|
+
throw f(r);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function b(t) {
|
|
26
26
|
return t instanceof AbortSignal ? t : t?.signal ?? void 0;
|
|
27
27
|
}
|
|
28
28
|
function g(t) {
|
|
29
|
-
return
|
|
29
|
+
return b(t)?.aborted ?? !1;
|
|
30
30
|
}
|
|
31
31
|
function y(t) {
|
|
32
32
|
return t?.name === "AbortError";
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function C(t) {
|
|
35
35
|
return { ok: !0, value: t };
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function E(t) {
|
|
38
38
|
return { ok: !1, error: t };
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function k(t) {
|
|
41
41
|
return t?.ok ? t.value : null;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function T(t) {
|
|
44
44
|
return t != null && !t.ok ? t.error : null;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
const e =
|
|
46
|
+
function c(t, r) {
|
|
47
|
+
const e = b(t);
|
|
48
48
|
if (e == null)
|
|
49
49
|
return;
|
|
50
50
|
if (e.aborted) {
|
|
@@ -54,29 +54,29 @@ function I(t, r) {
|
|
|
54
54
|
const o = () => r();
|
|
55
55
|
return e.addEventListener("abort", o, { once: !0 }), { remove: () => e.removeEventListener("abort", o) };
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return new
|
|
57
|
+
function H(t, r) {
|
|
58
|
+
return new s(t, r);
|
|
59
59
|
}
|
|
60
|
-
let
|
|
60
|
+
let s = class extends d {
|
|
61
61
|
constructor(t, r) {
|
|
62
62
|
super({}), this._abortHandle = null, this.abort = () => {
|
|
63
|
-
this._abortController =
|
|
63
|
+
this._abortController = h(this._abortController);
|
|
64
64
|
}, this.remove = this.abort, this._abortController = new AbortController();
|
|
65
65
|
const { signal: e } = this._abortController;
|
|
66
66
|
this.promise = t(e), this.promise.then(
|
|
67
67
|
(o) => {
|
|
68
|
-
this._result =
|
|
68
|
+
this._result = C(o), this._cleanup();
|
|
69
69
|
},
|
|
70
70
|
(o) => {
|
|
71
|
-
this._result =
|
|
71
|
+
this._result = E(o), this._cleanup();
|
|
72
72
|
}
|
|
73
|
-
), this._abortHandle =
|
|
73
|
+
), this._abortHandle = c(r, this.abort);
|
|
74
74
|
}
|
|
75
75
|
get value() {
|
|
76
|
-
return
|
|
76
|
+
return k(this._result);
|
|
77
77
|
}
|
|
78
78
|
get error() {
|
|
79
|
-
return
|
|
79
|
+
return T(this._result);
|
|
80
80
|
}
|
|
81
81
|
get finished() {
|
|
82
82
|
return this._result != null;
|
|
@@ -85,30 +85,30 @@ let i = class extends f {
|
|
|
85
85
|
this.abort();
|
|
86
86
|
}
|
|
87
87
|
_cleanup() {
|
|
88
|
-
this._abortHandle =
|
|
88
|
+
this._abortHandle = w(this._abortHandle), this._abortController = null;
|
|
89
89
|
}
|
|
90
90
|
[Symbol.dispose]() {
|
|
91
91
|
this._cleanup();
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
a([
|
|
95
95
|
l()
|
|
96
|
-
],
|
|
97
|
-
|
|
96
|
+
], s.prototype, "value", 1);
|
|
97
|
+
a([
|
|
98
98
|
l()
|
|
99
|
-
],
|
|
100
|
-
|
|
99
|
+
], s.prototype, "error", 1);
|
|
100
|
+
a([
|
|
101
101
|
l()
|
|
102
|
-
],
|
|
103
|
-
|
|
102
|
+
], s.prototype, "finished", 1);
|
|
103
|
+
a([
|
|
104
104
|
l()
|
|
105
|
-
],
|
|
106
|
-
|
|
105
|
+
], s.prototype, "promise", 2);
|
|
106
|
+
a([
|
|
107
107
|
l()
|
|
108
|
-
],
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
],
|
|
108
|
+
], s.prototype, "_result", 2);
|
|
109
|
+
s = a([
|
|
110
|
+
m("esri.components.asyncUtils.ReactiveTask")
|
|
111
|
+
], s);
|
|
112
112
|
function q(t) {
|
|
113
113
|
return t.catch((r) => {
|
|
114
114
|
if (!y(r))
|
|
@@ -131,13 +131,25 @@ function x(t, r = {}) {
|
|
|
131
131
|
function L(t) {
|
|
132
132
|
"cancelIdleCallback" in window && window.cancelIdleCallback(t), window.clearTimeout(t);
|
|
133
133
|
}
|
|
134
|
+
function M(t, r) {
|
|
135
|
+
const e = new AbortController();
|
|
136
|
+
return c(r, () => e.abort()), new Promise((o, n) => {
|
|
137
|
+
let i = setTimeout(() => {
|
|
138
|
+
i = void 0, o();
|
|
139
|
+
}, t);
|
|
140
|
+
c(e, () => {
|
|
141
|
+
i !== void 0 && (clearTimeout(i), i = void 0, n(f()));
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
}
|
|
134
145
|
export {
|
|
135
146
|
g as a,
|
|
136
147
|
q as b,
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
H as c,
|
|
149
|
+
M as d,
|
|
150
|
+
L as e,
|
|
139
151
|
y as i,
|
|
140
|
-
|
|
152
|
+
S as l,
|
|
141
153
|
x as r,
|
|
142
|
-
|
|
154
|
+
j as t
|
|
143
155
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const
|
|
2
|
+
const a = "system", u = "unknown";
|
|
3
|
+
const l = Intl.DateTimeFormat().resolvedOptions().timeZone, o = {
|
|
3
4
|
milliseconds: 1,
|
|
4
5
|
seconds: 1e3,
|
|
5
6
|
minutes: 6e4,
|
|
@@ -16,38 +17,49 @@ const l = "system", d = "unknown", f = Intl.DateTimeFormat().resolvedOptions().t
|
|
|
16
17
|
function c(e, s, n) {
|
|
17
18
|
return e === 0 ? 0 : e * o[s] / o[n];
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function m(e) {
|
|
20
21
|
return e instanceof Date && !Number.isNaN(e.getTime());
|
|
21
22
|
}
|
|
22
23
|
function g(e, s, n = "hours") {
|
|
23
24
|
const t = new Date(e.getTime()), i = c(s, n, "milliseconds");
|
|
24
25
|
return t.setTime(t.getTime() + i), t;
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
-
const n = c(s, "hours", "milliseconds"), t = new Date(e.getTime() + n), i = t.toISOString().slice(0, 10),
|
|
28
|
-
return { localDate: i, minutesSinceMidnight:
|
|
27
|
+
function f(e, s) {
|
|
28
|
+
const n = c(s, "hours", "milliseconds"), t = new Date(e.getTime() + n), i = t.toISOString().slice(0, 10), r = t.getUTCHours() * 60 + t.getUTCMinutes();
|
|
29
|
+
return { localDate: i, minutesSinceMidnight: r };
|
|
29
30
|
}
|
|
30
31
|
function T(e) {
|
|
31
32
|
const s = e?.environment?.lighting;
|
|
32
|
-
if (
|
|
33
|
+
if (d(s)) {
|
|
33
34
|
const n = s.displayUTCOffset ?? 0, t = s.date;
|
|
34
|
-
if (
|
|
35
|
-
const { localDate: i } =
|
|
35
|
+
if (m(t)) {
|
|
36
|
+
const { localDate: i } = f(t, n);
|
|
36
37
|
return i;
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function d(e) {
|
|
41
42
|
return e?.type === "sun";
|
|
42
43
|
}
|
|
44
|
+
function h(e) {
|
|
45
|
+
switch (e) {
|
|
46
|
+
case a:
|
|
47
|
+
return l;
|
|
48
|
+
case u:
|
|
49
|
+
return "UTC";
|
|
50
|
+
default:
|
|
51
|
+
return e;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
43
54
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
55
|
+
l as a,
|
|
56
|
+
m as b,
|
|
46
57
|
c,
|
|
47
|
-
|
|
58
|
+
f as d,
|
|
48
59
|
T as g,
|
|
49
|
-
|
|
60
|
+
d as i,
|
|
50
61
|
g as o,
|
|
51
|
-
|
|
52
|
-
|
|
62
|
+
h as r,
|
|
63
|
+
a as s,
|
|
64
|
+
u
|
|
53
65
|
};
|
|
@@ -18,6 +18,9 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
18
18
|
* When a bookmark with a timeExtent is selected, the [arcgis-map.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeExtent) of the Map will be set to the timeExtent of the selected bookmark.
|
|
19
19
|
* To disable time capability in the Bookmarks component, set [timeDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#timeDisabled) to `true`.
|
|
20
20
|
*
|
|
21
|
+
* Starting with version `5.1`, on [@arcgisBookmarkSelect](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#event-arcgisBookmarkSelect) the selected bookmark's name is announced to assistive technologies. Visit the [Accessibility guide](xref://site.self/accessibility/#assistive-technologies) to learn more
|
|
22
|
+
* about live announcements supporting more audiences.
|
|
23
|
+
*
|
|
21
24
|
* The Bookmarks component can be used to create, edit, reorder, and delete bookmarks.
|
|
22
25
|
* To enable these features, set the following properties to `true`:
|
|
23
26
|
* [showAddBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showAddBookmarkButton), [showEditBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showEditBookmarkButton), and [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#dragEnabled).
|
|
@@ -17,7 +17,7 @@ import I from "@arcgis/core/widgets/CoordinateConversion/CoordinateConversionVie
|
|
|
17
17
|
import m from "@arcgis/core/widgets/CoordinateConversion/support/Conversion.js";
|
|
18
18
|
import { l as D } from "../../chunks/measurementUtils.js";
|
|
19
19
|
import U from "@arcgis/core/applications/Components/QuantityFormatter.js";
|
|
20
|
-
const O = P`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.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-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);width:var(--arcgis-coordinate-conversion-width, 320px);--calcite-block-content-space: var(--arcgis-coordinate-conversion-block-content-space)}.root{background-color:var(--calcite-color-foreground-1)}calcite-alert{--calcite-alert-offset-size: var(--calcite-spacing-sm)}calcite-notice{padding:var(--calcite-spacing-sm)}calcite-block{--calcite-block-content-space: 0;margin:0}.go-to-input-holder{display:flex}.go-to-input-holder calcite-input{flex:1}.conversions-block{border:none;padding-bottom:var(--calcite-spacing-sm)}.live-mode-block{--calcite-label-margin-bottom: 0;padding:var(--calcite-spacing-sm)}.live-mode-label{width:fit-content;margin-inline-start:auto}.font-size-small{font-size:var(--calcite-font-size--2)}.format-radio-label{display:flex;flex-direction:column}.radio-label{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size--2)}.radio-description{font-weight:var(--calcite-font-weight-light);font-size:var(--calcite-font-size--3)}.unit-select-panel{--calcite-panel-space: var(--calcite-spacing-md)}.popover-footer{padding:var(--calcite-spacing-sm);border-top:1px solid var(--calcite-color-border-3)}.input-form-group{display:flex;flex-direction:column;align-items:flex-start;margin:var(--calcite-spacing-sm)}.input-form-group-footer{margin:var(--calcite-spacing-sm)}.add-conversion-trigger{margin-inline-start:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm)}.input-form-group calcite-label{width:100%}.settings{padding:var(--calcite-spacing-md);display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1);max-width:var(--arcgis-coordinate-conversion-width, 320px)}.settings calcite-label{width:100%}.settings calcite-input{flex:1}.settings-form-group-horizontal{display:flex}`, A = 2500, B = 1e3, V = new F({
|
|
20
|
+
const O = P`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.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-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);padding-block-start:var(--arcgis-coordinate-conversion-padding-y);width:var(--arcgis-coordinate-conversion-width, 280px)}.root{background-color:var(--calcite-color-foreground-1)}calcite-alert{--calcite-alert-offset-size: var(--calcite-spacing-sm)}calcite-notice[open]{padding:var(--calcite-spacing-sm)}calcite-block{--calcite-block-content-space: 0;margin:0;padding-inline:var(--arcgis-coordinate-conversion-padding-x)}calcite-block:last-of-type{padding-block-end:var(--arcgis-coordinate-conversion-padding-y, var(--calcite-spacing-sm))}.go-to-input-holder{display:flex}.go-to-input-holder calcite-input{flex:1}.conversions-block{border:none;padding-bottom:var(--calcite-spacing-sm)}.live-mode-block{--calcite-label-margin-bottom: 0;padding-block:var(--calcite-spacing-sm);padding-inline:var(--arcgis-coordinate-conversion-padding-x, var(--calcite-spacing-sm))}.live-mode-label{width:fit-content;margin-inline-start:auto}.font-size-small{font-size:var(--calcite-font-size--2)}.format-radio-label{display:flex;flex-direction:column}.radio-label{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size--2)}.radio-description{font-weight:var(--calcite-font-weight-light);font-size:var(--calcite-font-size--3)}.unit-select-panel{--calcite-panel-space: var(--calcite-spacing-md)}.popover-footer{padding:var(--calcite-spacing-sm);border-top:1px solid var(--calcite-color-border-3)}.input-form-group{display:flex;flex-direction:column;align-items:flex-start;padding:var(--calcite-spacing-sm)}.add-conversion-trigger{margin-inline-start:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm)}.input-form-group calcite-label{width:100%}.settings{padding:var(--calcite-spacing-md);display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1);max-width:var(--arcgis-coordinate-conversion-width, 320px)}.settings calcite-label{width:100%}.settings calcite-input{flex:1}.settings-form-group-horizontal{display:flex}`, A = 2500, B = 1e3, V = new F({
|
|
21
21
|
x: 0,
|
|
22
22
|
y: 0
|
|
23
23
|
}), l = {
|
|
@@ -290,16 +290,16 @@ class j extends z {
|
|
|
290
290
|
renderConversionsView() {
|
|
291
291
|
if (!this.conversions)
|
|
292
292
|
return;
|
|
293
|
-
const { messages: e, multipleConversionsDisabled: o } = this, i = (o ? this.conversions.slice(0, 1) : this.conversions).map(this.renderConversionView).reverse(), r = this.showElevation ? this.renderElevation() : null, c = this.hideCaptureSection ? null : this.renderLiveModeSection(), a = this.hideInputSection ? null : this.renderCoordinateInputView(), d = this.multipleConversionsDisabled ? null : this.renderFormatDropdown(), h =
|
|
294
|
-
return n
|
|
293
|
+
const { messages: e, multipleConversionsDisabled: o } = this, i = (o ? this.conversions.slice(0, 1) : this.conversions).map(this.renderConversionView).reverse(), r = this.showElevation ? this.renderElevation() : null, c = this.hideCaptureSection ? null : this.renderLiveModeSection(), a = this.hideInputSection ? null : this.renderCoordinateInputView(), d = this.multipleConversionsDisabled ? null : this.renderFormatDropdown(), h = n`<calcite-notice .icon=${l.lightbulb} .open=${this.disabled} width=full><div class="font-size-small" slot=message>${e.noBasemap}</div></calcite-notice>`;
|
|
294
|
+
return n`${c}${h}${a}<calcite-block class="conversions-block" .disabled=${this.disabled} expanded .heading=${e.coordinates} .headingLevel=${this.headingLevel} scale=s><calcite-list interaction-mode=static .label=${e.coordinates} scale=s>${i}</calcite-list>${d}</calcite-block>${r}`;
|
|
295
295
|
}
|
|
296
296
|
renderCoordinateInputView() {
|
|
297
297
|
const { messages: e } = this, o = this.inputFormat ?? this.conversions.at(0)?.format, t = this.getId("coordinate-input"), i = this.renderConversionOptions(this.formats, o ?? void 0), r = n`<calcite-action .icon=${l.goTo} .label=${e.convertAndGoTo} @click=${() => this.processUserMouseInput(!0)} @keydown=${this.stopPropagation} scale=s .text=${e.convertAndGoTo} title=${e.convertAndGoTo ?? s}></calcite-action>`;
|
|
298
|
-
return n`<calcite-block collapsible .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} scale=s><div class="input-form-group"><calcite-label scale=s>${e.inputFormat}<calcite-select aria-controls=${t ?? s} class="input-select" .label=${e.inputFormat} @calciteSelectChange=${this.setInputFormat} scale=s>${i}</calcite-select></calcite-label><calcite-label scale=s>${e.inputCoordTitle}<div class="go-to-input-holder"><calcite-input class="coordinate-input" data-format=${o ?? s} id=${t ?? s} @keydown=${this.processUserKeyboardInput} .placeholder=${e.inputCoordTitle} required scale=s .status=${this.invalidInput ? "invalid" : "idle"} ${u(this._coordinateInput)}></calcite-input>${r}</div></calcite-label
|
|
298
|
+
return n`<calcite-block collapsible data-testid=input-block .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} scale=s><div class="input-form-group"><calcite-label scale=s>${e.inputFormat}<calcite-select aria-controls=${t ?? s} class="input-select" .label=${e.inputFormat} @calciteSelectChange=${this.setInputFormat} scale=s>${i}</calcite-select></calcite-label><calcite-label scale=s>${e.inputCoordTitle}<div class="go-to-input-holder"><calcite-input class="coordinate-input" data-format=${o ?? s} data-testid=coordinate-input id=${t ?? s} @keydown=${this.processUserKeyboardInput} .placeholder=${e.inputCoordTitle} required scale=s .status=${this.invalidInput ? "invalid" : "idle"} ${u(this._coordinateInput)}></calcite-input>${r}</div></calcite-label><calcite-button appearance=outline data-testid=convert-button kind=neutral @click=${() => this.processUserMouseInput(!1)} type=button scale=s width=auto>${e.convert}</calcite-button></div></calcite-block>`;
|
|
299
299
|
}
|
|
300
300
|
renderElevation() {
|
|
301
301
|
const { messages: e } = this, o = this.displayedElevation ?? e.noElevation, t = this.hideSettingsButton ? null : n`<calcite-action .icon=${l.gear} .label=${e.selectElevationUnit} @click=${this.handleElevationSettingsTrigger} @keydown=${this.stopPropagation} scale=s slot=actions-end .text=${e.selectElevationUnit} title=${e.selectElevationUnit ?? s} ${u(this.onElevationPopoverTriggerMount)}></calcite-action>`, i = this.hideSettingsButton ? null : this.renderElevationSettingsDropdown(), r = this.currentLocation?.z !== void 0 && this.mode !== "live";
|
|
302
|
-
return n`<calcite-block .disabled=${this.disabled} expanded .heading=${e.elevation} .headingLevel=${this.headingLevel} scale=s><calcite-list-item class="elevation-list-item"
|
|
302
|
+
return n`<calcite-block .disabled=${this.disabled} expanded .heading=${e.elevation} .headingLevel=${this.headingLevel} scale=s><calcite-list-item class="elevation-list-item" .iconEnd=${r ? l.copy : void 0} .label=${o} @click=${() => r && this.copyToClipboard(o)} @keydown=${(c) => {
|
|
303
303
|
c.key === "Enter" && r && this.copyToClipboard(o);
|
|
304
304
|
}} role=button scale=s tabindex=0 title=${o ?? s}>${t}</calcite-list-item>${i}</calcite-block>`;
|
|
305
305
|
}
|
|
@@ -350,7 +350,7 @@ class j extends z {
|
|
|
350
350
|
}
|
|
351
351
|
renderSingleFormatDropdown() {
|
|
352
352
|
const { messages: e } = this;
|
|
353
|
-
return n`<calcite-combobox
|
|
353
|
+
return n`<calcite-combobox data-testid=single-format-combobox .label=${e.selectFormat} @calciteComboboxChange=${this.handleFormatComboboxChange} scale=s selection-mode=single-persist>${this.formats?.map((o) => n`<calcite-combobox-item .description=${this.getFormatDescription(o)} .heading=${o.label.toUpperCase()} .selected=${this.conversions.at(0)?.format === o} .value=${o.name}></calcite-combobox-item>`)}</calcite-combobox>`;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
$("arcgis-coordinate-conversion", j);
|
|
@@ -11,7 +11,7 @@ import { u as be } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { u as ve } from "../../chunks/useView.js";
|
|
12
12
|
import { m as J } from "../../chunks/handle.js";
|
|
13
13
|
import { o as $, i as p, b as A, d as k, g as we } from "../../chunks/time-utils.js";
|
|
14
|
-
import { r as ye, b as xe,
|
|
14
|
+
import { r as ye, b as xe, e as Se } from "../../chunks/async-utils.js";
|
|
15
15
|
import { createTrackingTarget as De, runTracked as W, signal as Te } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
16
16
|
import { C as K } from "../../chunks/component-wrapper.js";
|
|
17
17
|
import { V as D } from "../../chunks/visible-element.js";
|
|
@@ -31,6 +31,9 @@ import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
|
31
31
|
* specified point (the center of the view) by passing in the `location parameter`. Features closest to the input location show up higher in the list of results.
|
|
32
32
|
* This behavior can be changed by using the localSearchDisabled property.
|
|
33
33
|
*
|
|
34
|
+
* Starting with version `5.1`, on [@arcgisSelectResult](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#event-arcgisSelectResult) the selected search result is announced to assistive technologies. Visit the [Accessibility guide](xref://site.self/accessibility/#assistive-technologies) to learn more
|
|
35
|
+
* about live announcements supporting more audiences.
|
|
36
|
+
*
|
|
34
37
|
* @since 4.28
|
|
35
38
|
*/
|
|
36
39
|
export abstract class ArcgisSearch extends LitElement {
|