@arcgis/coding-components 4.29.0-beta.47 → 4.29.0-beta.49

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.
Files changed (94) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
  2. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +13 -13
  3. package/dist/arcgis-coding-components/index.esm.js +1 -1
  4. package/dist/arcgis-coding-components/{p-10a322ec.js → p-0d616249.js} +9 -9
  5. package/dist/arcgis-coding-components/p-2c0d6f15.js +2 -0
  6. package/dist/arcgis-coding-components/{p-71faf9a4.js → p-5802524a.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-9eabda86.js → p-5ddccf04.js} +1 -1
  8. package/dist/arcgis-coding-components/p-7475f3a6.js +1 -0
  9. package/dist/arcgis-coding-components/{p-e6ede32d.js → p-7d8caba9.js} +1 -1
  10. package/dist/arcgis-coding-components/{p-f7d7d78d.js → p-9f6db08a.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-e475e6cd.js → p-aefe77ce.js} +1 -1
  12. package/dist/arcgis-coding-components/p-ce2be55e.entry.js +1 -0
  13. package/dist/arcgis-coding-components/{p-ce586a8c.js → p-d425a387.js} +1 -1
  14. package/dist/arcgis-coding-components/{p-c084ada8.js → p-ff21f230.js} +1 -1
  15. package/dist/cjs/{arcade-defaults-8445d852.js → arcade-defaults-2d513b59.js} +1534 -1534
  16. package/dist/cjs/arcade-mode-6219f1b8.js +599 -0
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1404 -1408
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{cssMode-e63287bb.js → cssMode-1ec48254.js} +2 -2
  20. package/dist/cjs/{html-c0d4db3b.js → html-0e1741fe.js} +2 -2
  21. package/dist/cjs/{htmlMode-fdc44d57.js → htmlMode-279d3c29.js} +2 -2
  22. package/dist/cjs/{index-6a382a34.js → index-ac186201.js} +67 -24
  23. package/dist/cjs/index.cjs.js +2 -2
  24. package/dist/cjs/{javascript-a419d064.js → javascript-04f1bce0.js} +3 -3
  25. package/dist/cjs/{jsonMode-73aee5d2.js → jsonMode-59322f7a.js} +2 -2
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/cjs/{tsMode-37d1b053.js → tsMode-17561f70.js} +2 -2
  28. package/dist/cjs/{typescript-53f9f36a.js → typescript-b7da8629.js} +2 -2
  29. package/dist/components/arcade-api.js +160 -160
  30. package/dist/components/arcade-contribution.js +60 -60
  31. package/dist/components/arcade-defaults.js +1240 -1240
  32. package/dist/components/arcade-mode.js +514 -513
  33. package/dist/components/arcade-results.js +426 -430
  34. package/dist/components/arcade-suggestions.js +130 -132
  35. package/dist/components/arcade-variables.js +157 -155
  36. package/dist/components/arcgis-arcade-api.d.ts +2 -2
  37. package/dist/components/arcgis-arcade-editor.d.ts +2 -2
  38. package/dist/components/arcgis-arcade-editor.js +391 -391
  39. package/dist/components/arcgis-arcade-results.d.ts +2 -2
  40. package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
  41. package/dist/components/arcgis-arcade-variables.d.ts +2 -2
  42. package/dist/components/arcgis-code-editor.d.ts +2 -2
  43. package/dist/components/code-editor.js +251 -251
  44. package/dist/components/fields.js +69 -69
  45. package/dist/components/functional-components.js +1 -1
  46. package/dist/components/index2.js +2 -2
  47. package/dist/components/markdown.js +28 -28
  48. package/dist/components/utilities.js +20 -20
  49. package/dist/esm/{arcade-defaults-d7893362.js → arcade-defaults-0bafa696.js} +1534 -1534
  50. package/dist/esm/arcade-mode-c17a1fa1.js +595 -0
  51. package/dist/esm/arcgis-arcade-api_6.entry.js +1404 -1408
  52. package/dist/esm/arcgis-coding-components.js +3 -3
  53. package/dist/esm/{cssMode-b1771f92.js → cssMode-3d18bd2b.js} +2 -2
  54. package/dist/esm/{html-af635d52.js → html-2bce5d77.js} +2 -2
  55. package/dist/esm/{htmlMode-3021c301.js → htmlMode-69d56956.js} +2 -2
  56. package/dist/esm/{index-fd6b2fd8.js → index-022fb97b.js} +67 -24
  57. package/dist/esm/index.js +2 -2
  58. package/dist/esm/{javascript-70589186.js → javascript-ded5c9d7.js} +3 -3
  59. package/dist/esm/{jsonMode-cb509b79.js → jsonMode-0bf84cb2.js} +2 -2
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/{tsMode-ed90c9aa.js → tsMode-15d4e936.js} +2 -2
  62. package/dist/esm/{typescript-db8a0b18.js → typescript-cc4d00f0.js} +2 -2
  63. package/dist/types/components/arcade-api/arcade-api.d.ts +40 -40
  64. package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
  65. package/dist/types/components/arcade-editor/arcade-editor.d.ts +127 -127
  66. package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
  67. package/dist/types/components/arcade-results/arcade-results.d.ts +47 -47
  68. package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
  69. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +34 -34
  70. package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
  71. package/dist/types/components/arcade-variables/arcade-variables.d.ts +41 -41
  72. package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
  73. package/dist/types/components/code-editor/code-editor.d.ts +73 -73
  74. package/dist/types/stencil-public-runtime.d.ts +8 -0
  75. package/dist/types/utils/arcade-executor.d.ts +79 -79
  76. package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +66 -66
  77. package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +23 -23
  78. package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +9 -9
  79. package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +7 -7
  80. package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +9 -9
  81. package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +12 -12
  82. package/dist/types/utils/arcade-monaco/types.d.ts +29 -29
  83. package/dist/types/utils/editor-suggestions.d.ts +24 -24
  84. package/dist/types/utils/functional-components.d.ts +1 -1
  85. package/dist/types/utils/markdown.d.ts +1 -1
  86. package/dist/types/utils/profile/editor-profile.d.ts +185 -185
  87. package/dist/types/utils/profile/types.d.ts +101 -101
  88. package/dist/types/utils/utilities.d.ts +1 -1
  89. package/package.json +7 -7
  90. package/dist/arcgis-coding-components/p-5d670bd2.js +0 -2
  91. package/dist/arcgis-coding-components/p-9e242e76.js +0 -1
  92. package/dist/arcgis-coding-components/p-ccdf0ac1.entry.js +0 -1
  93. package/dist/cjs/arcade-mode-b77afcc9.js +0 -598
  94. package/dist/esm/arcade-mode-70e22d22.js +0 -594
@@ -1,7 +1,7 @@
1
1
  import { 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
3
  type IIntlProfileStrings = ProfileStrings & {
4
- [key: string]: string;
4
+ [key: string]: string;
5
5
  };
6
6
  type SupportedSource = SupportedLayer | __esri.FeatureSet | IFieldsDefinition;
7
7
  /**
@@ -9,50 +9,50 @@ type SupportedSource = SupportedLayer | __esri.FeatureSet | IFieldsDefinition;
9
9
  * or Feature Services.
10
10
  */
11
11
  interface IFeatureSetCollections {
12
- /**
13
- * The collection of layers in the featureSetCollection. Layers contain features
14
- * with geometry.
15
- */
16
- layers: Array<FeatureSetVariable | GroupOfVariables>;
17
- /**
18
- * The collection of tables in the featureSetCollection. Tables contain features
19
- * that don't have a geometry.
20
- */
21
- tables: Array<FeatureSetVariable | GroupOfVariables>;
22
- /**
23
- * If the feature set collection represents a Web Map then it will contain the
24
- * WebMap instance.
25
- * If the feature set collection represents a service then it will be its URL.
26
- */
27
- source: __esri.WebMap | string;
12
+ /**
13
+ * The collection of layers in the featureSetCollection. Layers contain features
14
+ * with geometry.
15
+ */
16
+ layers: Array<FeatureSetVariable | GroupOfVariables>;
17
+ /**
18
+ * The collection of tables in the featureSetCollection. Tables contain features
19
+ * that don't have a geometry.
20
+ */
21
+ tables: Array<FeatureSetVariable | GroupOfVariables>;
22
+ /**
23
+ * If the feature set collection represents a Web Map then it will contain the
24
+ * WebMap instance.
25
+ * If the feature set collection represents a service then it will be its URL.
26
+ */
27
+ source: __esri.WebMap | string;
28
28
  }
29
29
  /**
30
30
  * Represents a string that will have to be manufactured from a Intl strings resource.
31
31
  */
32
32
  interface IIntlString {
33
- /**
34
- * The intl code in the Intl strings resource.
35
- */
36
- code: string;
37
- /**
38
- * The properties that the Intl string may leverage during the composition of the string.
39
- * Example:
40
- * - the intl string is defined as: "webmaptitle": "Web Map - {title}"
41
- * - the formatValues should be an object `{title: "California Fires"}`
42
- */
43
- formatValues?: Record<string, string>;
33
+ /**
34
+ * The intl code in the Intl strings resource.
35
+ */
36
+ code: string;
37
+ /**
38
+ * The properties that the Intl string may leverage during the composition of the string.
39
+ * Example:
40
+ * - the intl string is defined as: "webmaptitle": "Web Map - {title}"
41
+ * - the formatValues should be an object `{title: "California Fires"}`
42
+ */
43
+ formatValues?: Record<string, string>;
44
44
  }
45
45
  type ProfileItemType = ApiVariableType | "group";
46
46
  export type EditorVariable = ValueVariable | FeatureVariable | FeatureSetVariable | FeatureSetCollectionVariable | DictionaryVariable | ArrayVariable;
47
47
  interface ConstructorProperties<T> {
48
- profile?: EditorProfile | null;
49
- declaration?: Partial<T>;
50
- label?: string | IIntlString;
51
- description?: string | IIntlString;
52
- snippet?: string;
53
- nonInteractive?: boolean;
54
- filterDescription?: boolean;
55
- icon?: string;
48
+ profile?: EditorProfile | null;
49
+ declaration?: Partial<T>;
50
+ label?: string | IIntlString;
51
+ description?: string | IIntlString;
52
+ snippet?: string;
53
+ nonInteractive?: boolean;
54
+ filterDescription?: boolean;
55
+ icon?: string;
56
56
  }
57
57
  /**
58
58
  * Represents a item in the EditorProfile. The profile is converted into an optimized way for
@@ -60,69 +60,69 @@ interface ConstructorProperties<T> {
60
60
  * structures are created such as groups.
61
61
  */
62
62
  declare abstract class ProfileItemBase {
63
- protected _profile: EditorProfile | null | undefined;
64
- private readonly _label;
65
- protected readonly description?: string | IIntlString | undefined;
66
- abstract readonly type: ProfileItemType;
67
- protected filterDescription: boolean;
68
- /**
69
- * True if the item repsents a collection of items.
70
- */
71
- abstract readonly isCollection: boolean;
72
- constructor(_profile: EditorProfile | null | undefined, _label: string | IIntlString | undefined, description?: string | IIntlString | undefined);
73
- /**
74
- * Returns the label string.
75
- */
76
- getLabel(): string;
77
- /**
78
- * Returns the description string.
79
- */
80
- getDescription(): string;
81
- /**
82
- * Returns true if the item pass the filter test
83
- */
84
- passFilter(filterExpression?: RegExp): boolean;
63
+ protected _profile: EditorProfile | null | undefined;
64
+ private readonly _label;
65
+ protected readonly description?: string | IIntlString | undefined;
66
+ abstract readonly type: ProfileItemType;
67
+ protected filterDescription: boolean;
68
+ /**
69
+ * True if the item repsents a collection of items.
70
+ */
71
+ abstract readonly isCollection: boolean;
72
+ constructor(_profile: EditorProfile | null | undefined, _label: string | IIntlString | undefined, description?: string | IIntlString | undefined);
73
+ /**
74
+ * Returns the label string.
75
+ */
76
+ getLabel(): string;
77
+ /**
78
+ * Returns the description string.
79
+ */
80
+ getDescription(): string;
81
+ /**
82
+ * Returns true if the item pass the filter test
83
+ */
84
+ passFilter(filterExpression?: RegExp): boolean;
85
85
  }
86
86
  /**
87
87
  * The base class for profile variables representation in the EditorProfile.
88
88
  */
89
89
  declare abstract class VariableBase extends ProfileItemBase {
90
- abstract readonly type: ApiVariableType;
91
- readonly name: string;
92
- readonly snippet: string;
93
- /**
94
- * True if the variable doesn't can be used as snippet by the editor.
95
- */
96
- readonly nonInteractive: boolean;
97
- protected declaration: Partial<IProfileVariableBase>;
98
- icon: string | undefined;
99
- constructor(props: ConstructorProperties<IProfileVariableBase>);
100
- /**
101
- * Returns the IProfileVariable json representation.
102
- */
103
- abstract toProfileVariableDefinition(): IProfileVariable;
90
+ abstract readonly type: ApiVariableType;
91
+ readonly name: string;
92
+ readonly snippet: string;
93
+ /**
94
+ * True if the variable doesn't can be used as snippet by the editor.
95
+ */
96
+ readonly nonInteractive: boolean;
97
+ protected declaration: Partial<IProfileVariableBase>;
98
+ icon: string | undefined;
99
+ constructor(props: ConstructorProperties<IProfileVariableBase>);
100
+ /**
101
+ * Returns the IProfileVariable json representation.
102
+ */
103
+ abstract toProfileVariableDefinition(): IProfileVariable;
104
104
  }
105
105
  /**
106
106
  * Represents the IProfileValue.
107
107
  */
108
108
  export declare class ValueVariable extends VariableBase {
109
- type: ProfileVariableValueType;
110
- isCollection: false;
111
- constructor(props: ConstructorProperties<IProfileValue>);
112
- getDescription(): string;
113
- toProfileVariableDefinition(): IProfileVariable;
109
+ type: ProfileVariableValueType;
110
+ isCollection: false;
111
+ constructor(props: ConstructorProperties<IProfileValue>);
112
+ getDescription(): string;
113
+ toProfileVariableDefinition(): IProfileVariable;
114
114
  }
115
115
  /**
116
116
  * Represents the IProfileArray. The main difference is that the IProfileValue type
117
117
  * is used as valueType.
118
118
  */
119
119
  export declare class ArrayVariable extends VariableBase {
120
- type: "array";
121
- isCollection: false;
122
- elementType: IProfileVariable;
123
- constructor(props: ConstructorProperties<IProfileArray>);
124
- getDescription(): string;
125
- toProfileVariableDefinition(): IProfileArray;
120
+ type: "array";
121
+ isCollection: false;
122
+ elementType: IProfileVariable;
123
+ constructor(props: ConstructorProperties<IProfileArray>);
124
+ getDescription(): string;
125
+ toProfileVariableDefinition(): IProfileArray;
126
126
  }
127
127
  /**
128
128
  * Represents a collection of items. The collection of items can be synchronous or
@@ -131,104 +131,104 @@ export declare class ArrayVariable extends VariableBase {
131
131
  * collection is ready or not.
132
132
  */
133
133
  export declare abstract class CollectionBasedVariable extends VariableBase {
134
- isCollection: true;
135
- protected _loaded: boolean;
136
- /**
137
- * The collection of items used to display the profile.
138
- * If the collection is asynchronous, the 'load' function should
139
- * be called first before using the items.
140
- */
141
- variables: Array<EditorVariable | GroupOfVariables>;
142
- constructor(props: ConstructorProperties<IProfileVariableBase>);
143
- /**
144
- * Returns true if the collection has been loaded
145
- */
146
- get loaded(): boolean;
147
- /**
148
- * Loads the items if the collection is asynchronous.
149
- * If the colleciton is synchronous then the function is a no-op.
150
- */
151
- loadSource(): Promise<unknown>;
152
- /**
153
- * Returns an url to the associated information
154
- */
155
- get informationUrl(): string | null;
156
- get informationType(): string;
134
+ isCollection: true;
135
+ protected _loaded: boolean;
136
+ /**
137
+ * The collection of items used to display the profile.
138
+ * If the collection is asynchronous, the 'load' function should
139
+ * be called first before using the items.
140
+ */
141
+ variables: Array<EditorVariable | GroupOfVariables>;
142
+ constructor(props: ConstructorProperties<IProfileVariableBase>);
143
+ /**
144
+ * Returns true if the collection has been loaded
145
+ */
146
+ get loaded(): boolean;
147
+ /**
148
+ * Loads the items if the collection is asynchronous.
149
+ * If the colleciton is synchronous then the function is a no-op.
150
+ */
151
+ loadSource(): Promise<unknown>;
152
+ /**
153
+ * Returns an url to the associated information
154
+ */
155
+ get informationUrl(): string | null;
156
+ get informationType(): string;
157
157
  }
158
158
  export declare class GroupOfVariables extends ProfileItemBase {
159
- variables: Array<EditorVariable | GroupOfVariables>;
160
- type: "group";
161
- isCollection: true;
162
- constructor(profile: EditorProfile | null | undefined, label: string | IIntlString, variables?: Array<EditorVariable | GroupOfVariables>);
163
- passFilter(): boolean;
159
+ variables: Array<EditorVariable | GroupOfVariables>;
160
+ type: "group";
161
+ isCollection: true;
162
+ constructor(profile: EditorProfile | null | undefined, label: string | IIntlString, variables?: Array<EditorVariable | GroupOfVariables>);
163
+ passFilter(): boolean;
164
164
  }
165
165
  export declare class DictionaryVariable extends CollectionBasedVariable {
166
- type: "dictionary";
167
- /**
168
- * The variables that the dictionary holds. It is different than the variables.
169
- * The variables may contain grouping.
170
- */
171
- dictionaryVariables: EditorVariable[];
172
- constructor(props: ConstructorProperties<IProfileDictionary>);
173
- protected loadPropertyDeclarations(declarations: IProfileVariable[] | undefined): void;
174
- private createVariableInstances;
175
- private createVariableInstance;
176
- toProfileVariableDefinition(): IProfileVariable;
166
+ type: "dictionary";
167
+ /**
168
+ * The variables that the dictionary holds. It is different than the variables.
169
+ * The variables may contain grouping.
170
+ */
171
+ dictionaryVariables: EditorVariable[];
172
+ constructor(props: ConstructorProperties<IProfileDictionary>);
173
+ protected loadPropertyDeclarations(declarations: IProfileVariable[] | undefined): void;
174
+ private createVariableInstances;
175
+ private createVariableInstance;
176
+ toProfileVariableDefinition(): IProfileVariable;
177
177
  }
178
178
  interface IRelationshipsProperties {
179
- exposeRelationships: boolean;
180
- sourceTableId?: number;
179
+ exposeRelationships: boolean;
180
+ sourceTableId?: number;
181
181
  }
182
182
  declare abstract class SourceBasedVariable extends CollectionBasedVariable {
183
- private relationshipsProperties?;
184
- protected _definition?: FeatureDefinition | FeatureSetDefinition;
185
- protected _source: SupportedSource | null;
186
- protected _loadPromise?: Promise<SupportedSource | null>;
187
- constructor(props: ConstructorProperties<IProfileFeature | IProfileFeatureSet>, relationshipsProperties?: IRelationshipsProperties | undefined);
188
- get title(): string | IIntlString;
189
- get url(): string;
190
- get informationUrl(): string | null;
191
- get informationType(): string;
192
- loadSource(): Promise<SupportedSource | null>;
193
- protected abstract _loadSource(): Promise<SupportedSource | null>;
194
- protected _getFieldProperty(field: __esri.Field): EditorVariable;
195
- private _getSubtypesOrDomainValuesDictionary;
196
- protected _getRelationshipsProperty(): Promise<GroupOfVariables | null>;
183
+ private relationshipsProperties?;
184
+ protected _definition?: FeatureDefinition | FeatureSetDefinition;
185
+ protected _source: SupportedSource | null;
186
+ protected _loadPromise?: Promise<SupportedSource | null>;
187
+ constructor(props: ConstructorProperties<IProfileFeature | IProfileFeatureSet>, relationshipsProperties?: IRelationshipsProperties | undefined);
188
+ get title(): string | IIntlString;
189
+ get url(): string;
190
+ get informationUrl(): string | null;
191
+ get informationType(): string;
192
+ loadSource(): Promise<SupportedSource | null>;
193
+ protected abstract _loadSource(): Promise<SupportedSource | null>;
194
+ protected _getFieldProperty(field: __esri.Field): EditorVariable;
195
+ private _getSubtypesOrDomainValuesDictionary;
196
+ protected _getRelationshipsProperty(): Promise<GroupOfVariables | null>;
197
197
  }
198
198
  export declare class FeatureVariable extends SourceBasedVariable {
199
- type: "feature";
200
- constructor(props: ConstructorProperties<IProfileFeature>);
201
- get title(): string | IIntlString;
202
- protected _loadSource(): Promise<SupportedSource | null>;
203
- toProfileVariableDefinition(): IProfileVariable;
199
+ type: "feature";
200
+ constructor(props: ConstructorProperties<IProfileFeature>);
201
+ get title(): string | IIntlString;
202
+ protected _loadSource(): Promise<SupportedSource | null>;
203
+ toProfileVariableDefinition(): IProfileVariable;
204
204
  }
205
205
  export declare class FeatureSetVariable extends SourceBasedVariable {
206
- private featureSetSnippets;
207
- type: "featureSet";
208
- protected _definition?: FeatureSetDefinition;
209
- constructor(props: ConstructorProperties<IProfileFeatureSet>, featureSetSnippets?: Array<ValueVariable>, relationshipProps?: IRelationshipsProperties);
210
- get title(): string | IIntlString;
211
- protected _loadSource(): Promise<SupportedSource | null>;
212
- toProfileVariableDefinition(): IProfileVariable;
206
+ private featureSetSnippets;
207
+ type: "featureSet";
208
+ protected _definition?: FeatureSetDefinition;
209
+ constructor(props: ConstructorProperties<IProfileFeatureSet>, featureSetSnippets?: Array<ValueVariable>, relationshipProps?: IRelationshipsProperties);
210
+ get title(): string | IIntlString;
211
+ protected _loadSource(): Promise<SupportedSource | null>;
212
+ toProfileVariableDefinition(): IProfileVariable;
213
213
  }
214
214
  export declare class FeatureSetCollectionVariable extends CollectionBasedVariable {
215
- type: "featureSetCollection";
216
- private _definition?;
217
- private _loadPromise?;
218
- private _featureSetCollections;
219
- constructor(props: ConstructorProperties<IProfileFeatureSetCollection>);
220
- get informationUrl(): string | null;
221
- get informationType(): string;
222
- loadSource(): Promise<IFeatureSetCollections | null>;
223
- private _loadSource;
224
- private _featureSetCollectionsFromDefinition;
225
- private _featureSetCollectionFromWebMap;
226
- private _featureSetCollectionFromPortalItem;
227
- private _featureSetCollectionFromUrl;
228
- private _convertWebMapLayersToVariables;
229
- private _createFeatureSetVariable;
230
- private _makeFeatureSetSnippets;
231
- toProfileVariableDefinition(): IProfileVariable;
215
+ type: "featureSetCollection";
216
+ private _definition?;
217
+ private _loadPromise?;
218
+ private _featureSetCollections;
219
+ constructor(props: ConstructorProperties<IProfileFeatureSetCollection>);
220
+ get informationUrl(): string | null;
221
+ get informationType(): string;
222
+ loadSource(): Promise<IFeatureSetCollections | null>;
223
+ private _loadSource;
224
+ private _featureSetCollectionsFromDefinition;
225
+ private _featureSetCollectionFromWebMap;
226
+ private _featureSetCollectionFromPortalItem;
227
+ private _featureSetCollectionFromUrl;
228
+ private _convertWebMapLayersToVariables;
229
+ private _createFeatureSetVariable;
230
+ private _makeFeatureSetSnippets;
231
+ toProfileVariableDefinition(): IProfileVariable;
232
232
  }
233
233
  /**
234
234
  * The EditorProfile is an object that represents an Arcade Profile.
@@ -239,23 +239,23 @@ export declare class FeatureSetCollectionVariable extends CollectionBasedVariabl
239
239
  * They need to be loaded asynchronously to get the metadata necessary for validation and completion.
240
240
  */
241
241
  export declare class EditorProfile extends DictionaryVariable {
242
- readonly definition: IEditorProfileDefinition | undefined;
243
- readonly intlStrings: IIntlProfileStrings;
244
- readonly locale: string;
245
- variables: EditorVariable[];
246
- constructor(definition: IEditorProfileDefinition | undefined, intlStrings: IIntlProfileStrings, locale?: string);
247
- /**
248
- * Returns true if the profile supports feature set functions for snippets.
249
- */
250
- get supportFeatureSetFunctions(): boolean;
251
- /**
252
- * Returns the language service profile. It is different than the editor profile as it is optimized for Monaco.
253
- */
254
- toLSProfile(): Promise<ApiProfile>;
255
- /**
256
- * Returns the EditorProfile as a json. The EditorProfile may have been updated. This function allows to
257
- * get the new json representing mutations.
258
- */
259
- toEditorProfileDefinition(): IEditorProfileDefinition;
242
+ readonly definition: IEditorProfileDefinition | undefined;
243
+ readonly intlStrings: IIntlProfileStrings;
244
+ readonly locale: string;
245
+ variables: EditorVariable[];
246
+ constructor(definition: IEditorProfileDefinition | undefined, intlStrings: IIntlProfileStrings, locale?: string);
247
+ /**
248
+ * Returns true if the profile supports feature set functions for snippets.
249
+ */
250
+ get supportFeatureSetFunctions(): boolean;
251
+ /**
252
+ * Returns the language service profile. It is different than the editor profile as it is optimized for Monaco.
253
+ */
254
+ toLSProfile(): Promise<ApiProfile>;
255
+ /**
256
+ * Returns the EditorProfile as a json. The EditorProfile may have been updated. This function allows to
257
+ * get the new json representing mutations.
258
+ */
259
+ toEditorProfileDefinition(): IEditorProfileDefinition;
260
260
  }
261
261
  export {};