@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,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
|
let resourceUrl = "https://js.arcgis.com/coding-components/next/";
|
|
7
7
|
|
|
@@ -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
|
import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
|
|
7
7
|
|
|
@@ -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
|
import { A as ArcgisEditorVariables$1, d as defineCustomElement$1 } from './editor-variables.js';
|
|
7
7
|
|
|
@@ -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
|
import { A as ArcgisLanguageApiPanel$1, d as defineCustomElement$1 } from './language-api-panel.js';
|
|
7
7
|
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { u as useControllerManager } from './chunk-IUUKU7EW.js';
|
|
@@ -15,7 +15,7 @@ import "@esri/calcite-components/dist/components/calcite-action-bar.js";
|
|
|
15
15
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
16
16
|
import "@esri/calcite-components/dist/components/calcite-tooltip.js";
|
|
17
17
|
|
|
18
|
-
const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:
|
|
18
|
+
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%}";
|
|
19
19
|
const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
|
|
20
20
|
|
|
21
21
|
const __cmpMeta = [0,"arcgis-sql-expression-editor",{"profile":[1040],"script":[1025],"_preparing":[32],"_editorProfile":[32],"_activeAction":[32],"_apiLibrary":[32],"sideActionBarExpanded":[32],"messages":[32]},undefined,{"messages":["_messagesChanged"],"profile":["_profileChanged"]}];
|
|
@@ -43,6 +43,9 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
43
43
|
this.script = e.detail;
|
|
44
44
|
this.arcgisScriptChange.emit(e.detail);
|
|
45
45
|
};
|
|
46
|
+
this._toggleSideActionBarExpanded = () => {
|
|
47
|
+
this.sideActionBarExpanded = !this.sideActionBarExpanded;
|
|
48
|
+
};
|
|
46
49
|
this._preparing = false;
|
|
47
50
|
this._editorProfile = undefined;
|
|
48
51
|
this._activeAction = undefined;
|
|
@@ -117,9 +120,9 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
117
120
|
// #endregion
|
|
118
121
|
render() {
|
|
119
122
|
const variable = this._getFeatureSetVariable();
|
|
120
|
-
return (h(Host, { key: '
|
|
123
|
+
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",
|
|
121
124
|
// need to use an arrow function to automatically bind 'this'
|
|
122
|
-
onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (h("calcite-tooltip", { key: '
|
|
125
|
+
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")))))));
|
|
123
126
|
}
|
|
124
127
|
static get assetsDirs() { return ["assets"]; }
|
|
125
128
|
get el() { return this; }
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { u as useControllerManager } from './chunk-IUUKU7EW.js';
|
|
@@ -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 { a as isNotUndefined, D as Deferred,
|
|
6
|
+
import { a as isNotUndefined, D as Deferred, e as safeAsyncCall, h as devToolsAwareTimeout, j as safeCall } from './index2.js';
|
|
7
7
|
|
|
8
8
|
// src/framework.ts
|
|
9
9
|
function retrieveComponentMembers(component, isLit) {
|