@arcgis/common-components 6.0.0-next.19 → 6.0.0-next.20
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/DPWHB7KO.js +2 -0
- package/dist/cdn/EC4D5ASN.js +2 -0
- package/dist/cdn/GHI6WOGS.js +2 -0
- package/dist/cdn/{JU6VZYRH.js → PMXKCVOF.js} +1 -1
- package/dist/cdn/{F7SQH3EJ.js → SISTGQAE.js} +1 -1
- package/dist/cdn/{Z65OX26N.js → U4Z5MFI5.js} +1 -1
- package/dist/cdn/{UVTQ7C6W.js → WF4C6JB4.js} +1 -1
- package/dist/cdn/assets/layer-replace/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/toolbar.js +1 -1
- package/dist/components/arcgis-layer-replace/customElement.d.ts +437 -0
- package/dist/components/arcgis-layer-replace/customElement.js +376 -0
- package/dist/components/arcgis-layer-replace/index.d.ts +1 -0
- package/dist/components/arcgis-layer-replace/index.js +7 -0
- package/dist/components/arcgis-toolbar-item/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +1 -0
- package/dist/types/lumina.d.ts +6 -0
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/react.d.ts +8 -0
- package/dist/types/stencil.d.ts +6 -0
- package/package.json +5 -5
- package/dist/cdn/ZUB5ZZLF.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ import type { ArcgisFieldPickList } from "./components/arcgis-field-pick-list/cu
|
|
|
57
57
|
import type { ArcgisHistogram } from "./components/arcgis-histogram/customElement.js";
|
|
58
58
|
import type { ArcgisHtmlContent } from "./components/arcgis-html-content/customElement.js";
|
|
59
59
|
import type { ArcgisLabelInput } from "./components/arcgis-label-input/customElement.js";
|
|
60
|
+
import type { ArcgisLayerReplace } from "./components/arcgis-layer-replace/customElement.js";
|
|
60
61
|
import type { ArcgisPickerInput } from "./components/arcgis-picker-input/customElement.js";
|
|
61
62
|
import type { ArcgisRampColor } from "./components/arcgis-ramp-color/customElement.js";
|
|
62
63
|
import type { ArcgisRampColorBreak } from "./components/arcgis-ramp-color-break/customElement.js";
|
|
@@ -122,6 +123,11 @@ export interface ArcgisLabelInputCustomEvent<T> extends CustomEvent<T> {
|
|
|
122
123
|
target: ArcgisLabelInput;
|
|
123
124
|
currentTarget: ArcgisLabelInput;
|
|
124
125
|
}
|
|
126
|
+
export interface ArcgisLayerReplaceCustomEvent<T> extends CustomEvent<T> {
|
|
127
|
+
detail: T;
|
|
128
|
+
target: ArcgisLayerReplace;
|
|
129
|
+
currentTarget: ArcgisLayerReplace;
|
|
130
|
+
}
|
|
125
131
|
export interface ArcgisPickerInputCustomEvent<T> extends CustomEvent<T> {
|
|
126
132
|
detail: T;
|
|
127
133
|
target: ArcgisPickerInput;
|
|
@@ -206,6 +212,7 @@ declare global {
|
|
|
206
212
|
"arcgis-histogram": ArcgisHistogram;
|
|
207
213
|
"arcgis-html-content": ArcgisHtmlContent;
|
|
208
214
|
"arcgis-label-input": ArcgisLabelInput;
|
|
215
|
+
"arcgis-layer-replace": ArcgisLayerReplace;
|
|
209
216
|
"arcgis-picker-input": ArcgisPickerInput;
|
|
210
217
|
"arcgis-ramp-color": ArcgisRampColor;
|
|
211
218
|
"arcgis-ramp-color-break": ArcgisRampColorBreak;
|
|
@@ -259,6 +266,9 @@ declare global {
|
|
|
259
266
|
type HTMLArcgisLabelInputElementEventMap = ArcgisLabelInput["@eventTypes"];
|
|
260
267
|
type HTMLArcgisLabelInputElement = ArcgisLabelInput;
|
|
261
268
|
|
|
269
|
+
type HTMLArcgisLayerReplaceElementEventMap = ArcgisLayerReplace["@eventTypes"];
|
|
270
|
+
type HTMLArcgisLayerReplaceElement = ArcgisLayerReplace;
|
|
271
|
+
|
|
262
272
|
type HTMLArcgisPickerInputElementEventMap = ArcgisPickerInput["@eventTypes"];
|
|
263
273
|
type HTMLArcgisPickerInputElement = ArcgisPickerInput;
|
|
264
274
|
|
package/dist/loader.js
CHANGED
|
@@ -12,6 +12,7 @@ const l = a(e, {
|
|
|
12
12
|
"arcgis-histogram": [() => import("./components/arcgis-histogram/customElement.js"), "_messages:,average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatter:,layout,max,messageOverrides:,min,mirrored,standardDeviation,standardDeviationCount"],
|
|
13
13
|
"arcgis-html-content": [() => import("./components/arcgis-html-content/customElement.js"), "content,sanitizerOptions:"],
|
|
14
14
|
"arcgis-label-input": [() => import("./components/arcgis-label-input/customElement.js"), "alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],
|
|
15
|
+
"arcgis-layer-replace": [() => import("./components/arcgis-layer-replace/customElement.js"), "additionalSourceFields:,allowDuplicateReplacementFields,fieldMatcher:,getFieldDisplayInfo:,getLayerDisplayInfo:,mapping:,messageOverrides:,messages:,mode,replacement:,replacementCandidates:,replacementFieldFilter:,showFieldAliases,source:,sourceFieldFilter:;matchFields"],
|
|
15
16
|
"arcgis-picker-input": [() => import("./components/arcgis-picker-input/customElement.js"), "disabled,heading,iconEnd,intlDone,label,popoverProps:;close,setFocus"],
|
|
16
17
|
"arcgis-ramp-color": [() => import("./components/arcgis-ramp-color/customElement.js"), "layout,max,min,stops:"],
|
|
17
18
|
"arcgis-ramp-color-break": [() => import("./components/arcgis-ramp-color-break/customElement.js"), "layout,max,min,stops:"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/c
|
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
10
|
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
11
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
12
|
+
import type { ArcgisLayerReplace } from "../components/arcgis-layer-replace/customElement.js";
|
|
12
13
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
13
14
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
14
15
|
import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js";
|
|
@@ -92,6 +93,10 @@ interface LuminaArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignme
|
|
|
92
93
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
interface LuminaArcgisLayerReplace extends Required<Pick<ArcgisLayerReplace, "source">>, Partial<Pick<ArcgisLayerReplace, "additionalSourceFields" | "allowDuplicateReplacementFields" | "fieldMatcher" | "getFieldDisplayInfo" | "getLayerDisplayInfo" | "messageOverrides" | "mode" | "replacement" | "replacementCandidates" | "replacementFieldFilter" | "showFieldAliases" | "sourceFieldFilter">>, h.JSX.HTMLAttributes<ArcgisLayerReplace> {
|
|
97
|
+
onarcgisChange?: EventHandler<ArcgisLayerReplace["arcgisChange"]>;
|
|
98
|
+
}
|
|
99
|
+
|
|
95
100
|
interface LuminaArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, h.JSX.HTMLAttributes<ArcgisPickerInput> {
|
|
96
101
|
onarcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
97
102
|
onarcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
@@ -205,6 +210,7 @@ declare module "@arcgis/lumina" {
|
|
|
205
210
|
"arcgis-histogram": LuminaArcgisHistogram;
|
|
206
211
|
"arcgis-html-content": LuminaArcgisHtmlContent;
|
|
207
212
|
"arcgis-label-input": LuminaArcgisLabelInput;
|
|
213
|
+
"arcgis-layer-replace": LuminaArcgisLayerReplace;
|
|
208
214
|
"arcgis-picker-input": LuminaArcgisPickerInput;
|
|
209
215
|
"arcgis-ramp-color": LuminaArcgisRampColor;
|
|
210
216
|
"arcgis-ramp-color-break": LuminaArcgisRampColorBreak;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/c
|
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
10
|
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
11
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
12
|
+
import type { ArcgisLayerReplace } from "../components/arcgis-layer-replace/customElement.js";
|
|
12
13
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
13
14
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
14
15
|
import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js";
|
|
@@ -93,6 +94,10 @@ interface PreactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignme
|
|
|
93
94
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
94
95
|
}
|
|
95
96
|
|
|
97
|
+
interface PreactArcgisLayerReplace extends Required<Pick<ArcgisLayerReplace, "source">>, Partial<Pick<ArcgisLayerReplace, "additionalSourceFields" | "allowDuplicateReplacementFields" | "fieldMatcher" | "getFieldDisplayInfo" | "getLayerDisplayInfo" | "messageOverrides" | "mode" | "replacement" | "replacementCandidates" | "replacementFieldFilter" | "showFieldAliases" | "sourceFieldFilter">>, HTMLAttributes<ArcgisLayerReplace> {
|
|
98
|
+
onarcgisChange?: EventHandler<ArcgisLayerReplace["arcgisChange"]>;
|
|
99
|
+
}
|
|
100
|
+
|
|
96
101
|
interface PreactArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, HTMLAttributes<ArcgisPickerInput> {
|
|
97
102
|
onarcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
98
103
|
onarcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
@@ -206,6 +211,7 @@ declare module 'preact' {
|
|
|
206
211
|
"arcgis-histogram": PreactArcgisHistogram;
|
|
207
212
|
"arcgis-html-content": PreactArcgisHtmlContent;
|
|
208
213
|
"arcgis-label-input": PreactArcgisLabelInput;
|
|
214
|
+
"arcgis-layer-replace": PreactArcgisLayerReplace;
|
|
209
215
|
"arcgis-picker-input": PreactArcgisPickerInput;
|
|
210
216
|
"arcgis-ramp-color": PreactArcgisRampColor;
|
|
211
217
|
"arcgis-ramp-color-break": PreactArcgisRampColorBreak;
|
|
@@ -242,6 +248,7 @@ declare module 'preact' {
|
|
|
242
248
|
"arcgis-histogram": PreactArcgisHistogram;
|
|
243
249
|
"arcgis-html-content": PreactArcgisHtmlContent;
|
|
244
250
|
"arcgis-label-input": PreactArcgisLabelInput;
|
|
251
|
+
"arcgis-layer-replace": PreactArcgisLayerReplace;
|
|
245
252
|
"arcgis-picker-input": PreactArcgisPickerInput;
|
|
246
253
|
"arcgis-ramp-color": PreactArcgisRampColor;
|
|
247
254
|
"arcgis-ramp-color-break": PreactArcgisRampColorBreak;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/c
|
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
10
|
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
11
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
12
|
+
import type { ArcgisLayerReplace } from "../components/arcgis-layer-replace/customElement.js";
|
|
12
13
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
13
14
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
14
15
|
import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js";
|
|
@@ -93,6 +94,10 @@ interface ReactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignmen
|
|
|
93
94
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
94
95
|
}
|
|
95
96
|
|
|
97
|
+
interface ReactArcgisLayerReplace extends Required<Pick<ArcgisLayerReplace, "source">>, Partial<Pick<ArcgisLayerReplace, "additionalSourceFields" | "allowDuplicateReplacementFields" | "fieldMatcher" | "getFieldDisplayInfo" | "getLayerDisplayInfo" | "messageOverrides" | "mode" | "replacement" | "replacementCandidates" | "replacementFieldFilter" | "showFieldAliases" | "sourceFieldFilter">>, HTMLProps<ArcgisLayerReplace> {
|
|
98
|
+
onarcgisChange?: EventHandler<ArcgisLayerReplace["arcgisChange"]>;
|
|
99
|
+
}
|
|
100
|
+
|
|
96
101
|
interface ReactArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, HTMLProps<ArcgisPickerInput> {
|
|
97
102
|
onarcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
98
103
|
onarcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
@@ -206,6 +211,7 @@ declare module "react" {
|
|
|
206
211
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
207
212
|
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
208
213
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
214
|
+
"arcgis-layer-replace": ReactArcgisLayerReplace;
|
|
209
215
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
210
216
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
|
211
217
|
"arcgis-ramp-color-break": ReactArcgisRampColorBreak;
|
|
@@ -244,6 +250,7 @@ declare module "react/jsx-runtime" {
|
|
|
244
250
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
245
251
|
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
246
252
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
253
|
+
"arcgis-layer-replace": ReactArcgisLayerReplace;
|
|
247
254
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
248
255
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
|
249
256
|
"arcgis-ramp-color-break": ReactArcgisRampColorBreak;
|
|
@@ -282,6 +289,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
282
289
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
283
290
|
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
284
291
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
292
|
+
"arcgis-layer-replace": ReactArcgisLayerReplace;
|
|
285
293
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
286
294
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
|
287
295
|
"arcgis-ramp-color-break": ReactArcgisRampColorBreak;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/c
|
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
10
|
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
11
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
12
|
+
import type { ArcgisLayerReplace } from "../components/arcgis-layer-replace/customElement.js";
|
|
12
13
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
13
14
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
14
15
|
import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js";
|
|
@@ -93,6 +94,10 @@ interface StencilArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignm
|
|
|
93
94
|
onArcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
94
95
|
}
|
|
95
96
|
|
|
97
|
+
interface StencilArcgisLayerReplace extends Required<Pick<ArcgisLayerReplace, "source">>, Partial<Pick<ArcgisLayerReplace, "additionalSourceFields" | "allowDuplicateReplacementFields" | "fieldMatcher" | "getFieldDisplayInfo" | "getLayerDisplayInfo" | "messageOverrides" | "mode" | "replacement" | "replacementCandidates" | "replacementFieldFilter" | "showFieldAliases" | "sourceFieldFilter">>, StencilJsx.HTMLAttributes<ArcgisLayerReplace> {
|
|
98
|
+
onArcgisChange?: EventHandler<ArcgisLayerReplace["arcgisChange"]>;
|
|
99
|
+
}
|
|
100
|
+
|
|
96
101
|
interface StencilArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, StencilJsx.HTMLAttributes<ArcgisPickerInput> {
|
|
97
102
|
onArcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
98
103
|
onArcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
@@ -204,6 +209,7 @@ interface ExposedElements {
|
|
|
204
209
|
"arcgis-histogram": StencilArcgisHistogram;
|
|
205
210
|
"arcgis-html-content": StencilArcgisHtmlContent;
|
|
206
211
|
"arcgis-label-input": StencilArcgisLabelInput;
|
|
212
|
+
"arcgis-layer-replace": StencilArcgisLayerReplace;
|
|
207
213
|
"arcgis-picker-input": StencilArcgisPickerInput;
|
|
208
214
|
"arcgis-ramp-color": StencilArcgisRampColor;
|
|
209
215
|
"arcgis-ramp-color-break": StencilArcgisRampColorBreak;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/common-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.20",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@arcgis/lumina": "6.0.0-next.
|
|
49
|
-
"@arcgis/lumina-toolkit": "6.0.0-next.
|
|
50
|
-
"@arcgis/toolkit": "6.0.0-next.
|
|
48
|
+
"@arcgis/lumina": "6.0.0-next.20",
|
|
49
|
+
"@arcgis/lumina-toolkit": "6.0.0-next.20",
|
|
50
|
+
"@arcgis/toolkit": "6.0.0-next.20",
|
|
51
51
|
"@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
|
|
52
52
|
"@lit/task": "^1.0.3",
|
|
53
53
|
"lit": "^3.3.0",
|
|
54
54
|
"tslib": "^2.8.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@arcgis/core": "6.0.0-next.
|
|
57
|
+
"@arcgis/core": "6.0.0-next.20",
|
|
58
58
|
"@esri/calcite-components": "^5.2.0"
|
|
59
59
|
},
|
|
60
60
|
"css.customData": [
|
package/dist/cdn/ZUB5ZZLF.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as N}from"./CFEMTMZX.js";import{a as K,b as Q}from"./K6VKF5UM.js";import{a as X}from"./AK25UPRZ.js";import"./C65ROMJK.js";import"./XMMFL5H3.js";import{a as _}from"./XZBAXCY4.js";import{A as V,B as z,C as S,D as $,E as U,F as j,G as I,J as w,K as u,L as q,M as E,N as k,P as v,Q as P,S as J,h as H,j as a,l as R,o as b,p as G,t as F,z as W}from"./A5VZ22LK.js";var Y=(l,e,t)=>{let s=new Map;for(let i=e;i<=t;i++)s.set(l[i],i);return s},D=V(class extends z{constructor(l){if(super(l),l.type!==W.CHILD)throw Error("repeat() can only be used in text expressions")}dt(l,e,t){let s;t===void 0?t=e:e!==void 0&&(s=e);let i=[],o=[],n=0;for(let r of l)i[n]=s?s(r,n):n,o[n]=t(r,n),n++;return{values:o,keys:i}}render(l,e,t){return this.dt(l,e,t).values}update(l,[e,t,s]){let i=j(l),{values:o,keys:n}=this.dt(e,t,s);if(!Array.isArray(i))return this.ut=n,o;let r=this.ut??=[],f=[],x,A,d=0,p=i.length-1,c=0,m=o.length-1;for(;d<=p&&c<=m;)if(i[d]===null)d++;else if(i[p]===null)p--;else if(r[d]===n[c])f[c]=$(i[d],o[c]),d++,c++;else if(r[p]===n[m])f[m]=$(i[p],o[m]),p--,m--;else if(r[d]===n[m])f[m]=$(i[d],o[m]),S(l,f[m+1],i[d]),d++,m--;else if(r[p]===n[c])f[c]=$(i[p],o[c]),S(l,i[d],i[p]),p--,c++;else if(x===void 0&&(x=Y(n,c,m),A=Y(r,d,p)),x.has(r[d]))if(x.has(r[p])){let g=A.get(n[c]),T=g!==void 0?i[g]:null;if(T===null){let M=S(l,i[d]);$(M,o[c]),f[c]=M}else f[c]=$(T,o[c]),S(l,i[d],T),i[g]=null;c++}else I(i[p]),p--;else I(i[d]),d++;for(;c<=m;){let g=S(l,f[m+1]);$(g,o[c]),f[c++]=g}for(;d<=p;){let g=i[d++];g!==null&&I(g)}return this.ut=n,U(l,f),R}});var h=new Map;h.set("oid","key");h.set("guid","key");h.set("global-id","key");h.set("blob","binary");h.set("integer","integer");h.set("small-integer","integer");h.set("big-integer","integer");h.set("single","number");h.set("double","number");h.set("long","number");h.set("number","number");h.set("date","date-time");h.set("date-only","calendar");h.set("time-only","clock");h.set("timestamp-offset","time-zone");h.set("string","string");var Z=({fieldType:l})=>a`<calcite-icon scale=s .icon=${h.get(l)}></calcite-icon>`;function ee(l){return!!l.length&&"fields"in l[0]}function y(l){return!!l.length&&"subFieldInfos"in l[0]}function te(l){return l.filter(e=>y(e.fields))}function ie(l){return l.flatMap(e=>e.fields)}function se(l){return l.flatMap(e=>y(e.fields)?[]:e.fields)}function C(l){return l.flatMap(e=>y(e.fields)?e.fields.flatMap(t=>t.subFieldInfos):e.fields)}function le(l,e){return l.flatMap(t=>y(t.fields)?t.fields.flatMap(s=>s.subFieldInfos.filter(i=>L(i,e,!0))):t.fields.filter(s=>B(s,e)))}function B(l,e){return e?"subFieldInfos"in l?L(l,e)||l.subFieldInfos.some(t=>L(t,e,!0)):L(l,e):!0}function L(l,e,t=!1){return[t?l.name.split("/").pop():l.name,l.alias,l.description].some(s=>s?.toLocaleLowerCase().includes(e.toLocaleLowerCase()))}var oe=H`.panel{min-height:250px}.list-wrapper{max-height:50vh;overflow:auto}.list-controls{display:grid;grid-template-columns:1fr auto}.field-icons{display:flex;align-items:center;padding:0 var(--calcite-space-sm)}.selection-button-div{padding:var(--calcite-space-2xs) var(--calcite-space-sm-plus)}.no-match-text{padding:var(--calcite-space-md)}.footer{width:100%}.add-cancel-buttons{display:flex;align-content:space-between}`,O=class extends q{constructor(){super(...arguments),this._messages=X({blocking:!0}),this.popoverNode=w(),this.listWrapper=w(),this.listNode=w(),this.flowElement=w(),this.panelElement=w(),this.dropdownNode=w(),this.fieldInfoFlowItemEl=w(),this.allLists=[],this.filterText="",this.panelCutOffHeight=0,this.initialized=!1,this._propWatcherTask=new K(this,{task:async([e])=>{if(!this.listOnly&&!Q(e?.refElement))throw b("error",this,G("popoverProps")),new Error;this._propWatcherTask.autoRun=!1},args:()=>[this.popoverProps]}),this.fields=[],this.selectedFields=[],this.listOnly=!1,this.showFieldInfo=!1,this.showFieldTypeIcon=!1,this.showFieldName=!1,this.showDescription=!1,this.showSelectionAll=!1,this.showCancel=!0,this.hideCancel=!1,this.showSort=!0,this.hideSort=!1,this.showFilterLength=10,this.multiple=!1,this.sortBy="default",this.groupFieldsAndExpressions=!1,this.arcgisChange=F(),this.arcgisClose=F(),this.arcgisDeleteField=F(),this.arcgisEditField=F(),this.arcgisFieldPickListChange=F(),this.arcgisFieldPickListDismissed=F(),this.arcgisFieldPickListSortByChange=F(),this.arcgisSortByChange=F()}static{this.properties={lastSortBy:16,filterFields:16,mapView:0,view:0,layer:0,fields:0,selectedFields:0,listOnly:5,popoverProps:0,showFieldInfo:5,showFieldTypeIcon:5,showFieldName:5,showDescription:5,showSelectionAll:5,showCancel:5,hideCancel:5,showSort:5,hideSort:5,showFilterLength:9,multiple:5,heading:1,okBtnText:1,filterPlaceholderText:1,filterNoResultsText:1,sortBy:1,groupFieldsAndExpressions:5,fieldsGroupHeading:1,expressionsGroupHeading:1,customExpressionCheck:0}}static{this.styles=oe}async reposition(){await this.popoverNode.value?.reposition()}async setDisabled(e){this.panelElement.value&&(this.panelElement.value.disabled=e)}async setFocus(){setTimeout(()=>requestAnimationFrame(()=>{this.listOnly?this.listNode.value?.setFocus():this.panelElement.value?.setFocus()}),1)}load(){!this.view&&this.mapView&&(this.view=this.mapView),!this.showCancel&&!this.hideCancel&&(this.hideCancel=!0),!this.showSort&&!this.hideSort&&(this.hideSort=!0),this.listOnly&&this.showFieldInfo&&(this.showFieldInfo=!1,b("info",this,"showFieldInfo is not supported if listOnly is true.")),!this.multiple&&this.selectedFields.length>1&&(this.selectedFields=[this.selectedFields[0]]),this.lastSortBy=this.sortBy??this.lastSortBy,this.updateGroupedLists(),this.initialized=!0}willUpdate(e){this.initialized&&(e.has("fields")||e.has("sortBy")||e.has("lastSortBy")||e.has("customExpressionCheck"))&&(e.has("sortBy")&&(this.lastSortBy=this.sortBy??this.lastSortBy),this.updateGroupedLists())}loaded(){this.setUpObserver(),this.listOnly?this.listNode.value?.setFocus():(this.flowElement.value?.setFocus(),this.checkMaxHeight())}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect()}setUpObserver(){this.observer=new MutationObserver(e=>{for(let t of e)t.attributeName==="style"&&this.popoverNode.value&&this.dropdownNode.value&&this.popoverNode.value.style.visibility==="hidden"&&(this.dropdownNode.value.open=!1)})}checkMaxHeight(){setTimeout(()=>this.checkPanelMaxHeight(),200),setTimeout(()=>this.checkPanelMaxHeight(),500),setTimeout(()=>this.checkPanelMaxHeight(),1e3),setTimeout(()=>this.checkPanelMaxHeight(),1500)}checkPanelMaxHeight(){if(this.panelCutOffHeight===0){let e=this.panelElement.value?.getBoundingClientRect();if(e&&e.bottom>window.innerHeight){this.panelCutOffHeight=e.height-(e.bottom-window.innerHeight)-5;let t=this.listWrapper.value?.getBoundingClientRect();t&&(this.listWrapper.value.style.maxHeight=`${t.height-(e.bottom-window.innerHeight)-5}px`)}}}getSortedList(e){let t=[...e],s=t.filter(i=>i.type==="none");return t=t.filter(i=>i.type!=="none"),this.lastSortBy==="display"?t.sort((i,o)=>i.alias.localeCompare(o.alias)):this.lastSortBy==="field"?t.sort((i,o)=>i.name.localeCompare(o.name)):this.lastSortBy==="type"&&t.sort((i,o)=>i.type.localeCompare(o.type)),t=t.concat(s),t}isExpression(e){return this.customExpressionCheck?this.customExpressionCheck(e):e.name.includes(N.expression)}canDeselectAll(){let e=C(this.allLists);return this.filterFields?.length?this.filterContainsAll():this.selectedFields.length===e.length}filterContainsAll(){return!!this.filterFields?.every(e=>this.selectedFields.some(t=>t===e))}showFieldInfoCheck(e){let{layer:t}=this;return this.showFieldInfo?!(!t||this.isExpression(e)||e.name.includes(N.relationship)||e.type==="none"):!1}updateGroupedLists(){if(this.fields)if(this.allLists=[],ee(this.fields))for(let e of this.fields){if(this.listOnly&&y(e.fields)){b("error",this,"subFieldInfos are not supported if listOnly is true.");continue}this.allLists.push({title:e.title,fields:this.getSortedGroupFields(e.fields)})}else this.allLists=this.groupFieldsAndExpressions?[{title:this.expressionsGroupHeading,fields:[...this.getSortedList(this.fields)].filter(e=>this.isExpression(e))},{title:this.fieldsGroupHeading,fields:[...this.getSortedList(this.fields)].filter(e=>!this.isExpression(e))}]:[{title:void 0,fields:this.getSortedList(this.fields)}]}getSortedGroupFields(e){return y(e)?this.getSortedList(e).map(t=>({...t,subFieldInfos:this.getSortedList(t.subFieldInfos).map(s=>({...s,name:`${t.name}/${s.name}`}))})):this.getSortedList(e)}addFieldInfoFlowItem(e,t){let s=this.flowElement.value,i=P(a`<calcite-flow-item selected .heading=${e.alias??e.name} .description=${e.name} class="panel" style=${k(this.panelCutOffHeight>0?`max-height: ${this.panelCutOffHeight}px`:"max-height: 50vh")} @calciteFlowItemBack=${o=>{o.currentTarget.remove(),this.fieldInfoFlowItemEl.value.selected=!1,this.panelElement.value.selected=!0,setTimeout(()=>{t.setFocus()},300)}} ${u(this.fieldInfoFlowItemEl)}><arcgis-field-info lang=${this._messages._lang??v} .fieldName=${e.name} .layer=${this.layer} .view=${this.view} class="content"></arcgis-field-info></calcite-flow-item>`);s.appendChild(i),this.panelElement.value.selected=!1,setTimeout(()=>{this.fieldInfoFlowItemEl?.value.setFocus()},1)}addSubFieldInfoFlowItem(e,t){let s=this.flowElement.value,i=e.subFieldInfos.filter(n=>L(n,this.filterText,!0)),o=P(a`<calcite-flow-item selected .heading=${e.alias??e.name} .description=${e.description??void 0} class="panel" style=${k(this.panelCutOffHeight>0?`max-height: ${this.panelCutOffHeight}px`:"max-height: 50vh")} @calciteFlowItemBack=${n=>{n.currentTarget.remove(),this.fieldInfoFlowItemEl.value.selected=!1,this.panelElement.value.selected=!0,setTimeout(()=>{t.setFocus()},300)}} ${u(this.fieldInfoFlowItemEl)}><calcite-list .label=${e.alias??e.name} .selectionMode=${this.multiple?"multiple":"single"} @calciteListChange=${n=>{this.updateSelectedFieldsForList(n.currentTarget,e.subFieldInfos),this.arcgisChange.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListChange.emit({selectedFields:this.selectedFields}),this.multiple||(this.arcgisClose.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListDismissed.emit({selectedFields:this.selectedFields}))}}>${i.map(n=>this.renderCalciteListItem(n,!1))}</calcite-list>${this.filterText&&!i.length&&this.filterNoResultsText?.length!==0?a`<div class="no-match-text">${this.filterNoResultsText??this._messages.noMatches}</div>`:null}</calcite-flow-item>`);s.appendChild(o),this.panelElement.value.selected=!1,setTimeout(()=>{this.fieldInfoFlowItemEl.value?.setFocus()},1)}shouldRenderSelectionButton(e){return this.multiple&&this.showSelectionAll&&(!e||!this.filterText||!!this.filterFields?.length)}handleListSelectionChange(e){this.updateSelectedFieldsForList(this.listNode.value,e),this.arcgisChange.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListChange.emit({selectedFields:this.selectedFields}),this.multiple||(this.arcgisClose.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListDismissed.emit({selectedFields:this.selectedFields}))}updateSelectedFieldsForList(e,t){let s=new Set(t.map(r=>r.name)),i=e.selectedItems.map(r=>r.value),o=this.selectedFields.filter(r=>!s.has(r)||i.includes(r)),n=i.filter(r=>!this.selectedFields.includes(r));this.selectedFields=this.multiple?[...new Set([...o,...n])]:i,this.reorderSelectedFieldsByCurrentListOrder()}setSortBy(e){this.lastSortBy=e,this.updateGroupedLists(),this.arcgisSortByChange.emit(this.lastSortBy),this.arcgisFieldPickListSortByChange.emit(this.lastSortBy),this.reorderSelectedFieldsByCurrentListOrder()&&(this.arcgisChange.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListChange.emit({selectedFields:this.selectedFields}))}reorderSelectedFieldsByCurrentListOrder(){if(!this.selectedFields.length)return!1;let e=C(this.allLists).map(o=>o.name),t=new Set(this.selectedFields),s=e.filter(o=>t.has(o)),i=s.length!==this.selectedFields.length||s.some((o,n)=>o!==this.selectedFields[n]);return i&&(this.selectedFields=[...s]),i}render(){return this._propWatcherTask.render({complete:()=>{if(this.listOnly)return this.renderList();let e=this.heading||(this.multiple?this._messages.headerSelect:this._messages.header),t=this.popoverProps;return this.el.classList.add("js-app-flyout"),_(`${t.autoClose}`,a`<calcite-popover .placement=${t.placement??"leading-start"} open pointer-disabled .referenceElement=${t.refElement} .offsetDistance=${t.offsetDistance??-Math.round(t.refElement.getBoundingClientRect().width)} .offsetSkidding=${t.offsetSkidding??0} .overlayPositioning=${t.overlayPositioning} trigger-disabled .autoClose=${t.autoClose} .label=${this.heading??(this.multiple?this._messages.headerSelect:this._messages.header)??""} @calcitePopoverClose=${()=>{this.arcgisClose.emit(),this.arcgisFieldPickListDismissed.emit()}} ${u(this.popoverNode)}><calcite-flow style=${k({width:`${t.popoverWidth??t.refElement.getBoundingClientRect().width}px`,...t.maxHeight&&{maxHeight:t.maxHeight}})} ${u(this.flowElement)}><calcite-flow-item class="panel" .heading=${e} closable @calciteFlowItemClose=${()=>{this.arcgisClose.emit(),this.arcgisFieldPickListDismissed.emit()}} ${u(this.panelElement)}><slot slot=content-top name=content-top></slot>${this.renderList()}<slot slot=content-bottom name=content-bottom></slot>${(this.multiple||!this.hideCancel)&&a`<div slot=footer class="footer"><slot name=content-footer></slot>${this.multiple&&!this.hideCancel?a`<div class="add-cancel-buttons">${this.renderAddButton()}${this.renderCancelButton()}</div>`:a`${this.renderAddButton()}${this.renderCancelButton()}`}</div>`||""}</calcite-flow-item></calcite-flow></calcite-popover>`)},error:()=>""})}renderList(){let e=this.heading||(this.multiple?this._messages.headerSelect:this._messages.header),t=se(this.allLists),s=te(this.allLists),i=C(this.allLists).length>=this.showFilterLength;return t.length||s.length?s.length?this.renderSplitLists(t,s,i):this.renderTopLevelOnlyFieldList(e,t,i):a`<slot name=no-fields></slot>`}renderSplitLists(e,t,s){let i=C(this.allLists),o=ie(this.allLists).some(n=>B(n,this.filterText));return a`${s?a`<div class="list-controls"><calcite-filter .items=${i} .filterProps=${["name","alias","description"]} .placeholder=${this.filterPlaceholderText??this._messages.filter} @calciteFilterChange=${n=>{this.filterText=n.currentTarget.value,this.filterFields=this.filterText?le(this.allLists,this.filterText).map(r=>r.name):void 0}}></calcite-filter>${this.renderSortButton()}</div>`:null}<div class=${E(this.listOnly?"":"list-wrapper")} ${u(this.listWrapper)}>${this.shouldRenderSelectionButton(s)?this.renderSelectionButton():null}${this.renderSplitSubFieldLists(t)}${e.length?this.renderSplitTopLevelFieldList(e,!0):null}</div>${this.filterText&&!o&&this.filterNoResultsText?.length!==0?a`<div class="no-match-text">${this.filterNoResultsText??this._messages.noMatches}</div>`:null}`}renderSplitSubFieldLists(e){let t=e.map(s=>({...s,fields:s.fields.filter(i=>B(i,this.filterText))})).filter(s=>!!s.fields.length);return D(t,s=>s.title,s=>a`<calcite-list selection-mode=none .label=${s.title??this.heading??""}><calcite-list-item-group .heading=${s.title}>${D(s.fields,i=>i.name,i=>a`<calcite-list-item .label=${i.alias||i.name} .description=${this.multiple?this._messages.subFieldsSelected.replace("${count}",`${i.subFieldInfos.filter(o=>this.selectedFields.includes(o.name)).length}`):void 0} .value=${i.name} @click=${o=>this.addSubFieldInfoFlowItem(i,o.currentTarget)} @keydown=${o=>{o.key==="Enter"&&this.addSubFieldInfoFlowItem(i,o.currentTarget)}}><calcite-icon slot=actions-end icon=chevron-right flip-rtl scale=s></calcite-icon></calcite-list-item>`)}</calcite-list-item-group></calcite-list>`)}renderSplitTopLevelFieldList(e,t){return a`<calcite-list .label=${this.heading||(this.multiple?this._messages.headerSelect:this._messages.header)} .selectionMode=${this.multiple?"multiple":"single"} @calciteListChange=${()=>this.handleListSelectionChange(e)} ${u(this.listNode)}><slot name=content-center></slot>${this.renderGroupedListItems(t)}</calcite-list>`}renderTopLevelOnlyFieldList(e,t,s){return a`<div class=${E(this.listOnly?"":"list-wrapper")} ${u(this.listWrapper)}><calcite-list .label=${e} .selectionMode=${this.multiple?"multiple":"single"} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholderText??this._messages.filter} @calciteListChange=${()=>this.handleListSelectionChange(t)} @calciteListFilter=${i=>{i.stopPropagation(),this.filterFields=this.listNode.value.filteredItems?.map(o=>o.value),this.filterText=this.listNode.value.filterText}} ${u(this.listNode)}>${this.renderSortButton("filter-actions-end")}${this.shouldRenderSelectionButton(s)?this.renderSelectionButton():null}<slot name=content-center></slot>${this.renderGroupedListItems(!1)}</calcite-list></div>`}renderSortButton(e){let t=C(this.allLists);if(!(t.length>=this.showFilterLength&&!this.hideSort))return"";let s=t.every(i=>!!i.type);return a`<calcite-dropdown slot=${e??v} placement=bottom-end overlay-positioning=fixed @calciteDropdownOpen=${()=>{this.observer?.disconnect(),this.popoverNode.value&&this.observer?.observe(this.popoverNode.value,{attributes:!0})}} @calciteDropdownClose=${()=>this.observer?.disconnect()} ${u(this.dropdownNode)}><calcite-action slot=trigger .text=${this._messages.sort??""} title=${this._messages.sort??v}><calcite-icon scale=s icon=sortDescending flip-rtl></calcite-icon></calcite-action><calcite-dropdown-group><calcite-dropdown-item .selected=${this.lastSortBy==="default"} @calciteDropdownItemSelect=${()=>this.setSortBy("default")}>${this._messages.default}</calcite-dropdown-item><calcite-dropdown-item .selected=${this.lastSortBy==="display"} @calciteDropdownItemSelect=${()=>this.setSortBy("display")}>${this._messages.displayName}</calcite-dropdown-item>${s&&a`<calcite-dropdown-item .selected=${this.lastSortBy==="type"} @calciteDropdownItemSelect=${()=>this.setSortBy("type")}>${this._messages.type}</calcite-dropdown-item>`||""}<calcite-dropdown-item .selected=${this.lastSortBy==="field"} @calciteDropdownItemSelect=${()=>this.setSortBy("field")}>${this._messages.fieldName}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}renderSelectionButton(){return a`<div class="selection-button-div"><calcite-button appearance=transparent scale=s width=full @click=${()=>{if(this.canDeselectAll())this.selectedFields=this.filterFields?.length?this.selectedFields.filter(e=>!this.filterFields?.includes(e)):[];else if(this.filterFields?.length)this.selectedFields=[...new Set([...this.selectedFields,...this.filterFields])];else{let e=C(this.allLists);this.selectedFields=e.map(t=>t.name)}this.reorderSelectedFieldsByCurrentListOrder(),this.arcgisChange.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListChange.emit({selectedFields:this.selectedFields})}}>${this.canDeselectAll()?this._messages.deselectAll:this._messages.selectAll}</calcite-button></div>`}renderGroupedListItems(e){let t=this.allLists.filter(s=>!!s.fields.length&&!y(s.fields)).map(s=>({...s,fields:e?s.fields.filter(i=>B(i,this.filterText)):s.fields})).filter(s=>!!s.fields.length);return t.length===1&&!t[0].title?this.renderListItems(t[0].fields):t.map(s=>a`<calcite-list-item-group .heading=${s.title}>${this.renderListItems(s.fields)}</calcite-list-item-group>`)}renderListItems(e){return e.map(t=>this.renderCalciteListItem(t))}renderCalciteListItem(e,t=!0){let s=t&&this.showFieldInfoCheck(e),i=this.showFieldTypeIcon&&!!e.type;return _(e.name,a`<calcite-list-item .label=${e.alias||e.name} .description=${(()=>{if(this.showFieldName&&e.hideFieldName!==!0)return`{${e.name}}`;if(this.showDescription&&e.hideDescription!==!0&&e.description)return e.description})()} .value=${e.name} .selected=${!this.multiple&&e.name===this.selectedFields[0]||this.multiple&&this.selectedFields.includes(e.name)} .metadata=${{label:e.alias,fieldName:e.name}}>${i&&a`<div slot=actions-end class="field-icons">${Z({fieldType:e.type})}</div>`||""}${this.renderInfoAction(e,s)}${this.renderEditAction(e)}${this.renderDeleteAction(e)}</calcite-list-item>`)}renderInfoAction(e,t){let{_messages:s}=this;return t?a`<calcite-action slot=actions-end .text=${s.info} title=${s.info??v} scale=s icon=information @click=${i=>{i.stopPropagation();let o=i.currentTarget;this.addFieldInfoFlowItem(e,o)}}></calcite-action>`:""}renderEditAction(e){let{_messages:t}=this;return e.showEditAction?a`<calcite-action slot=actions-end .text=${t.edit} title=${t.edit??v} scale=s icon=pencil @click=${s=>{s.stopPropagation(),this.arcgisEditField.emit({fieldName:e.name})}}></calcite-action>`:""}renderDeleteAction(e){let{_messages:t}=this;return e.showDeleteAction?a`<calcite-action slot=actions-end .text=${t.delete} title=${t.delete??v} scale=s icon=trash @click=${s=>{s.stopPropagation(),this.arcgisDeleteField.emit({fieldName:e.name})}}></calcite-action>`:""}renderAddButton(){return this.multiple?a`<calcite-button .appearance=${this.hideCancel?"outline-fill":"solid"} .width=${this.hideCancel?"full":"half"} @click=${()=>{this.arcgisClose.emit({selectedFields:this.selectedFields}),this.arcgisFieldPickListDismissed.emit({selectedFields:this.selectedFields})}}>${this.okBtnText||(this.multiple?this._messages.done:this._messages.ok)}</calcite-button>`:""}renderCancelButton(){return this.hideCancel?"":a`<calcite-button appearance=outline-fill .width=${this.multiple?"half":"full"} @click=${()=>{this.arcgisClose.emit(),this.arcgisFieldPickListDismissed.emit()}}>${this._messages.cancel}</calcite-button>`}};J("arcgis-field-pick-list",O);export{O as ArcgisFieldPickList};
|