@arcgis/coding-components 4.31.0-next.5 → 4.31.0-next.6
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-e31be2c5.js → p-022df536.js} +1 -1
- package/dist/arcgis-coding-components/{p-60739af5.js → p-10cab8d9.js} +2 -2
- package/dist/arcgis-coding-components/{p-de85c014.js → p-14ab3ed5.js} +1 -1
- package/dist/arcgis-coding-components/{p-ae6af9eb.js → p-19b4f0e9.js} +2 -2
- package/dist/arcgis-coding-components/{p-5b62a1ac.entry.js → p-1baf3624.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-2c85c4b2.js → p-2a7ef2fd.js} +2 -2
- package/dist/arcgis-coding-components/{p-2d32fb1b.js → p-38534c31.js} +2 -2
- package/dist/arcgis-coding-components/{p-aa9d06e6.js → p-41c932b5.js} +2 -2
- package/dist/arcgis-coding-components/{p-c41f6d7c.js → p-8c6a6176.js} +2 -2
- package/dist/arcgis-coding-components/{p-3d5b8c4b.js → p-8e61744c.js} +10 -10
- package/dist/arcgis-coding-components/{p-28d34a6e.entry.js → p-933de2b5.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-65bb8c77.js → p-9dfc06ea.js} +2 -2
- package/dist/arcgis-coding-components/{p-88b5d206.js → p-a536144e.js} +2 -2
- package/dist/arcgis-coding-components/p-cd67026d.js +6 -0
- package/dist/arcgis-coding-components/{p-7bd74de6.entry.js → p-d7e83ea1.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-e055c041.js +6 -0
- package/dist/arcgis-coding-components/{p-7f776266.js → p-e11999af.js} +2 -2
- package/dist/arcgis-coding-components/{p-e89166f0.js → p-f1fab45e.js} +1 -1
- package/dist/cjs/{app-globals-886c7ef0.js → app-globals-8991f48d.js} +1 -1
- package/dist/cjs/{arcade-defaults-56b6742a.js → arcade-defaults-2d36c400.js} +4 -4
- package/dist/cjs/{arcade-mode-2175ca7d.js → arcade-mode-ee5f5a57.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +6 -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-b5a232da.js → css-c0ad88d7.js} +1 -1
- package/dist/cjs/{cssMode-f67c30d4.js → cssMode-deeb6f90.js} +3 -3
- package/dist/cjs/{html-d57fda6b.js → html-be08d94a.js} +3 -3
- package/dist/cjs/{htmlMode-c1513225.js → htmlMode-f5b8239a.js} +3 -3
- package/dist/cjs/{index-6563aa26.js → index-358de60d.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-d7362563.js → javascript-37d3d13f.js} +4 -4
- package/dist/cjs/{jsonMode-1ea2f163.js → jsonMode-12a2a091.js} +3 -3
- package/dist/cjs/{language-defaults-base-66e1921b.js → language-defaults-base-1f082ad7.js} +30 -46
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-e30d7627.js → sql-expr-defaults-dca57c68.js} +13 -18
- package/dist/cjs/{sql-expr-mode-74c5c2c2.js → sql-expr-mode-c644220d.js} +4 -4
- package/dist/cjs/{tsMode-9db1a5aa.js → tsMode-d33a7021.js} +3 -3
- package/dist/cjs/{typescript-f6d1b2b4.js → typescript-f3be2ce7.js} +3 -3
- 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-6TARY3NN.js → chunk-3IUJHIAA.js} +11 -16
- 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 +21 -37
- 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-4531df03.js → app-globals-3e4e0353.js} +1 -1
- package/dist/esm/{arcade-defaults-d85fe608.js → arcade-defaults-1adb5004.js} +4 -4
- package/dist/esm/{arcade-mode-121c8f8b.js → arcade-mode-4a83348d.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +6 -6
- 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-f03ce15d.js → css-bad8d1c3.js} +1 -1
- package/dist/esm/{cssMode-9350af4a.js → cssMode-68a5f601.js} +3 -3
- package/dist/esm/{html-8a5ee186.js → html-9b27df1a.js} +3 -3
- package/dist/esm/{htmlMode-dbcde814.js → htmlMode-361ad282.js} +3 -3
- package/dist/esm/{index-71c8a762.js → index-8a552796.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-b11dc132.js → javascript-8004e14f.js} +4 -4
- package/dist/esm/{jsonMode-7afef1a4.js → jsonMode-91a0be74.js} +3 -3
- package/dist/esm/{language-defaults-base-47e8d77c.js → language-defaults-base-df906b3d.js} +30 -46
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-fa9b2d75.js → sql-expr-defaults-ae0be602.js} +13 -18
- package/dist/esm/{sql-expr-mode-931857be.js → sql-expr-mode-1821b2b9.js} +4 -4
- package/dist/esm/{tsMode-76190ec2.js → tsMode-2756c213.js} +3 -3
- package/dist/esm/{typescript-346e9d47.js → typescript-1aaf3ddd.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +1 -1
- package/dist/types/components/arcade-results/arcade-results.d.ts +1 -1
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +1 -1
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +1 -1
- package/dist/types/components/language-api-panel/language-api-panel.d.ts +1 -1
- package/dist/types/utils/profile/types.d.ts +29 -69
- package/dist/types/utils/profile/utils.d.ts +4 -7
- package/package.json +10 -10
- package/dist/arcgis-coding-components/p-43da2244.js +0 -6
- package/dist/arcgis-coding-components/p-cbf4fec2.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.6
|
|
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.6
|
|
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.6
|
|
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-3IUJHIAA.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.6
|
|
5
5
|
*/
|
|
6
6
|
import { CompletionItemKind, InsertTextMode, InsertTextFormat } from 'vscode-languageserver-types';
|
|
7
7
|
import { p as portalItemPageUrl } from './utilities.js';
|
|
@@ -21,19 +21,13 @@ function isQueryableLayerInstance(item) {
|
|
|
21
21
|
"queryFeatures" in item &&
|
|
22
22
|
typeof item.queryFeatures === "function");
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function isGroupLayerCapable(item) {
|
|
25
25
|
return (!!item &&
|
|
26
26
|
typeof item === "object" &&
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
item.
|
|
30
|
-
|
|
31
|
-
function isGroupLayerInstance(item) {
|
|
32
|
-
return (!!item &&
|
|
33
|
-
typeof item === "object" &&
|
|
34
|
-
"declaredClass" in item &&
|
|
35
|
-
typeof item.declaredClass === "string" &&
|
|
36
|
-
item.declaredClass === "esri.layers.GroupLayer");
|
|
27
|
+
"allLayers" in item &&
|
|
28
|
+
"allTables" in item &&
|
|
29
|
+
typeof item.allLayers === "object" &&
|
|
30
|
+
typeof item.allTables === "object");
|
|
37
31
|
}
|
|
38
32
|
function isMapInstance(item) {
|
|
39
33
|
return (!!item &&
|
|
@@ -44,14 +38,8 @@ function isMapInstance(item) {
|
|
|
44
38
|
item.declaredClass === "esri.WebMap" ||
|
|
45
39
|
item.declaredClass === "esri.WebScene"));
|
|
46
40
|
}
|
|
47
|
-
function
|
|
48
|
-
return item
|
|
49
|
-
}
|
|
50
|
-
function isWebSceneInstance(item) {
|
|
51
|
-
return item.declaredClass === "esri.WebScene";
|
|
52
|
-
}
|
|
53
|
-
function isLoadableMapInstance(item) {
|
|
54
|
-
return item.declaredClass === "esri.WebMap" || item.declaredClass === "esri.WebScene";
|
|
41
|
+
function isLoadAllCapable(item) {
|
|
42
|
+
return !!item && typeof item === "object" && "loadAll" in item && typeof item.loadAll === "function";
|
|
55
43
|
}
|
|
56
44
|
function isPortalItemDefinition(item) {
|
|
57
45
|
return !!item && typeof item === "object" && "portalItem" in item && item.portalItem != null;
|
|
@@ -116,6 +104,9 @@ function isSubtypeFieldCapableLayer(item) {
|
|
|
116
104
|
function isSubtypesCapableLayer(item) {
|
|
117
105
|
return isSubtypeFieldCapableLayer(item) && "subtypes" in item;
|
|
118
106
|
}
|
|
107
|
+
function isPortalItemCapable(item) {
|
|
108
|
+
return !!item && typeof item === "object" && "portalItem" in item;
|
|
109
|
+
}
|
|
119
110
|
function isRelationshipsCapableLayer(item) {
|
|
120
111
|
return (isLayerIdCapableSource(item) &&
|
|
121
112
|
"relationships" in item &&
|
|
@@ -196,14 +187,6 @@ function sortFields(layer) {
|
|
|
196
187
|
if (secondField.type === "oid") {
|
|
197
188
|
return 1;
|
|
198
189
|
}
|
|
199
|
-
if (isSubtypeSublayerInstance(layer)) {
|
|
200
|
-
if (firstField.name === layer.parent.subtypeField) {
|
|
201
|
-
return -1;
|
|
202
|
-
}
|
|
203
|
-
if (secondField.name === layer.parent.subtypeField) {
|
|
204
|
-
return 1;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
190
|
if (isSubtypeFieldCapableLayer(layer)) {
|
|
208
191
|
if (firstField.name === layer.subtypeField) {
|
|
209
192
|
return -1;
|
|
@@ -241,7 +224,7 @@ function assembleMemberExpression(obj, prop) {
|
|
|
241
224
|
return `${obj}${getMemberExpressionProperty(prop)}`;
|
|
242
225
|
}
|
|
243
226
|
function getMapPortalItem(map) {
|
|
244
|
-
if (
|
|
227
|
+
if (isPortalItemCapable(map)) {
|
|
245
228
|
return map.portalItem;
|
|
246
229
|
}
|
|
247
230
|
return null;
|
|
@@ -1097,13 +1080,14 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
1097
1080
|
if (typeof this._featureSetCollections.source === "string") {
|
|
1098
1081
|
return this._profile?.intlStrings.featureservice ?? "featureservice";
|
|
1099
1082
|
}
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1083
|
+
switch (this._featureSetCollections.source.declaredClass) {
|
|
1084
|
+
case "esri.WebMap":
|
|
1085
|
+
return this._profile?.intlStrings.webmap ?? "webmap";
|
|
1086
|
+
case "esri.WebScene":
|
|
1087
|
+
return this._profile?.intlStrings.webscene ?? "webscene";
|
|
1088
|
+
default:
|
|
1089
|
+
return this._profile?.intlStrings.map ?? "map";
|
|
1105
1090
|
}
|
|
1106
|
-
return this._profile?.intlStrings.map ?? "map";
|
|
1107
1091
|
}
|
|
1108
1092
|
async loadSource() {
|
|
1109
1093
|
if (isNotNull(this._loadPromise) && isNotUndefined(this._loadPromise)) {
|
|
@@ -1170,7 +1154,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
1170
1154
|
return null;
|
|
1171
1155
|
}
|
|
1172
1156
|
async _featureSetCollectionFromMap(map) {
|
|
1173
|
-
if (
|
|
1157
|
+
if (isLoadAllCapable(map)) {
|
|
1174
1158
|
// Make sure the map is loaded
|
|
1175
1159
|
await map.loadAll();
|
|
1176
1160
|
}
|
|
@@ -1232,7 +1216,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
1232
1216
|
layerVariables.push(this._createFeatureSetVariable(layer, true));
|
|
1233
1217
|
return;
|
|
1234
1218
|
}
|
|
1235
|
-
if (
|
|
1219
|
+
if (isGroupLayerCapable(layer)) {
|
|
1236
1220
|
const groupLayerVariables = filteringTables
|
|
1237
1221
|
? this._convertWebMapLayersToVariables(layer.allTables, true)
|
|
1238
1222
|
: this._convertWebMapLayersToVariables(layer.allLayers);
|
|
@@ -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.6
|
|
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.6
|
|
5
5
|
*/
|
|
6
6
|
import { i as isPredefinedProfile, a as isFeatureSetDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './language-defaults-base.js';
|
|
7
7
|
import { f as fetchT9nStringsBundle } from './index2.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.6
|
|
5
5
|
*/
|
|
6
6
|
import * as monaco from 'monaco-editor';
|
|
7
7
|
import { editor, languages } from 'monaco-editor';
|
|
@@ -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.6
|
|
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-3IUJHIAA.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.6
|
|
5
5
|
*/
|
|
6
|
-
import { m as makeController, w as watch } from './chunk-
|
|
6
|
+
import { m as makeController, w as watch } from './chunk-3IUJHIAA.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.6
|
|
5
5
|
*/
|
|
6
|
-
import { L as LanguageDefaultsBase, i as isPredefinedProfile, c as convertToEditorProfileDefinition, f as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-
|
|
7
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { L as LanguageDefaultsBase, i as isPredefinedProfile, c as convertToEditorProfileDefinition, f as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import { g as getAssetPath } from './index-8a552796.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-4a83348d.js');
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
const arcadeLanguageId = "arcade";
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { F as main, e as editor, M as MarkerSeverity, R as Range, u as languages, J as debounce, N as Emitter } from './language-defaults-base-
|
|
7
|
-
import './index-
|
|
6
|
+
import { F as main, e as editor, M as MarkerSeverity, R as Range, u as languages, J as debounce, N as Emitter } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import './index-8a552796.js';
|
|
8
8
|
|
|
9
9
|
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}));
|
|
10
10
|
|
|
@@ -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.6
|
|
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 { a as importArcade, e as editor, s as startLocaleObserver, g as getElementLocales, b as isURL, h as hasSameOrigin, d as importRequest, D as Deferred, j as generateGuid, k as getElementTheme, K as KeyCode, l as setValuesInString, q as quoteString, m as supportedFields, n as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, o as commonjsGlobal, p as setFocusOnElement, r as filterCollection, t as createFilterExpression, u as languages, R as Range, v as observeAncestorsMutation, U as Uri, w as KeyMod, x as addLTRMark } from './language-defaults-base-
|
|
8
|
-
import { m as makeController, w as watch, u as useControllerManager, g as getSet, s as sqlExprDefaults } from './sql-expr-defaults-
|
|
9
|
-
import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode$1 } 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-8a552796.js';
|
|
7
|
+
import { a as importArcade, e as editor, s as startLocaleObserver, g as getElementLocales, b as isURL, h as hasSameOrigin, d as importRequest, D as Deferred, j as generateGuid, k as getElementTheme, K as KeyCode, l as setValuesInString, q as quoteString, m as supportedFields, n as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, o as commonjsGlobal, p as setFocusOnElement, r as filterCollection, t as createFilterExpression, u as languages, R as Range, v as observeAncestorsMutation, U as Uri, w as KeyMod, x as addLTRMark } from './language-defaults-base-df906b3d.js';
|
|
8
|
+
import { m as makeController, w as watch, u as useControllerManager, g as getSet, s as sqlExprDefaults } from './sql-expr-defaults-ae0be602.js';
|
|
9
|
+
import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode$1 } from './arcade-defaults-1adb5004.js';
|
|
10
10
|
|
|
11
11
|
const DevelopersWebSitePath = "https://developers.arcgis.com/arcade/";
|
|
12
12
|
const MaxArrayItems = 100;
|
|
@@ -4188,7 +4188,7 @@ languages.onLanguage(arcadeDefaults.languageId, () => {
|
|
|
4188
4188
|
* @returns sql-expression mode module
|
|
4189
4189
|
*/
|
|
4190
4190
|
async function getMode() {
|
|
4191
|
-
return await import('./sql-expr-mode-
|
|
4191
|
+
return await import('./sql-expr-mode-1821b2b9.js');
|
|
4192
4192
|
}
|
|
4193
4193
|
// Register the language in Monaco
|
|
4194
4194
|
languages.register({
|
|
@@ -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.6
|
|
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-8a552796.js';
|
|
7
|
+
export { s as setNonce } from './index-8a552796.js';
|
|
8
|
+
import { g as globalScripts } from './app-globals-3e4e0353.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Browser v4.17.1 | 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.6
|
|
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 { j as generateGuid } from './language-defaults-base-
|
|
6
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-8a552796.js';
|
|
7
|
+
import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-ae0be602.js';
|
|
8
|
+
import { j as generateGuid } from './language-defaults-base-df906b3d.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;
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
7
|
-
import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-
|
|
8
|
-
import './language-defaults-base-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-8a552796.js';
|
|
7
|
+
import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-ae0be602.js';
|
|
8
|
+
import './language-defaults-base-df906b3d.js';
|
|
9
9
|
|
|
10
10
|
const sqlExpressionFieldsCss = ":host calcite-flow{height:100%}:host calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}";
|
|
11
11
|
const ArcgisSqlExpressionFieldsStyle0 = sqlExpressionFieldsCss;
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { G as monaco_editor_core_star } from './language-defaults-base-
|
|
7
|
-
import './index-
|
|
6
|
+
import { G as monaco_editor_core_star } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import './index-8a552796.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { G as monaco_editor_core_star } from './language-defaults-base-
|
|
7
|
-
import './index-
|
|
6
|
+
import { G as monaco_editor_core_star } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import './index-8a552796.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { G as monaco_editor_core_star } from './language-defaults-base-
|
|
7
|
-
import './index-
|
|
6
|
+
import { G as monaco_editor_core_star } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import './index-8a552796.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.6
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
import './language-defaults-base-
|
|
8
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-1adb5004.js';
|
|
7
|
+
import './language-defaults-base-df906b3d.js';
|
|
8
|
+
import './index-8a552796.js';
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
7
|
-
import './language-defaults-base-
|
|
8
|
-
import './index-
|
|
6
|
+
import { conf as conf$1, language as language$1 } from './typescript-1aaf3ddd.js';
|
|
7
|
+
import './language-defaults-base-df906b3d.js';
|
|
8
|
+
import './index-8a552796.js';
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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.6
|
|
5
5
|
*/
|
|
6
|
-
import { G as monaco_editor_core_star } from './language-defaults-base-
|
|
7
|
-
import './index-
|
|
6
|
+
import { G as monaco_editor_core_star } from './language-defaults-base-df906b3d.js';
|
|
7
|
+
import './index-8a552796.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|