@arcgis/coding-components 4.30.0-next.23 → 4.30.0-next.25
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-68006f08.js → p-05243ae4.js} +2 -2
- package/dist/arcgis-coding-components/{p-3217369b.js → p-17d15cb9.js} +10 -10
- package/dist/arcgis-coding-components/{p-5b2565ca.js → p-289b8437.js} +2 -2
- package/dist/arcgis-coding-components/{p-f75b073c.js → p-3580fa60.js} +2 -2
- package/dist/arcgis-coding-components/{p-49bca36f.js → p-4e4ccb22.js} +2 -2
- package/dist/arcgis-coding-components/{p-600be247.js → p-739a390e.js} +2 -2
- package/dist/arcgis-coding-components/{p-9b73a641.js → p-74c134b2.js} +2 -2
- package/dist/arcgis-coding-components/{p-bc0aa910.js → p-904f5ed9.js} +1 -1
- package/dist/arcgis-coding-components/{p-c0185a0d.js → p-921150b1.js} +2 -2
- package/dist/arcgis-coding-components/{p-de307b87.js → p-9a06d91e.js} +2 -2
- package/dist/arcgis-coding-components/{p-d7560609.js → p-a6e0408e.js} +2 -2
- package/dist/arcgis-coding-components/{p-716a8741.js → p-c7e83e19.js} +2 -2
- package/dist/arcgis-coding-components/p-df9c7278.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ff1c764c.js → p-ff18eae5.js} +2 -2
- package/dist/arcgis-coding-components/{p-64abf203.js → p-ffcc7148.js} +2 -2
- package/dist/cjs/{Accessor-YDTURKZ7-2cd6deb4.js → Accessor-K5EEI5WT-b88fc2a4.js} +57 -57
- package/dist/cjs/{arcade-defaults-fb1a3fd7.js → arcade-defaults-c2ec41d1.js} +13 -13
- package/dist/cjs/{arcade-mode-2560e670.js → arcade-mode-40fb726f.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +82 -30
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{chunk-OMA4PI5N-60e6be60.js → chunk-K5OO3GAM-c5c3bfaa.js} +22 -22
- package/dist/cjs/{css-f659c186.js → css-ab107194.js} +1 -1
- package/dist/cjs/{cssMode-6a246ae2.js → cssMode-bb08e5bd.js} +3 -3
- package/dist/cjs/{decorators-443AWDOE-fb0006fa.js → decorators-ROXODUND-78fa07c2.js} +15 -15
- package/dist/cjs/{html-d999957e.js → html-46ea7730.js} +3 -3
- package/dist/cjs/{htmlMode-777d5d7e.js → htmlMode-d7b93ee9.js} +3 -3
- package/dist/cjs/{index-60fec5d8.js → index-4c8629ad.js} +2 -2
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-5c4612fc.js → javascript-5c13b787.js} +4 -4
- package/dist/cjs/{jsonMode-21544f43.js → jsonMode-15e0e9ae.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-34b259f1.js → tsMode-8d8f7ea4.js} +3 -3
- package/dist/cjs/{typescript-6f9695a1.js → typescript-36035fea.js} +3 -3
- package/dist/components/{Accessor-YDTURKZ7.js → Accessor-K5EEI5WT.js} +2 -2
- package/dist/components/arcade-api.js +2 -2
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +4 -4
- 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-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +3 -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 +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/{chunk-3I7AEPTU.js → chunk-CUKUHPDJ.js} +78 -26
- package/dist/{esm/chunk-OMA4PI5N-2da97f52.js → components/chunk-K5OO3GAM.js} +22 -22
- package/dist/components/code-editor.js +1 -1
- package/dist/components/{decorators-443AWDOE.js → decorators-ROXODUND.js} +3 -3
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{Accessor-YDTURKZ7-dcaf409b.js → Accessor-K5EEI5WT-0598ef2e.js} +2 -2
- package/dist/esm/{arcade-defaults-9833f532.js → arcade-defaults-f6090fed.js} +13 -13
- package/dist/esm/{arcade-mode-a9774d50.js → arcade-mode-0ad4cb23.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +82 -30
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/{components/chunk-OMA4PI5N.js → esm/chunk-K5OO3GAM-75615e96.js} +22 -22
- package/dist/esm/{css-294de2b5.js → css-93582172.js} +1 -1
- package/dist/esm/{cssMode-8bf465a1.js → cssMode-2c7cb3f0.js} +3 -3
- package/dist/esm/{decorators-443AWDOE-8b8ddc71.js → decorators-ROXODUND-72a4f40b.js} +3 -3
- package/dist/esm/{html-df0c0abf.js → html-f45b866f.js} +3 -3
- package/dist/esm/{htmlMode-379ba474.js → htmlMode-1f7f702f.js} +3 -3
- package/dist/esm/{index-aafc3e0b.js → index-04501a90.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-7f02143c.js → javascript-6d22b317.js} +4 -4
- package/dist/esm/{jsonMode-0db8e4ac.js → jsonMode-8d42c2c3.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-8bd448ad.js → tsMode-5603cacf.js} +3 -3
- package/dist/esm/{typescript-a14f4a55.js → typescript-6dbe886a.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-250241d4.entry.js +0 -6
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +0 -0
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
- /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
|
@@ -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.25
|
|
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;
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
export { setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
7
7
|
export { a as arcade } from './arcade-defaults.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
6
|
var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function w(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function b(e,t,n){let{subscribe:r}=$(t);return r(o=>{o.some(s=>w(e,s.target))&&n();})}var f={};function $(e){let t=e.join(","),n=f[t];if(n!==void 0)return n;let r=new Set,o=new MutationObserver(s=>r.forEach(a=>a(s)));o.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let i={subscribe(s){return r.add(s),{remove:()=>{r.delete(s),r.size===0&&(o.disconnect(),f[t]=void 0);}}}};return f[t]=i,i}function x(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function _(e){let t=x(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function F(e){return e.nodeType===Node.ELEMENT_NODE}function O(e){return "setFocus"in e&&typeof e.setFocus=="function"}function l(e,t=""){if(!F(e))return !1;if(e.matches(t))return O(e)&&setTimeout(()=>e.setFocus(),0),!0;for(let r of e.children)if(l(r,t))return !0;let n=e.shadowRoot;if(n){for(let r of n.children)if(l(r,t))return !0}return !1}function W(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){l(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),l(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function Q(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var A=e=>e.charAt(0).toUpperCase()+e.slice(1),T=e=>A(e.replaceAll(/([a-z])([A-Z])/gu,"$1 $2"));var v=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),g="en";async function j(e,t,n=""){let r=`${t}/${n}`,o=`${r}${e}.json`;return u[o]??(u[o]=S(e,r)),await u[o]}var u={};async function S(e,t){let n=`${t}${e}.json`;try{let r=await fetch(n);if(r.ok)return await r.json()}catch(r){return console.error(r),E}return e===g?E:await S(g,t)}var E=new Proxy({},{get:(e,t)=>T(t.toString())});var y='"',N="'";function L(e,t){return new Array(t+1).join(e)}function te(e){let t=y,n=N;e.includes(t)&&!e.includes(n)&&(n=y,t=N);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(s,a,d,p)=>a+d+L(n,p.length/2));let i=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(i,(s,a,d,p)=>a+d+L(`\\${t}`,p.length)),t+e+t}function ne(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function re(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function oe(e){return `\u200E${e??""}\u200E`}function ie(e){return e!==null}function ae(e){return e!==void 0}function le(e,t=100){let n;return (...r)=>{let o=()=>{clearTimeout(n),e(...r);};clearTimeout(n),n=setTimeout(o,t);}}function ge(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function de(e){try{return new URL(e),!0}catch{return !1}}
|
|
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.25
|
|
5
5
|
*/
|
|
6
6
|
import { editor } from 'monaco-editor';
|
|
7
7
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-
|
|
6
|
+
import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-K5OO3GAM-75615e96.js';
|
|
7
7
|
|
|
8
8
|
// ../../../node_modules/@arcgis/core/core/ObjectPool.js
|
|
9
9
|
function t$3(t2) {
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { g as getAssetPath } from './index-04501a90.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns the last element of an array.
|
|
@@ -120522,7 +120522,7 @@ registerLanguage({
|
|
|
120522
120522
|
mimetypes: ["text/css"],
|
|
120523
120523
|
loader: () => {
|
|
120524
120524
|
{
|
|
120525
|
-
return import('./css-
|
|
120525
|
+
return import('./css-93582172.js');
|
|
120526
120526
|
}
|
|
120527
120527
|
}
|
|
120528
120528
|
});
|
|
@@ -120540,7 +120540,7 @@ registerLanguage({
|
|
|
120540
120540
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120541
120541
|
loader: () => {
|
|
120542
120542
|
{
|
|
120543
|
-
return import('./html-
|
|
120543
|
+
return import('./html-f45b866f.js');
|
|
120544
120544
|
}
|
|
120545
120545
|
}
|
|
120546
120546
|
});
|
|
@@ -120560,7 +120560,7 @@ registerLanguage({
|
|
|
120560
120560
|
mimetypes: ["text/javascript"],
|
|
120561
120561
|
loader: () => {
|
|
120562
120562
|
{
|
|
120563
|
-
return import('./javascript-
|
|
120563
|
+
return import('./javascript-6d22b317.js');
|
|
120564
120564
|
}
|
|
120565
120565
|
}
|
|
120566
120566
|
});
|
|
@@ -120578,7 +120578,7 @@ registerLanguage({
|
|
|
120578
120578
|
mimetypes: ["text/typescript"],
|
|
120579
120579
|
loader: () => {
|
|
120580
120580
|
{
|
|
120581
|
-
return import('./typescript-
|
|
120581
|
+
return import('./typescript-6dbe886a.js');
|
|
120582
120582
|
}
|
|
120583
120583
|
}
|
|
120584
120584
|
});
|
|
@@ -120699,7 +120699,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120699
120699
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120700
120700
|
function getMode$3() {
|
|
120701
120701
|
{
|
|
120702
|
-
return import('./cssMode-
|
|
120702
|
+
return import('./cssMode-2c7cb3f0.js');
|
|
120703
120703
|
}
|
|
120704
120704
|
}
|
|
120705
120705
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120824,7 +120824,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120824
120824
|
};
|
|
120825
120825
|
function getMode$2() {
|
|
120826
120826
|
{
|
|
120827
|
-
return import('./htmlMode-
|
|
120827
|
+
return import('./htmlMode-1f7f702f.js');
|
|
120828
120828
|
}
|
|
120829
120829
|
}
|
|
120830
120830
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -120926,7 +120926,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
120926
120926
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
120927
120927
|
function getMode$1() {
|
|
120928
120928
|
{
|
|
120929
|
-
return import('./jsonMode-
|
|
120929
|
+
return import('./jsonMode-8d42c2c3.js');
|
|
120930
120930
|
}
|
|
120931
120931
|
}
|
|
120932
120932
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121195,7 +121195,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121195
121195
|
};
|
|
121196
121196
|
function getMode() {
|
|
121197
121197
|
{
|
|
121198
|
-
return import('./tsMode-
|
|
121198
|
+
return import('./tsMode-5603cacf.js');
|
|
121199
121199
|
}
|
|
121200
121200
|
}
|
|
121201
121201
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -170063,7 +170063,7 @@ class FeatureVariable extends SourceBasedVariable {
|
|
|
170063
170063
|
}
|
|
170064
170064
|
get title() {
|
|
170065
170065
|
if (isSupportedLayerInstance(this._source)) {
|
|
170066
|
-
return this._source.title;
|
|
170066
|
+
return this._source.title ?? "";
|
|
170067
170067
|
}
|
|
170068
170068
|
return { code: "feature" };
|
|
170069
170069
|
}
|
|
@@ -170077,7 +170077,7 @@ class FeatureVariable extends SourceBasedVariable {
|
|
|
170077
170077
|
throw new Error("Invalid definition");
|
|
170078
170078
|
}
|
|
170079
170079
|
// The title group and snippet
|
|
170080
|
-
const title = isSupportedLayerInstance(this._source) ? this._source.title : "";
|
|
170080
|
+
const title = isSupportedLayerInstance(this._source) ? this._source.title ?? "" : "";
|
|
170081
170081
|
this.variables.push(new GroupOfVariables(this._profile, title, [
|
|
170082
170082
|
new ValueVariable({
|
|
170083
170083
|
profile: this._profile,
|
|
@@ -170136,7 +170136,7 @@ class FeatureSetVariable extends SourceBasedVariable {
|
|
|
170136
170136
|
}
|
|
170137
170137
|
get title() {
|
|
170138
170138
|
if (isSupportedLayerInstance(this._source)) {
|
|
170139
|
-
return this._source.title;
|
|
170139
|
+
return this._source.title ?? "";
|
|
170140
170140
|
}
|
|
170141
170141
|
return { code: "featureset" };
|
|
170142
170142
|
}
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { w as main, e as editor, M as MarkerSeverity, R as Range, l as languages, x as le, E as Emitter } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { w as main, e as editor, M as MarkerSeverity, R as Range, l as languages, x as le, E as Emitter } from './arcade-defaults-f6090fed.js';
|
|
7
|
+
import './index-04501a90.js';
|
|
8
8
|
|
|
9
9
|
var j={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"},Fe=["++","--"],Qe=["-","+","!","~"],Ze=["=","/=","*=","%=","+=","-="],Xe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Fe.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Xe.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ht=Object.values(f),dt=Object.values(j);dt.map(t=>({label:t,kind:main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:main.CompletionItemKind.Keyword}));
|
|
10
10
|
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, d as de, f as ge, i as importRequest, l as languages, h as arcadeDefaults, U as Uri, W, j as filterCollection, o as oe, k as importArcade, m as h$2, Q, _, K as KeyCode, r as re, t as te, s as supportedFields, n as ne, R as Range, p as b$1, q as KeyMod } from './arcade-defaults-
|
|
6
|
+
import { f as forceUpdate, g as getAssetPath, r as registerInstance, c as createEvent, h as h$1, H as Host, a as getElement, F as Fragment } from './index-04501a90.js';
|
|
7
|
+
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, d as de, f as ge, i as importRequest, l as languages, h as arcadeDefaults, U as Uri, W, j as filterCollection, o as oe, k as importArcade, m as h$2, Q, _, K as KeyCode, r as re, t as te, s as supportedFields, n as ne, R as Range, p as b$1, q as KeyMod } from './arcade-defaults-f6090fed.js';
|
|
8
8
|
|
|
9
9
|
async function colorizeCode(code) {
|
|
10
10
|
return await editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3102,6 +3102,7 @@ var ControllerInternals = class {
|
|
|
3102
3102
|
return controller;
|
|
3103
3103
|
};
|
|
3104
3104
|
this.shouldBypassSetter = false;
|
|
3105
|
+
this.shouldBypassReadonly = false;
|
|
3105
3106
|
/**
|
|
3106
3107
|
* A map from component instance or component element to component instance.
|
|
3107
3108
|
* To get from component instance or component element to component element,
|
|
@@ -3201,16 +3202,17 @@ var unresolvableExports = [
|
|
|
3201
3202
|
// src/stencil.ts
|
|
3202
3203
|
function retrieveComponentMeta(component) {
|
|
3203
3204
|
const constructor = component.constructor;
|
|
3204
|
-
const meta = constructor.__registerControllers?.(component)
|
|
3205
|
+
const meta = constructor.__registerControllers?.(component) ?? void 0;
|
|
3205
3206
|
constructor.__registerControllers = void 0;
|
|
3206
3207
|
if (typeof meta !== "object")
|
|
3207
3208
|
throw new Error(
|
|
3208
3209
|
"Failed to retrive internal component meta. Make sure you have the useComponentsControllers() Rollup Plugin for Stencil Controllers configured in your Stencil config."
|
|
3209
3210
|
);
|
|
3210
|
-
component.manager.internals.meta = meta;
|
|
3211
|
+
component.manager.internals.meta = { members: meta[0], watchers: meta[1] };
|
|
3211
3212
|
}
|
|
3212
|
-
function parsePropertyValue(value, type =
|
|
3213
|
-
|
|
3213
|
+
function parsePropertyValue(value, type = 8 /* Any */) {
|
|
3214
|
+
const isComplex = value == null || typeof value === "object" || typeof value === "function";
|
|
3215
|
+
if (isComplex)
|
|
3214
3216
|
return value;
|
|
3215
3217
|
if ((type & 4 /* Boolean */) !== 0)
|
|
3216
3218
|
return value === "false" ? false : value === "" || !!value;
|
|
@@ -3223,10 +3225,10 @@ function parsePropertyValue(value, type = 0) {
|
|
|
3223
3225
|
}
|
|
3224
3226
|
var makeMemberFilter = (filter) => (component) => {
|
|
3225
3227
|
const meta = component.manager.internals.meta;
|
|
3226
|
-
return Object.entries(meta
|
|
3228
|
+
return Object.entries(meta.members ?? {}).filter(([_name, [propType]]) => (propType & filter) !== 0).map(([name]) => name);
|
|
3227
3229
|
};
|
|
3228
3230
|
var getPropLikeMembers = makeMemberFilter(63 /* PropLike */);
|
|
3229
|
-
var getMemberType = (component, name) => component.manager.internals.meta
|
|
3231
|
+
var getMemberType = (component, name) => component.manager.internals.meta.members?.[name]?.[0];
|
|
3230
3232
|
function getPropType(component, name) {
|
|
3231
3233
|
const type = getMemberType(component, name);
|
|
3232
3234
|
if (type === void 0)
|
|
@@ -3238,8 +3240,8 @@ function getPropType(component, name) {
|
|
|
3238
3240
|
}
|
|
3239
3241
|
function addPropertyWatcher(component, property) {
|
|
3240
3242
|
const meta = component.manager.internals.meta;
|
|
3241
|
-
meta
|
|
3242
|
-
const watchers = meta
|
|
3243
|
+
meta.watchers ?? (meta.watchers = {});
|
|
3244
|
+
const watchers = meta.watchers;
|
|
3243
3245
|
if (!(property in watchers))
|
|
3244
3246
|
watchers[property] = [];
|
|
3245
3247
|
if (!watchers[property].includes(watcherCallbackName))
|
|
@@ -3305,7 +3307,15 @@ var _Controller = class _Controller {
|
|
|
3305
3307
|
if (this.connectedCalled)
|
|
3306
3308
|
return;
|
|
3307
3309
|
this.triggerConnected();
|
|
3308
|
-
|
|
3310
|
+
const loadWillStillHappen = !this.component.manager.willLoadCalled;
|
|
3311
|
+
if (loadWillStillHappen)
|
|
3312
|
+
return;
|
|
3313
|
+
this.triggerLoad().then(() => {
|
|
3314
|
+
const loadedWillStillHappen = !this.component.manager.didLoadCalled;
|
|
3315
|
+
if (loadedWillStillHappen)
|
|
3316
|
+
return;
|
|
3317
|
+
this.triggerLoaded();
|
|
3318
|
+
}).catch(console.error);
|
|
3309
3319
|
}
|
|
3310
3320
|
get exports() {
|
|
3311
3321
|
return this._exports;
|
|
@@ -3395,6 +3405,16 @@ var _Controller = class _Controller {
|
|
|
3395
3405
|
_Controller.internals.shouldBypassSetter = false;
|
|
3396
3406
|
return result;
|
|
3397
3407
|
}
|
|
3408
|
+
/**
|
|
3409
|
+
* Like bypassSetter, but only bypasses this.manager.readonly(), rather that
|
|
3410
|
+
* all setters set using this.manager.getSet()
|
|
3411
|
+
*/
|
|
3412
|
+
bypassReadonly(callback) {
|
|
3413
|
+
_Controller.internals.shouldBypassReadonly = true;
|
|
3414
|
+
const result = safeCall(callback);
|
|
3415
|
+
_Controller.internals.shouldBypassReadonly = false;
|
|
3416
|
+
return result;
|
|
3417
|
+
}
|
|
3398
3418
|
/**
|
|
3399
3419
|
* Like this.manager.getSet(), but can be called on any component's
|
|
3400
3420
|
* state/prop from anywhere, rather than just from the default value
|
|
@@ -3575,7 +3595,7 @@ function makeProvisionalValue(base) {
|
|
|
3575
3595
|
get(target, prop, receiver) {
|
|
3576
3596
|
if (cyclical.has(prop) && prop in target && target[prop] === proxy3)
|
|
3577
3597
|
return void 0;
|
|
3578
|
-
if (prop in target ||
|
|
3598
|
+
if (prop in target || prop in Promise.prototype || typeof prop === "symbol")
|
|
3579
3599
|
return typeof target === "function" ? target[prop] : Reflect.get(target, prop, receiver);
|
|
3580
3600
|
console.error(`Trying to access "${prop.toString()}" on the controller before it's loaded. ${accessBeforeLoad}`);
|
|
3581
3601
|
return void 0;
|
|
@@ -3587,7 +3607,6 @@ function makeProvisionalValue(base) {
|
|
|
3587
3607
|
});
|
|
3588
3608
|
return proxy3;
|
|
3589
3609
|
}
|
|
3590
|
-
var promiseMethods = /* @__PURE__ */ new Set(["then", "catch", "finally"]);
|
|
3591
3610
|
var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
|
|
3592
3611
|
var accessBeforeLoad = [
|
|
3593
3612
|
"This might be the case if you are trying to access an async controller in ",
|
|
@@ -3806,14 +3825,14 @@ async function importCoreAccessor() {
|
|
|
3806
3825
|
if (isAMD) {
|
|
3807
3826
|
return await window.$arcgis.import("esri/core/Accessor");
|
|
3808
3827
|
}
|
|
3809
|
-
const module = await import('./Accessor-
|
|
3828
|
+
const module = await import('./Accessor-K5EEI5WT-0598ef2e.js');
|
|
3810
3829
|
return isDefaultModule(module) ? module.default : module;
|
|
3811
3830
|
}
|
|
3812
3831
|
async function importCoreAccessorSupportDecorators() {
|
|
3813
3832
|
if (isAMD) {
|
|
3814
3833
|
return await window.$arcgis.import("esri/core/accessorSupport/decorators");
|
|
3815
3834
|
}
|
|
3816
|
-
const module = await import('./decorators-
|
|
3835
|
+
const module = await import('./decorators-ROXODUND-72a4f40b.js');
|
|
3817
3836
|
return isDefaultModule(module) ? module.default : module;
|
|
3818
3837
|
}
|
|
3819
3838
|
|
|
@@ -3824,7 +3843,7 @@ async function accessorIntegration(component) {
|
|
|
3824
3843
|
const getSet = {
|
|
3825
3844
|
get: (value, propertyName) => {
|
|
3826
3845
|
const accessorValue = accessor?.[propertyName];
|
|
3827
|
-
return value ?? accessorValue;
|
|
3846
|
+
return value ?? accessorValue ?? value;
|
|
3828
3847
|
},
|
|
3829
3848
|
set: (newValue, oldValue, propertyName) => {
|
|
3830
3849
|
if (accessor !== void 0)
|
|
@@ -4068,16 +4087,36 @@ var ControllerManager = class extends GenericController {
|
|
|
4068
4087
|
if (!this.component.el.isConnected && !this.component.preserveOnDisconnect)
|
|
4069
4088
|
void this.destroy().catch(console.error);
|
|
4070
4089
|
}
|
|
4090
|
+
/**
|
|
4091
|
+
* Make a @Prop() or @State() readonly (prevent overwriting default value).
|
|
4092
|
+
*
|
|
4093
|
+
* For internal properties, prefer TypeScript's "readonly" modifier instead.
|
|
4094
|
+
*
|
|
4095
|
+
* @example
|
|
4096
|
+
* // Defining readonly prop
|
|
4097
|
+
* @Prop({ reflect: true }) prop = this.manager.readonly('a');
|
|
4098
|
+
*
|
|
4099
|
+
* @example
|
|
4100
|
+
* // Overwriting readonly prop internally
|
|
4101
|
+
* this.manager.bypassReadonly(()=>{
|
|
4102
|
+
* this.prop = 'b';
|
|
4103
|
+
* });
|
|
4104
|
+
*
|
|
4105
|
+
*/
|
|
4071
4106
|
readonly(value) {
|
|
4072
|
-
return this.getSet(value, {
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4107
|
+
return this.getSet(value, { set: this._readonlySetter });
|
|
4108
|
+
}
|
|
4109
|
+
_readonlySetter(newValue, _oldValue, property) {
|
|
4110
|
+
if (Controller.internals.shouldBypassReadonly)
|
|
4111
|
+
return newValue;
|
|
4112
|
+
const isProp = getPropType(this.component, property) === "prop";
|
|
4113
|
+
if (isProp)
|
|
4114
|
+
forceUpdate(this.component);
|
|
4115
|
+
throw new Error(
|
|
4116
|
+
`Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
|
|
4117
|
+
newValue
|
|
4118
|
+
)}"`
|
|
4119
|
+
);
|
|
4081
4120
|
}
|
|
4082
4121
|
/**
|
|
4083
4122
|
* Listen for any component's @State()/@Prop() change, and mutate it's
|
|
@@ -4105,10 +4144,15 @@ var ControllerManager = class extends GenericController {
|
|
|
4105
4144
|
*/
|
|
4106
4145
|
getSet(defaultValue, getSet) {
|
|
4107
4146
|
return this.component.manager.trackPropKey((name) => {
|
|
4147
|
+
var _a2;
|
|
4108
4148
|
if (name === void 0)
|
|
4109
4149
|
throw new Error(
|
|
4110
4150
|
"Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})"
|
|
4111
4151
|
);
|
|
4152
|
+
if (getSet.set === this._readonlySetter) {
|
|
4153
|
+
(_a2 = this.internals).readonlyProps ?? (_a2.readonlyProps = /* @__PURE__ */ new Set());
|
|
4154
|
+
this.internals.readonlyProps.add(name);
|
|
4155
|
+
}
|
|
4112
4156
|
const genericComponent = this.component;
|
|
4113
4157
|
const value = genericComponent[name];
|
|
4114
4158
|
if (value != null && value !== defaultValue && typeof getSet.set === "function" && getSet.initialSet !== false) {
|
|
@@ -4152,7 +4196,15 @@ function setProxy(controller, host, key, initialExports) {
|
|
|
4152
4196
|
if (controllerValueChanged && !hostValueChanged && controllerUpdatedExports)
|
|
4153
4197
|
genericHost[key] = controller.exports;
|
|
4154
4198
|
controller.watchExports(() => {
|
|
4155
|
-
if (genericHost[key]
|
|
4199
|
+
if (genericHost[key] === controller.exports)
|
|
4200
|
+
return;
|
|
4201
|
+
const manager = controller.component.manager;
|
|
4202
|
+
const isReadOnly = manager.internals.readonlyProps?.has(key) === true;
|
|
4203
|
+
if (isReadOnly)
|
|
4204
|
+
manager.bypassReadonly(() => {
|
|
4205
|
+
genericHost[key] = controller.exports;
|
|
4206
|
+
});
|
|
4207
|
+
else
|
|
4156
4208
|
genericHost[key] = controller.exports;
|
|
4157
4209
|
});
|
|
4158
4210
|
}
|
|
@@ -4181,7 +4233,7 @@ var FunctionalController = class extends Controller {
|
|
|
4181
4233
|
} else {
|
|
4182
4234
|
if (!constructorChangedExports || value !== void 0)
|
|
4183
4235
|
this.exports = value;
|
|
4184
|
-
super.catchUpLifecycle();
|
|
4236
|
+
queueMicrotask(() => super.catchUpLifecycle());
|
|
4185
4237
|
}
|
|
4186
4238
|
} catch (error) {
|
|
4187
4239
|
this._ready.reject(error);
|
|
@@ -4365,7 +4417,7 @@ async function getArcadeWorker(uri) {
|
|
|
4365
4417
|
* @returns arcade mode module
|
|
4366
4418
|
*/
|
|
4367
4419
|
async function getMode() {
|
|
4368
|
-
return await import('./arcade-mode-
|
|
4420
|
+
return await import('./arcade-mode-0ad4cb23.js');
|
|
4369
4421
|
}
|
|
4370
4422
|
// Register the language in Monaco
|
|
4371
4423
|
languages.register({
|
|
@@ -4760,7 +4812,7 @@ async function executeScript(editorProfile, script, testContext, console) {
|
|
|
4760
4812
|
}
|
|
4761
4813
|
}
|
|
4762
4814
|
|
|
4763
|
-
const arcadeEditorCss = "arcgis-arcade-editor{display:flex;flex-direction:column;
|
|
4815
|
+
const arcadeEditorCss = "arcgis-arcade-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)}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:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);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:25%}arcgis-arcade-editor .side-panel{max-width:45%;width:600px}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:1px solid var(--calcite-color-border-3);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:1px solid var(--calcite-color-border-3);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}arcgis-arcade-editor calcite-list-item-group calcite-list-item{margin-bottom:1px;box-shadow:0 1px 0 var(--calcite-color-border-3)}arcgis-arcade-editor calcite-list-item-group calcite-list-item:last-child{box-shadow:none}arcgis-arcade-editor calcite-list-item-group:last-child{margin-bottom:var(--calcite-spacing-xl)}";
|
|
4764
4816
|
|
|
4765
4817
|
const ArcgisArcadeEditor = class {
|
|
4766
4818
|
constructor(hostRef) {
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-04501a90.js';
|
|
7
|
+
export { s as setNonce } from './index-04501a90.js';
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -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.25
|
|
5
5
|
*/
|
|
6
6
|
// ../../../node_modules/@arcgis/core/core/has.js
|
|
7
7
|
var e$3;
|
|
@@ -57,9 +57,9 @@ var v$2 = class {
|
|
|
57
57
|
this.last = 0;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
var b$
|
|
60
|
+
var b$3 = new v$2();
|
|
61
61
|
function S$1(n2, t5, e5, r3) {
|
|
62
|
-
r3 = r3 || b$
|
|
62
|
+
r3 = r3 || b$3;
|
|
63
63
|
const o4 = Math.max(0, r3.last - 10);
|
|
64
64
|
for (let u4 = o4; u4 < e5; ++u4)
|
|
65
65
|
if (n2[u4] === t5)
|
|
@@ -77,7 +77,7 @@ function j$3(n2, t5, e5 = n2.length, r3 = t5.length, o4, l2) {
|
|
|
77
77
|
I$1.clear();
|
|
78
78
|
for (let f4 = 0; f4 < r3; ++f4)
|
|
79
79
|
I$1.add(t5[f4]);
|
|
80
|
-
o4 = o4 || b$
|
|
80
|
+
o4 = o4 || b$3;
|
|
81
81
|
const u4 = Math.max(0, o4.last - 10);
|
|
82
82
|
for (let f4 = u4; f4 < e5; ++f4)
|
|
83
83
|
if (I$1.has(n2[f4]) && (l2?.push(n2[f4]), I$1.delete(n2[f4]), n2[f4] = n2[e5 - 1], --e5, --f4, 0 === I$1.size || 0 === e5))
|
|
@@ -129,7 +129,7 @@ function a2$1(t) {
|
|
|
129
129
|
return t.clone();
|
|
130
130
|
if (m2$1(t))
|
|
131
131
|
return t.map(a2$1);
|
|
132
|
-
if (b$
|
|
132
|
+
if (b$2(t))
|
|
133
133
|
return t.clone();
|
|
134
134
|
const e2 = {};
|
|
135
135
|
for (const r of Object.getOwnPropertyNames(t))
|
|
@@ -142,7 +142,7 @@ function y$3(t) {
|
|
|
142
142
|
function m2$1(t) {
|
|
143
143
|
return "function" == typeof t.map && "function" == typeof t.forEach;
|
|
144
144
|
}
|
|
145
|
-
function b$
|
|
145
|
+
function b$2(t) {
|
|
146
146
|
return "function" == typeof t.notifyChange && "function" == typeof t.watch;
|
|
147
147
|
}
|
|
148
148
|
function O(t) {
|
|
@@ -185,41 +185,41 @@ function o$1(r2, n2, t2) {
|
|
|
185
185
|
}
|
|
186
186
|
function e$2(r2, n2, t2) {
|
|
187
187
|
let o2 = t2;
|
|
188
|
-
for (const
|
|
188
|
+
for (const e2 of r2) {
|
|
189
189
|
if (null == o2)
|
|
190
190
|
return;
|
|
191
|
-
if (!(
|
|
191
|
+
if (!(e2 in o2)) {
|
|
192
192
|
if (!n2)
|
|
193
193
|
return;
|
|
194
|
-
o2[
|
|
194
|
+
o2[e2] = {};
|
|
195
195
|
}
|
|
196
|
-
o2 = o2[
|
|
196
|
+
o2 = o2[e2];
|
|
197
197
|
}
|
|
198
198
|
return o2;
|
|
199
199
|
}
|
|
200
200
|
function i$3(n2, t2, o2) {
|
|
201
|
-
return t2 ? Object.keys(t2).reduce((n3,
|
|
202
|
-
let u = n3[
|
|
203
|
-
return u === c ? n3 : void 0 === u ? (n3[
|
|
201
|
+
return t2 ? Object.keys(t2).reduce((n3, e2) => {
|
|
202
|
+
let u = n3[e2], c = t2[e2];
|
|
203
|
+
return u === c ? n3 : void 0 === u ? (n3[e2] = a2$1(c), n3) : (Array.isArray(c) || Array.isArray(n3) ? (u = u ? Array.isArray(u) ? n3[e2] = u.concat() : n3[e2] = [u] : n3[e2] = [], c && (Array.isArray(c) || (c = [c]), o2 ? c.forEach((r2) => {
|
|
204
204
|
u.includes(r2) || u.push(r2);
|
|
205
|
-
}) : n3[
|
|
205
|
+
}) : n3[e2] = c.concat())) : c && "object" == typeof c ? n3[e2] = i$3(u, c, o2) : n3.hasOwnProperty(e2) && !t2.hasOwnProperty(e2) || (n3[e2] = c), n3);
|
|
206
206
|
}, n2 || {}) : n2;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
// ../../../node_modules/@arcgis/core/support/revision.js
|
|
210
|
-
var
|
|
210
|
+
var b$1 = "20240405";
|
|
211
211
|
|
|
212
212
|
// ../../../node_modules/@arcgis/core/config.js
|
|
213
213
|
var r$3 = { apiKey: void 0, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: true, portalUrl: "https://www.arcgis.com", routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 6e4, trustedServers: [], useIdentity: true }, log: { interceptors: [], level: null } };
|
|
214
214
|
if (globalThis.esriConfig && (n$1(r$3, globalThis.esriConfig, true), delete r$3.has), !r$3.assetsPath) {
|
|
215
215
|
{
|
|
216
|
-
const
|
|
217
|
-
r$3.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${
|
|
216
|
+
const e2 = "4.30.0";
|
|
217
|
+
r$3.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${e2}-next.${b$1}/assets`;
|
|
218
218
|
}
|
|
219
219
|
r$3.defaultAssetsPath = r$3.assetsPath;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
function
|
|
222
|
+
function u$3(t2) {
|
|
223
223
|
let e2 = 0;
|
|
224
224
|
for (let n3 = 0; n3 < t2.length; n3++)
|
|
225
225
|
e2 = (e2 << 5) - e2 + t2.charCodeAt(n3), e2 |= 0;
|
|
@@ -324,7 +324,7 @@ function o2$2(e2, t2, ...r4) {
|
|
|
324
324
|
}
|
|
325
325
|
function s$2(...e2) {
|
|
326
326
|
const r4 = (e3, t2) => "object" != typeof t2 || Array.isArray(t2) ? t2 : "[Object]";
|
|
327
|
-
return
|
|
327
|
+
return u$3(JSON.stringify(e2, r4));
|
|
328
328
|
}
|
|
329
329
|
n2$2._loggers = /* @__PURE__ */ new Map(), n2$2._tickCounter = 0, n2$2._tickCounterScheduled = false, n2$2._throttlingDisabled = false;
|
|
330
330
|
|
|
@@ -572,12 +572,12 @@ function s(s3, e2) {
|
|
|
572
572
|
return s3.replaceAll(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g, (s4, r) => {
|
|
573
573
|
if ("" === r)
|
|
574
574
|
return "$";
|
|
575
|
-
const
|
|
576
|
-
return (
|
|
575
|
+
const i = t$1(r, e2);
|
|
576
|
+
return (i ?? "").toString();
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
579
|
var e = class {
|
|
580
|
-
constructor(t2, e2, r) {
|
|
580
|
+
constructor(t2, e2, r = void 0) {
|
|
581
581
|
this.name = t2, this.details = r, this.message = (e2 && s(e2, r)) ?? "";
|
|
582
582
|
}
|
|
583
583
|
toString() {
|
|
@@ -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.25
|
|
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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { u as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { u as monaco_editor_core_star } from './arcade-defaults-f6090fed.js';
|
|
7
|
+
import './index-04501a90.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { l as o$2, y, q as d2, w as o5, x as d } from './chunk-
|
|
7
|
-
export { z as ensureRange, A as finalizeClass, y as property, q as propertyJSONMeta, a as subclass } from './chunk-
|
|
6
|
+
import { l as o$2, y, q as d2, w as o5, x as d } from './chunk-K5OO3GAM-75615e96.js';
|
|
7
|
+
export { z as ensureRange, A as finalizeClass, y as property, q as propertyJSONMeta, a as subclass } from './chunk-K5OO3GAM-75615e96.js';
|
|
8
8
|
|
|
9
9
|
// ../../../node_modules/@arcgis/core/core/jsonMap.js
|
|
10
10
|
var n$1 = class {
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.25
|
|
5
5
|
*/
|
|
6
|
-
import { u as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { u as monaco_editor_core_star } from './arcade-defaults-f6090fed.js';
|
|
7
|
+
import './index-04501a90.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|