@arcgis/coding-components 4.28.0-beta.7 → 4.28.0-beta.9
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-dadaeccb.js → p-30774b8f.js} +2 -2
- package/dist/arcgis-coding-components/{p-2343cbb1.js → p-358ed87a.js} +1 -1
- package/dist/arcgis-coding-components/{p-d2be59d4.js → p-5d8443b7.js} +7 -7
- package/dist/arcgis-coding-components/{p-04d051f5.js → p-8ffe58f2.js} +2 -2
- package/dist/arcgis-coding-components/{p-e550f8c5.js → p-c1ebad13.js} +1 -1
- package/dist/arcgis-coding-components/{p-9befcb5f.js → p-c4665951.js} +1 -1
- package/dist/arcgis-coding-components/{p-9dba32fc.js → p-cff113f1.js} +1 -1
- package/dist/arcgis-coding-components/{p-b0c00ead.js → p-d4923085.js} +1 -1
- package/dist/arcgis-coding-components/{p-dff4d4c9.js → p-e464f3a9.js} +1 -1
- package/dist/arcgis-coding-components/p-eab8372f.entry.js +1 -0
- package/dist/cjs/{arcade-defaults-6ac38377.js → arcade-defaults-fe6b2490.js} +16 -7
- package/dist/cjs/{arcade-mode-06522b43.js → arcade-mode-684d2b36.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +5 -6
- package/dist/cjs/{cssMode-211bd87e.js → cssMode-67c943a9.js} +1 -1
- package/dist/cjs/{html-b8865ec9.js → html-98e131a9.js} +1 -1
- package/dist/cjs/{htmlMode-1815f207.js → htmlMode-900fc9a2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-ca3abb9f.js → javascript-5baa3db6.js} +2 -2
- package/dist/cjs/{jsonMode-b856119d.js → jsonMode-bd64dcac.js} +1 -1
- package/dist/cjs/{tsMode-3b3b3686.js → tsMode-d958fede.js} +1 -1
- package/dist/cjs/{typescript-d57513ed.js → typescript-5ebad4f3.js} +1 -1
- package/dist/components/arcade-contribution.js +3 -4
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/index2.js +9 -1
- package/dist/esm/{arcade-defaults-14bb3821.js → arcade-defaults-1023126c.js} +16 -8
- package/dist/esm/{arcade-mode-8818f083.js → arcade-mode-b060035b.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +5 -6
- package/dist/esm/{cssMode-1bf935ff.js → cssMode-eff7de28.js} +1 -1
- package/dist/esm/{html-664f6955.js → html-9661ece4.js} +1 -1
- package/dist/esm/{htmlMode-caff903e.js → htmlMode-482b86a1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-1a602d0d.js → javascript-90f59381.js} +2 -2
- package/dist/esm/{jsonMode-26350e51.js → jsonMode-334ce784.js} +1 -1
- package/dist/esm/{tsMode-d573529b.js → tsMode-28b98722.js} +1 -1
- package/dist/esm/{typescript-7b1f2bc1.js → typescript-aec431cc.js} +1 -1
- package/dist/types/utils/arcade-executor.d.ts +21 -23
- package/package.json +6 -6
- package/dist/arcgis-coding-components/p-8d52e75d.entry.js +0 -1
|
@@ -4,23 +4,7 @@ import type { IEditorProfileDefinition } from "./profile/types";
|
|
|
4
4
|
* The key's value must be of type ArcGIS core ProfileVariableInstanceType.
|
|
5
5
|
*/
|
|
6
6
|
export type ProfileVariableInstances = Record<string, __esri.ProfileVariableInstanceType>;
|
|
7
|
-
|
|
8
|
-
* An object that represents a time reference.
|
|
9
|
-
*/
|
|
10
|
-
export interface IEditorTimeReference {
|
|
11
|
-
timeZone: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* If a profile doesn't contain a map, the spatial reference of geometries will be defaulted to
|
|
15
|
-
* wkid: 3857.
|
|
16
|
-
* The test context objects allows to set the execution spatial reference for such scenario.
|
|
17
|
-
*/
|
|
18
|
-
export interface IEditorTestContext {
|
|
19
|
-
/**
|
|
20
|
-
* An object of key/value pairs where the key is the name of a profile variable.
|
|
21
|
-
* The key's value must be of type ArcGIS core ProfileVariableInstanceType.
|
|
22
|
-
*/
|
|
23
|
-
profileVariableInstances: ProfileVariableInstances;
|
|
7
|
+
interface IContextReferences {
|
|
24
8
|
/**
|
|
25
9
|
* Spatial reference object used to define the spatial reference for the arcade runtime.
|
|
26
10
|
* By defaults, the spatial reference is set to Web Mercator (wkid: 3857).
|
|
@@ -34,6 +18,18 @@ export interface IEditorTestContext {
|
|
|
34
18
|
*/
|
|
35
19
|
timeZone?: string;
|
|
36
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* If a profile doesn't contain a map, the spatial reference of geometries will be defaulted to
|
|
23
|
+
* wkid: 3857.
|
|
24
|
+
* The test context objects allows to set the execution spatial reference for such scenario.
|
|
25
|
+
*/
|
|
26
|
+
export interface IEditorTestContext extends IContextReferences {
|
|
27
|
+
/**
|
|
28
|
+
* An object of key/value pairs where the key is the name of a profile variable.
|
|
29
|
+
* The key's value must be of type ArcGIS core ProfileVariableInstanceType.
|
|
30
|
+
*/
|
|
31
|
+
profileVariableInstances: ProfileVariableInstances;
|
|
32
|
+
}
|
|
37
33
|
/**
|
|
38
34
|
* @deprecated Use IEditorTestContext instead.
|
|
39
35
|
*/
|
|
@@ -49,28 +45,30 @@ export interface IArcadeRuntimeDictionary {
|
|
|
49
45
|
export interface IAbortSignal {
|
|
50
46
|
aborted: boolean;
|
|
51
47
|
}
|
|
52
|
-
|
|
48
|
+
interface IArcadeRuntimeFeatureSet {
|
|
53
49
|
declaredRootClass: string;
|
|
54
50
|
fields: __esri.Field[] | null;
|
|
55
51
|
load(): Promise<IArcadeRuntimeFeatureSet>;
|
|
56
52
|
iterator(abortSignal: IAbortSignal): IArcadeRuntimeFeatureSetIterator;
|
|
57
53
|
}
|
|
58
|
-
|
|
59
|
-
nextBatchAsArcadeFeatures(bsize: number, timeReference:
|
|
54
|
+
interface IArcadeRuntimeFeatureSetIterator {
|
|
55
|
+
nextBatchAsArcadeFeatures(bsize: number, timeReference: {
|
|
56
|
+
timeZone: string;
|
|
57
|
+
}): Promise<IArcadeRuntimeDictionary[] | null>;
|
|
60
58
|
}
|
|
61
|
-
|
|
59
|
+
interface IArcadeRuntimeDate {
|
|
62
60
|
declaredRootClass: string;
|
|
63
61
|
toDateTime(): any;
|
|
64
62
|
isUnknownTimeZone: boolean;
|
|
65
63
|
}
|
|
66
|
-
|
|
64
|
+
interface IArcadeRuntimeDateOnly {
|
|
67
65
|
declaredRootClass: string;
|
|
68
66
|
/**
|
|
69
67
|
* To ISO Date format
|
|
70
68
|
*/
|
|
71
69
|
toString(): string;
|
|
72
70
|
}
|
|
73
|
-
|
|
71
|
+
interface IArcadeRuntimeTimeOnly {
|
|
74
72
|
declaredRootClass: string;
|
|
75
73
|
/**
|
|
76
74
|
* To ISO Time format
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
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
|
-
"version": "4.28.0-beta.
|
|
4
|
+
"version": "4.28.0-beta.9",
|
|
5
5
|
"module": "dist/components/index.js",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"prettier": "prettier . --write"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@arcgis/arcade-languageservice": "4.28.0-beta.
|
|
53
|
+
"@arcgis/arcade-languageservice": "4.28.0-beta.9",
|
|
54
54
|
"@esri/calcite-components": "^1.8.0",
|
|
55
55
|
"@stencil/core": "2.22.3",
|
|
56
56
|
"monaco-editor": "^0.39.0",
|
|
57
57
|
"vscode-languageserver-types": "^3.17.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@arcgis/components-plugins": "4.28.0-beta.
|
|
61
|
-
"@arcgis/components-utils": "4.28.0-beta.
|
|
60
|
+
"@arcgis/components-plugins": "4.28.0-beta.9",
|
|
61
|
+
"@arcgis/components-utils": "4.28.0-beta.9",
|
|
62
62
|
"@arcgis/core": ">=4.28.0-next <4.29",
|
|
63
|
-
"@arcgis/core-adapter": "4.28.0-beta.
|
|
63
|
+
"@arcgis/core-adapter": "4.28.0-beta.9",
|
|
64
64
|
"@arcgis/eslint-config": "1.0.0",
|
|
65
65
|
"@arcgis/typescript-config": "1.0.0",
|
|
66
66
|
"@stencil/sass": "^2.0.4",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"peerDependencies": {
|
|
113
113
|
"@arcgis/core": ">=4.28.0-next <4.29"
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "727f0aed020d82606b8948f267165ba3b6d8bc34"
|
|
116
116
|
}
|