@arcgis/coding-components 5.0.0-next.116 → 5.0.0-next.118
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.js +1 -1
- package/dist/cdn/{GAFDXLRK.js → 45ANFBWW.js} +1 -1
- package/dist/cdn/{HAU34O2T.js → 564DEP6V.js} +2 -2
- package/dist/cdn/{2VBQTKPJ.js → 56VWIF37.js} +2 -2
- package/dist/cdn/{E3ACBLRP.js → 5EFGDM5F.js} +1 -1
- package/dist/cdn/{PCXGFTQ5.js → 665KQUXJ.js} +2 -2
- package/dist/cdn/{IBKP7EVS.js → 6M4YLMZT.js} +2 -2
- package/dist/cdn/{2VDNM4E2.js → AOXE6IOV.js} +1 -1
- package/dist/cdn/{NP2YJUNW.js → BL5WAPN4.js} +2 -2
- package/dist/cdn/{LHKKZWM7.js → BWODS3KZ.js} +2 -2
- package/dist/cdn/{PEDVTCDU.js → CGDZDHYX.js} +2 -2
- package/dist/cdn/{RSX4DVU2.js → DVGDTATC.js} +2 -2
- package/dist/cdn/{RIWO6MXU.js → E2QVGEMI.js} +2 -2
- package/dist/cdn/{UBD2AOJU.js → EFWUWZRZ.js} +2 -2
- package/dist/cdn/{WCZCRBXC.js → FNL7AHPB.js} +2 -2
- package/dist/cdn/G25DVCTS.js +4 -0
- package/dist/cdn/{5E34XUIB.js → GPJA6BL3.js} +2 -2
- package/dist/cdn/{FXCCH2NR.js → GPXSMHPQ.js} +2 -2
- package/dist/cdn/{SARGQYJB.js → GQGZVOHL.js} +2 -2
- package/dist/cdn/{OVHUPF6I.js → GTSCIDIM.js} +2 -2
- package/dist/cdn/{PLGJ2YGG.js → GXH5XEUV.js} +2 -2
- package/dist/cdn/{VPJMN4YI.js → H7VGAQ2T.js} +2 -2
- package/dist/cdn/{AFWFVZ3D.js → HE6S52CP.js} +2 -2
- package/dist/cdn/{7JJPXZKZ.js → HOF652LV.js} +2 -2
- package/dist/cdn/{LDRKCODQ.js → I6BV6SIA.js} +2 -2
- package/dist/cdn/{SSXARCZF.js → J34HIZ7F.js} +2 -2
- package/dist/cdn/{7V25IS6A.js → J7OCWTHU.js} +2 -2
- package/dist/cdn/{ATMZJVQS.js → JNV25WDY.js} +2 -2
- package/dist/cdn/{DTYDEUN2.js → JQ6GRELK.js} +2 -2
- package/dist/cdn/{QJQAOLAC.js → KBQZXENO.js} +2 -2
- package/dist/cdn/{KZ3NNHCH.js → KKKVVI6B.js} +2 -2
- package/dist/cdn/{ZFJ2WJ7H.js → KYXXQ7LD.js} +2 -2
- package/dist/cdn/{VR2FY3BO.js → LDDBTLZI.js} +1 -1
- package/dist/cdn/{OI2LQPNO.js → LGQBFYVH.js} +2 -2
- package/dist/cdn/{JHIMMZLU.js → M5GJY7NG.js} +2 -2
- package/dist/cdn/{GRGNF5BP.js → MKRVDANP.js} +2 -2
- package/dist/cdn/{XZO6ZBYE.js → MR353F7D.js} +2 -2
- package/dist/cdn/{EFBFASZ2.js → O2RW4AIP.js} +1 -1
- package/dist/cdn/{D6OLHQF3.js → S3SBSLEA.js} +2 -2
- package/dist/cdn/{5OKP7MR6.js → SK5FPMGR.js} +2 -2
- package/dist/cdn/{FGWMLBVV.js → SZFX7IUX.js} +2 -2
- package/dist/cdn/{PE2O2A3D.js → UOZESRZB.js} +1 -1
- package/dist/cdn/{BKDPALF4.js → UXL3XKGJ.js} +2 -2
- package/dist/cdn/{TASZMXVX.js → VC6YE5LM.js} +2 -2
- package/dist/cdn/{KWHR4CPP.js → VSK7DCZ3.js} +2 -2
- package/dist/cdn/{ENLUMTM2.js → WLEFQASB.js} +1 -1
- package/dist/cdn/{YCFI5E4G.js → XTKAILRA.js} +1 -1
- package/dist/cdn/{V7NFXJT4.js → YCZLIGAG.js} +3 -3
- package/dist/cdn/{JLKSWW5G.js → ZSTPS74B.js} +2 -2
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +103 -103
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/colorize.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- 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.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 +451 -441
- package/dist/docs/docs.json +32 -32
- package/dist/docs/vscode.html-custom-data.json +5 -5
- package/dist/docs/web-types.json +6 -6
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/components.d.ts +1 -0
- package/dist/types/lumina.d.ts +5 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +5 -5
- package/dist/types/stencil.d.ts +5 -5
- package/package.json +5 -5
- package/dist/cdn/4VCUCVBK.js +0 -4
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-10T04:39:50",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.118",
|
|
6
6
|
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "2.1.0",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"customElement": true,
|
|
18
18
|
"name": "ArcgisArcadeEditor",
|
|
19
19
|
"tagName": "arcgis-arcade-editor",
|
|
20
|
+
"pascalCaseName": "ArcgisArcadeEditor",
|
|
20
21
|
"description": "[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)",
|
|
21
22
|
"demos": [
|
|
22
23
|
{
|
|
@@ -29,59 +30,33 @@
|
|
|
29
30
|
}
|
|
30
31
|
],
|
|
31
32
|
"superclass": {
|
|
32
|
-
"name": "
|
|
33
|
+
"name": "PublicLitElement",
|
|
34
|
+
"module": "PublicLitElement",
|
|
33
35
|
"package": "@arcgis/lumina"
|
|
34
36
|
},
|
|
35
|
-
"pascalCaseName": "ArcgisArcadeEditor",
|
|
36
|
-
"importPath": "components/arcgis-arcade-editor",
|
|
37
37
|
"members": [
|
|
38
38
|
{
|
|
39
39
|
"kind": "field",
|
|
40
40
|
"name": "arcadeAssistant",
|
|
41
41
|
"description": "enables and configures the arcade assistant",
|
|
42
|
-
"type": {
|
|
43
|
-
"text": "{\n portalUrl: string;\n appVersion?: string | undefined;\n}"
|
|
44
|
-
},
|
|
45
42
|
"docsTags": [
|
|
46
43
|
{
|
|
47
44
|
"name": "internal"
|
|
48
45
|
}
|
|
49
|
-
]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"name": "componentOnReady",
|
|
54
|
-
"return": {
|
|
55
|
-
"type": {
|
|
56
|
-
"text": "Promise<void>",
|
|
57
|
-
"references": [
|
|
58
|
-
{
|
|
59
|
-
"module": "lib/lib.es5.d.ts",
|
|
60
|
-
"name": "Promise",
|
|
61
|
-
"package": "typescript",
|
|
62
|
-
"start": 0,
|
|
63
|
-
"end": 7
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"description": "Create a promise that resolves once component is fully loaded.",
|
|
69
|
-
"signature": "(): Promise<void>",
|
|
70
|
-
"inheritedFrom": {
|
|
71
|
-
"name": "LitElement",
|
|
72
|
-
"package": "@arcgis/lumina"
|
|
73
|
-
},
|
|
74
|
-
"docsTags": [
|
|
75
|
-
{
|
|
76
|
-
"name": "example",
|
|
77
|
-
"text": "```js\nconst arcgisArcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\ndocument.body.append(arcgisArcadeEditor);\nawait arcgisArcadeEditor.componentOnReady();\nconsole.log(\"arcgis-arcade-editor is ready to go!\");\n```"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
46
|
+
],
|
|
47
|
+
"type": {
|
|
48
|
+
"text": "{\n portalUrl: string;\n appVersion?: string | undefined;\n}"
|
|
49
|
+
}
|
|
80
50
|
},
|
|
81
51
|
{
|
|
82
52
|
"kind": "field",
|
|
83
53
|
"name": "customPanels",
|
|
84
54
|
"description": "Custom panels to be displayed in the side panel.\nWill be placed below the default panels but above the help panel.",
|
|
55
|
+
"docsTags": [
|
|
56
|
+
{
|
|
57
|
+
"name": "internal"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
85
60
|
"type": {
|
|
86
61
|
"text": "(Array<{\n id: string;\n name: string;\n location: \"sidebar\";\n renderer: ({ closePanel, insertText, closed, editorRef, }: {\n closePanel: (e: Event) => void;\n insertText: (text: string) => void;\n closed: boolean;\n editorRef: ArcgisArcadeEditor<object>;\n }) => JsxNode;\n} & {\n icon: IconName;\n description?: string | undefined;\n useFlows?: boolean | undefined;\n enabled?: boolean | undefined;\n location: \"sidebar\";\n}>)",
|
|
87
62
|
"references": [
|
|
@@ -93,12 +68,7 @@
|
|
|
93
68
|
"end": 6
|
|
94
69
|
}
|
|
95
70
|
]
|
|
96
|
-
}
|
|
97
|
-
"docsTags": [
|
|
98
|
-
{
|
|
99
|
-
"name": "internal"
|
|
100
|
-
}
|
|
101
|
-
]
|
|
71
|
+
}
|
|
102
72
|
},
|
|
103
73
|
{
|
|
104
74
|
"kind": "field",
|
|
@@ -124,154 +94,6 @@
|
|
|
124
94
|
]
|
|
125
95
|
}
|
|
126
96
|
},
|
|
127
|
-
{
|
|
128
|
-
"kind": "method",
|
|
129
|
-
"name": "getScript",
|
|
130
|
-
"deprecated": "**Deprecated** since 4.30. Use `script` property instead.",
|
|
131
|
-
"return": {
|
|
132
|
-
"type": {
|
|
133
|
-
"text": "Promise<string | undefined>",
|
|
134
|
-
"references": [
|
|
135
|
-
{
|
|
136
|
-
"name": "Promise",
|
|
137
|
-
"package": "typescript",
|
|
138
|
-
"module": "lib/lib.es5.d.ts",
|
|
139
|
-
"start": 0,
|
|
140
|
-
"end": 7
|
|
141
|
-
}
|
|
142
|
-
]
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"signature": "(): Promise<string | undefined>"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"kind": "method",
|
|
149
|
-
"name": "getTestResult",
|
|
150
|
-
"description": "Returns the Arcade result for the script for the provided test data.",
|
|
151
|
-
"return": {
|
|
152
|
-
"type": {
|
|
153
|
-
"text": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultPixel | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
|
|
154
|
-
"references": [
|
|
155
|
-
{
|
|
156
|
-
"name": "Promise",
|
|
157
|
-
"package": "typescript",
|
|
158
|
-
"module": "lib/lib.es5.d.ts",
|
|
159
|
-
"start": 0,
|
|
160
|
-
"end": 7
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "IArcadeResultUnknown",
|
|
164
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
165
|
-
"start": 8,
|
|
166
|
-
"end": 28
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"name": "IArcadeResultNull",
|
|
170
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
171
|
-
"start": 31,
|
|
172
|
-
"end": 48
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "IArcadeResultError",
|
|
176
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
177
|
-
"start": 51,
|
|
178
|
-
"end": 69
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "IArcadeResultArray",
|
|
182
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
183
|
-
"start": 72,
|
|
184
|
-
"end": 90
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"name": "IArcadeResultDate",
|
|
188
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
189
|
-
"start": 93,
|
|
190
|
-
"end": 110
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"name": "IArcadeResultDateOnly",
|
|
194
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
195
|
-
"start": 113,
|
|
196
|
-
"end": 134
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "IArcadeResultTimeOnly",
|
|
200
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
201
|
-
"start": 137,
|
|
202
|
-
"end": 158
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"name": "IArcadeResultString",
|
|
206
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
207
|
-
"start": 161,
|
|
208
|
-
"end": 180
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"name": "IArcadeResultNumber",
|
|
212
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
213
|
-
"start": 183,
|
|
214
|
-
"end": 202
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"name": "IArcadeResultBoolean",
|
|
218
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
219
|
-
"start": 205,
|
|
220
|
-
"end": 225
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "IArcadeResultDictionary",
|
|
224
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
225
|
-
"start": 228,
|
|
226
|
-
"end": 251
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"name": "IArcadeResultGeometry",
|
|
230
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
231
|
-
"start": 254,
|
|
232
|
-
"end": 275
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "IArcadeResultKnowledgeGraph",
|
|
236
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
237
|
-
"start": 278,
|
|
238
|
-
"end": 305
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"name": "IArcadeResultFeature",
|
|
242
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
243
|
-
"start": 308,
|
|
244
|
-
"end": 328
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "IArcadeResultPixel",
|
|
248
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
249
|
-
"start": 331,
|
|
250
|
-
"end": 349
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "IArcadeResultFeatureSet",
|
|
254
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
255
|
-
"start": 352,
|
|
256
|
-
"end": 375
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"name": "IArcadeResultPortal",
|
|
260
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
261
|
-
"start": 378,
|
|
262
|
-
"end": 397
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"name": "IArcadeResultAttachment",
|
|
266
|
-
"module": "dist/utils/arcade-executor.d.ts",
|
|
267
|
-
"start": 400,
|
|
268
|
-
"end": 423
|
|
269
|
-
}
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"signature": "(): Promise<ArcadeResult>"
|
|
274
|
-
},
|
|
275
97
|
{
|
|
276
98
|
"kind": "field",
|
|
277
99
|
"name": "hideDocumentationActions",
|
|
@@ -365,26 +187,6 @@
|
|
|
365
187
|
"default": "\"\"",
|
|
366
188
|
"attribute": "script"
|
|
367
189
|
},
|
|
368
|
-
{
|
|
369
|
-
"kind": "method",
|
|
370
|
-
"name": "setFocus",
|
|
371
|
-
"description": "Set the focus on the element.",
|
|
372
|
-
"return": {
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "Promise<void>",
|
|
375
|
-
"references": [
|
|
376
|
-
{
|
|
377
|
-
"name": "Promise",
|
|
378
|
-
"package": "typescript",
|
|
379
|
-
"module": "lib/lib.es5.d.ts",
|
|
380
|
-
"start": 0,
|
|
381
|
-
"end": 7
|
|
382
|
-
}
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"signature": "(): Promise<void>"
|
|
387
|
-
},
|
|
388
190
|
{
|
|
389
191
|
"kind": "field",
|
|
390
192
|
"name": "sideActionBarExpanded",
|
|
@@ -484,26 +286,225 @@
|
|
|
484
286
|
}
|
|
485
287
|
]
|
|
486
288
|
}
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"attributes": [
|
|
289
|
+
},
|
|
490
290
|
{
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
291
|
+
"kind": "method",
|
|
292
|
+
"name": "componentOnReady",
|
|
293
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
294
|
+
"docsTags": [
|
|
295
|
+
{
|
|
296
|
+
"name": "example",
|
|
297
|
+
"text": "```js\nconst arcgisArcadeEditor = document.querySelector(\"arcgis-arcade-editor\");\ndocument.body.append(arcgisArcadeEditor);\nawait arcgisArcadeEditor.componentOnReady();\nconsole.log(\"arcgis-arcade-editor is ready to go!\");\n```"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"return": {
|
|
301
|
+
"type": {
|
|
302
|
+
"text": "Promise<this>",
|
|
303
|
+
"references": [
|
|
304
|
+
{
|
|
305
|
+
"module": "lib/lib.es5.d.ts",
|
|
306
|
+
"name": "Promise",
|
|
307
|
+
"package": "typescript",
|
|
308
|
+
"start": 0,
|
|
309
|
+
"end": 7
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
}
|
|
500
313
|
},
|
|
501
|
-
"
|
|
502
|
-
|
|
314
|
+
"inheritedFrom": {
|
|
315
|
+
"name": "PublicLitElement",
|
|
316
|
+
"module": "PublicLitElement",
|
|
317
|
+
"package": "@arcgis/lumina"
|
|
318
|
+
},
|
|
319
|
+
"signature": "(): Promise<this>"
|
|
503
320
|
},
|
|
504
321
|
{
|
|
505
|
-
"
|
|
506
|
-
"
|
|
322
|
+
"kind": "method",
|
|
323
|
+
"name": "getScript",
|
|
324
|
+
"deprecated": "**Deprecated** since 4.30. Use `script` property instead.",
|
|
325
|
+
"return": {
|
|
326
|
+
"type": {
|
|
327
|
+
"text": "Promise<string | undefined>",
|
|
328
|
+
"references": [
|
|
329
|
+
{
|
|
330
|
+
"name": "Promise",
|
|
331
|
+
"package": "typescript",
|
|
332
|
+
"module": "lib/lib.es5.d.ts",
|
|
333
|
+
"start": 0,
|
|
334
|
+
"end": 7
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"signature": "(): Promise<string | undefined>"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "method",
|
|
343
|
+
"name": "getTestResult",
|
|
344
|
+
"description": "Returns the Arcade result for the script for the provided test data.",
|
|
345
|
+
"return": {
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "Promise<IArcadeResultUnknown | IArcadeResultNull | IArcadeResultError | IArcadeResultArray | IArcadeResultDate | IArcadeResultDateOnly | IArcadeResultTimeOnly | IArcadeResultString | IArcadeResultNumber | IArcadeResultBoolean | IArcadeResultDictionary | IArcadeResultGeometry | IArcadeResultKnowledgeGraph | IArcadeResultFeature | IArcadeResultPixel | IArcadeResultFeatureSet | IArcadeResultPortal | IArcadeResultAttachment>",
|
|
348
|
+
"references": [
|
|
349
|
+
{
|
|
350
|
+
"name": "Promise",
|
|
351
|
+
"package": "typescript",
|
|
352
|
+
"module": "lib/lib.es5.d.ts",
|
|
353
|
+
"start": 0,
|
|
354
|
+
"end": 7
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "IArcadeResultUnknown",
|
|
358
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
359
|
+
"start": 8,
|
|
360
|
+
"end": 28
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "IArcadeResultNull",
|
|
364
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
365
|
+
"start": 31,
|
|
366
|
+
"end": 48
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "IArcadeResultError",
|
|
370
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
371
|
+
"start": 51,
|
|
372
|
+
"end": 69
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "IArcadeResultArray",
|
|
376
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
377
|
+
"start": 72,
|
|
378
|
+
"end": 90
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "IArcadeResultDate",
|
|
382
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
383
|
+
"start": 93,
|
|
384
|
+
"end": 110
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "IArcadeResultDateOnly",
|
|
388
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
389
|
+
"start": 113,
|
|
390
|
+
"end": 134
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "IArcadeResultTimeOnly",
|
|
394
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
395
|
+
"start": 137,
|
|
396
|
+
"end": 158
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "IArcadeResultString",
|
|
400
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
401
|
+
"start": 161,
|
|
402
|
+
"end": 180
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "IArcadeResultNumber",
|
|
406
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
407
|
+
"start": 183,
|
|
408
|
+
"end": 202
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "IArcadeResultBoolean",
|
|
412
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
413
|
+
"start": 205,
|
|
414
|
+
"end": 225
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "IArcadeResultDictionary",
|
|
418
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
419
|
+
"start": 228,
|
|
420
|
+
"end": 251
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "IArcadeResultGeometry",
|
|
424
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
425
|
+
"start": 254,
|
|
426
|
+
"end": 275
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "IArcadeResultKnowledgeGraph",
|
|
430
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
431
|
+
"start": 278,
|
|
432
|
+
"end": 305
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "IArcadeResultFeature",
|
|
436
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
437
|
+
"start": 308,
|
|
438
|
+
"end": 328
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "IArcadeResultPixel",
|
|
442
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
443
|
+
"start": 331,
|
|
444
|
+
"end": 349
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "IArcadeResultFeatureSet",
|
|
448
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
449
|
+
"start": 352,
|
|
450
|
+
"end": 375
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "IArcadeResultPortal",
|
|
454
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
455
|
+
"start": 378,
|
|
456
|
+
"end": 397
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "IArcadeResultAttachment",
|
|
460
|
+
"module": "dist/utils/arcade-executor.d.ts",
|
|
461
|
+
"start": 400,
|
|
462
|
+
"end": 423
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"signature": "(): Promise<ArcadeResult>"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "method",
|
|
471
|
+
"name": "setFocus",
|
|
472
|
+
"description": "Set the focus on the element.",
|
|
473
|
+
"return": {
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "Promise<void>",
|
|
476
|
+
"references": [
|
|
477
|
+
{
|
|
478
|
+
"name": "Promise",
|
|
479
|
+
"package": "typescript",
|
|
480
|
+
"module": "lib/lib.es5.d.ts",
|
|
481
|
+
"start": 0,
|
|
482
|
+
"end": 7
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"signature": "(): Promise<void>"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"attributes": [
|
|
491
|
+
{
|
|
492
|
+
"name": "hide-documentation-actions",
|
|
493
|
+
"description": "If true, it will hide the documentation action in the side panel",
|
|
494
|
+
"type": {
|
|
495
|
+
"text": "boolean",
|
|
496
|
+
"values": [
|
|
497
|
+
{
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
"default": "false",
|
|
503
|
+
"fieldName": "hideDocumentationActions"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "hide-side-bar",
|
|
507
|
+
"description": "If true, it will hide the side actions bar. The editor will be in a minimalistic UX.",
|
|
507
508
|
"type": {
|
|
508
509
|
"text": "boolean",
|
|
509
510
|
"values": [
|
|
@@ -582,7 +583,8 @@
|
|
|
582
583
|
},
|
|
583
584
|
"bubbles": false
|
|
584
585
|
}
|
|
585
|
-
]
|
|
586
|
+
],
|
|
587
|
+
"importPath": "components/arcgis-arcade-editor"
|
|
586
588
|
}
|
|
587
589
|
],
|
|
588
590
|
"exports": [
|
|
@@ -605,54 +607,24 @@
|
|
|
605
607
|
"customElement": true,
|
|
606
608
|
"name": "ArcgisCodeEditor",
|
|
607
609
|
"tagName": "arcgis-code-editor",
|
|
608
|
-
"
|
|
610
|
+
"pascalCaseName": "ArcgisCodeEditor",
|
|
611
|
+
"docsTags": [
|
|
609
612
|
{
|
|
610
|
-
"
|
|
611
|
-
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor/"
|
|
613
|
+
"name": "internal"
|
|
612
614
|
}
|
|
613
615
|
],
|
|
614
|
-
"
|
|
616
|
+
"demos": [
|
|
615
617
|
{
|
|
616
|
-
"
|
|
618
|
+
"description": "Docs",
|
|
619
|
+
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor/"
|
|
617
620
|
}
|
|
618
621
|
],
|
|
619
622
|
"superclass": {
|
|
620
|
-
"name": "
|
|
623
|
+
"name": "PublicLitElement",
|
|
624
|
+
"module": "PublicLitElement",
|
|
621
625
|
"package": "@arcgis/lumina"
|
|
622
626
|
},
|
|
623
|
-
"pascalCaseName": "ArcgisCodeEditor",
|
|
624
|
-
"importPath": "components/arcgis-code-editor",
|
|
625
627
|
"members": [
|
|
626
|
-
{
|
|
627
|
-
"kind": "method",
|
|
628
|
-
"name": "componentOnReady",
|
|
629
|
-
"return": {
|
|
630
|
-
"type": {
|
|
631
|
-
"text": "Promise<void>",
|
|
632
|
-
"references": [
|
|
633
|
-
{
|
|
634
|
-
"module": "lib/lib.es5.d.ts",
|
|
635
|
-
"name": "Promise",
|
|
636
|
-
"package": "typescript",
|
|
637
|
-
"start": 0,
|
|
638
|
-
"end": 7
|
|
639
|
-
}
|
|
640
|
-
]
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"description": "Create a promise that resolves once component is fully loaded.",
|
|
644
|
-
"signature": "(): Promise<void>",
|
|
645
|
-
"inheritedFrom": {
|
|
646
|
-
"name": "LitElement",
|
|
647
|
-
"package": "@arcgis/lumina"
|
|
648
|
-
},
|
|
649
|
-
"docsTags": [
|
|
650
|
-
{
|
|
651
|
-
"name": "example",
|
|
652
|
-
"text": "```js\nconst arcgisCodeEditor = document.querySelector(\"arcgis-code-editor\");\ndocument.body.append(arcgisCodeEditor);\nawait arcgisCodeEditor.componentOnReady();\nconsole.log(\"arcgis-code-editor is ready to go!\");\n```"
|
|
653
|
-
}
|
|
654
|
-
]
|
|
655
|
-
},
|
|
656
628
|
{
|
|
657
629
|
"kind": "field",
|
|
658
630
|
"name": "editorInstance",
|
|
@@ -695,6 +667,74 @@
|
|
|
695
667
|
]
|
|
696
668
|
}
|
|
697
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"kind": "field",
|
|
672
|
+
"name": "language",
|
|
673
|
+
"description": "The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.",
|
|
674
|
+
"type": {
|
|
675
|
+
"text": "string",
|
|
676
|
+
"values": [
|
|
677
|
+
{
|
|
678
|
+
"type": "string"
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
"attribute": "language"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "field",
|
|
686
|
+
"name": "modelId",
|
|
687
|
+
"description": "A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.",
|
|
688
|
+
"type": {
|
|
689
|
+
"text": "`${string}-${string}-${string}-${string}-${string}`"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"kind": "field",
|
|
694
|
+
"name": "value",
|
|
695
|
+
"description": "The initial value for the editor.\nThe value is the script, code, css, json, etc.",
|
|
696
|
+
"type": {
|
|
697
|
+
"text": "string",
|
|
698
|
+
"values": [
|
|
699
|
+
{
|
|
700
|
+
"type": "string"
|
|
701
|
+
}
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
"default": "\"\"",
|
|
705
|
+
"attribute": "value"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "method",
|
|
709
|
+
"name": "componentOnReady",
|
|
710
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
711
|
+
"docsTags": [
|
|
712
|
+
{
|
|
713
|
+
"name": "example",
|
|
714
|
+
"text": "```js\nconst arcgisCodeEditor = document.querySelector(\"arcgis-code-editor\");\ndocument.body.append(arcgisCodeEditor);\nawait arcgisCodeEditor.componentOnReady();\nconsole.log(\"arcgis-code-editor is ready to go!\");\n```"
|
|
715
|
+
}
|
|
716
|
+
],
|
|
717
|
+
"return": {
|
|
718
|
+
"type": {
|
|
719
|
+
"text": "Promise<this>",
|
|
720
|
+
"references": [
|
|
721
|
+
{
|
|
722
|
+
"module": "lib/lib.es5.d.ts",
|
|
723
|
+
"name": "Promise",
|
|
724
|
+
"package": "typescript",
|
|
725
|
+
"start": 0,
|
|
726
|
+
"end": 7
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"inheritedFrom": {
|
|
732
|
+
"name": "PublicLitElement",
|
|
733
|
+
"module": "PublicLitElement",
|
|
734
|
+
"package": "@arcgis/lumina"
|
|
735
|
+
},
|
|
736
|
+
"signature": "(): Promise<this>"
|
|
737
|
+
},
|
|
698
738
|
{
|
|
699
739
|
"kind": "method",
|
|
700
740
|
"name": "getValue",
|
|
@@ -719,6 +759,15 @@
|
|
|
719
759
|
"kind": "method",
|
|
720
760
|
"name": "insertSnippet",
|
|
721
761
|
"description": "Inserts a snippet at the current position in the editor.",
|
|
762
|
+
"docsTags": [
|
|
763
|
+
{
|
|
764
|
+
"name": "param",
|
|
765
|
+
"text": "text - The string snippet to insert"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "returns"
|
|
769
|
+
}
|
|
770
|
+
],
|
|
722
771
|
"parameters": [
|
|
723
772
|
{
|
|
724
773
|
"name": "text",
|
|
@@ -752,21 +801,21 @@
|
|
|
752
801
|
]
|
|
753
802
|
}
|
|
754
803
|
},
|
|
804
|
+
"signature": "(text: string | null | undefined): Promise<void>"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"kind": "method",
|
|
808
|
+
"name": "insertText",
|
|
809
|
+
"description": "Inserts a text at the current position in the editor.",
|
|
755
810
|
"docsTags": [
|
|
756
811
|
{
|
|
757
812
|
"name": "param",
|
|
758
|
-
"text": "text - The string
|
|
813
|
+
"text": "text - The string to insert"
|
|
759
814
|
},
|
|
760
815
|
{
|
|
761
816
|
"name": "returns"
|
|
762
817
|
}
|
|
763
818
|
],
|
|
764
|
-
"signature": "(text: string | null | undefined): Promise<void>"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"kind": "method",
|
|
768
|
-
"name": "insertText",
|
|
769
|
-
"description": "Inserts a text at the current position in the editor.",
|
|
770
819
|
"parameters": [
|
|
771
820
|
{
|
|
772
821
|
"name": "text",
|
|
@@ -800,43 +849,17 @@
|
|
|
800
849
|
]
|
|
801
850
|
}
|
|
802
851
|
},
|
|
803
|
-
"docsTags": [
|
|
804
|
-
{
|
|
805
|
-
"name": "param",
|
|
806
|
-
"text": "text - The string to insert"
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"name": "returns"
|
|
810
|
-
}
|
|
811
|
-
],
|
|
812
852
|
"signature": "(text: string | null | undefined): Promise<void>"
|
|
813
853
|
},
|
|
814
|
-
{
|
|
815
|
-
"kind": "field",
|
|
816
|
-
"name": "language",
|
|
817
|
-
"description": "The language for the editor.\nCurrently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.",
|
|
818
|
-
"type": {
|
|
819
|
-
"text": "string",
|
|
820
|
-
"values": [
|
|
821
|
-
{
|
|
822
|
-
"type": "string"
|
|
823
|
-
}
|
|
824
|
-
]
|
|
825
|
-
},
|
|
826
|
-
"attribute": "language"
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
"kind": "field",
|
|
830
|
-
"name": "modelId",
|
|
831
|
-
"description": "A unique identifier for the model.\nThe unique identifier is sometimes used by language defaults to store model metadata.\nFor example, with arcade, the model id is used to store the arcade profile and other metadata.\nThe unique identifier is especially useful when there are multiple editors on the same page.",
|
|
832
|
-
"type": {
|
|
833
|
-
"text": "`${string}-${string}-${string}-${string}-${string}`"
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
854
|
{
|
|
837
855
|
"kind": "method",
|
|
838
856
|
"name": "setFocus",
|
|
839
857
|
"description": "Sets the focus on the editor.",
|
|
858
|
+
"docsTags": [
|
|
859
|
+
{
|
|
860
|
+
"name": "returns"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
840
863
|
"return": {
|
|
841
864
|
"type": {
|
|
842
865
|
"text": "Promise<void>",
|
|
@@ -851,11 +874,6 @@
|
|
|
851
874
|
]
|
|
852
875
|
}
|
|
853
876
|
},
|
|
854
|
-
"docsTags": [
|
|
855
|
-
{
|
|
856
|
-
"name": "returns"
|
|
857
|
-
}
|
|
858
|
-
],
|
|
859
877
|
"signature": "(): Promise<void>"
|
|
860
878
|
},
|
|
861
879
|
{
|
|
@@ -896,21 +914,6 @@
|
|
|
896
914
|
}
|
|
897
915
|
},
|
|
898
916
|
"signature": "(text: string | null | undefined): Promise<void>"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"kind": "field",
|
|
902
|
-
"name": "value",
|
|
903
|
-
"description": "The initial value for the editor.\nThe value is the script, code, css, json, etc.",
|
|
904
|
-
"type": {
|
|
905
|
-
"text": "string",
|
|
906
|
-
"values": [
|
|
907
|
-
{
|
|
908
|
-
"type": "string"
|
|
909
|
-
}
|
|
910
|
-
]
|
|
911
|
-
},
|
|
912
|
-
"default": "\"\"",
|
|
913
|
-
"attribute": "value"
|
|
914
917
|
}
|
|
915
918
|
],
|
|
916
919
|
"attributes": [
|
|
@@ -964,7 +967,8 @@
|
|
|
964
967
|
},
|
|
965
968
|
"bubbles": false
|
|
966
969
|
}
|
|
967
|
-
]
|
|
970
|
+
],
|
|
971
|
+
"importPath": "components/arcgis-code-editor"
|
|
968
972
|
}
|
|
969
973
|
],
|
|
970
974
|
"exports": [
|
|
@@ -987,31 +991,38 @@
|
|
|
987
991
|
"customElement": true,
|
|
988
992
|
"name": "CodeEditorShell",
|
|
989
993
|
"tagName": "arcgis-code-editor-shell",
|
|
994
|
+
"pascalCaseName": "ArcgisCodeEditorShell",
|
|
990
995
|
"description": "A layout component for code editors that provides slots for an editor, results panel, side panel, and action bars.",
|
|
991
|
-
"
|
|
996
|
+
"docsTags": [
|
|
992
997
|
{
|
|
993
|
-
"
|
|
994
|
-
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor-shell/"
|
|
998
|
+
"name": "internal"
|
|
995
999
|
}
|
|
996
1000
|
],
|
|
997
|
-
"
|
|
1001
|
+
"demos": [
|
|
998
1002
|
{
|
|
999
|
-
"
|
|
1003
|
+
"description": "Docs",
|
|
1004
|
+
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-editor-shell/"
|
|
1000
1005
|
}
|
|
1001
1006
|
],
|
|
1002
1007
|
"superclass": {
|
|
1003
|
-
"name": "
|
|
1008
|
+
"name": "PublicLitElement",
|
|
1009
|
+
"module": "PublicLitElement",
|
|
1004
1010
|
"package": "@arcgis/lumina"
|
|
1005
1011
|
},
|
|
1006
|
-
"pascalCaseName": "ArcgisCodeEditorShell",
|
|
1007
|
-
"importPath": "components/arcgis-code-editor-shell",
|
|
1008
1012
|
"members": [
|
|
1009
1013
|
{
|
|
1010
1014
|
"kind": "method",
|
|
1011
1015
|
"name": "componentOnReady",
|
|
1016
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1017
|
+
"docsTags": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "example",
|
|
1020
|
+
"text": "```js\nconst codeEditorShell = document.querySelector(\"arcgis-code-editor-shell\");\ndocument.body.append(codeEditorShell);\nawait codeEditorShell.componentOnReady();\nconsole.log(\"arcgis-code-editor-shell is ready to go!\");\n```"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1012
1023
|
"return": {
|
|
1013
1024
|
"type": {
|
|
1014
|
-
"text": "Promise<
|
|
1025
|
+
"text": "Promise<this>",
|
|
1015
1026
|
"references": [
|
|
1016
1027
|
{
|
|
1017
1028
|
"module": "lib/lib.es5.d.ts",
|
|
@@ -1023,18 +1034,12 @@
|
|
|
1023
1034
|
]
|
|
1024
1035
|
}
|
|
1025
1036
|
},
|
|
1026
|
-
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1027
|
-
"signature": "(): Promise<void>",
|
|
1028
1037
|
"inheritedFrom": {
|
|
1029
|
-
"name": "
|
|
1038
|
+
"name": "PublicLitElement",
|
|
1039
|
+
"module": "PublicLitElement",
|
|
1030
1040
|
"package": "@arcgis/lumina"
|
|
1031
1041
|
},
|
|
1032
|
-
"
|
|
1033
|
-
{
|
|
1034
|
-
"name": "example",
|
|
1035
|
-
"text": "```js\nconst codeEditorShell = document.querySelector(\"arcgis-code-editor-shell\");\ndocument.body.append(codeEditorShell);\nawait codeEditorShell.componentOnReady();\nconsole.log(\"arcgis-code-editor-shell is ready to go!\");\n```"
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1042
|
+
"signature": "(): Promise<this>"
|
|
1038
1043
|
}
|
|
1039
1044
|
],
|
|
1040
1045
|
"slots": [
|
|
@@ -1088,7 +1093,8 @@
|
|
|
1088
1093
|
"name": "--arcgis-coding-components-code-editor-results-panel-h",
|
|
1089
1094
|
"description": "The default height for the code editor results panel (preferred over min-h). *"
|
|
1090
1095
|
}
|
|
1091
|
-
]
|
|
1096
|
+
],
|
|
1097
|
+
"importPath": "components/arcgis-code-editor-shell"
|
|
1092
1098
|
}
|
|
1093
1099
|
],
|
|
1094
1100
|
"exports": [
|
|
@@ -1111,13 +1117,8 @@
|
|
|
1111
1117
|
"customElement": true,
|
|
1112
1118
|
"name": "ArcgisCodeViewer",
|
|
1113
1119
|
"tagName": "arcgis-code-viewer",
|
|
1120
|
+
"pascalCaseName": "ArcgisCodeViewer",
|
|
1114
1121
|
"description": "A code viewer component for displaying code snippets.\nSupports syntax highlighting for various programming languages, include arcade and arcgis-sql-expression.",
|
|
1115
|
-
"demos": [
|
|
1116
|
-
{
|
|
1117
|
-
"description": "Docs",
|
|
1118
|
-
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-viewer/"
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
1122
|
"docsTags": [
|
|
1122
1123
|
{
|
|
1123
1124
|
"name": "example",
|
|
@@ -1131,43 +1132,18 @@
|
|
|
1131
1132
|
"name": "internal"
|
|
1132
1133
|
}
|
|
1133
1134
|
],
|
|
1135
|
+
"demos": [
|
|
1136
|
+
{
|
|
1137
|
+
"description": "Docs",
|
|
1138
|
+
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-code-viewer/"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1134
1141
|
"superclass": {
|
|
1135
|
-
"name": "
|
|
1142
|
+
"name": "PublicLitElement",
|
|
1143
|
+
"module": "PublicLitElement",
|
|
1136
1144
|
"package": "@arcgis/lumina"
|
|
1137
1145
|
},
|
|
1138
|
-
"pascalCaseName": "ArcgisCodeViewer",
|
|
1139
|
-
"importPath": "components/arcgis-code-viewer",
|
|
1140
1146
|
"members": [
|
|
1141
|
-
{
|
|
1142
|
-
"kind": "method",
|
|
1143
|
-
"name": "componentOnReady",
|
|
1144
|
-
"return": {
|
|
1145
|
-
"type": {
|
|
1146
|
-
"text": "Promise<void>",
|
|
1147
|
-
"references": [
|
|
1148
|
-
{
|
|
1149
|
-
"module": "lib/lib.es5.d.ts",
|
|
1150
|
-
"name": "Promise",
|
|
1151
|
-
"package": "typescript",
|
|
1152
|
-
"start": 0,
|
|
1153
|
-
"end": 7
|
|
1154
|
-
}
|
|
1155
|
-
]
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1159
|
-
"signature": "(): Promise<void>",
|
|
1160
|
-
"inheritedFrom": {
|
|
1161
|
-
"name": "LitElement",
|
|
1162
|
-
"package": "@arcgis/lumina"
|
|
1163
|
-
},
|
|
1164
|
-
"docsTags": [
|
|
1165
|
-
{
|
|
1166
|
-
"name": "example",
|
|
1167
|
-
"text": "```js\nconst arcgisCodeViewer = document.querySelector(\"arcgis-code-viewer\");\ndocument.body.append(arcgisCodeViewer);\nawait arcgisCodeViewer.componentOnReady();\nconsole.log(\"arcgis-code-viewer is ready to go!\");\n```"
|
|
1168
|
-
}
|
|
1169
|
-
]
|
|
1170
|
-
},
|
|
1171
1147
|
{
|
|
1172
1148
|
"kind": "field",
|
|
1173
1149
|
"name": "language",
|
|
@@ -1198,6 +1174,37 @@
|
|
|
1198
1174
|
"default": "false",
|
|
1199
1175
|
"attribute": "round",
|
|
1200
1176
|
"reflects": true
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "method",
|
|
1180
|
+
"name": "componentOnReady",
|
|
1181
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1182
|
+
"docsTags": [
|
|
1183
|
+
{
|
|
1184
|
+
"name": "example",
|
|
1185
|
+
"text": "```js\nconst arcgisCodeViewer = document.querySelector(\"arcgis-code-viewer\");\ndocument.body.append(arcgisCodeViewer);\nawait arcgisCodeViewer.componentOnReady();\nconsole.log(\"arcgis-code-viewer is ready to go!\");\n```"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"return": {
|
|
1189
|
+
"type": {
|
|
1190
|
+
"text": "Promise<this>",
|
|
1191
|
+
"references": [
|
|
1192
|
+
{
|
|
1193
|
+
"module": "lib/lib.es5.d.ts",
|
|
1194
|
+
"name": "Promise",
|
|
1195
|
+
"package": "typescript",
|
|
1196
|
+
"start": 0,
|
|
1197
|
+
"end": 7
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"inheritedFrom": {
|
|
1203
|
+
"name": "PublicLitElement",
|
|
1204
|
+
"module": "PublicLitElement",
|
|
1205
|
+
"package": "@arcgis/lumina"
|
|
1206
|
+
},
|
|
1207
|
+
"signature": "(): Promise<this>"
|
|
1201
1208
|
}
|
|
1202
1209
|
],
|
|
1203
1210
|
"attributes": [
|
|
@@ -1229,7 +1236,8 @@
|
|
|
1229
1236
|
"default": "false",
|
|
1230
1237
|
"fieldName": "round"
|
|
1231
1238
|
}
|
|
1232
|
-
]
|
|
1239
|
+
],
|
|
1240
|
+
"importPath": "components/arcgis-code-viewer"
|
|
1233
1241
|
}
|
|
1234
1242
|
],
|
|
1235
1243
|
"exports": [
|
|
@@ -1252,59 +1260,35 @@
|
|
|
1252
1260
|
"customElement": true,
|
|
1253
1261
|
"name": "ArcgisSqlExpressionEditor",
|
|
1254
1262
|
"tagName": "arcgis-sql-expression-editor",
|
|
1263
|
+
"pascalCaseName": "ArcgisSqlExpressionEditor",
|
|
1255
1264
|
"description": "The SQL Expression Editor provides a familiar code editor experience for writing your own SQL expressions.\nIt supports syntax highlighting, code completion, and validation, allowing users to write SQL expressions using the\n[standardized SQL functions](https://doc.arcgis.com/en/arcgis-online/reference/sql-agol.htm) supported by ArcGIS.",
|
|
1256
|
-
"
|
|
1265
|
+
"docsTags": [
|
|
1257
1266
|
{
|
|
1258
|
-
"
|
|
1259
|
-
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-sql-expression-editor/"
|
|
1267
|
+
"name": "internal"
|
|
1260
1268
|
}
|
|
1261
1269
|
],
|
|
1262
|
-
"
|
|
1270
|
+
"demos": [
|
|
1263
1271
|
{
|
|
1264
|
-
"
|
|
1272
|
+
"description": "Docs",
|
|
1273
|
+
"url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-sql-expression-editor/"
|
|
1265
1274
|
}
|
|
1266
1275
|
],
|
|
1267
1276
|
"superclass": {
|
|
1268
|
-
"name": "
|
|
1277
|
+
"name": "PublicLitElement",
|
|
1278
|
+
"module": "PublicLitElement",
|
|
1269
1279
|
"package": "@arcgis/lumina"
|
|
1270
1280
|
},
|
|
1271
|
-
"pascalCaseName": "ArcgisSqlExpressionEditor",
|
|
1272
|
-
"importPath": "components/arcgis-sql-expression-editor",
|
|
1273
1281
|
"members": [
|
|
1274
1282
|
{
|
|
1275
|
-
"kind": "
|
|
1276
|
-
"name": "
|
|
1277
|
-
"
|
|
1278
|
-
"type": {
|
|
1279
|
-
"text": "Promise<void>",
|
|
1280
|
-
"references": [
|
|
1281
|
-
{
|
|
1282
|
-
"module": "lib/lib.es5.d.ts",
|
|
1283
|
-
"name": "Promise",
|
|
1284
|
-
"package": "typescript",
|
|
1285
|
-
"start": 0,
|
|
1286
|
-
"end": 7
|
|
1287
|
-
}
|
|
1288
|
-
]
|
|
1289
|
-
}
|
|
1290
|
-
},
|
|
1291
|
-
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1292
|
-
"signature": "(): Promise<void>",
|
|
1293
|
-
"inheritedFrom": {
|
|
1294
|
-
"name": "LitElement",
|
|
1295
|
-
"package": "@arcgis/lumina"
|
|
1296
|
-
},
|
|
1283
|
+
"kind": "field",
|
|
1284
|
+
"name": "hideSideBar",
|
|
1285
|
+
"description": "If true, it will hide the side actions bar. The editor will be in a minimalistic UX.",
|
|
1297
1286
|
"docsTags": [
|
|
1298
1287
|
{
|
|
1299
1288
|
"name": "example",
|
|
1300
|
-
"text": "```
|
|
1289
|
+
"text": "```html\n <arcgis-sql-expression-editor hideSideBar></arcgis-sql-expression-editor>\n```"
|
|
1301
1290
|
}
|
|
1302
|
-
]
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
"kind": "field",
|
|
1306
|
-
"name": "hideSideBar",
|
|
1307
|
-
"description": "If true, it will hide the side actions bar. The editor will be in a minimalistic UX.",
|
|
1291
|
+
],
|
|
1308
1292
|
"type": {
|
|
1309
1293
|
"text": "boolean",
|
|
1310
1294
|
"values": [
|
|
@@ -1314,18 +1298,18 @@
|
|
|
1314
1298
|
]
|
|
1315
1299
|
},
|
|
1316
1300
|
"default": "false",
|
|
1317
|
-
"attribute": "hide-side-bar"
|
|
1318
|
-
"docsTags": [
|
|
1319
|
-
{
|
|
1320
|
-
"name": "example",
|
|
1321
|
-
"text": "```html\n <arcgis-sql-expression-editor hideSideBar></arcgis-sql-expression-editor>\n```"
|
|
1322
|
-
}
|
|
1323
|
-
]
|
|
1301
|
+
"attribute": "hide-side-bar"
|
|
1324
1302
|
},
|
|
1325
1303
|
{
|
|
1326
1304
|
"kind": "field",
|
|
1327
1305
|
"name": "profile",
|
|
1328
1306
|
"description": "The profile to use for the editor. The profile defines the variables and functions that are available to the editor.",
|
|
1307
|
+
"docsTags": [
|
|
1308
|
+
{
|
|
1309
|
+
"name": "example",
|
|
1310
|
+
"text": "```jsx\n<arcgis-sql-expression-editor profile={id: \"field-calculation\", definitions: { $layer: layer }}></arcgis-sql-expression-editor>\n```"
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1329
1313
|
"type": {
|
|
1330
1314
|
"text": "IPredefinedProfile",
|
|
1331
1315
|
"references": [
|
|
@@ -1336,18 +1320,18 @@
|
|
|
1336
1320
|
"end": 18
|
|
1337
1321
|
}
|
|
1338
1322
|
]
|
|
1339
|
-
}
|
|
1340
|
-
"docsTags": [
|
|
1341
|
-
{
|
|
1342
|
-
"name": "example",
|
|
1343
|
-
"text": "```jsx\n<arcgis-sql-expression-editor profile={id: \"field-calculation\", definitions: { $layer: layer }}></arcgis-sql-expression-editor>\n```"
|
|
1344
|
-
}
|
|
1345
|
-
]
|
|
1323
|
+
}
|
|
1346
1324
|
},
|
|
1347
1325
|
{
|
|
1348
1326
|
"kind": "field",
|
|
1349
1327
|
"name": "script",
|
|
1350
1328
|
"description": "The sql expression script. Use this property to define or update the script.",
|
|
1329
|
+
"docsTags": [
|
|
1330
|
+
{
|
|
1331
|
+
"name": "example",
|
|
1332
|
+
"text": "```html\n<arcgis-sql-expression-editor script=\"CAST(2.45 AS INTEGER)\"></arcgis-sql-expression-editor>\n```"
|
|
1333
|
+
}
|
|
1334
|
+
],
|
|
1351
1335
|
"type": {
|
|
1352
1336
|
"text": "string",
|
|
1353
1337
|
"values": [
|
|
@@ -1357,13 +1341,38 @@
|
|
|
1357
1341
|
]
|
|
1358
1342
|
},
|
|
1359
1343
|
"default": "\"\"",
|
|
1360
|
-
"attribute": "script"
|
|
1344
|
+
"attribute": "script"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"kind": "method",
|
|
1348
|
+
"name": "componentOnReady",
|
|
1349
|
+
"description": "Create a promise that resolves once component is fully loaded.",
|
|
1361
1350
|
"docsTags": [
|
|
1362
1351
|
{
|
|
1363
1352
|
"name": "example",
|
|
1364
|
-
"text": "```
|
|
1353
|
+
"text": "```js\nconst arcgisSqlExpressionEditor = document.querySelector(\"arcgis-sql-expression-editor\");\ndocument.body.append(arcgisSqlExpressionEditor);\nawait arcgisSqlExpressionEditor.componentOnReady();\nconsole.log(\"arcgis-sql-expression-editor is ready to go!\");\n```"
|
|
1354
|
+
}
|
|
1355
|
+
],
|
|
1356
|
+
"return": {
|
|
1357
|
+
"type": {
|
|
1358
|
+
"text": "Promise<this>",
|
|
1359
|
+
"references": [
|
|
1360
|
+
{
|
|
1361
|
+
"module": "lib/lib.es5.d.ts",
|
|
1362
|
+
"name": "Promise",
|
|
1363
|
+
"package": "typescript",
|
|
1364
|
+
"start": 0,
|
|
1365
|
+
"end": 7
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1365
1368
|
}
|
|
1366
|
-
|
|
1369
|
+
},
|
|
1370
|
+
"inheritedFrom": {
|
|
1371
|
+
"name": "PublicLitElement",
|
|
1372
|
+
"module": "PublicLitElement",
|
|
1373
|
+
"package": "@arcgis/lumina"
|
|
1374
|
+
},
|
|
1375
|
+
"signature": "(): Promise<this>"
|
|
1367
1376
|
},
|
|
1368
1377
|
{
|
|
1369
1378
|
"kind": "method",
|
|
@@ -1454,7 +1463,8 @@
|
|
|
1454
1463
|
},
|
|
1455
1464
|
"bubbles": false
|
|
1456
1465
|
}
|
|
1457
|
-
]
|
|
1466
|
+
],
|
|
1467
|
+
"importPath": "components/arcgis-sql-expression-editor"
|
|
1458
1468
|
}
|
|
1459
1469
|
],
|
|
1460
1470
|
"exports": [
|