@arcgis/common-components 5.1.0-next.99 → 5.2.0-next.1
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/IRIB5DXG.js +2 -0
- package/dist/cdn/KPJCYYYQ.js +2 -0
- 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/{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/{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/assets/field-info/t9n/messages.en.json +1 -1
- 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.d.ts +1 -0
- package/dist/components/arcgis-color-input/customElement.js +7 -4
- package/dist/components/{arcgis-spatial-reference-picker → arcgis-coordinate-system-picker}/customElement.d.ts +8 -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.d.ts +2 -0
- package/dist/components/arcgis-field-info/customElement.js +172 -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 +6 -6
- 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/H74W6KYI.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
|
@@ -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";
|
|
@@ -79,6 +79,7 @@ export abstract class ArcgisColorInput extends LitElement {
|
|
|
79
79
|
accessor storageId: string;
|
|
80
80
|
/** Close the component. */
|
|
81
81
|
close(): Promise<void>;
|
|
82
|
+
isOpen(): boolean;
|
|
82
83
|
/** Set focus on the component. */
|
|
83
84
|
setFocus(): Promise<void>;
|
|
84
85
|
/** Emitted when the color has 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 { 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";
|
|
@@ -17,7 +17,7 @@ function y(l, e) {
|
|
|
17
17
|
const S = u`:host,arcgis-picker-input{display:block}.color-picker-container{display:flex;flex-direction:column}.color-picker{--calcite-color-border-1: transparent;overflow-x:hidden}.preview-swatch{width:100%;height:24px}.recent-colors-container{align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-input);display:flex;gap:var(--calcite-space-sm);height:32px;padding:0 var(--calcite-space-xs);transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.preview-recent-swatch{cursor:pointer}.recent-colors-container:focus,.preview-recent-swatch:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}.empty-swatch{cursor:default}.end-action{display:flex}`;
|
|
18
18
|
class I extends m {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(), this._messages = k(), this.actionEl = w(), this.setRecentColorElement = (e) => (o) => {
|
|
20
|
+
super(), this._messages = k(), this.actionEl = w(), this.open = !1, this.setRecentColorElement = (e) => (o) => {
|
|
21
21
|
switch (e) {
|
|
22
22
|
case 1:
|
|
23
23
|
this.recentColor1El = o;
|
|
@@ -42,6 +42,9 @@ class I extends m {
|
|
|
42
42
|
async setFocus() {
|
|
43
43
|
await this.inlineInputEl?.setFocus();
|
|
44
44
|
}
|
|
45
|
+
isOpen() {
|
|
46
|
+
return this.open;
|
|
47
|
+
}
|
|
45
48
|
load() {
|
|
46
49
|
this.setRecentColorsFromStorage();
|
|
47
50
|
}
|
|
@@ -49,7 +52,7 @@ class I extends m {
|
|
|
49
52
|
super.disconnectedCallback(), this.removeTooltip();
|
|
50
53
|
}
|
|
51
54
|
async handleOpen() {
|
|
52
|
-
await this.colorPickerEl?.setFocus(), this.arcgisPickerOpen.emit(), this.arcgisColorInputPopoverOpen.emit();
|
|
55
|
+
await this.colorPickerEl?.setFocus(), this.open = !0, this.arcgisPickerOpen.emit(), this.arcgisColorInputPopoverOpen.emit();
|
|
53
56
|
}
|
|
54
57
|
setInlineInputRef(e) {
|
|
55
58
|
this.inlineInputEl = e;
|
|
@@ -107,7 +110,7 @@ class I extends m {
|
|
|
107
110
|
$(this.storageId, t), this.recentColors = t, this.arcgisInternalStoredColor.emit();
|
|
108
111
|
}
|
|
109
112
|
handleClose(e) {
|
|
110
|
-
e.stopPropagation(), this.storeRecentColorToStorage(this.colorPickerEl?.value), this.arcgisPickerClose.emit(this.colorPickerEl?.value), this.arcgisColorInputPopoverClose.emit(this.colorPickerEl?.value);
|
|
113
|
+
e.stopPropagation(), this.storeRecentColorToStorage(this.colorPickerEl?.value), this.open = !1, this.arcgisPickerClose.emit(this.colorPickerEl?.value), this.arcgisColorInputPopoverClose.emit(this.colorPickerEl?.value);
|
|
111
114
|
}
|
|
112
115
|
addTooltip(e) {
|
|
113
116
|
this.removeTooltip(), this.tooltipContainerEl = document.createElement("div"), g(s`<calcite-tooltip .placement=${e.placement ?? "auto"} .referenceElement=${e.referenceElement} overlay-positioning=fixed open>${e.innerHTML}</calcite-tooltip>`, this.tooltipContainerEl), document.body.append(this.tooltipContainerEl);
|
|
@@ -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,8 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
144
144
|
noMatchesFound: string;
|
|
145
145
|
noResults: string;
|
|
146
146
|
searchPlaceholder: string;
|
|
147
|
+
searchPlaceholderLong: string;
|
|
148
|
+
custom: string;
|
|
147
149
|
} & T9nMeta<{
|
|
148
150
|
"ARC (equal arc-second)": string;
|
|
149
151
|
Africa: string;
|
|
@@ -279,9 +281,11 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
279
281
|
noMatchesFound: string;
|
|
280
282
|
noResults: string;
|
|
281
283
|
searchPlaceholder: string;
|
|
284
|
+
searchPlaceholderLong: string;
|
|
285
|
+
custom: string;
|
|
282
286
|
}>;
|
|
283
287
|
/**
|
|
284
|
-
* When true the arcgis-
|
|
288
|
+
* When true the arcgis-coordinate-system-picker-tree will be filtered to display the default wkid when the component loads.
|
|
285
289
|
* The default wkid will also be shown in the search element when this value is true.
|
|
286
290
|
* Currently MapViewer Analysis UI has the property set to its default value of false, to avoid auto filtering.
|
|
287
291
|
*
|
|
@@ -303,7 +307,7 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
303
307
|
*/
|
|
304
308
|
accessor filterEnabled: boolean;
|
|
305
309
|
/**
|
|
306
|
-
* Categories to hide from the
|
|
310
|
+
* Categories to hide from the coordinate-system-picker.
|
|
307
311
|
* The three top-level categories are "Projected Coordinate Systems", "Geographic Coordinate Systems", and "Vertical Coordinate Systems".
|
|
308
312
|
* 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
313
|
*
|
|
@@ -322,6 +326,6 @@ export abstract class ArcgisSpatialReferencePicker extends LitElement {
|
|
|
322
326
|
/** Emitted when the spatial reference selection changes */
|
|
323
327
|
readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, { latestWkid?: number; } | undefined>;
|
|
324
328
|
readonly "@eventTypes": {
|
|
325
|
-
arcgisChange:
|
|
329
|
+
arcgisChange: ArcgisCoordinateSystemPicker["arcgisChange"]["detail"];
|
|
326
330
|
};
|
|
327
331
|
}
|
|
@@ -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
|
};
|
|
@@ -59,6 +59,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
|
|
|
59
59
|
phoneNumber: string;
|
|
60
60
|
emailAddress: string;
|
|
61
61
|
dateAndTime: string;
|
|
62
|
+
url: string;
|
|
62
63
|
};
|
|
63
64
|
statistics: {
|
|
64
65
|
numberOfValues: string;
|
|
@@ -140,6 +141,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
|
|
|
140
141
|
phoneNumber: string;
|
|
141
142
|
emailAddress: string;
|
|
142
143
|
dateAndTime: string;
|
|
144
|
+
url: string;
|
|
143
145
|
};
|
|
144
146
|
statistics: {
|
|
145
147
|
numberOfValues: string;
|