@arcgis/coding-components 4.32.0-next.8 → 4.32.0-next.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/2MDSFEG2.js +6 -0
- package/dist/arcgis-coding-components/2PI32Y2U.js +6 -0
- package/dist/arcgis-coding-components/3V25SSHK.js +6 -0
- package/dist/arcgis-coding-components/3VDNGHYC.js +6 -0
- package/dist/arcgis-coding-components/7WDTHUR4.js +11 -0
- package/dist/arcgis-coding-components/7XVSPO47.js +9 -0
- package/dist/arcgis-coding-components/AEKG2KZR.js +6 -0
- package/dist/arcgis-coding-components/AIXM3VSQ.js +8 -0
- package/dist/arcgis-coding-components/BPTMRHZS.js +69 -0
- package/dist/arcgis-coding-components/DHTXVFD4.js +51 -0
- package/dist/arcgis-coding-components/DPP6LIRE.css +1 -0
- package/dist/arcgis-coding-components/ECH2G2ZZ.js +6 -0
- package/dist/arcgis-coding-components/EKW5ZAMS.js +16 -0
- package/dist/arcgis-coding-components/FH25RZLB.js +6 -0
- package/dist/arcgis-coding-components/FXWBQCOX.js +6 -0
- package/dist/arcgis-coding-components/HISHP6LH.js +16 -0
- package/dist/arcgis-coding-components/KHZVCRKI.js +8 -0
- package/dist/arcgis-coding-components/LNXU5XHH.js +6 -0
- package/dist/arcgis-coding-components/N6NF6W3K.js +6 -0
- package/dist/arcgis-coding-components/NKEDGV5F.js +6 -0
- package/dist/arcgis-coding-components/NTFB2MYM.js +6 -0
- package/dist/arcgis-coding-components/O65WSYRU.css +1 -0
- package/dist/arcgis-coding-components/OKPAIUSJ.js +6 -0
- package/dist/arcgis-coding-components/P6B3SBFZ.js +6 -0
- package/dist/arcgis-coding-components/PMX66XBR.js +6 -0
- package/dist/arcgis-coding-components/QLSWCCDO.js +643 -0
- package/dist/arcgis-coding-components/QVCUOYDS.js +8 -0
- package/dist/arcgis-coding-components/R7VUAISU.js +6 -0
- package/dist/arcgis-coding-components/TAUA2L5H.js +11 -0
- package/dist/arcgis-coding-components/UN7QZAZG.js +6 -0
- package/dist/arcgis-coding-components/W4GCHDB7.js +6 -0
- package/dist/arcgis-coding-components/W72BHJQV.js +10 -0
- package/dist/arcgis-coding-components/WGGW2MMN.js +6 -0
- package/dist/arcgis-coding-components/WR2OQEKQ.js +6 -0
- package/dist/arcgis-coding-components/XI3I5HIQ.js +20 -0
- package/dist/arcgis-coding-components/Z4OQ4TOJ.js +9 -0
- package/dist/arcgis-coding-components/Z4W7MWSC.js +6 -0
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -807
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +20 -19
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +11 -11
- package/dist/chunks/markdown.js +2 -2
- package/dist/chunks/monaco-importer.js +28 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +31 -30
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.d.ts +4 -4
- package/dist/components/arcgis-arcade-editor/customElement.js +15 -14
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +2 -2
- package/dist/components/arcgis-code-editor/customElement.d.ts +5 -5
- package/dist/components/arcgis-code-editor/customElement.js +21 -20
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +2 -2
- 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/docs.json +14 -14
- package/dist/docs/manifest.json +10 -10
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/components.d.ts +1 -5
- package/dist/utils/arcade-monaco/arcade-language-features.d.ts +4 -3
- package/dist/utils/arcade-monaco/arcade-language-syntax.d.ts +3 -3
- package/dist/utils/arcade-monaco/arcade-worker-manager.d.ts +2 -2
- package/dist/utils/language-defaults-base.d.ts +2 -1
- package/dist/utils/monaco-importer.d.ts +7 -0
- package/dist/utils/sql-expr-monaco/sql-expr-language-features.d.ts +2 -2
- package/dist/utils/sql-expr-monaco/sql-expr-language-syntax.d.ts +3 -3
- package/dist/utils/sql-expr-monaco/sql-expr-worker-manager.d.ts +2 -2
- package/package.json +7 -7
- package/dist/chunks/utilities.js +0 -22
|
@@ -7,7 +7,7 @@ import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
11
11
|
*/
|
|
12
12
|
const m = f`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
13
13
|
function g(r) {
|
|
@@ -3,13 +3,13 @@ import { ref as c } from "lit-html/directives/ref.js";
|
|
|
3
3
|
import { html as s } from "lit";
|
|
4
4
|
import { setFocusOnElement as h, addLTRMark as a } from "@arcgis/components-utils";
|
|
5
5
|
import { g as r, o as u, c as n, a as f } from "../../chunks/markdown.js";
|
|
6
|
-
import { f as p } from "../../chunks/
|
|
6
|
+
import { f as p } from "../../chunks/monaco-importer.js";
|
|
7
7
|
import { u as g } from "../../chunks/useT9n.js";
|
|
8
8
|
import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*!
|
|
10
10
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
* v4.32.0-next.
|
|
12
|
+
* v4.32.0-next.9
|
|
13
13
|
*/
|
|
14
14
|
const _ = b`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}code{font-family:var(--calcite-code-family)}pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);code{font-size:var(--calcite-font-size--2)}}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
15
15
|
class v extends m {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.9
|
|
12
12
|
*/
|
|
13
13
|
const g = h`arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);calcite-flow{height:100%}}}`;
|
|
14
14
|
class f extends o {
|
|
@@ -7,7 +7,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
11
11
|
*/
|
|
12
12
|
const h = d`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
|
|
13
13
|
class g extends o {
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-10-
|
|
2
|
+
"timestamp": "2024-10-28T16:21:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.32.0-next.
|
|
5
|
+
"version": "4.32.0-next.9",
|
|
6
6
|
"typescriptVersion": "5.4.5"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"name": "editorInstance",
|
|
29
29
|
"type": "IStandaloneCodeEditor | undefined",
|
|
30
30
|
"complexType": {
|
|
31
|
-
"original": "
|
|
31
|
+
"original": "Editor.IStandaloneCodeEditor | undefined",
|
|
32
32
|
"resolved": "IStandaloneCodeEditor | undefined",
|
|
33
33
|
"references": {
|
|
34
34
|
"IStandaloneCodeEditor": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"name": "editorOptions",
|
|
66
66
|
"type": "(IEditorOptions & IGlobalEditorOptions)",
|
|
67
67
|
"complexType": {
|
|
68
|
-
"original": "(
|
|
68
|
+
"original": "(Editor.IEditorOptions & Editor.IGlobalEditorOptions) | undefined",
|
|
69
69
|
"resolved": "(IEditorOptions & IGlobalEditorOptions)",
|
|
70
70
|
"references": {
|
|
71
71
|
"IEditorOptions": {
|
|
@@ -350,11 +350,11 @@
|
|
|
350
350
|
{
|
|
351
351
|
"name": "getEditorInstance",
|
|
352
352
|
"returns": {
|
|
353
|
-
"type": "Promise<
|
|
353
|
+
"type": "Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
354
354
|
"docs": ""
|
|
355
355
|
},
|
|
356
356
|
"complexType": {
|
|
357
|
-
"signature": "(): Promise<
|
|
357
|
+
"signature": "(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
358
358
|
"parameters": [],
|
|
359
359
|
"references": {
|
|
360
360
|
"Promise": {
|
|
@@ -368,9 +368,9 @@
|
|
|
368
368
|
"id": "notImplemented"
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
|
-
"return": "Promise<
|
|
371
|
+
"return": "Promise<Editor.IStandaloneCodeEditor | undefined>"
|
|
372
372
|
},
|
|
373
|
-
"signature": "getEditorInstance(): Promise<
|
|
373
|
+
"signature": "getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
374
374
|
"parameters": [],
|
|
375
375
|
"docs": "",
|
|
376
376
|
"docsTags": [
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
"name": "editorInstance",
|
|
1100
1100
|
"type": "IStandaloneCodeEditor | undefined",
|
|
1101
1101
|
"complexType": {
|
|
1102
|
-
"original": "
|
|
1102
|
+
"original": "Editor.IStandaloneCodeEditor | undefined",
|
|
1103
1103
|
"resolved": "IStandaloneCodeEditor | undefined",
|
|
1104
1104
|
"references": {
|
|
1105
1105
|
"IStandaloneCodeEditor": {
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
"name": "editorOptions",
|
|
1134
1134
|
"type": "(IEditorOptions & IGlobalEditorOptions)",
|
|
1135
1135
|
"complexType": {
|
|
1136
|
-
"original": "(
|
|
1136
|
+
"original": "(Editor.IEditorOptions & Editor.IGlobalEditorOptions) | undefined",
|
|
1137
1137
|
"resolved": "(IEditorOptions & IGlobalEditorOptions)",
|
|
1138
1138
|
"references": {
|
|
1139
1139
|
"IEditorOptions": {
|
|
@@ -1229,11 +1229,11 @@
|
|
|
1229
1229
|
{
|
|
1230
1230
|
"name": "getEditorInstance",
|
|
1231
1231
|
"returns": {
|
|
1232
|
-
"type": "Promise<
|
|
1232
|
+
"type": "Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
1233
1233
|
"docs": ""
|
|
1234
1234
|
},
|
|
1235
1235
|
"complexType": {
|
|
1236
|
-
"signature": "(): Promise<
|
|
1236
|
+
"signature": "(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
1237
1237
|
"parameters": [],
|
|
1238
1238
|
"references": {
|
|
1239
1239
|
"Promise": {
|
|
@@ -1247,9 +1247,9 @@
|
|
|
1247
1247
|
"id": "notImplemented"
|
|
1248
1248
|
}
|
|
1249
1249
|
},
|
|
1250
|
-
"return": "Promise<
|
|
1250
|
+
"return": "Promise<Editor.IStandaloneCodeEditor | undefined>"
|
|
1251
1251
|
},
|
|
1252
|
-
"signature": "getEditorInstance(): Promise<
|
|
1252
|
+
"signature": "getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
1253
1253
|
"parameters": [],
|
|
1254
1254
|
"docs": "",
|
|
1255
1255
|
"docsTags": [
|
package/dist/docs/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-10-
|
|
2
|
+
"timestamp": "2024-10-28T16:21:33",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.32.0-next.
|
|
5
|
+
"version": "4.32.0-next.9",
|
|
6
6
|
"typescriptVersion": "5.4.5"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"name": "editorInstance",
|
|
23
23
|
"type": {
|
|
24
24
|
"text": "IStandaloneCodeEditor | undefined",
|
|
25
|
-
"original": "
|
|
25
|
+
"original": "Editor.IStandaloneCodeEditor | undefined",
|
|
26
26
|
"values": [
|
|
27
27
|
{
|
|
28
28
|
"type": "IStandaloneCodeEditor"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"name": "editorOptions",
|
|
53
53
|
"type": {
|
|
54
54
|
"text": "(IEditorOptions & IGlobalEditorOptions)",
|
|
55
|
-
"original": "(
|
|
55
|
+
"original": "(Editor.IEditorOptions & Editor.IGlobalEditorOptions) | undefined",
|
|
56
56
|
"values": [
|
|
57
57
|
{
|
|
58
58
|
"type": "(IEditorOptions & IGlobalEditorOptions)"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"name": "getEditorInstance",
|
|
79
79
|
"return": {
|
|
80
80
|
"type": {
|
|
81
|
-
"text": "Promise<
|
|
81
|
+
"text": "Promise<Editor.IStandaloneCodeEditor | undefined>"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"deprecated": "Use `editorInstance` property instead.",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
],
|
|
94
94
|
"type": {
|
|
95
|
-
"signature": "(): Promise<
|
|
95
|
+
"signature": "(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
96
96
|
"references": [
|
|
97
97
|
{
|
|
98
98
|
"name": "Promise",
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
"name": "editorInstance",
|
|
1120
1120
|
"type": {
|
|
1121
1121
|
"text": "IStandaloneCodeEditor | undefined",
|
|
1122
|
-
"original": "
|
|
1122
|
+
"original": "Editor.IStandaloneCodeEditor | undefined",
|
|
1123
1123
|
"values": [
|
|
1124
1124
|
{
|
|
1125
1125
|
"type": "IStandaloneCodeEditor"
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"name": "editorOptions",
|
|
1145
1145
|
"type": {
|
|
1146
1146
|
"text": "(IEditorOptions & IGlobalEditorOptions)",
|
|
1147
|
-
"original": "(
|
|
1147
|
+
"original": "(Editor.IEditorOptions & Editor.IGlobalEditorOptions) | undefined",
|
|
1148
1148
|
"values": [
|
|
1149
1149
|
{
|
|
1150
1150
|
"type": "(IEditorOptions & IGlobalEditorOptions)"
|
|
@@ -1170,7 +1170,7 @@
|
|
|
1170
1170
|
"name": "getEditorInstance",
|
|
1171
1171
|
"return": {
|
|
1172
1172
|
"type": {
|
|
1173
|
-
"text": "Promise<
|
|
1173
|
+
"text": "Promise<Editor.IStandaloneCodeEditor | undefined>"
|
|
1174
1174
|
}
|
|
1175
1175
|
},
|
|
1176
1176
|
"deprecated": "Use `editorInstance` property instead.",
|
|
@@ -1184,7 +1184,7 @@
|
|
|
1184
1184
|
}
|
|
1185
1185
|
],
|
|
1186
1186
|
"type": {
|
|
1187
|
-
"signature": "(): Promise<
|
|
1187
|
+
"signature": "(): Promise<Editor.IStandaloneCodeEditor | undefined>",
|
|
1188
1188
|
"references": [
|
|
1189
1189
|
{
|
|
1190
1190
|
"name": "Promise",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tags": [
|
|
5
5
|
{
|
|
6
6
|
"name": "arcgis-arcade-editor",
|
|
7
|
-
"description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `getEditorInstance(): Promise<
|
|
7
|
+
"description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>` - **Deprecated**: Use `editorInstance` property instead.. \n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
8
8
|
"attributes": [
|
|
9
9
|
{
|
|
10
10
|
"name": "hide-documentation-actions",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"name": "arcgis-code-editor",
|
|
85
|
-
"description": "### Events\n- **arcgisSelectionChange** - Emitted when the selection has changed.\n- **arcgisValueChange** - Emitted when the value has changed (script, code, css, json, etc.)\n\n### Methods\n- `getEditorInstance(): Promise<
|
|
85
|
+
"description": "### Events\n- **arcgisSelectionChange** - Emitted when the selection has changed.\n- **arcgisValueChange** - Emitted when the value has changed (script, code, css, json, etc.)\n\n### Methods\n- `getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>` - **Deprecated**: Use `editorInstance` property instead.. \n- `getValue(): Promise<string>` - **Deprecated**: Use `value` property instead.. \n- `insertSnippet(text: string | null | undefined): Promise<void>` - Inserts a snippet at the current position in the editor.\n- `insertText(text: string | null | undefined): Promise<void>` - Inserts a text at the current position in the editor.\n- `setFocus(): Promise<void>` - Sets the focus on the editor.\n- `setValue(text: string | null | undefined): Promise<void>` - **Deprecated**: Use `value` property instead.. \n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
86
86
|
"attributes": [
|
|
87
87
|
{
|
|
88
88
|
"name": "language",
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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": "4.32.0-next.
|
|
4
|
+
"version": "4.32.0-next.9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "arcgis-arcade-editor",
|
|
11
|
-
"description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `getEditorInstance(): Promise<
|
|
11
|
+
"description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>` - **Deprecated**: Use `editorInstance` property instead.. \n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
"name": "arcgis-code-editor",
|
|
260
|
-
"description": "### Events\n- **arcgisSelectionChange** - Emitted when the selection has changed.\n- **arcgisValueChange** - Emitted when the value has changed (script, code, css, json, etc.)\n\n### Methods\n- `getEditorInstance(): Promise<
|
|
260
|
+
"description": "### Events\n- **arcgisSelectionChange** - Emitted when the selection has changed.\n- **arcgisValueChange** - Emitted when the value has changed (script, code, css, json, etc.)\n\n### Methods\n- `getEditorInstance(): Promise<Editor.IStandaloneCodeEditor | undefined>` - **Deprecated**: Use `editorInstance` property instead.. \n- `getValue(): Promise<string>` - **Deprecated**: Use `value` property instead.. \n- `insertSnippet(text: string | null | undefined): Promise<void>` - Inserts a snippet at the current position in the editor.\n- `insertText(text: string | null | undefined): Promise<void>` - Inserts a text at the current position in the editor.\n- `setFocus(): Promise<void>` - Sets the focus on the editor.\n- `setValue(text: string | null | undefined): Promise<void>` - **Deprecated**: Use `value` property instead.. \n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.",
|
|
261
261
|
"doc-url": "",
|
|
262
262
|
"attributes": [
|
|
263
263
|
{
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as p } from "./chunks/sql-expr-defaults.js";
|
|
|
4
4
|
/*!
|
|
5
5
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
7
|
-
* v4.32.0-next.
|
|
7
|
+
* v4.32.0-next.9
|
|
8
8
|
*/
|
|
9
9
|
const a = s, r = t;
|
|
10
10
|
export {
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { m as e, r as i } from "./chunks/runtime.js";
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
* v4.32.0-next.
|
|
5
|
+
* v4.32.0-next.9
|
|
6
6
|
*/
|
|
7
7
|
const s = e(i, {
|
|
8
8
|
"arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Diagnostic } from '@arcgis/arcade-languageservice';
|
|
2
|
-
import { Uri, Position, editor
|
|
2
|
+
import { Uri, Position, editor as Editor } from 'monaco-editor';
|
|
3
|
+
import { languages } from '../monaco-importer';
|
|
3
4
|
import { IArcadeWorkerAccessor } from './types';
|
|
4
5
|
import { ArcadeLanguageServiceDefaults } from './arcade-defaults';
|
|
5
6
|
export declare class DiagnosticsAdapter {
|
|
@@ -24,11 +25,11 @@ export declare class CompletionProvider implements languages.CompletionItemProvi
|
|
|
24
25
|
private _defaults;
|
|
25
26
|
constructor(_worker: IArcadeWorkerAccessor, _defaults: ArcadeLanguageServiceDefaults);
|
|
26
27
|
triggerCharacters: string[];
|
|
27
|
-
provideCompletionItems(model:
|
|
28
|
+
provideCompletionItems(model: Editor.ITextModel, position: Position): Promise<languages.CompletionList | undefined>;
|
|
28
29
|
}
|
|
29
30
|
export declare class FormattingProvider implements languages.DocumentFormattingEditProvider {
|
|
30
31
|
private _worker;
|
|
31
32
|
private _defaults;
|
|
32
33
|
constructor(_worker: IArcadeWorkerAccessor, _defaults: ArcadeLanguageServiceDefaults);
|
|
33
|
-
provideDocumentFormattingEdits(model:
|
|
34
|
+
provideDocumentFormattingEdits(model: Editor.ITextModel): Promise<languages.TextEdit[]>;
|
|
34
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import IMonarchLanguage =
|
|
3
|
-
import LanguageConfiguration =
|
|
1
|
+
import { languages } from '../monaco-importer';
|
|
2
|
+
import IMonarchLanguage = languages.IMonarchLanguage;
|
|
3
|
+
import LanguageConfiguration = languages.LanguageConfiguration;
|
|
4
4
|
export declare const arcadeLanguageConfiguration: LanguageConfiguration;
|
|
5
5
|
export declare const arcadeMonarchLanguage: IMonarchLanguage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { editor as Editor, Uri } from 'monaco-editor';
|
|
2
2
|
import { IArcadeWorker } from './types';
|
|
3
3
|
import { ArcadeLanguageServiceDefaults } from './arcade-defaults';
|
|
4
4
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class WorkerManager {
|
|
|
16
16
|
* Wait for the worker to be ready.
|
|
17
17
|
* @returns A promise that resolves when the worker is ready.
|
|
18
18
|
*/
|
|
19
|
-
static waitForWorker(): Promise<
|
|
19
|
+
static waitForWorker(): Promise<Editor.MonacoWebWorker<IArcadeWorker>>;
|
|
20
20
|
private _getClientProxy;
|
|
21
21
|
getLanguageServiceWorker(...resources: Uri[]): Promise<IArcadeWorker>;
|
|
22
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Emitter,
|
|
1
|
+
import { Emitter, Uri } from '../utils/monaco-importer';
|
|
2
|
+
import { IEvent } from 'monaco-editor';
|
|
2
3
|
import { EditorProfile } from './profile/editor-profile';
|
|
3
4
|
import { ApiCategory, ApiContext, ApiSnippet } from '@arcgis/arcade-languageservice';
|
|
4
5
|
import { IEditorProfileDefinition, IPredefinedProfile } from './profile/types';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference path="monaco.d.ts" />
|
|
2
|
+
declare const editor: typeof import('monaco-editor').editor;
|
|
3
|
+
export { editor };
|
|
4
|
+
export { KeyCode, KeyMod, Range, Uri, Emitter, languages, MarkerSeverity } from 'monaco-editor';
|
|
5
|
+
export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices';
|
|
6
|
+
export { IStandaloneThemeService } from 'monaco-editor/esm/vs/editor/standalone/common/standaloneTheme';
|
|
7
|
+
export { generateTokensCSSForColorMap } from 'monaco-editor/esm/vs/editor/common/languages/supports/tokenization';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { editor, Position, languages } from 'monaco-editor';
|
|
1
|
+
import { editor as Editor, Position, languages } from 'monaco-editor';
|
|
2
2
|
import { SqlExprDefaults } from './sql-expr-defaults';
|
|
3
3
|
import { ISqlExprWorkerAccessor } from './types';
|
|
4
4
|
import { SqlExprDiagnosticService } from './sql-expr-mode';
|
|
@@ -6,7 +6,7 @@ export declare class SqlExprCompletionProvider implements languages.CompletionIt
|
|
|
6
6
|
private _worker;
|
|
7
7
|
private _defaults;
|
|
8
8
|
constructor(_worker: ISqlExprWorkerAccessor, _defaults: SqlExprDefaults);
|
|
9
|
-
provideCompletionItems(model:
|
|
9
|
+
provideCompletionItems(model: Editor.ITextModel, position: Position): Promise<languages.CompletionList | undefined>;
|
|
10
10
|
}
|
|
11
11
|
export declare class SqlExprDiagnosticsAdapter {
|
|
12
12
|
private _languageId;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { languages } from '../monaco-importer';
|
|
2
2
|
/**
|
|
3
3
|
* This file is mostly ported from https://github.com/microsoft/monaco-editor/blob/main/src/basic-languages/sql/sql.ts
|
|
4
4
|
*/
|
|
5
|
-
import IMonarchLanguage =
|
|
6
|
-
import LanguageConfiguration =
|
|
5
|
+
import IMonarchLanguage = languages.IMonarchLanguage;
|
|
6
|
+
import LanguageConfiguration = languages.LanguageConfiguration;
|
|
7
7
|
export declare const sqlExprLanguageConfig: LanguageConfiguration;
|
|
8
8
|
export declare const sqlExprLanguageSyntax: IMonarchLanguage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Uri, editor } from 'monaco-editor';
|
|
1
|
+
import { Uri, editor as Editor } from 'monaco-editor';
|
|
2
2
|
import { ISqlExprWorker } from './types';
|
|
3
3
|
import { SqlExprDefaults } from './sql-expr-defaults';
|
|
4
4
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class SqlExprWorkerManager {
|
|
|
16
16
|
* Wait for the worker to be ready.
|
|
17
17
|
* @returns A promise that resolves when the worker is ready.
|
|
18
18
|
*/
|
|
19
|
-
static waitForWorker(): Promise<
|
|
19
|
+
static waitForWorker(): Promise<Editor.MonacoWebWorker<ISqlExprWorker>>;
|
|
20
20
|
private _getClientProxy;
|
|
21
21
|
getLanguageServiceWorker(...resources: Uri[]): Promise<ISqlExprWorker>;
|
|
22
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.9",
|
|
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",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
],
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@arcgis/arcade-languageservice": "4.32.0-next.
|
|
39
|
-
"@arcgis/components-build-utils": "4.32.0-next.
|
|
40
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
41
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
42
|
-
"@arcgis/core-adapter": "4.32.0-next.
|
|
43
|
-
"@arcgis/languages-api-utils": "4.32.0-next.
|
|
38
|
+
"@arcgis/arcade-languageservice": "4.32.0-next.9",
|
|
39
|
+
"@arcgis/components-build-utils": "4.32.0-next.9",
|
|
40
|
+
"@arcgis/components-controllers": "4.32.0-next.9",
|
|
41
|
+
"@arcgis/components-utils": "4.32.0-next.9",
|
|
42
|
+
"@arcgis/core-adapter": "4.32.0-next.9",
|
|
43
|
+
"@arcgis/languages-api-utils": "4.32.0-next.9",
|
|
44
44
|
"monaco-editor": "0.45.0",
|
|
45
45
|
"tslib": "^2.7.0",
|
|
46
46
|
"vscode-languageserver-types": "^3.17.5"
|
package/dist/chunks/utilities.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createFilterExpression as l } from "@arcgis/components-utils";
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
* v4.32.0-next.8
|
|
6
|
-
*/
|
|
7
|
-
function a(r, t, i, s) {
|
|
8
|
-
if (!t)
|
|
9
|
-
return [];
|
|
10
|
-
const e = Array.isArray(t) ? t : [t];
|
|
11
|
-
if (!e.length)
|
|
12
|
-
return [];
|
|
13
|
-
const n = l(i);
|
|
14
|
-
return r.filter((o) => e.some((f) => n.test(String(o[f] ?? ""))));
|
|
15
|
-
}
|
|
16
|
-
function c(r) {
|
|
17
|
-
return r ? `${r.portal.url}/home/item.html?id=${r.id}` : "";
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
a as f,
|
|
21
|
-
c as p
|
|
22
|
-
};
|