@arcgis/coding-components 4.30.0-next.2 → 4.30.0-next.4
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-04561935.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-fdf8d908.js → p-08f272e7.js} +2 -2
- package/dist/arcgis-coding-components/{p-1f933dba.js → p-25023832.js} +2 -2
- package/dist/arcgis-coding-components/{p-e55a59ff.js → p-4d158786.js} +2 -2
- package/dist/arcgis-coding-components/{p-f3068c90.js → p-73e2476b.js} +2 -2
- package/dist/arcgis-coding-components/{p-c4b91917.js → p-78220a75.js} +2 -2
- package/dist/arcgis-coding-components/{p-30e98420.js → p-871217d9.js} +10 -10
- package/dist/arcgis-coding-components/{p-758218e2.js → p-b63557ba.js} +2 -2
- package/dist/arcgis-coding-components/{p-30100e82.js → p-c23d1605.js} +1 -1
- package/dist/arcgis-coding-components/{p-8c6bf361.js → p-c7bb7c6a.js} +2 -2
- package/dist/arcgis-coding-components/{p-1f472679.js → p-cd9e95f9.js} +2 -2
- package/dist/arcgis-coding-components/{p-b22a71b8.js → p-e88c0d1d.js} +1 -1
- package/dist/cjs/{arcade-defaults-eb3968a5.js → arcade-defaults-d41420df.js} +10 -10
- package/dist/cjs/{arcade-mode-5275cbeb.js → arcade-mode-55360f90.js} +5 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +4 -5
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-bbfdb831.js → css-9a006c1a.js} +1 -1
- package/dist/cjs/{cssMode-f296c8f9.js → cssMode-c9458ea4.js} +3 -3
- package/dist/cjs/{html-bc3c7f14.js → html-45d9defe.js} +3 -3
- package/dist/cjs/{htmlMode-651ef412.js → htmlMode-1716753f.js} +3 -3
- package/dist/cjs/{index-d28fe547.js → index-25b044b5.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-a30f18a4.js → javascript-9ce57501.js} +4 -4
- package/dist/cjs/{jsonMode-6861e18a.js → jsonMode-3945e8f7.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-8b347861.js → tsMode-7eaeb36b.js} +3 -3
- package/dist/cjs/{typescript-44b2647a.js → typescript-ec5da0c4.js} +3 -3
- package/dist/components/arcade-api.js +2 -2
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +2 -2
- package/dist/components/arcade-mode.js +3 -3
- 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-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +2 -3
- 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 +35 -0
- package/dist/components/arcgis-assets.js +2 -2
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/code-editor.js +2 -2
- package/dist/components/fields.js +1 -1
- package/dist/components/index.d.ts +3 -18
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{arcade-defaults-631dc093.js → arcade-defaults-0bce2095.js} +10 -10
- package/dist/esm/{arcade-mode-43856469.js → arcade-mode-57782d19.js} +5 -5
- package/dist/esm/arcgis-arcade-api_6.entry.js +4 -5
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-6b2305f7.js → css-70f18054.js} +1 -1
- package/dist/esm/{cssMode-4a41975b.js → cssMode-488c3e86.js} +3 -3
- package/dist/esm/{html-b3b2f1bc.js → html-59102be0.js} +3 -3
- package/dist/esm/{htmlMode-cedfb87b.js → htmlMode-cfdd852e.js} +3 -3
- package/dist/esm/{index-84f054b0.js → index-78a96626.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-2482aacb.js → javascript-8ee5b791.js} +4 -4
- package/dist/esm/{jsonMode-8afe11aa.js → jsonMode-771e71b0.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-f4368447.js → tsMode-f95b693f.js} +3 -3
- package/dist/esm/{typescript-40b2f5cb.js → typescript-055e39ac.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/package.json +9 -9
- package/dist/arcgis-coding-components/p-f0b811ba.entry.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { editor, KeyCode } from 'monaco-editor';
|
|
@@ -17,7 +17,7 @@ import "@esri/calcite-components/dist/components/calcite-action-bar.js";
|
|
|
17
17
|
import "@esri/calcite-components/dist/components/calcite-action-group.js";
|
|
18
18
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
19
19
|
import "@esri/calcite-components/dist/components/calcite-tooltip.js";
|
|
20
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
20
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
21
21
|
|
|
22
22
|
const themeConfig = {
|
|
23
23
|
"arcade-light-theme": {
|
|
@@ -330,7 +330,6 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
|
|
|
330
330
|
if (this.hideSideBar) {
|
|
331
331
|
return null;
|
|
332
332
|
}
|
|
333
|
-
console.log("expanded", this.sideActionBarExpanded);
|
|
334
333
|
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({
|
|
335
334
|
id: "profile-variables-action",
|
|
336
335
|
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
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
|
|
7
7
|
|
|
@@ -0,0 +1,35 @@
|
|
|
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.4
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Get the base path to where the package assets can be found.
|
|
9
|
+
* By default, the package asset path is set to "https://js.arcgis.com/<simplified-package-name>/<released-verion>/".
|
|
10
|
+
* We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
|
|
11
|
+
* It is CORS-enabled, so you can load the assets from any domain.
|
|
12
|
+
* Use "setArcgisAssetPath(path)" if the path needs to be customized.
|
|
13
|
+
*/
|
|
14
|
+
export declare const getArcgisAssetPath: (path: string) => string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Used to manually set the base path where package assets can be found.
|
|
18
|
+
*
|
|
19
|
+
* By default, the package asset path is set to "https://js.arcgis.com/<simplified-package-name>/<released-verion>/".
|
|
20
|
+
* For example, "https://js.arcgis.com/map-components/4.29/".
|
|
21
|
+
* We are hosting our assets on a CDN (Content Delivery Network) to ensure fast and reliable access.
|
|
22
|
+
* It is CORS-enabled, so you can load the assets from any domain.
|
|
23
|
+
* This is the recommended way to load the assets and avoid bundling them with your application.
|
|
24
|
+
* It means that by default, you don't need to use "setArcgisAssetPath" since the path is already set.
|
|
25
|
+
*
|
|
26
|
+
* However, if you need to host the assets locally, you can use "setArcgisAssetPath" to set the base path.
|
|
27
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
28
|
+
* such as "setArcgisAssetPath(import.meta.url)". Other options include
|
|
29
|
+
* "setArcgisAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
30
|
+
* dynamically set the path at build time, such as "setArcgisAssetPath(process.env.ASSET_PATH)".
|
|
31
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
32
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
33
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
34
|
+
*/
|
|
35
|
+
export declare const setArcgisAssetPath: (path: string) => void;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
5
|
-
* v4.30.0-next.
|
|
5
|
+
* v4.30.0-next.4
|
|
6
6
|
*/
|
|
7
7
|
let resourceUrl = "https://js.arcgis.com/coding-components/next/";
|
|
8
|
-
export const
|
|
8
|
+
export const getArcgisAssetPath = (path) => {
|
|
9
9
|
const assetUrl = new URL(path, resourceUrl);
|
|
10
10
|
return assetUrl.origin !== window.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
11
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.4
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
|
|
7
7
|
|