@arcgis/coding-components 5.0.0-next.147 → 5.0.0-next.149
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/cdn/{VOKAILQ5.js → 5GJXU26T.js} +1 -1
- package/dist/cdn/CVGNKT6A.js +2 -0
- package/dist/cdn/GPCAV243.js +2 -0
- package/dist/cdn/H25NK6KP.js +2 -0
- package/dist/cdn/HFY5V4YQ.js +2 -0
- package/dist/cdn/S5ZW4OSD.js +2 -0
- package/dist/cdn/TJHFVCKN.js +2 -0
- package/dist/cdn/V2FCS4O5.js +4 -0
- package/dist/cdn/XKNRIGBN.js +2 -0
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +9397 -9313
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.d.ts +0 -2
- package/dist/components/arcgis-arcade-editor/customElement.js +0 -6
- package/dist/components/arcgis-code-editor/customElement.d.ts +0 -7
- package/dist/components/arcgis-code-editor/customElement.js +0 -9
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +3 -4
- package/dist/utils/arcade-executor.d.ts +0 -3
- package/package.json +5 -5
- package/dist/addons/arcade-coding-assistant/useArcadeAssistant.d.ts +0 -33
- package/dist/addons/index.d.ts +0 -2
- package/dist/addons.js +0 -51
- package/dist/cdn/2WEMCNJY.js +0 -2
- package/dist/cdn/37TTDUCL.js +0 -2
- package/dist/cdn/CYUVUJUQ.js +0 -2
- package/dist/cdn/ES55YNFK.js +0 -2
- package/dist/cdn/FHLSJMBY.js +0 -2
- package/dist/cdn/GNOEAG5O.js +0 -4
- package/dist/cdn/I466DUIV.js +0 -2
- package/dist/cdn/R235VE2D.js +0 -2
- package/dist/cdn/UHVSUPMQ.js +0 -2
- package/dist/cdn/W7GMC6R5.js +0 -2
- package/dist/cdn/X5YNEMIK.js +0 -2
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/sql-expression-fields/t9n/messages.zh-TW.json +0 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +0 -59
- package/dist/components/arcgis-sql-expression-fields/index.js +0 -7
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{I as s,u as e}from"./VZCGFCMK.js";import"./RXOG5OZ7.js";import"./ALDX5YZO.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./
|
|
2
|
+
import{I as s,u as e}from"./VZCGFCMK.js";import"./RXOG5OZ7.js";import"./ALDX5YZO.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./V2FCS4O5.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./XKNRIGBN.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,messages:,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./LDDFFER6.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./LLWOE2G5.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./H25NK6KP.js"),"editorInstance:,editorOptions:,language,modelId,value;insertSnippet,insertText,setFocus"],"arcgis-code-editor-shell":[()=>import("./WWB7CXZN.js")],"arcgis-code-viewer":[()=>import("./GPCAV243.js"),"language,round"],"arcgis-editor-variables":[()=>import("./CDKPJGE2.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./47B6HD75.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./HFY5V4YQ.js"),"hideSideBar,messages:,profile:,script;setFocus"]});i({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
|
|
@@ -6,7 +6,6 @@ import { ref as oe, createRef as ae } from "lit/directives/ref.js";
|
|
|
6
6
|
import se from "@arcgis/core/identity/IdentityManager.js";
|
|
7
7
|
import { u as ne } from "../../chunks/useT9n.js";
|
|
8
8
|
import { b as N } from "../../chunks/arcade-defaults.js";
|
|
9
|
-
import { log as x } from "@arcgis/toolkit/log";
|
|
10
9
|
import U from "@arcgis/core/request.js";
|
|
11
10
|
import { e as ce, a as re } from "../../chunks/utilities.js";
|
|
12
11
|
import { repeat as Q } from "lit/directives/repeat.js";
|
|
@@ -16,6 +15,7 @@ import { unsafeHTML as A } from "lit/directives/unsafe-html.js";
|
|
|
16
15
|
import de from "@arcgis/core/layers/FeatureLayer.js";
|
|
17
16
|
import pe from "@arcgis/core/config.js";
|
|
18
17
|
import ue from "@arcgis/core/Graphic.js";
|
|
18
|
+
import { log as x } from "@arcgis/toolkit/log";
|
|
19
19
|
import { getDeclaredVoxelMembers as he, getDeclaredPixelMembers as me } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
|
|
20
20
|
import { s as fe } from "../../chunks/fields.js";
|
|
21
21
|
import { g as K, h as be } from "../../chunks/language-defaults-base.js";
|
|
@@ -123,8 +123,6 @@ export abstract class ArcgisArcadeEditor<T extends WithCustomPanels = object> ex
|
|
|
123
123
|
accessor suggestions: IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[] | undefined;
|
|
124
124
|
/** Test data used to execute the script in the editor. If undefined the execute script UX will be hidden. */
|
|
125
125
|
accessor testData: IEditorTestContext | undefined;
|
|
126
|
-
/** @deprecated **Deprecated** since 4.30. Use `script` property instead. */
|
|
127
|
-
getScript(): Promise<string | undefined>;
|
|
128
126
|
/** Returns the Arcade result for the script for the provided test data. */
|
|
129
127
|
getTestResult(): Promise<ArcadeResult>;
|
|
130
128
|
/** Set the focus on the element. */
|
|
@@ -68,12 +68,6 @@ class X extends C {
|
|
|
68
68
|
get editorInstance() {
|
|
69
69
|
return this._codeEditorElt.value?.editorInstance;
|
|
70
70
|
}
|
|
71
|
-
async getEditorInstance() {
|
|
72
|
-
return await this._componentReadyDefer.promise, this._codeEditorElt.value?.editorInstance;
|
|
73
|
-
}
|
|
74
|
-
async getScript() {
|
|
75
|
-
return await this._componentReadyDefer.promise, this._codeEditorElt.value?.value;
|
|
76
|
-
}
|
|
77
71
|
async getTestResult() {
|
|
78
72
|
if (!this.testData)
|
|
79
73
|
return { type: "error", value: "Missing test data", error: null };
|
|
@@ -41,8 +41,6 @@ export abstract class ArcgisCodeEditor extends LitElement {
|
|
|
41
41
|
* @default ""
|
|
42
42
|
*/
|
|
43
43
|
accessor value: string;
|
|
44
|
-
/** @deprecated **Deprecated** since 4.30. Use `value` property instead. */
|
|
45
|
-
getValue(): Promise<string>;
|
|
46
44
|
/**
|
|
47
45
|
* Inserts a snippet at the current position in the editor.
|
|
48
46
|
*
|
|
@@ -57,11 +55,6 @@ export abstract class ArcgisCodeEditor extends LitElement {
|
|
|
57
55
|
insertText(text: string | null | undefined): Promise<void>;
|
|
58
56
|
/** Sets the focus on the editor. */
|
|
59
57
|
setFocus(): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated **Deprecated** since 4.30. Use `value` property instead.
|
|
62
|
-
* @param text
|
|
63
|
-
*/
|
|
64
|
-
setValue(text: string | null | undefined): Promise<void>;
|
|
65
58
|
/** Emitted when the selection has changed. */
|
|
66
59
|
readonly arcgisSelectionChange: import("@arcgis/lumina").TargetedEvent<this, {
|
|
67
60
|
selection: Selection;
|
|
@@ -235,12 +235,6 @@ class cA extends H {
|
|
|
235
235
|
get editorInstance() {
|
|
236
236
|
return this._editorInstance;
|
|
237
237
|
}
|
|
238
|
-
async getEditorInstance() {
|
|
239
|
-
return await this._componentReadyDefer.promise, this._editorInstance;
|
|
240
|
-
}
|
|
241
|
-
async getValue() {
|
|
242
|
-
return await this._componentReadyDefer.promise, this.value;
|
|
243
|
-
}
|
|
244
238
|
async insertSnippet(o) {
|
|
245
239
|
if (await this._componentReadyDefer.promise, !this._editorInstance)
|
|
246
240
|
return;
|
|
@@ -255,9 +249,6 @@ class cA extends H {
|
|
|
255
249
|
async setFocus() {
|
|
256
250
|
await this._componentReadyDefer.promise, this._editorInstance?.focus();
|
|
257
251
|
}
|
|
258
|
-
async setValue(o) {
|
|
259
|
-
await this._componentReadyDefer.promise, this.value = o ?? "";
|
|
260
|
-
}
|
|
261
252
|
willUpdate(o) {
|
|
262
253
|
o.has("value") && this._updateModelValue(), (o.has("language") || o.has("modelId")) && this.hasUpdated && this._updateModel(), o.has("editorOptions") && this._editorInstance?.updateOptions(this.editorOptions ?? {});
|
|
263
254
|
}
|