@arcgis/coding-components 5.0.0-next.120 → 5.0.0-next.122
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/addons/index.d.ts +1 -0
- package/dist/addons.js +1 -1
- package/dist/cdn/{LWRJQCPY.js → 2DRQ6BNC.js} +2 -2
- package/dist/cdn/{CBHFBIMS.js → 2J6SHWMB.js} +2 -2
- package/dist/cdn/{NQ7BZUJL.js → 3JK722XX.js} +1 -1
- package/dist/cdn/{6SK2GLOK.js → 3PS6M6VD.js} +1 -1
- package/dist/cdn/{YNOZMA3F.js → 4DTAVXBS.js} +2 -2
- package/dist/cdn/{GTQF7TKG.js → 55RCZ6XP.js} +2 -2
- package/dist/cdn/{XIJKTF22.js → 5QI5UTMM.js} +2 -2
- package/dist/cdn/{WEMT4B2S.js → 6ATXY4DQ.js} +3 -3
- package/dist/cdn/{I3EPXDQH.js → 7TNM3MBK.js} +2 -2
- package/dist/cdn/{KDYTZ3O6.js → BYEGZCAI.js} +2 -2
- package/dist/cdn/{Y6UCUQN6.js → CJKTWGGK.js} +2 -2
- package/dist/cdn/{XXLPMJZF.js → CUPGVQVT.js} +2 -2
- package/dist/cdn/{NCMIB73Q.js → E5LZXWSX.js} +1 -1
- package/dist/cdn/{6QJK37WC.js → EBUSMJOT.js} +2 -2
- package/dist/cdn/{5HSDXNZ7.js → ERWJSSYU.js} +2 -2
- package/dist/cdn/{6NXGRX5W.js → FMRHPBFR.js} +2 -2
- package/dist/cdn/{UHFTNSAT.js → GXZ2X7XU.js} +1 -1
- package/dist/cdn/{X2OIZFPX.js → HGQ5VLKG.js} +2 -2
- package/dist/cdn/{F3UEI6YQ.js → IEG7THXU.js} +2 -2
- package/dist/cdn/{FDD5O6V3.js → JHFPKEPM.js} +2 -2
- package/dist/cdn/{LN7SWK52.js → JK3CCPVF.js} +2 -2
- package/dist/cdn/{APQZ5KUR.js → JYS5LGFT.js} +2 -2
- package/dist/cdn/{A2WFNM7B.js → KVIMKPYW.js} +2 -2
- package/dist/cdn/{XRUSWTOA.js → LBLAK3PN.js} +2 -2
- package/dist/cdn/{MH4WQ3SN.js → LDJSETSD.js} +2 -2
- package/dist/cdn/{WZZJ6ZSP.js → M66XJTO2.js} +1 -1
- package/dist/cdn/{K5RRXHJF.js → MVLG2MYX.js} +2 -2
- package/dist/cdn/{TFPNQBDZ.js → MXJRGL5U.js} +2 -2
- package/dist/cdn/{X5FSW73B.js → NAGF2Z2D.js} +1 -1
- package/dist/cdn/{KHBFXE6B.js → ORNQOMPI.js} +1 -1
- package/dist/cdn/{X2HG44QW.js → P5TZ5UNU.js} +2 -2
- package/dist/cdn/{K7VNRGXI.js → Q5T2KPL2.js} +1 -1
- package/dist/cdn/{BORTTF2R.js → QEIQAP7D.js} +2 -2
- package/dist/cdn/{T23XLKYX.js → R7VFYNQC.js} +3 -3
- package/dist/cdn/SOWUXRA3.js +4 -0
- package/dist/cdn/{2R3MGI4F.js → VDUSITD2.js} +2 -2
- package/dist/cdn/{TDYZJ3JA.js → VSFXRIEN.js} +2 -2
- package/dist/cdn/{IBQL5PWJ.js → W45Q242J.js} +2 -2
- package/dist/cdn/{7H35QZX4.js → WGAHI6SV.js} +2 -2
- package/dist/cdn/{EP7VRBFT.js → XAGEA3XO.js} +2 -2
- package/dist/cdn/{4ICYPZCL.js → XMXTLCWY.js} +2 -2
- package/dist/cdn/{267DUS2F.js → XSD6BA46.js} +2 -2
- package/dist/cdn/{J4RYV3PA.js → XSPLDM5L.js} +2 -2
- package/dist/cdn/{QKRVLBFV.js → XZEBDJ5V.js} +2 -2
- package/dist/cdn/{MBTSJU2K.js → YU7EUPE6.js} +2 -2
- package/dist/cdn/{ENL2JS2G.js → ZEFUZXY6.js} +2 -2
- package/dist/cdn/{ZFKNKKAN.js → ZP4A4AY3.js} +2 -2
- package/dist/cdn/{W72HBIHK.js → ZXMUDXWG.js} +2 -2
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +0 -7
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +2 -2
- package/dist/chunks/arcade-defaults.js +2 -2
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +3 -3
- package/dist/chunks/colorize.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +6 -6
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/monaco-theme.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-expr-service-accessors.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utilities.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +2 -2
- package/dist/components/arcgis-arcade-editor/customElement.js +2 -2
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.d.ts +1 -7
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
- package/dist/components/arcgis-code-viewer/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -13
- package/dist/docs/docs.json +3 -13
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +8 -11
- package/dist/loader.js +1 -1
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/sql-expr-monaco/sql-expr-completion.d.ts +14 -14
- package/package.json +5 -5
- package/dist/cdn/JIFVZ3B7.js +0 -4
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-13T04:39:35",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.122",
|
|
6
6
|
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -800,9 +800,6 @@
|
|
|
800
800
|
{
|
|
801
801
|
"name": "param",
|
|
802
802
|
"text": "text - The string snippet to insert"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"name": "returns"
|
|
806
803
|
}
|
|
807
804
|
]
|
|
808
805
|
},
|
|
@@ -843,9 +840,6 @@
|
|
|
843
840
|
{
|
|
844
841
|
"name": "param",
|
|
845
842
|
"text": "text - The string to insert"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"name": "returns"
|
|
849
843
|
}
|
|
850
844
|
]
|
|
851
845
|
},
|
|
@@ -870,11 +864,7 @@
|
|
|
870
864
|
"signature": "setFocus(): Promise<void>",
|
|
871
865
|
"parameters": [],
|
|
872
866
|
"docs": "Sets the focus on the editor.",
|
|
873
|
-
"docsTags": [
|
|
874
|
-
{
|
|
875
|
-
"name": "returns"
|
|
876
|
-
}
|
|
877
|
-
]
|
|
867
|
+
"docsTags": []
|
|
878
868
|
},
|
|
879
869
|
{
|
|
880
870
|
"name": "setValue",
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/coding-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.122",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,20 +4,21 @@ import type { CodeEditorShell } from "./components/arcgis-code-editor-shell/cust
|
|
|
4
4
|
import type { ArcgisCodeViewer } from "./components/arcgis-code-viewer/customElement.js";
|
|
5
5
|
import type { ArcgisSqlExpressionEditor } from "./components/arcgis-sql-expression-editor/customElement.js";
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Place in this file any utility functions you wish to expose for the consumers
|
|
9
|
+
* of your package
|
|
10
|
+
*/
|
|
7
11
|
export { getAssetPath, setAssetPath } from './runtime';
|
|
12
|
+
/** @public */
|
|
8
13
|
export { arcade } from './utils/arcade-monaco/arcade-defaults';
|
|
14
|
+
/** @public */
|
|
9
15
|
export { sqlExpression } from './utils/sql-expr-monaco/sql-expr-defaults';
|
|
16
|
+
/** @public */
|
|
10
17
|
export type { Diagnostic } from '@arcgis/arcade-languageservice';
|
|
18
|
+
/** @public */
|
|
11
19
|
export type * from './utils/index';
|
|
20
|
+
/** @public */
|
|
12
21
|
export type * from './utils/profile/types';
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use `setAssetPath` instead
|
|
15
|
-
*/
|
|
16
|
-
export declare const setArcgisAssetPath: (path: URL | string) => void;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use `getAssetPath` instead
|
|
19
|
-
*/
|
|
20
|
-
export declare const getArcgisAssetPath: (suffix: string) => string;
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export interface ArcgisArcadeEditorCustomEvent<T> extends CustomEvent<T> {
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import { s as
|
|
1
|
+
import { g as e, s as t } from "./chunks/runtime.js";
|
|
2
|
+
import { a as o } from "./chunks/arcade-defaults.js";
|
|
3
|
+
import { s as x } from "./chunks/sql-expr-defaults.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
7
|
-
const a = s, r = t;
|
|
6
|
+
v5.0.0-next.122 */
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
t as
|
|
12
|
-
|
|
13
|
-
s as setAssetPath,
|
|
14
|
-
p as sqlExpression
|
|
8
|
+
o as arcade,
|
|
9
|
+
e as getAssetPath,
|
|
10
|
+
t as setAssetPath,
|
|
11
|
+
x as sqlExpression
|
|
15
12
|
};
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as i } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.122 */
|
|
6
6
|
const o = i(e, {
|
|
7
7
|
"arcgis-arcade-coding-assistant": [() => import("./components/arcgis-arcade-coding-assistant/customElement.js"), "appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],
|
|
8
8
|
"arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -2,6 +2,18 @@ import { IRange, Position, languages } from 'monaco-editor';
|
|
|
2
2
|
import { ApiDatabase, ApiVariable } from '@arcgis/languages-api-utils';
|
|
3
3
|
import { ICompletionContext } from './types';
|
|
4
4
|
import { SQLNode } from '@arcgis/core/core/sql/types';
|
|
5
|
+
interface SqlExpressionGetCompletionsOptions {
|
|
6
|
+
/** The parameters for the completion. */
|
|
7
|
+
range: IRange;
|
|
8
|
+
/** The content of the model. */
|
|
9
|
+
modelContent: string;
|
|
10
|
+
/** The current position of the cursor in the model. */
|
|
11
|
+
position: Position;
|
|
12
|
+
/** The completion context. */
|
|
13
|
+
completionContext?: ICompletionContext;
|
|
14
|
+
/** Whether to terminate the completion when it fails to parse. */
|
|
15
|
+
terminateOnError?: boolean;
|
|
16
|
+
}
|
|
5
17
|
/**
|
|
6
18
|
* Class used for sql expression completion
|
|
7
19
|
*/
|
|
@@ -11,21 +23,8 @@ export declare class SqlExpressionCompletion {
|
|
|
11
23
|
constructor(sdkLibrary: ApiDatabase, fields: ApiVariable[]);
|
|
12
24
|
/**
|
|
13
25
|
* gets completions for the sql expression.
|
|
14
|
-
* @param {Object} params - The parameters for the completion.
|
|
15
|
-
* @param {IRange} params.range - The range of the current position.
|
|
16
|
-
* @param {string} params.modelContent - The content of the model.
|
|
17
|
-
* @param {Position} params.position - The current position of the cursor in the model.
|
|
18
|
-
* @param {ICompletionContext} params.completionContext - The completion context.
|
|
19
|
-
* @param {boolean} params.terminateOnError - Whether to terminate the completion when it fails to parse.
|
|
20
|
-
* @returns {Promise<languages.CompletionItem[]>} The completion items.
|
|
21
26
|
*/
|
|
22
|
-
getCompletions({ range, modelContent, position, completionContext, terminateOnError, }:
|
|
23
|
-
range: IRange;
|
|
24
|
-
modelContent: string;
|
|
25
|
-
position: Position;
|
|
26
|
-
completionContext?: ICompletionContext;
|
|
27
|
-
terminateOnError?: boolean;
|
|
28
|
-
}): Promise<languages.CompletionItem[]>;
|
|
27
|
+
getCompletions({ range, modelContent, position, completionContext, terminateOnError, }: SqlExpressionGetCompletionsOptions): Promise<languages.CompletionItem[]>;
|
|
29
28
|
/**
|
|
30
29
|
* traverses the tree to find the node that contains the current position
|
|
31
30
|
* @param node The current node to traverse
|
|
@@ -72,3 +71,4 @@ export declare class SqlExpressionCompletion {
|
|
|
72
71
|
private _traverseChildren;
|
|
73
72
|
private _sliceToPosition;
|
|
74
73
|
}
|
|
74
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.122",
|
|
4
4
|
"description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/arcade-languageservice": "5.0.0-next.
|
|
46
|
-
"@arcgis/languages-api-utils": "5.0.0-next.
|
|
47
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
48
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
45
|
+
"@arcgis/arcade-languageservice": "5.0.0-next.122",
|
|
46
|
+
"@arcgis/languages-api-utils": "5.0.0-next.122",
|
|
47
|
+
"@arcgis/lumina": "5.0.0-next.122",
|
|
48
|
+
"@arcgis/toolkit": "5.0.0-next.122",
|
|
49
49
|
"@lit/task": "^1.0.3",
|
|
50
50
|
"lit": "^3.3.0",
|
|
51
51
|
"monaco-editor": "^0.52.0",
|
package/dist/cdn/JIFVZ3B7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.120 */
|
|
4
|
-
import c from"./6NXGRX5W.js";import"./MBTSJU2K.js";import b from"./Y6UCUQN6.js";import a from"./APQZ5KUR.js";import"./K7VNRGXI.js";import"./WZZJ6ZSP.js";import"./EP7VRBFT.js";import"./WEMT4B2S.js";import"./6SK2GLOK.js";import"./6QJK37WC.js";import"./MH4WQ3SN.js";import"./TDYZJ3JA.js";import"./NQ7BZUJL.js";import"./FDD5O6V3.js";import"./X5FSW73B.js";export default $arcgis.t(([,,{a:a,b:b,c:c}])=>{return{getSqlExprDiagnosticService:b,getSqlExprWorker:a,setupMode:c}},a,b,c)
|