@arcgis/coding-components 4.31.0-next.86 → 4.31.0-next.88
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/arcgis-coding-components.css +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 +26 -26
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-d87abcac.js → p-0831d7e3.js} +10 -10
- package/dist/arcgis-coding-components/p-20cbb2be.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-eaa982e5.js → p-446add2c.js} +2 -2
- package/dist/arcgis-coding-components/{p-57561f5a.js → p-5e5ee397.js} +2 -2
- package/dist/arcgis-coding-components/p-63d471e6.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-beb8be6a.js → p-68d93bec.js} +2 -2
- package/dist/arcgis-coding-components/{p-214f0943.js → p-7199d246.js} +1 -1
- package/dist/arcgis-coding-components/{p-229a8da8.js → p-8590c168.js} +2 -2
- package/dist/arcgis-coding-components/{p-0126f49c.js → p-86517ba4.js} +2 -2
- package/dist/arcgis-coding-components/{p-b2ba8b34.js → p-8ac43937.js} +2 -2
- package/dist/arcgis-coding-components/{p-bf26b459.js → p-8d2811d6.js} +2 -2
- package/dist/arcgis-coding-components/{p-2897bc2e.js → p-9705a7c3.js} +2 -2
- package/dist/arcgis-coding-components/{p-78e2178d.entry.js → p-b1766017.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-b3a07d3d.js +6 -0
- package/dist/arcgis-coding-components/{p-18de61b2.js → p-b47d0934.js} +1 -1
- package/dist/arcgis-coding-components/{p-18697781.js → p-cd94eef5.js} +2 -2
- package/dist/arcgis-coding-components/p-d99cfac0.js +6 -0
- package/dist/arcgis-coding-components/{p-203f2b89.js → p-dfc23342.js} +1 -1
- package/dist/cjs/{app-globals-85e23764.js → app-globals-c671eae8.js} +1 -1
- package/dist/cjs/{arcade-defaults-facf9b04.js → arcade-defaults-87cb0d4e.js} +3 -3
- package/dist/cjs/{arcade-mode-e0cd67d7.js → arcade-mode-05be84a4.js} +4 -4
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +59 -93
- package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +10 -7
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-c6bedad3.js → css-6993712b.js} +1 -1
- package/dist/cjs/{cssMode-bd1cd2db.js → cssMode-5e68ccad.js} +3 -3
- package/dist/cjs/{html-4b409ccd.js → html-8856cd07.js} +3 -3
- package/dist/cjs/{htmlMode-9e8b3aa4.js → htmlMode-586acc8e.js} +3 -3
- package/dist/cjs/{index-de0083ae.js → index-926e4742.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-35af1f5f.js → javascript-d6c61309.js} +4 -4
- package/dist/cjs/{jsonMode-0a52bfb9.js → jsonMode-6eaf1ab6.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{sql-expr-defaults-5d12bac1.js → sql-expr-defaults-53f5441c.js} +10 -10
- package/dist/cjs/{sql-expr-mode-e3735afc.js → sql-expr-mode-b8b5dec0.js} +5 -9
- package/dist/cjs/{tsMode-a398c1de.js → tsMode-c5f1d89c.js} +3 -3
- package/dist/cjs/{typescript-73ba924b.js → typescript-0cee7fa8.js} +3 -3
- package/dist/cjs/{useT9n-81259a51.js → useT9n-7c90f507.js} +3 -3
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +2 -2
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +6 -27
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +7 -4
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/chunk-IUUKU7EW.js +2 -2
- package/dist/components/code-editor.js +54 -67
- package/dist/components/editor-variables.js +1 -1
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +2 -2
- package/dist/components/language-api-panel.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +1 -1
- package/dist/components/sql-expr-mode.js +3 -7
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-69d652cb.js → app-globals-8347c4b3.js} +1 -1
- package/dist/esm/{arcade-defaults-5c1697c8.js → arcade-defaults-50d9d8c8.js} +3 -3
- package/dist/esm/{arcade-mode-b9b3758f.js → arcade-mode-7edef4e0.js} +4 -4
- package/dist/esm/arcgis-arcade-editor_6.entry.js +59 -93
- package/dist/esm/arcgis-coding-components.js +5 -5
- package/dist/esm/arcgis-sql-expression-editor.entry.js +10 -7
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-e7d7c494.js → css-9f8f8b62.js} +1 -1
- package/dist/esm/{cssMode-8f0b2005.js → cssMode-16f9393b.js} +3 -3
- package/dist/esm/{html-e1f91da6.js → html-6400ea87.js} +3 -3
- package/dist/esm/{htmlMode-8fdef8e9.js → htmlMode-649bdb55.js} +3 -3
- package/dist/esm/{index-80add115.js → index-25e5e252.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-a0ba9bde.js → javascript-53af5e46.js} +4 -4
- package/dist/esm/{jsonMode-5c4f6e92.js → jsonMode-40045ac2.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{sql-expr-defaults-b1553413.js → sql-expr-defaults-d147b45c.js} +11 -11
- package/dist/esm/{sql-expr-mode-bc488961.js → sql-expr-mode-11024d7c.js} +5 -9
- package/dist/esm/{tsMode-82bbedd5.js → tsMode-93c862c3.js} +3 -3
- package/dist/esm/{typescript-73ad9064.js → typescript-1c9039a2.js} +3 -3
- package/dist/esm/{useT9n-a2a83800.js → useT9n-ce905834.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +0 -6
- package/dist/types/components/code-editor/code-editor.d.ts +1 -0
- package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +1 -0
- package/dist/types/components.d.ts +0 -6
- package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +0 -7
- package/dist/types/utils/setup-monaco-theme.d.ts +1 -0
- package/dist/types/utils/sql-expr-monaco/sql-expr-constants.d.ts +1 -1
- package/package.json +11 -11
- package/dist/arcgis-coding-components/p-0c876d09.entry.js +0 -6
- package/dist/arcgis-coding-components/p-16a26703.js +0 -6
- package/dist/arcgis-coding-components/p-e689d955.js +0 -6
- package/dist/arcgis-coding-components/p-f1fef244.entry.js +0 -6
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
8
|
-
import { g as globalScripts } from './app-globals-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-25e5e252.js';
|
|
7
|
+
export { s as setNonce } from './index-25e5e252.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-8347c4b3.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -21,5 +21,5 @@ var patchBrowser = () => {
|
|
|
21
21
|
|
|
22
22
|
patchBrowser().then(async (options) => {
|
|
23
23
|
await globalScripts();
|
|
24
|
-
return bootstrapLazy([["arcgis-arcade-editor_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"_preparingArcade":[32],"_editorProfile":[32],"_apiLibrary":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"messages":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64]
|
|
24
|
+
return bootstrapLazy([["arcgis-arcade-editor_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"_preparingArcade":[32],"_editorProfile":[32],"_apiLibrary":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"messages":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64]},null,{"messages":["_messagesChanged"],"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"editorOptions":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"editorOptions":["editorOptionsPropChange"]}],[1,"arcgis-editor-variables",{"loading":[4],"modelId":[1,"model-id"],"variable":[16],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32],"_mode":[32]},null,{"modelId":["modelIdPropChanged"],"variable":["_variableChanged"]}],[1,"arcgis-language-api-panel",{"hideDocumentationActions":[4,"hide-documentation-actions"],"loading":[4],"apiLibrary":[16],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"apiLibrary":["_apiLibraryChanged"]}]]],["arcgis-sql-expression-editor",[[0,"arcgis-sql-expression-editor",{"profile":[16],"script":[1025],"_preparing":[32],"_editorProfile":[32],"_activeAction":[32],"_apiLibrary":[32],"sideActionBarExpanded":[32],"messages":[32]},null,{"messages":["_messagesChanged"],"profile":["_profileChanged"]}]]],["arcgis-sql-expression-fields",[[1,"arcgis-sql-expression-fields",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}]]]], options);
|
|
25
25
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
7
|
-
import { u as useControllerManager, a as useT9n } from './useT9n-
|
|
8
|
-
import {
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-25e5e252.js';
|
|
7
|
+
import { u as useControllerManager, a as useT9n } from './useT9n-ce905834.js';
|
|
8
|
+
import { l as generateGuid, x as sqlExprDefaults } from './sql-expr-defaults-d147b45c.js';
|
|
9
9
|
|
|
10
|
-
const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:
|
|
10
|
+
const sqlExpressionEditorCss = "arcgis-sql-expression-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%}arcgis-sql-expression-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-sql-expression-editor .flex-panel{flex:1 0 auto}arcgis-sql-expression-editor .position-relative{position:relative}arcgis-sql-expression-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-sql-expression-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-sql-expression-editor .border-inline-start{border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-sql-expression-editor .border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-sql-expression-editor .side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}arcgis-sql-expression-editor .side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w)}arcgis-sql-expression-editor .side-panel calcite-flow{height:100%}";
|
|
11
11
|
const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
|
|
12
12
|
|
|
13
13
|
const SqlExpressionEditor = class {
|
|
@@ -30,6 +30,9 @@ const SqlExpressionEditor = class {
|
|
|
30
30
|
this.script = e.detail;
|
|
31
31
|
this.arcgisScriptChange.emit(e.detail);
|
|
32
32
|
};
|
|
33
|
+
this._toggleSideActionBarExpanded = () => {
|
|
34
|
+
this.sideActionBarExpanded = !this.sideActionBarExpanded;
|
|
35
|
+
};
|
|
33
36
|
this._preparing = false;
|
|
34
37
|
this._editorProfile = undefined;
|
|
35
38
|
this._activeAction = undefined;
|
|
@@ -104,9 +107,9 @@ const SqlExpressionEditor = class {
|
|
|
104
107
|
// #endregion
|
|
105
108
|
render() {
|
|
106
109
|
const variable = this._getFeatureSetVariable();
|
|
107
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '7045de8598251dd6984000e7b29954e061c026d1' }, h("div", { key: 'be7bdc3c1f67698806cb82340db7298ea4a587c8', class: "flex-row flex-adjustable" }, h("div", { key: 'fd8fc820e4936b92e56b5d6391645d0bbd9f25ec', class: "flex-column flex-adjustable" }, h("arcgis-code-editor", { key: '1f99b35c123aa46d06533d3bd6435e771efc0a74', language: "arcgis-sql-expression", modelId: this._modelId, ref: (e) => (this._codeEditorElt = e), value: this.script ?? "", onArcgisValueChange: this._onCodeEditorValueChange })), this._activeAction === "fields" && (h("arcgis-editor-variables", { key: '0670d6ac75b6139db6d941ac277bf273ce6bae1b', variable: variable, class: "side-panel flex-panel border-inline-start", loading: this._preparing, modelId: this._modelId, onArcgisItemSelected: this._insertAsText, onArcgisClose: () => this._setActiveAction(undefined), "data-panel-name": "none" })), this._activeAction === "functions" && (h("arcgis-language-api-panel", { key: '10a0dca508651738450312758c9b0e5c92c8cfbe', class: "side-panel flex-panel border-inline-start", onArcgisItemSelected: this._insertAsSnippet, onArcgisClose: () => this._setActiveAction(undefined), loading: this._preparing, apiLibrary: this._apiLibrary, "data-panel-name": "none" })), h("calcite-action-bar", { key: 'fdb88197b0ee0b2995b6a47a60094fcbc9131c98', class: "side-action-bar border-inline-start", expanded: this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, h("calcite-action", { key: 'a1ca3ce4b89ad68b00aaa6b3f86dbb31e1d1616c', id: "fields-action", text: this.messages.fields ?? "Fields", icon: "profile-variables", active: this._activeAction === "fields", "data-panel-name": "fields",
|
|
108
111
|
// need to use an arrow function to automatically bind 'this'
|
|
109
|
-
onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (h("calcite-tooltip", { key: '
|
|
112
|
+
onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (h("calcite-tooltip", { key: '82a8e3557e765d05caf08d54afbf3d2f5a383615', "reference-element": "fields-action" }, h("span", { key: '8e3ee3362edc48378676eecbb8c25d8a686f8e58' }, this.messages.fields ?? "Fields"))), h("calcite-action", { key: 'bde73acdf947bbfb252bb644c6ef2c06971849d3', id: "functions-action", text: this.messages.functions ?? "Functions", icon: "function", active: this._activeAction === "functions", "data-panel-name": "functions", onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (h("calcite-tooltip", { key: 'f353577f4ed06d1607ac0282be6674f3246b69bc', "reference-element": "functions-action" }, h("span", { key: '7445241db197f4e9b29527150e3b55dc307f3fe5' }, this.messages.functions ?? "Functions")))))));
|
|
110
113
|
}
|
|
111
114
|
static get assetsDirs() { return ["assets"]; }
|
|
112
115
|
get el() { return getElement(this); }
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
7
|
-
import { u as useControllerManager, a as useT9n } from './useT9n-
|
|
8
|
-
import {
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-25e5e252.js';
|
|
7
|
+
import { u as useControllerManager, a as useT9n } from './useT9n-ce905834.js';
|
|
8
|
+
import { x as sqlExprDefaults } from './sql-expr-defaults-d147b45c.js';
|
|
9
9
|
|
|
10
10
|
const sqlExpressionFieldsCss = ":host calcite-flow{height:100%}:host calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}";
|
|
11
11
|
const ArcgisSqlExpressionFieldsStyle0 = sqlExpressionFieldsCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
6
|
const NAMESPACE = 'arcgis-coding-components';
|
|
7
7
|
const BUILD = /* arcgis-coding-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
export { s as sqlExpression } from './sql-expr-defaults-
|
|
8
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-50d9d8c8.js';
|
|
7
|
+
export { s as sqlExpression } from './sql-expr-defaults-d147b45c.js';
|
|
8
|
+
import './index-25e5e252.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
7
|
-
import './sql-expr-defaults-
|
|
8
|
-
import './index-
|
|
6
|
+
import { conf as conf$1, language as language$1 } from './typescript-1c9039a2.js';
|
|
7
|
+
import './sql-expr-defaults-d147b45c.js';
|
|
8
|
+
import './index-25e5e252.js';
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
8
|
-
import { g as globalScripts } from './app-globals-
|
|
6
|
+
import { b as bootstrapLazy } from './index-25e5e252.js';
|
|
7
|
+
export { s as setNonce } from './index-25e5e252.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-8347c4b3.js';
|
|
9
9
|
|
|
10
10
|
const defineCustomElements = async (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return undefined;
|
|
12
12
|
await globalScripts();
|
|
13
|
-
return bootstrapLazy([["arcgis-arcade-editor_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"_preparingArcade":[32],"_editorProfile":[32],"_apiLibrary":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"messages":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64]
|
|
13
|
+
return bootstrapLazy([["arcgis-arcade-editor_6",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1025],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"editorInstance":[16],"_preparingArcade":[32],"_editorProfile":[32],"_apiLibrary":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"messages":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64]},null,{"messages":["_messagesChanged"],"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"editorOptions":[16],"editorInstance":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"language":["languagePropChange"],"modelId":["modelIdPropChange"],"editorOptions":["editorOptionsPropChange"]}],[1,"arcgis-editor-variables",{"loading":[4],"modelId":[1,"model-id"],"variable":[16],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32],"_mode":[32]},null,{"modelId":["modelIdPropChanged"],"variable":["_variableChanged"]}],[1,"arcgis-language-api-panel",{"hideDocumentationActions":[4,"hide-documentation-actions"],"loading":[4],"apiLibrary":[16],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"apiLibrary":["_apiLibraryChanged"]}]]],["arcgis-sql-expression-editor",[[0,"arcgis-sql-expression-editor",{"profile":[16],"script":[1025],"_preparing":[32],"_editorProfile":[32],"_activeAction":[32],"_apiLibrary":[32],"sideActionBarExpanded":[32],"messages":[32]},null,{"messages":["_messagesChanged"],"profile":["_profileChanged"]}]]],["arcgis-sql-expression-fields",[[1,"arcgis-sql-expression-fields",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}]]]], options);
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export { defineCustomElements };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { g as getAssetPath } from './index-25e5e252.js';
|
|
7
7
|
|
|
8
8
|
// src/index.ts
|
|
9
9
|
var isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis && !("forceESM" in window.$arcgis);
|
|
@@ -124672,7 +124672,7 @@ registerLanguage({
|
|
|
124672
124672
|
mimetypes: ["text/css"],
|
|
124673
124673
|
loader: () => {
|
|
124674
124674
|
{
|
|
124675
|
-
return import('./css-
|
|
124675
|
+
return import('./css-9f8f8b62.js');
|
|
124676
124676
|
}
|
|
124677
124677
|
}
|
|
124678
124678
|
});
|
|
@@ -124690,7 +124690,7 @@ registerLanguage({
|
|
|
124690
124690
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
124691
124691
|
loader: () => {
|
|
124692
124692
|
{
|
|
124693
|
-
return import('./html-
|
|
124693
|
+
return import('./html-6400ea87.js');
|
|
124694
124694
|
}
|
|
124695
124695
|
}
|
|
124696
124696
|
});
|
|
@@ -124710,7 +124710,7 @@ registerLanguage({
|
|
|
124710
124710
|
mimetypes: ["text/javascript"],
|
|
124711
124711
|
loader: () => {
|
|
124712
124712
|
{
|
|
124713
|
-
return import('./javascript-
|
|
124713
|
+
return import('./javascript-53af5e46.js');
|
|
124714
124714
|
}
|
|
124715
124715
|
}
|
|
124716
124716
|
});
|
|
@@ -124728,7 +124728,7 @@ registerLanguage({
|
|
|
124728
124728
|
mimetypes: ["text/typescript"],
|
|
124729
124729
|
loader: () => {
|
|
124730
124730
|
{
|
|
124731
|
-
return import('./typescript-
|
|
124731
|
+
return import('./typescript-1c9039a2.js');
|
|
124732
124732
|
}
|
|
124733
124733
|
}
|
|
124734
124734
|
});
|
|
@@ -124849,7 +124849,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
124849
124849
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
124850
124850
|
function getMode$3() {
|
|
124851
124851
|
{
|
|
124852
|
-
return import('./cssMode-
|
|
124852
|
+
return import('./cssMode-16f9393b.js');
|
|
124853
124853
|
}
|
|
124854
124854
|
}
|
|
124855
124855
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -124974,7 +124974,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
124974
124974
|
};
|
|
124975
124975
|
function getMode$2() {
|
|
124976
124976
|
{
|
|
124977
|
-
return import('./htmlMode-
|
|
124977
|
+
return import('./htmlMode-649bdb55.js');
|
|
124978
124978
|
}
|
|
124979
124979
|
}
|
|
124980
124980
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -125076,7 +125076,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
125076
125076
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
125077
125077
|
function getMode$1() {
|
|
125078
125078
|
{
|
|
125079
|
-
return import('./jsonMode-
|
|
125079
|
+
return import('./jsonMode-40045ac2.js');
|
|
125080
125080
|
}
|
|
125081
125081
|
}
|
|
125082
125082
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -125345,7 +125345,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
125345
125345
|
};
|
|
125346
125346
|
function getMode() {
|
|
125347
125347
|
{
|
|
125348
|
-
return import('./tsMode-
|
|
125348
|
+
return import('./tsMode-93c862c3.js');
|
|
125349
125349
|
}
|
|
125350
125350
|
}
|
|
125351
125351
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -171070,4 +171070,4 @@ const sqlExpression = {
|
|
|
171070
171070
|
getApiLibraryForModel: sqlExprDefaults.getApiLibraryForModel.bind(sqlExprDefaults),
|
|
171071
171071
|
};
|
|
171072
171072
|
|
|
171073
|
-
export { KeyMod as A, createFilterExpression as B, addLTRMark as C, Deferred as D, EditorProfile as E, isNotUndefined as F, safeAsyncCall as G, devToolsAwareTimeout as H, IStandaloneThemeService as I, safeCall as J, KeyCode as K, LanguageDefaultsBase as L, startLocaleObserver as M, getElementLocales as N, monaco_editor_core_star as O, typescriptDefaults as P, MarkerSeverity as Q, Range as R, StandaloneServices as S, debounce as T, Uri as U, Emitter as V, isFeatureSetCollectionDefinition as a, isFeatureSetDefinition as b, isFeatureDefinition as c, supportedLocales as d, fetchT9nStringsBundle as e, fieldsToProfileValues as f, importArcade as g,
|
|
171073
|
+
export { KeyMod as A, createFilterExpression as B, addLTRMark as C, Deferred as D, EditorProfile as E, isNotUndefined as F, safeAsyncCall as G, devToolsAwareTimeout as H, IStandaloneThemeService as I, safeCall as J, KeyCode as K, LanguageDefaultsBase as L, startLocaleObserver as M, getElementLocales as N, monaco_editor_core_star as O, typescriptDefaults as P, MarkerSeverity as Q, Range as R, StandaloneServices as S, debounce as T, Uri as U, Emitter as V, isFeatureSetCollectionDefinition as a, isFeatureSetDefinition as b, isFeatureDefinition as c, supportedLocales as d, fetchT9nStringsBundle as e, fieldsToProfileValues as f, importArcade as g, isURL as h, isPredefinedProfile as i, hasSameOrigin as j, importRequest as k, generateGuid as l, main as m, setValuesInString as n, supportedFields as o, generateTokensCSSForColorMap as p, quoteString as q, editor as r, sqlExpression as s, commonjsGlobal as t, setFocusOnElement as u, filterCollection as v, languages as w, sqlExprDefaults as x, observeAncestorsMutation as y, getElementTheme as z };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { D as Deferred,
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as Deferred, r as editor, T as debounce, w as languages, x as sqlExprDefaults, V as Emitter } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
// hold onto a promise that resolves when the worker is ready
|
|
10
10
|
let deferredWorker = new Deferred();
|
|
@@ -104,7 +104,6 @@ Object.values(castDataTypesDict);
|
|
|
104
104
|
const sqlExprKeywords = [
|
|
105
105
|
"AND",
|
|
106
106
|
"AS",
|
|
107
|
-
"BETWEEN",
|
|
108
107
|
"BOTH",
|
|
109
108
|
"CASE",
|
|
110
109
|
"CAST",
|
|
@@ -124,14 +123,10 @@ const sqlExprKeywords = [
|
|
|
124
123
|
"IN",
|
|
125
124
|
"INTEGER",
|
|
126
125
|
"INTERVAL",
|
|
127
|
-
"IS",
|
|
128
126
|
"LEADING",
|
|
129
127
|
"LIKE",
|
|
130
128
|
"MINUTE",
|
|
131
129
|
"MONTH",
|
|
132
|
-
"NOT",
|
|
133
|
-
"NULL",
|
|
134
|
-
"OR",
|
|
135
130
|
"POSITION",
|
|
136
131
|
"REAL",
|
|
137
132
|
"SECOND",
|
|
@@ -170,6 +165,7 @@ const sqlExprFunctions = [
|
|
|
170
165
|
"CURRENT_DATE",
|
|
171
166
|
"CURRENT_TIME",
|
|
172
167
|
"CURRENT_TIMESTAMP",
|
|
168
|
+
"CURRENT_USER",
|
|
173
169
|
// Mathematical
|
|
174
170
|
"ABS",
|
|
175
171
|
"ACOS",
|
|
@@ -227,7 +223,7 @@ const sqlExprLanguageConfig = {
|
|
|
227
223
|
// TODO: trim down
|
|
228
224
|
const sqlExprLanguageSyntax = {
|
|
229
225
|
defaultToken: "",
|
|
230
|
-
tokenPostfix: ".
|
|
226
|
+
tokenPostfix: ".arcgis",
|
|
231
227
|
ignoreCase: true,
|
|
232
228
|
brackets: [
|
|
233
229
|
{ open: "[", close: "]", token: "delimiter.square" },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { P as typescriptDefaults, O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { P as typescriptDefaults, O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { O as monaco_editor_core_star } from './sql-expr-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { O as monaco_editor_core_star } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
|
-
import { F as isNotUndefined, D as Deferred, G as safeAsyncCall, H as devToolsAwareTimeout, J as safeCall, M as startLocaleObserver, N as getElementLocales } from './sql-expr-defaults-
|
|
7
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { F as isNotUndefined, D as Deferred, G as safeAsyncCall, H as devToolsAwareTimeout, J as safeCall, M as startLocaleObserver, N as getElementLocales } from './sql-expr-defaults-d147b45c.js';
|
|
7
|
+
import { g as getAssetPath } from './index-25e5e252.js';
|
|
8
8
|
|
|
9
9
|
// src/framework.ts
|
|
10
10
|
function retrieveComponentMembers(component, isLit) {
|
package/dist/loader/cdn.js
CHANGED
package/dist/loader/index.cjs.js
CHANGED
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.88
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/loader.js';
|
|
@@ -5,7 +5,6 @@ import type { IEditorProfileDefinition, IPredefinedProfile } from "../../utils/p
|
|
|
5
5
|
import type { editor } from "monaco-editor";
|
|
6
6
|
import type { EditorProfile } from "../../utils/profile/editor-profile";
|
|
7
7
|
import type { ArcadeResult, IEditorTestContext } from "../../utils/arcade-executor";
|
|
8
|
-
import type { IColorRules } from "../../utils/arcade-monaco/arcade-theme";
|
|
9
8
|
import type { ResultPanelName } from "../arcade-results/arcade-results";
|
|
10
9
|
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
11
10
|
export type SidePanelName = "api" | "none" | "suggestions" | "variables";
|
|
@@ -143,11 +142,6 @@ export declare class ArcgisArcadeEditor implements ComponentInterface {
|
|
|
143
142
|
* Returns the Arcade result for the script for the provided test data.
|
|
144
143
|
*/
|
|
145
144
|
getTestResult(): Promise<ArcadeResult>;
|
|
146
|
-
/**
|
|
147
|
-
* Allows to change theme colors
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
updateThemeColors(colorRules: IColorRules | undefined): Promise<void>;
|
|
151
145
|
/**
|
|
152
146
|
* Emitted when the script string has changed.
|
|
153
147
|
*/
|
|
@@ -4,6 +4,7 @@ import { editor } from "monaco-editor";
|
|
|
4
4
|
import type { ControllerManager } from "@arcgis/components-controllers";
|
|
5
5
|
import "../../utils/arcade-monaco/arcade-contribution";
|
|
6
6
|
import "../../utils/sql-expr-monaco/sql-expr-contribution";
|
|
7
|
+
import "../../utils/setup-monaco-theme";
|
|
7
8
|
export declare class ArcgisCodeEditor implements ComponentInterface {
|
|
8
9
|
manager: ControllerManager<this>;
|
|
9
10
|
private _editorInstance;
|
|
@@ -48,6 +48,7 @@ export declare class SqlExpressionEditor implements ComponentInterface {
|
|
|
48
48
|
* In current form, there should only be one variable in the profile.
|
|
49
49
|
*/
|
|
50
50
|
private _getFeatureSetVariable;
|
|
51
|
+
private _toggleSideActionBarExpanded;
|
|
51
52
|
componentWillLoad(): Promise<void>;
|
|
52
53
|
componentDidLoad(): Promise<void>;
|
|
53
54
|
/**
|
|
@@ -11,7 +11,6 @@ import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "./utils/edito
|
|
|
11
11
|
import { ApiCategory, ApiSnippet, Diagnostic } from "@arcgis/arcade-languageservice";
|
|
12
12
|
import { SidePanelName } from "./components/arcade-editor/arcade-editor";
|
|
13
13
|
import { editor, Selection } from "monaco-editor";
|
|
14
|
-
import { IColorRules } from "./utils/arcade-monaco/arcade-theme";
|
|
15
14
|
import { ResultPanelName } from "./components/arcade-results/arcade-results";
|
|
16
15
|
import { EditorProfile, FeatureSetVariable } from "./utils/profile/editor-profile";
|
|
17
16
|
import { IPredefinedProfile as IPredefinedProfile1 } from "./components";
|
|
@@ -21,7 +20,6 @@ export { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from "./utils/edito
|
|
|
21
20
|
export { ApiCategory, ApiSnippet, Diagnostic } from "@arcgis/arcade-languageservice";
|
|
22
21
|
export { SidePanelName } from "./components/arcade-editor/arcade-editor";
|
|
23
22
|
export { editor, Selection } from "monaco-editor";
|
|
24
|
-
export { IColorRules } from "./utils/arcade-monaco/arcade-theme";
|
|
25
23
|
export { ResultPanelName } from "./components/arcade-results/arcade-results";
|
|
26
24
|
export { EditorProfile, FeatureSetVariable } from "./utils/profile/editor-profile";
|
|
27
25
|
export { IPredefinedProfile as IPredefinedProfile1 } from "./components";
|
|
@@ -88,10 +86,6 @@ export namespace Components {
|
|
|
88
86
|
* Test data used to execute the script in the editor. If undefined the execute script UX will be hidden.
|
|
89
87
|
*/
|
|
90
88
|
"testData": IEditorTestContext | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* Allows to change theme colors
|
|
93
|
-
*/
|
|
94
|
-
"updateThemeColors": (colorRules: IColorRules | undefined) => Promise<void>;
|
|
95
89
|
}
|
|
96
90
|
interface ArcgisArcadeResults {
|
|
97
91
|
/**
|
|
@@ -22,13 +22,6 @@ export declare const HideItemsCustomProfileStory: StoryObj<Components.ArcgisArca
|
|
|
22
22
|
export declare const HideItemsPredefinedProfileStory: StoryObj<Components.ArcgisArcadeEditor & {
|
|
23
23
|
hiddenApiItems: string[];
|
|
24
24
|
}>;
|
|
25
|
-
declare const themeKeys: readonly ["undefined", "dark", "light", "light2", "dark2", "light3", "dark3", "light4", "dark4"];
|
|
26
|
-
type ThemeType = (typeof themeKeys)[number];
|
|
27
|
-
export declare const ThemingStory: StoryObj<Components.ArcgisArcadeEditor & {
|
|
28
|
-
createYourOwnTheme: boolean;
|
|
29
|
-
colorThemeSelector: ThemeType;
|
|
30
|
-
colorThemeCreator: object;
|
|
31
|
-
}>;
|
|
32
25
|
export declare const UpdatingTestDataStory: StoryObj<Components.ArcgisArcadeEditor & {
|
|
33
26
|
number: number;
|
|
34
27
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setupTheme(): void;
|
|
@@ -57,5 +57,5 @@ export declare const dateLiterals: string[];
|
|
|
57
57
|
export declare const trimKeywords: string[];
|
|
58
58
|
export declare const sqlExprKeywords: string[];
|
|
59
59
|
export declare const sqlExprOperators: string[];
|
|
60
|
-
export declare const sqlExprFunctions: readonly ["CAST", "EXTRACT", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "ABS", "ACOS", "ASIN", "ATAN", "CEILING", "COS", "FLOOR", "LOG", "LOG10", "MOD", "NULLIF", "POWER", "ROUND", "SIGN", "SIN", "TAN", "TRUNCATE", "CHAR_LENGTH", "COALESCE", "CONCAT", "LOWER", "POSITION", "SUBSTRING", "TRIM", "UPPER"];
|
|
60
|
+
export declare const sqlExprFunctions: readonly ["CAST", "EXTRACT", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURRENT_USER", "ABS", "ACOS", "ASIN", "ATAN", "CEILING", "COS", "FLOOR", "LOG", "LOG10", "MOD", "NULLIF", "POWER", "ROUND", "SIGN", "SIN", "TAN", "TRUNCATE", "CHAR_LENGTH", "COALESCE", "CONCAT", "LOWER", "POSITION", "SUBSTRING", "TRIM", "UPPER"];
|
|
61
61
|
export {};
|