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