@arcgis/common-components 5.1.0-next.112 → 5.1.0-next.113
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/AETG56T6.js +2 -0
- package/dist/cdn/JBG3NW22.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/components/arcgis-coordinate-system-picker/customElement.js +7635 -43
- package/dist/components/arcgis-field-info/customElement.js +27 -27
- package/dist/components/arcgis-field-info/utils/basic.d.ts +18 -4
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +18 -4
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +15 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -20
- package/dist/loader.js +0 -2
- package/dist/types/lumina.d.ts +0 -12
- package/dist/types/preact.d.ts +0 -14
- package/dist/types/react.d.ts +0 -16
- package/dist/types/stencil.d.ts +0 -12
- package/package.json +3 -3
- package/dist/cdn/3LK46I3I.js +0 -2
- package/dist/cdn/53RIFE4K.js +0 -2
- package/dist/cdn/J7JP7Q3W.js +0 -2
- package/dist/cdn/KI62NSDM.js +0 -2
- package/dist/cdn/VTD2EUL6.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.en-US.json +0 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.en.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/chunks/spatial-references.js +0 -7598
- package/dist/components/arcgis-spatial-reference-picker/customElement.d.ts +0 -327
- package/dist/components/arcgis-spatial-reference-picker/customElement.js +0 -110
- package/dist/components/arcgis-spatial-reference-picker/index.d.ts +0 -1
- package/dist/components/arcgis-spatial-reference-picker/index.js +0 -3
- package/dist/components/arcgis-spatial-reference-picker-tree/customElement.d.ts +0 -35
- package/dist/components/arcgis-spatial-reference-picker-tree/customElement.js +0 -77
- package/dist/components/arcgis-spatial-reference-picker-tree/index.d.ts +0 -1
- package/dist/components/arcgis-spatial-reference-picker-tree/index.js +0 -3
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { c as G } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as U, html as c } from "lit";
|
|
4
4
|
import { keyed as b } from "lit/directives/keyed.js";
|
|
5
|
-
import { ref as
|
|
6
|
-
import { LitElement as W, createEvent as
|
|
5
|
+
import { ref as O } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as W, createEvent as D, safeClassMap as V } from "@arcgis/lumina";
|
|
7
7
|
import { Task as Q } from "@lit/task";
|
|
8
|
-
import { log as
|
|
8
|
+
import { log as q, composeMissingPropertyMessage as L } from "@arcgis/toolkit/log";
|
|
9
9
|
import H from "@arcgis/core/config.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as x from "@arcgis/core/core/reactiveUtils.js";
|
|
11
11
|
import * as h from "@arcgis/core/intl.js";
|
|
12
|
-
import * as
|
|
12
|
+
import * as E from "@arcgis/core/applications/PortalApp/layerUtils.js";
|
|
13
13
|
import * as I from "@arcgis/core/core/lang.js";
|
|
14
14
|
import J from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
15
|
import j from "@arcgis/core/smartMapping/statistics/uniqueValues.js";
|
|
16
16
|
import { i as f } from "../../chunks/commonFunctions.js";
|
|
17
|
-
import { i as y, a as S, b as $, c as
|
|
17
|
+
import { i as y, a as S, b as $, c as R, d as T, e as A, f as v, g as F, h as Z, j as z, k as B, l as K, m as _, n as X, o as P, p as Y } from "../../chunks/layer-utils.js";
|
|
18
18
|
import ee from "@arcgis/core/rest/support/Query.js";
|
|
19
19
|
import { u as te } from "../../chunks/useT9n.js";
|
|
20
20
|
function ie(a) {
|
|
@@ -29,7 +29,7 @@ const se = {
|
|
|
29
29
|
function re(a) {
|
|
30
30
|
const { layer: e, fieldName: t } = a;
|
|
31
31
|
let i;
|
|
32
|
-
const n =
|
|
32
|
+
const n = E.supportsFieldConfiguration(e);
|
|
33
33
|
let s;
|
|
34
34
|
"popupTemplate" in e && (s = e.popupTemplate);
|
|
35
35
|
const r = s ? s.fieldInfos : [];
|
|
@@ -45,9 +45,9 @@ function re(a) {
|
|
|
45
45
|
}
|
|
46
46
|
function M(a) {
|
|
47
47
|
const { layer: e } = a;
|
|
48
|
-
return y(e) || S(e) || T(e) && e.rasterFields.length ? e.rasterFields :
|
|
48
|
+
return y(e) || S(e) || T(e) && e.rasterFields.length ? e.rasterFields : e.fields;
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
50
|
+
async function k(a) {
|
|
51
51
|
a.statisticsStatus = "in-progress";
|
|
52
52
|
const { layer: e, view: t } = a;
|
|
53
53
|
if (y(e) || S(e) || F(e) || $(e))
|
|
@@ -63,7 +63,7 @@ async function ne(a) {
|
|
|
63
63
|
if (y(e) || S(e) || $(e))
|
|
64
64
|
throw new Error("could not get statistics for ImageryTileLayer/WCSLayer/VoxelLayer");
|
|
65
65
|
if (!n || n.layerField.type === "oid" || n.layerField.type === "guid" || n.layerField.type === "global-id")
|
|
66
|
-
return { totalCount: await
|
|
66
|
+
return { totalCount: await k(a), nullcount: 0 };
|
|
67
67
|
try {
|
|
68
68
|
const s = await J({
|
|
69
69
|
layer: e,
|
|
@@ -77,7 +77,7 @@ async function ne(a) {
|
|
|
77
77
|
if (f(s.nullcount) && !r)
|
|
78
78
|
return { ...s, totalCount: s.count + s.nullcount };
|
|
79
79
|
{
|
|
80
|
-
const m = await
|
|
80
|
+
const m = await k(a);
|
|
81
81
|
return { ...s, totalCount: m };
|
|
82
82
|
}
|
|
83
83
|
} catch {
|
|
@@ -88,7 +88,7 @@ async function oe(a) {
|
|
|
88
88
|
const { layer: e, view: t, fieldName: i } = a;
|
|
89
89
|
if (y(e) || S(e) || $(e))
|
|
90
90
|
throw new Error("could not get unique values for ImageryLayer/ImageryTileLayer/WCSLayer/VoxelLayer");
|
|
91
|
-
|
|
91
|
+
R(e) && (e.outFields = ["*"]);
|
|
92
92
|
try {
|
|
93
93
|
return await j({
|
|
94
94
|
layer: e,
|
|
@@ -174,7 +174,7 @@ async function de(a) {
|
|
|
174
174
|
const { view: e, layer: t } = a;
|
|
175
175
|
if (T(t) || y(t) || S(t))
|
|
176
176
|
throw new Error("could not get feature");
|
|
177
|
-
if (
|
|
177
|
+
if (v(t) && !t.url || Z(t)) {
|
|
178
178
|
const i = t.createQuery();
|
|
179
179
|
i.start = 0, i.num = 5, i.outFields = ["*"];
|
|
180
180
|
const n = await t.queryFeatures(i);
|
|
@@ -192,8 +192,8 @@ async function de(a) {
|
|
|
192
192
|
i = await e.whenLayerView(s);
|
|
193
193
|
} else
|
|
194
194
|
i = await e.whenLayerView(t);
|
|
195
|
-
if (i.availableFields.length === t.fields.length || (F(t) ||
|
|
196
|
-
const s =
|
|
195
|
+
if (i.availableFields.length === t.fields.length || (F(t) || _(t)) && i.availableFields.length > 0) {
|
|
196
|
+
const s = i.createQuery();
|
|
197
197
|
s.start = 0, s.num = 5, s.outFields = ["*"];
|
|
198
198
|
const r = await i.queryFeatures(s);
|
|
199
199
|
return r.features?.length ? r : await C(a);
|
|
@@ -203,7 +203,7 @@ async function de(a) {
|
|
|
203
203
|
}
|
|
204
204
|
async function C(a) {
|
|
205
205
|
const { layer: e } = a;
|
|
206
|
-
if (T(e) || y(e) || F(e) ||
|
|
206
|
+
if (T(e) || y(e) || F(e) || _(e))
|
|
207
207
|
throw new Error("cannot get feature from service");
|
|
208
208
|
const t = new ee({
|
|
209
209
|
where: "1=1",
|
|
@@ -213,11 +213,11 @@ async function C(a) {
|
|
|
213
213
|
return "sourceJSON" in e && e.sourceJSON?.advancedQueryCapabilities?.supportsPagination && (t.num = 1), await e.queryFeatures(t);
|
|
214
214
|
}
|
|
215
215
|
async function ce(a, e) {
|
|
216
|
-
if (
|
|
216
|
+
if (R(a))
|
|
217
217
|
return await me(a);
|
|
218
218
|
if (v(a) || X(a) || P(a) || Z(a) || Y(a))
|
|
219
219
|
return await a.queryFeatureCount();
|
|
220
|
-
if (e && (F(a) ||
|
|
220
|
+
if (e && (F(a) || _(a)))
|
|
221
221
|
return await fe(a, e);
|
|
222
222
|
}
|
|
223
223
|
async function me(a) {
|
|
@@ -237,12 +237,12 @@ class ge extends W {
|
|
|
237
237
|
super(...arguments), this._messages = te({ blocking: !0 }), this._propWatcherTask = new Q(this, {
|
|
238
238
|
task: async ([e, t]) => {
|
|
239
239
|
const i = f(e) && f(t);
|
|
240
|
-
if (f(e) ||
|
|
240
|
+
if (f(e) || q("error", this, L("layer")), f(t) || q("error", this, L("fieldName")), !i)
|
|
241
241
|
throw new Error();
|
|
242
242
|
await this.processProps(), this._propWatcherTask.autoRun = !1;
|
|
243
243
|
},
|
|
244
244
|
args: () => [this.layer, this.fieldName]
|
|
245
|
-
}), this.oneFeatureResponseStatus = "missing", this.statisticsStatus = "missing", this.uniqueValuesStatus = "missing", this.hideAlias = !1, this.hideNumericFormat = !1, this.hideStatistics = !1, this.arcgisComplete =
|
|
245
|
+
}), this.oneFeatureResponseStatus = "missing", this.statisticsStatus = "missing", this.uniqueValuesStatus = "missing", this.hideAlias = !1, this.hideNumericFormat = !1, this.hideStatistics = !1, this.arcgisComplete = D(), this.arcgisFieldInfoComplete = D();
|
|
246
246
|
}
|
|
247
247
|
static {
|
|
248
248
|
this.properties = { oneFeatureResponseStatus: 16, oneFeatureResponse: 16, statisticsStatus: 16, statistics: 16, uniqueValuesStatus: 16, uniqueValues: 16, view: 0, layer: 0, fieldName: 1, hideAlias: 5, hideNumericFormat: 5, hideStatistics: 5 };
|
|
@@ -263,7 +263,7 @@ class ge extends W {
|
|
|
263
263
|
let s;
|
|
264
264
|
if (t.declaredClass === "esri.layers.support.Sublayer") {
|
|
265
265
|
const r = t;
|
|
266
|
-
e && await
|
|
266
|
+
e && await x.whenOnce(() => !e.updating), s = await r.createFeatureLayer(), await s?.load();
|
|
267
267
|
}
|
|
268
268
|
this.props = {
|
|
269
269
|
view: e,
|
|
@@ -324,7 +324,7 @@ class ge extends W {
|
|
|
324
324
|
setUpTimeZoneHandle() {
|
|
325
325
|
this.timeZoneHandle?.remove();
|
|
326
326
|
const { props: e } = this, { view: t, fieldInfo: i } = e;
|
|
327
|
-
["date", "timestamp-offset"].includes(this._getStatisticsType(i)) && (this.timeZoneHandle =
|
|
327
|
+
["date", "timestamp-offset"].includes(this._getStatisticsType(i)) && (this.timeZoneHandle = x.watch(() => t?.timeZone, () => {
|
|
328
328
|
this.requestUpdate();
|
|
329
329
|
}));
|
|
330
330
|
}
|
|
@@ -532,7 +532,7 @@ class ge extends W {
|
|
|
532
532
|
}
|
|
533
533
|
originalLayerSupportsFieldConfigs() {
|
|
534
534
|
const { layer: e } = this;
|
|
535
|
-
return
|
|
535
|
+
return E.supportsFieldConfiguration(e);
|
|
536
536
|
}
|
|
537
537
|
getPopupTemplateFieldInfo() {
|
|
538
538
|
const { props: e } = this, { layer: t, fieldName: i } = e;
|
|
@@ -579,8 +579,8 @@ class ge extends W {
|
|
|
579
579
|
t === "success" ? e.features.forEach((w) => {
|
|
580
580
|
(p === void 0 || p === null && w.attributes[l] !== null) && (p = w.attributes[l]);
|
|
581
581
|
}) : i === "success" ? p = n?.min ?? void 0 : s === "success" && (p = r?.uniqueValueInfos?.[0]?.value ?? r?.uniqueValueInfos?.[1]?.value ?? void 0);
|
|
582
|
-
const
|
|
583
|
-
return f(p) && (
|
|
582
|
+
const N = d.codedValues;
|
|
583
|
+
return f(p) && (N ? p = N.find((w) => p === w.code)?.name || p : p = this._getDisplayString(p, { useFieldFormatting: !0 })), c`<div class="section"><div class="title">${m.fieldSampleValue}</div><div class=${V(t === "failed" && i === "failed" && s === "failed" || !f(p) ? "missing" : "")}>${t === "success" || i === "success" || s === "success" ? p?.toString() ?? g.allNulls : t === "failed" && i === "failed" && s === "failed" ? m.fieldSampleNotAvailable : m.fieldSampleRetrieving}</div></div>`;
|
|
584
584
|
}
|
|
585
585
|
renderFieldNumericFormat() {
|
|
586
586
|
const { _messages: e, props: t, hideNumericFormat: i } = this, { fieldName: n, fieldInfo: s, layer: r } = t;
|
|
@@ -606,11 +606,11 @@ class ge extends W {
|
|
|
606
606
|
}
|
|
607
607
|
renderFieldStatistics() {
|
|
608
608
|
const { statisticsStatus: e, uniqueValuesStatus: t, hideStatistics: i, _messages: n, props: s } = this, { layer: r, fieldInfo: m } = s;
|
|
609
|
-
return i ? (this.arcgisComplete.emit(), this.arcgisFieldInfoComplete.emit(), "") : ["stream", "imagery-tile", "voxel"].includes(r.type) || ["long"].includes(m.layerField.type) ? (this.arcgisComplete.emit(), this.arcgisFieldInfoComplete.emit(), "") : c`<div class="section"><div class="title">${n.fieldStatistics}</div>${!e || e === "missing" || e === "in-progress" ? b("field-info-statistics-content", c`<div class="missing">${n.fieldStatisticsRetrieving}</div>`) : e === "failed" && t !== "success" ? this.renderNoStatistics() : b("field-info-statistics-content", c`<div ${
|
|
609
|
+
return i ? (this.arcgisComplete.emit(), this.arcgisFieldInfoComplete.emit(), "") : ["stream", "imagery-tile", "voxel"].includes(r.type) || ["long"].includes(m.layerField.type) ? (this.arcgisComplete.emit(), this.arcgisFieldInfoComplete.emit(), "") : c`<div class="section"><div class="title">${n.fieldStatistics}</div>${!e || e === "missing" || e === "in-progress" ? b("field-info-statistics-content", c`<div class="missing">${n.fieldStatisticsRetrieving}</div>`) : e === "failed" && t !== "success" ? this.renderNoStatistics() : b("field-info-statistics-content", c`<div ${O(this._setCompleteRef)}>${this.renderStatistics()}</div>`)}</div>`;
|
|
610
610
|
}
|
|
611
611
|
renderNoStatistics() {
|
|
612
612
|
const { _messages: e } = this;
|
|
613
|
-
return b("field-info-statistics-content", c`<div class="missing" ${
|
|
613
|
+
return b("field-info-statistics-content", c`<div class="missing" ${O(this._setCompleteRef)}>${e.fieldStatisticsNotAvailable}</div>`);
|
|
614
614
|
}
|
|
615
615
|
renderStatistics() {
|
|
616
616
|
const { props: e } = this, { fieldInfo: t } = e;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
1
2
|
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
2
3
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
3
|
-
import type
|
|
4
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
5
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
6
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
7
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
8
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
9
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
10
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
11
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
12
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
13
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
14
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
15
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
16
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
17
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
18
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
19
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
4
20
|
|
|
5
21
|
/**
|
|
6
22
|
* All supported layer types
|
|
7
23
|
*
|
|
8
24
|
* @internal
|
|
9
25
|
*/
|
|
10
|
-
export type FieldInfoLayer = Sublayer | SubtypeSublayer |
|
|
11
|
-
|
|
12
|
-
export type FieldInfoLayerTypes = "catalog-footprint" | "catalog" | "csv" | "feature" | "geojson" | "imagery-tile" | "imagery" | "knowledge-graph-sublayer" | "ogc-feature" | "oriented-imagery" | "parquet" | "scene" | "stream" | "subtype-group" | "voxel" | "wcs" | "wfs";
|
|
26
|
+
export type FieldInfoLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
2
1
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
3
2
|
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
3
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
4
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
5
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
6
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
7
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
8
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
9
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
10
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
11
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
12
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
13
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
14
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
15
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
16
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
17
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
18
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
19
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
4
20
|
|
|
5
21
|
/**
|
|
6
22
|
* All supported layer types
|
|
7
23
|
*
|
|
8
24
|
* @internal
|
|
9
25
|
*/
|
|
10
|
-
export type FieldPickListLayer = Sublayer | SubtypeSublayer |
|
|
11
|
-
|
|
12
|
-
export type FieldPickListLayerTypes = "catalog-footprint" | "catalog" | "csv" | "feature" | "geojson" | "imagery-tile" | "imagery" | "knowledge-graph-sublayer" | "ogc-feature" | "oriented-imagery" | "parquet" | "scene" | "stream" | "subtype-group" | "voxel" | "wcs" | "wfs";
|
|
26
|
+
export type FieldPickListLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
2
|
-
import type
|
|
2
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
3
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
4
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
5
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
6
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
7
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
8
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
9
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
10
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
11
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
12
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
13
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
14
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
15
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
3
16
|
|
|
4
17
|
/**
|
|
5
18
|
* All supported layer types
|
|
6
19
|
*
|
|
7
20
|
* @internal
|
|
8
21
|
*/
|
|
9
|
-
export type SupportedLayer =
|
|
10
|
-
|
|
11
|
-
export type SupportedLayerTypes = "catalog-footprint" | "catalog" | "csv" | "feature" | "geojson" | "imagery" | "knowledge-graph-sublayer" | "ogc-feature" | "oriented-imagery" | "parquet" | "scene" | "stream" | "subtype-group" | "wfs";
|
|
22
|
+
export type SupportedLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | SubtypeGroupLayer | SubtypeSublayer | WFSLayer;
|