@arcgis/common-components 5.1.0-next.98 → 5.2.0-next.0
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/README.md +2 -2
- package/dist/cdn/{3Y4H3CAQ.js → 232BH3SJ.js} +2 -2
- package/dist/cdn/{MNN3QF54.js → 2MN6S2HH.js} +2 -2
- package/dist/cdn/4BJYJUMR.js +2 -0
- package/dist/cdn/{DDJDHAHT.js → 5I5ODGDD.js} +2 -2
- package/dist/cdn/{WG5GA6QX.js → AGGCAE6P.js} +2 -2
- package/dist/cdn/BDF4ZLUF.js +2 -0
- package/dist/cdn/{MP6Z45SA.js → ECNI2A4K.js} +1 -1
- package/dist/cdn/{HYLC5GEB.js → F45Q3BRT.js} +1 -1
- package/dist/cdn/{JJZBCHU4.js → FZSF24HT.js} +2 -2
- package/dist/cdn/{GFUGR2W7.js → GEWXC2ZR.js} +2 -2
- package/dist/cdn/{TTV4Z2RR.js → HWEOBUAY.js} +2 -2
- package/dist/cdn/{YZGTCNEQ.js → MINFRX4Y.js} +2 -2
- package/dist/cdn/{EPX7DYFW.js → NKMDS2IH.js} +1 -1
- package/dist/cdn/{GSNPEBGQ.js → OOBX2C2L.js} +3 -3
- package/dist/cdn/ORSF6IOL.js +2 -0
- package/dist/cdn/QEW7H22O.js +2 -0
- package/dist/cdn/{H74W6KYI.js → S7B2PKI3.js} +2 -2
- package/dist/cdn/{WDOKXOEG.js → UGWLCTVM.js} +1 -1
- package/dist/cdn/{QEPJM6XG.js → UMIMGOKS.js} +2 -2
- package/dist/cdn/VUQJROFR.js +2 -0
- package/dist/cdn/{O3CBCQNL.js → WJ3TYWP2.js} +2 -2
- package/dist/cdn/X4NARYUV.js +2 -0
- package/dist/cdn/{TJNYRK5P.js → Y5Y7IXOV.js} +1 -1
- package/dist/cdn/{GPVWNUMW.js → YG4PY2H3.js} +2 -2
- package/dist/cdn/{JRF33N6C.js → YSXFXVP6.js} +2 -2
- package/dist/cdn/{P4CF7V4U.js → YVCGEEMG.js} +2 -2
- package/dist/cdn/{OQF4LYVE.js → YVWFGK4M.js} +2 -2
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/{spatial-reference-picker → coordinate-system-picker}/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/commonFunctions.js +1 -1
- package/dist/chunks/internal-types.js +1 -1
- package/dist/chunks/layer-utils.js +70 -0
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-ckeditor5/customElement.js +1 -1
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
- package/dist/components/arcgis-color-input/customElement.js +1 -1
- package/dist/components/{arcgis-spatial-reference-picker → arcgis-coordinate-system-picker}/customElement.d.ts +6 -4
- package/dist/components/{arcgis-spatial-reference-picker → arcgis-coordinate-system-picker}/customElement.js +7 -6
- package/dist/components/arcgis-coordinate-system-picker/index.js +3 -0
- package/dist/components/{arcgis-spatial-reference-picker-tree → arcgis-coordinate-system-picker-tree}/customElement.d.ts +2 -2
- package/dist/components/{arcgis-spatial-reference-picker-tree → arcgis-coordinate-system-picker-tree}/customElement.js +9 -9
- package/dist/components/arcgis-field-info/customElement.js +170 -169
- package/dist/components/arcgis-field-info/utils/basic.d.ts +20 -16
- package/dist/components/arcgis-field-pick-list/customElement.js +92 -87
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +16 -16
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-label-input/customElement.js +1 -1
- package/dist/components/arcgis-picker-input/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
- package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +3 -3
- package/dist/components/arcgis-slider-input/customElement.js +1 -1
- package/dist/components/arcgis-ticks/customElement.js +22 -22
- package/dist/components/arcgis-unique-values-list/customElement.js +74 -73
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +19 -12
- 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 +20 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +12 -12
- package/dist/types/preact.d.ts +14 -14
- package/dist/types/react.d.ts +16 -16
- package/dist/types/stencil.d.ts +12 -12
- package/package.json +7 -7
- package/dist/cdn/43KGVFBF.js +0 -2
- package/dist/cdn/B43M633Q.js +0 -2
- package/dist/cdn/LVSH5I3Q.js +0 -2
- package/dist/cdn/MHJWVKG5.js +0 -2
- package/dist/cdn/O6ZASYX6.js +0 -2
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-TW.json +0 -1
- package/dist/components/arcgis-spatial-reference-picker/index.js +0 -3
- /package/dist/cdn/assets/{spatial-reference-picker → coordinate-system-picker}/t9n/messages.en-US.json +0 -0
- /package/dist/components/{arcgis-spatial-reference-picker → arcgis-coordinate-system-picker}/index.d.ts +0 -0
- /package/dist/components/{arcgis-spatial-reference-picker-tree → arcgis-coordinate-system-picker-tree}/index.d.ts +0 -0
- /package/dist/components/{arcgis-spatial-reference-picker-tree → arcgis-coordinate-system-picker-tree}/index.js +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
function r(e, n) {
|
|
3
|
+
return e != null && typeof e == "object" && "type" in e && e.type === n;
|
|
4
|
+
}
|
|
5
|
+
function u(e) {
|
|
6
|
+
return r(e, "csv");
|
|
7
|
+
}
|
|
8
|
+
function a(e) {
|
|
9
|
+
return t(e) && !e.url;
|
|
10
|
+
}
|
|
11
|
+
function t(e) {
|
|
12
|
+
return r(e, "feature");
|
|
13
|
+
}
|
|
14
|
+
function s(e) {
|
|
15
|
+
return r(e, "geojson");
|
|
16
|
+
}
|
|
17
|
+
function i(e) {
|
|
18
|
+
return r(e, "imagery");
|
|
19
|
+
}
|
|
20
|
+
function o(e) {
|
|
21
|
+
return r(e, "imagery-tile");
|
|
22
|
+
}
|
|
23
|
+
function y(e) {
|
|
24
|
+
return r(e, "map-image");
|
|
25
|
+
}
|
|
26
|
+
function c(e) {
|
|
27
|
+
return r(e, "ogc-feature");
|
|
28
|
+
}
|
|
29
|
+
function f(e) {
|
|
30
|
+
return r(e, "scene");
|
|
31
|
+
}
|
|
32
|
+
function p(e) {
|
|
33
|
+
return r(e, "stream");
|
|
34
|
+
}
|
|
35
|
+
function L(e) {
|
|
36
|
+
return r(e, "sublayer") && "parent" in e;
|
|
37
|
+
}
|
|
38
|
+
function b(e) {
|
|
39
|
+
return r(e, "subtype-group") && "sublayers" in e;
|
|
40
|
+
}
|
|
41
|
+
function g(e) {
|
|
42
|
+
return r(e, "subtype-sublayer");
|
|
43
|
+
}
|
|
44
|
+
function m(e) {
|
|
45
|
+
return r(e, "voxel");
|
|
46
|
+
}
|
|
47
|
+
function S(e) {
|
|
48
|
+
return r(e, "wcs");
|
|
49
|
+
}
|
|
50
|
+
function l(e) {
|
|
51
|
+
return r(e, "wfs");
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
S as a,
|
|
55
|
+
m as b,
|
|
56
|
+
a as c,
|
|
57
|
+
i as d,
|
|
58
|
+
g as e,
|
|
59
|
+
t as f,
|
|
60
|
+
p as g,
|
|
61
|
+
l as h,
|
|
62
|
+
o as i,
|
|
63
|
+
L as j,
|
|
64
|
+
b as k,
|
|
65
|
+
y as l,
|
|
66
|
+
c as m,
|
|
67
|
+
u as n,
|
|
68
|
+
f as o,
|
|
69
|
+
s as p
|
|
70
|
+
};
|
package/dist/chunks/locale.js
CHANGED
package/dist/chunks/resources.js
CHANGED
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import "../cdn/main.css";
|
|
3
3
|
import { makeRuntime as e } from "@arcgis/lumina";
|
|
4
4
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
-
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.
|
|
5
|
+
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.2.0-next/common-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
|
|
6
6
|
t.t = s;
|
|
7
7
|
t.o = r;
|
|
8
8
|
t.c = a;
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as uB, c as hB } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as mB, createEvent as Qo, noShadowRoot as gB, nothing as pB } from "@arcgis/lumina";
|
|
4
4
|
import { createRef as fB, ref as kB } from "lit/directives/ref.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as a } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as l, html as n } from "lit";
|
|
4
4
|
import { LitElement as d, createEvent as o, nothing as c, safeClassMap as e } from "@arcgis/lumina";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as n } from "lit/directives/keyed.js";
|
|
4
4
|
import { LitElement as m, createEvent as i } from "@arcgis/lumina";
|
|
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
|
-
export abstract class
|
|
6
|
+
export abstract class ArcgisCoordinateSystemPicker extends LitElement {
|
|
7
7
|
/**
|
|
8
8
|
* Contains the translations for this component.
|
|
9
9
|
*
|
|
@@ -144,6 +144,7 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
144
144
|
noMatchesFound: string;
|
|
145
145
|
noResults: string;
|
|
146
146
|
searchPlaceholder: string;
|
|
147
|
+
custom: string;
|
|
147
148
|
} & T9nMeta<{
|
|
148
149
|
"ARC (equal arc-second)": string;
|
|
149
150
|
Africa: string;
|
|
@@ -279,9 +280,10 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
279
280
|
noMatchesFound: string;
|
|
280
281
|
noResults: string;
|
|
281
282
|
searchPlaceholder: string;
|
|
283
|
+
custom: string;
|
|
282
284
|
}>;
|
|
283
285
|
/**
|
|
284
|
-
* When true the arcgis-
|
|
286
|
+
* When true the arcgis-coordinate-system-picker-tree will be filtered to display the default wkid when the component loads.
|
|
285
287
|
* The default wkid will also be shown in the search element when this value is true.
|
|
286
288
|
* Currently MapViewer Analysis UI has the property set to its default value of false, to avoid auto filtering.
|
|
287
289
|
*
|
|
@@ -303,7 +305,7 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
303
305
|
*/
|
|
304
306
|
accessor filterEnabled: boolean;
|
|
305
307
|
/**
|
|
306
|
-
* Categories to hide from the
|
|
308
|
+
* Categories to hide from the coordinate-system-picker.
|
|
307
309
|
* The three top-level categories are "Projected Coordinate Systems", "Geographic Coordinate Systems", and "Vertical Coordinate Systems".
|
|
308
310
|
* Each of these categories has sub-categories that can also be hidden, to see the full list of categories, see the `srCategories` that is imported.
|
|
309
311
|
*
|
|
@@ -322,6 +324,6 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
322
324
|
/** Emitted when the spatial reference selection changes */
|
|
323
325
|
readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, { latestWkid?: number; } | undefined>;
|
|
324
326
|
readonly "@eventTypes": {
|
|
325
|
-
arcgisChange:
|
|
327
|
+
arcgisChange: ArcgisCoordinateSystemPicker["arcgisChange"]["detail"];
|
|
326
328
|
};
|
|
327
329
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as s, html as n } from "lit";
|
|
4
4
|
import { createRef as r, ref as A } from "lit/directives/ref.js";
|
|
@@ -6,7 +6,7 @@ import { LitElement as l, createEvent as D } from "@arcgis/lumina";
|
|
|
6
6
|
import { debounce as M } from "@arcgis/toolkit/function";
|
|
7
7
|
import { substitute as P } from "@arcgis/core/intl.js";
|
|
8
8
|
import { u as G } from "../../chunks/useT9n.js";
|
|
9
|
-
const C = s`:host{overflow-y:hidden;display:flex;flex-direction:column;--calcite-color-border-input: var(--calcite-color-border-2);height:var(--arcgis-
|
|
9
|
+
const C = s`:host{overflow-y:hidden;display:flex;flex-direction:column;--calcite-color-border-input: var(--calcite-color-border-2);height:var(--arcgis-coordinate-system-picker-height, 45vh);min-width:var(--arcgis-coordinate-system-picker-min-width, 20rem);max-width:var(--arcgis-coordinate-system-picker-max-width, 27rem)}.no-matches-found-msg{margin:var(--calcite-space-sm);font-size:var(--calcite-font-size--2)}arcgis-coordinate-system-picker-tree{flex:1}`, R = {
|
|
10
10
|
"Geographic Coordinate Systems": {
|
|
11
11
|
Africa: {
|
|
12
12
|
4143: "Abidjan 1987",
|
|
@@ -7613,7 +7613,8 @@ class F extends l {
|
|
|
7613
7613
|
this.styles = C;
|
|
7614
7614
|
}
|
|
7615
7615
|
async getSRDescription() {
|
|
7616
|
-
|
|
7616
|
+
if (this.value?.latestWkid !== void 0)
|
|
7617
|
+
return this.getSpatialReferenceDescription(this.value?.latestWkid);
|
|
7617
7618
|
}
|
|
7618
7619
|
load() {
|
|
7619
7620
|
this.value = this.value ?? { latestWkid: this.defaultWkid };
|
|
@@ -7693,10 +7694,10 @@ class F extends l {
|
|
|
7693
7694
|
const e = P(this._messages.noMatchesFound, {
|
|
7694
7695
|
searchTerm: this.searchText ?? ""
|
|
7695
7696
|
});
|
|
7696
|
-
return n`${this.filterEnabled && n`<calcite-input @calciteInputInput=${this.searchSpatialReferences} @keydown=${this.inputKeyDown} .placeholder=${this._messages.searchPlaceholder} scale=s type=search .value=${this.searchText} icon autofocus ${A(this.searchInput)}></calcite-input>` || ""}${this.searchText.length > 1 && this.searchResults && Object.keys(this.searchResults).length === 0 && n`<p class="no-matches-found-msg">${e}</p>` || ""}<arcgis-
|
|
7697
|
+
return n`${this.filterEnabled && n`<calcite-input @calciteInputInput=${this.searchSpatialReferences} @keydown=${this.inputKeyDown} .placeholder=${this._messages.searchPlaceholder} scale=s type=search .value=${this.searchText} icon autofocus ${A(this.searchInput)}></calcite-input>` || ""}${this.searchText.length > 1 && this.searchResults && Object.keys(this.searchResults).length === 0 && n`<p class="no-matches-found-msg">${e}</p>` || ""}<arcgis-coordinate-system-picker-tree .data=${this.searchResults !== void 0 && this.searchText.length > 0 ? this.searchResults : this.visibleSrCategories} .value=${this.value && `${this.value?.latestWkid}`} @arcgisChange=${this.handleTreeValueChange} ${A(this.treeElement)}></arcgis-coordinate-system-picker-tree>`;
|
|
7697
7698
|
}
|
|
7698
7699
|
}
|
|
7699
|
-
i("arcgis-
|
|
7700
|
+
i("arcgis-coordinate-system-picker", F);
|
|
7700
7701
|
export {
|
|
7701
|
-
F as
|
|
7702
|
+
F as ArcgisCoordinateSystemPicker
|
|
7702
7703
|
};
|
|
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { NestedObject } from "../../utils/spatial-references.js";
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
|
-
export abstract class
|
|
6
|
+
export abstract class ArcgisCoordinateSystemPickerTree extends LitElement {
|
|
7
7
|
/**
|
|
8
8
|
* The data to display in the tree. Supports nested data.
|
|
9
9
|
*
|
|
@@ -30,6 +30,6 @@ export abstract class ArcgisSpatialReferencePickerTree extends LitElement {
|
|
|
30
30
|
/** Emitted when the selected value of the tree changes. */
|
|
31
31
|
readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
32
32
|
readonly "@eventTypes": {
|
|
33
|
-
arcgisChange:
|
|
33
|
+
arcgisChange: ArcgisCoordinateSystemPickerTree["arcgisChange"]["detail"];
|
|
34
34
|
};
|
|
35
35
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import { c as
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as n } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
const u =
|
|
7
|
-
class v extends
|
|
4
|
+
import { LitElement as h, createEvent as l, nothing as m } from "@arcgis/lumina";
|
|
5
|
+
import { css as p, html as a } from "lit";
|
|
6
|
+
const u = p`:host{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;height:100%;width:100%}`;
|
|
7
|
+
class v extends h {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.treeItemsOpen = /* @__PURE__ */ new Set(), this.handleMutations = (e) => {
|
|
10
10
|
e.forEach((s) => {
|
|
@@ -61,7 +61,7 @@ class v extends d {
|
|
|
61
61
|
this.treeItemsOpen.has(e) ? this.treeItemsOpen.delete(e) : this.treeItemsOpen.add(e), this.buildJSXTree();
|
|
62
62
|
}
|
|
63
63
|
createTreeItem(e, s, t) {
|
|
64
|
-
return a`<calcite-tree-item data-key=${e ??
|
|
64
|
+
return a`<calcite-tree-item data-key=${e ?? m} .selected=${this.value === e} .expanded=${this.treeItemsOpen.has(e)}>${s}${t !== void 0 && n(`${e}-child-tree`, a`<calcite-tree slot=children>${t}</calcite-tree>`) || ""}</calcite-tree-item>`;
|
|
65
65
|
}
|
|
66
66
|
handleTreeSelect(e) {
|
|
67
67
|
const t = e.currentTarget?.selectedItems[0]?.dataset.key;
|
|
@@ -71,7 +71,7 @@ class v extends d {
|
|
|
71
71
|
return n("base-tree", a`<calcite-tree scale=s @calciteTreeSelect=${this.handleTreeSelect}>${this.renderedTree}</calcite-tree>`);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
d("arcgis-coordinate-system-picker-tree", v);
|
|
75
75
|
export {
|
|
76
|
-
v as
|
|
76
|
+
v as ArcgisCoordinateSystemPickerTree
|
|
77
77
|
};
|