@arcgis/coding-components 4.29.0-beta.97 → 4.29.0-beta.99
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-4725e9d0.js → p-0bab0228.js} +2 -2
- package/dist/arcgis-coding-components/{p-6f67b95c.js → p-457e3916.js} +2 -2
- package/dist/arcgis-coding-components/{p-4652103b.js → p-4648782b.js} +2 -2
- package/dist/arcgis-coding-components/{p-166e758f.entry.js → p-6d56a4b8.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-ca2976e7.js → p-7e0e8ecc.js} +2 -2
- package/dist/arcgis-coding-components/{p-c06a1a38.js → p-7f9d3fdc.js} +1 -1
- package/dist/arcgis-coding-components/{p-8636bc80.js → p-87d7ad9e.js} +1 -1
- package/dist/arcgis-coding-components/{p-21988d04.js → p-a75f5087.js} +2 -2
- package/dist/arcgis-coding-components/{p-1abe4799.js → p-ad86a5f5.js} +11 -11
- package/dist/arcgis-coding-components/{p-693cf7f2.js → p-e1cb02b3.js} +2 -2
- package/dist/arcgis-coding-components/{p-1a91ed86.js → p-f23f7fee.js} +2 -2
- package/dist/arcgis-coding-components/{p-73a68059.js → p-f75beb80.js} +2 -2
- package/dist/cjs/{arcade-defaults-7703ca68.js → arcade-defaults-5dd9ebb7.js} +24 -24
- package/dist/cjs/{arcade-mode-944cc19c.js → arcade-mode-0b4c53a1.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +33 -33
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{css-26819245.js → css-fe7f8980.js} +1 -1
- package/dist/cjs/{cssMode-2b8c52d6.js → cssMode-4c9b3a32.js} +3 -3
- package/dist/cjs/{html-ff3d887e.js → html-b044fbba.js} +3 -3
- package/dist/cjs/{htmlMode-185f1416.js → htmlMode-956a6ffa.js} +3 -3
- package/dist/cjs/{index-1fce10d0.js → index-aaceaf1f.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-7dfbbcc3.js → javascript-6c55ac8b.js} +4 -4
- package/dist/cjs/{jsonMode-b570c4f8.js → jsonMode-d83e322c.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-64276b5a.js → tsMode-5c5ffa3e.js} +3 -3
- package/dist/cjs/{typescript-80dcbc03.js → typescript-6143656a.js} +3 -3
- package/dist/components/arcade-api.js +7 -7
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +8 -8
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +13 -13
- package/dist/components/arcade-suggestions.js +5 -5
- package/dist/components/arcade-variables.js +6 -6
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +6 -6
- 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-code-editor.js +1 -1
- package/dist/components/code-editor.js +4 -4
- package/dist/components/fields.js +1 -1
- package/dist/components/functional-components.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +3 -3
- package/dist/esm/{arcade-defaults-592970ff.js → arcade-defaults-2d7283d4.js} +19 -19
- package/dist/esm/{arcade-mode-16d67a1f.js → arcade-mode-a8abe5af.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +33 -33
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{css-426f209f.js → css-d31a02ca.js} +1 -1
- package/dist/esm/{cssMode-58f3e1a5.js → cssMode-5ee45e91.js} +3 -3
- package/dist/esm/{html-641458f7.js → html-5c2e488c.js} +3 -3
- package/dist/esm/{htmlMode-217430c8.js → htmlMode-376cd5e8.js} +3 -3
- package/dist/esm/{index-93510b9c.js → index-1b265749.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-5a82d8fc.js → javascript-13ddec2b.js} +4 -4
- package/dist/esm/{jsonMode-d7123239.js → jsonMode-674e89d6.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-1a0b9397.js → tsMode-4c4398d7.js} +3 -3
- package/dist/esm/{typescript-125e311f.js → typescript-b328b622.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 +8 -17
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
|
-
import{t,r as e}from"./p-
|
|
6
|
+
import{t,r as e}from"./p-ad86a5f5.js";import"./p-7f9d3fdc.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
|
-
import{r as e}from"./p-
|
|
6
|
+
import{r as e}from"./p-ad86a5f5.js";import"./p-7f9d3fdc.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
|
-
import{r as t}from"./p-
|
|
6
|
+
import{r as t}from"./p-ad86a5f5.js";import"./p-7f9d3fdc.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-aaceaf1f.js');
|
|
9
9
|
|
|
10
10
|
function _interopNamespace(e) {
|
|
11
11
|
if (e && e.__esModule) return e;
|
|
@@ -120544,7 +120544,7 @@ registerLanguage({
|
|
|
120544
120544
|
mimetypes: ["text/css"],
|
|
120545
120545
|
loader: () => {
|
|
120546
120546
|
{
|
|
120547
|
-
return Promise.resolve().then(function () { return require('./css-
|
|
120547
|
+
return Promise.resolve().then(function () { return require('./css-fe7f8980.js'); });
|
|
120548
120548
|
}
|
|
120549
120549
|
}
|
|
120550
120550
|
});
|
|
@@ -120562,7 +120562,7 @@ registerLanguage({
|
|
|
120562
120562
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120563
120563
|
loader: () => {
|
|
120564
120564
|
{
|
|
120565
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
120565
|
+
return Promise.resolve().then(function () { return require('./html-b044fbba.js'); });
|
|
120566
120566
|
}
|
|
120567
120567
|
}
|
|
120568
120568
|
});
|
|
@@ -120582,7 +120582,7 @@ registerLanguage({
|
|
|
120582
120582
|
mimetypes: ["text/javascript"],
|
|
120583
120583
|
loader: () => {
|
|
120584
120584
|
{
|
|
120585
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
120585
|
+
return Promise.resolve().then(function () { return require('./javascript-6c55ac8b.js'); });
|
|
120586
120586
|
}
|
|
120587
120587
|
}
|
|
120588
120588
|
});
|
|
@@ -120600,7 +120600,7 @@ registerLanguage({
|
|
|
120600
120600
|
mimetypes: ["text/typescript"],
|
|
120601
120601
|
loader: () => {
|
|
120602
120602
|
{
|
|
120603
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
120603
|
+
return Promise.resolve().then(function () { return require('./typescript-6143656a.js'); });
|
|
120604
120604
|
}
|
|
120605
120605
|
}
|
|
120606
120606
|
});
|
|
@@ -120721,7 +120721,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120721
120721
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120722
120722
|
function getMode$3() {
|
|
120723
120723
|
{
|
|
120724
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
120724
|
+
return Promise.resolve().then(function () { return require('./cssMode-4c9b3a32.js'); });
|
|
120725
120725
|
}
|
|
120726
120726
|
}
|
|
120727
120727
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120846,7 +120846,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120846
120846
|
};
|
|
120847
120847
|
function getMode$2() {
|
|
120848
120848
|
{
|
|
120849
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
120849
|
+
return Promise.resolve().then(function () { return require('./htmlMode-956a6ffa.js'); });
|
|
120850
120850
|
}
|
|
120851
120851
|
}
|
|
120852
120852
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -120948,7 +120948,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
120948
120948
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
120949
120949
|
function getMode$1() {
|
|
120950
120950
|
{
|
|
120951
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
120951
|
+
return Promise.resolve().then(function () { return require('./jsonMode-d83e322c.js'); });
|
|
120952
120952
|
}
|
|
120953
120953
|
}
|
|
120954
120954
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121217,7 +121217,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121217
121217
|
};
|
|
121218
121218
|
function getMode() {
|
|
121219
121219
|
{
|
|
121220
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
121220
|
+
return Promise.resolve().then(function () { return require('./tsMode-5c5ffa3e.js'); });
|
|
121221
121221
|
}
|
|
121222
121222
|
}
|
|
121223
121223
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -169098,7 +169098,7 @@ function isPredefinedProfile(item) {
|
|
|
169098
169098
|
!Array.isArray(item.definitions));
|
|
169099
169099
|
}
|
|
169100
169100
|
|
|
169101
|
-
var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(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 x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(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
|
|
169101
|
+
var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(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 x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(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 k(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function F(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(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 U(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=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"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function B(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function H(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function Q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function D(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function K(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function Z(e){return `\u200E${e??""}\u200E`}function Y(e){return e!==null}function ee(e){return e!==void 0}function oe(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 se(e){try{return new URL(e),!0}catch{return !1}}
|
|
169102
169102
|
|
|
169103
169103
|
/**
|
|
169104
169104
|
* Filters a collection of items by the given keys and filter word.
|
|
@@ -169111,7 +169111,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
|
|
|
169111
169111
|
if (!_keys.length) {
|
|
169112
169112
|
return [];
|
|
169113
169113
|
}
|
|
169114
|
-
const filterExpression =
|
|
169114
|
+
const filterExpression = D(filterWord);
|
|
169115
169115
|
return collection.filter((item) => {
|
|
169116
169116
|
if (beforeFilteringFn) {
|
|
169117
169117
|
const res = beforeFilteringFn(item);
|
|
@@ -169582,9 +169582,9 @@ class ProfileItemBase {
|
|
|
169582
169582
|
// If the component is under RTL, the string is messed up.
|
|
169583
169583
|
// It is converted from $feature to feature$, This is not acceptable since the label
|
|
169584
169584
|
// represents a variable name. We are adding in front of the $ sign a right to left mark.
|
|
169585
|
-
return
|
|
169585
|
+
return Z(this._label);
|
|
169586
169586
|
}
|
|
169587
|
-
return
|
|
169587
|
+
return K(this._profile?.intlStrings[this._label.code], this._label.formatValues);
|
|
169588
169588
|
}
|
|
169589
169589
|
/**
|
|
169590
169590
|
* Returns the description string.
|
|
@@ -169596,7 +169596,7 @@ class ProfileItemBase {
|
|
|
169596
169596
|
if (typeof this.description === "string") {
|
|
169597
169597
|
return this.description;
|
|
169598
169598
|
}
|
|
169599
|
-
return
|
|
169599
|
+
return K(this._profile?.intlStrings[this.description.code], this.description.formatValues);
|
|
169600
169600
|
}
|
|
169601
169601
|
/**
|
|
169602
169602
|
* Returns true if the item pass the filter test
|
|
@@ -169828,7 +169828,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
169828
169828
|
return this._profile?.intlStrings.layer ?? "layer";
|
|
169829
169829
|
}
|
|
169830
169830
|
async loadSource() {
|
|
169831
|
-
if (
|
|
169831
|
+
if (Y(this._loadPromise) && ee(this._loadPromise)) {
|
|
169832
169832
|
return await this._loadPromise;
|
|
169833
169833
|
}
|
|
169834
169834
|
this._loadPromise = this._loadSource();
|
|
@@ -170024,7 +170024,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
170024
170024
|
nonInteractive: true
|
|
170025
170025
|
}, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
|
|
170026
170026
|
}));
|
|
170027
|
-
relationshipsGroup.variables = relationshipItems.filter(
|
|
170027
|
+
relationshipsGroup.variables = relationshipItems.filter(Y);
|
|
170028
170028
|
if (!relationshipsGroup.variables.length) {
|
|
170029
170029
|
return null;
|
|
170030
170030
|
}
|
|
@@ -170182,7 +170182,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170182
170182
|
return this._profile?.intlStrings.featureservice ?? "featureservice";
|
|
170183
170183
|
}
|
|
170184
170184
|
async loadSource() {
|
|
170185
|
-
if (
|
|
170185
|
+
if (Y(this._loadPromise) && ee(this._loadPromise)) {
|
|
170186
170186
|
return await this._loadPromise;
|
|
170187
170187
|
}
|
|
170188
170188
|
this._loadPromise = this._loadSource();
|
|
@@ -170680,20 +170680,21 @@ const arcade = {
|
|
|
170680
170680
|
setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
|
|
170681
170681
|
};
|
|
170682
170682
|
|
|
170683
|
+
exports.B = B;
|
|
170683
170684
|
exports.D = D;
|
|
170684
170685
|
exports.Emitter = Emitter;
|
|
170685
|
-
exports.
|
|
170686
|
+
exports.F = F;
|
|
170686
170687
|
exports.H = H;
|
|
170687
|
-
exports.I = I;
|
|
170688
170688
|
exports.IStandaloneThemeService = IStandaloneThemeService;
|
|
170689
|
-
exports.
|
|
170689
|
+
exports.K = K;
|
|
170690
170690
|
exports.KeyCode = KeyCode;
|
|
170691
170691
|
exports.KeyMod = KeyMod;
|
|
170692
170692
|
exports.MarkerSeverity = MarkerSeverity;
|
|
170693
|
-
exports.
|
|
170693
|
+
exports.Q = Q;
|
|
170694
170694
|
exports.Range = Range;
|
|
170695
170695
|
exports.U = U;
|
|
170696
170696
|
exports.Uri = Uri;
|
|
170697
|
+
exports.Z = Z;
|
|
170697
170698
|
exports.arcade = arcade;
|
|
170698
170699
|
exports.arcadeDefaults = arcadeDefaults;
|
|
170699
170700
|
exports.commonjsGlobal = commonjsGlobal;
|
|
@@ -170704,13 +170705,12 @@ exports.generateTokensCSSForColorMap = generateTokensCSSForColorMap;
|
|
|
170704
170705
|
exports.h = h;
|
|
170705
170706
|
exports.importArcade = importArcade;
|
|
170706
170707
|
exports.importRequest = importRequest;
|
|
170708
|
+
exports.k = k;
|
|
170707
170709
|
exports.languages = languages;
|
|
170708
170710
|
exports.main = main;
|
|
170709
170711
|
exports.monaco_editor_core_star = monaco_editor_core_star;
|
|
170710
170712
|
exports.oe = oe;
|
|
170711
|
-
exports.q = q;
|
|
170712
170713
|
exports.se = se;
|
|
170713
170714
|
exports.supportedFields = supportedFields;
|
|
170714
170715
|
exports.typescriptDefaults = typescriptDefaults;
|
|
170715
170716
|
exports.x = x;
|
|
170716
|
-
exports.z = z;
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
9
|
+
require('./index-aaceaf1f.js');
|
|
10
10
|
|
|
11
11
|
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:arcadeDefaults.main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.CompletionItemKind.Keyword}));
|
|
12
12
|
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
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 arcadeDefaults = require('./arcade-defaults-
|
|
10
|
+
const index = require('./index-aaceaf1f.js');
|
|
11
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
12
12
|
|
|
13
13
|
async function colorizeCode(code) {
|
|
14
14
|
return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3024,7 +3024,7 @@ async function getArcadeWorker(uri) {
|
|
|
3024
3024
|
* @returns mode for arcade
|
|
3025
3025
|
*/
|
|
3026
3026
|
async function getMode() {
|
|
3027
|
-
return await Promise.resolve().then(function () { return require('./arcade-mode-
|
|
3027
|
+
return await Promise.resolve().then(function () { return require('./arcade-mode-0b4c53a1.js'); });
|
|
3028
3028
|
}
|
|
3029
3029
|
// Register the language in Monaco
|
|
3030
3030
|
arcadeDefaults.languages.register({
|
|
@@ -3108,7 +3108,7 @@ const ArcgisArcadeApi = class {
|
|
|
3108
3108
|
async componentWillLoad() {
|
|
3109
3109
|
this._colorizeStyle = generateColorizeStyles();
|
|
3110
3110
|
this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
|
|
3111
|
-
await arcadeDefaults.
|
|
3111
|
+
await arcadeDefaults.B(this, index.getAssetPath("./assets"));
|
|
3112
3112
|
arcadeDefaults.arcadeDefaults.onModelContextDidChange((key) => {
|
|
3113
3113
|
if (!this.modelId || key !== arcadeDefaults.Uri.parse(this.modelId).toString()) {
|
|
3114
3114
|
return;
|
|
@@ -3118,7 +3118,7 @@ const ArcgisArcadeApi = class {
|
|
|
3118
3118
|
this._updateApiLibrary();
|
|
3119
3119
|
}
|
|
3120
3120
|
disconnectedCallback() {
|
|
3121
|
-
arcadeDefaults.
|
|
3121
|
+
arcadeDefaults.H(this);
|
|
3122
3122
|
this._flowObserver?.disconnect();
|
|
3123
3123
|
this._themeChangedListner?.dispose();
|
|
3124
3124
|
}
|
|
@@ -3163,7 +3163,7 @@ const ArcgisArcadeApi = class {
|
|
|
3163
3163
|
// When switching between flow the same reference is reused
|
|
3164
3164
|
this._flowObserver = new MutationObserver(() => {
|
|
3165
3165
|
// Get the last panel and try to set focus on the input element
|
|
3166
|
-
arcadeDefaults.
|
|
3166
|
+
arcadeDefaults.F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
|
|
3167
3167
|
});
|
|
3168
3168
|
this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
|
|
3169
3169
|
}
|
|
@@ -3174,14 +3174,14 @@ const ArcgisArcadeApi = class {
|
|
|
3174
3174
|
if (!filteredApiItems.length) {
|
|
3175
3175
|
return null;
|
|
3176
3176
|
}
|
|
3177
|
-
return (index.h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (index.h("calcite-list-item", { label: arcadeDefaults.
|
|
3177
|
+
return (index.h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (index.h("calcite-list-item", { label: arcadeDefaults.Z(apiItem.completion.detail), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": apiItem }, index.h("calcite-action", { slot: "actions-end", text: this._t9nStrings?.expand ?? "Expand", icon: "chevron-right", iconFlipRtl: true, scale: "s", onClick: this._selectItem, "data-item": apiItem }))))));
|
|
3178
3178
|
}
|
|
3179
3179
|
renderApiItemFlowItem() {
|
|
3180
3180
|
const apiItem = this._selectedApiItem;
|
|
3181
3181
|
if (!apiItem) {
|
|
3182
3182
|
return null;
|
|
3183
3183
|
}
|
|
3184
|
-
return (index.h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (index.h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), index.h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), index.h("calcite-block", { open: true, heading: arcadeDefaults.
|
|
3184
|
+
return (index.h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (index.h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), index.h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), index.h("calcite-block", { open: true, heading: arcadeDefaults.Z(apiItem.completion.detail) }, index.h("div", { innerHTML: convertMarkdownString(apiItem.completion.documentation) }), apiItem.examples ? (index.h("div", { ref: (e) => {
|
|
3185
3185
|
if (!e) {
|
|
3186
3186
|
return;
|
|
3187
3187
|
}
|
|
@@ -3495,7 +3495,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3495
3495
|
this.scriptChange = index.createEvent(this, "scriptChange", 3);
|
|
3496
3496
|
this.diagnosticsChange = index.createEvent(this, "diagnosticsChange", 3);
|
|
3497
3497
|
this._componentReadyDefer = new arcadeDefaults.h();
|
|
3498
|
-
this._modelId = arcadeDefaults.
|
|
3498
|
+
this._modelId = arcadeDefaults.U();
|
|
3499
3499
|
this._editorProfilePromise = Promise.resolve(undefined);
|
|
3500
3500
|
this._disposables = [];
|
|
3501
3501
|
this._executeScript = async () => {
|
|
@@ -3636,7 +3636,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3636
3636
|
* @internal
|
|
3637
3637
|
*/
|
|
3638
3638
|
async updateThemeColors(colorRules) {
|
|
3639
|
-
const theme = arcadeDefaults.
|
|
3639
|
+
const theme = arcadeDefaults.k(this._hostElement);
|
|
3640
3640
|
updateThemeColors(theme, colorRules);
|
|
3641
3641
|
if (colorRules === undefined) {
|
|
3642
3642
|
["comment", "keyword", "identifier", "string", "number", "constant", "date"].forEach((key) => {
|
|
@@ -3665,7 +3665,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3665
3665
|
// Starts a locale observer. It will load the correct t9n strings for the component
|
|
3666
3666
|
// when the locale changes. We also pass updateEditorProfile. It will be invoked the first
|
|
3667
3667
|
// and on each locale change. The profile has to be refreshed on locale change as well.
|
|
3668
|
-
await arcadeDefaults.
|
|
3668
|
+
await arcadeDefaults.B(this, assetsPath, async () => await this._updateEditorProfile());
|
|
3669
3669
|
}
|
|
3670
3670
|
async componentDidLoad() {
|
|
3671
3671
|
// Mark on component as ready.
|
|
@@ -3693,7 +3693,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3693
3693
|
await this._codeEditorElt?.setFocus();
|
|
3694
3694
|
}
|
|
3695
3695
|
disconnectedCallback() {
|
|
3696
|
-
arcadeDefaults.
|
|
3696
|
+
arcadeDefaults.H(this);
|
|
3697
3697
|
arcadeDefaults.arcadeDefaults.disposeApiContextForModel(this._modelId);
|
|
3698
3698
|
arcadeDefaults.arcadeDefaults.disposeEditorProfileForModel(this._modelId);
|
|
3699
3699
|
while (this._disposables.length) {
|
|
@@ -3887,7 +3887,7 @@ function renderSimpleValue(arcadeResult) {
|
|
|
3887
3887
|
case "null":
|
|
3888
3888
|
return index.h("span", { class: "constant-value" }, arcadeResult.type);
|
|
3889
3889
|
case "text":
|
|
3890
|
-
return index.h("span", { class: "string-value" }, arcadeDefaults.
|
|
3890
|
+
return index.h("span", { class: "string-value" }, arcadeDefaults.Q(arcadeResult.value));
|
|
3891
3891
|
case "number":
|
|
3892
3892
|
return index.h("span", { class: "number-value" }, arcadeResult.value.toString());
|
|
3893
3893
|
case "boolean":
|
|
@@ -3895,9 +3895,9 @@ function renderSimpleValue(arcadeResult) {
|
|
|
3895
3895
|
case "date":
|
|
3896
3896
|
return index.h("span", { class: "date-value" }, formatArcadeResultDate(arcadeResult));
|
|
3897
3897
|
case "dateOnly":
|
|
3898
|
-
return index.h("span", { class: "string-value" }, arcadeDefaults.
|
|
3898
|
+
return index.h("span", { class: "string-value" }, arcadeDefaults.Q(formatArcadeResultDateOnly(arcadeResult)));
|
|
3899
3899
|
case "time":
|
|
3900
|
-
return index.h("span", { class: "string-value" }, arcadeDefaults.
|
|
3900
|
+
return index.h("span", { class: "string-value" }, arcadeDefaults.Q(formatArcadeResultTimeOnly(arcadeResult)));
|
|
3901
3901
|
default:
|
|
3902
3902
|
return null;
|
|
3903
3903
|
}
|
|
@@ -3941,10 +3941,10 @@ const ArcgisArcadeResults = class {
|
|
|
3941
3941
|
//#endregion
|
|
3942
3942
|
// #region Component lifecycle events
|
|
3943
3943
|
async componentWillLoad() {
|
|
3944
|
-
await arcadeDefaults.
|
|
3944
|
+
await arcadeDefaults.B(this, index.getAssetPath("./assets"));
|
|
3945
3945
|
}
|
|
3946
3946
|
disconnectedCallback() {
|
|
3947
|
-
arcadeDefaults.
|
|
3947
|
+
arcadeDefaults.H(this);
|
|
3948
3948
|
}
|
|
3949
3949
|
// #endregion
|
|
3950
3950
|
//#region Private Methods
|
|
@@ -3971,18 +3971,18 @@ const ArcgisArcadeResults = class {
|
|
|
3971
3971
|
return index.h("calcite-loader", { scale: "s", type: "indeterminate", label: "" });
|
|
3972
3972
|
}
|
|
3973
3973
|
const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
|
|
3974
|
-
return (index.h("calcite-list", null, this.result ? (index.h(index.Fragment, null, index.h("calcite-list-item", { label: arcadeDefaults.
|
|
3974
|
+
return (index.h("calcite-list", null, this.result ? (index.h(index.Fragment, null, index.h("calcite-list-item", { label: arcadeDefaults.K(this._t9nStrings?.lastexecutionformat, {
|
|
3975
3975
|
timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
|
|
3976
3976
|
dateStyle: "medium",
|
|
3977
3977
|
timeStyle: "medium"
|
|
3978
3978
|
}).format(this.result.timeStamp)
|
|
3979
|
-
}) }, index.h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), index.h("calcite-list-item", { label: arcadeDefaults.
|
|
3979
|
+
}) }, index.h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), index.h("calcite-list-item", { label: arcadeDefaults.K(this._t9nStrings?.compilationtimeformat, {
|
|
3980
3980
|
time: new Intl.NumberFormat(this._t9nLocale, {
|
|
3981
3981
|
style: "unit",
|
|
3982
3982
|
unit: "millisecond",
|
|
3983
3983
|
maximumFractionDigits: 2
|
|
3984
3984
|
}).format(this.result.compilationTime ?? 0)
|
|
3985
|
-
}) }, index.h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), index.h("calcite-list-item", { label: arcadeDefaults.
|
|
3985
|
+
}) }, index.h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), index.h("calcite-list-item", { label: arcadeDefaults.K(this._t9nStrings?.executiontimeformat, {
|
|
3986
3986
|
time: new Intl.NumberFormat(this._t9nLocale, {
|
|
3987
3987
|
style: "unit",
|
|
3988
3988
|
unit: "millisecond",
|
|
@@ -3999,7 +3999,7 @@ const ArcgisArcadeResults = class {
|
|
|
3999
3999
|
}
|
|
4000
4000
|
switch (this.result?.type) {
|
|
4001
4001
|
case "error":
|
|
4002
|
-
return (index.h("div", { class: "result-value-simple flex-adjustable" }, arcadeDefaults.
|
|
4002
|
+
return (index.h("div", { class: "result-value-simple flex-adjustable" }, arcadeDefaults.K(this._t9nStrings?.executionerrorformat, {
|
|
4003
4003
|
message: this.result.value
|
|
4004
4004
|
})));
|
|
4005
4005
|
case "null":
|
|
@@ -4036,7 +4036,7 @@ const ArcgisArcadeResults = class {
|
|
|
4036
4036
|
renderArrayHeader(arcadeResult) {
|
|
4037
4037
|
const items = arcadeResult.value ?? [];
|
|
4038
4038
|
const leftoverCount = Math.max(items.length - MaxArrayItems, 0);
|
|
4039
|
-
return (index.h(index.Fragment, null, index.h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (index.h("span", null, "\u00A0", arcadeDefaults.
|
|
4039
|
+
return (index.h(index.Fragment, null, index.h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (index.h("span", null, "\u00A0", arcadeDefaults.K(this._t9nStrings?.showingfirstitemsformat, {
|
|
4040
4040
|
count: MaxArrayItems.toString()
|
|
4041
4041
|
}))) : null));
|
|
4042
4042
|
}
|
|
@@ -4082,7 +4082,7 @@ const ArcgisArcadeResults = class {
|
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
4084
|
renderFeatureSetLabel(arcadeResult) {
|
|
4085
|
-
return (index.h("div", { class: "value-type" }, index.h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (index.h("span", null, "\u00A0", arcadeDefaults.
|
|
4085
|
+
return (index.h("div", { class: "value-type" }, index.h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (index.h("span", null, "\u00A0", arcadeDefaults.K(this._t9nStrings?.showingfirstitemsformat, {
|
|
4086
4086
|
count: BatchSize.toString()
|
|
4087
4087
|
}))) : null));
|
|
4088
4088
|
}
|
|
@@ -4152,12 +4152,12 @@ const ArcgisArcadeSuggestions = class {
|
|
|
4152
4152
|
async componentWillLoad() {
|
|
4153
4153
|
this._colorizeStyle = generateColorizeStyles();
|
|
4154
4154
|
this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
|
|
4155
|
-
await arcadeDefaults.
|
|
4155
|
+
await arcadeDefaults.B(this, index.getAssetPath("./assets"));
|
|
4156
4156
|
}
|
|
4157
4157
|
disconnectedCallback() {
|
|
4158
4158
|
this._flowObserver?.disconnect();
|
|
4159
4159
|
this._themeChangedListner?.dispose();
|
|
4160
|
-
arcadeDefaults.
|
|
4160
|
+
arcadeDefaults.H(this);
|
|
4161
4161
|
}
|
|
4162
4162
|
// #endregion
|
|
4163
4163
|
//#region Private Methods
|
|
@@ -4175,7 +4175,7 @@ const ArcgisArcadeSuggestions = class {
|
|
|
4175
4175
|
// When switching between flow the same reference is reused
|
|
4176
4176
|
this._flowObserver = new MutationObserver(() => {
|
|
4177
4177
|
// Get the last panel and try to set focus on the input element
|
|
4178
|
-
arcadeDefaults.
|
|
4178
|
+
arcadeDefaults.F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
|
|
4179
4179
|
});
|
|
4180
4180
|
this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
|
|
4181
4181
|
}
|
|
@@ -4271,10 +4271,10 @@ const ArcgisArcadeVariables = class {
|
|
|
4271
4271
|
//#endregion
|
|
4272
4272
|
// #region Component lifecycle events
|
|
4273
4273
|
async componentWillLoad() {
|
|
4274
|
-
await arcadeDefaults.
|
|
4274
|
+
await arcadeDefaults.B(this, index.getAssetPath("./assets"));
|
|
4275
4275
|
}
|
|
4276
4276
|
disconnectedCallback() {
|
|
4277
|
-
arcadeDefaults.
|
|
4277
|
+
arcadeDefaults.H(this);
|
|
4278
4278
|
this._flowObserver?.disconnect();
|
|
4279
4279
|
}
|
|
4280
4280
|
// #endregion
|
|
@@ -4299,7 +4299,7 @@ const ArcgisArcadeVariables = class {
|
|
|
4299
4299
|
// When switching between flow the same reference is reused
|
|
4300
4300
|
this._flowObserver = new MutationObserver(() => {
|
|
4301
4301
|
// Get the last panel and try to set focus on the input element
|
|
4302
|
-
arcadeDefaults.
|
|
4302
|
+
arcadeDefaults.F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
|
|
4303
4303
|
});
|
|
4304
4304
|
this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
|
|
4305
4305
|
}
|
|
@@ -4327,7 +4327,7 @@ const ArcgisArcadeVariables = class {
|
|
|
4327
4327
|
}
|
|
4328
4328
|
renderEditorVariables(collection) {
|
|
4329
4329
|
// Filter the variables. Skip group, we will filter the children later on.
|
|
4330
|
-
const filterExpression = arcadeDefaults.
|
|
4330
|
+
const filterExpression = arcadeDefaults.D(this._filterValue);
|
|
4331
4331
|
const filteredVariables = collection.variables.filter((variable) => variable.passFilter(filterExpression));
|
|
4332
4332
|
if (!filteredVariables.length) {
|
|
4333
4333
|
return index.h("div", { class: "notice-container" }, this._t9nStrings?.noitems ?? "No item");
|
|
@@ -4382,7 +4382,7 @@ const ArcgisCodeEditor = class {
|
|
|
4382
4382
|
this._disposables = [];
|
|
4383
4383
|
this.value = undefined;
|
|
4384
4384
|
this.language = undefined;
|
|
4385
|
-
this.modelId = arcadeDefaults.
|
|
4385
|
+
this.modelId = arcadeDefaults.U();
|
|
4386
4386
|
}
|
|
4387
4387
|
valuePropChange(newValue, oldValue) {
|
|
4388
4388
|
if (!this._editorInstance || newValue === oldValue) {
|
|
@@ -4547,7 +4547,7 @@ const ArcgisCodeEditor = class {
|
|
|
4547
4547
|
// This is called the first time and subsequently by the Mutation Observer
|
|
4548
4548
|
// Figure out the theme by walking the ancestor path.
|
|
4549
4549
|
// If no theme is found then default to light.
|
|
4550
|
-
const theme = arcadeDefaults.
|
|
4550
|
+
const theme = arcadeDefaults.k(this._hostElt) === "light" ? "vs" : "vs-dark";
|
|
4551
4551
|
if (theme === this._currentTheme) {
|
|
4552
4552
|
return;
|
|
4553
4553
|
}
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
10
|
+
const index = require('./index-aaceaf1f.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
9
|
+
require('./index-aaceaf1f.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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
9
|
+
require('./index-aaceaf1f.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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
9
|
+
require('./index-aaceaf1f.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/index.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.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.0-beta.
|
|
4
|
+
* v4.29.0-beta.99
|
|
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
|
-
require('./index-
|
|
10
|
+
const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
|
|
11
|
+
require('./index-aaceaf1f.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|