@arcgis/coding-components 4.30.0 → 4.30.1
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.esm.js +2 -2
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-69ef969a.js → p-0232b2fb.js} +10 -10
- package/dist/arcgis-coding-components/{p-ae0db715.js → p-27ea7da2.js} +2 -2
- package/dist/arcgis-coding-components/{p-f602fc86.js → p-2cfc4d18.js} +1 -1
- package/dist/arcgis-coding-components/{p-9770fb37.js → p-46dc99da.js} +2 -2
- package/dist/arcgis-coding-components/{p-98cf909d.js → p-4cb610e2.js} +2 -2
- package/dist/arcgis-coding-components/{p-ca3f5530.js → p-5c3e678f.js} +2 -2
- package/dist/arcgis-coding-components/{p-ed5c78ce.js → p-9922089e.js} +1 -1
- package/dist/arcgis-coding-components/{p-24fb1d11.js → p-bc2c953c.js} +2 -2
- package/dist/arcgis-coding-components/p-c25ef396.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-b7981062.js → p-cd85885f.js} +2 -2
- package/dist/arcgis-coding-components/{p-e9510c84.js → p-d9d0b022.js} +2 -2
- package/dist/arcgis-coding-components/{p-f40fe9c5.js → p-db7dbb19.js} +1 -1
- package/dist/arcgis-coding-components/{p-e37595ba.js → p-fab76ffc.js} +2 -2
- package/dist/cjs/{app-globals-18ba6880.js → app-globals-c2e3e121.js} +1 -1
- package/dist/cjs/{arcade-defaults-d0931224.js → arcade-defaults-17049bb9.js} +10 -10
- package/dist/cjs/{arcade-mode-8424eafa.js → arcade-mode-fe361808.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +16 -15
- package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
- package/dist/cjs/{css-d8a65bb9.js → css-ca3b1176.js} +1 -1
- package/dist/cjs/{cssMode-07dbb853.js → cssMode-fc6f8598.js} +3 -3
- package/dist/cjs/{html-bb10cced.js → html-d2744099.js} +3 -3
- package/dist/cjs/{htmlMode-7df0a09d.js → htmlMode-79660b84.js} +3 -3
- package/dist/cjs/{index-15bcce7e.js → index-8e9b325f.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-f0dbed11.js → javascript-0a101984.js} +4 -4
- package/dist/cjs/{jsonMode-9e54e9b7.js → jsonMode-a4ba65e4.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{tsMode-ca28bc5f.js → tsMode-70689995.js} +3 -3
- package/dist/cjs/{typescript-39540ed7.js → typescript-dd03f9a8.js} +3 -3
- package/dist/components/arcade-api.js +1 -1
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcade-variables.js +1 -1
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +6 -5
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.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/chunk-2CDDVOQU.js +1 -1
- package/dist/components/code-editor.js +9 -9
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-2a0e9afb.js → app-globals-2bae24b0.js} +1 -1
- package/dist/esm/{arcade-defaults-811bdd4d.js → arcade-defaults-fbcce3a0.js} +10 -10
- package/dist/esm/{arcade-mode-e9728a63.js → arcade-mode-3c56bd03.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +16 -15
- package/dist/esm/arcgis-coding-components.js +5 -5
- package/dist/esm/{css-61c794c2.js → css-5142d172.js} +1 -1
- package/dist/esm/{cssMode-6e0ccd51.js → cssMode-977f92d4.js} +3 -3
- package/dist/esm/{html-44ad432e.js → html-1090fa08.js} +3 -3
- package/dist/esm/{htmlMode-fd336434.js → htmlMode-73a1ec87.js} +3 -3
- package/dist/esm/{index-0d124a57.js → index-8c96bbd6.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-ac057954.js → javascript-ce61083f.js} +4 -4
- package/dist/esm/{jsonMode-ea8fa529.js → jsonMode-41a7cf3a.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{tsMode-af9c3001.js → tsMode-91fccac8.js} +3 -3
- package/dist/esm/{typescript-baec45d6.js → typescript-8ccfe1ce.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 +12 -2
- package/dist/types/components/code-editor/code-editor.d.ts +14 -4
- package/dist/types/components.d.ts +13 -13
- package/package.json +11 -11
- package/dist/arcgis-coding-components/p-bf047552.entry.js +0 -6
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{B as t}from"./p-
|
|
6
|
+
import{B as t}from"./p-0232b2fb.js";import"./p-9922089e.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{conf as e,language as t}from"./p-
|
|
6
|
+
import{conf as e,language as t}from"./p-bc2c953c.js";import"./p-0232b2fb.js";import"./p-9922089e.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
|
-
import{B as t}from"./p-
|
|
6
|
+
import{B as t}from"./p-0232b2fb.js";import"./p-9922089e.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-8e9b325f.js');
|
|
9
9
|
|
|
10
10
|
function _interopNamespace(e) {
|
|
11
11
|
if (e && e.__esModule) return e;
|
|
@@ -120616,7 +120616,7 @@ registerLanguage({
|
|
|
120616
120616
|
mimetypes: ["text/css"],
|
|
120617
120617
|
loader: () => {
|
|
120618
120618
|
{
|
|
120619
|
-
return Promise.resolve().then(function () { return require('./css-
|
|
120619
|
+
return Promise.resolve().then(function () { return require('./css-ca3b1176.js'); });
|
|
120620
120620
|
}
|
|
120621
120621
|
}
|
|
120622
120622
|
});
|
|
@@ -120634,7 +120634,7 @@ registerLanguage({
|
|
|
120634
120634
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120635
120635
|
loader: () => {
|
|
120636
120636
|
{
|
|
120637
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
120637
|
+
return Promise.resolve().then(function () { return require('./html-d2744099.js'); });
|
|
120638
120638
|
}
|
|
120639
120639
|
}
|
|
120640
120640
|
});
|
|
@@ -120654,7 +120654,7 @@ registerLanguage({
|
|
|
120654
120654
|
mimetypes: ["text/javascript"],
|
|
120655
120655
|
loader: () => {
|
|
120656
120656
|
{
|
|
120657
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
120657
|
+
return Promise.resolve().then(function () { return require('./javascript-0a101984.js'); });
|
|
120658
120658
|
}
|
|
120659
120659
|
}
|
|
120660
120660
|
});
|
|
@@ -120672,7 +120672,7 @@ registerLanguage({
|
|
|
120672
120672
|
mimetypes: ["text/typescript"],
|
|
120673
120673
|
loader: () => {
|
|
120674
120674
|
{
|
|
120675
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
120675
|
+
return Promise.resolve().then(function () { return require('./typescript-dd03f9a8.js'); });
|
|
120676
120676
|
}
|
|
120677
120677
|
}
|
|
120678
120678
|
});
|
|
@@ -120793,7 +120793,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120793
120793
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120794
120794
|
function getMode$3() {
|
|
120795
120795
|
{
|
|
120796
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
120796
|
+
return Promise.resolve().then(function () { return require('./cssMode-fc6f8598.js'); });
|
|
120797
120797
|
}
|
|
120798
120798
|
}
|
|
120799
120799
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120918,7 +120918,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120918
120918
|
};
|
|
120919
120919
|
function getMode$2() {
|
|
120920
120920
|
{
|
|
120921
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
120921
|
+
return Promise.resolve().then(function () { return require('./htmlMode-79660b84.js'); });
|
|
120922
120922
|
}
|
|
120923
120923
|
}
|
|
120924
120924
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -121020,7 +121020,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
121020
121020
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
121021
121021
|
function getMode$1() {
|
|
121022
121022
|
{
|
|
121023
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
121023
|
+
return Promise.resolve().then(function () { return require('./jsonMode-a4ba65e4.js'); });
|
|
121024
121024
|
}
|
|
121025
121025
|
}
|
|
121026
121026
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121289,7 +121289,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121289
121289
|
};
|
|
121290
121290
|
function getMode() {
|
|
121291
121291
|
{
|
|
121292
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
121292
|
+
return Promise.resolve().then(function () { return require('./tsMode-70689995.js'); });
|
|
121293
121293
|
}
|
|
121294
121294
|
}
|
|
121295
121295
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
var j={False:"false",Null:"null",True:"true"},f={Break:"break",Continue:"continue",Else:"else",For:"for",From:"from",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"},Fe=["++","--"],Qe=["-","+","!","~"],Ze=["=","/=","*=","%=","+=","-="],Xe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Fe.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Xe.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ht=Object.values(f),dt=Object.values(j);dt.map(t=>({label:t,kind:arcadeDefaults.main.exports.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.exports.CompletionItemKind.Keyword}));
|
|
12
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
10
|
+
const index = require('./index-8e9b325f.js');
|
|
11
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
12
12
|
|
|
13
13
|
async function colorizeCode(code) {
|
|
14
14
|
return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -4469,7 +4469,7 @@ async function getArcadeWorker(uri) {
|
|
|
4469
4469
|
* @returns arcade mode module
|
|
4470
4470
|
*/
|
|
4471
4471
|
async function getMode() {
|
|
4472
|
-
return await Promise.resolve().then(function () { return require('./arcade-mode-
|
|
4472
|
+
return await Promise.resolve().then(function () { return require('./arcade-mode-fe361808.js'); });
|
|
4473
4473
|
}
|
|
4474
4474
|
// Register the language in Monaco
|
|
4475
4475
|
arcadeDefaults.languages.register({
|
|
@@ -5105,12 +5105,12 @@ const ArcgisArcadeEditor = class {
|
|
|
5105
5105
|
//#endregion
|
|
5106
5106
|
//#region Render Main Panel
|
|
5107
5107
|
renderMainPanel() {
|
|
5108
|
-
return (index.h("arcgis-code-editor", { class: "flex-adjustable", language: arcadeDefaults.arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId,
|
|
5108
|
+
return (index.h("arcgis-code-editor", { class: "flex-adjustable", editorOptions: this.editorOptions, language: arcadeDefaults.arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId, onArcgisValueChange: this._onCodeEditorValueChange, ref: (e) => (this._codeEditorElt = e) }));
|
|
5109
5109
|
}
|
|
5110
5110
|
//#endregion
|
|
5111
5111
|
//#region Rendering the Action Bar
|
|
5112
|
-
renderAction({ id, label, icon, active, panelName, onClick = this._toggleSidePanel, }) {
|
|
5113
|
-
return (index.h(index.Fragment, null, index.h("calcite-action", { id: id, text: label, icon: icon, active: active, onClick: onClick, "data-panel-name": panelName }), !this.sideActionBarExpanded && (index.h("calcite-tooltip", {
|
|
5112
|
+
renderAction({ id, label, icon, active, panelName, iconFlipRtl = false, onClick = this._toggleSidePanel, }) {
|
|
5113
|
+
return (index.h(index.Fragment, null, index.h("calcite-action", { id: id, text: label, icon: icon, active: active, onClick: onClick, "data-panel-name": panelName, iconFlipRtl: iconFlipRtl }), !this.sideActionBarExpanded && (index.h("calcite-tooltip", { "reference-element": id }, index.h("span", null, label)))));
|
|
5114
5114
|
}
|
|
5115
5115
|
renderSideActionBar() {
|
|
5116
5116
|
if (this.hideSideBar) {
|
|
@@ -5144,6 +5144,7 @@ const ArcgisArcadeEditor = class {
|
|
|
5144
5144
|
icon: "question",
|
|
5145
5145
|
active: false,
|
|
5146
5146
|
panelName: "none",
|
|
5147
|
+
iconFlipRtl: true,
|
|
5147
5148
|
onClick: this._openArcadeHelp,
|
|
5148
5149
|
}))));
|
|
5149
5150
|
}
|
|
@@ -5175,7 +5176,7 @@ const ArcgisArcadeEditor = class {
|
|
|
5175
5176
|
//#endregion
|
|
5176
5177
|
//#region Render
|
|
5177
5178
|
render() {
|
|
5178
|
-
return (index.h(index.Host, { key: '
|
|
5179
|
+
return (index.h(index.Host, { key: '38773dce787d400e8a372160ebec4b402dfda7d0' }, this.renderMainActionBar(), index.h("div", { key: '25e5f1d113a9d1c120d19681b8bd8f85d1969c39', class: "flex-row flex-adjustable" }, index.h("div", { key: 'cf964eea0d97debe0e9c09afa4bf782a6bb02931', class: "flex-column flex-adjustable" }, this.renderMainPanel(), this.renderResultsPanel()), this.renderSidePanel(), this.renderSideActionBar())));
|
|
5179
5180
|
}
|
|
5180
5181
|
static get assetsDirs() { return ["assets"]; }
|
|
5181
5182
|
get el() { return index.getElement(this); }
|
|
@@ -5698,6 +5699,7 @@ const EditorOptionsDefaults = {
|
|
|
5698
5699
|
bracketPairColorization: { enabled: true },
|
|
5699
5700
|
minimap: { enabled: false },
|
|
5700
5701
|
renderLineHighlight: "none",
|
|
5702
|
+
scrollBeyondLastLine: false,
|
|
5701
5703
|
suggest: {
|
|
5702
5704
|
snippetsPreventQuickSuggestions: false,
|
|
5703
5705
|
showWords: false,
|
|
@@ -5735,7 +5737,7 @@ const ArcgisCodeEditor = class {
|
|
|
5735
5737
|
});
|
|
5736
5738
|
this.language = undefined;
|
|
5737
5739
|
this.modelId = arcadeDefaults.generateGuid();
|
|
5738
|
-
this.
|
|
5740
|
+
this.editorOptions = undefined;
|
|
5739
5741
|
this.editorInstance = this.manager.getSet(undefined, {
|
|
5740
5742
|
get: () => this._editorInstance,
|
|
5741
5743
|
set: (_value, prevValue) => prevValue,
|
|
@@ -5747,7 +5749,7 @@ const ArcgisCodeEditor = class {
|
|
|
5747
5749
|
modelIdPropChange() {
|
|
5748
5750
|
this.updateModel();
|
|
5749
5751
|
}
|
|
5750
|
-
|
|
5752
|
+
editorOptionsPropChange(newValue) {
|
|
5751
5753
|
if (!newValue) {
|
|
5752
5754
|
return;
|
|
5753
5755
|
}
|
|
@@ -5837,15 +5839,14 @@ const ArcgisCodeEditor = class {
|
|
|
5837
5839
|
// Create the editor for the host element.
|
|
5838
5840
|
// This will not trigger a diagnostic.
|
|
5839
5841
|
this._editorInstance = arcadeDefaults.editor.create(this.el, {
|
|
5840
|
-
...
|
|
5842
|
+
...EditorOptionsDefaults,
|
|
5843
|
+
...(this.editorOptions ?? {}),
|
|
5841
5844
|
model,
|
|
5842
5845
|
fixedOverflowWidgets: true,
|
|
5843
|
-
scrollBeyondLastLine: false,
|
|
5844
5846
|
});
|
|
5845
5847
|
this._disposables.push(this._editorInstance);
|
|
5846
5848
|
// Now we indicate that the component is ready
|
|
5847
5849
|
this._componentReadyDefer.resolve();
|
|
5848
|
-
this._editorInstance.updateOptions(EditorOptionsDefaults);
|
|
5849
5850
|
this._editorInstance.onDidChangeModelContent(() => {
|
|
5850
5851
|
this.value = this._editorInstance?.getValue() ?? "";
|
|
5851
5852
|
this.arcgisValueChange.emit(this.value);
|
|
@@ -5931,14 +5932,14 @@ const ArcgisCodeEditor = class {
|
|
|
5931
5932
|
//#endregion
|
|
5932
5933
|
// #region Rendering
|
|
5933
5934
|
render() {
|
|
5934
|
-
return index.h(index.Host, { key: '
|
|
5935
|
+
return index.h(index.Host, { key: '19c630f3237b1fad9761790671d6ed4f651ef5f4' });
|
|
5935
5936
|
}
|
|
5936
5937
|
static get assetsDirs() { return ["assets"]; }
|
|
5937
5938
|
get el() { return index.getElement(this); }
|
|
5938
5939
|
static get watchers() { return {
|
|
5939
5940
|
"language": ["languagePropChange"],
|
|
5940
5941
|
"modelId": ["modelIdPropChange"],
|
|
5941
|
-
"
|
|
5942
|
+
"editorOptions": ["editorOptionsPropChange"]
|
|
5942
5943
|
}; }
|
|
5943
5944
|
};
|
|
5944
5945
|
ArcgisCodeEditor.style = ArcgisCodeEditorStyle0;
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
10
|
+
const index = require('./index-8e9b325f.js');
|
|
11
|
+
const appGlobals = require('./app-globals-c2e3e121.js');
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
Stencil Client Patch Browser v4.17.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -24,7 +24,7 @@ var patchBrowser = () => {
|
|
|
24
24
|
|
|
25
25
|
patchBrowser().then(async (options) => {
|
|
26
26
|
await appGlobals.globalScripts();
|
|
27
|
-
return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[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],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[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"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"
|
|
27
|
+
return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[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],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[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"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[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"]}]]]], options);
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
exports.setNonce = index.setNonce;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
11
|
-
require('./index-
|
|
10
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
11
|
+
require('./index-8e9b325f.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const typescript = require('./typescript-
|
|
9
|
-
require('./arcade-defaults-
|
|
10
|
-
require('./index-
|
|
8
|
+
const typescript = require('./typescript-dd03f9a8.js');
|
|
9
|
+
require('./arcade-defaults-17049bb9.js');
|
|
10
|
+
require('./index-8e9b325f.js');
|
|
11
11
|
|
|
12
12
|
/*!-----------------------------------------------------------------------------
|
|
13
13
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
10
|
+
const index = require('./index-8e9b325f.js');
|
|
11
|
+
const appGlobals = require('./app-globals-c2e3e121.js');
|
|
12
12
|
|
|
13
13
|
const defineCustomElements = async (win, options) => {
|
|
14
14
|
if (typeof window === 'undefined') return undefined;
|
|
15
15
|
await appGlobals.globalScripts();
|
|
16
|
-
return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[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],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[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"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"
|
|
16
|
+
return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[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],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[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"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[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"]}]]]], options);
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
exports.setNonce = index.setNonce;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-17049bb9.js');
|
|
9
|
+
require('./index-8e9b325f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { editor, languages } from 'monaco-editor';
|
|
7
7
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { Emitter, Uri } from 'monaco-editor';
|
|
7
7
|
import { CompletionItemKind, InsertTextMode, InsertTextFormat } from 'vscode-languageserver-types';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
|
|
7
7
|
import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as importArcade, s as supportedFields } from './fields.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, b as colorizeCodeElement } from './markdown.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { u as useControllerManager } from './chunk-2CDDVOQU.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.
|
|
4
|
+
* v4.30.1
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
|
|
7
7
|
|