@arcgis/coding-components 4.31.0-next.37 → 4.31.0-next.39
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/assets/code-editor/sql-expr.worker.js +40 -40
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-35928494.js → p-015b1d68.js} +2 -2
- package/dist/arcgis-coding-components/{p-42599b98.js → p-28acab6c.js} +2 -2
- package/dist/arcgis-coding-components/{p-f11f0744.entry.js → p-2eb422a3.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-65506fa3.js → p-49609316.js} +2 -2
- package/dist/arcgis-coding-components/{p-46348287.js → p-4e2e3e01.js} +9 -9
- package/dist/arcgis-coding-components/{p-6ddc1424.js → p-6a19be9f.js} +2 -2
- package/dist/arcgis-coding-components/{p-208dcf26.js → p-76c32028.js} +2 -2
- package/dist/arcgis-coding-components/{p-edd07b90.entry.js → p-7c8b04e3.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-cd4a8f6c.js → p-888bb59b.js} +2 -2
- package/dist/arcgis-coding-components/{p-90a0292a.js → p-9069a0c1.js} +1 -1
- package/dist/arcgis-coding-components/{p-2f8baf70.entry.js → p-b8c9bf7d.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-15357e03.js → p-ccf6336a.js} +2 -2
- package/dist/arcgis-coding-components/{p-bec04c05.js → p-db2a170c.js} +2 -2
- package/dist/arcgis-coding-components/p-dcf253ab.js +6 -0
- package/dist/arcgis-coding-components/{p-79d73309.js → p-e0f1e7f3.js} +1 -1
- package/dist/arcgis-coding-components/{p-03492429.js → p-e2d85032.js} +2 -2
- package/dist/arcgis-coding-components/{p-a929b413.js → p-ea7529ed.js} +1 -1
- package/dist/arcgis-coding-components/{p-10ec5543.js → p-f8ee27ad.js} +2 -2
- package/dist/cjs/{app-globals-cc1cac98.js → app-globals-6fb78710.js} +1 -1
- package/dist/cjs/{arcade-defaults-4d0cfd62.js → arcade-defaults-d036104c.js} +4 -4
- package/dist/cjs/{arcade-mode-54c3e19f.js → arcade-mode-eb056788.js} +2 -2
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-5c3689b0.js → css-7b04b068.js} +1 -1
- package/dist/cjs/{cssMode-0f68c445.js → cssMode-8013f438.js} +2 -2
- package/dist/cjs/{html-333db4aa.js → html-50ec430d.js} +2 -2
- package/dist/cjs/{htmlMode-3ec58846.js → htmlMode-4cdcf1ff.js} +2 -2
- package/dist/cjs/{index-8b5fb063.js → index-eeeca2f5.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-c7af2938.js → javascript-548ba2c8.js} +3 -3
- package/dist/cjs/{jsonMode-4765a32b.js → jsonMode-c8c7e04c.js} +2 -2
- package/dist/cjs/{language-defaults-base-867c3297.js → language-defaults-base-f30a54dd.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-d9eb81f1.js → sql-expr-defaults-e70d9835.js} +22 -9
- package/dist/cjs/{sql-expr-mode-0cc5e381.js → sql-expr-mode-55997400.js} +4 -4
- package/dist/cjs/{tsMode-5647b7d2.js → tsMode-853ae732.js} +2 -2
- package/dist/cjs/{typescript-bf72ac92.js → typescript-89445900.js} +2 -2
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +2 -2
- package/dist/components/arcade-suggestions.js +2 -2
- package/dist/components/arcade-variables.js +2 -2
- package/dist/components/arcgis-arcade-editor.js +2 -2
- 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/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +2 -2
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/{chunk-EOMOY2EF.js → chunk-656WPE3G.js} +19 -6
- package/dist/components/code-editor.js +2 -2
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/language-api-panel.js +2 -2
- package/dist/components/language-defaults-base.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 +1 -1
- package/dist/components/sql-expression-fields.js +2 -2
- package/dist/components/useT9n.js +2 -2
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-e8428e07.js → app-globals-dbbf7d2a.js} +1 -1
- package/dist/esm/{arcade-defaults-0354c9b2.js → arcade-defaults-011c78bc.js} +4 -4
- package/dist/esm/{arcade-mode-6b26d459.js → arcade-mode-d466bba8.js} +2 -2
- package/dist/esm/arcgis-arcade-editor_6.entry.js +5 -5
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-dd78ec3a.js → css-b9780251.js} +1 -1
- package/dist/esm/{cssMode-f9f8b280.js → cssMode-247a9125.js} +2 -2
- package/dist/esm/{html-208789aa.js → html-2596cb9e.js} +2 -2
- package/dist/esm/{htmlMode-9bdf2d36.js → htmlMode-98eaa399.js} +2 -2
- package/dist/esm/{index-af43b62a.js → index-a93d1ad8.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-1801d312.js → javascript-56762342.js} +3 -3
- package/dist/esm/{jsonMode-95922803.js → jsonMode-9498fe95.js} +2 -2
- package/dist/esm/{language-defaults-base-e3b95b24.js → language-defaults-base-3db6a0a1.js} +9 -9
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-b7bad72f.js → sql-expr-defaults-58c1461c.js} +22 -9
- package/dist/esm/{sql-expr-mode-6239c0c9.js → sql-expr-mode-d4ba81c5.js} +4 -4
- package/dist/esm/{tsMode-79bedb70.js → tsMode-6d3c0b38.js} +2 -2
- package/dist/esm/{typescript-bb94f8b0.js → typescript-1c651a24.js} +2 -2
- 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/package.json +11 -11
- package/dist/arcgis-coding-components/p-8601f1c2.js +0 -6
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -120614,7 +120614,7 @@ registerLanguage({
|
|
|
120614
120614
|
mimetypes: ["text/css"],
|
|
120615
120615
|
loader: () => {
|
|
120616
120616
|
{
|
|
120617
|
-
return Promise.resolve().then(function () { return require('./css-
|
|
120617
|
+
return Promise.resolve().then(function () { return require('./css-7b04b068.js'); });
|
|
120618
120618
|
}
|
|
120619
120619
|
}
|
|
120620
120620
|
});
|
|
@@ -120632,7 +120632,7 @@ registerLanguage({
|
|
|
120632
120632
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120633
120633
|
loader: () => {
|
|
120634
120634
|
{
|
|
120635
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
120635
|
+
return Promise.resolve().then(function () { return require('./html-50ec430d.js'); });
|
|
120636
120636
|
}
|
|
120637
120637
|
}
|
|
120638
120638
|
});
|
|
@@ -120652,7 +120652,7 @@ registerLanguage({
|
|
|
120652
120652
|
mimetypes: ["text/javascript"],
|
|
120653
120653
|
loader: () => {
|
|
120654
120654
|
{
|
|
120655
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
120655
|
+
return Promise.resolve().then(function () { return require('./javascript-548ba2c8.js'); });
|
|
120656
120656
|
}
|
|
120657
120657
|
}
|
|
120658
120658
|
});
|
|
@@ -120670,7 +120670,7 @@ registerLanguage({
|
|
|
120670
120670
|
mimetypes: ["text/typescript"],
|
|
120671
120671
|
loader: () => {
|
|
120672
120672
|
{
|
|
120673
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
120673
|
+
return Promise.resolve().then(function () { return require('./typescript-89445900.js'); });
|
|
120674
120674
|
}
|
|
120675
120675
|
}
|
|
120676
120676
|
});
|
|
@@ -120791,7 +120791,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120791
120791
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120792
120792
|
function getMode$3() {
|
|
120793
120793
|
{
|
|
120794
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
120794
|
+
return Promise.resolve().then(function () { return require('./cssMode-8013f438.js'); });
|
|
120795
120795
|
}
|
|
120796
120796
|
}
|
|
120797
120797
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120916,7 +120916,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120916
120916
|
};
|
|
120917
120917
|
function getMode$2() {
|
|
120918
120918
|
{
|
|
120919
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
120919
|
+
return Promise.resolve().then(function () { return require('./htmlMode-4cdcf1ff.js'); });
|
|
120920
120920
|
}
|
|
120921
120921
|
}
|
|
120922
120922
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -121018,7 +121018,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
121018
121018
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
121019
121019
|
function getMode$1() {
|
|
121020
121020
|
{
|
|
121021
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
121021
|
+
return Promise.resolve().then(function () { return require('./jsonMode-c8c7e04c.js'); });
|
|
121022
121022
|
}
|
|
121023
121023
|
}
|
|
121024
121024
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121287,7 +121287,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121287
121287
|
};
|
|
121288
121288
|
function getMode() {
|
|
121289
121289
|
{
|
|
121290
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
121290
|
+
return Promise.resolve().then(function () { return require('./tsMode-853ae732.js'); });
|
|
121291
121291
|
}
|
|
121292
121292
|
}
|
|
121293
121293
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
package/dist/cjs/loader.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
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-eeeca2f5.js');
|
|
11
|
+
const appGlobals = require('./app-globals-6fb78710.js');
|
|
12
12
|
|
|
13
13
|
const defineCustomElements = async (win, options) => {
|
|
14
14
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
9
|
-
const index = require('./index-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-f30a54dd.js');
|
|
9
|
+
const index = require('./index-eeeca2f5.js');
|
|
10
10
|
|
|
11
11
|
// src/framework.ts
|
|
12
12
|
function retrieveComponentMembers(component, isLit) {
|
|
@@ -588,7 +588,10 @@ var ComponentInternals = class {
|
|
|
588
588
|
_getSetProxy(prototype, name2, type) {
|
|
589
589
|
const component = this.component;
|
|
590
590
|
const propType = getMemberType(component, name2);
|
|
591
|
-
|
|
591
|
+
let descriptor;
|
|
592
|
+
do {
|
|
593
|
+
descriptor = Object.getOwnPropertyDescriptor(prototype, name2);
|
|
594
|
+
} while (!descriptor && (prototype = Object.getPrototypeOf(prototype)));
|
|
592
595
|
if (!descriptor) {
|
|
593
596
|
return void 0;
|
|
594
597
|
}
|
|
@@ -596,11 +599,11 @@ var ComponentInternals = class {
|
|
|
596
599
|
const originalSet = descriptor.set;
|
|
597
600
|
const isGetterAlreadyOverwritten = customAccessor in originalGet;
|
|
598
601
|
const isSetterAlreadyOverwritten = customAccessor in originalSet;
|
|
599
|
-
|
|
600
|
-
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
|
601
|
-
if (!shouldOverwriteGet && !shouldOverwriteSet) {
|
|
602
|
+
if (isGetterAlreadyOverwritten && isSetterAlreadyOverwritten) {
|
|
602
603
|
return;
|
|
603
604
|
}
|
|
605
|
+
const shouldOverwriteGet = !isGetterAlreadyOverwritten;
|
|
606
|
+
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
|
604
607
|
const finalGetter = shouldOverwriteGet ? function getter() {
|
|
605
608
|
let value = originalGet.call(this);
|
|
606
609
|
const component2 = elementToInstance.get(this);
|
|
@@ -622,7 +625,17 @@ var ComponentInternals = class {
|
|
|
622
625
|
originalSet.call(this, rawNewValue);
|
|
623
626
|
return;
|
|
624
627
|
}
|
|
625
|
-
let newValue = component2.manager.isLit ?
|
|
628
|
+
let newValue = component2.manager.isLit ? (
|
|
629
|
+
/*
|
|
630
|
+
* Cast `null` to `undefined`. Reasons:
|
|
631
|
+
* - component can declare properties simply using
|
|
632
|
+
* `@property() name?: string;` and get accurate typings,
|
|
633
|
+
* without being forced to use
|
|
634
|
+
* `@property() name?: string | Nil;`.
|
|
635
|
+
* - simplifies checks in the code and thus reduces bugs
|
|
636
|
+
*/
|
|
637
|
+
rawNewValue ?? void 0
|
|
638
|
+
) : parsePropertyValue(rawNewValue, propType);
|
|
626
639
|
const internals = component2.manager.internals;
|
|
627
640
|
if (newValue === oldValue) {
|
|
628
641
|
originalSet.call(this, rawNewValue);
|
|
@@ -1271,7 +1284,7 @@ async function getSqlExprWorker(uri) {
|
|
|
1271
1284
|
* @returns sql-expression mode module
|
|
1272
1285
|
*/
|
|
1273
1286
|
async function getMode() {
|
|
1274
|
-
return await Promise.resolve().then(function () { return require('./sql-expr-mode-
|
|
1287
|
+
return await Promise.resolve().then(function () { return require('./sql-expr-mode-55997400.js'); });
|
|
1275
1288
|
}
|
|
1276
1289
|
|
|
1277
1290
|
const languageId = "arcgis-sql-expression";
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
9
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
10
|
-
require('./index-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-f30a54dd.js');
|
|
9
|
+
const sqlExprDefaults = require('./sql-expr-defaults-e70d9835.js');
|
|
10
|
+
require('./index-eeeca2f5.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Manager to create our sql-expression worker and client proxy
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-f30a54dd.js');
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-f30a54dd.js');
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { Uri } from 'monaco-editor';
|
|
7
7
|
import { f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './language-defaults-base.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
|
|
7
7
|
import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host, forceUpdate } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as importArcade, s as supportedFields } from './fields.js';
|
|
8
|
-
import { u as useControllerManager } from './chunk-
|
|
8
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
9
9
|
import { c as setValuesInString, q as quoteString } from './index2.js';
|
|
10
10
|
import { u as useT9n } from './useT9n.js';
|
|
11
11
|
import "@esri/calcite-components/dist/components/calcite-tree.js";
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
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, a as colorizeCodeElement } from './markdown.js';
|
|
8
8
|
import { f as filterCollection } from './utilities.js';
|
|
9
|
-
import { u as useControllerManager } from './chunk-
|
|
9
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
10
10
|
import { r as setFocusOnElement } from './index2.js';
|
|
11
11
|
import { u as useT9n } from './useT9n.js';
|
|
12
12
|
import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
|
-
import { u as useControllerManager } from './chunk-
|
|
7
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
8
8
|
import { r as setFocusOnElement, d as createFilterExpression } from './index2.js';
|
|
9
9
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
10
10
|
import { u as useT9n } from './useT9n.js';
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { KeyCode } from 'monaco-editor';
|
|
8
8
|
import { d as defineCustomElement$6, e as executeScript, D as DevelopersWebSitePath } from './arcade-results.js';
|
|
9
9
|
import { d as defineCustomElement$3, u as updateThemeColors, c as colorRulesKeys, s as setupMonacoEnvironment } from './code-editor.js';
|
|
10
|
-
import { u as useControllerManager, g as getSet } from './chunk-
|
|
10
|
+
import { u as useControllerManager, g as getSet } from './chunk-656WPE3G.js';
|
|
11
11
|
import { D as Deferred, g as generateGuid, e as getElementTheme } from './index2.js';
|
|
12
12
|
import { b as arcadeDefaults, g as getArcadeDiagnosticService } from './arcade-defaults.js';
|
|
13
13
|
import { u as useT9n } from './useT9n.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.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.39
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.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.39
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-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.39
|
|
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.39
|
|
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.39
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisLanguageApiPanel$1, d as defineCustomElement$1 } from './language-api-panel.js';
|
|
7
7
|
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import { u as useControllerManager } from './chunk-
|
|
7
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
8
8
|
import { g as generateGuid } from './index2.js';
|
|
9
9
|
import { s as sqlExprDefaults } from './sql-expr-defaults.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './code-editor.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { S as SqlExpressionFields, d as defineCustomElement$1 } from './sql-expression-fields.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.39
|
|
5
5
|
*/
|
|
6
6
|
import { a as isNotUndefined, D as Deferred, k as safeAsyncCall, l as devToolsAwareTimeout, m as safeCall } from './index2.js';
|
|
7
7
|
|
|
@@ -585,7 +585,10 @@ var ComponentInternals = class {
|
|
|
585
585
|
_getSetProxy(prototype, name2, type) {
|
|
586
586
|
const component = this.component;
|
|
587
587
|
const propType = getMemberType(component, name2);
|
|
588
|
-
|
|
588
|
+
let descriptor;
|
|
589
|
+
do {
|
|
590
|
+
descriptor = Object.getOwnPropertyDescriptor(prototype, name2);
|
|
591
|
+
} while (!descriptor && (prototype = Object.getPrototypeOf(prototype)));
|
|
589
592
|
if (!descriptor) {
|
|
590
593
|
return void 0;
|
|
591
594
|
}
|
|
@@ -593,11 +596,11 @@ var ComponentInternals = class {
|
|
|
593
596
|
const originalSet = descriptor.set;
|
|
594
597
|
const isGetterAlreadyOverwritten = customAccessor in originalGet;
|
|
595
598
|
const isSetterAlreadyOverwritten = customAccessor in originalSet;
|
|
596
|
-
|
|
597
|
-
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
|
598
|
-
if (!shouldOverwriteGet && !shouldOverwriteSet) {
|
|
599
|
+
if (isGetterAlreadyOverwritten && isSetterAlreadyOverwritten) {
|
|
599
600
|
return;
|
|
600
601
|
}
|
|
602
|
+
const shouldOverwriteGet = !isGetterAlreadyOverwritten;
|
|
603
|
+
const shouldOverwriteSet = !isSetterAlreadyOverwritten;
|
|
601
604
|
const finalGetter = shouldOverwriteGet ? function getter() {
|
|
602
605
|
let value = originalGet.call(this);
|
|
603
606
|
const component2 = elementToInstance.get(this);
|
|
@@ -619,7 +622,17 @@ var ComponentInternals = class {
|
|
|
619
622
|
originalSet.call(this, rawNewValue);
|
|
620
623
|
return;
|
|
621
624
|
}
|
|
622
|
-
let newValue = component2.manager.isLit ?
|
|
625
|
+
let newValue = component2.manager.isLit ? (
|
|
626
|
+
/*
|
|
627
|
+
* Cast `null` to `undefined`. Reasons:
|
|
628
|
+
* - component can declare properties simply using
|
|
629
|
+
* `@property() name?: string;` and get accurate typings,
|
|
630
|
+
* without being forced to use
|
|
631
|
+
* `@property() name?: string | Nil;`.
|
|
632
|
+
* - simplifies checks in the code and thus reduces bugs
|
|
633
|
+
*/
|
|
634
|
+
rawNewValue ?? void 0
|
|
635
|
+
) : parsePropertyValue(rawNewValue, propType);
|
|
623
636
|
const internals = component2.manager.internals;
|
|
624
637
|
if (newValue === oldValue) {
|
|
625
638
|
originalSet.call(this, rawNewValue);
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { editor, languages, Range, Uri, KeyMod, KeyCode } from 'monaco-editor';
|
|
8
8
|
import { i as importRequest } from './fields.js';
|
|
9
9
|
import { h as isURL, j as hasSameOrigin, D as Deferred, g as generateGuid, o as observeAncestorsMutation, e as getElementTheme } from './index2.js';
|
|
10
|
-
import { u as useControllerManager, g as getSet } from './chunk-
|
|
10
|
+
import { u as useControllerManager, g as getSet } from './chunk-656WPE3G.js';
|
|
11
11
|
import { b as arcadeDefaults, c as getMode } from './arcade-defaults.js';
|
|
12
12
|
import { s as sqlExprDefaults, g as getMode$1 } from './sql-expr-defaults.js';
|
|
13
13
|
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
// src/index.ts
|
|
7
7
|
var isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis && !("forceESM" in window.$arcgis);
|
package/dist/components/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.39
|
|
5
5
|
*/
|
|
6
6
|
export { setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
7
7
|
export { a as arcade } from './arcade-defaults.js';
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
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 colorizedAllCodeElements } from './markdown.js';
|
|
8
8
|
import { f as filterCollection } from './utilities.js';
|
|
9
|
-
import { u as useControllerManager } from './chunk-
|
|
9
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
10
10
|
import { r as setFocusOnElement, b as addLTRMark } from './index2.js';
|
|
11
11
|
import { u as useT9n } from './useT9n.js';
|
|
12
12
|
import "@esri/calcite-components/dist/components/calcite-list-item-group.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { n as newLayersFeatureLayer, i as importRequest, s as supportedFields, a as newPortalPortalItem, b as newWebScene, c as newWebMap, f as fieldAlias, d as fieldTypeToIconName, e as fieldTypeToApiValueVarType } from './fields.js';
|
|
7
7
|
import { p as portalItemPageUrl } from './utilities.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { editor } from 'monaco-editor';
|
|
7
7
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { f as fieldsToProfileValues, i as isPredefinedProfile, b as isFeatureSetDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './language-defaults-base.js';
|
|
7
7
|
import { InsertTextMode, InsertTextFormat, CompletionItemKind } 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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.39
|
|
5
5
|
*/
|
|
6
6
|
import { editor, languages, Emitter } from 'monaco-editor';
|
|
7
7
|
import { s as sqlExprDefaults } from './sql-expr-defaults.js';
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
|
-
import { u as useControllerManager } from './chunk-
|
|
7
|
+
import { u as useControllerManager } from './chunk-656WPE3G.js';
|
|
8
8
|
import { s as sqlExprDefaults } from './sql-expr-defaults.js';
|
|
9
9
|
import "@esri/calcite-components/dist/components/calcite-block.js";
|
|
10
10
|
import "@esri/calcite-components/dist/components/calcite-flow.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.39
|
|
5
5
|
*/
|
|
6
|
-
import { m as makeController, w as watch } from './chunk-
|
|
6
|
+
import { m as makeController, w as watch } from './chunk-656WPE3G.js';
|
|
7
7
|
import { n as startLocaleObserver, p as getElementLocales } from './index2.js';
|
|
8
8
|
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
9
9
|
|
|
@@ -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.39
|
|
5
5
|
*/
|
|
6
|
-
import { m as main, f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, s as supportedLocales, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-
|
|
7
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { m as main, f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, s as supportedLocales, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-3db6a0a1.js';
|
|
7
|
+
import { g as getAssetPath } from './index-a93d1ad8.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Returns the arcade diagnostic service.
|
|
@@ -38,7 +38,7 @@ async function getArcadeWorker(uri) {
|
|
|
38
38
|
* @returns arcade mode module
|
|
39
39
|
*/
|
|
40
40
|
async function getMode() {
|
|
41
|
-
return await import('./arcade-mode-
|
|
41
|
+
return await import('./arcade-mode-d466bba8.js');
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// #region convert editor profile to apiProfile
|