@arcgis/coding-components 4.30.0-next.47 → 4.30.0-next.49
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-833b0216.js → p-00583f5a.js} +2 -2
- package/dist/arcgis-coding-components/{p-4fd5a02d.js → p-384b88cc.js} +3 -3
- package/dist/arcgis-coding-components/{p-a0704d86.js → p-523db1e4.js} +10 -10
- package/dist/arcgis-coding-components/{p-a412be74.js → p-59f2dedc.js} +2 -2
- package/dist/arcgis-coding-components/{p-1a627096.js → p-82321ce1.js} +3 -3
- package/dist/arcgis-coding-components/{p-6fd22ff7.js → p-82c4966b.js} +3 -3
- package/dist/arcgis-coding-components/{p-621187ef.js → p-8d013f83.js} +2 -2
- package/dist/arcgis-coding-components/{p-0fee5174.js → p-9054397c.js} +3 -3
- package/dist/arcgis-coding-components/p-905b1583.js +7 -0
- package/dist/arcgis-coding-components/{p-29207f1e.js → p-9859037c.js} +1 -1
- package/dist/arcgis-coding-components/{p-ab7e89c0.js → p-d32ebf93.js} +2 -2
- package/dist/arcgis-coding-components/p-fe90777a.entry.js +6 -0
- package/dist/cjs/{arcade-defaults-4e0664fb.js → arcade-defaults-c09aa6ca.js} +10 -26
- package/dist/cjs/{arcade-mode-61a07430.js → arcade-mode-f43455a9.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +257 -283
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{css-fac19960.js → css-d565ba31.js} +1 -1
- package/dist/cjs/{cssMode-22d917f0.js → cssMode-0c9ea16a.js} +3 -3
- package/dist/cjs/{html-5bc24648.js → html-bbac75a5.js} +3 -3
- package/dist/cjs/{htmlMode-f09628e1.js → htmlMode-275dad7c.js} +3 -3
- package/dist/cjs/{index-02749111.js → index-97b5c264.js} +2 -9
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-29521fd3.js → javascript-3bc3e94b.js} +4 -4
- package/dist/cjs/{jsonMode-99606370.js → jsonMode-358b250b.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-e34432d7.js → tsMode-10794c88.js} +3 -3
- package/dist/cjs/{typescript-8ce06335.js → typescript-a3afcaae.js} +3 -3
- package/dist/components/arcade-api.js +6 -5
- package/dist/components/arcade-contribution.js +3 -2
- package/dist/components/arcade-defaults.js +3 -3
- package/dist/components/arcade-mode.js +2 -2
- package/dist/components/arcade-results.js +7 -6
- package/dist/components/arcade-suggestions.js +8 -7
- package/dist/components/arcade-variables.js +6 -5
- 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-36QZLGG2.js → chunk-27DTPISK.js} +250 -282
- package/dist/components/code-editor.js +5 -5
- package/dist/components/fields.js +62 -2
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +2 -76
- package/dist/components/markdown.js +1 -1
- package/dist/components/useT9n.js +11 -0
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-fdba0972.js → arcade-defaults-0903c8e4.js} +11 -25
- package/dist/esm/{arcade-mode-0d144d92.js → arcade-mode-6bc35b9a.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +256 -282
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{css-58b4c966.js → css-549e7ecd.js} +1 -1
- package/dist/esm/{cssMode-f5916932.js → cssMode-63059930.js} +3 -3
- package/dist/esm/{html-7c8fbcc5.js → html-03b9ab7d.js} +3 -3
- package/dist/esm/{htmlMode-d7755346.js → htmlMode-ae2b0579.js} +3 -3
- package/dist/esm/{index-c6b28dae.js → index-88cb51ca.js} +3 -9
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-9ac36865.js → javascript-df9e60b6.js} +4 -4
- package/dist/esm/{jsonMode-ef328849.js → jsonMode-e0f3f4e6.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-0daf7dc9.js → tsMode-4477deb0.js} +3 -3
- package/dist/esm/{typescript-a34ba038.js → typescript-4ca85521.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-suggestions/arcade-suggestions.d.ts +1 -1
- package/dist/types/controllers/useT9n.d.ts +1 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +9 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +19 -0
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +6 -0
- package/package.json +9 -9
- package/dist/arcgis-coding-components/p-2b6dab4b.entry.js +0 -6
- package/dist/arcgis-coding-components/p-d5df8d73.js +0 -7
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-97b5c264.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -1141,9 +1141,6 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1141
1141
|
maybePromise = safeCall(instance, 'componentWillUpdate');
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
|
-
{
|
|
1145
|
-
maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
|
|
1146
|
-
}
|
|
1147
1144
|
endSchedule();
|
|
1148
1145
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1149
1146
|
};
|
|
@@ -1268,9 +1265,6 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1268
1265
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1269
1266
|
const instance = hostRef.$lazyInstance$ ;
|
|
1270
1267
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1271
|
-
{
|
|
1272
|
-
safeCall(instance, 'componentDidRender');
|
|
1273
|
-
}
|
|
1274
1268
|
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1275
1269
|
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1276
1270
|
{
|
|
@@ -1601,7 +1595,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1601
1595
|
// construction in order to directly wire together the
|
|
1602
1596
|
// host element and the lazy-loaded instance
|
|
1603
1597
|
try {
|
|
1604
|
-
Cstr.__registerControllers=(component)=>{registerInstance(component,hostRef);return hostRef.$cmpMeta$.$members$??{}};new Cstr(hostRef);Cstr.__registerControllers=undefined;
|
|
1598
|
+
Cstr.__forceUpdate=forceUpdate;Cstr.__registerControllers=(component)=>{registerInstance(component,hostRef);return hostRef.$cmpMeta$.$members$??{}};new Cstr(hostRef);Cstr.__registerControllers=undefined;
|
|
1605
1599
|
}
|
|
1606
1600
|
catch (e) {
|
|
1607
1601
|
consoleError(e);
|
|
@@ -1992,7 +1986,6 @@ exports.Fragment = Fragment;
|
|
|
1992
1986
|
exports.Host = Host;
|
|
1993
1987
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1994
1988
|
exports.createEvent = createEvent;
|
|
1995
|
-
exports.forceUpdate = forceUpdate;
|
|
1996
1989
|
exports.getAssetPath = getAssetPath;
|
|
1997
1990
|
exports.getElement = getElement;
|
|
1998
1991
|
exports.h = h;
|
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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
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-c09aa6ca.js');
|
|
11
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
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-a3afcaae.js');
|
|
9
|
+
require('./arcade-defaults-c09aa6ca.js');
|
|
10
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-97b5c264.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-c09aa6ca.js');
|
|
9
|
+
require('./index-97b5c264.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,16 +1,17 @@
|
|
|
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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
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';
|
|
8
8
|
import { f as filterCollection } from './utilities.js';
|
|
9
9
|
import { Uri } from 'monaco-editor';
|
|
10
|
-
import { u as useControllerManager
|
|
11
|
-
import {
|
|
10
|
+
import { u as useControllerManager } from './chunk-27DTPISK.js';
|
|
11
|
+
import { e as setFocusOnElement, b as addLTRMark } from './index2.js';
|
|
12
12
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
13
13
|
import { g as getArcadeWorker } from './arcade-contribution.js';
|
|
14
|
+
import { u as useT9n } from './useT9n.js';
|
|
14
15
|
import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
|
|
15
16
|
import "@esri/calcite-components/dist/components/calcite-list-item.js";
|
|
16
17
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
@@ -33,7 +34,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
33
34
|
this.__attachShadow();
|
|
34
35
|
this.arcgisClose = createEvent(this, "arcgisClose", 3);
|
|
35
36
|
this.arcgisItemSelected = createEvent(this, "arcgisItemSelected", 3);
|
|
36
|
-
this.manager = useControllerManager(this);
|
|
37
|
+
this.manager = useControllerManager(this,forceUpdate);
|
|
37
38
|
this.messages = useT9n();
|
|
38
39
|
this._emitItemSelected = (e) => {
|
|
39
40
|
const item = e.target?.["data-item"];
|
|
@@ -1,11 +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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { editor, languages } from 'monaco-editor';
|
|
7
7
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as importRequest } from './fields.js';
|
|
9
|
+
import { g as isURL, h as hasSameOrigin } from './index2.js';
|
|
9
10
|
|
|
10
11
|
function isMonacoEnvironmentSetup() {
|
|
11
12
|
return !!window.MonacoEnvironment?.getWorkerUrl;
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { Emitter, Uri } from 'monaco-editor';
|
|
7
7
|
import { InsertTextMode, InsertTextFormat, CompletionItemKind } from 'vscode-languageserver-types';
|
|
8
|
-
import { i as importLayersFeatureLayer, a as importRequest,
|
|
8
|
+
import { i as importLayersFeatureLayer, a as importRequest, s as supportedFields, n as newPortalPortalItem, b as newWebScene, c as newWebMap, f as fieldAlias, d as fieldTypeToIconName, e as fieldTypeToArcadeType } from './fields.js';
|
|
9
9
|
import { p as portalItemPageUrl } from './utilities.js';
|
|
10
|
-
import {
|
|
10
|
+
import { i as isNotNull, a as isNotUndefined, b as addLTRMark, s as setValuesInString, c as supportedLocales, f as fetchT9NStringsBundle } from './index2.js';
|
|
11
11
|
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
12
12
|
|
|
13
13
|
//#region core adapter fix
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
|
|
7
7
|
import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
|
|
8
|
-
import {
|
|
8
|
+
import { l as debounce } from './index2.js';
|
|
9
9
|
|
|
10
10
|
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:CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:CompletionItemKind.Keyword}));
|
|
11
11
|
|
|
@@ -1,12 +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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
8
|
-
import { u as useControllerManager
|
|
9
|
-
import { s as
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
|
+
import { g as importArcade, s as supportedFields } from './fields.js';
|
|
8
|
+
import { u as useControllerManager } from './chunk-27DTPISK.js';
|
|
9
|
+
import { s as setValuesInString, q as quoteString } from './index2.js';
|
|
10
|
+
import { u as useT9n } from './useT9n.js';
|
|
10
11
|
import "@esri/calcite-components/dist/components/calcite-tree.js";
|
|
11
12
|
import "@esri/calcite-components/dist/components/calcite-tree-item.js";
|
|
12
13
|
import "@esri/calcite-components/dist/components/calcite-loader.js";
|
|
@@ -307,7 +308,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
307
308
|
this.__attachShadow();
|
|
308
309
|
this.arcgisOpenedResultPanelChange = createEvent(this, "arcgisOpenedResultPanelChange", 3);
|
|
309
310
|
this.arcgisClose = createEvent(this, "arcgisClose", 3);
|
|
310
|
-
this.manager = useControllerManager(this);
|
|
311
|
+
this.manager = useControllerManager(this,forceUpdate);
|
|
311
312
|
//#region Private Properties
|
|
312
313
|
this.messages = useT9n();
|
|
313
314
|
this._switchResultPanel = (e) => {
|
|
@@ -1,13 +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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
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';
|
|
8
8
|
import { f as filterCollection } from './utilities.js';
|
|
9
|
-
import { u as useControllerManager
|
|
10
|
-
import {
|
|
9
|
+
import { u as useControllerManager } from './chunk-27DTPISK.js';
|
|
10
|
+
import { e as setFocusOnElement } from './index2.js';
|
|
11
|
+
import { u as useT9n } from './useT9n.js';
|
|
11
12
|
import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
|
|
12
13
|
import "@esri/calcite-components/dist/components/calcite-list-item.js";
|
|
13
14
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
@@ -39,7 +40,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
39
40
|
this.__attachShadow();
|
|
40
41
|
this.arcgisClose = createEvent(this, "arcgisClose", 3);
|
|
41
42
|
this.arcgisItemSelected = createEvent(this, "arcgisItemSelected", 3);
|
|
42
|
-
this.manager = useControllerManager(this);
|
|
43
|
+
this.manager = useControllerManager(this,forceUpdate);
|
|
43
44
|
this.messages = useT9n();
|
|
44
45
|
this._updateFilterValue = (e) => {
|
|
45
46
|
this._filterValue = e.target?.value ?? "";
|
|
@@ -81,11 +82,11 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
81
82
|
// #region Component lifecycle events
|
|
82
83
|
async componentWillLoad() {
|
|
83
84
|
this._colorizeStyle = generateColorizeStyles();
|
|
84
|
-
this.
|
|
85
|
+
this._themeChangedListener = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
|
|
85
86
|
}
|
|
86
87
|
disconnectedCallback() {
|
|
87
88
|
this._flowObserver?.disconnect();
|
|
88
|
-
this.
|
|
89
|
+
this._themeChangedListener?.dispose();
|
|
89
90
|
}
|
|
90
91
|
// #endregion
|
|
91
92
|
//#region Private Methods
|
|
@@ -1,12 +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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
|
-
import { u as useControllerManager
|
|
8
|
-
import {
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
|
+
import { u as useControllerManager } from './chunk-27DTPISK.js';
|
|
8
|
+
import { e as setFocusOnElement, d as createFilterExpression } from './index2.js';
|
|
9
9
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
10
|
+
import { u as useT9n } from './useT9n.js';
|
|
10
11
|
import "@esri/calcite-components/dist/components/calcite-flow-item.js";
|
|
11
12
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
12
13
|
import "@esri/calcite-components/dist/components/calcite-input.js";
|
|
@@ -33,7 +34,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
|
33
34
|
this.__attachShadow();
|
|
34
35
|
this.arcgisClose = createEvent(this, "arcgisClose", 3);
|
|
35
36
|
this.arcgisItemSelected = createEvent(this, "arcgisItemSelected", 3);
|
|
36
|
-
this.manager = useControllerManager(this);
|
|
37
|
+
this.manager = useControllerManager(this,forceUpdate);
|
|
37
38
|
this.messages = useT9n();
|
|
38
39
|
this._updateFilterValue = (e) => {
|
|
39
40
|
this._filterValue = e.target.value;
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
|
|
7
7
|
|
|
@@ -1,15 +1,16 @@
|
|
|
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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { KeyCode } from 'monaco-editor';
|
|
8
8
|
import { e as executeScript, D as DevelopersWebSitePath, d as defineCustomElement$5 } from './arcade-results.js';
|
|
9
9
|
import { u as updateThemeColors, c as colorRulesKeys, s as setupMonacoEnvironment, a as getArcadeDiagnosticService } from './arcade-contribution.js';
|
|
10
|
-
import { u as useControllerManager
|
|
11
|
-
import { D as Deferred,
|
|
10
|
+
import { u as useControllerManager } from './chunk-27DTPISK.js';
|
|
11
|
+
import { D as Deferred, j as generateGuid, k as getElementTheme } from './index2.js';
|
|
12
12
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
13
|
+
import { u as useT9n } from './useT9n.js';
|
|
13
14
|
import { d as defineCustomElement$6 } from './arcade-api.js';
|
|
14
15
|
import { d as defineCustomElement$4 } from './arcade-suggestions.js';
|
|
15
16
|
import { d as defineCustomElement$3 } from './arcade-variables.js';
|
|
@@ -30,7 +31,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
|
|
|
30
31
|
this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
|
|
31
32
|
this.arcgisScriptChange = createEvent(this, "arcgisScriptChange", 3);
|
|
32
33
|
this.arcgisDiagnosticsChange = createEvent(this, "arcgisDiagnosticsChange", 3);
|
|
33
|
-
this.manager = useControllerManager(this);
|
|
34
|
+
this.manager = useControllerManager(this,forceUpdate);
|
|
34
35
|
this._componentReadyDefer = new Deferred();
|
|
35
36
|
this._modelId = generateGuid();
|
|
36
37
|
this._editorProfilePromise = Promise.resolve(undefined);
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
5
|
-
* v4.30.0-next.
|
|
5
|
+
* v4.30.0-next.49
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* Get the base path to where the package assets can be found.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
5
|
-
* v4.30.0-next.
|
|
5
|
+
* v4.30.0-next.49
|
|
6
6
|
*/
|
|
7
7
|
let resourceUrl = "https://js.arcgis.com/coding-components/next/";
|
|
8
8
|
export const getArcgisAssetPath = (path) => {
|
|
@@ -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.0-next.
|
|
4
|
+
* v4.30.0-next.49
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
|
|
7
7
|
|