@arcgis/coding-components 4.33.0-next.33 → 4.33.0-next.34
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/2GHDIVQG.js +4 -0
- package/dist/arcgis-coding-components/{YH5RDJPU.js → 2HLF5ZEJ.js} +2 -2
- package/dist/arcgis-coding-components/{CCY4FT6N.js.LEGAL.txt → 2HLF5ZEJ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/2V6F367D.js +4 -0
- package/dist/arcgis-coding-components/{CDQHTB6C.js.LEGAL.txt → 2V6F367D.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/4FQMSJAB.js +4 -0
- package/dist/arcgis-coding-components/{CRM5DQLU.js.LEGAL.txt → 4FQMSJAB.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/5ABJ4R3M.js +4 -0
- package/dist/arcgis-coding-components/{3SXBMBHD.js.LEGAL.txt → 5ABJ4R3M.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{I7LKNAQK.js → 5ZZ6HCEX.js} +2 -2
- package/dist/arcgis-coding-components/5ZZ6HCEX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3SXBMBHD.js → 6J2IYKJ6.js} +2 -2
- package/dist/arcgis-coding-components/6J2IYKJ6.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{XIEWNBFF.js → AAEXMW6M.js} +1 -1
- package/dist/arcgis-coding-components/AKRVPVTX.js +4 -0
- package/dist/arcgis-coding-components/AKRVPVTX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{KRHZZD3V.js → COUN24PA.js} +144 -144
- package/dist/arcgis-coding-components/{KRHZZD3V.js.LEGAL.txt → COUN24PA.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{P4YUZWRH.js → D6D3AGMZ.js} +2 -2
- package/dist/arcgis-coding-components/{Q5QIZTFG.js → DVRFPMNG.js} +2 -2
- package/dist/arcgis-coding-components/DVRFPMNG.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/ER7DDBTO.js +8 -0
- package/dist/arcgis-coding-components/ER7DDBTO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{LO4Y2B7S.js → HKOS2ZY4.js} +2 -2
- package/dist/arcgis-coding-components/{LO4Y2B7S.js.LEGAL.txt → HKOS2ZY4.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/IVWU642Z.js +4 -0
- package/dist/arcgis-coding-components/IVWU642Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{ZUTUSAUL.js → JSUDHK5A.js} +1 -1
- package/dist/arcgis-coding-components/{44GSK3NX.js → L2VF4IG3.js} +2 -2
- package/dist/arcgis-coding-components/{44GSK3NX.js.LEGAL.txt → L2VF4IG3.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{CS4F6YSG.js → L727RMPN.js} +2 -2
- package/dist/arcgis-coding-components/{CS4F6YSG.js.LEGAL.txt → L727RMPN.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{77W6CWRA.js → LNSMNLQ3.js} +3 -3
- package/dist/arcgis-coding-components/{77W6CWRA.js.LEGAL.txt → LNSMNLQ3.js.LEGAL.txt} +9 -9
- package/dist/arcgis-coding-components/{FDHKVNLS.js → MIKTUKLA.js} +2 -2
- package/dist/arcgis-coding-components/MIKTUKLA.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/NG6YTVCR.js +4 -0
- package/dist/arcgis-coding-components/NG6YTVCR.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{VMUIMKV6.js → NPMAI43W.js} +1 -1
- package/dist/arcgis-coding-components/OBWA5RZB.js +4 -0
- package/dist/arcgis-coding-components/{5LTSTETT.js → P4HYXWX2.js} +2 -2
- package/dist/arcgis-coding-components/{5LTSTETT.js.LEGAL.txt → P4HYXWX2.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{3CUMDTVA.js → PXJ7T62B.js} +2 -2
- package/dist/arcgis-coding-components/{3CUMDTVA.js.LEGAL.txt → PXJ7T62B.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/RZVANTFM.js +12 -0
- package/dist/arcgis-coding-components/RZVANTFM.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{IOF673A3.js → SQJHUVZF.js} +2 -2
- package/dist/arcgis-coding-components/SQJHUVZF.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{5W3AABSL.js → TM55WIPT.js} +3 -3
- package/dist/arcgis-coding-components/{5W3AABSL.js.LEGAL.txt → TM55WIPT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{MAL2J7TO.js → TZRUUOST.js} +2 -2
- package/dist/arcgis-coding-components/{MAL2J7TO.js.LEGAL.txt → TZRUUOST.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/U5ZUDMT6.js +4 -0
- package/dist/arcgis-coding-components/{DQ7LF5TA.js.LEGAL.txt → U5ZUDMT6.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{KZ24IRIU.js → UDCROEEM.js} +2 -2
- package/dist/arcgis-coding-components/{KZ24IRIU.js.LEGAL.txt → UDCROEEM.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{IZ4RJ7JZ.js → UFZDA7WP.js} +4 -5
- package/dist/arcgis-coding-components/UFZDA7WP.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{IAUPJHHB.js → UHTWUVXC.js} +2 -2
- package/dist/arcgis-coding-components/{IAUPJHHB.js.LEGAL.txt → UHTWUVXC.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{GMGT3LLK.js → UWJMWE3F.js} +2 -2
- package/dist/arcgis-coding-components/{GMGT3LLK.js.LEGAL.txt → UWJMWE3F.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/UXP5BH4Z.js +4 -0
- package/dist/arcgis-coding-components/UXP5BH4Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +14 -14
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +44 -2003
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
- package/dist/chunks/arcade-defaults.js +13 -13
- package/dist/chunks/arcade-executor.js +23 -23
- package/dist/chunks/arcade-mode.js +2 -2
- package/dist/chunks/arcade-service-accessors.js +10 -10
- package/dist/chunks/fields.js +3 -3
- package/dist/chunks/language-defaults-base.js +68 -72
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +7 -7
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.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 +2 -2
- 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 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/sql-expr-monaco/sql-expr-defaults.d.ts +3 -3
- package/package.json +7 -7
- package/dist/arcgis-coding-components/CCY4FT6N.js +0 -5
- package/dist/arcgis-coding-components/CDQHTB6C.js +0 -13
- package/dist/arcgis-coding-components/CRM5DQLU.js +0 -9
- package/dist/arcgis-coding-components/DQ7LF5TA.js +0 -5
- package/dist/arcgis-coding-components/EQD2C23X.js +0 -5
- package/dist/arcgis-coding-components/EQD2C23X.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/FDHKVNLS.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/I7LKNAQK.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/IOF673A3.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/IS3YBPV2.js +0 -5
- package/dist/arcgis-coding-components/IS3YBPV2.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/IZ4RJ7JZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/LHJZ4NUP.js +0 -5
- package/dist/arcgis-coding-components/LHJZ4NUP.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/Q5QIZTFG.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/TKCOE4XB.js +0 -4
- package/dist/arcgis-coding-components/TPQXUKQA.js +0 -5
- package/dist/arcgis-coding-components/TPQXUKQA.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/XSGNOZEO.js +0 -5
- package/dist/arcgis-coding-components/XSGNOZEO.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/XXEDPYTB.js +0 -4
- package/dist/arcgis-coding-components/XXEDPYTB.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YH5RDJPU.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YUCTM6SW.js +0 -4
- /package/dist/arcgis-coding-components/{P4YUZWRH.js.LEGAL.txt → 2GHDIVQG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{VMUIMKV6.js.LEGAL.txt → AAEXMW6M.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{XIEWNBFF.js.LEGAL.txt → D6D3AGMZ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{YUCTM6SW.js.LEGAL.txt → JSUDHK5A.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ZUTUSAUL.js.LEGAL.txt → NPMAI43W.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{TKCOE4XB.js.LEGAL.txt → OBWA5RZB.js.LEGAL.txt} +0 -0
|
@@ -51322,7 +51322,7 @@ interface WebGLRenderingContextOverloads {
|
|
|
51322
51322
|
monaco-editor/esm/vs/language/typescript/ts.worker.js:
|
|
51323
51323
|
(*!-----------------------------------------------------------------------------
|
|
51324
51324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
51325
|
-
* Version: 0.52.
|
|
51325
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
51326
51326
|
* Released under the MIT license
|
|
51327
51327
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
51328
51328
|
*-----------------------------------------------------------------------------*)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as y, b as P, a as T, c as b, f as A, L as x, E as D } from "./language-defaults-base.js";
|
|
2
2
|
import { supportedLocales as F, fetchT9nStringsBundle as M } from "@arcgis/components-utils";
|
|
3
3
|
import { g as m } from "./runtime.js";
|
|
4
|
-
import { CompletionItemKind as w,
|
|
4
|
+
import { CompletionItemKind as w, InsertTextFormat as f, InsertTextMode as d } from "vscode-languageserver-types";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.34 */
|
|
8
8
|
async function S(e) {
|
|
9
9
|
const { apiVersion: i, bundles: t, hiddenApiItems: n } = e.toEditorProfileDefinition(), r = await h(e.dictionaryVariables);
|
|
10
10
|
return { apiVersion: i, bundles: t, variables: r, hiddenApiItems: n?.map((s) => s.toLowerCase()) };
|
|
@@ -33,8 +33,8 @@ function L(e, i) {
|
|
|
33
33
|
label: t,
|
|
34
34
|
detail: t,
|
|
35
35
|
insertText: t,
|
|
36
|
-
insertTextMode:
|
|
37
|
-
insertTextFormat:
|
|
36
|
+
insertTextMode: d.asIs,
|
|
37
|
+
insertTextFormat: f.PlainText,
|
|
38
38
|
kind: i,
|
|
39
39
|
documentation: { kind: "markdown", value: r }
|
|
40
40
|
}
|
|
@@ -45,8 +45,8 @@ async function k(e, i) {
|
|
|
45
45
|
label: n,
|
|
46
46
|
detail: n,
|
|
47
47
|
insertText: n,
|
|
48
|
-
insertTextMode:
|
|
49
|
-
insertTextFormat:
|
|
48
|
+
insertTextMode: d.asIs,
|
|
49
|
+
insertTextFormat: f.PlainText,
|
|
50
50
|
kind: i
|
|
51
51
|
}, a = {
|
|
52
52
|
name: n,
|
|
@@ -57,7 +57,7 @@ async function k(e, i) {
|
|
|
57
57
|
};
|
|
58
58
|
if (!t)
|
|
59
59
|
return a;
|
|
60
|
-
const [o, c] =
|
|
60
|
+
const [o, c] = A(t.fields, r, !0);
|
|
61
61
|
return a.properties = o, s.documentation = { kind: "markdown", value: c }, a;
|
|
62
62
|
}
|
|
63
63
|
async function v(e, i) {
|
|
@@ -79,8 +79,8 @@ ${c}`), a;
|
|
|
79
79
|
label: t,
|
|
80
80
|
detail: t,
|
|
81
81
|
insertText: t,
|
|
82
|
-
insertTextMode:
|
|
83
|
-
insertTextFormat:
|
|
82
|
+
insertTextMode: d.asIs,
|
|
83
|
+
insertTextFormat: f.PlainText,
|
|
84
84
|
kind: i,
|
|
85
85
|
documentation: { kind: "markdown", value: s }
|
|
86
86
|
}
|
|
@@ -159,11 +159,11 @@ async function j(e, i = "en") {
|
|
|
159
159
|
);
|
|
160
160
|
case "feature":
|
|
161
161
|
case "voxel":
|
|
162
|
-
return
|
|
162
|
+
return b(s) ? n.variables.push({ ...r, type: "feature", definition: s }) : void 0;
|
|
163
163
|
case "featureSet":
|
|
164
|
-
return b(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
|
|
165
|
-
case "featureSetCollection":
|
|
166
164
|
return T(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
|
|
165
|
+
case "featureSetCollection":
|
|
166
|
+
return P(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
|
|
167
167
|
default:
|
|
168
168
|
return n.variables.push(p(r));
|
|
169
169
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { importArcade as C } from "@arcgis/core-adapter";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
5
|
-
const
|
|
4
|
+
v4.33.0-next.34 */
|
|
5
|
+
const G = "https://developers.arcgis.com/arcade/", O = 100, A = 100;
|
|
6
6
|
function u(t) {
|
|
7
7
|
return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.featureset.support.FeatureSet";
|
|
8
8
|
}
|
|
@@ -12,10 +12,10 @@ function g(t) {
|
|
|
12
12
|
function b(t) {
|
|
13
13
|
return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass === "esri.arcade.Dictionary";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function w(t) {
|
|
16
16
|
return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.geometry.");
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function R(t) {
|
|
19
19
|
return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.rest.knowledgeGraph.KnowledgeGraph");
|
|
20
20
|
}
|
|
21
21
|
function h(t) {
|
|
@@ -37,28 +37,28 @@ function T(t) {
|
|
|
37
37
|
return !!t && typeof t == "object" && "length" in t && typeof t.length == "function" && "get" in t && typeof t.get == "function" && "toArray" in t && typeof t.toArray == "function" && "_elements" in t && Array.isArray(t._elements);
|
|
38
38
|
}
|
|
39
39
|
function j(t) {
|
|
40
|
-
return t == null ? { type: "null" } : Array.isArray(t) ? { type: "array", value: t } : T(t) ? { type: "array", value: t.toArray() } : t instanceof Date ? { type: "date", value: t } : typeof t == "string" ? { type: "text", value: t } : typeof t == "number" ? { type: "number", value: t } : typeof t == "boolean" ? { type: "boolean", value: t } : typeof t != "object" ? { type: "unknown" } : S(t) ? { type: "date", value: t } : x(t) ? { type: "dateOnly", value: t } : F(t) ? { type: "time", value: t } : D(t) ? { type: "attachment", value: t } : h(t) ? { type: "portal", value: t } : u(t) ? { type: "featureSet", value: t, features: [], iterator: null } : g(t) ? { type: "feature", value: t } : b(t) ? { type: "dictionary", value: t } :
|
|
40
|
+
return t == null ? { type: "null" } : Array.isArray(t) ? { type: "array", value: t } : T(t) ? { type: "array", value: t.toArray() } : t instanceof Date ? { type: "date", value: t } : typeof t == "string" ? { type: "text", value: t } : typeof t == "number" ? { type: "number", value: t } : typeof t == "boolean" ? { type: "boolean", value: t } : typeof t != "object" ? { type: "unknown" } : S(t) ? { type: "date", value: t } : x(t) ? { type: "dateOnly", value: t } : F(t) ? { type: "time", value: t } : D(t) ? { type: "attachment", value: t } : h(t) ? { type: "portal", value: t } : u(t) ? { type: "featureSet", value: t, features: [], iterator: null } : g(t) ? { type: "feature", value: t } : b(t) ? { type: "dictionary", value: t } : w(t) ? { type: "geometry", value: t } : R(t) ? { type: "knowledgeGraph", value: t } : { type: "unknown" };
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function I(t, r = "en") {
|
|
43
43
|
return t.value instanceof Date ? new Intl.DateTimeFormat(r, { dateStyle: "medium", timeStyle: "long" }).format(t.value) : t.value.toDateTime().setLocale(r).toFormat(t.value.isUnknownTimeZone ? "FF" : "FF ZZZZZ");
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function B(t) {
|
|
46
46
|
return t.value.toString();
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function E(t) {
|
|
49
49
|
return t.value.toString();
|
|
50
50
|
}
|
|
51
51
|
async function Z(t, r = "system") {
|
|
52
52
|
const e = j(t);
|
|
53
53
|
return e.type !== "featureSet" || (await e.value.load(), e.iterator = e.value.iterator({ aborted: !1 }), e.features = await e.iterator.nextBatchAsArcadeFeatures(A, r) ?? []), e;
|
|
54
54
|
}
|
|
55
|
-
async function
|
|
55
|
+
async function P(t, r, e, a) {
|
|
56
56
|
const i = /* @__PURE__ */ new Date();
|
|
57
57
|
a ??= () => {
|
|
58
58
|
};
|
|
59
59
|
try {
|
|
60
|
-
const n = performance.now(),
|
|
61
|
-
variables:
|
|
60
|
+
const n = performance.now(), f = await (await C()).createArcadeExecutor(r ?? "", {
|
|
61
|
+
variables: t?.variables ?? []
|
|
62
62
|
}), c = performance.now(), { profileVariableInstances: y, spatialReference: p, timeZone: d } = e, m = {
|
|
63
63
|
spatialReference: p,
|
|
64
64
|
timeZone: d,
|
|
@@ -67,13 +67,13 @@ async function E(t, r, e, a) {
|
|
|
67
67
|
}, l = await f.executeAsync(
|
|
68
68
|
y,
|
|
69
69
|
m
|
|
70
|
-
),
|
|
71
|
-
return
|
|
70
|
+
), o = await Z(l, d);
|
|
71
|
+
return o.timeStamp = i, o.compilationTime = c - n, o.executionTime = performance.now() - c, o;
|
|
72
72
|
} catch (n) {
|
|
73
|
-
let
|
|
74
|
-
return n instanceof Error && (
|
|
73
|
+
let s = "Unknown Error";
|
|
74
|
+
return n instanceof Error && (s = n.message), {
|
|
75
75
|
type: "error",
|
|
76
|
-
value:
|
|
76
|
+
value: s,
|
|
77
77
|
error: n,
|
|
78
78
|
timeStamp: i,
|
|
79
79
|
compilationTime: 0,
|
|
@@ -83,11 +83,11 @@ async function E(t, r, e, a) {
|
|
|
83
83
|
}
|
|
84
84
|
export {
|
|
85
85
|
A as B,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
G as D,
|
|
87
|
+
O as M,
|
|
88
|
+
B as a,
|
|
89
|
+
I as b,
|
|
90
|
+
P as e,
|
|
91
|
+
E as f,
|
|
92
92
|
j as v
|
|
93
93
|
};
|
|
@@ -4,11 +4,11 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
|
|
|
4
4
|
import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
|
|
5
5
|
import { ArcadeKeywords as M } from "@arcgis/arcade-languageservice";
|
|
6
6
|
import { i as k } from "./monaco-importer.js";
|
|
7
|
-
import { InsertTextFormat as y,
|
|
7
|
+
import { InsertTextFormat as y, CompletionItemKind as o, DiagnosticSeverity as m } from "vscode-languageserver-types";
|
|
8
8
|
import { debounce as F, Deferred as _ } from "@arcgis/components-utils";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.34 */
|
|
12
12
|
const S = [
|
|
13
13
|
"<=",
|
|
14
14
|
">=",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import c from "@arcgis/
|
|
1
|
+
import { importRequest as n } from "@arcgis/core-adapter";
|
|
2
|
+
import { isURL as i, hasSameOrigin as c } from "@arcgis/components-utils";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.34 */
|
|
6
6
|
function a() {
|
|
7
7
|
return !!window.MonacoEnvironment?.getWorkerUrl;
|
|
8
8
|
}
|
|
9
9
|
const s = /* @__PURE__ */ new Map();
|
|
10
|
-
function
|
|
10
|
+
function u(r) {
|
|
11
11
|
a() || (window.MonacoEnvironment = {
|
|
12
12
|
getWorker: async (w, o) => {
|
|
13
13
|
let e = s.get(o) ?? `${r}/code-editor/editor.worker.js`;
|
|
@@ -32,14 +32,14 @@ function m(r) {
|
|
|
32
32
|
e = `${r}/code-editor/sql-expr.worker.js`;
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
|
-
if (!
|
|
35
|
+
if (!i(e) || c(e, globalThis.location.href, !0))
|
|
36
36
|
return new Worker(e, { name: o });
|
|
37
|
-
const
|
|
37
|
+
const t = await (await n())(e, {
|
|
38
38
|
responseType: "text"
|
|
39
39
|
});
|
|
40
40
|
return new Worker(
|
|
41
41
|
URL.createObjectURL(
|
|
42
|
-
new Blob([
|
|
42
|
+
new Blob([t.data], {
|
|
43
43
|
type: "text/javascript"
|
|
44
44
|
})
|
|
45
45
|
)
|
|
@@ -47,14 +47,14 @@ function m(r) {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
50
|
+
async function j() {
|
|
51
51
|
return (await d()).getArcadeDiagnosticService();
|
|
52
52
|
}
|
|
53
53
|
async function d() {
|
|
54
54
|
return await import("./arcade-mode.js");
|
|
55
55
|
}
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
j as a,
|
|
58
58
|
d as g,
|
|
59
|
-
|
|
59
|
+
u as s
|
|
60
60
|
};
|
package/dist/chunks/fields.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.34 */
|
|
4
4
|
function t(e) {
|
|
5
5
|
switch (e.type) {
|
|
6
6
|
case "oid":
|
|
@@ -81,7 +81,7 @@ function r(e) {
|
|
|
81
81
|
}
|
|
82
82
|
export {
|
|
83
83
|
r as a,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
s as b,
|
|
85
|
+
t as f,
|
|
86
86
|
n as s
|
|
87
87
|
};
|