@arcgis/coding-components 4.29.0-beta.61 → 4.29.0-beta.63
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/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +3 -3
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +23 -23
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +30 -30
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +7 -7
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +18 -18
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +20 -20
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +77 -77
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-cfff9500.js → p-009eaccf.js} +1 -1
- package/dist/arcgis-coding-components/{p-2bd81bb5.js → p-2a665136.js} +2 -2
- package/dist/arcgis-coding-components/p-3ba4deea.js +1 -0
- package/dist/arcgis-coding-components/{p-4dce7d14.js → p-595d9a06.js} +2 -2
- package/dist/arcgis-coding-components/{p-665d75bc.js → p-7b6af57c.js} +2 -2
- package/dist/arcgis-coding-components/p-7d5fcf2e.js +63 -0
- package/dist/arcgis-coding-components/{p-e26e9f42.js → p-989439a0.js} +2 -2
- package/dist/arcgis-coding-components/{p-4e2e25e0.js → p-9b4a0643.js} +2 -2
- package/dist/arcgis-coding-components/{p-2e47d2b1.js → p-d7ca1083.js} +2 -2
- package/dist/arcgis-coding-components/p-e4efcbd0.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-f7369d73.js → p-fcdd0366.js} +2 -2
- package/dist/cjs/{arcade-defaults-a0f45ab1.js → arcade-defaults-5c2ff166.js} +11507 -9772
- package/dist/cjs/{arcade-mode-579b4052.js → arcade-mode-23925c8d.js} +10 -9
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +47 -51
- package/dist/cjs/{css-7229b372.js → css-eb1c8e5c.js} +1 -1
- package/dist/cjs/{cssMode-c3cf6180.js → cssMode-2e878b70.js} +2 -2
- package/dist/cjs/{html-0017e4c9.js → html-847c7e39.js} +2 -2
- package/dist/cjs/{htmlMode-17c8c42c.js → htmlMode-7a36db6d.js} +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-8270accf.js → javascript-f5ca9a1a.js} +3 -3
- package/dist/cjs/{jsonMode-31e5160f.js → jsonMode-0d326a6e.js} +2 -2
- package/dist/cjs/{tsMode-db6b702f.js → tsMode-e4abe99d.js} +2 -2
- package/dist/cjs/{typescript-b962205d.js → typescript-c43b7258.js} +2 -2
- package/dist/components/arcade-api.js +6 -6
- package/dist/components/arcade-contribution.js +5 -5
- package/dist/components/arcade-defaults.js +35 -35
- package/dist/components/arcade-mode.js +9 -8
- package/dist/components/arcade-results.js +12 -12
- package/dist/components/arcade-suggestions.js +6 -6
- package/dist/components/arcade-variables.js +5 -5
- package/dist/components/arcgis-arcade-editor.js +20 -20
- package/dist/components/code-editor.js +9 -13
- package/dist/components/fields.js +2 -2
- package/dist/components/index2.js +2 -2
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-d96f16cd.js → arcade-defaults-7525fe7a.js} +11500 -9765
- package/dist/esm/{arcade-mode-8662cb42.js → arcade-mode-312bbd22.js} +10 -9
- package/dist/esm/arcgis-arcade-api_6.entry.js +47 -51
- package/dist/esm/{css-ff1e9f8c.js → css-aade9167.js} +1 -1
- package/dist/esm/{cssMode-eb4872e0.js → cssMode-71ce0374.js} +2 -2
- package/dist/esm/{html-074ac87c.js → html-37ae4460.js} +2 -2
- package/dist/esm/{htmlMode-3a5d257f.js → htmlMode-ae5b0f39.js} +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-edca9928.js → javascript-ad435a4b.js} +3 -3
- package/dist/esm/{jsonMode-e7283fe9.js → jsonMode-b8bb4df0.js} +2 -2
- package/dist/esm/{tsMode-1dba46bc.js → tsMode-b967128d.js} +2 -2
- package/dist/esm/{typescript-21a54a2f.js → typescript-a9a22ab3.js} +2 -2
- package/dist/types/components/arcade-api/arcade-api.d.ts +3 -3
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +8 -8
- package/dist/types/components/arcade-results/arcade-results.d.ts +4 -4
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +5 -5
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +3 -3
- package/dist/types/components/code-editor/code-editor.d.ts +2 -2
- package/dist/types/components.d.ts +7 -5
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/arcade-executor.d.ts +14 -14
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +1 -1
- package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +11 -10
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +5 -4
- package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +1 -1
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -1
- package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +2 -2
- package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +2 -2
- package/dist/types/utils/arcade-monaco/types.d.ts +8 -10
- package/dist/types/utils/colorize.d.ts +1 -1
- package/dist/types/utils/functional-components.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +16 -18
- package/dist/types/utils/profile/types.d.ts +14 -14
- package/dist/types/utils/profile/utils.d.ts +1 -1
- package/dist/types/utils/utilities.d.ts +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/p-0e589f27.entry.js +0 -1
- package/dist/arcgis-coding-components/p-15c465b1.js +0 -1
- package/dist/arcgis-coding-components/p-abb70533.js +0 -62
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ApiVariableType, ApiProfile, ProfileStrings } from "@arcgis/arcade-languageservice";
|
|
1
|
+
import type { ApiVariableType, ApiProfile, ProfileStrings } from "@arcgis/arcade-languageservice";
|
|
2
2
|
import type { FeatureDefinition, FeatureSetDefinition, IEditorProfileDefinition, IFieldsDefinition, IProfileArray, IProfileDictionary, IProfileFeature, IProfileFeatureSet, IProfileFeatureSetCollection, IProfileValue, IProfileVariable, IProfileVariableBase, ProfileVariableValueType, SupportedLayer } from "./types";
|
|
3
|
-
type IIntlProfileStrings = ProfileStrings &
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
type SupportedSource = SupportedLayer | __esri.FeatureSet | IFieldsDefinition;
|
|
3
|
+
type IIntlProfileStrings = ProfileStrings & Record<string, string>;
|
|
4
|
+
type SupportedSource = __esri.FeatureSet | IFieldsDefinition | SupportedLayer;
|
|
7
5
|
/**
|
|
8
6
|
* FeatureSetCollection interface. Used in Arcade expressions to represent Web Maps
|
|
9
7
|
* or Feature Services.
|
|
@@ -13,12 +11,12 @@ interface IFeatureSetCollections {
|
|
|
13
11
|
* The collection of layers in the featureSetCollection. Layers contain features
|
|
14
12
|
* with geometry.
|
|
15
13
|
*/
|
|
16
|
-
layers:
|
|
14
|
+
layers: (FeatureSetVariable | GroupOfVariables)[];
|
|
17
15
|
/**
|
|
18
16
|
* The collection of tables in the featureSetCollection. Tables contain features
|
|
19
17
|
* that don't have a geometry.
|
|
20
18
|
*/
|
|
21
|
-
tables:
|
|
19
|
+
tables: (FeatureSetVariable | GroupOfVariables)[];
|
|
22
20
|
/**
|
|
23
21
|
* If the feature set collection represents a Web Map then it will contain the
|
|
24
22
|
* WebMap instance.
|
|
@@ -43,12 +41,12 @@ interface IIntlString {
|
|
|
43
41
|
formatValues?: Record<string, string>;
|
|
44
42
|
}
|
|
45
43
|
type ProfileItemType = ApiVariableType | "group";
|
|
46
|
-
export type EditorVariable =
|
|
44
|
+
export type EditorVariable = ArrayVariable | DictionaryVariable | FeatureSetCollectionVariable | FeatureSetVariable | FeatureVariable | ValueVariable;
|
|
47
45
|
interface ConstructorProperties<T> {
|
|
48
46
|
profile?: EditorProfile | null;
|
|
49
47
|
declaration?: Partial<T>;
|
|
50
|
-
label?:
|
|
51
|
-
description?:
|
|
48
|
+
label?: IIntlString | string;
|
|
49
|
+
description?: IIntlString | string;
|
|
52
50
|
snippet?: string;
|
|
53
51
|
nonInteractive?: boolean;
|
|
54
52
|
filterDescription?: boolean;
|
|
@@ -69,7 +67,7 @@ declare abstract class ProfileItemBase {
|
|
|
69
67
|
* True if the item repsents a collection of items.
|
|
70
68
|
*/
|
|
71
69
|
abstract readonly isCollection: boolean;
|
|
72
|
-
constructor(_profile: EditorProfile | null | undefined, _label:
|
|
70
|
+
constructor(_profile: EditorProfile | null | undefined, _label: IIntlString | string | undefined, description?: string | IIntlString | undefined);
|
|
73
71
|
/**
|
|
74
72
|
* Returns the label string.
|
|
75
73
|
*/
|
|
@@ -138,7 +136,7 @@ export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
|
138
136
|
* If the collection is asynchronous, the 'load' function should
|
|
139
137
|
* be called first before using the items.
|
|
140
138
|
*/
|
|
141
|
-
variables:
|
|
139
|
+
variables: (EditorVariable | GroupOfVariables)[];
|
|
142
140
|
constructor(props: ConstructorProperties<IProfileVariableBase>);
|
|
143
141
|
/**
|
|
144
142
|
* Returns true if the collection has been loaded
|
|
@@ -156,10 +154,10 @@ export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
|
156
154
|
get informationType(): string;
|
|
157
155
|
}
|
|
158
156
|
export declare class GroupOfVariables extends ProfileItemBase {
|
|
159
|
-
variables:
|
|
157
|
+
variables: (EditorVariable | GroupOfVariables)[];
|
|
160
158
|
type: "group";
|
|
161
159
|
isCollection: true;
|
|
162
|
-
constructor(profile: EditorProfile | null | undefined, label:
|
|
160
|
+
constructor(profile: EditorProfile | null | undefined, label: IIntlString | string, variables?: (EditorVariable | GroupOfVariables)[]);
|
|
163
161
|
passFilter(): boolean;
|
|
164
162
|
}
|
|
165
163
|
export declare class DictionaryVariable extends CollectionBasedVariable {
|
|
@@ -185,7 +183,7 @@ declare abstract class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
185
183
|
protected _source: SupportedSource | null;
|
|
186
184
|
protected _loadPromise?: Promise<SupportedSource | null>;
|
|
187
185
|
constructor(props: ConstructorProperties<IProfileFeature | IProfileFeatureSet>, relationshipsProperties?: IRelationshipsProperties | undefined);
|
|
188
|
-
get title():
|
|
186
|
+
get title(): IIntlString | string;
|
|
189
187
|
get url(): string;
|
|
190
188
|
get informationUrl(): string | null;
|
|
191
189
|
get informationType(): string;
|
|
@@ -198,7 +196,7 @@ declare abstract class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
198
196
|
export declare class FeatureVariable extends SourceBasedVariable {
|
|
199
197
|
type: "feature";
|
|
200
198
|
constructor(props: ConstructorProperties<IProfileFeature>);
|
|
201
|
-
get title():
|
|
199
|
+
get title(): IIntlString | string;
|
|
202
200
|
protected _loadSource(): Promise<SupportedSource | null>;
|
|
203
201
|
toProfileVariableDefinition(): IProfileVariable;
|
|
204
202
|
}
|
|
@@ -206,8 +204,8 @@ export declare class FeatureSetVariable extends SourceBasedVariable {
|
|
|
206
204
|
private featureSetSnippets;
|
|
207
205
|
type: "featureSet";
|
|
208
206
|
protected _definition?: FeatureSetDefinition;
|
|
209
|
-
constructor(props: ConstructorProperties<IProfileFeatureSet>, featureSetSnippets?:
|
|
210
|
-
get title():
|
|
207
|
+
constructor(props: ConstructorProperties<IProfileFeatureSet>, featureSetSnippets?: ValueVariable[], relationshipProps?: IRelationshipsProperties);
|
|
208
|
+
get title(): IIntlString | string;
|
|
211
209
|
protected _loadSource(): Promise<SupportedSource | null>;
|
|
212
210
|
toProfileVariableDefinition(): IProfileVariable;
|
|
213
211
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BundleType, ApiItem, ApiVariableType, ProfileId } from "@arcgis/arcade-languageservice";
|
|
1
|
+
import type { BundleType, ApiItem, ApiVariableType, ProfileId } from "@arcgis/arcade-languageservice";
|
|
2
2
|
/**
|
|
3
3
|
* Editor Profile definition used for configuring the editor:
|
|
4
4
|
* - presenting to the user the Arcade API
|
|
@@ -23,15 +23,15 @@ export interface IEditorProfileDefinition {
|
|
|
23
23
|
/**
|
|
24
24
|
* The Arcade API bundles that the editor should use during validation and completion.
|
|
25
25
|
*/
|
|
26
|
-
bundles?:
|
|
26
|
+
bundles?: BundleType[];
|
|
27
27
|
/**
|
|
28
28
|
* A collection of additional Arcade API items that will be provided at runtime.
|
|
29
29
|
*/
|
|
30
|
-
additionalApiItems?:
|
|
30
|
+
additionalApiItems?: ApiItem[];
|
|
31
31
|
/**
|
|
32
32
|
* A collection of api item names to hide.
|
|
33
33
|
*/
|
|
34
|
-
hiddenApiItems?:
|
|
34
|
+
hiddenApiItems?: string[];
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* The type of variables supported.
|
|
@@ -40,11 +40,11 @@ export type ProfileVariableType = ApiVariableType;
|
|
|
40
40
|
/**
|
|
41
41
|
* The type of value variables supported.
|
|
42
42
|
*/
|
|
43
|
-
export type ProfileVariableValueType = "
|
|
43
|
+
export type ProfileVariableValueType = "boolean" | "date" | "dateOnly" | "geometry" | "number" | "text" | "time";
|
|
44
44
|
/**
|
|
45
45
|
* The supported profile variable types.
|
|
46
46
|
*/
|
|
47
|
-
export type IProfileVariable =
|
|
47
|
+
export type IProfileVariable = IProfileArray | IProfileDictionary | IProfileFeature | IProfileFeatureSet | IProfileFeatureSetCollection | IProfileValue;
|
|
48
48
|
/**
|
|
49
49
|
* Properties common to all profile variables.
|
|
50
50
|
*/
|
|
@@ -62,7 +62,7 @@ export interface IProfileVariableBase {
|
|
|
62
62
|
* Single value profile variable declaration.
|
|
63
63
|
*/
|
|
64
64
|
export interface IProfileValue extends IProfileVariableBase {
|
|
65
|
-
readonly type: "
|
|
65
|
+
readonly type: "boolean" | "date" | "dateOnly" | "geometry" | "number" | "text" | "time";
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Dictionary profile variable declaration. Properties of a dictionary are profile variables.
|
|
@@ -72,7 +72,7 @@ export interface IProfileDictionary extends IProfileVariableBase {
|
|
|
72
72
|
/**
|
|
73
73
|
* The dictionary properties. Properties are variables as well.
|
|
74
74
|
*/
|
|
75
|
-
properties:
|
|
75
|
+
properties: IProfileVariable[];
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Dictionary profile variable declaration. Properties of a dictionary are profile variables.
|
|
@@ -174,22 +174,22 @@ export interface IFieldsDefinition {
|
|
|
174
174
|
/**
|
|
175
175
|
* Supported layer for feature
|
|
176
176
|
*/
|
|
177
|
-
export type SupportedLayer = __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.OGCFeatureLayer | __esri.
|
|
177
|
+
export type SupportedLayer = __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.OGCFeatureLayer | __esri.SceneLayer | __esri.Sublayer | __esri.WFSLayer;
|
|
178
178
|
/**
|
|
179
179
|
* FeatureDefinition represents various ways a Feature variable could be defined
|
|
180
180
|
*/
|
|
181
|
-
export type FeatureDefinition =
|
|
181
|
+
export type FeatureDefinition = __esri.FeatureSet | IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition | SupportedLayer;
|
|
182
182
|
/**
|
|
183
183
|
* FeatureSetDefinition represents the various ways a FeatureSet variable
|
|
184
184
|
* could be defined.
|
|
185
185
|
*/
|
|
186
|
-
export type FeatureSetDefinition = __esri.FeatureLayer | __esri.FeatureSet |
|
|
186
|
+
export type FeatureSetDefinition = __esri.FeatureLayer | __esri.FeatureSet | IFeatureLayerItemDefinition | IFieldsDefinition | IUrlDefinition;
|
|
187
187
|
/**
|
|
188
188
|
* FeatureSetCollectionDefinition represents the various ways a FeatureSetCollection could be defined
|
|
189
189
|
* as a feature service or a web map.
|
|
190
190
|
*/
|
|
191
|
-
export type FeatureSetCollectionDefinition =
|
|
192
|
-
export type VariableDefinitions = Record<string, FeatureDefinition |
|
|
191
|
+
export type FeatureSetCollectionDefinition = __esri.WebMap | FeatureSetDefinition | IPortalItemDefinition;
|
|
192
|
+
export type VariableDefinitions = Record<string, FeatureDefinition | FeatureSetCollectionDefinition | FeatureSetDefinition | IProfileVariable[] | undefined>;
|
|
193
193
|
export interface IPredefinedProfile {
|
|
194
194
|
/**
|
|
195
195
|
* The well known profile ID.
|
|
@@ -206,5 +206,5 @@ export interface IPredefinedProfile {
|
|
|
206
206
|
/**
|
|
207
207
|
* A collection of api item names to hide.
|
|
208
208
|
*/
|
|
209
|
-
hiddenApiItems?:
|
|
209
|
+
hiddenApiItems?: string[];
|
|
210
210
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFeatureLayerItemDefinition, IFieldsDefinition, IPortalItemDefinition, IPredefinedProfile, IUrlDefinition, SupportedLayer } from "./types";
|
|
1
|
+
import type { IFeatureLayerItemDefinition, IFieldsDefinition, IPortalItemDefinition, IPredefinedProfile, IUrlDefinition, SupportedLayer } from "./types";
|
|
2
2
|
export declare function newPortalItem(definition: __esri.PortalItemProperties): Promise<__esri.PortalItem>;
|
|
3
3
|
export declare function newFeatureLayer(definition: __esri.FeatureLayerProperties): Promise<__esri.FeatureLayer>;
|
|
4
4
|
export declare function newWebMap(definition: __esri.WebMapProperties): Promise<__esri.WebMap>;
|
|
@@ -4,7 +4,7 @@ type KeysOfType<T, U> = {
|
|
|
4
4
|
/**
|
|
5
5
|
* Filters a collection of items by the given keys and filter word.
|
|
6
6
|
*/
|
|
7
|
-
export declare function filterCollection<T, U extends KeysOfType<T, string | undefined>>(collection:
|
|
7
|
+
export declare function filterCollection<T, U extends KeysOfType<T, string | undefined>>(collection: T[], keys: U | U[], filterWord: string, beforeFilteringFn?: (item: T) => boolean | undefined): T[];
|
|
8
8
|
/**
|
|
9
9
|
* Returns the url to the portal item.
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
3
|
"description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
-
"version": "4.29.0-beta.
|
|
5
|
+
"version": "4.29.0-beta.63",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"generate": "stencil generate"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@arcgis/arcade-languageservice": "4.29.0-beta.
|
|
51
|
+
"@arcgis/arcade-languageservice": "4.29.0-beta.63",
|
|
52
52
|
"@stencil/core": "4.8.2",
|
|
53
|
-
"monaco-editor": "^0.
|
|
53
|
+
"monaco-editor": "^0.45.0",
|
|
54
54
|
"vscode-languageserver-types": "^3.17.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@arcgis/components-plugins": "4.29.0-beta.
|
|
58
|
-
"@arcgis/components-utils": "4.29.0-beta.
|
|
57
|
+
"@arcgis/components-plugins": "4.29.0-beta.63",
|
|
58
|
+
"@arcgis/components-utils": "4.29.0-beta.63",
|
|
59
59
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
60
|
-
"@arcgis/core-adapter": "4.29.0-beta.
|
|
60
|
+
"@arcgis/core-adapter": "4.29.0-beta.63",
|
|
61
61
|
"@arcgis/typescript-config": "1.0.0",
|
|
62
62
|
"@esri/calcite-components": "^2.1.0",
|
|
63
63
|
"@stencil/angular-output-target": "0.8.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
108
108
|
"@esri/calcite-components": "^2.1.0"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "645150840f970b4bedab8ab0419ecfff866478ba"
|
|
111
111
|
}
|