@arcgis/coding-components 4.30.0-next.16 → 4.30.0-next.17
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-61994860.js → p-0edd54f6.js} +2 -2
- package/dist/arcgis-coding-components/{p-345a6e6d.js → p-1059c524.js} +2 -2
- package/dist/arcgis-coding-components/{p-7b1df268.js → p-31c34782.js} +2 -2
- package/dist/arcgis-coding-components/{p-792d484e.js → p-3342acbc.js} +1 -1
- package/dist/arcgis-coding-components/{p-52e3e0af.js → p-493da30c.js} +3 -3
- package/dist/arcgis-coding-components/{p-341dd23d.js → p-5c3767e3.js} +2 -2
- package/dist/arcgis-coding-components/{p-9cc7b308.js → p-8a8d441b.js} +2 -2
- package/dist/arcgis-coding-components/{p-3ba0bb92.js → p-9def485c.js} +10 -10
- package/dist/arcgis-coding-components/{p-4c69037c.js → p-b07016d6.js} +2 -2
- package/dist/arcgis-coding-components/{p-c91c1f09.entry.js → p-c149331c.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-d0cfe35f.js → p-d84437b1.js} +2 -2
- package/dist/arcgis-coding-components/{p-458bef1e.js → p-da9cd73a.js} +1 -1
- package/dist/cjs/{arcade-defaults-27eae07a.js → arcade-defaults-ebccca35.js} +17 -22
- package/dist/cjs/{arcade-mode-a9116822.js → arcade-mode-cf77f21b.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
- package/dist/cjs/{css-10d02af7.js → css-15f0aa4e.js} +1 -1
- package/dist/cjs/{cssMode-4447aa15.js → cssMode-e797804f.js} +3 -3
- package/dist/cjs/{html-7daa95f4.js → html-60df7ca8.js} +3 -3
- package/dist/cjs/{htmlMode-afba55b5.js → htmlMode-bbfd5043.js} +3 -3
- package/dist/cjs/{index-bc0b013a.js → index-390763a9.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-86eceb25.js → javascript-fa711f08.js} +4 -4
- package/dist/cjs/{jsonMode-448d1ff7.js → jsonMode-eba1f620.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-35c731dc.js → tsMode-f8e31bab.js} +3 -3
- package/dist/cjs/{typescript-2b91f433.js → typescript-5b7ae346.js} +3 -3
- package/dist/components/arcade-api.js +1 -1
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcade-variables.js +1 -1
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- 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/code-editor.js +1 -1
- package/dist/components/fields.js +8 -13
- 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/{arcade-defaults-73818a1e.js → arcade-defaults-510940f6.js} +17 -22
- package/dist/esm/{arcade-mode-d360e2ae.js → arcade-mode-0127505f.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +4 -4
- package/dist/esm/arcgis-coding-components.js +3 -3
- package/dist/esm/{css-6ab57a14.js → css-9a5d14b9.js} +1 -1
- package/dist/esm/{cssMode-fe1bec38.js → cssMode-4f3338db.js} +3 -3
- package/dist/esm/{html-e72036b8.js → html-39dcf931.js} +3 -3
- package/dist/esm/{htmlMode-1731b590.js → htmlMode-434a9ae6.js} +3 -3
- package/dist/esm/{index-d1a2465b.js → index-81439f16.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-dee3277c.js → javascript-e3c3baa8.js} +4 -4
- package/dist/esm/{jsonMode-9f083bc5.js → jsonMode-02dbbcbb.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-1352cdd6.js → tsMode-32a2a7b9.js} +3 -3
- package/dist/esm/{typescript-95d16458.js → typescript-00ce7c0a.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 -8
|
@@ -1,27 +1,22 @@
|
|
|
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.17
|
|
5
5
|
*/
|
|
6
|
-
const isAMD = "
|
|
6
|
+
const isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis;
|
|
7
7
|
function isDefaultModule(module) {
|
|
8
8
|
return module.default !== undefined;
|
|
9
9
|
}
|
|
10
|
-
async function requireModule(modulePath) {
|
|
11
|
-
return await new Promise((resolve) => window.require([modulePath], (moduleDefault) => {
|
|
12
|
-
resolve(moduleDefault);
|
|
13
|
-
}));
|
|
14
|
-
}
|
|
15
10
|
async function importLayersFeatureLayer() {
|
|
16
11
|
if (isAMD) {
|
|
17
|
-
return await
|
|
12
|
+
return await window.$arcgis.import("esri/layers/FeatureLayer");
|
|
18
13
|
}
|
|
19
14
|
const module = await import('@arcgis/core/layers/FeatureLayer.js');
|
|
20
15
|
return isDefaultModule(module) ? module.default : module;
|
|
21
16
|
}
|
|
22
17
|
async function importPortalPortalItem() {
|
|
23
18
|
if (isAMD) {
|
|
24
|
-
return await
|
|
19
|
+
return await window.$arcgis.import("esri/portal/PortalItem");
|
|
25
20
|
}
|
|
26
21
|
const module = await import('@arcgis/core/portal/PortalItem.js');
|
|
27
22
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -32,7 +27,7 @@ async function newPortalPortalItem(properties) {
|
|
|
32
27
|
}
|
|
33
28
|
async function importWebMap() {
|
|
34
29
|
if (isAMD) {
|
|
35
|
-
return await
|
|
30
|
+
return await window.$arcgis.import("esri/WebMap");
|
|
36
31
|
}
|
|
37
32
|
const module = await import('@arcgis/core/WebMap.js');
|
|
38
33
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -43,7 +38,7 @@ async function newWebMap(properties) {
|
|
|
43
38
|
}
|
|
44
39
|
async function importWebScene() {
|
|
45
40
|
if (isAMD) {
|
|
46
|
-
return await
|
|
41
|
+
return await window.$arcgis.import("esri/WebScene");
|
|
47
42
|
}
|
|
48
43
|
const module = await import('@arcgis/core/WebScene.js');
|
|
49
44
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -54,14 +49,14 @@ async function newWebScene(properties) {
|
|
|
54
49
|
}
|
|
55
50
|
async function importArcade() {
|
|
56
51
|
if (isAMD) {
|
|
57
|
-
return await
|
|
52
|
+
return await window.$arcgis.import("esri/arcade");
|
|
58
53
|
}
|
|
59
54
|
const module = await import('@arcgis/core/arcade.js');
|
|
60
55
|
return isDefaultModule(module) ? module.default : module;
|
|
61
56
|
}
|
|
62
57
|
async function importRequest() {
|
|
63
58
|
if (isAMD) {
|
|
64
|
-
return await
|
|
59
|
+
return await window.$arcgis.import("esri/request");
|
|
65
60
|
}
|
|
66
61
|
const module = await import('@arcgis/core/request.js');
|
|
67
62
|
return isDefaultModule(module) ? module.default : module;
|
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.17
|
|
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.17
|
|
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 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 R(e){return "setFocus"in e&&typeof e.setFocus=="function"}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return R(e)&&setTimeout(()=>e.setFocus(),0),!0;for(let r of e.children)if(d(r,t))return !0;let n=e.shadowRoot;if(n){for(let r of n.children)if(d(r,t))return !0}return !1}function W(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 v(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 v("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function _(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).catch(console.error);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale: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 v(r,l,u);}r!==e._t9nLocale&&(e._t9nLocale=r,e._t9nStrings=o,await t?.call(e));}var N='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=N,n=w;e.includes(t)&&!e.includes(n)&&(n=N,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 K(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function Z(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function G(e){return `\u200E${e??""}\u200E`}function ee(e){return e!==null}function te(e){return e!==void 0}function re(e,t=100){let n;return (...r)=>{let o=()=>{clearTimeout(n),e(...r);};clearTimeout(n),n=setTimeout(o,t);}}function se(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 ie(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.17
|
|
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.17
|
|
5
5
|
*/
|
|
6
|
-
import { g as getAssetPath } from './index-
|
|
6
|
+
import { g as getAssetPath } from './index-81439f16.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-9a5d14b9.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-39dcf931.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-e3c3baa8.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-00ce7c0a.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-4f3338db.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-434a9ae6.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-02dbbcbb.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-32a2a7b9.js');
|
|
121199
121199
|
}
|
|
121200
121200
|
}
|
|
121201
121201
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -168925,25 +168925,20 @@ var main = createCommonjsModule(function (module, exports) {
|
|
|
168925
168925
|
});
|
|
168926
168926
|
});
|
|
168927
168927
|
|
|
168928
|
-
const isAMD = "
|
|
168928
|
+
const isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis;
|
|
168929
168929
|
function isDefaultModule(module) {
|
|
168930
168930
|
return module.default !== undefined;
|
|
168931
168931
|
}
|
|
168932
|
-
async function requireModule(modulePath) {
|
|
168933
|
-
return await new Promise((resolve) => window.require([modulePath], (moduleDefault) => {
|
|
168934
|
-
resolve(moduleDefault);
|
|
168935
|
-
}));
|
|
168936
|
-
}
|
|
168937
168932
|
async function importLayersFeatureLayer() {
|
|
168938
168933
|
if (isAMD) {
|
|
168939
|
-
return await
|
|
168934
|
+
return await window.$arcgis.import("esri/layers/FeatureLayer");
|
|
168940
168935
|
}
|
|
168941
168936
|
const module = await import('@arcgis/core/layers/FeatureLayer.js');
|
|
168942
168937
|
return isDefaultModule(module) ? module.default : module;
|
|
168943
168938
|
}
|
|
168944
168939
|
async function importPortalPortalItem() {
|
|
168945
168940
|
if (isAMD) {
|
|
168946
|
-
return await
|
|
168941
|
+
return await window.$arcgis.import("esri/portal/PortalItem");
|
|
168947
168942
|
}
|
|
168948
168943
|
const module = await import('@arcgis/core/portal/PortalItem.js');
|
|
168949
168944
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -168954,7 +168949,7 @@ async function newPortalPortalItem(properties) {
|
|
|
168954
168949
|
}
|
|
168955
168950
|
async function importWebMap() {
|
|
168956
168951
|
if (isAMD) {
|
|
168957
|
-
return await
|
|
168952
|
+
return await window.$arcgis.import("esri/WebMap");
|
|
168958
168953
|
}
|
|
168959
168954
|
const module = await import('@arcgis/core/WebMap.js');
|
|
168960
168955
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -168965,7 +168960,7 @@ async function newWebMap(properties) {
|
|
|
168965
168960
|
}
|
|
168966
168961
|
async function importWebScene() {
|
|
168967
168962
|
if (isAMD) {
|
|
168968
|
-
return await
|
|
168963
|
+
return await window.$arcgis.import("esri/WebScene");
|
|
168969
168964
|
}
|
|
168970
168965
|
const module = await import('@arcgis/core/WebScene.js');
|
|
168971
168966
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -168976,14 +168971,14 @@ async function newWebScene(properties) {
|
|
|
168976
168971
|
}
|
|
168977
168972
|
async function importArcade() {
|
|
168978
168973
|
if (isAMD) {
|
|
168979
|
-
return await
|
|
168974
|
+
return await window.$arcgis.import("esri/arcade");
|
|
168980
168975
|
}
|
|
168981
168976
|
const module = await import('@arcgis/core/arcade.js');
|
|
168982
168977
|
return isDefaultModule(module) ? module.default : module;
|
|
168983
168978
|
}
|
|
168984
168979
|
async function importRequest() {
|
|
168985
168980
|
if (isAMD) {
|
|
168986
|
-
return await
|
|
168981
|
+
return await window.$arcgis.import("esri/request");
|
|
168987
168982
|
}
|
|
168988
168983
|
const module = await import('@arcgis/core/request.js');
|
|
168989
168984
|
return isDefaultModule(module) ? module.default : module;
|
|
@@ -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.17
|
|
5
5
|
*/
|
|
6
|
-
import { v as main, e as editor, M as MarkerSeverity, R as Range, l as languages, w as re, E as Emitter } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { v as main, e as editor, M as MarkerSeverity, R as Range, l as languages, w as re, E as Emitter } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.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.17
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement, F as Fragment } from './index-
|
|
7
|
-
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as ie, s as se, d as importRequest, l as languages, f as arcadeDefaults, B, U as Uri, q, W, h as filterCollection, G, j as importArcade, k as h$1, m as U, n as k, K as KeyCode, Z, D, o as supportedFields, p as K, R as Range, x, r as KeyMod } from './arcade-defaults-
|
|
6
|
+
import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement, F as Fragment } from './index-81439f16.js';
|
|
7
|
+
import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as ie, s as se, d as importRequest, l as languages, f as arcadeDefaults, B, U as Uri, q, W, h as filterCollection, G, j as importArcade, k as h$1, m as U, n as k, K as KeyCode, Z, D, o as supportedFields, p as K, R as Range, x, r as KeyMod } from './arcade-defaults-510940f6.js';
|
|
8
8
|
|
|
9
9
|
async function colorizeCode(code) {
|
|
10
10
|
return await editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3084,7 +3084,7 @@ async function getArcadeWorker(uri) {
|
|
|
3084
3084
|
* @returns arcade mode module
|
|
3085
3085
|
*/
|
|
3086
3086
|
async function getMode() {
|
|
3087
|
-
return await import('./arcade-mode-
|
|
3087
|
+
return await import('./arcade-mode-0127505f.js');
|
|
3088
3088
|
}
|
|
3089
3089
|
// Register the language in Monaco
|
|
3090
3090
|
languages.register({
|
|
@@ -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.17
|
|
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-81439f16.js';
|
|
7
|
+
export { s as setNonce } from './index-81439f16.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.17
|
|
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.17
|
|
5
5
|
*/
|
|
6
|
-
import { t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.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.17
|
|
5
5
|
*/
|
|
6
|
-
import { t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.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.17
|
|
5
5
|
*/
|
|
6
|
-
import { t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/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.17
|
|
5
5
|
*/
|
|
6
|
-
export { a as arcade } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
export { a as arcade } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.js';
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import { conf as conf$1, language as language$1 } from './typescript-
|
|
7
|
-
import './arcade-defaults-
|
|
8
|
-
import './index-
|
|
6
|
+
import { conf as conf$1, language as language$1 } from './typescript-00ce7c0a.js';
|
|
7
|
+
import './arcade-defaults-510940f6.js';
|
|
8
|
+
import './index-81439f16.js';
|
|
9
9
|
|
|
10
10
|
/*!-----------------------------------------------------------------------------
|
|
11
11
|
* 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.17
|
|
5
5
|
*/
|
|
6
|
-
import { t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/esm/loader.js
CHANGED
|
@@ -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.17
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { b as bootstrapLazy } from './index-81439f16.js';
|
|
7
|
+
export { s as setNonce } from './index-81439f16.js';
|
|
8
8
|
|
|
9
9
|
const defineCustomElements = (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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.17
|
|
5
5
|
*/
|
|
6
|
-
import { u as typescriptDefaults, t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { u as typescriptDefaults, t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.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.17
|
|
5
5
|
*/
|
|
6
|
-
import { t as monaco_editor_core_star } from './arcade-defaults-
|
|
7
|
-
import './index-
|
|
6
|
+
import { t as monaco_editor_core_star } from './arcade-defaults-510940f6.js';
|
|
7
|
+
import './index-81439f16.js';
|
|
8
8
|
|
|
9
9
|
/*!-----------------------------------------------------------------------------
|
|
10
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/loader/cdn.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.17
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.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.17
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -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.17
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/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.17
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcgis/coding-components",
|
|
3
3
|
"description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
-
"version": "4.30.0-next.
|
|
5
|
+
"version": "4.30.0-next.17",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"generate": "stencil generate"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@arcgis/arcade-languageservice": "4.30.0-next.
|
|
51
|
+
"@arcgis/arcade-languageservice": "4.30.0-next.17",
|
|
52
52
|
"@stencil/core": "4.9.0",
|
|
53
53
|
"monaco-editor": "0.45.0",
|
|
54
54
|
"vscode-languageserver-types": "^3.17.5"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@arcgis/components-plugins": "4.30.0-next.
|
|
58
|
-
"@arcgis/components-utils": "4.30.0-next.
|
|
57
|
+
"@arcgis/components-plugins": "4.30.0-next.17",
|
|
58
|
+
"@arcgis/components-utils": "4.30.0-next.17",
|
|
59
59
|
"@arcgis/core": ">=4.30.0-next <4.31",
|
|
60
|
-
"@arcgis/core-adapter": "4.30.0-next.
|
|
61
|
-
"@arcgis/storybook-utils": "4.30.0-next.
|
|
62
|
-
"@arcgis/typescript-config": "4.30.0-next.
|
|
60
|
+
"@arcgis/core-adapter": "4.30.0-next.17",
|
|
61
|
+
"@arcgis/storybook-utils": "4.30.0-next.17",
|
|
62
|
+
"@arcgis/typescript-config": "4.30.0-next.17",
|
|
63
63
|
"@esri/calcite-components": "^2.6.0",
|
|
64
64
|
"@stencil/angular-output-target": "0.8.4",
|
|
65
65
|
"@stencil/react-output-target": "0.5.3",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"@arcgis/core": ">=4.30.0-next <4.31",
|
|
97
97
|
"@esri/calcite-components": ">=2.2.0 <3.0.0"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "698f91156d410c0d02f0e8e7e1f8b7dc4879a1a8"
|
|
100
100
|
}
|