@arcgis/coding-components 4.29.7 → 4.30.0-next.1
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 +3 -3
- package/dist/arcgis-coding-components/index.esm.js +3 -3
- package/dist/arcgis-coding-components/{p-4fe9a598.js → p-01d806ab.js} +3 -3
- package/dist/arcgis-coding-components/{p-09107099.js → p-0ecfaaf8.js} +3 -3
- package/dist/arcgis-coding-components/p-0f15d754.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-dce5ee20.js → p-26cb350b.js} +3 -3
- package/dist/arcgis-coding-components/{p-b0b3c192.js → p-2c66cecd.js} +3 -3
- package/dist/arcgis-coding-components/{p-b37fb59b.js → p-3162633c.js} +2 -2
- package/dist/arcgis-coding-components/{p-88b74c67.js → p-4aab897b.js} +4 -4
- package/dist/arcgis-coding-components/{p-a69a4367.js → p-5050b8e6.js} +3 -3
- package/dist/arcgis-coding-components/{p-1c5e49bd.js → p-68bd0d31.js} +2 -2
- package/dist/arcgis-coding-components/{p-6165c7a4.js → p-9556a8c6.js} +3 -3
- package/dist/arcgis-coding-components/{p-e90b67a7.js → p-bad6d07f.js} +11 -11
- package/dist/arcgis-coding-components/{p-ec6b4cbd.js → p-c5c082c2.js} +4 -4
- package/dist/cjs/{arcade-defaults-06b4d4cc.js → arcade-defaults-337189cc.js} +11 -11
- package/dist/cjs/{arcade-mode-817b2fe3.js → arcade-mode-3b9ec201.js} +4 -4
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +7 -6
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-df5466cb.js → css-9d93d685.js} +2 -2
- package/dist/cjs/{cssMode-0b90ca41.js → cssMode-cf97e01f.js} +4 -4
- package/dist/cjs/{html-91bbd5e2.js → html-9bbb2b9f.js} +4 -4
- package/dist/cjs/{htmlMode-d5c1a01e.js → htmlMode-29fbfd01.js} +4 -4
- package/dist/cjs/{index-e1c6848d.js → index-b66d3898.js} +2 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-268a7832.js → javascript-ea7308ab.js} +5 -5
- package/dist/cjs/{jsonMode-2b0ec416.js → jsonMode-25c548e6.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-6e14767b.js → tsMode-c54b0496.js} +4 -4
- package/dist/cjs/{typescript-2f73c9c9.js → typescript-89d35abd.js} +4 -4
- package/dist/components/arcade-api.js +14 -13
- package/dist/components/arcade-contribution.js +2 -2
- package/dist/components/arcade-defaults.js +3 -3
- package/dist/components/arcade-mode.js +2 -2
- package/dist/components/arcade-results.js +13 -12
- package/dist/components/arcade-suggestions.js +13 -12
- package/dist/components/arcade-variables.js +13 -12
- package/dist/components/arcgis-arcade-api.js +2 -2
- package/dist/components/arcgis-arcade-editor.js +10 -8
- package/dist/components/arcgis-arcade-results.js +2 -2
- package/dist/components/arcgis-arcade-suggestions.js +2 -2
- package/dist/components/arcgis-arcade-variables.js +2 -2
- package/dist/components/arcgis-assets.js +12 -0
- package/dist/components/arcgis-code-editor.js +2 -2
- package/dist/components/code-editor.js +4 -3
- package/dist/components/fields.js +2 -2
- package/dist/components/index.js +4 -3
- package/dist/components/index2.js +2 -2
- package/dist/components/markdown.js +2 -2
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-587f3032.js → arcade-defaults-80ab7068.js} +11 -11
- package/dist/esm/{arcade-mode-8ee5121e.js → arcade-mode-145e7a14.js} +4 -4
- package/dist/esm/arcgis-arcade-api_6.entry.js +7 -6
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-860331cd.js → css-d2e6a792.js} +2 -2
- package/dist/esm/{cssMode-b108809b.js → cssMode-6d9545da.js} +4 -4
- package/dist/esm/{html-587f7fbc.js → html-0af5dfb9.js} +4 -4
- package/dist/esm/{htmlMode-24b300eb.js → htmlMode-7006edc4.js} +4 -4
- package/dist/esm/{index-7b69917c.js → index-a2b632a0.js} +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-8d35d24a.js → javascript-89b3eeb2.js} +5 -5
- package/dist/esm/{jsonMode-8a23454b.js → jsonMode-a3501a18.js} +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-9f8691c4.js → tsMode-29dad6cb.js} +4 -4
- package/dist/esm/{typescript-1c7e49d5.js → typescript-6f3a39e0.js} +4 -4
- package/dist/loader/cdn.js +2 -2
- package/dist/loader/index.cjs.js +2 -2
- package/dist/loader/index.es2017.js +2 -2
- package/dist/loader/index.js +2 -2
- package/package.json +12 -14
- package/dist/arcgis-coding-components/p-5c59462f.entry.js +0 -6
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.1
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent,
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { editor, KeyCode } from 'monaco-editor';
|
|
8
8
|
import { e as executeScript, D as DevelopersWebSitePath, d as defineCustomElement$5 } from './arcade-results.js';
|
|
9
9
|
import { h, U, k, B, q } from './index2.js';
|
|
10
10
|
import { s as setupMonacoEnvironment, a as getArcadeDiagnosticService } from './arcade-contribution.js';
|
|
11
11
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
12
|
-
import '@esri/calcite-components/dist/components/calcite-action-bar.js';
|
|
13
|
-
import '@esri/calcite-components/dist/components/calcite-action-group.js';
|
|
14
|
-
import '@esri/calcite-components/dist/components/calcite-action.js';
|
|
15
|
-
import '@esri/calcite-components/dist/components/calcite-tooltip.js';
|
|
16
12
|
import { d as defineCustomElement$6 } from './arcade-api.js';
|
|
17
13
|
import { d as defineCustomElement$4 } from './arcade-suggestions.js';
|
|
18
14
|
import { d as defineCustomElement$3 } from './arcade-variables.js';
|
|
19
15
|
import { d as defineCustomElement$2 } from './code-editor.js';
|
|
16
|
+
import "@esri/calcite-components/dist/components/calcite-action-bar.js";
|
|
17
|
+
import "@esri/calcite-components/dist/components/calcite-action-group.js";
|
|
18
|
+
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
19
|
+
import "@esri/calcite-components/dist/components/calcite-tooltip.js";
|
|
20
|
+
import { getAssetPath } from "./arcgis-assets.js";
|
|
20
21
|
|
|
21
22
|
const themeConfig = {
|
|
22
23
|
"arcade-light-theme": {
|
|
@@ -204,7 +205,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
|
|
|
204
205
|
*/
|
|
205
206
|
async getEditorInstance() {
|
|
206
207
|
await this._componentReadyDefer.promise;
|
|
207
|
-
return await this._codeEditorElt?.getEditorInstance();
|
|
208
|
+
return (await this._codeEditorElt?.getEditorInstance());
|
|
208
209
|
}
|
|
209
210
|
/**
|
|
210
211
|
* Returns the Arcade result for the script for the provided test data.
|
|
@@ -336,6 +337,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
|
|
|
336
337
|
if (this.hideSideBar) {
|
|
337
338
|
return null;
|
|
338
339
|
}
|
|
340
|
+
console.log("expanded", this.sideActionBarExpanded);
|
|
339
341
|
return (h$1("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, h$1("calcite-action-group", null, this.renderAction({
|
|
340
342
|
id: "profile-variables-action",
|
|
341
343
|
label: this._t9nStrings?.profilevariables ?? "Profile variables",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.1
|
|
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
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.1
|
|
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
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
|
|
7
7
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
5
|
+
* v4.30.0-next.1
|
|
6
|
+
*/
|
|
7
|
+
let resourceUrl = "https://js.arcgis.com/coding-components/next/";
|
|
8
|
+
export const getAssetPath = (path) => {
|
|
9
|
+
const assetUrl = new URL(path, resourceUrl);
|
|
10
|
+
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
11
|
+
};
|
|
12
|
+
export const setArcgisAssetPath = (path) => (resourceUrl = path);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
+
* v4.30.0-next.1
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
|
|
7
7
|
|