@arcgis/coding-components 4.31.0-next.85 → 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-6dddf7c6.js → p-0831d7e3.js} +10 -10
- package/dist/arcgis-coding-components/p-20cbb2be.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-4dc09b9b.js → p-446add2c.js} +2 -2
- package/dist/arcgis-coding-components/{p-d0decfa1.js → p-5e5ee397.js} +2 -2
- package/dist/arcgis-coding-components/p-63d471e6.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-21986b95.js → p-68d93bec.js} +2 -2
- package/dist/arcgis-coding-components/p-7199d246.js +7 -0
- package/dist/arcgis-coding-components/{p-4f1f2dd0.js → p-8590c168.js} +2 -2
- package/dist/arcgis-coding-components/{p-8504f6ee.js → p-86517ba4.js} +2 -2
- package/dist/arcgis-coding-components/{p-6db4951f.js → p-8ac43937.js} +2 -2
- package/dist/arcgis-coding-components/{p-6ba86387.js → p-8d2811d6.js} +2 -2
- package/dist/arcgis-coding-components/{p-6b2d51ce.js → p-9705a7c3.js} +3 -3
- package/dist/arcgis-coding-components/{p-ef40e5fb.entry.js → p-b1766017.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-b3a07d3d.js +6 -0
- package/dist/arcgis-coding-components/{p-34f45a39.js → p-b47d0934.js} +1 -1
- package/dist/arcgis-coding-components/{p-f9a6d614.js → p-cd94eef5.js} +2 -2
- package/dist/arcgis-coding-components/p-d99cfac0.js +6 -0
- package/dist/arcgis-coding-components/{p-717b28d7.js → p-dfc23342.js} +1 -1
- package/dist/cjs/{app-globals-64321eee.js → app-globals-c671eae8.js} +1 -1
- package/dist/cjs/{arcade-defaults-adc065a1.js → arcade-defaults-87cb0d4e.js} +3 -3
- package/dist/cjs/{arcade-mode-edd4fdf3.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 +5 -5
- 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-28229e9e.js → css-6993712b.js} +1 -1
- package/dist/cjs/{cssMode-bab07355.js → cssMode-5e68ccad.js} +3 -3
- package/dist/cjs/{html-5b883749.js → html-8856cd07.js} +3 -3
- package/dist/cjs/{htmlMode-95f8a4cc.js → htmlMode-586acc8e.js} +3 -3
- package/dist/cjs/{index-e078ddd9.js → index-926e4742.js} +24 -7
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-f1667c96.js → javascript-d6c61309.js} +4 -4
- package/dist/cjs/{jsonMode-8b831485.js → jsonMode-6eaf1ab6.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{sql-expr-defaults-0a2f3160.js → sql-expr-defaults-53f5441c.js} +21 -19
- package/dist/cjs/{sql-expr-mode-658d46fd.js → sql-expr-mode-b8b5dec0.js} +5 -9
- package/dist/cjs/{tsMode-9327cb13.js → tsMode-c5f1d89c.js} +3 -3
- package/dist/cjs/{typescript-8e259ec5.js → typescript-0cee7fa8.js} +3 -3
- package/dist/cjs/{useT9n-c50e3a5b.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.d.ts +18 -3
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +13 -11
- 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-0fdff2c9.js → app-globals-8347c4b3.js} +1 -1
- package/dist/esm/{arcade-defaults-fc8720cf.js → arcade-defaults-50d9d8c8.js} +3 -3
- package/dist/esm/{arcade-mode-09716194.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 +6 -6
- 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-ee3a1991.js → css-9f8f8b62.js} +1 -1
- package/dist/esm/{cssMode-dc6b1abe.js → cssMode-16f9393b.js} +3 -3
- package/dist/esm/{html-d289b15b.js → html-6400ea87.js} +3 -3
- package/dist/esm/{htmlMode-ac296150.js → htmlMode-649bdb55.js} +3 -3
- package/dist/esm/{index-6e2de412.js → index-25e5e252.js} +24 -7
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-376b79d1.js → javascript-53af5e46.js} +4 -4
- package/dist/esm/{jsonMode-d7625920.js → jsonMode-40045ac2.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{sql-expr-defaults-443c4344.js → sql-expr-defaults-d147b45c.js} +22 -20
- package/dist/esm/{sql-expr-mode-049af586.js → sql-expr-mode-11024d7c.js} +5 -9
- package/dist/esm/{tsMode-bc18818c.js → tsMode-93c862c3.js} +3 -3
- package/dist/esm/{typescript-057af1f6.js → typescript-1c9039a2.js} +3 -3
- package/dist/esm/{useT9n-574037bc.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 +2 -8
- package/dist/types/components/arcade-results/arcade-results.d.ts +2 -2
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +2 -2
- package/dist/types/components/code-editor/code-editor.d.ts +1 -0
- package/dist/types/components/editor-variables/editor-variables.d.ts +2 -2
- package/dist/types/components/language-api-panel/language-api-panel.d.ts +2 -2
- package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +3 -2
- package/dist/types/components/sql-expression-fields/sql-expression-fields.d.ts +2 -2
- 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/profile/editor-profile.d.ts +2 -2
- 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 +16 -16
- package/dist/arcgis-coding-components/p-40e55c7e.entry.js +0 -6
- package/dist/arcgis-coding-components/p-79d58774.js +0 -6
- package/dist/arcgis-coding-components/p-88ac4d4e.js +0 -7
- package/dist/arcgis-coding-components/p-88de12c7.js +0 -6
- package/dist/arcgis-coding-components/p-aad7c354.entry.js +0 -6
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +0 -12
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
Stencil Client Patch Browser v4.
|
|
11
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
var patchBrowser = () => {
|
|
14
14
|
const importMeta = import.meta.url;
|
|
@@ -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,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
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 };
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
|
-
Stencil Client Platform v4.
|
|
10
|
+
Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
11
11
|
*/
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
13
13
|
var __export = (target, all) => {
|
|
@@ -400,7 +400,18 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
400
400
|
if (nonce != null) {
|
|
401
401
|
styleElm.setAttribute("nonce", nonce);
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
const injectStyle = (
|
|
404
|
+
/**
|
|
405
|
+
* we render a scoped component
|
|
406
|
+
*/
|
|
407
|
+
!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
|
|
408
|
+
* we are using shadow dom and render the style tag within the shadowRoot
|
|
409
|
+
*/
|
|
410
|
+
cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
|
|
411
|
+
);
|
|
412
|
+
if (injectStyle) {
|
|
413
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
414
|
+
}
|
|
404
415
|
}
|
|
405
416
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
406
417
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -423,7 +434,7 @@ var attachStyles = (hostRef) => {
|
|
|
423
434
|
const scopeId2 = addStyle(
|
|
424
435
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
425
436
|
cmpMeta);
|
|
426
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
437
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
427
438
|
elm["s-sc"] = scopeId2;
|
|
428
439
|
elm.classList.add(scopeId2 + "-h");
|
|
429
440
|
}
|
|
@@ -576,7 +587,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
576
587
|
{
|
|
577
588
|
updateElement(null, newVNode2, isSvgMode);
|
|
578
589
|
}
|
|
579
|
-
|
|
590
|
+
const rootNode = elm.getRootNode();
|
|
591
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
592
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
580
593
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
581
594
|
}
|
|
582
595
|
if (newVNode2.$children$) {
|
|
@@ -730,7 +743,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
730
743
|
elm.textContent = "";
|
|
731
744
|
}
|
|
732
745
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
733
|
-
} else if (
|
|
746
|
+
} else if (
|
|
747
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
748
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
749
|
+
) {
|
|
734
750
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
735
751
|
}
|
|
736
752
|
} else if (oldVNode.$text$ !== text) {
|
|
@@ -1031,7 +1047,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1031
1047
|
if (this.hasOwnProperty(propName)) {
|
|
1032
1048
|
newValue = this[propName];
|
|
1033
1049
|
delete this[propName];
|
|
1034
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1050
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
1051
|
+
this[propName] == newValue) {
|
|
1035
1052
|
return;
|
|
1036
1053
|
} else if (propName == null) {
|
|
1037
1054
|
const hostRef = getHostRef(this);
|
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);
|
|
@@ -302,11 +302,13 @@ function observe(attributeFilter) {
|
|
|
302
302
|
}
|
|
303
303
|
const subscribers = /* @__PURE__ */ new Set();
|
|
304
304
|
const mutationObserver = new MutationObserver((mutations) => subscribers.forEach((callback) => callback(mutations)));
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
if (globalThis.document) {
|
|
306
|
+
mutationObserver.observe(document.documentElement, {
|
|
307
|
+
attributes: true,
|
|
308
|
+
attributeFilter,
|
|
309
|
+
subtree: true
|
|
310
|
+
});
|
|
311
|
+
}
|
|
310
312
|
const observer = {
|
|
311
313
|
subscribe(callback) {
|
|
312
314
|
subscribers.add(callback);
|
|
@@ -327,12 +329,12 @@ function observe(attributeFilter) {
|
|
|
327
329
|
function closestElement(base, selector) {
|
|
328
330
|
let currentElement = base;
|
|
329
331
|
while (currentElement) {
|
|
330
|
-
const element = currentElement.closest(selector);
|
|
332
|
+
const element = currentElement.closest?.(selector);
|
|
331
333
|
if (element) {
|
|
332
334
|
return element;
|
|
333
335
|
}
|
|
334
|
-
const rootElement = currentElement.getRootNode();
|
|
335
|
-
if (rootElement === document) {
|
|
336
|
+
const rootElement = currentElement.getRootNode?.();
|
|
337
|
+
if (rootElement === globalThis.document) {
|
|
336
338
|
return null;
|
|
337
339
|
}
|
|
338
340
|
currentElement = rootElement.host;
|
|
@@ -504,7 +506,7 @@ async function fetchBundle(locale, path) {
|
|
|
504
506
|
return await fetchBundle(defaultLocale, path);
|
|
505
507
|
}
|
|
506
508
|
function getElementLocales(element) {
|
|
507
|
-
const lang = getElementAttribute(element, "lang", navigator
|
|
509
|
+
const lang = getElementAttribute(element, "lang", globalThis.navigator?.language || defaultLocale);
|
|
508
510
|
return { lang, t9nLocale: normalizeLocale(lang) };
|
|
509
511
|
}
|
|
510
512
|
function normalizeLocale(locale) {
|
|
@@ -124670,7 +124672,7 @@ registerLanguage({
|
|
|
124670
124672
|
mimetypes: ["text/css"],
|
|
124671
124673
|
loader: () => {
|
|
124672
124674
|
{
|
|
124673
|
-
return import('./css-
|
|
124675
|
+
return import('./css-9f8f8b62.js');
|
|
124674
124676
|
}
|
|
124675
124677
|
}
|
|
124676
124678
|
});
|
|
@@ -124688,7 +124690,7 @@ registerLanguage({
|
|
|
124688
124690
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
124689
124691
|
loader: () => {
|
|
124690
124692
|
{
|
|
124691
|
-
return import('./html-
|
|
124693
|
+
return import('./html-6400ea87.js');
|
|
124692
124694
|
}
|
|
124693
124695
|
}
|
|
124694
124696
|
});
|
|
@@ -124708,7 +124710,7 @@ registerLanguage({
|
|
|
124708
124710
|
mimetypes: ["text/javascript"],
|
|
124709
124711
|
loader: () => {
|
|
124710
124712
|
{
|
|
124711
|
-
return import('./javascript-
|
|
124713
|
+
return import('./javascript-53af5e46.js');
|
|
124712
124714
|
}
|
|
124713
124715
|
}
|
|
124714
124716
|
});
|
|
@@ -124726,7 +124728,7 @@ registerLanguage({
|
|
|
124726
124728
|
mimetypes: ["text/typescript"],
|
|
124727
124729
|
loader: () => {
|
|
124728
124730
|
{
|
|
124729
|
-
return import('./typescript-
|
|
124731
|
+
return import('./typescript-1c9039a2.js');
|
|
124730
124732
|
}
|
|
124731
124733
|
}
|
|
124732
124734
|
});
|
|
@@ -124847,7 +124849,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
124847
124849
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
124848
124850
|
function getMode$3() {
|
|
124849
124851
|
{
|
|
124850
|
-
return import('./cssMode-
|
|
124852
|
+
return import('./cssMode-16f9393b.js');
|
|
124851
124853
|
}
|
|
124852
124854
|
}
|
|
124853
124855
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -124972,7 +124974,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
124972
124974
|
};
|
|
124973
124975
|
function getMode$2() {
|
|
124974
124976
|
{
|
|
124975
|
-
return import('./htmlMode-
|
|
124977
|
+
return import('./htmlMode-649bdb55.js');
|
|
124976
124978
|
}
|
|
124977
124979
|
}
|
|
124978
124980
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -125074,7 +125076,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
125074
125076
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
125075
125077
|
function getMode$1() {
|
|
125076
125078
|
{
|
|
125077
|
-
return import('./jsonMode-
|
|
125079
|
+
return import('./jsonMode-40045ac2.js');
|
|
125078
125080
|
}
|
|
125079
125081
|
}
|
|
125080
125082
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -125343,7 +125345,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
125343
125345
|
};
|
|
125344
125346
|
function getMode() {
|
|
125345
125347
|
{
|
|
125346
|
-
return import('./tsMode-
|
|
125348
|
+
return import('./tsMode-93c862c3.js');
|
|
125347
125349
|
}
|
|
125348
125350
|
}
|
|
125349
125351
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -171068,4 +171070,4 @@ const sqlExpression = {
|
|
|
171068
171070
|
getApiLibraryForModel: sqlExprDefaults.getApiLibraryForModel.bind(sqlExprDefaults),
|
|
171069
171071
|
};
|
|
171070
171072
|
|
|
171071
|
-
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';
|