@arcgis/portal-components 5.0.0-next.7 → 5.0.0-next.71
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/6TEM6NBL.js +4 -0
- package/dist/cdn/{F2HMYRED.js → 6ZTGJPX4.js} +2 -2
- package/dist/cdn/BFG6MAFJ.js +4 -0
- package/dist/cdn/C7NJPWCR.js +6 -0
- package/dist/cdn/JJLJPD6Q.js +4 -0
- package/dist/cdn/POC3NSGN.js +4 -0
- package/dist/cdn/{4X4VWACS.js → PPQVJP5G.js} +2 -2
- package/dist/cdn/WEFZ36A7.js +4 -0
- package/dist/cdn/{RH6NVIKF.js → WPZIQ6OT.js} +1 -1
- package/dist/cdn/{RMIU6MAC.js → XO4DFVK2.js} +2 -2
- package/dist/cdn/{CDOL3LRI.js → XWM7IAEM.js} +2 -2
- package/dist/cdn/{ZZZAD3O3.js → ZB2C27EY.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/fieldAddDelete.js +164 -151
- package/dist/chunks/loadClassificationData.js +1 -1
- package/dist/chunks/requests.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
- package/dist/components/arcgis-portal-field-delete/customElement.d.ts +4 -2
- package/dist/components/arcgis-portal-field-delete/customElement.js +28 -28
- package/dist/docs/api.json +30 -32
- package/dist/docs/docs.json +17 -3
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +12 -2
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +6 -5
- package/dist/types/preact.d.ts +6 -5
- package/dist/types/preact10.d.ts +6 -5
- package/dist/types/react.d.ts +6 -5
- package/dist/types/stencil.d.ts +6 -5
- package/dist/utils/commonFunctions.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/37WIJJQG.js +0 -4
- package/dist/cdn/KXIDXO3H.js +0 -4
- package/dist/cdn/NEZKWGOC.js +0 -6
- package/dist/cdn/QBHTJNIH.js +0 -4
- package/dist/cdn/SJE4LLXX.js +0 -4
- package/dist/cdn/ZIDCFDGA.js +0 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as p, css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { createRef as
|
|
5
|
-
import { Task as
|
|
2
|
+
import { html as p, css as M } from "lit";
|
|
3
|
+
import { LitElement as O, createEvent as v, renderElement as T } from "@arcgis/lumina";
|
|
4
|
+
import { createRef as I, ref as N } from "lit/directives/ref.js";
|
|
5
|
+
import { Task as P } from "@lit/task";
|
|
6
6
|
import * as x from "@arcgis/core/core/lang.js";
|
|
7
7
|
import L from "@arcgis/core/layers/support/FeatureTemplate.js";
|
|
8
8
|
import S from "@arcgis/core/Graphic.js";
|
|
9
|
-
import
|
|
9
|
+
import B from "@arcgis/core/identity/IdentityManager.js";
|
|
10
10
|
import y from "@arcgis/core/request.js";
|
|
11
|
-
import { a as
|
|
12
|
-
import { u as
|
|
11
|
+
import { a as j, g as U, b as q, d as R, s as J, e as D, f as z, i as w } from "../../chunks/fieldAddDelete.js";
|
|
12
|
+
import { u as W } from "../../chunks/useT9n.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
15
|
-
v5.0.0-next.
|
|
15
|
+
v5.0.0-next.71 */
|
|
16
16
|
const n = /* @__PURE__ */ new Map();
|
|
17
17
|
n.set("oid", "key");
|
|
18
18
|
n.set("guid", "key");
|
|
@@ -30,23 +30,23 @@ n.set("date-only", "calendar");
|
|
|
30
30
|
n.set("time-only", "clock");
|
|
31
31
|
n.set("timestamp-offset", "time-zone");
|
|
32
32
|
n.set("string", "string");
|
|
33
|
-
const
|
|
34
|
-
class
|
|
33
|
+
const _ = ({ fieldType: $ }) => p`<calcite-icon scale=s .icon=${n.get($)}></calcite-icon>`, V = M`.dialog{--calcite-dialog-max-size-y: 60%}.dialog-content-wrapper{position:relative;min-height:100px}.hide-overflow{overflow:hidden}.field-icons{padding:0 var(--calcite-spacing-lg);display:flex;align-items:center}.warning{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);margin-bottom:var(--calcite-spacing-md)}.warning-message{font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold)}.loader-container{position:absolute;height:100%;width:100%;top:0;right:0;display:none;z-index:40;overflow:hidden;background:#fffffff2;padding:0}.active{display:flex;flex-direction:column;align-items:center;justify-content:center}.loader{padding:0}.loader-text{font-weight:var(--calcite-font-weight-medium);text-align:center;margin-right:6.25rem;margin-left:6.25rem}`;
|
|
34
|
+
class G extends O {
|
|
35
35
|
constructor() {
|
|
36
|
-
super(...arguments), this.arcadeExpMap = /* @__PURE__ */ new Map(), this.cancelNode =
|
|
36
|
+
super(...arguments), this.arcadeExpMap = /* @__PURE__ */ new Map(), this.cancelNode = I(), this.dialogNode = I(), this.layerFields = [], this.layerFieldsMap = /* @__PURE__ */ new Map(), this.messages = W({ blocking: !0 }), this.deleteInProgress = !1, this.fieldsAreDeletable = !1, this._propWatcherTask = new P(this, {
|
|
37
37
|
task: async ([e, t]) => {
|
|
38
|
-
if (!(
|
|
38
|
+
if (!(w(e) && w(t)))
|
|
39
39
|
throw console.error("Required properties are missing."), new Error();
|
|
40
40
|
this._propWatcherTask.autoRun = !1, await this.processProps();
|
|
41
41
|
},
|
|
42
42
|
args: () => [this.layer, this.fieldNames]
|
|
43
|
-
}), this.
|
|
43
|
+
}), this.arcgisBeforeModalClose = v(), this.arcgisClose = v(), this.arcgisBeforeDelete = v(), this.arcgisFieldsDeleted = v();
|
|
44
44
|
}
|
|
45
45
|
static {
|
|
46
|
-
this.properties = {
|
|
46
|
+
this.properties = { config: 0, fieldNames: 0, layer: 0, mapView: 0, options: 0 };
|
|
47
47
|
}
|
|
48
48
|
static {
|
|
49
|
-
this.styles =
|
|
49
|
+
this.styles = V;
|
|
50
50
|
}
|
|
51
51
|
async processProps() {
|
|
52
52
|
const { layer: e, mapView: t, fieldNames: s } = this;
|
|
@@ -59,7 +59,7 @@ class V extends M {
|
|
|
59
59
|
if (!this.layerFields?.length || a)
|
|
60
60
|
this.fieldsAreDeletable = !1;
|
|
61
61
|
else {
|
|
62
|
-
const o = await Promise.all(this.layerFields.map(async (r) => await
|
|
62
|
+
const o = await Promise.all(this.layerFields.map(async (r) => await j(t, e, r, this.options)));
|
|
63
63
|
if (this.fieldsAreDeletable = o.every((r) => r), !this.fieldsAreDeletable)
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
@@ -67,7 +67,7 @@ class V extends M {
|
|
|
67
67
|
this.fieldsAreDeletable = !1;
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
await
|
|
70
|
+
await B.getCredential(this.item.url.replace("rest/services", "rest/admin/services"));
|
|
71
71
|
}
|
|
72
72
|
getFieldLabel(e) {
|
|
73
73
|
const { layer: t, arcadeExpMap: s } = this;
|
|
@@ -75,12 +75,12 @@ class V extends M {
|
|
|
75
75
|
return this.getFieldDisplayNameFromLayerFields(e);
|
|
76
76
|
{
|
|
77
77
|
const o = (t.popupTemplate ?? t.createPopupTemplate()).fieldInfos?.find((r) => r.fieldName === e);
|
|
78
|
-
return o ? R(o, s) : this.getFieldDisplayNameFromLayerFields(e);
|
|
78
|
+
return o ? R(t, o, s) : this.getFieldDisplayNameFromLayerFields(e);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
getFieldDisplayNameFromLayerFields(e) {
|
|
82
|
-
const t = this.layerFieldsMap.get(e);
|
|
83
|
-
return t.alias ??
|
|
82
|
+
const { layer: t } = this, s = this.layerFieldsMap.get(e);
|
|
83
|
+
return J(t) ? t.getFieldAlias(e) : s.alias ?? s.name;
|
|
84
84
|
}
|
|
85
85
|
async deleteFields() {
|
|
86
86
|
const { layer: e, fieldNames: t } = this, s = `${e.url.replace("/rest/services", "/rest/admin/services")}/${e.layerId}/deleteFromDefinition`, a = {
|
|
@@ -161,7 +161,7 @@ class V extends M {
|
|
|
161
161
|
responseType: "json"
|
|
162
162
|
}).then(async (h) => {
|
|
163
163
|
if (h.data?.success) {
|
|
164
|
-
const u = `${
|
|
164
|
+
const u = `${D(this.portal)}content/items/${this.item.id}/data`;
|
|
165
165
|
if (this.options?.ignorePopupTemplate || s.forEach((i) => {
|
|
166
166
|
t.popupTemplate?.fieldInfos && (t.popupTemplate.fieldInfos = t.popupTemplate.fieldInfos.filter((l) => l.fieldName !== i)), t.popupTemplate?.content?.forEach((l, d) => {
|
|
167
167
|
l.type === "fields" && l.fieldInfos && ((t.popupTemplate?.content)[d].fieldInfos = (t.popupTemplate?.content)[d].fieldInfos?.filter((m) => m.fieldName !== i));
|
|
@@ -185,11 +185,11 @@ class V extends M {
|
|
|
185
185
|
c?.attributeTableInfo?.attributeTableElements && (c.attributeTableInfo.attributeTableElements = c.attributeTableInfo.attributeTableElements.filter((f) => !(f.type === "field" && f.fieldName === g)), c.attributeTableInfo.orderByFields = c.attributeTableInfo.orderByFields.filter((f) => f.field !== g));
|
|
186
186
|
}), c?.layerDefinition?.fieldConfigurations && (c.layerDefinition.fieldConfigurations = c.layerDefinition.fieldConfigurations.filter((g) => !s.includes(g.name))), c?.popupInfo) {
|
|
187
187
|
s.forEach((b) => {
|
|
188
|
-
c.popupInfo.fieldInfos = c.popupInfo.fieldInfos.filter((
|
|
189
|
-
|
|
188
|
+
c.popupInfo.fieldInfos = c.popupInfo.fieldInfos.filter((F) => F.fieldName !== b), c.popupInfo.popupElements?.forEach((F, E) => {
|
|
189
|
+
F.type === "fields" && F.fieldInfos && (c.popupInfo.popupElements[E].fieldInfos = c.popupInfo.popupElements[E].fieldInfos.filter((C) => C.fieldName !== b));
|
|
190
190
|
});
|
|
191
191
|
});
|
|
192
|
-
const g = `${
|
|
192
|
+
const g = `${D(this.portal)}content/users/${this.item.owner}/items/${this.item.id}/update`, f = {};
|
|
193
193
|
d ? (f.tables = m, l.layers && (f.layers = l.layers)) : (f.layers = m, l.tables && (f.tables = l.tables));
|
|
194
194
|
const A = {
|
|
195
195
|
f: "json",
|
|
@@ -247,7 +247,7 @@ class V extends M {
|
|
|
247
247
|
const { fieldNames: e, layerFields: t, layerFieldsMap: s, arcadeExpMap: a, messages: o } = this;
|
|
248
248
|
return p`<calcite-list .label=${o.fields}>${e.map((r) => {
|
|
249
249
|
const h = t.find((u) => u.name === r);
|
|
250
|
-
return p`<calcite-list-item .label=${this.getFieldLabel(r)} .description=${`{${r}}`} .value=${r} .disabled=${!h.editable}><div slot=actions-end class="field-icons">${
|
|
250
|
+
return p`<calcite-list-item .label=${this.getFieldLabel(r)} .description=${`{${r}}`} .value=${r} .disabled=${!h.editable}><div slot=actions-end class="field-icons">${_({ fieldType: z(r, s, a) })}</div></calcite-list-item>`;
|
|
251
251
|
})}</calcite-list>`;
|
|
252
252
|
}
|
|
253
253
|
renderCancelButton() {
|
|
@@ -258,11 +258,11 @@ class V extends M {
|
|
|
258
258
|
const { messages: e, fieldNames: t } = this;
|
|
259
259
|
return p`<calcite-button kind=danger slot=footer-end @click=${async (s) => {
|
|
260
260
|
const { portal: a } = this;
|
|
261
|
-
s.currentTarget.disabled = !0, this.cancelNode.value.disabled = !0, this.dialogNode.value.closeDisabled = !0, a.sourceJSON?.isReadOnly ? this.handleError(!0) : (this.deleteInProgress = !0, await this.deleteFields());
|
|
261
|
+
s.currentTarget.disabled = !0, this.cancelNode.value.disabled = !0, this.dialogNode.value.closeDisabled = !0, a.sourceJSON?.isReadOnly ? this.handleError(!0) : (this.deleteInProgress = !0, this.requestUpdate(), this.arcgisBeforeDelete.emit(), await this.deleteFields());
|
|
262
262
|
}}>${t.length === 1 ? e.deleteField : e.deleteFieldsWithNumber.replace("${number}", `${t.length}`)}</calcite-button>`;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
k("arcgis-portal-field-delete",
|
|
265
|
+
k("arcgis-portal-field-delete", G);
|
|
266
266
|
export {
|
|
267
|
-
|
|
267
|
+
G as ArcgisPortalFieldDelete
|
|
268
268
|
};
|
package/dist/docs/api.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-11-28T04:36:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
6
|
-
"typescriptVersion": "5.
|
|
5
|
+
"version": "5.0.0-next.71",
|
|
6
|
+
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
|
-
"schemaVersion": "1.0
|
|
8
|
+
"schemaVersion": "2.1.0",
|
|
9
9
|
"modules": [
|
|
10
10
|
{
|
|
11
11
|
"kind": "javascript-module",
|
|
12
|
-
"path": "
|
|
12
|
+
"path": "components/arcgis-portal-classification-banner",
|
|
13
|
+
"sourcePath": "src/components/portal-classification-banner/portal-classification-banner.tsx",
|
|
13
14
|
"declarations": [
|
|
14
15
|
{
|
|
15
16
|
"kind": "class",
|
|
@@ -48,7 +49,6 @@
|
|
|
48
49
|
},
|
|
49
50
|
"description": "Create a promise that resolves once component is fully loaded.",
|
|
50
51
|
"signature": "(): Promise<void>",
|
|
51
|
-
"async": true,
|
|
52
52
|
"inheritedFrom": {
|
|
53
53
|
"name": "LitElement",
|
|
54
54
|
"package": "@arcgis/lumina"
|
|
@@ -78,8 +78,7 @@
|
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
"signature": "(): Promise<void>"
|
|
82
|
-
"async": true
|
|
81
|
+
"signature": "(): Promise<void>"
|
|
83
82
|
},
|
|
84
83
|
{
|
|
85
84
|
"kind": "field",
|
|
@@ -206,15 +205,15 @@
|
|
|
206
205
|
"kind": "custom-element-definition",
|
|
207
206
|
"name": "arcgis-portal-classification-banner",
|
|
208
207
|
"declaration": {
|
|
209
|
-
"name": "ArcgisPortalClassificationBanner"
|
|
210
|
-
"module": "src/components/portal-classification-banner/portal-classification-banner.tsx"
|
|
208
|
+
"name": "ArcgisPortalClassificationBanner"
|
|
211
209
|
}
|
|
212
210
|
}
|
|
213
211
|
]
|
|
214
212
|
},
|
|
215
213
|
{
|
|
216
214
|
"kind": "javascript-module",
|
|
217
|
-
"path": "
|
|
215
|
+
"path": "components/arcgis-portal-classification-config",
|
|
216
|
+
"sourcePath": "src/components/portal-classification-config/portal-classification-config.tsx",
|
|
218
217
|
"declarations": [
|
|
219
218
|
{
|
|
220
219
|
"kind": "class",
|
|
@@ -253,7 +252,6 @@
|
|
|
253
252
|
},
|
|
254
253
|
"description": "Create a promise that resolves once component is fully loaded.",
|
|
255
254
|
"signature": "(): Promise<void>",
|
|
256
|
-
"async": true,
|
|
257
255
|
"inheritedFrom": {
|
|
258
256
|
"name": "LitElement",
|
|
259
257
|
"package": "@arcgis/lumina"
|
|
@@ -283,8 +281,7 @@
|
|
|
283
281
|
]
|
|
284
282
|
}
|
|
285
283
|
},
|
|
286
|
-
"signature": "(): Promise<void>"
|
|
287
|
-
"async": true
|
|
284
|
+
"signature": "(): Promise<void>"
|
|
288
285
|
},
|
|
289
286
|
{
|
|
290
287
|
"kind": "field",
|
|
@@ -335,8 +332,7 @@
|
|
|
335
332
|
]
|
|
336
333
|
}
|
|
337
334
|
},
|
|
338
|
-
"signature": "(): Promise<void>"
|
|
339
|
-
"async": true
|
|
335
|
+
"signature": "(): Promise<void>"
|
|
340
336
|
},
|
|
341
337
|
{
|
|
342
338
|
"kind": "field",
|
|
@@ -402,8 +398,7 @@
|
|
|
402
398
|
]
|
|
403
399
|
}
|
|
404
400
|
},
|
|
405
|
-
"signature": "(): Promise<void>"
|
|
406
|
-
"async": true
|
|
401
|
+
"signature": "(): Promise<void>"
|
|
407
402
|
},
|
|
408
403
|
{
|
|
409
404
|
"kind": "field",
|
|
@@ -482,15 +477,15 @@
|
|
|
482
477
|
"kind": "custom-element-definition",
|
|
483
478
|
"name": "arcgis-portal-classification-config",
|
|
484
479
|
"declaration": {
|
|
485
|
-
"name": "ArcgisPortalClassificationConfig"
|
|
486
|
-
"module": "src/components/portal-classification-config/portal-classification-config.tsx"
|
|
480
|
+
"name": "ArcgisPortalClassificationConfig"
|
|
487
481
|
}
|
|
488
482
|
}
|
|
489
483
|
]
|
|
490
484
|
},
|
|
491
485
|
{
|
|
492
486
|
"kind": "javascript-module",
|
|
493
|
-
"path": "
|
|
487
|
+
"path": "components/arcgis-portal-classification-favorite",
|
|
488
|
+
"sourcePath": "src/components/portal-classification-favorite/portal-classification-favorite.tsx",
|
|
494
489
|
"declarations": [
|
|
495
490
|
{
|
|
496
491
|
"kind": "class",
|
|
@@ -538,7 +533,6 @@
|
|
|
538
533
|
},
|
|
539
534
|
"description": "Create a promise that resolves once component is fully loaded.",
|
|
540
535
|
"signature": "(): Promise<void>",
|
|
541
|
-
"async": true,
|
|
542
536
|
"inheritedFrom": {
|
|
543
537
|
"name": "LitElement",
|
|
544
538
|
"package": "@arcgis/lumina"
|
|
@@ -665,15 +659,15 @@
|
|
|
665
659
|
"kind": "custom-element-definition",
|
|
666
660
|
"name": "arcgis-portal-classification-favorite",
|
|
667
661
|
"declaration": {
|
|
668
|
-
"name": "ArcgisPortalClassificationFavorite"
|
|
669
|
-
"module": "src/components/portal-classification-favorite/portal-classification-favorite.tsx"
|
|
662
|
+
"name": "ArcgisPortalClassificationFavorite"
|
|
670
663
|
}
|
|
671
664
|
}
|
|
672
665
|
]
|
|
673
666
|
},
|
|
674
667
|
{
|
|
675
668
|
"kind": "javascript-module",
|
|
676
|
-
"path": "
|
|
669
|
+
"path": "components/arcgis-portal-classification-form-element",
|
|
670
|
+
"sourcePath": "src/components/portal-classification-form-element/portal-classification-form-element.tsx",
|
|
677
671
|
"declarations": [
|
|
678
672
|
{
|
|
679
673
|
"kind": "class",
|
|
@@ -901,7 +895,6 @@
|
|
|
901
895
|
},
|
|
902
896
|
"description": "Create a promise that resolves once component is fully loaded.",
|
|
903
897
|
"signature": "(): Promise<void>",
|
|
904
|
-
"async": true,
|
|
905
898
|
"inheritedFrom": {
|
|
906
899
|
"name": "LitElement",
|
|
907
900
|
"package": "@arcgis/lumina"
|
|
@@ -974,15 +967,15 @@
|
|
|
974
967
|
"kind": "custom-element-definition",
|
|
975
968
|
"name": "arcgis-portal-classification-form-element",
|
|
976
969
|
"declaration": {
|
|
977
|
-
"name": "ArcgisPortalClassificationFormElement"
|
|
978
|
-
"module": "src/components/portal-classification-form-element/portal-classification-form-element.tsx"
|
|
970
|
+
"name": "ArcgisPortalClassificationFormElement"
|
|
979
971
|
}
|
|
980
972
|
}
|
|
981
973
|
]
|
|
982
974
|
},
|
|
983
975
|
{
|
|
984
976
|
"kind": "javascript-module",
|
|
985
|
-
"path": "
|
|
977
|
+
"path": "components/arcgis-portal-field-delete",
|
|
978
|
+
"sourcePath": "src/components/portal-field-delete/portal-field-delete.tsx",
|
|
986
979
|
"declarations": [
|
|
987
980
|
{
|
|
988
981
|
"kind": "class",
|
|
@@ -1015,7 +1008,6 @@
|
|
|
1015
1008
|
},
|
|
1016
1009
|
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1017
1010
|
"signature": "(): Promise<void>",
|
|
1018
|
-
"async": true,
|
|
1019
1011
|
"inheritedFrom": {
|
|
1020
1012
|
"name": "LitElement",
|
|
1021
1013
|
"package": "@arcgis/lumina"
|
|
@@ -1130,6 +1122,13 @@
|
|
|
1130
1122
|
}
|
|
1131
1123
|
],
|
|
1132
1124
|
"events": [
|
|
1125
|
+
{
|
|
1126
|
+
"name": "arcgisBeforeDelete",
|
|
1127
|
+
"description": "Emitted when the user initiates the delete process.",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "void"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1133
1132
|
{
|
|
1134
1133
|
"name": "arcgisBeforeModalClose",
|
|
1135
1134
|
"description": "Emitted before the modal is closed if the alert is handled in consumer.",
|
|
@@ -1164,8 +1163,7 @@
|
|
|
1164
1163
|
"kind": "custom-element-definition",
|
|
1165
1164
|
"name": "arcgis-portal-field-delete",
|
|
1166
1165
|
"declaration": {
|
|
1167
|
-
"name": "ArcgisPortalFieldDelete"
|
|
1168
|
-
"module": "src/components/portal-field-delete/portal-field-delete.tsx"
|
|
1166
|
+
"name": "ArcgisPortalFieldDelete"
|
|
1169
1167
|
}
|
|
1170
1168
|
}
|
|
1171
1169
|
]
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-11-28T04:36:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
6
|
-
"typescriptVersion": "5.
|
|
5
|
+
"version": "5.0.0-next.71",
|
|
6
|
+
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
9
9
|
{
|
|
@@ -1023,6 +1023,20 @@
|
|
|
1023
1023
|
}
|
|
1024
1024
|
],
|
|
1025
1025
|
"events": [
|
|
1026
|
+
{
|
|
1027
|
+
"event": "arcgisBeforeDelete",
|
|
1028
|
+
"detail": "void",
|
|
1029
|
+
"bubbles": true,
|
|
1030
|
+
"complexType": {
|
|
1031
|
+
"original": "void",
|
|
1032
|
+
"resolved": "void",
|
|
1033
|
+
"references": {}
|
|
1034
|
+
},
|
|
1035
|
+
"cancelable": true,
|
|
1036
|
+
"composed": true,
|
|
1037
|
+
"docs": "Emitted when the user initiates the delete process.",
|
|
1038
|
+
"docsTags": []
|
|
1039
|
+
},
|
|
1026
1040
|
{
|
|
1027
1041
|
"event": "arcgisBeforeModalClose",
|
|
1028
1042
|
"detail": "string",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"name": "arcgis-portal-field-delete",
|
|
93
|
-
"description": "### Events\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
93
|
+
"description": "### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
94
94
|
"attributes": [],
|
|
95
95
|
"references": []
|
|
96
96
|
}
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/portal-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.71",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -237,9 +237,14 @@
|
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
"name": "arcgis-portal-field-delete",
|
|
240
|
-
"description": "### Events\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
240
|
+
"description": "### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
241
241
|
"attributes": [],
|
|
242
242
|
"events": [
|
|
243
|
+
{
|
|
244
|
+
"name": "arcgisBeforeDelete",
|
|
245
|
+
"type": "void",
|
|
246
|
+
"description": "Emitted when the user initiates the delete process."
|
|
247
|
+
},
|
|
243
248
|
{
|
|
244
249
|
"name": "arcgisBeforeModalClose",
|
|
245
250
|
"type": "string",
|
|
@@ -285,6 +290,11 @@
|
|
|
285
290
|
}
|
|
286
291
|
],
|
|
287
292
|
"events": [
|
|
293
|
+
{
|
|
294
|
+
"name": "arcgisBeforeDelete",
|
|
295
|
+
"type": "void",
|
|
296
|
+
"description": "Emitted when the user initiates the delete process."
|
|
297
|
+
},
|
|
288
298
|
{
|
|
289
299
|
"name": "arcgisBeforeModalClose",
|
|
290
300
|
"type": "string",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ArcgisPortalClassificationBanner } from "./components/arcgis-portal-classification-banner";
|
|
2
|
-
import type { ArcgisPortalClassificationConfig } from "./components/arcgis-portal-classification-config";
|
|
3
|
-
import type { ArcgisPortalClassificationFavorite } from "./components/arcgis-portal-classification-favorite";
|
|
4
|
-
import type { ArcgisPortalClassificationFormElement } from "./components/arcgis-portal-classification-form-element";
|
|
5
|
-
import type { ArcgisPortalFieldDelete } from "./components/arcgis-portal-field-delete";
|
|
1
|
+
import type { ArcgisPortalClassificationBanner } from "./components/arcgis-portal-classification-banner/index.js";
|
|
2
|
+
import type { ArcgisPortalClassificationConfig } from "./components/arcgis-portal-classification-config/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationFavorite } from "./components/arcgis-portal-classification-favorite/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFormElement } from "./components/arcgis-portal-classification-form-element/index.js";
|
|
5
|
+
import type { ArcgisPortalFieldDelete } from "./components/arcgis-portal-field-delete/index.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Place in this file any utility functions you wish to expose for the consumers
|
|
@@ -71,6 +71,7 @@ declare global {
|
|
|
71
71
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
72
72
|
}
|
|
73
73
|
interface HTMLArcgisPortalFieldDeleteElementEventMap {
|
|
74
|
+
"arcgisBeforeDelete": ArcgisPortalFieldDelete["arcgisBeforeDelete"]["detail"];
|
|
74
75
|
"arcgisBeforeModalClose": ArcgisPortalFieldDelete["arcgisBeforeModalClose"]["detail"];
|
|
75
76
|
"arcgisClose": ArcgisPortalFieldDelete["arcgisClose"]["detail"];
|
|
76
77
|
"arcgisFieldsDeleted": ArcgisPortalFieldDelete["arcgisFieldsDeleted"]["detail"];
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { g as a, s as t } from "./chunks/runtime.js";
|
|
|
2
2
|
import { c as o, a as r } from "./chunks/fieldAddDelete.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.71 */
|
|
6
6
|
export {
|
|
7
7
|
o as canAddField,
|
|
8
8
|
r as canDeleteField,
|
package/dist/loader.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./index";
|
|
1
|
+
import "./index.js";
|
|
2
2
|
export declare const defineCustomElements: import("@arcgis/lumina").DefineCustomElements;
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as i } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.71 */
|
|
6
6
|
const s = t(i, {
|
|
7
7
|
"arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
|
|
8
8
|
"arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./stencil";
|
|
1
|
+
export * from "./stencil.js";
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete";
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/index.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/index.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/index.js";
|
|
7
7
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
8
8
|
|
|
9
9
|
interface LuminaArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, 'missingExistingClassification' | 'portalItem' | 'validationErrors' | 'variant'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationBannerElement> {
|
|
@@ -21,6 +21,7 @@ interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
interface LuminaArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
24
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
24
25
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
25
26
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
26
27
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete";
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/index.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/index.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/index.js";
|
|
7
7
|
import { HTMLAttributes } from "preact";
|
|
8
8
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
9
|
|
|
@@ -22,6 +22,7 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
25
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
25
26
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
26
27
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
27
28
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
package/dist/types/preact10.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete";
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/index.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/index.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/index.js";
|
|
7
7
|
import { JSX as PreactJsx } from "preact";
|
|
8
8
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
9
|
|
|
@@ -27,6 +27,7 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
27
27
|
|
|
28
28
|
/** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
|
|
29
29
|
interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, PreactJsx.HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
30
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
30
31
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
31
32
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
32
33
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete";
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/index.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/index.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/index.js";
|
|
7
7
|
import type { HTMLProps } from 'react';
|
|
8
8
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
9
|
|
|
@@ -22,6 +22,7 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
interface ReactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLProps<HTMLArcgisPortalFieldDeleteElement> {
|
|
25
|
+
onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
25
26
|
onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
26
27
|
onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
27
28
|
onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
|
-
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner";
|
|
3
|
-
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config";
|
|
4
|
-
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite";
|
|
5
|
-
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element";
|
|
6
|
-
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete";
|
|
2
|
+
import type { ArcgisPortalClassificationBanner } from "../components/arcgis-portal-classification-banner/index.js";
|
|
3
|
+
import type { ArcgisPortalClassificationConfig } from "../components/arcgis-portal-classification-config/index.js";
|
|
4
|
+
import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-portal-classification-favorite/index.js";
|
|
5
|
+
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/index.js";
|
|
6
|
+
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/index.js";
|
|
7
7
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
8
8
|
import type { EventHandler } from "@arcgis/lumina";
|
|
9
9
|
|
|
@@ -22,6 +22,7 @@ interface StencilArcgisPortalClassificationFormElement extends Partial<Pick<Arcg
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
interface StencilArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, StencilJsx.HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
|
|
25
|
+
onArcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
25
26
|
onArcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
26
27
|
onArcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
27
28
|
onArcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
export declare function supportsFieldConfigurations(layer: any): boolean;
|
|
2
3
|
/**
|
|
3
4
|
* Returns true if the value is defined
|
|
4
5
|
* @param value - value to check
|
|
5
6
|
*/
|
|
6
7
|
export declare function isDefined<T>(value?: T | null): value is T;
|
|
7
|
-
export declare function getFieldDisplayName(field: __esri.FieldInfo, arcadeMap: Map<string, __esri.ExpressionInfo>): string;
|
|
8
|
+
export declare function getFieldDisplayName(layer: any, field: __esri.FieldInfo, arcadeMap: Map<string, __esri.ExpressionInfo>): string;
|
|
8
9
|
export declare function getFieldType(fieldName: string, layerFieldsMap: Map<string, __esri.Field>, arcadeExpMap: Map<string, __esri.ExpressionInfo>): string;
|
|
9
10
|
export declare function generateLayerFieldsMap(layer: any): Promise<Map<string, __esri.Field>>;
|
|
10
11
|
export declare function generateArcadeExpressionMap(popupTemplate: __esri.PopupTemplate): Map<string, __esri.ExpressionInfo>;
|