@arcgis/coding-components 4.31.0-next.44 → 4.31.0-next.46
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 +1 -1
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-91f66888.js → p-0ada9e89.js} +2 -2
- package/dist/arcgis-coding-components/{p-b5bc4adf.js → p-253ef5b5.js} +2 -2
- package/dist/arcgis-coding-components/p-29c2d70b.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-10c8ae32.js → p-3605d13a.js} +2 -2
- package/dist/arcgis-coding-components/{p-32edb73d.entry.js → p-37bf2e1e.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-e45080f2.js → p-48dc46c9.js} +1 -1
- package/dist/arcgis-coding-components/{p-afb89798.js → p-4c6467da.js} +2 -2
- package/dist/arcgis-coding-components/{p-bdfa1eba.entry.js → p-553f6ccc.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-1ce71af1.js → p-870d7635.js} +2 -2
- package/dist/arcgis-coding-components/{p-0fbc32d2.js → p-a8ff8c8e.js} +2 -2
- package/dist/arcgis-coding-components/{p-63baa9d1.js → p-b5d5a262.js} +2 -2
- package/dist/arcgis-coding-components/{p-7a21b868.js → p-b79d1e50.js} +2 -2
- package/dist/arcgis-coding-components/{p-ce42e542.js → p-be88fdb8.js} +9 -9
- package/dist/arcgis-coding-components/{p-7b6fce33.js → p-c6d92e7d.js} +2 -2
- package/dist/arcgis-coding-components/{p-4579dae2.js → p-c7075300.js} +1 -1
- package/dist/arcgis-coding-components/{p-8748e511.js → p-e41784a8.js} +2 -2
- package/dist/arcgis-coding-components/{p-9913b695.js → p-f2467ccd.js} +1 -1
- package/dist/arcgis-coding-components/{p-d1fae0a5.js → p-fe128c60.js} +2 -2
- package/dist/cjs/{app-globals-0cb3c91a.js → app-globals-2d14e5c0.js} +1 -1
- package/dist/cjs/{arcade-defaults-c20c8ca9.js → arcade-defaults-77e1de5e.js} +4 -4
- package/dist/cjs/{arcade-mode-6ad96515.js → arcade-mode-f73ed367.js} +2 -2
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +45 -6
- 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-de580380.js → css-c6aade9c.js} +1 -1
- package/dist/cjs/{cssMode-7cc60e13.js → cssMode-05400814.js} +2 -2
- package/dist/cjs/{html-aaabd1d0.js → html-fe1faffc.js} +2 -2
- package/dist/cjs/{htmlMode-08b857a8.js → htmlMode-67f9523d.js} +2 -2
- package/dist/cjs/{index-f1e3bda2.js → index-3c053c28.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-60ec56ed.js → javascript-ca20bbe9.js} +3 -3
- package/dist/cjs/{jsonMode-8677abde.js → jsonMode-94f20111.js} +2 -2
- package/dist/cjs/{language-defaults-base-f9ce7082.js → language-defaults-base-2f2119d2.js} +9 -9
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-c95f53ab.js → sql-expr-defaults-501505f2.js} +10 -48
- package/dist/cjs/{sql-expr-mode-61c7726d.js → sql-expr-mode-ee373586.js} +4 -4
- package/dist/cjs/{tsMode-604a3210.js → tsMode-0501e65e.js} +2 -2
- package/dist/cjs/{typescript-0ddb117f.js → typescript-b1d1de79.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-ZZIYM65N.js → chunk-WXWXR4PG.js} +5 -45
- 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 +41 -2
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-53e8d661.js → app-globals-08e116d9.js} +1 -1
- package/dist/esm/{arcade-defaults-06e628f0.js → arcade-defaults-1ac0cab0.js} +4 -4
- package/dist/esm/{arcade-mode-3a332522.js → arcade-mode-f1a2a4e3.js} +2 -2
- package/dist/esm/arcgis-arcade-editor_6.entry.js +44 -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-5f2653da.js → css-d610f85d.js} +1 -1
- package/dist/esm/{cssMode-7b9cc3c3.js → cssMode-f3b0f1cc.js} +2 -2
- package/dist/esm/{html-6bd8edb4.js → html-344c1f2b.js} +2 -2
- package/dist/esm/{htmlMode-bf16a7b0.js → htmlMode-e7b815be.js} +2 -2
- package/dist/esm/{index-032f5d65.js → index-1da98960.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-4ae5629b.js → javascript-47b18187.js} +3 -3
- package/dist/esm/{jsonMode-d51a96d0.js → jsonMode-dcac3a46.js} +2 -2
- package/dist/esm/{language-defaults-base-78ee511e.js → language-defaults-base-24774972.js} +9 -9
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-daf133e3.js → sql-expr-defaults-dcf79980.js} +8 -48
- package/dist/esm/{sql-expr-mode-bd974d38.js → sql-expr-mode-bcd296a5.js} +4 -4
- package/dist/esm/{tsMode-13d37083.js → tsMode-8c92760c.js} +2 -2
- package/dist/esm/{typescript-48d05f38.js → typescript-698087ab.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 +12 -12
- package/dist/arcgis-coding-components/p-8187aea9.entry.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.46
|
|
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-2f2119d2.js');
|
|
9
|
+
const index = require('./index-3c053c28.js');
|
|
10
10
|
|
|
11
11
|
// src/framework.ts
|
|
12
12
|
function retrieveComponentMembers(component, isLit) {
|
|
@@ -422,9 +422,9 @@ function makeProvisionalValue(base) {
|
|
|
422
422
|
if (typeof base !== "object" && typeof base !== "function" || base === null) {
|
|
423
423
|
return base;
|
|
424
424
|
}
|
|
425
|
-
const
|
|
425
|
+
const proxy = new Proxy(base, {
|
|
426
426
|
get(target, prop, receiver) {
|
|
427
|
-
if (cyclical.has(prop) && prop in target && target[prop] ===
|
|
427
|
+
if (cyclical.has(prop) && prop in target && target[prop] === proxy) {
|
|
428
428
|
return void 0;
|
|
429
429
|
}
|
|
430
430
|
if (prop in target || prop in Promise.prototype || typeof prop === "symbol") {
|
|
@@ -436,7 +436,7 @@ function makeProvisionalValue(base) {
|
|
|
436
436
|
return Reflect.set(target, prop, newValue, receiver);
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
|
-
return
|
|
439
|
+
return proxy;
|
|
440
440
|
}
|
|
441
441
|
var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
|
|
442
442
|
function toControllerHost(component) {
|
|
@@ -1127,46 +1127,6 @@ function setProxy(controller, { host, key, isReactive: assignedToProp }, initial
|
|
|
1127
1127
|
});
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
// src/functional.ts
|
|
1131
|
-
var makeController = (constructor) => proxy(void 0, constructor);
|
|
1132
|
-
var FunctionalController = class extends Controller {
|
|
1133
|
-
constructor(component, constructor) {
|
|
1134
|
-
super(component);
|
|
1135
|
-
const originalExports = this.exports;
|
|
1136
|
-
try {
|
|
1137
|
-
setAmbientComponent(this.component);
|
|
1138
|
-
const value = constructor(this.component, this);
|
|
1139
|
-
const constructorChangedExports = this.exports !== originalExports;
|
|
1140
|
-
if (value instanceof Promise) {
|
|
1141
|
-
if (!constructorChangedExports) {
|
|
1142
|
-
this.setProvisionalExports(value);
|
|
1143
|
-
}
|
|
1144
|
-
const resolved = value.then((result) => {
|
|
1145
|
-
this.exports = result;
|
|
1146
|
-
super.catchUpLifecycle();
|
|
1147
|
-
}).catch((error) => {
|
|
1148
|
-
this._ready.reject(error);
|
|
1149
|
-
console.error(error);
|
|
1150
|
-
});
|
|
1151
|
-
this.onLoad(async () => await resolved);
|
|
1152
|
-
} else {
|
|
1153
|
-
if (!constructorChangedExports || value !== void 0) {
|
|
1154
|
-
this.exports = value;
|
|
1155
|
-
}
|
|
1156
|
-
queueMicrotask(() => super.catchUpLifecycle());
|
|
1157
|
-
}
|
|
1158
|
-
} catch (error) {
|
|
1159
|
-
this._ready.reject(error);
|
|
1160
|
-
console.error(error);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
/** Noop - will be called in the constructor instead */
|
|
1164
|
-
catchUpLifecycle() {
|
|
1165
|
-
return;
|
|
1166
|
-
}
|
|
1167
|
-
};
|
|
1168
|
-
var proxy = proxyExports(FunctionalController);
|
|
1169
|
-
|
|
1170
1130
|
// #region convert editor profile to apiProfile
|
|
1171
1131
|
/**
|
|
1172
1132
|
* Converts an editor profile to an api profile.
|
|
@@ -1284,7 +1244,7 @@ async function getSqlExprWorker(uri) {
|
|
|
1284
1244
|
* @returns sql-expression mode module
|
|
1285
1245
|
*/
|
|
1286
1246
|
async function getMode() {
|
|
1287
|
-
return await Promise.resolve().then(function () { return require('./sql-expr-mode-
|
|
1247
|
+
return await Promise.resolve().then(function () { return require('./sql-expr-mode-ee373586.js'); });
|
|
1288
1248
|
}
|
|
1289
1249
|
|
|
1290
1250
|
const languageId = "arcgis-sql-expression";
|
|
@@ -1339,9 +1299,11 @@ class SqlExprDefaults extends languageDefaultsBase.LanguageDefaultsBase {
|
|
|
1339
1299
|
}
|
|
1340
1300
|
const sqlExprDefaults = new SqlExprDefaults();
|
|
1341
1301
|
|
|
1302
|
+
exports.Controller = Controller;
|
|
1342
1303
|
exports.getMode = getMode;
|
|
1343
1304
|
exports.getSet = getSet;
|
|
1344
|
-
exports.
|
|
1305
|
+
exports.proxyExports = proxyExports;
|
|
1306
|
+
exports.setAmbientComponent = setAmbientComponent;
|
|
1345
1307
|
exports.sqlExprDefaults = sqlExprDefaults;
|
|
1346
1308
|
exports.useControllerManager = useControllerManager;
|
|
1347
1309
|
exports.watch = watch;
|
|
@@ -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.46
|
|
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-2f2119d2.js');
|
|
9
|
+
const sqlExprDefaults = require('./sql-expr-defaults-501505f2.js');
|
|
10
|
+
require('./index-3c053c28.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.46
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-2f2119d2.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.46
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const languageDefaultsBase = require('./language-defaults-base-
|
|
8
|
+
const languageDefaultsBase = require('./language-defaults-base-2f2119d2.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.46
|
|
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.46
|
|
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.46
|
|
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-WXWXR4PG.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.46
|
|
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-WXWXR4PG.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.46
|
|
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-WXWXR4PG.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.46
|
|
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-WXWXR4PG.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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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-WXWXR4PG.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.46
|
|
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.46
|
|
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
|
|
|
@@ -419,9 +419,9 @@ function makeProvisionalValue(base) {
|
|
|
419
419
|
if (typeof base !== "object" && typeof base !== "function" || base === null) {
|
|
420
420
|
return base;
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const proxy = new Proxy(base, {
|
|
423
423
|
get(target, prop, receiver) {
|
|
424
|
-
if (cyclical.has(prop) && prop in target && target[prop] ===
|
|
424
|
+
if (cyclical.has(prop) && prop in target && target[prop] === proxy) {
|
|
425
425
|
return void 0;
|
|
426
426
|
}
|
|
427
427
|
if (prop in target || prop in Promise.prototype || typeof prop === "symbol") {
|
|
@@ -433,7 +433,7 @@ function makeProvisionalValue(base) {
|
|
|
433
433
|
return Reflect.set(target, prop, newValue, receiver);
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
|
-
return
|
|
436
|
+
return proxy;
|
|
437
437
|
}
|
|
438
438
|
var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
|
|
439
439
|
function toControllerHost(component) {
|
|
@@ -1124,44 +1124,4 @@ function setProxy(controller, { host, key, isReactive: assignedToProp }, initial
|
|
|
1124
1124
|
});
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
|
-
|
|
1128
|
-
var makeController = (constructor) => proxy(void 0, constructor);
|
|
1129
|
-
var FunctionalController = class extends Controller {
|
|
1130
|
-
constructor(component, constructor) {
|
|
1131
|
-
super(component);
|
|
1132
|
-
const originalExports = this.exports;
|
|
1133
|
-
try {
|
|
1134
|
-
setAmbientComponent(this.component);
|
|
1135
|
-
const value = constructor(this.component, this);
|
|
1136
|
-
const constructorChangedExports = this.exports !== originalExports;
|
|
1137
|
-
if (value instanceof Promise) {
|
|
1138
|
-
if (!constructorChangedExports) {
|
|
1139
|
-
this.setProvisionalExports(value);
|
|
1140
|
-
}
|
|
1141
|
-
const resolved = value.then((result) => {
|
|
1142
|
-
this.exports = result;
|
|
1143
|
-
super.catchUpLifecycle();
|
|
1144
|
-
}).catch((error) => {
|
|
1145
|
-
this._ready.reject(error);
|
|
1146
|
-
console.error(error);
|
|
1147
|
-
});
|
|
1148
|
-
this.onLoad(async () => await resolved);
|
|
1149
|
-
} else {
|
|
1150
|
-
if (!constructorChangedExports || value !== void 0) {
|
|
1151
|
-
this.exports = value;
|
|
1152
|
-
}
|
|
1153
|
-
queueMicrotask(() => super.catchUpLifecycle());
|
|
1154
|
-
}
|
|
1155
|
-
} catch (error) {
|
|
1156
|
-
this._ready.reject(error);
|
|
1157
|
-
console.error(error);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
/** Noop - will be called in the constructor instead */
|
|
1161
|
-
catchUpLifecycle() {
|
|
1162
|
-
return;
|
|
1163
|
-
}
|
|
1164
|
-
};
|
|
1165
|
-
var proxy = proxyExports(FunctionalController);
|
|
1166
|
-
|
|
1167
|
-
export { getSet as g, makeController as m, useControllerManager as u, watch as w };
|
|
1127
|
+
export { Controller as C, getSet as g, proxyExports as p, setAmbientComponent as s, useControllerManager as u, watch as w };
|
|
@@ -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.46
|
|
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-WXWXR4PG.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.46
|
|
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.46
|
|
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.46
|
|
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-WXWXR4PG.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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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.46
|
|
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-WXWXR4PG.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,12 +1,51 @@
|
|
|
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.46
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { p as proxyExports, w as watch, C as Controller, s as setAmbientComponent } from './chunk-WXWXR4PG.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
|
|
|
10
|
+
// src/functional.ts
|
|
11
|
+
var makeController = (constructor) => proxy(void 0, constructor);
|
|
12
|
+
var FunctionalController = class extends Controller {
|
|
13
|
+
constructor(component, constructor) {
|
|
14
|
+
super(component);
|
|
15
|
+
const originalExports = this.exports;
|
|
16
|
+
try {
|
|
17
|
+
setAmbientComponent(this.component);
|
|
18
|
+
const value = constructor(this.component, this);
|
|
19
|
+
const constructorChangedExports = this.exports !== originalExports;
|
|
20
|
+
if (value instanceof Promise) {
|
|
21
|
+
if (!constructorChangedExports) {
|
|
22
|
+
this.setProvisionalExports(value);
|
|
23
|
+
}
|
|
24
|
+
const resolved = value.then((result) => {
|
|
25
|
+
this.exports = result;
|
|
26
|
+
super.catchUpLifecycle();
|
|
27
|
+
}).catch((error) => {
|
|
28
|
+
this._ready.reject(error);
|
|
29
|
+
console.error(error);
|
|
30
|
+
});
|
|
31
|
+
this.onLoad(async () => await resolved);
|
|
32
|
+
} else {
|
|
33
|
+
if (!constructorChangedExports || value !== void 0) {
|
|
34
|
+
this.exports = value;
|
|
35
|
+
}
|
|
36
|
+
queueMicrotask(() => super.catchUpLifecycle());
|
|
37
|
+
}
|
|
38
|
+
} catch (error) {
|
|
39
|
+
this._ready.reject(error);
|
|
40
|
+
console.error(error);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Noop - will be called in the constructor instead */
|
|
44
|
+
catchUpLifecycle() {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var proxy = proxyExports(FunctionalController);
|
|
10
49
|
var makeT9nController = (getAssetPath) => (options = {}) => (
|
|
11
50
|
// eslint-disable-next-line @typescript-eslint/promise-function-async
|
|
12
51
|
makeController((component, controller) => {
|
|
@@ -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.46
|
|
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-24774972.js';
|
|
7
|
+
import { g as getAssetPath } from './index-1da98960.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-f1a2a4e3.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.46
|
|
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-24774972.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
|
|