@arcgis/coding-components 4.33.0-next.8 → 4.33.0-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/{MWJ5CHEJ.js → 27XZTUCS.js} +2 -2
- package/dist/arcgis-coding-components/{ID2AC3RT.js → 2SPL6IJU.js} +1 -1
- package/dist/arcgis-coding-components/{OSTXXNJK.js → 3WYOZF2B.js} +2 -2
- package/dist/arcgis-coding-components/{DIGVFH5W.js → 3YBHPEVW.js} +2 -2
- package/dist/arcgis-coding-components/{37UZ3GPF.js → 4S4IT6SJ.js} +2 -2
- package/dist/arcgis-coding-components/{Z2A4NB53.js → 5ILAKWC4.js} +2 -2
- package/dist/arcgis-coding-components/{I2DIH3OY.js → 5YFELFRQ.js} +2 -2
- package/dist/arcgis-coding-components/{NAEWM634.js → 7OUR75ZF.js} +1 -1
- package/dist/arcgis-coding-components/{GXAPKM44.js → AXPJ2Y25.js} +2 -2
- package/dist/arcgis-coding-components/{DULV53ND.js → AZEVMKOL.js} +2 -2
- package/dist/arcgis-coding-components/{OYXSSBH7.js → B3OUJHOS.js} +2 -2
- package/dist/arcgis-coding-components/{TTQQ5JKL.js → BGR5GZWV.js} +2 -2
- package/dist/arcgis-coding-components/BIHPEQV3.js +4 -0
- package/dist/arcgis-coding-components/{OOHVU5A3.js → BTKF4DO3.js} +2 -2
- package/dist/arcgis-coding-components/{LTVFAP4L.js → DKJJH2YO.js} +3 -3
- package/dist/arcgis-coding-components/{G32BEN4J.js → EB3SL4FA.js} +2 -2
- package/dist/arcgis-coding-components/EOJQ5KTM.js +4 -0
- package/dist/arcgis-coding-components/{PQ56B36C.js → HLAH3PPK.js} +3 -3
- package/dist/arcgis-coding-components/{S3JZLZHZ.js → HNTEZ745.js} +2 -2
- package/dist/arcgis-coding-components/HTWIPGSL.js +6 -0
- package/dist/arcgis-coding-components/{JI7AOVM7.js → KNKNPQAL.js} +1 -1
- package/dist/arcgis-coding-components/{DXXRGVQQ.js → KPLD4IBE.js} +2 -2
- package/dist/arcgis-coding-components/{373O7VHT.js → LOXD2TQY.js} +2 -2
- package/dist/arcgis-coding-components/{CVFDVJN3.js → MKIBJBLW.js} +2 -2
- package/dist/arcgis-coding-components/{WYQEDB7U.js → MRTAPSL6.js} +2 -2
- package/dist/arcgis-coding-components/{35G7PGED.js → QF3BCOZ6.js} +2 -2
- package/dist/arcgis-coding-components/{5WT7SM2S.js → QNHVIC5P.js} +2 -2
- package/dist/arcgis-coding-components/{PWQ52GAZ.js → QQBCWS6N.js} +2 -2
- package/dist/arcgis-coding-components/{N3RKXOXA.js → SHGANYQ4.js} +2 -2
- package/dist/arcgis-coding-components/{JZ6NJCGR.js → UPNODJS2.js} +1 -1
- package/dist/arcgis-coding-components/{NB67VF2E.js → VP2EHHNC.js} +2 -2
- package/dist/arcgis-coding-components/{3GLUU65C.js → WESBCVZE.js} +2 -2
- package/dist/arcgis-coding-components/{CZWNFT76.js → XALSNLFJ.js} +2 -2
- package/dist/arcgis-coding-components/{GYZBYWEL.js → ZSRDAFXU.js} +2 -2
- package/dist/arcgis-coding-components/{XL37MC4N.js → ZUT526VD.js} +1 -1
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +289 -289
- 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/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/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/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +2 -2
- 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 +3 -3
- 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 +6 -6
- 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/package.json +7 -7
- package/dist/arcgis-coding-components/7IPDDE2I.js +0 -4
- package/dist/arcgis-coding-components/CIW3WAH7.js +0 -4
- package/dist/arcgis-coding-components/ER6MIADV.js +0 -6
|
@@ -4,7 +4,7 @@ import { g as m } from "./runtime.js";
|
|
|
4
4
|
import { CompletionItemKind as w, InsertTextMode as f, InsertTextFormat 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.9 */
|
|
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 * as C from "@arcgis/core/arcade.js";
|
|
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.9 */
|
|
5
5
|
const k = "https://developers.arcgis.com/arcade/", G = 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, DiagnosticSeverity as m, CompletionItemKind as o
|
|
|
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.9 */
|
|
12
12
|
const S = [
|
|
13
13
|
"<=",
|
|
14
14
|
">=",
|
|
@@ -2,7 +2,7 @@ import { isURL as t, hasSameOrigin as i } from "@arcgis/components-utils";
|
|
|
2
2
|
import c from "@arcgis/core/request.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.9 */
|
|
6
6
|
function a() {
|
|
7
7
|
return !!window.MonacoEnvironment?.getWorkerUrl;
|
|
8
8
|
}
|
package/dist/chunks/fields.js
CHANGED
|
@@ -12,7 +12,7 @@ import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
|
|
|
12
12
|
import { Emitter as x, Uri as $ } from "monaco-editor";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
15
|
+
v4.33.0-next.9 */
|
|
16
16
|
function W(t) {
|
|
17
17
|
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";
|
|
18
18
|
}
|
package/dist/chunks/markdown.js
CHANGED
|
@@ -4,7 +4,7 @@ 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";
|
|
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.9 */
|
|
8
8
|
async function ne(l) {
|
|
9
9
|
return await (await ee()).colorize(l, "arcade", { tabSize: 2 });
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme";
|
|
|
5
5
|
import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization";
|
|
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.9 */
|
|
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.9 */
|
|
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,
|
|
@@ -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.9 */
|
|
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.9 */
|
|
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/components-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.9 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
|
@@ -14,12 +14,12 @@ import { createRef as E, ref as A } from "lit-html/directives/ref.js";
|
|
|
14
14
|
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
-
v4.33.0-next.
|
|
17
|
+
v4.33.0-next.9 */
|
|
18
18
|
const y = (n) => {
|
|
19
19
|
if (!n.toString().includes("calcite-flow-item"))
|
|
20
20
|
throw new Error("Renderer must return a JSX node that starts with <calcite-flow-item>");
|
|
21
21
|
return !0;
|
|
22
|
-
}, D =
|
|
22
|
+
}, D = $`@layer{arcgis-arcade-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}.sticky{position:sticky;top:0;z-index:10}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);calcite-flow{height:100%}}.main-action-bar{border-bottom:var(--arcgis-coding-components-border);flex:0 0 auto;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)}}arcgis-arcade-results{border-top:var(--arcgis-coding-components-border);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}calcite-flow{[slot=footer]{word-break:break-word}}}}`;
|
|
23
23
|
class C extends m {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments), this._codeEditorElt = E(), this._componentReadyDefer = new x(), this._disposables = [], this._editorProfilePromise = Promise.resolve(void 0), this.messages = S(), this._modelId = b(), this._openArcadeHelp = () => void window.open(v, "Arcade Help"), this._toggleSidePanel = (e) => {
|
|
@@ -8,7 +8,7 @@ import { u as M } from "../../chunks/useT9n.js";
|
|
|
8
8
|
import { css as C } 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.9 */
|
|
12
12
|
const A = C`: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.9 */
|
|
13
13
|
function v(o) {
|
|
14
14
|
return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
|
|
15
15
|
}
|