@arcgis/coding-components 4.31.0-next.40 → 4.31.0-next.41
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 +24 -24
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-7309113a.entry.js → p-1da63080.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-a2cbed14.js → p-1e1caadf.js} +1 -1
- package/dist/arcgis-coding-components/{p-36056ac1.js → p-4cc71357.js} +2 -2
- package/dist/arcgis-coding-components/p-51b2fc72.js +6 -0
- package/dist/arcgis-coding-components/{p-904ce83e.js → p-5c89b15d.js} +1 -1
- package/dist/arcgis-coding-components/{p-da203995.entry.js → p-5f567b03.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-101c8076.js → p-64bbd36c.js} +9 -9
- package/dist/arcgis-coding-components/{p-fc66eaf3.js → p-71191013.js} +2 -2
- package/dist/arcgis-coding-components/{p-6a013766.js → p-83b29033.js} +2 -2
- package/dist/arcgis-coding-components/{p-6c7fc166.entry.js → p-909bbd87.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-d9ae7973.js → p-9413c464.js} +2 -2
- package/dist/arcgis-coding-components/{p-5828aff9.js → p-9bb6dd26.js} +2 -2
- package/dist/arcgis-coding-components/{p-6cbe1fe3.js → p-ba1ec66d.js} +2 -2
- package/dist/arcgis-coding-components/{p-2ac72ecc.js → p-bb851fa6.js} +2 -2
- package/dist/arcgis-coding-components/{p-17a4b887.js → p-bd267380.js} +2 -2
- package/dist/arcgis-coding-components/{p-3f15e8ab.js → p-d597b9ea.js} +1 -1
- package/dist/arcgis-coding-components/{p-11fa79f8.js → p-e1c8570a.js} +2 -2
- package/dist/arcgis-coding-components/{p-1661235a.js → p-f4af9e3a.js} +2 -2
- package/dist/cjs/{app-globals-674a3a3d.js → app-globals-5b428a6f.js} +1 -1
- package/dist/cjs/{arcade-defaults-ed0ccdc8.js → arcade-defaults-c88dcbd9.js} +4 -4
- package/dist/cjs/{arcade-mode-e4201a06.js → arcade-mode-a369164c.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-c33c006f.js → css-db73fa85.js} +1 -1
- package/dist/cjs/{cssMode-cf6c5365.js → cssMode-714f53d0.js} +2 -2
- package/dist/cjs/{html-2ef85c79.js → html-881afd14.js} +2 -2
- package/dist/cjs/{htmlMode-07dcb544.js → htmlMode-d513ae10.js} +2 -2
- package/dist/cjs/{index-b1aa4d20.js → index-fd58ccf1.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-61e9d53f.js → javascript-8ea0cace.js} +3 -3
- package/dist/cjs/{jsonMode-eec500bc.js → jsonMode-345b67b0.js} +2 -2
- package/dist/cjs/{language-defaults-base-e8f93cb5.js → language-defaults-base-cd5a367b.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-1d7415d0.js → sql-expr-defaults-5ab67e9d.js} +12 -12
- package/dist/cjs/{sql-expr-mode-de9f89a8.js → sql-expr-mode-aaf5cadf.js} +4 -4
- package/dist/cjs/{tsMode-213dbfe4.js → tsMode-085f051d.js} +2 -2
- package/dist/cjs/{typescript-c668fe11.js → typescript-3adfcc8d.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-656WPE3G.js → chunk-ZZIYM65N.js} +9 -9
- 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-b8e72633.js → app-globals-9b5f37f3.js} +1 -1
- package/dist/esm/{arcade-defaults-f7df9442.js → arcade-defaults-23d01109.js} +4 -4
- package/dist/esm/{arcade-mode-efe99f12.js → arcade-mode-30a9597a.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-08c12296.js → css-442d4a5a.js} +1 -1
- package/dist/esm/{cssMode-f536f753.js → cssMode-8833e7da.js} +2 -2
- package/dist/esm/{html-6618281c.js → html-1adb92d5.js} +2 -2
- package/dist/esm/{htmlMode-cf1a7867.js → htmlMode-d45f4634.js} +2 -2
- package/dist/esm/{index-438d6c73.js → index-d9b2b45b.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-3c2117eb.js → javascript-5bf60fbf.js} +3 -3
- package/dist/esm/{jsonMode-913faa2d.js → jsonMode-cba63cda.js} +2 -2
- package/dist/esm/{language-defaults-base-8712f6ef.js → language-defaults-base-49508cc9.js} +9 -9
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-36f45c7c.js → sql-expr-defaults-ba682a85.js} +12 -12
- package/dist/esm/{sql-expr-mode-63d572b1.js → sql-expr-mode-5da1d4c8.js} +4 -4
- package/dist/esm/{tsMode-8aeb228a.js → tsMode-23360d7b.js} +2 -2
- package/dist/esm/{typescript-91a0d6c0.js → typescript-d1e4a590.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-343ec29e.js +0 -6
|
@@ -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.41
|
|
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-cd5a367b.js');
|
|
9
|
+
const index = require('./index-fd58ccf1.js');
|
|
10
10
|
|
|
11
11
|
// src/framework.ts
|
|
12
12
|
function retrieveComponentMembers(component, isLit) {
|
|
@@ -164,8 +164,8 @@ var Controller = class {
|
|
|
164
164
|
this._ready = new languageDefaultsBase.Deferred();
|
|
165
165
|
this._lifecycleCleanups = [];
|
|
166
166
|
this.connectedCalled = false;
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
167
|
+
this._loadCalled = false;
|
|
168
|
+
this.loadedCalled = false;
|
|
169
169
|
this[_a] = true;
|
|
170
170
|
this.ready = this._ready.promise;
|
|
171
171
|
/*
|
|
@@ -197,12 +197,12 @@ var Controller = class {
|
|
|
197
197
|
if (!connectedWillStillHappen && !this.connectedCalled) {
|
|
198
198
|
this.triggerConnected();
|
|
199
199
|
}
|
|
200
|
-
const loadWillStillHappen = !manager.
|
|
200
|
+
const loadWillStillHappen = !manager._loadCalled;
|
|
201
201
|
if (loadWillStillHappen) {
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
this.triggerLoad().then(() => {
|
|
205
|
-
const loadedWillStillHappen = !manager.
|
|
205
|
+
const loadedWillStillHappen = !manager.loadedCalled;
|
|
206
206
|
if (loadedWillStillHappen) {
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
@@ -344,10 +344,10 @@ var Controller = class {
|
|
|
344
344
|
}
|
|
345
345
|
/** @internal */
|
|
346
346
|
async triggerLoad() {
|
|
347
|
-
if (this.
|
|
347
|
+
if (this._loadCalled) {
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
|
-
this.
|
|
350
|
+
this._loadCalled = true;
|
|
351
351
|
const genericController = this;
|
|
352
352
|
if (genericController.hostLoad) {
|
|
353
353
|
await languageDefaultsBase.safeAsyncCall(genericController.hostLoad, genericController);
|
|
@@ -359,7 +359,7 @@ var Controller = class {
|
|
|
359
359
|
}
|
|
360
360
|
/** @internal */
|
|
361
361
|
triggerLoaded() {
|
|
362
|
-
if (this.
|
|
362
|
+
if (this.loadedCalled) {
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
365
|
const genericController = this;
|
|
@@ -367,7 +367,7 @@ var Controller = class {
|
|
|
367
367
|
languageDefaultsBase.safeCall(genericController.hostLoaded, genericController);
|
|
368
368
|
}
|
|
369
369
|
this._callbacks.hostLoaded.forEach(languageDefaultsBase.safeCall);
|
|
370
|
-
this.
|
|
370
|
+
this.loadedCalled = true;
|
|
371
371
|
}
|
|
372
372
|
/** @internal */
|
|
373
373
|
triggerUpdate(changedProperties) {
|
|
@@ -1284,7 +1284,7 @@ async function getSqlExprWorker(uri) {
|
|
|
1284
1284
|
* @returns sql-expression mode module
|
|
1285
1285
|
*/
|
|
1286
1286
|
async function getMode() {
|
|
1287
|
-
return await Promise.resolve().then(function () { return require('./sql-expr-mode-
|
|
1287
|
+
return await Promise.resolve().then(function () { return require('./sql-expr-mode-aaf5cadf.js'); });
|
|
1288
1288
|
}
|
|
1289
1289
|
|
|
1290
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.41
|
|
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-cd5a367b.js');
|
|
9
|
+
const sqlExprDefaults = require('./sql-expr-defaults-5ab67e9d.js');
|
|
10
|
+
require('./index-fd58ccf1.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.41
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-cd5a367b.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.41
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-cd5a367b.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.41
|
|
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.41
|
|
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.41
|
|
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-ZZIYM65N.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.41
|
|
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-ZZIYM65N.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.41
|
|
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-ZZIYM65N.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.41
|
|
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-ZZIYM65N.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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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-ZZIYM65N.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.41
|
|
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.41
|
|
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
|
|
|
@@ -161,8 +161,8 @@ var Controller = class {
|
|
|
161
161
|
this._ready = new Deferred();
|
|
162
162
|
this._lifecycleCleanups = [];
|
|
163
163
|
this.connectedCalled = false;
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
164
|
+
this._loadCalled = false;
|
|
165
|
+
this.loadedCalled = false;
|
|
166
166
|
this[_a] = true;
|
|
167
167
|
this.ready = this._ready.promise;
|
|
168
168
|
/*
|
|
@@ -194,12 +194,12 @@ var Controller = class {
|
|
|
194
194
|
if (!connectedWillStillHappen && !this.connectedCalled) {
|
|
195
195
|
this.triggerConnected();
|
|
196
196
|
}
|
|
197
|
-
const loadWillStillHappen = !manager.
|
|
197
|
+
const loadWillStillHappen = !manager._loadCalled;
|
|
198
198
|
if (loadWillStillHappen) {
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
this.triggerLoad().then(() => {
|
|
202
|
-
const loadedWillStillHappen = !manager.
|
|
202
|
+
const loadedWillStillHappen = !manager.loadedCalled;
|
|
203
203
|
if (loadedWillStillHappen) {
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
@@ -341,10 +341,10 @@ var Controller = class {
|
|
|
341
341
|
}
|
|
342
342
|
/** @internal */
|
|
343
343
|
async triggerLoad() {
|
|
344
|
-
if (this.
|
|
344
|
+
if (this._loadCalled) {
|
|
345
345
|
return;
|
|
346
346
|
}
|
|
347
|
-
this.
|
|
347
|
+
this._loadCalled = true;
|
|
348
348
|
const genericController = this;
|
|
349
349
|
if (genericController.hostLoad) {
|
|
350
350
|
await safeAsyncCall(genericController.hostLoad, genericController);
|
|
@@ -356,7 +356,7 @@ var Controller = class {
|
|
|
356
356
|
}
|
|
357
357
|
/** @internal */
|
|
358
358
|
triggerLoaded() {
|
|
359
|
-
if (this.
|
|
359
|
+
if (this.loadedCalled) {
|
|
360
360
|
return;
|
|
361
361
|
}
|
|
362
362
|
const genericController = this;
|
|
@@ -364,7 +364,7 @@ var Controller = class {
|
|
|
364
364
|
safeCall(genericController.hostLoaded, genericController);
|
|
365
365
|
}
|
|
366
366
|
this._callbacks.hostLoaded.forEach(safeCall);
|
|
367
|
-
this.
|
|
367
|
+
this.loadedCalled = true;
|
|
368
368
|
}
|
|
369
369
|
/** @internal */
|
|
370
370
|
triggerUpdate(changedProperties) {
|
|
@@ -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.41
|
|
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-ZZIYM65N.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.41
|
|
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.41
|
|
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.41
|
|
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-ZZIYM65N.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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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.41
|
|
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-ZZIYM65N.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.41
|
|
5
5
|
*/
|
|
6
|
-
import { m as makeController, w as watch } from './chunk-
|
|
6
|
+
import { m as makeController, w as watch } from './chunk-ZZIYM65N.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.41
|
|
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-49508cc9.js';
|
|
7
|
+
import { g as getAssetPath } from './index-d9b2b45b.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-30a9597a.js');
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// #region convert editor profile to apiProfile
|
|
@@ -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.41
|
|
5
5
|
*/
|
|
6
|
-
import { m as main, g as editor, O as MarkerSeverity, R as Range, z as languages, P as debounce, Q as Emitter } from './language-defaults-base-
|
|
6
|
+
import { m as main, g as editor, O as MarkerSeverity, R as Range, z as languages, P as debounce, Q as Emitter } from './language-defaults-base-49508cc9.js';
|
|
7
7
|
|
|
8
8
|
var V={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"},Ee=["++","--"],Je=["-","+","!","~"],Qe=["=","/=","*=","%=","+=","-="],Ze=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Ee.forEach(t=>U[t.length-1]?.push(t));Je.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ft=Object.values(f),gt=Object.values(V);gt.map(t=>({label:t,kind:main.exports.CompletionItemKind.Constant}));ft.map(t=>({label:t,kind:main.exports.CompletionItemKind.Keyword}));
|
|
9
9
|
|
|
@@ -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.41
|
|
5
5
|
*/
|
|
6
|
-
import { g as getAssetPath, r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-
|
|
7
|
-
import { e as importArcade, g as editor, h as startLocaleObserver, j as getElementLocales, k as isURL, l as hasSameOrigin, n as importRequest, D as Deferred, o as generateGuid, p as getElementTheme, K as KeyCode, q as setValuesInString, r as quoteString, t as supportedFields, u as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, v as commonjsGlobal, w as setFocusOnElement, x as filterCollection, y as createFilterExpression, z as languages, R as Range, A as observeAncestorsMutation, U as Uri, B as KeyMod, C as addLTRMark } from './language-defaults-base-
|
|
8
|
-
import { m as makeController, w as watch, u as useControllerManager, g as getSet, s as sqlExprDefaults, a as getMode$1 } from './sql-expr-defaults-
|
|
9
|
-
import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode } from './arcade-defaults-
|
|
6
|
+
import { g as getAssetPath, r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-d9b2b45b.js';
|
|
7
|
+
import { e as importArcade, g as editor, h as startLocaleObserver, j as getElementLocales, k as isURL, l as hasSameOrigin, n as importRequest, D as Deferred, o as generateGuid, p as getElementTheme, K as KeyCode, q as setValuesInString, r as quoteString, t as supportedFields, u as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, v as commonjsGlobal, w as setFocusOnElement, x as filterCollection, y as createFilterExpression, z as languages, R as Range, A as observeAncestorsMutation, U as Uri, B as KeyMod, C as addLTRMark } from './language-defaults-base-49508cc9.js';
|
|
8
|
+
import { m as makeController, w as watch, u as useControllerManager, g as getSet, s as sqlExprDefaults, a as getMode$1 } from './sql-expr-defaults-ba682a85.js';
|
|
9
|
+
import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode } from './arcade-defaults-23d01109.js';
|
|
10
10
|
|
|
11
11
|
const DevelopersWebSitePath = "https://developers.arcgis.com/arcade/";
|
|
12
12
|
const MaxArrayItems = 100;
|
|
@@ -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.41
|
|
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-d9b2b45b.js';
|
|
7
|
+
export { s as setNonce } from './index-d9b2b45b.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-9b5f37f3.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -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.41
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
7
|
-
import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-
|
|
8
|
-
import { o as generateGuid } from './language-defaults-base-
|
|
6
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-d9b2b45b.js';
|
|
7
|
+
import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-ba682a85.js';
|
|
8
|
+
import { o as generateGuid } from './language-defaults-base-49508cc9.js';
|
|
9
9
|
|
|
10
10
|
const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-foreground-1);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:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .side-action-bar{max-width:25%}arcgis-sql-expression-editor .side-panel{max-width:45%;width:600px}arcgis-sql-expression-editor .side-panel calcite-flow{height:100%}";
|
|
11
11
|
const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
|