@arcgis/coding-components 4.33.0-next.97 → 4.33.0-next.99
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/4CWG53YG.js +4 -0
- package/dist/arcgis-coding-components/{2H4AMXB4.js.LEGAL.txt → 4CWG53YG.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{3SJN4SN4.js → 4KGS45F6.js} +4 -4
- package/dist/arcgis-coding-components/{3SJN4SN4.js.LEGAL.txt → 4KGS45F6.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/6X6SKMSK.js +4 -0
- package/dist/arcgis-coding-components/{4XII6RJZ.js.LEGAL.txt → 6X6SKMSK.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{NZIFN45M.js → AIQ3ZZ4N.js} +2 -2
- package/dist/arcgis-coding-components/{26YT57CB.js → B6RBYOZB.js} +1 -1
- package/dist/arcgis-coding-components/BHPZXDRW.js +4 -0
- package/dist/arcgis-coding-components/{5MXNPLI6.js.LEGAL.txt → BHPZXDRW.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{PUQ5D5HM.js → BXIVTWDT.js} +2 -2
- package/dist/arcgis-coding-components/{5MXNPLI6.js → CCHHSGLF.js} +2 -2
- package/dist/arcgis-coding-components/CCHHSGLF.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{UC366WOZ.js → CLUD6ZAM.js} +2 -2
- package/dist/arcgis-coding-components/CPPMJWU4.js +4 -0
- package/dist/arcgis-coding-components/CPPMJWU4.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{OPWIC7VC.js → DAIV4YM2.js} +2 -2
- package/dist/arcgis-coding-components/{GBHU7OBT.js → DETRUXO4.js} +2 -2
- package/dist/arcgis-coding-components/DETRUXO4.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/DPLHQRHL.js +4 -0
- package/dist/arcgis-coding-components/{EYTEAFAW.js.LEGAL.txt → DPLHQRHL.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/EZ46MHBE.js +4 -0
- package/dist/arcgis-coding-components/FBZDECME.js +4 -0
- package/dist/arcgis-coding-components/FBZDECME.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{ECFYN65T.js → GLZTVDY3.js} +1 -1
- package/dist/arcgis-coding-components/GQYPMHDN.js +8 -0
- package/dist/arcgis-coding-components/GQYPMHDN.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/GTJMQUCR.js +4 -0
- package/dist/arcgis-coding-components/GTJMQUCR.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{C4H4QEN4.js → H5IXRF6P.js} +2 -2
- package/dist/arcgis-coding-components/{C3TNIXF3.js → HK3NR5FJ.js} +2 -2
- package/dist/arcgis-coding-components/{2EZQB3FZ.js → I6FG6PHA.js} +2 -2
- package/dist/arcgis-coding-components/{KUJRM24I.js → IERFPICF.js} +3 -3
- package/dist/arcgis-coding-components/IERFPICF.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{JYOMM3GO.js → IGD5JVMO.js} +2 -2
- package/dist/arcgis-coding-components/KE4BOMMR.js +4 -0
- package/dist/arcgis-coding-components/{S4QW43DS.js → LVP37CVZ.js} +2 -2
- package/dist/arcgis-coding-components/{CTZ7LRNS.js → MQ6QSJ3D.js} +1 -1
- package/dist/arcgis-coding-components/MQ6QSJ3D.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MPLDQ5TJ.js → NNQQRWM4.js} +2 -2
- package/dist/arcgis-coding-components/{XTHN3CP3.js → OHE2XVBA.js} +2 -2
- package/dist/arcgis-coding-components/OQ3VLBIA.js +4 -0
- package/dist/arcgis-coding-components/OQ3VLBIA.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/PYOJIGHL.js +4 -0
- package/dist/arcgis-coding-components/QCGTZIV7.js +4 -0
- package/dist/arcgis-coding-components/QCGTZIV7.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{CWEEAXIO.js → S5J3QOAN.js} +2 -2
- package/dist/arcgis-coding-components/S5J3QOAN.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{WPXHAXAE.js → TSHYFCHO.js} +2 -2
- package/dist/arcgis-coding-components/TSHYFCHO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{D76ZNFFX.js → UBQV4SE4.js} +9 -9
- package/dist/arcgis-coding-components/UBQV4SE4.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{SC7XJB4P.js → WR6DJLNQ.js} +2 -2
- package/dist/arcgis-coding-components/{5B5EFJUZ.js → XJBT377I.js} +3 -3
- package/dist/arcgis-coding-components/{5B5EFJUZ.js.LEGAL.txt → XJBT377I.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/XPHHHGZH.js +6 -0
- package/dist/arcgis-coding-components/{C6WVU4C3.js.LEGAL.txt → XPHHHGZH.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{4XII6RJZ.js → Z5YGU3UZ.js} +2 -2
- package/dist/arcgis-coding-components/Z5YGU3UZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{F72PKZU7.js → Z65637GR.js} +2 -2
- package/dist/arcgis-coding-components/Z65637GR.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/arcade-coding-assistant/t9n/messages.en.json +1 -0
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +79 -79
- 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 +6 -53
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +25 -24
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/setup-monaco.js +52 -0
- package/dist/chunks/sql-expr-contribution.js +107 -0
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +10 -0
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +26 -0
- package/dist/components/arcgis-arcade-coding-assistant/index.d.ts +1 -0
- package/dist/components/arcgis-arcade-coding-assistant/index.js +1 -0
- package/dist/components/arcgis-arcade-editor/customElement.js +3 -2
- 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.js +33 -113
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-language-api-panel/customElement.js +26 -25
- package/dist/components/arcgis-sql-expression-editor/customElement.js +5 -5
- 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 +3 -2
- package/dist/utils/colorize.d.ts +2 -2
- package/dist/utils/monaco-languages.d.ts +13 -0
- package/dist/utils/profile/types.d.ts +72 -3
- package/package.json +6 -6
- package/dist/arcgis-coding-components/2H4AMXB4.js +0 -4
- package/dist/arcgis-coding-components/BNVT3NFQ.js +0 -8
- package/dist/arcgis-coding-components/BNVT3NFQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/C6WVU4C3.js +0 -6
- package/dist/arcgis-coding-components/CTZ7LRNS.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/CWEEAXIO.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/D6FFB266.js +0 -4
- package/dist/arcgis-coding-components/D6FFB266.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/D76ZNFFX.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/EYCFPL7N.js +0 -4
- package/dist/arcgis-coding-components/EYCFPL7N.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/EYTEAFAW.js +0 -4
- package/dist/arcgis-coding-components/F72PKZU7.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/GBHU7OBT.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/HDSXRFUK.js +0 -4
- package/dist/arcgis-coding-components/KUJRM24I.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/LOLIV5RG.js +0 -4
- package/dist/arcgis-coding-components/PNNUXZXD.js +0 -4
- package/dist/arcgis-coding-components/RCLT7GF6.js +0 -4
- package/dist/arcgis-coding-components/RCLT7GF6.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/WPXHAXAE.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YBE7OOZG.js +0 -4
- package/dist/arcgis-coding-components/YBE7OOZG.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{NZIFN45M.js.LEGAL.txt → AIQ3ZZ4N.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{26YT57CB.js.LEGAL.txt → B6RBYOZB.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{PUQ5D5HM.js.LEGAL.txt → BXIVTWDT.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{UC366WOZ.js.LEGAL.txt → CLUD6ZAM.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{OPWIC7VC.js.LEGAL.txt → DAIV4YM2.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{C3TNIXF3.js.LEGAL.txt → EZ46MHBE.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ECFYN65T.js.LEGAL.txt → GLZTVDY3.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{C4H4QEN4.js.LEGAL.txt → H5IXRF6P.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{HDSXRFUK.js.LEGAL.txt → HK3NR5FJ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{2EZQB3FZ.js.LEGAL.txt → I6FG6PHA.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{JYOMM3GO.js.LEGAL.txt → IGD5JVMO.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{LOLIV5RG.js.LEGAL.txt → KE4BOMMR.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{S4QW43DS.js.LEGAL.txt → LVP37CVZ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{MPLDQ5TJ.js.LEGAL.txt → NNQQRWM4.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{XTHN3CP3.js.LEGAL.txt → OHE2XVBA.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{PNNUXZXD.js.LEGAL.txt → PYOJIGHL.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{SC7XJB4P.js.LEGAL.txt → WR6DJLNQ.js.LEGAL.txt} +0 -0
|
@@ -4,7 +4,7 @@ import { g as m } from "./runtime.js";
|
|
|
4
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.99 */
|
|
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()) };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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.
|
|
4
|
+
v4.33.0-next.99 */
|
|
5
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,7 +8,7 @@ import { InsertTextFormat as y, CompletionItemKind as o, DiagnosticSeverity as m
|
|
|
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.99 */
|
|
12
12
|
const S = [
|
|
13
13
|
"<=",
|
|
14
14
|
">=",
|
|
@@ -1,60 +1,13 @@
|
|
|
1
|
-
import { importRequest as n } from "@arcgis/core-adapter";
|
|
2
|
-
import { isURL as i, hasSameOrigin as c } from "@arcgis/components-utils";
|
|
3
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
6
|
-
function a() {
|
|
7
|
-
return
|
|
3
|
+
v4.33.0-next.99 */
|
|
4
|
+
async function a() {
|
|
5
|
+
return (await e()).getArcadeDiagnosticService();
|
|
8
6
|
}
|
|
9
|
-
|
|
10
|
-
function u(r) {
|
|
11
|
-
a() || (window.MonacoEnvironment = {
|
|
12
|
-
getWorker: async (w, o) => {
|
|
13
|
-
let e = s.get(o) ?? `${r}/code-editor/editor.worker.js`;
|
|
14
|
-
switch (o) {
|
|
15
|
-
case "json":
|
|
16
|
-
e = `${r}/code-editor/json.worker.js`;
|
|
17
|
-
break;
|
|
18
|
-
case "css":
|
|
19
|
-
e = `${r}/code-editor/css.worker.js`;
|
|
20
|
-
break;
|
|
21
|
-
case "html":
|
|
22
|
-
e = `${r}/code-editor/html.worker.js`;
|
|
23
|
-
break;
|
|
24
|
-
case "typescript":
|
|
25
|
-
case "javascript":
|
|
26
|
-
e = `${r}/code-editor/ts.worker.js`;
|
|
27
|
-
break;
|
|
28
|
-
case "arcade":
|
|
29
|
-
e = `${r}/code-editor/arcade.worker.js`;
|
|
30
|
-
break;
|
|
31
|
-
case "arcgis-sql-expression":
|
|
32
|
-
e = `${r}/code-editor/sql-expr.worker.js`;
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
if (!i(e) || c(e, globalThis.location.href, !0))
|
|
36
|
-
return new Worker(e, { name: o });
|
|
37
|
-
const t = await (await n())(e, {
|
|
38
|
-
responseType: "text"
|
|
39
|
-
});
|
|
40
|
-
return new Worker(
|
|
41
|
-
URL.createObjectURL(
|
|
42
|
-
new Blob([t.data], {
|
|
43
|
-
type: "text/javascript"
|
|
44
|
-
})
|
|
45
|
-
)
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
async function j() {
|
|
51
|
-
return (await d()).getArcadeDiagnosticService();
|
|
52
|
-
}
|
|
53
|
-
async function d() {
|
|
7
|
+
async function e() {
|
|
54
8
|
return await import("./arcade-mode.js");
|
|
55
9
|
}
|
|
56
10
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
u as s
|
|
11
|
+
a,
|
|
12
|
+
e as g
|
|
60
13
|
};
|
package/dist/chunks/fields.js
CHANGED
|
@@ -8,7 +8,7 @@ import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
|
|
|
8
8
|
import { Emitter as x, Uri as $ } from "monaco-editor";
|
|
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.99 */
|
|
12
12
|
function B(t) {
|
|
13
13
|
return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && g(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
|
|
14
14
|
}
|
package/dist/chunks/markdown.js
CHANGED
|
@@ -4,20 +4,21 @@ import { IStandaloneThemeService as G } from "monaco-editor/esm/vs/editor/standa
|
|
|
4
4
|
import { generateTokensCSSForColorMap as te } from "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
|
|
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.
|
|
8
|
-
async function ne(l) {
|
|
9
|
-
return await (await ee()).colorize(l,
|
|
7
|
+
v4.33.0-next.99 */
|
|
8
|
+
async function ne(l, t) {
|
|
9
|
+
return await (await ee()).colorize(l, t, { tabSize: 2 });
|
|
10
10
|
}
|
|
11
|
-
async function ze(l) {
|
|
11
|
+
async function ze(l, t) {
|
|
12
12
|
if (!l)
|
|
13
13
|
return;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
const n = Array.from(
|
|
15
|
+
l.querySelectorAll("code.language-arcade, code.language-sql"),
|
|
16
|
+
async (e) => await ie(e, e.textContent, t)
|
|
17
17
|
);
|
|
18
|
+
await Promise.all(n);
|
|
18
19
|
}
|
|
19
|
-
async function ie(l, t) {
|
|
20
|
-
!l || l.tagName !== "CODE" || (l.innerHTML = await ne(t ?? ""));
|
|
20
|
+
async function ie(l, t, n) {
|
|
21
|
+
!l || l.tagName !== "CODE" || (l.innerHTML = await ne(t ?? "", n));
|
|
21
22
|
}
|
|
22
23
|
function Se() {
|
|
23
24
|
const t = W.get(G).getColorTheme();
|
|
@@ -108,7 +109,7 @@ function ge(l, t) {
|
|
|
108
109
|
const n = l.indexOf(":") === -1;
|
|
109
110
|
return t.substring(0, 2) === "//" ? n ? t : l.replace(pe, "$1") + t : t.charAt(0) === "/" ? n ? t : l.replace(fe, "$1") + t : l + t;
|
|
110
111
|
}
|
|
111
|
-
const
|
|
112
|
+
const D = { exec: function() {
|
|
112
113
|
} };
|
|
113
114
|
function H(l, t) {
|
|
114
115
|
const n = l.replace(/\|/g, (s, r, a) => {
|
|
@@ -195,7 +196,7 @@ function me(l, t) {
|
|
|
195
196
|
}).join(`
|
|
196
197
|
`);
|
|
197
198
|
}
|
|
198
|
-
class
|
|
199
|
+
class Z {
|
|
199
200
|
constructor(t) {
|
|
200
201
|
this.options = t || A;
|
|
201
202
|
}
|
|
@@ -620,7 +621,7 @@ const u = {
|
|
|
620
621
|
list: /^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,
|
|
621
622
|
html: "^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",
|
|
622
623
|
def: /^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,
|
|
623
|
-
table:
|
|
624
|
+
table: D,
|
|
624
625
|
lheading: /^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
625
626
|
// regex template, placeholders will be replaced according to different paragraph
|
|
626
627
|
// interruption rules of commonmark and the original markdown spec:
|
|
@@ -654,7 +655,7 @@ u.pedantic = {
|
|
|
654
655
|
).replace("comment", u._comment).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
655
656
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
656
657
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
657
|
-
fences:
|
|
658
|
+
fences: D,
|
|
658
659
|
// fences not supported
|
|
659
660
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
660
661
|
paragraph: m(u.normal._paragraph).replace("hr", u.hr).replace("heading", ` *#{1,6} *[^
|
|
@@ -663,7 +664,7 @@ u.pedantic = {
|
|
|
663
664
|
const h = {
|
|
664
665
|
escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
|
|
665
666
|
autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
|
|
666
|
-
url:
|
|
667
|
+
url: D,
|
|
667
668
|
tag: "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",
|
|
668
669
|
// CDATA section
|
|
669
670
|
link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
|
|
@@ -680,7 +681,7 @@ const h = {
|
|
|
680
681
|
},
|
|
681
682
|
code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
|
|
682
683
|
br: /^( {2,}|\\)\n(?!\s*$)/,
|
|
683
|
-
del:
|
|
684
|
+
del: D,
|
|
684
685
|
text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
|
685
686
|
punctuation: /^((?![*_])[\spunctuation])/
|
|
686
687
|
};
|
|
@@ -752,7 +753,7 @@ function X(l) {
|
|
|
752
753
|
}
|
|
753
754
|
class S {
|
|
754
755
|
constructor(t) {
|
|
755
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || A, this.options.tokenizer = this.options.tokenizer || new
|
|
756
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || A, this.options.tokenizer = this.options.tokenizer || new Z(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
756
757
|
inLink: !1,
|
|
757
758
|
inRawBlock: !1,
|
|
758
759
|
top: !0
|
|
@@ -1357,7 +1358,7 @@ class T {
|
|
|
1357
1358
|
return e;
|
|
1358
1359
|
}
|
|
1359
1360
|
}
|
|
1360
|
-
class
|
|
1361
|
+
class q {
|
|
1361
1362
|
constructor(t) {
|
|
1362
1363
|
this.options = t || A;
|
|
1363
1364
|
}
|
|
@@ -1389,9 +1390,9 @@ class we {
|
|
|
1389
1390
|
TextRenderer = O;
|
|
1390
1391
|
Lexer = S;
|
|
1391
1392
|
lexer = S.lex;
|
|
1392
|
-
Tokenizer =
|
|
1393
|
+
Tokenizer = Z;
|
|
1393
1394
|
Slugger = j;
|
|
1394
|
-
Hooks =
|
|
1395
|
+
Hooks = q;
|
|
1395
1396
|
constructor(...t) {
|
|
1396
1397
|
this.use(...t);
|
|
1397
1398
|
}
|
|
@@ -1450,7 +1451,7 @@ class we {
|
|
|
1450
1451
|
i.renderer = s;
|
|
1451
1452
|
}
|
|
1452
1453
|
if (e.tokenizer) {
|
|
1453
|
-
const s = this.defaults.tokenizer || new
|
|
1454
|
+
const s = this.defaults.tokenizer || new Z(this.defaults);
|
|
1454
1455
|
for (const r in e.tokenizer) {
|
|
1455
1456
|
const a = s[r];
|
|
1456
1457
|
s[r] = (...o) => {
|
|
@@ -1461,10 +1462,10 @@ class we {
|
|
|
1461
1462
|
i.tokenizer = s;
|
|
1462
1463
|
}
|
|
1463
1464
|
if (e.hooks) {
|
|
1464
|
-
const s = this.defaults.hooks || new
|
|
1465
|
+
const s = this.defaults.hooks || new q();
|
|
1465
1466
|
for (const r in e.hooks) {
|
|
1466
1467
|
const a = s[r];
|
|
1467
|
-
|
|
1468
|
+
q.passThroughHooks.has(r) ? s[r] = (o) => {
|
|
1468
1469
|
if (this.defaults.async)
|
|
1469
1470
|
return Promise.resolve(e.hooks[r].call(s, o)).then((f) => a.call(s, f));
|
|
1470
1471
|
const p = e.hooks[r].call(s, o);
|
|
@@ -1588,9 +1589,9 @@ d.Renderer = B;
|
|
|
1588
1589
|
d.TextRenderer = O;
|
|
1589
1590
|
d.Lexer = S;
|
|
1590
1591
|
d.lexer = S.lex;
|
|
1591
|
-
d.Tokenizer =
|
|
1592
|
+
d.Tokenizer = Z;
|
|
1592
1593
|
d.Slugger = j;
|
|
1593
|
-
d.Hooks =
|
|
1594
|
+
d.Hooks = q;
|
|
1594
1595
|
d.parse = d;
|
|
1595
1596
|
d.options;
|
|
1596
1597
|
d.setOptions;
|
|
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
|
|
|
5
5
|
import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.99 */
|
|
9
9
|
function g(r, t, n, m) {
|
|
10
10
|
if (!t)
|
|
11
11
|
return [];
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeRuntime as t } from "@arcgis/lumina";
|
|
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.
|
|
4
|
+
v4.33.0-next.99 */
|
|
5
5
|
const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/coding-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: o, setAssetPath: m } = s;
|
|
6
6
|
export {
|
|
7
7
|
a as c,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { importRequest as n } from "@arcgis/core-adapter";
|
|
2
|
+
import { isURL as i, hasSameOrigin as c } from "@arcgis/components-utils";
|
|
3
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
+
v4.33.0-next.99 */
|
|
6
|
+
function s() {
|
|
7
|
+
return !!window.MonacoEnvironment?.getWorkerUrl;
|
|
8
|
+
}
|
|
9
|
+
const a = /* @__PURE__ */ new Map();
|
|
10
|
+
function m(r) {
|
|
11
|
+
s() || (window.MonacoEnvironment = {
|
|
12
|
+
getWorker: async (d, o) => {
|
|
13
|
+
let e = a.get(o) ?? `${r}/code-editor/editor.worker.js`;
|
|
14
|
+
switch (o) {
|
|
15
|
+
case "json":
|
|
16
|
+
e = `${r}/code-editor/json.worker.js`;
|
|
17
|
+
break;
|
|
18
|
+
case "css":
|
|
19
|
+
e = `${r}/code-editor/css.worker.js`;
|
|
20
|
+
break;
|
|
21
|
+
case "html":
|
|
22
|
+
e = `${r}/code-editor/html.worker.js`;
|
|
23
|
+
break;
|
|
24
|
+
case "typescript":
|
|
25
|
+
case "javascript":
|
|
26
|
+
e = `${r}/code-editor/ts.worker.js`;
|
|
27
|
+
break;
|
|
28
|
+
case "arcade":
|
|
29
|
+
e = `${r}/code-editor/arcade.worker.js`;
|
|
30
|
+
break;
|
|
31
|
+
case "arcgis-sql-expression":
|
|
32
|
+
e = `${r}/code-editor/sql-expr.worker.js`;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
if (!i(e) || c(e, globalThis.location.href, !0))
|
|
36
|
+
return new Worker(e, { name: o });
|
|
37
|
+
const t = await (await n())(e, {
|
|
38
|
+
responseType: "text"
|
|
39
|
+
});
|
|
40
|
+
return new Worker(
|
|
41
|
+
URL.createObjectURL(
|
|
42
|
+
new Blob([t.data], {
|
|
43
|
+
type: "text/javascript"
|
|
44
|
+
})
|
|
45
|
+
)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
m as s
|
|
52
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { i as d } from "./monaco-importer.js";
|
|
2
|
+
import { languages as a } from "monaco-editor";
|
|
3
|
+
import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
|
|
4
|
+
import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
|
|
5
|
+
import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
|
|
6
|
+
import { b as t } from "./arcade-defaults.js";
|
|
7
|
+
import { g as c } from "./arcade-service-accessors.js";
|
|
8
|
+
import { a as n } from "./sql-expr-defaults.js";
|
|
9
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
+
v4.33.0-next.99 */
|
|
12
|
+
const s = /* @__PURE__ */ new Set();
|
|
13
|
+
function g(e, o) {
|
|
14
|
+
return () => {
|
|
15
|
+
s.has(e) || s.add(e), o();
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
async function D(e) {
|
|
19
|
+
if (s.has(e))
|
|
20
|
+
return;
|
|
21
|
+
(await d()).createModel("", e).dispose();
|
|
22
|
+
}
|
|
23
|
+
const u = {
|
|
24
|
+
"light-theme": {
|
|
25
|
+
comment: "#606060",
|
|
26
|
+
constant: "#9809C8",
|
|
27
|
+
date: "#296389",
|
|
28
|
+
identifier: "#0000B3",
|
|
29
|
+
keyword: "#BF4900",
|
|
30
|
+
number: "#136D3D",
|
|
31
|
+
string: "#A31515",
|
|
32
|
+
operator: "#9809C8",
|
|
33
|
+
predefined: "#0000B3"
|
|
34
|
+
},
|
|
35
|
+
"dark-theme": {
|
|
36
|
+
comment: "#BFBFBF",
|
|
37
|
+
constant: "#CDBAEA",
|
|
38
|
+
date: "#97A6CE",
|
|
39
|
+
identifier: "#9FD4F3",
|
|
40
|
+
keyword: "#EEAA5A",
|
|
41
|
+
number: "#AAD04B",
|
|
42
|
+
string: "#F2877B",
|
|
43
|
+
operator: "#CDBAEA",
|
|
44
|
+
predefined: "#9FD4F3"
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
m();
|
|
48
|
+
function m() {
|
|
49
|
+
d().then((e) => {
|
|
50
|
+
["light", "dark"].forEach((o) => {
|
|
51
|
+
const i = o === "light" ? "vs" : "vs-dark", r = u[`${o}-theme`];
|
|
52
|
+
e.defineTheme(i, {
|
|
53
|
+
base: i,
|
|
54
|
+
inherit: !0,
|
|
55
|
+
rules: [
|
|
56
|
+
{ token: "comment.arcgis", foreground: r.comment },
|
|
57
|
+
{ token: "constant.arcgis", foreground: r.constant },
|
|
58
|
+
{ token: "keyword.arcgis", foreground: r.keyword },
|
|
59
|
+
{ token: "identifier.arcgis", foreground: r.identifier },
|
|
60
|
+
{ token: "number.arcgis", foreground: r.number },
|
|
61
|
+
{ token: "string.arcgis", foreground: r.string },
|
|
62
|
+
{ token: "operator.arcgis", foreground: r.operator },
|
|
63
|
+
{ token: "predefined.arcgis", foreground: r.predefined }
|
|
64
|
+
],
|
|
65
|
+
colors: {}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
a.register({
|
|
71
|
+
id: t.languageId,
|
|
72
|
+
aliases: ["Arcade", "arcade"],
|
|
73
|
+
extensions: [".arc"],
|
|
74
|
+
mimetypes: ["application/arcade"]
|
|
75
|
+
});
|
|
76
|
+
a.onLanguage(
|
|
77
|
+
t.languageId,
|
|
78
|
+
g(t.languageId, () => {
|
|
79
|
+
c().then((e) => {
|
|
80
|
+
e.setupMode(t);
|
|
81
|
+
}).catch((e) => {
|
|
82
|
+
throw e;
|
|
83
|
+
});
|
|
84
|
+
})
|
|
85
|
+
);
|
|
86
|
+
async function p() {
|
|
87
|
+
return await import("./sql-expr-mode.js");
|
|
88
|
+
}
|
|
89
|
+
a.register({
|
|
90
|
+
id: n.languageId,
|
|
91
|
+
aliases: ["EsiSqlExpression", "sql-expression"],
|
|
92
|
+
extensions: [".sql-expression"],
|
|
93
|
+
mimetypes: ["application/sql-expression"]
|
|
94
|
+
});
|
|
95
|
+
a.onLanguage(
|
|
96
|
+
n.languageId,
|
|
97
|
+
g(n.languageId, () => {
|
|
98
|
+
p().then((e) => {
|
|
99
|
+
e.setupMode(n);
|
|
100
|
+
}).catch((e) => {
|
|
101
|
+
throw e;
|
|
102
|
+
});
|
|
103
|
+
})
|
|
104
|
+
);
|
|
105
|
+
export {
|
|
106
|
+
D as s
|
|
107
|
+
};
|
|
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/components-utils";
|
|
|
4
4
|
import { g as b } from "./runtime.js";
|
|
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.99 */
|
|
8
8
|
const x = (r) => {
|
|
9
9
|
const e = r.variables[0], i = e && e.type === "featureSet" ? A(e) : void 0, { apiVersion: t, bundles: o, hiddenApiItems: s } = r.toEditorProfileDefinition();
|
|
10
10
|
return {
|
|
@@ -7,7 +7,7 @@ import { Deferred as _, debounce as N } from "@arcgis/components-utils";
|
|
|
7
7
|
import { a as d } from "./sql-expr-defaults.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.99 */
|
|
11
11
|
let h = new _();
|
|
12
12
|
class k {
|
|
13
13
|
constructor(e) {
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
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.99 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="../../index.d.ts" />
|
|
2
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This is a placeholder component for the coding AI assistant.
|
|
6
|
+
* Design and api is not yet finalized. For current working design
|
|
7
|
+
* see https://devtopia.esri.com/WebGIS/arcgis-web-components/pull/4261
|
|
8
|
+
* @private */
|
|
9
|
+
export declare class ArcgisArcadeCodingAssistant extends LitElement {
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as t } from "lit-html";
|
|
3
|
+
import { LitElement as r } from "@arcgis/lumina";
|
|
4
|
+
import { css as e } from "@lit/reactive-element/css-tag.js";
|
|
5
|
+
import { u as o } from "../../chunks/useT9n.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
+
v4.33.0-next.99 */
|
|
9
|
+
const a = e`:host{background-color:var(--calcite-color-foreground-1);calcite-flow{height:100%}}`;
|
|
10
|
+
class c extends r {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this.messages = o();
|
|
13
|
+
}
|
|
14
|
+
static {
|
|
15
|
+
this.styles = a;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region Rendering
|
|
19
|
+
render() {
|
|
20
|
+
return t`<span>${this.messages.arcadeassistant}</span>`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
s("arcgis-arcade-coding-assistant", c);
|
|
24
|
+
export {
|
|
25
|
+
c as ArcgisArcadeCodingAssistant
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -7,14 +7,15 @@ import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
|
|
|
7
7
|
import { LitElement as m, createEvent as c, noShadowRoot as f } from "@arcgis/lumina";
|
|
8
8
|
import { Deferred as x, generateGuid as b } from "@arcgis/components-utils";
|
|
9
9
|
import { D as v, e as l } from "../../chunks/arcade-executor.js";
|
|
10
|
-
import { s as P
|
|
10
|
+
import { s as P } from "../../chunks/setup-monaco.js";
|
|
11
11
|
import { b as s } from "../../chunks/arcade-defaults.js";
|
|
12
|
+
import { a as w } from "../../chunks/arcade-service-accessors.js";
|
|
12
13
|
import { u as E } from "../../chunks/useT9n.js";
|
|
13
14
|
import { createRef as S, ref as A } from "lit-html/directives/ref.js";
|
|
14
15
|
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
15
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
17
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
-
v4.33.0-next.
|
|
18
|
+
v4.33.0-next.99 */
|
|
18
19
|
const y = (n) => {
|
|
19
20
|
if (!n.toString().includes("calcite-flow-item"))
|
|
20
21
|
throw new Error("Renderer must return a JSX node that starts with <calcite-flow-item>");
|
|
@@ -8,7 +8,7 @@ import { u as C } from "../../chunks/useT9n.js";
|
|
|
8
8
|
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
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.99 */
|
|
12
12
|
const A = M`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.result-value-table{table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`, a = {
|
|
13
13
|
lines: !0,
|
|
14
14
|
selectionMode: "none",
|
|
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.99 */
|
|
13
13
|
function v(o) {
|
|
14
14
|
return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
|
|
15
15
|
}
|
|
@@ -65,7 +65,7 @@ class $ extends u {
|
|
|
65
65
|
this.arcgisClose.emit();
|
|
66
66
|
}
|
|
67
67
|
_colorizeCode(e) {
|
|
68
|
-
e !== void 0 && m(e, this._selectedSuggestion.code);
|
|
68
|
+
e !== void 0 && m(e, this._selectedSuggestion.code, "arcade");
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region Rendering
|