@arcgis/coding-components 4.31.0-next.100 → 4.31.0-next.101
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 +28 -28
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ar.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bg.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bs.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ca.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.cs.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.da.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.de.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.el.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.es.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.et.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fi.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.he.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hu.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.id.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.it.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ja.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ko.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lt.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lv.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nb.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-BR.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-PT.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ro.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ru.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sk.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sv.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.th.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.tr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.uk.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.vi.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-CN.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-HK.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-TW.json +2 -1
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +9 -9
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +758 -0
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/p-0099cb0d.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ca5e21ae.js → p-0dce262c.js} +2 -2
- package/dist/arcgis-coding-components/{p-9789b25b.js → p-1858151a.js} +2 -2
- package/dist/arcgis-coding-components/{p-62a81db6.js → p-2de7e7b2.js} +2 -2
- package/dist/arcgis-coding-components/{p-f6c8c48e.js → p-2fa7b354.js} +3 -3
- package/dist/arcgis-coding-components/{p-4574ffe0.js → p-3b31375b.js} +1 -1
- package/dist/arcgis-coding-components/{p-e4107fc7.entry.js → p-6f45223d.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-7e43a86f.js +6 -0
- package/dist/arcgis-coding-components/{p-707dc6c6.js → p-936afb5f.js} +2 -2
- package/dist/arcgis-coding-components/{p-93497829.js → p-9ce8bda4.js} +1 -1
- package/dist/arcgis-coding-components/{p-d499c2c8.js → p-ac165874.js} +2 -2
- package/dist/arcgis-coding-components/{p-71912899.js → p-b2df0560.js} +2 -2
- package/dist/arcgis-coding-components/{p-19787db2.js → p-cdc51488.js} +1 -1
- package/dist/arcgis-coding-components/{p-64ea3c58.entry.js → p-cef69bbe.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-6d1679d7.js → p-d1dc7e54.js} +2 -2
- package/dist/arcgis-coding-components/p-d515c77f.js +6 -0
- package/dist/arcgis-coding-components/{p-b283dbfb.js → p-eb6d6bcd.js} +10 -10
- package/dist/arcgis-coding-components/{p-362b106d.js → p-edfcf736.js} +2 -2
- package/dist/cjs/{app-globals-4b840643.js → app-globals-fa455e3b.js} +1 -1
- package/dist/cjs/{arcade-defaults-4fb2f0f2.js → arcade-defaults-c65f2946.js} +3 -3
- package/dist/cjs/{arcade-mode-99d1b659.js → arcade-mode-c26e9d6a.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-37282522.js → css-0fd2d99c.js} +1 -1
- package/dist/cjs/{cssMode-3f042660.js → cssMode-b80b147d.js} +3 -3
- package/dist/cjs/{html-bfa7b20b.js → html-da7b375d.js} +3 -3
- package/dist/cjs/{htmlMode-39496270.js → htmlMode-d32befb1.js} +3 -3
- package/dist/cjs/{index-56b575b4.js → index-7784a06f.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-a5972240.js → javascript-a868b6f5.js} +4 -4
- package/dist/cjs/{jsonMode-7dea9123.js → jsonMode-78dca1a7.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-e6038f75.js → sql-expr-defaults-2c542856.js} +38 -28
- package/dist/cjs/{sql-expr-mode-7b4ee768.js → sql-expr-mode-f2d1c231.js} +4 -4
- package/dist/cjs/{tsMode-8b8c14e0.js → tsMode-ffa70775.js} +3 -3
- package/dist/cjs/{typescript-f9e9e491.js → typescript-7bebb368.js} +3 -3
- package/dist/cjs/{useT9n-e6815234.js → useT9n-8cbeec71.js} +7 -5
- 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/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-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-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +5 -5
- package/dist/components/arcgis-sql-expression-fields.js +2 -2
- package/dist/components/{chunk-IUUKU7EW.js → chunk-UFIZBDFE.js} +2 -2
- package/dist/components/code-editor.js +2 -2
- package/dist/components/editor-variables.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/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +29 -19
- package/dist/components/sql-expr-mode.js +2 -2
- package/dist/components/useT9n.js +5 -3
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-b21bcc49.js → app-globals-07f5e1d4.js} +1 -1
- package/dist/esm/{arcade-defaults-3a1b86cd.js → arcade-defaults-d78913f5.js} +3 -3
- package/dist/esm/{arcade-mode-befc845e.js → arcade-mode-879e0ab7.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +7 -7
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-6c7e70f9.js → css-c6fb1209.js} +1 -1
- package/dist/esm/{cssMode-46bb8d53.js → cssMode-2015e5c2.js} +3 -3
- package/dist/esm/{html-6b81f908.js → html-a247b2ef.js} +3 -3
- package/dist/esm/{htmlMode-b25e0941.js → htmlMode-bbddb780.js} +3 -3
- package/dist/esm/{index-8e6962cc.js → index-03e0d6f3.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-0c525554.js → javascript-10c11c6a.js} +4 -4
- package/dist/esm/{jsonMode-c0e68cc9.js → jsonMode-31194587.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-324e2199.js → sql-expr-defaults-4960af21.js} +38 -28
- package/dist/esm/{sql-expr-mode-a1cf73b7.js → sql-expr-mode-2fb66dd0.js} +4 -4
- package/dist/esm/{tsMode-f795e4e5.js → tsMode-9ca0ac88.js} +3 -3
- package/dist/esm/{typescript-3d4e668d.js → typescript-79944363.js} +3 -3
- package/dist/esm/{useT9n-f4687877.js → useT9n-475945b0.js} +7 -5
- 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 +8 -21
- package/dist/types/components/arcade-results/arcade-results.d.ts +13 -31
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +6 -17
- package/dist/types/components/editor-variables/editor-variables.d.ts +9 -23
- package/dist/types/components/language-api-panel/language-api-panel.d.ts +8 -21
- package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +4 -13
- package/dist/types/components/sql-expression-fields/sql-expression-fields.d.ts +4 -13
- package/dist/types/utils/sql-expr-monaco/sql-expression-profile-strategy.d.ts +5 -1
- package/package.json +12 -12
- package/dist/arcgis-coding-components/p-82550582.entry.js +0 -6
- package/dist/arcgis-coding-components/p-c73873d0.js +0 -6
- package/dist/arcgis-coding-components/p-c8915176.js +0 -6
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
|
-
import{O as e}from"./p-
|
|
6
|
+
import{O as e}from"./p-eb6d6bcd.js";import"./p-cdc51488.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
const index = require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
const index = require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
// #region convert editor profile to apiProfile
|
|
12
12
|
/**
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
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"},xe=["++","--"],Ge=["-","+","!","~"],Je=["=","/=","*=","%=","+=","-="],Qe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];xe.forEach(e=>U[e.length-1]?.push(e));Ge.forEach(e=>U[e.length-1]?.push(e));Qe.forEach(e=>U[e.length-1]?.push(e));Je.forEach(e=>U[e.length-1]?.push(e));Lt.forEach(e=>U[e.length-1]?.push(e));var lt=Object.values(f),pt=Object.values(V);pt.map(e=>({label:e,kind:sqlExprDefaults.main.exports.CompletionItemKind.Constant}));lt.map(e=>({label:e,kind:sqlExprDefaults.main.exports.CompletionItemKind.Keyword}));
|
|
12
12
|
|
|
@@ -1,16 +1,16 @@
|
|
|
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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
12
|
-
const useT9n = require('./useT9n-
|
|
13
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
10
|
+
const index = require('./index-7784a06f.js');
|
|
11
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
12
|
+
const useT9n = require('./useT9n-8cbeec71.js');
|
|
13
|
+
const arcadeDefaults = require('./arcade-defaults-c65f2946.js');
|
|
14
14
|
|
|
15
15
|
const DevelopersWebSitePath = "https://developers.arcgis.com/arcade/";
|
|
16
16
|
const MaxArrayItems = 100;
|
|
@@ -307,7 +307,7 @@ async function getArcadeDiagnosticService() {
|
|
|
307
307
|
* @returns arcade mode module
|
|
308
308
|
*/
|
|
309
309
|
async function getMode$1() {
|
|
310
|
-
return await Promise.resolve().then(function () { return require('./arcade-mode-
|
|
310
|
+
return await Promise.resolve().then(function () { return require('./arcade-mode-c26e9d6a.js'); });
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
const arcadeEditorCss = "arcgis-arcade-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%}arcgis-arcade-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-arcade-editor .flex-panel{flex:1 0 auto}arcgis-arcade-editor .position-relative{position:relative}arcgis-arcade-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-arcade-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-arcade-editor .border-inline-start{border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-arcade-editor .sticky{position:sticky;top:0px;z-index:10}arcgis-arcade-editor .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}arcgis-arcade-editor .side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}arcgis-arcade-editor .side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w)}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:var(--arcgis-coding-components-border);flex:0 0 auto}arcgis-arcade-editor .main-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group:last-child{border-inline-end-width:0px}arcgis-arcade-editor .main-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor arcgis-arcade-results{border-top:var(--arcgis-coding-components-border);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}";
|
|
@@ -3957,7 +3957,7 @@ sqlExprDefaults.languages.onLanguage(arcadeDefaults.arcadeDefaults.languageId, (
|
|
|
3957
3957
|
* @returns sql-expression mode module
|
|
3958
3958
|
*/
|
|
3959
3959
|
async function getMode() {
|
|
3960
|
-
return await Promise.resolve().then(function () { return require('./sql-expr-mode-
|
|
3960
|
+
return await Promise.resolve().then(function () { return require('./sql-expr-mode-f2d1c231.js'); });
|
|
3961
3961
|
}
|
|
3962
3962
|
|
|
3963
3963
|
// Register the language in Monaco
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
10
|
+
const index = require('./index-7784a06f.js');
|
|
11
|
+
const appGlobals = require('./app-globals-fa455e3b.js');
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,15 +1,15 @@
|
|
|
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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const useT9n = require('./useT9n-
|
|
12
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
10
|
+
const index = require('./index-7784a06f.js');
|
|
11
|
+
const useT9n = require('./useT9n-8cbeec71.js');
|
|
12
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
13
13
|
|
|
14
14
|
const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);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:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-sql-expression-editor .border-inline-end{border-inline-end:var(--arcgis-coding-components-border);box-sizing:border-box}arcgis-sql-expression-editor .side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}arcgis-sql-expression-editor .side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w)}arcgis-sql-expression-editor .side-panel calcite-flow{height:100%}";
|
|
15
15
|
const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
|
|
@@ -59,7 +59,7 @@ const SqlExpressionEditor = class {
|
|
|
59
59
|
async _updateEditorProfile() {
|
|
60
60
|
this._preparing = true;
|
|
61
61
|
try {
|
|
62
|
-
await sqlExprDefaults.sqlExprDefaults.setProfileForModel(this._modelId, this.profile);
|
|
62
|
+
await sqlExprDefaults.sqlExprDefaults.setProfileForModel(this._modelId, this.profile, { locale: this.messages._t9nLocale });
|
|
63
63
|
this._editorProfile = sqlExprDefaults.sqlExprDefaults.getEditorProfileForModel(this._modelId);
|
|
64
64
|
}
|
|
65
65
|
catch {
|
|
@@ -111,9 +111,9 @@ const SqlExpressionEditor = class {
|
|
|
111
111
|
// #endregion
|
|
112
112
|
render() {
|
|
113
113
|
const variable = this._getFeatureSetVariable();
|
|
114
|
-
return (index.h(index.Host, { key: '
|
|
114
|
+
return (index.h(index.Host, { key: '5d7a1877b7cf39220d8d71b31da2a6a8c0eb8e06' }, index.h("div", { key: '301acf20965aec80a882e8b42fe69758ec4b3c99', class: "flex-row flex-adjustable" }, index.h("div", { key: '40c8d933e1b77930f36e6b90341a1d7c9267f337', class: "flex-column flex-adjustable" }, index.h("arcgis-code-editor", { key: 'f29e52368b5feb73eabd0d1445a34b0ac1c13a59', language: "arcgis-sql-expression", modelId: this._modelId, ref: (e) => (this._codeEditorElt = e), value: this.script ?? "", onArcgisValueChange: this._onCodeEditorValueChange })), this._activeAction === "fields" && (index.h("arcgis-editor-variables", { key: 'ceae6e48d27024f0d21843ec5185f9a05445fe0b', variable: variable, class: "side-panel flex-panel border-inline-start", loading: this._preparing, modelId: this._modelId, onArcgisItemSelected: this._insertAsText, onArcgisClose: () => this._setActiveAction(undefined), "data-panel-name": "none" })), this._activeAction === "functions" && (index.h("arcgis-language-api-panel", { key: '01df45fee1ff9dffd483519747996f23edfa315d', class: "side-panel flex-panel border-inline-start", onArcgisItemSelected: this._insertAsSnippet, onArcgisClose: () => this._setActiveAction(undefined), loading: this._preparing, apiLibrary: this._apiLibrary, "data-panel-name": "none", hideDocumentationActions: true })), index.h("calcite-action-bar", { key: 'ae8dd2dfd8e31838d08439f2723871473655b8bc', class: "side-action-bar border-inline-start", expanded: this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, index.h("calcite-action", { key: '7e2a31f08d0d97b07deaeef31c9e0e2a097ceb5c', id: "fields-action", text: this.messages.fields ?? "Fields", icon: "profile-variables", active: this._activeAction === "fields", "data-panel-name": "fields",
|
|
115
115
|
// need to use an arrow function to automatically bind 'this'
|
|
116
|
-
onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (index.h("calcite-tooltip", { key: '
|
|
116
|
+
onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (index.h("calcite-tooltip", { key: '29734989408b3ee7b703d923fba093cd58ea6b0d', "reference-element": "fields-action" }, index.h("span", { key: '20c1b55f2e42b9258549ab2807fe44f76ebef77e' }, this.messages.fields ?? "Fields"))), index.h("calcite-action", { key: '64eeac74b70f8e7efde68e398ee0687c06bd08c6', id: "functions-action", text: this.messages.functions ?? "Functions", icon: "function", active: this._activeAction === "functions", "data-panel-name": "functions", onClick: (e) => this._handleActionClick(e) }), !this.sideActionBarExpanded && (index.h("calcite-tooltip", { key: '8463172366fbc6536757885835ca49c474edf372', "reference-element": "functions-action" }, index.h("span", { key: '0e441ab9ff790002cfd69fd78a47fbf67ff4bfc8' }, this.messages.functions ?? "Functions")))))));
|
|
117
117
|
}
|
|
118
118
|
static get assetsDirs() { return ["assets"]; }
|
|
119
119
|
get el() { return index.getElement(this); }
|
|
@@ -1,15 +1,15 @@
|
|
|
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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const useT9n = require('./useT9n-
|
|
12
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
10
|
+
const index = require('./index-7784a06f.js');
|
|
11
|
+
const useT9n = require('./useT9n-8cbeec71.js');
|
|
12
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
13
13
|
|
|
14
14
|
const sqlExpressionFieldsCss = ":host calcite-flow{height:100%}:host calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}";
|
|
15
15
|
const ArcgisSqlExpressionFieldsStyle0 = sqlExpressionFieldsCss;
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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.101
|
|
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
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
12
|
-
require('./index-
|
|
10
|
+
const arcadeDefaults = require('./arcade-defaults-c65f2946.js');
|
|
11
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
12
|
+
require('./index-7784a06f.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const typescript = require('./typescript-
|
|
9
|
-
require('./sql-expr-defaults-
|
|
10
|
-
require('./index-
|
|
8
|
+
const typescript = require('./typescript-7bebb368.js');
|
|
9
|
+
require('./sql-expr-defaults-2c542856.js');
|
|
10
|
+
require('./index-7784a06f.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const appGlobals = require('./app-globals-
|
|
10
|
+
const index = require('./index-7784a06f.js');
|
|
11
|
+
const appGlobals = require('./app-globals-fa455e3b.js');
|
|
12
12
|
|
|
13
13
|
const defineCustomElements = async (win, options) => {
|
|
14
14
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7784a06f.js');
|
|
9
9
|
|
|
10
10
|
function _interopNamespace(e) {
|
|
11
11
|
if (e && e.__esModule) return e;
|
|
@@ -124694,7 +124694,7 @@ registerLanguage({
|
|
|
124694
124694
|
mimetypes: ["text/css"],
|
|
124695
124695
|
loader: () => {
|
|
124696
124696
|
{
|
|
124697
|
-
return Promise.resolve().then(function () { return require('./css-
|
|
124697
|
+
return Promise.resolve().then(function () { return require('./css-0fd2d99c.js'); });
|
|
124698
124698
|
}
|
|
124699
124699
|
}
|
|
124700
124700
|
});
|
|
@@ -124712,7 +124712,7 @@ registerLanguage({
|
|
|
124712
124712
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
124713
124713
|
loader: () => {
|
|
124714
124714
|
{
|
|
124715
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
124715
|
+
return Promise.resolve().then(function () { return require('./html-da7b375d.js'); });
|
|
124716
124716
|
}
|
|
124717
124717
|
}
|
|
124718
124718
|
});
|
|
@@ -124732,7 +124732,7 @@ registerLanguage({
|
|
|
124732
124732
|
mimetypes: ["text/javascript"],
|
|
124733
124733
|
loader: () => {
|
|
124734
124734
|
{
|
|
124735
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
124735
|
+
return Promise.resolve().then(function () { return require('./javascript-a868b6f5.js'); });
|
|
124736
124736
|
}
|
|
124737
124737
|
}
|
|
124738
124738
|
});
|
|
@@ -124750,7 +124750,7 @@ registerLanguage({
|
|
|
124750
124750
|
mimetypes: ["text/typescript"],
|
|
124751
124751
|
loader: () => {
|
|
124752
124752
|
{
|
|
124753
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
124753
|
+
return Promise.resolve().then(function () { return require('./typescript-7bebb368.js'); });
|
|
124754
124754
|
}
|
|
124755
124755
|
}
|
|
124756
124756
|
});
|
|
@@ -124871,7 +124871,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
124871
124871
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
124872
124872
|
function getMode$3() {
|
|
124873
124873
|
{
|
|
124874
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
124874
|
+
return Promise.resolve().then(function () { return require('./cssMode-b80b147d.js'); });
|
|
124875
124875
|
}
|
|
124876
124876
|
}
|
|
124877
124877
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -124996,7 +124996,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
124996
124996
|
};
|
|
124997
124997
|
function getMode$2() {
|
|
124998
124998
|
{
|
|
124999
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
124999
|
+
return Promise.resolve().then(function () { return require('./htmlMode-d32befb1.js'); });
|
|
125000
125000
|
}
|
|
125001
125001
|
}
|
|
125002
125002
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -125098,7 +125098,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
125098
125098
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
125099
125099
|
function getMode$1() {
|
|
125100
125100
|
{
|
|
125101
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
125101
|
+
return Promise.resolve().then(function () { return require('./jsonMode-78dca1a7.js'); });
|
|
125102
125102
|
}
|
|
125103
125103
|
}
|
|
125104
125104
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -125367,7 +125367,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
125367
125367
|
};
|
|
125368
125368
|
function getMode() {
|
|
125369
125369
|
{
|
|
125370
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
125370
|
+
return Promise.resolve().then(function () { return require('./tsMode-ffa70775.js'); });
|
|
125371
125371
|
}
|
|
125372
125372
|
}
|
|
125373
125373
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -170992,26 +170992,32 @@ function variableToApiProfile(variable) {
|
|
|
170992
170992
|
resultCompletion.documentation = { kind: "markdown", value: featureCompletionDescription };
|
|
170993
170993
|
return result;
|
|
170994
170994
|
}
|
|
170995
|
-
|
|
170996
|
-
|
|
170997
|
-
|
|
170998
|
-
|
|
170999
|
-
|
|
171000
|
-
|
|
171001
|
-
|
|
171002
|
-
|
|
171003
|
-
|
|
171004
|
-
|
|
171005
|
-
|
|
170995
|
+
/**
|
|
170996
|
+
* A predefined profile for field calculation. For now this is the only predefined profile, and is only used behind the scenes.
|
|
170997
|
+
* In the future, if the variables are displayed in the UX, we will need to move this information to the sql sdk and adapt for translation.
|
|
170998
|
+
*/
|
|
170999
|
+
const fieldCalcProfile = {
|
|
171000
|
+
id: "field-calculation",
|
|
171001
|
+
variables: [
|
|
171002
|
+
{
|
|
171003
|
+
name: "$layer",
|
|
171004
|
+
type: "featureSet",
|
|
171005
|
+
description: "The layer being calculated.",
|
|
171006
|
+
},
|
|
171007
|
+
],
|
|
171006
171008
|
};
|
|
171007
|
-
|
|
171008
|
-
return
|
|
171009
|
+
function getSdkPredefinedProfile( /*locale = "en"*/) {
|
|
171010
|
+
return fieldCalcProfile;
|
|
171009
171011
|
}
|
|
171010
|
-
|
|
171012
|
+
/**
|
|
171013
|
+
* converts a predefined editor profile to a IEditorProfileDefinition.
|
|
171014
|
+
* This is used to hydrate a profile definition from a predefined profile.
|
|
171015
|
+
*/
|
|
171016
|
+
function convertToEditorProfileDefinition(predefinedProfile) {
|
|
171011
171017
|
if (!isPredefinedProfile(predefinedProfile)) {
|
|
171012
|
-
|
|
171018
|
+
throw Error("SQL Expression profile must be a predefined profile");
|
|
171013
171019
|
}
|
|
171014
|
-
const sdkPredefinedProfile =
|
|
171020
|
+
const sdkPredefinedProfile = getSdkPredefinedProfile( /*locale*/);
|
|
171015
171021
|
if (!sdkPredefinedProfile) {
|
|
171016
171022
|
return undefined;
|
|
171017
171023
|
}
|
|
@@ -171064,9 +171070,13 @@ class SqlExprDefaults extends LanguageDefaultsBase {
|
|
|
171064
171070
|
async setProfileForModel(modelId, definition, apiContext = { locale: "en" }) {
|
|
171065
171071
|
// for now, it can ONLY be a predefined profile
|
|
171066
171072
|
if (isPredefinedProfile(definition)) {
|
|
171067
|
-
definition =
|
|
171073
|
+
definition = convertToEditorProfileDefinition(definition);
|
|
171068
171074
|
}
|
|
171069
|
-
|
|
171075
|
+
/**
|
|
171076
|
+
* FIXME: SQL is using arcades profile strings for now.
|
|
171077
|
+
* These should probably be moved to a more general location
|
|
171078
|
+
* since both languages utilize the same strings.
|
|
171079
|
+
*/
|
|
171070
171080
|
const intlStrings = await fetchT9nStringsBundle(apiContext.locale, index.getAssetPath("./assets/arcade-language/t9n"), "profile.t9n.");
|
|
171071
171081
|
if (!intlStrings) {
|
|
171072
171082
|
throw new Error(`Failed to load the language bundle for ${apiContext.locale}`);
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
// hold onto a promise that resolves when the worker is ready
|
|
12
12
|
let deferredWorker = new sqlExprDefaults.Deferred();
|
|
@@ -123,6 +123,7 @@ const sqlExprKeywords = [
|
|
|
123
123
|
"FROM",
|
|
124
124
|
"HOUR",
|
|
125
125
|
"IN",
|
|
126
|
+
"INT",
|
|
126
127
|
"INTEGER",
|
|
127
128
|
"INTERVAL",
|
|
128
129
|
"LEADING",
|
|
@@ -317,7 +318,6 @@ class SqlExprCompletionProvider {
|
|
|
317
318
|
endColumn: word.endColumn,
|
|
318
319
|
};
|
|
319
320
|
const apiContext = this._defaults.getApiContextForModel(model.uri);
|
|
320
|
-
console.log(await worker.doComplete(model.uri.toString(), range, position, apiContext));
|
|
321
321
|
return await worker.doComplete(model.uri.toString(), range, position, apiContext);
|
|
322
322
|
}
|
|
323
323
|
catch (err) {
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
require('./index-7784a06f.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.0-next.
|
|
4
|
+
* v4.31.0-next.101
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const sqlExprDefaults = require('./sql-expr-defaults-
|
|
9
|
-
const index = require('./index-
|
|
8
|
+
const sqlExprDefaults = require('./sql-expr-defaults-2c542856.js');
|
|
9
|
+
const index = require('./index-7784a06f.js');
|
|
10
10
|
|
|
11
11
|
// src/framework.ts
|
|
12
12
|
function retrieveComponentMembers(component, isLit) {
|
|
@@ -810,7 +810,7 @@ var ControllerManager = class extends GenericController {
|
|
|
810
810
|
const tagName = this.component.el.tagName.toLowerCase();
|
|
811
811
|
this.component.el.remove();
|
|
812
812
|
throw new Error(
|
|
813
|
-
`The ${tagName} component has already been destroyed. It
|
|
813
|
+
`The ${tagName} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${autoDestroyDisabledPropName} prop.`
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
816
|
if (this._autoDestroyTimeout !== void 0) {
|
|
@@ -1210,7 +1210,9 @@ var makeT9nController = (getAssetPath) => (options = {}) => (
|
|
|
1210
1210
|
const currentValue = controller.exports;
|
|
1211
1211
|
const rawMessages = currentValue._original ?? currentValue;
|
|
1212
1212
|
const updated = deepMerge(rawMessages, messageOverrides);
|
|
1213
|
-
|
|
1213
|
+
if (messageOverrides) {
|
|
1214
|
+
updated._original = rawMessages;
|
|
1215
|
+
}
|
|
1214
1216
|
controller.exports = updated;
|
|
1215
1217
|
}
|
|
1216
1218
|
if ("messageOverrides" in componentWithOverrides) {
|
|
@@ -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.101
|
|
5
5
|
*/
|
|
6
6
|
import { f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './sql-expr-defaults.js';
|
|
7
7
|
import { s as supportedLocales, 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.101
|
|
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.101
|
|
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-UFIZBDFE.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";
|