@arcgis/coding-components 4.29.0-beta.67 → 4.29.0-beta.69
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/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-9301388a.js → p-03b0ec9a.js} +1 -1
- package/dist/arcgis-coding-components/{p-3b2457f7.js → p-0c2f4384.js} +7 -7
- package/dist/arcgis-coding-components/{p-8010edc0.js → p-0f636dd2.js} +1 -1
- package/dist/arcgis-coding-components/{p-c0bf49ad.js → p-4f5314f5.js} +1 -1
- package/dist/arcgis-coding-components/{p-59247049.js → p-723fc69e.js} +1 -1
- package/dist/arcgis-coding-components/{p-ec3e9c42.js → p-7416105e.js} +1 -1
- package/dist/arcgis-coding-components/{p-be5ec0c4.entry.js → p-8fb41167.entry.js} +1 -1
- package/dist/arcgis-coding-components/{p-6e1f1ee0.js → p-a73841b8.js} +1 -1
- package/dist/arcgis-coding-components/{p-45b5bca3.js → p-d07b6214.js} +1 -1
- package/dist/arcgis-coding-components/{p-21871ede.js → p-ef6982d2.js} +1 -1
- package/dist/cjs/{arcade-defaults-82737060.js → arcade-defaults-51a9667c.js} +236 -114
- package/dist/cjs/{arcade-mode-b21b24cc.js → arcade-mode-7705211c.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +2 -2
- package/dist/cjs/{cssMode-bc43621f.js → cssMode-1569c17b.js} +1 -1
- package/dist/cjs/{html-4a747b36.js → html-198d0fbe.js} +1 -1
- package/dist/cjs/{htmlMode-c11513d8.js → htmlMode-cb94b682.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-51f1b49d.js → javascript-c39cbb25.js} +2 -2
- package/dist/cjs/{jsonMode-3985bbe9.js → jsonMode-23c556fc.js} +1 -1
- package/dist/cjs/{tsMode-b2b3fb82.js → tsMode-f2bafe49.js} +1 -1
- package/dist/cjs/{typescript-795a538e.js → typescript-ee8ec13b.js} +1 -1
- package/dist/components/arcade-defaults.js +230 -108
- package/dist/esm/{arcade-defaults-375c8393.js → arcade-defaults-501b9076.js} +236 -114
- package/dist/esm/{arcade-mode-2b1c4c38.js → arcade-mode-f97a9a16.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +2 -2
- package/dist/esm/{cssMode-2d3bbf6d.js → cssMode-df00f38e.js} +1 -1
- package/dist/esm/{html-ba801b93.js → html-c506d52b.js} +1 -1
- package/dist/esm/{htmlMode-790fcdc3.js → htmlMode-01fe416c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-10081345.js → javascript-2d3d5417.js} +2 -2
- package/dist/esm/{jsonMode-d6de3d90.js → jsonMode-a5223892.js} +1 -1
- package/dist/esm/{tsMode-2efadb1a.js → tsMode-019f7ae9.js} +1 -1
- package/dist/esm/{typescript-534a4558.js → typescript-dd5fb7df.js} +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +19 -5
- package/dist/types/utils/profile/utils.d.ts +15 -11
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { o as monaco_editor_core_star } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { o as monaco_editor_core_star } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as arcade } from './arcade-defaults-
|
|
1
|
+
export { a as arcade } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
2
|
-
import './arcade-defaults-
|
|
1
|
+
import { conf as conf$1, language as language$1 } from './typescript-dd5fb7df.js';
|
|
2
|
+
import './arcade-defaults-501b9076.js';
|
|
3
3
|
import './index-022fb97b.js';
|
|
4
4
|
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { o as monaco_editor_core_star } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as typescriptDefaults, o as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { p as typescriptDefaults, o as monaco_editor_core_star } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as monaco_editor_core_star } from './arcade-defaults-
|
|
1
|
+
import { o as monaco_editor_core_star } from './arcade-defaults-501b9076.js';
|
|
2
2
|
import './index-022fb97b.js';
|
|
3
3
|
|
|
4
4
|
/*!-----------------------------------------------------------------------------
|
|
@@ -1,7 +1,16 @@
|
|
|
1
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
|
|
3
|
+
type IndexedProfileStrings = ProfileStrings & Record<string, string | undefined>;
|
|
4
4
|
type SupportedSource = __esri.FeatureSet | IFieldsDefinition | SupportedLayer;
|
|
5
|
+
/**
|
|
6
|
+
* Layer that supports field domains.
|
|
7
|
+
*/
|
|
8
|
+
interface IDomainsCapableSource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the Domain associated with the given field name.
|
|
11
|
+
*/
|
|
12
|
+
getFieldDomain: (fieldName: string) => __esri.Domain | null;
|
|
13
|
+
}
|
|
5
14
|
/**
|
|
6
15
|
* FeatureSetCollection interface. Used in Arcade expressions to represent Web Maps
|
|
7
16
|
* or Feature Services.
|
|
@@ -137,7 +146,6 @@ export declare abstract class CollectionBasedVariable extends VariableBase {
|
|
|
137
146
|
* be called first before using the items.
|
|
138
147
|
*/
|
|
139
148
|
variables: (EditorVariable | GroupOfVariables)[];
|
|
140
|
-
constructor(props: ConstructorProperties<IProfileVariableBase>);
|
|
141
149
|
/**
|
|
142
150
|
* Returns true if the collection has been loaded
|
|
143
151
|
*/
|
|
@@ -189,8 +197,14 @@ declare abstract class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
189
197
|
get informationType(): string;
|
|
190
198
|
loadSource(): Promise<SupportedSource | null>;
|
|
191
199
|
protected abstract _loadSource(): Promise<SupportedSource | null>;
|
|
200
|
+
protected _getValueSnippet(field: __esri.Field): string;
|
|
192
201
|
protected _getFieldProperty(field: __esri.Field): EditorVariable;
|
|
193
|
-
|
|
202
|
+
protected get _domainSource(): IDomainsCapableSource | null;
|
|
203
|
+
private _getDomainDictionary;
|
|
204
|
+
private _getSubtypeDomainDictionary;
|
|
205
|
+
private _getFeatureTypeDomainDictionary;
|
|
206
|
+
private _getFieldDomainDictionary;
|
|
207
|
+
protected _createDomainDictionary(field: __esri.Field): DictionaryVariable;
|
|
194
208
|
protected _getRelationshipsProperty(): Promise<GroupOfVariables | null>;
|
|
195
209
|
}
|
|
196
210
|
export declare class FeatureVariable extends SourceBasedVariable {
|
|
@@ -238,10 +252,10 @@ export declare class FeatureSetCollectionVariable extends CollectionBasedVariabl
|
|
|
238
252
|
*/
|
|
239
253
|
export declare class EditorProfile extends DictionaryVariable {
|
|
240
254
|
readonly definition: IEditorProfileDefinition | undefined;
|
|
241
|
-
readonly intlStrings:
|
|
255
|
+
readonly intlStrings: IndexedProfileStrings;
|
|
242
256
|
readonly locale: string;
|
|
243
257
|
variables: EditorVariable[];
|
|
244
|
-
constructor(definition: IEditorProfileDefinition | undefined, intlStrings:
|
|
258
|
+
constructor(definition: IEditorProfileDefinition | undefined, intlStrings: IndexedProfileStrings, locale?: string);
|
|
245
259
|
/**
|
|
246
260
|
* Returns true if the profile supports feature set functions for snippets.
|
|
247
261
|
*/
|
|
@@ -2,14 +2,18 @@ import type { IFeatureLayerItemDefinition, IFieldsDefinition, IPortalItemDefinit
|
|
|
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>;
|
|
5
|
-
export declare function isSupportedLayerInstance(item:
|
|
6
|
-
export declare function isFeatureSetInstance(item:
|
|
7
|
-
export declare function isQueryableLayerInstance(item:
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
5
|
+
export declare function isSupportedLayerInstance(item: unknown): item is SupportedLayer;
|
|
6
|
+
export declare function isFeatureSetInstance(item: unknown): item is __esri.FeatureSet;
|
|
7
|
+
export declare function isQueryableLayerInstance(item: unknown): item is __esri.FeatureLayer;
|
|
8
|
+
export declare function isSubtypeSublayerInstance(item: unknown): item is __esri.SubtypeSublayer;
|
|
9
|
+
export declare function isGroupLayerInstance(item: unknown): item is __esri.GroupLayer;
|
|
10
|
+
export declare function isMapImageLayerInstance(item: unknown): item is __esri.MapImageLayer;
|
|
11
|
+
export declare function isWebMapInstance(item: unknown): item is __esri.WebMap;
|
|
12
|
+
export declare function isPortalItemDefinition(item: unknown): item is IPortalItemDefinition;
|
|
13
|
+
export declare function isFeatureLayerItemDefinition(item: unknown): item is IFeatureLayerItemDefinition;
|
|
14
|
+
export declare function isFieldsDefinition(item: unknown): item is IFieldsDefinition;
|
|
15
|
+
export declare function isUrlDefinition(item: unknown): item is IUrlDefinition;
|
|
16
|
+
export declare function isSubtypeInstance(item: unknown): item is __esri.Subtype;
|
|
17
|
+
export declare function isCodedValueDomainInstance(item: unknown): item is __esri.CodedValueDomain;
|
|
18
|
+
export declare function isInheritedDomainInstance(item: unknown): item is __esri.InheritedDomain;
|
|
19
|
+
export declare function isPredefinedProfile(item: unknown): item is IPredefinedProfile;
|
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.69",
|
|
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.69",
|
|
52
52
|
"@stencil/core": "4.8.2",
|
|
53
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.69",
|
|
58
|
+
"@arcgis/components-utils": "4.29.0-beta.69",
|
|
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.69",
|
|
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": "1aad290d2477e0faab30456412a12bce4f8135d3"
|
|
111
111
|
}
|