@arcgis/coding-components 4.30.0-next.1 → 4.30.0-next.3
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/assets/arcade-language/t9n/profile.t9n.en.json +2 -0
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-26cb350b.js → p-0c7d8400.js} +2 -2
- package/dist/arcgis-coding-components/{p-4aab897b.js → p-19754f5a.js} +2 -2
- package/dist/arcgis-coding-components/{p-0ecfaaf8.js → p-57e4af30.js} +2 -2
- package/dist/arcgis-coding-components/p-84b69395.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-9556a8c6.js → p-a2e6cf69.js} +2 -2
- package/dist/arcgis-coding-components/{p-3162633c.js → p-a8ee78f9.js} +1 -1
- package/dist/arcgis-coding-components/{p-bad6d07f.js → p-e75d3e9e.js} +10 -10
- package/dist/arcgis-coding-components/{p-c5c082c2.js → p-ee00010b.js} +3 -3
- package/dist/arcgis-coding-components/{p-2c66cecd.js → p-f09b91f0.js} +2 -2
- package/dist/arcgis-coding-components/{p-01d806ab.js → p-f27bc17e.js} +2 -2
- package/dist/arcgis-coding-components/{p-68bd0d31.js → p-fa458a74.js} +1 -1
- package/dist/arcgis-coding-components/{p-5050b8e6.js → p-fa769562.js} +2 -2
- package/dist/cjs/{arcade-defaults-337189cc.js → arcade-defaults-9108b927.js} +42 -17
- package/dist/cjs/{arcade-mode-3b9ec201.js → arcade-mode-99f89a80.js} +5 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +15 -23
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-9d93d685.js → css-f717453b.js} +1 -1
- package/dist/cjs/{cssMode-cf97e01f.js → cssMode-9a365842.js} +3 -3
- package/dist/cjs/{html-9bbb2b9f.js → html-64741c89.js} +3 -3
- package/dist/cjs/{htmlMode-29fbfd01.js → htmlMode-4e8b2289.js} +3 -3
- package/dist/cjs/{index-b66d3898.js → index-42d71c10.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-ea7308ab.js → javascript-340e4ba6.js} +4 -4
- package/dist/cjs/{jsonMode-25c548e6.js → jsonMode-bc9bd096.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-c54b0496.js → tsMode-99f43f9f.js} +3 -3
- package/dist/cjs/{typescript-89d35abd.js → typescript-4a00545a.js} +3 -3
- package/dist/components/arcade-api.js +2 -2
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +34 -9
- package/dist/components/arcade-mode.js +3 -3
- package/dist/components/arcade-results.js +2 -2
- package/dist/components/arcade-suggestions.js +2 -2
- package/dist/components/arcade-variables.js +2 -2
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +7 -15
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +35 -0
- package/dist/components/arcgis-assets.js +3 -3
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/code-editor.js +8 -8
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{arcade-defaults-80ab7068.js → arcade-defaults-372ecf79.js} +42 -17
- package/dist/esm/{arcade-mode-145e7a14.js → arcade-mode-b2b0b42d.js} +5 -5
- package/dist/esm/arcgis-arcade-api_6.entry.js +15 -23
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-d2e6a792.js → css-81c81ba2.js} +1 -1
- package/dist/esm/{cssMode-6d9545da.js → cssMode-41873574.js} +3 -3
- package/dist/esm/{html-0af5dfb9.js → html-d42d34ab.js} +3 -3
- package/dist/esm/{htmlMode-7006edc4.js → htmlMode-143da753.js} +3 -3
- package/dist/esm/{index-a2b632a0.js → index-3bfb710a.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-89b3eeb2.js → javascript-c5306510.js} +4 -4
- package/dist/esm/{jsonMode-a3501a18.js → jsonMode-60732e84.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-29dad6cb.js → tsMode-5a10d9e9.js} +3 -3
- package/dist/esm/{typescript-6f3a39e0.js → typescript-bb6b1528.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/dist/types/components/arcade-editor/arcade-editor.d.ts +3 -3
- package/dist/types/components/code-editor/code-editor.d.ts +3 -3
- package/dist/types/utils/profile/editor-profile.d.ts +1 -1
- package/dist/types/utils/profile/types.d.ts +1 -1
- package/dist/types/utils/profile/utils.d.ts +4 -1
- package/package.json +10 -10
- package/dist/arcgis-coding-components/p-0f15d754.entry.js +0 -6
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{t as e}from"./p-
|
|
6
|
+
import{t as e}from"./p-e75d3e9e.js";import"./p-fa458a74.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
10
10
|
* Released under the MIT license
|
|
11
11
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
12
|
-
*-----------------------------------------------------------------------------*/var t=Object.defineProperty,i=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o=(e,o,s,
|
|
12
|
+
*-----------------------------------------------------------------------------*/var t=Object.defineProperty,i=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,o=(e,o,s,a)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let d of r(o))n.call(e,d)||d===s||t(e,d,{get:()=>o[d],enumerable:!(a=i(o,d))||a.enumerable});return e},s={};o(s,e,"default");var a=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${a.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:s.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:s.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},m={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{d as conf,m as language}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
|
-
import{u as t,t as e}from"./p-
|
|
6
|
+
import{u as t,t as e}from"./p-e75d3e9e.js";import"./p-fa458a74.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{t}from"./p-
|
|
6
|
+
import{t}from"./p-e75d3e9e.js";import"./p-fa458a74.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
6
|
let n,e,t=!1;const l=n=>{const e=new URL(n,sn.t);return e.origin!==ln.location.origin?e.href:e.pathname},o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s="http://www.w3.org/1999/xlink",i={},c=n=>"object"==(n=typeof n)||"function"===n;function r(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const u=(n,e,...t)=>{let l=null,o=null,s=!1,i=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!c(l))&&(l+=""),s&&i?r[r.length-1].l+=l:r.push(s?a(null,l):l),i=s)};if(u(t),e){e.key&&(o=e.key);{const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}}if("function"==typeof n)return n(null===e?{}:e,r,d);const f=a(n,null);return f.o=e,r.length>0&&(f.i=r),f.u=o,f},a=(n,e)=>({v:0,p:n,l:e,h:null,i:null,o:null,u:null}),f={},d={forEach:(n,e)=>n.map(v).forEach(e),map:(n,e)=>n.map(v).map(e).map(y)},v=n=>({vattrs:n.o,vchildren:n.i,vkey:n.u,vname:n.m,vtag:n.p,vtext:n.l}),y=n=>{if("function"==typeof n.vtag){const e=Object.assign({},n.vattrs);return n.vkey&&(e.key=n.vkey),n.vname&&(e.name=n.vname),u(n.vtag,e,...n.vchildren||[])}const e=a(n.vtag,n.vtext);return e.o=n.vattrs,e.i=n.vchildren,e.u=n.vkey,e.m=n.vname,e},p=n=>K(n).$hostElement$,h=(n,e,t)=>{const l=p(n);return{emit:n=>m(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},m=(n,e,t)=>{const l=sn.ce(e,t);return n.dispatchEvent(l),l},$=new WeakMap,b=n=>"sc-"+n.$,w=(n,e,t,l,o,i)=>{if(t!==l){let r=Y(n,e),u=e.toLowerCase();if("class"===e){const e=n.classList,o=k(t),s=k(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===e){for(const e in t)l&&null!=l[e]||(e.includes("-")?n.style.removeProperty(e):n.style[e]="");for(const e in l)t&&l[e]===t[e]||(e.includes("-")?n.style.setProperty(e,l[e]):n.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(n);else if(r||"o"!==e[0]||"n"!==e[1]){const a=c(l);if((r||a&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?r=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==l||!1===l?!1===l&&""!==n.getAttribute(e)||(f?n.removeAttributeNS(s,e):n.removeAttribute(e)):(!r||4&i||o)&&!a&&(l=!0===l?"":l,f?n.setAttributeNS(s,e,l):n.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):Y(ln,u)?u.slice(2):u[2]+e.slice(3),t||l){const o=e.endsWith(S);e=e.replace(j,""),t&&sn.rel(n,e,t,o),l&&sn.ael(n,e,l,o)}}},g=/\s/,k=n=>n?n.split(g):[],S="Capture",j=RegExp(S+"$"),O=(n,e,t,l)=>{const o=11===e.h.nodeType&&e.h.host?e.h.host:e.h,s=n&&n.o||i,c=e.o||i;for(l in s)l in c||w(o,l,s[l],void 0,t,e.v);for(l in c)w(o,l,s[l],c[l],t,e.v)},C=(t,l,o)=>{const s=l.i[o];let i,c,r=0;if(null!==s.l)i=s.h=on.createTextNode(s.l);else if(i=s.h=on.createElement(s.p),O(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.i)for(r=0;r<s.i.length;++r)c=C(t,s,r),c&&i.appendChild(c);return i["s-hn"]=e,i},M=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=C(null,l,s),c&&(o[s].h=c,r.insertBefore(c,t)))},x=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.h;L(e),n&&n.remove()}}},P=(n,e,t=!1)=>n.p===e.p&&(!!t||n.u===e.u),E=(n,e,t=!1)=>{const l=e.h=n.h,o=n.i,s=e.i,i=e.l;null===i?(O(n,e,!1),null!==o&&null!==s?((n,e,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,a=0,f=e.length-1,d=e[0],v=e[f],y=l.length-1,p=l[0],h=l[y];for(;c<=f&&r<=y;)if(null==d)d=e[++c];else if(null==v)v=e[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--y];else if(P(d,p,o))E(d,p,o),d=e[++c],p=l[++r];else if(P(v,h,o))E(v,h,o),v=e[--f],h=l[--y];else if(P(d,h,o))E(d,h,o),n.insertBefore(d.h,v.h.nextSibling),d=e[++c],h=l[--y];else if(P(v,p,o))E(v,p,o),n.insertBefore(v.h,d.h),v=e[--f],p=l[++r];else{for(u=-1,a=c;a<=f;++a)if(e[a]&&null!==e[a].u&&e[a].u===p.u){u=a;break}u>=0?(i=e[u],i.p!==p.p?s=C(e&&e[r],t,u):(E(i,p,o),e[u]=void 0,s=i.h),p=l[++r]):(s=C(e&&e[r],t,r),p=l[++r]),s&&d.h.parentNode.insertBefore(s,d.h)}c>f?M(n,null==l[y+1]?null:l[y+1].h,t,l,r,y):r>y&&x(e,c,f)})(l,o,e,s,t):null!==s?(null!==n.l&&(l.textContent=""),M(l,null,e,s,0,s.length-1)):null!==o&&x(o,0,o.length-1)):n.l!==i&&(l.data=i)},L=n=>{n.o&&n.o.ref&&n.o.ref(null),n.i&&n.i.map(L)},R=(n,e)=>{e&&!n.k&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.k=e)))},A=(n,e)=>{if(n.v|=16,!(4&n.v))return R(n,n.S),pn((()=>N(n,e)));n.v|=512},N=(n,e)=>{const t=n.j;let l;return e&&(l=D(t,"componentWillLoad")),T(l,(()=>W(n,t,e)))},T=(n,e)=>U(n)?n.then(e):e(),U=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,W=async(n,e,t)=>{var l;const s=n.$hostElement$,i=s["s-rc"];t&&(n=>{const e=n.O,t=n.$hostElement$,l=e.v,s=((n,e)=>{var t;const l=b(e),s=tn.get(l);if(n=11===n.nodeType?n:on,s)if("string"==typeof s){let i,c=$.get(n=n.head||n);if(c||$.set(n,c=new Set),!c.has(l)){{i=on.createElement("style"),i.innerHTML=s;const e=null!==(t=sn.C)&&void 0!==t?t:r(on);null!=e&&i.setAttribute("nonce",e),n.insertBefore(i,n.querySelector("link"))}4&e.v&&(i.innerHTML+=o),c&&c.add(l)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(n);F(n,e,s,t),i&&(i.map((n=>n())),s["s-rc"]=void 0);{const e=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>H(n);0===e.length?t():(Promise.all(e).then(t),n.v|=4,e.length=0)}},F=(t,l,o,s)=>{try{l=l.render(),t.v&=-17,t.v|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.O,c=t.M||a(null,null),r=(n=>n&&n.p===f)(l)?l:u(null,null,l);if(e=s.tagName,i.P&&(r.o=r.o||{},i.P.map((([n,e])=>r.o[e]=s[n]))),o&&r.o)for(const n of Object.keys(r.o))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(r.o[n]=s[n]);r.p=null,r.v|=4,t.M=r,r.h=c.h=s.shadowRoot||s,n=s["s-sc"],E(c,r,o)})(t,l,s)}catch(n){Z(n,t.$hostElement$)}return null},H=n=>{const e=n.$hostElement$,t=n.j,l=n.S;64&n.v||(n.v|=64,V(e),D(t,"componentDidLoad"),n.L(e),l||q()),n.R(e),n.k&&(n.k(),n.k=void 0),512&n.v&&yn((()=>A(n,!1))),n.v&=-517},q=()=>{V(on.documentElement),yn((()=>m(ln,"appload",{detail:{namespace:"arcgis-coding-components"}})))},D=(n,e,t)=>{if(n&&n[e])try{return n[e](t)}catch(n){Z(n)}},V=n=>n.setAttribute("hydrated",""),_=(n,e,t)=>{var l;const o=n.prototype;if(e.A){n.watchers&&(e.N=n.watchers);const s=Object.entries(e.A);if(s.map((([n,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,n,{get(){return((n,e)=>K(this).T.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=K(n),s=o.$hostElement$,i=o.T.get(e),r=o.v,u=o.j;if(t=((n,e)=>null==n||c(n)?n:4&e?"false"!==n&&(""===n||!!n):1&e?n+"":n)(t,l.A[e][0]),(!(8&r)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.T.set(e,t),u)){if(l.N&&128&r){const n=l.N[e];n&&n.map((n=>{try{u[n](t,i,e)}catch(n){Z(n,s)}}))}2==(18&r)&&A(o,!1)}})(this,n,t,e)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,n,{value(...e){var t;const l=K(this);return null===(t=null==l?void 0:l.U)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.j)||void 0===t?void 0:t[n](...e)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(n,l,s){sn.jmp((()=>{var i;const c=t.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=K(this),o=null==t?void 0:t.v;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=e.N)||void 0===i?void 0:i[n];null==c||c.forEach((e=>{null!=o[e]&&o[e].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.N)&&void 0!==l?l:{}),...s.filter((([n,e])=>15&e[0])).map((([n,l])=>{var o;const s=l[1]||n;return t.set(s,n),512&l[0]&&(null===(o=e.P)||void 0===o||o.push([n,s])),s}))]))}}return n},z=n=>{D(n,"disconnectedCallback")},B=(n,e={})=>{var t;const l=[],s=e.exclude||[],i=ln.customElements,c=on.head,u=c.querySelector("meta[charset]"),a=on.createElement("style"),f=[];let d,v=!0;Object.assign(sn,e),sn.t=new URL(e.resourcesUrl||"./",on.baseURI).href;let y=!1;if(n.map((n=>{n[1].map((e=>{var t;const o={v:e[0],$:e[1],A:e[2],W:e[3]};4&o.v&&(y=!0),o.A=e[2],o.P=[],o.N=null!==(t=e[4])&&void 0!==t?t:{};const c=o.$,r=class extends HTMLElement{constructor(n){super(n),X(n=this,o),1&o.v&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):sn.jmp((()=>(n=>{if(0==(1&sn.v)){const e=K(n),t=e.O,l=()=>{};if(1&e.v)(null==e?void 0:e.j)||(null==e?void 0:e.F)&&e.F.then((()=>{}));else{e.v|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){R(e,e.S=t);break}}t.A&&Object.entries(t.A).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.v)){e.v|=32;{if(l=en(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(t.N=l.watchers,_(l,t,2),l.isProxied=!0);const n=()=>{};e.v|=8;try{new l(e)}catch(n){Z(n)}e.v&=-9,e.v|=128,n()}if(l.style){let n=l.style;const e=b(t);if(!tn.has(e)){const l=()=>{};((n,e,t)=>{let l=tn.get(n);rn&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,tn.set(n,l)})(e,n,!!(1&t.v)),l()}}}const o=e.S,s=()=>A(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){sn.jmp((()=>(async()=>{if(0==(1&sn.v)){const n=K(this);(null==n?void 0:n.j)?z(n.j):(null==n?void 0:n.F)&&n.F.then((()=>z(n.j)))}})()))}componentOnReady(){return K(this).F}};o.H=n[0],s.includes(c)||i.get(c)||(l.push(c),i.define(c,_(r,o,1)))}))})),y&&(a.innerHTML+=o),a.innerHTML+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(t=sn.C)&&void 0!==t?t:r(on);null!=n&&a.setAttribute("nonce",n),c.insertBefore(a,u?u.nextSibling:c.firstChild)}v=!1,f.length?f.map((n=>n.connectedCallback())):sn.jmp((()=>d=setTimeout(q,30)))},G=(n,e)=>e,I=n=>sn.C=n,J=new WeakMap,K=n=>J.get(n),Q=(n,e)=>J.set(e.j=n,e),X=(n,e)=>{const t={v:0,$hostElement$:n,O:e,T:new Map};return t.U=new Promise((n=>t.R=n)),t.F=new Promise((n=>t.L=n)),n["s-p"]=[],n["s-rc"]=[],J.set(n,t)},Y=(n,e)=>e in n,Z=(n,e)=>(0,console.error)(n,e),nn=new Map,en=n=>{const e=n.$.replace(/-/g,"_"),t=n.H,l=nn.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(nn.set(t,n),n[e])),Z)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},tn=new Map,ln="undefined"!=typeof window?window:{},on=ln.document||{head:{}},sn={v:0,t:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},cn=n=>Promise.resolve(n),rn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),un=[],an=[],fn=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&sn.v?yn(vn):sn.raf(vn))},dn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){Z(n)}n.length=0},vn=()=>{dn(un),dn(an),(t=un.length>0)&&sn.raf(vn)},yn=n=>cn().then(n),pn=fn(an,!0);export{G as F,f as H,p as a,B as b,h as c,l as g,u as h,cn as p,Q as r,I as s}
|
|
@@ -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.3
|
|
5
5
|
*/
|
|
6
|
-
import{conf as e,language as t}from"./p-
|
|
6
|
+
import{conf as e,language as t}from"./p-57e4af30.js";import"./p-e75d3e9e.js";import"./p-fa458a74.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-42d71c10.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-f717453b.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-64741c89.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-340e4ba6.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-4a00545a.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-9a365842.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-4e8b2289.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-bc9bd096.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-99f43f9f.js'); });
|
|
121221
121221
|
}
|
|
121222
121222
|
}
|
|
121223
121223
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -169062,7 +169062,18 @@ function isMapInstance(item) {
|
|
|
169062
169062
|
typeof item === "object" &&
|
|
169063
169063
|
"declaredClass" in item &&
|
|
169064
169064
|
typeof item.declaredClass === "string" &&
|
|
169065
|
-
(item.declaredClass === "esri.
|
|
169065
|
+
(item.declaredClass === "esri.Map" ||
|
|
169066
|
+
item.declaredClass === "esri.WebMap" ||
|
|
169067
|
+
item.declaredClass === "esri.WebScene"));
|
|
169068
|
+
}
|
|
169069
|
+
function isWebMapInstance(item) {
|
|
169070
|
+
return item.declaredClass === "esri.WebMap";
|
|
169071
|
+
}
|
|
169072
|
+
function isWebSceneInstance(item) {
|
|
169073
|
+
return item.declaredClass === "esri.WebScene";
|
|
169074
|
+
}
|
|
169075
|
+
function isLoadableMapInstance(item) {
|
|
169076
|
+
return item.declaredClass === "esri.WebMap" || item.declaredClass === "esri.WebScene";
|
|
169066
169077
|
}
|
|
169067
169078
|
function isPortalItemDefinition(item) {
|
|
169068
169079
|
return !!item && typeof item === "object" && "portalItem" in item && item.portalItem != null;
|
|
@@ -169363,6 +169374,12 @@ function assembleMemberExpression(obj, prop) {
|
|
|
169363
169374
|
}
|
|
169364
169375
|
return `${obj}${getMemberExpressionProperty(prop)}`;
|
|
169365
169376
|
}
|
|
169377
|
+
function getMapPortalItem(map) {
|
|
169378
|
+
if (isWebMapInstance(map) || isWebSceneInstance(map)) {
|
|
169379
|
+
return map.portalItem;
|
|
169380
|
+
}
|
|
169381
|
+
return null;
|
|
169382
|
+
}
|
|
169366
169383
|
//#endregion
|
|
169367
169384
|
//#region Editor Profile to Language Service Profile functions
|
|
169368
169385
|
async function variablesToLSVariable(editorVariables, kind = main.CompletionItemKind.Variable) {
|
|
@@ -170198,7 +170215,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170198
170215
|
return null;
|
|
170199
170216
|
}
|
|
170200
170217
|
if (typeof this._featureSetCollections.source !== "string") {
|
|
170201
|
-
return portalItemPageUrl(this._featureSetCollections.source
|
|
170218
|
+
return portalItemPageUrl(getMapPortalItem(this._featureSetCollections.source));
|
|
170202
170219
|
}
|
|
170203
170220
|
// const firstLayer = this._featureSetCollection.layers[0] ?? this._featureSetCollection.tables[0];
|
|
170204
170221
|
// if (!firstLayer) {
|
|
@@ -170210,10 +170227,16 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170210
170227
|
if (!this.loaded || !this._featureSetCollections) {
|
|
170211
170228
|
return "";
|
|
170212
170229
|
}
|
|
170213
|
-
if (typeof this._featureSetCollections.source
|
|
170230
|
+
if (typeof this._featureSetCollections.source === "string") {
|
|
170231
|
+
return this._profile?.intlStrings.featureservice ?? "featureservice";
|
|
170232
|
+
}
|
|
170233
|
+
if (isWebSceneInstance(this._featureSetCollections.source)) {
|
|
170234
|
+
return this._profile?.intlStrings.webscene ?? "webscene";
|
|
170235
|
+
}
|
|
170236
|
+
if (isWebMapInstance(this._featureSetCollections.source)) {
|
|
170214
170237
|
return this._profile?.intlStrings.webmap ?? "webmap";
|
|
170215
170238
|
}
|
|
170216
|
-
return this._profile?.intlStrings.
|
|
170239
|
+
return this._profile?.intlStrings.map ?? "map";
|
|
170217
170240
|
}
|
|
170218
170241
|
async loadSource() {
|
|
170219
170242
|
if (ee(this._loadPromise) && te(this._loadPromise)) {
|
|
@@ -170237,7 +170260,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170237
170260
|
: {
|
|
170238
170261
|
code: "webmapformat",
|
|
170239
170262
|
formatValues: {
|
|
170240
|
-
webMapTitle: this._featureSetCollections.source
|
|
170263
|
+
webMapTitle: getMapPortalItem(this._featureSetCollections.source)?.title || "Untitled map"
|
|
170241
170264
|
}
|
|
170242
170265
|
};
|
|
170243
170266
|
const headerGroup = new GroupOfVariables(this._profile, groupLabel, [
|
|
@@ -170284,8 +170307,10 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170284
170307
|
return null;
|
|
170285
170308
|
}
|
|
170286
170309
|
async _featureSetCollectionFromMap(map) {
|
|
170287
|
-
|
|
170288
|
-
|
|
170310
|
+
if (isLoadableMapInstance(map)) {
|
|
170311
|
+
// Make sure the map is loaded
|
|
170312
|
+
await map.loadAll();
|
|
170313
|
+
}
|
|
170289
170314
|
// Until jsapi fix a bug we have to load the table separately
|
|
170290
170315
|
await Promise.all(map.tables.map(async (t) => (await t.load())));
|
|
170291
170316
|
return {
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.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
|
|
|
@@ -141,8 +141,8 @@ const arcadeMonarchLanguage = {
|
|
|
141
141
|
// delimiter: after number because of .\d floats
|
|
142
142
|
[/[;,.]/u, "delimiter"],
|
|
143
143
|
// strings
|
|
144
|
-
[/"([^"\\]|\\.)*$/u, "string.invalid"],
|
|
145
|
-
[/'([^'\\]|\\.)*$/u, "string.invalid"],
|
|
144
|
+
[/"([^"\\]|\\.)*$/u, "string.invalid"],
|
|
145
|
+
[/'([^'\\]|\\.)*$/u, "string.invalid"],
|
|
146
146
|
[/"/u, "string", "@string_double"],
|
|
147
147
|
[/'/u, "string", "@string_single"],
|
|
148
148
|
[/`/u, "string", "@string_backtick"]
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
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-42d71c10.js');
|
|
11
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
12
12
|
|
|
13
13
|
async function colorizeCode(code) {
|
|
14
14
|
return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
|
|
@@ -3028,7 +3028,7 @@ async function getArcadeWorker(uri) {
|
|
|
3028
3028
|
* @returns mode for arcade
|
|
3029
3029
|
*/
|
|
3030
3030
|
async function getMode() {
|
|
3031
|
-
return await Promise.resolve().then(function () { return require('./arcade-mode-
|
|
3031
|
+
return await Promise.resolve().then(function () { return require('./arcade-mode-99f89a80.js'); });
|
|
3032
3032
|
}
|
|
3033
3033
|
// Register the language in Monaco
|
|
3034
3034
|
arcadeDefaults.languages.register({
|
|
@@ -3567,23 +3567,16 @@ const ArcgisArcadeEditor = class {
|
|
|
3567
3567
|
this.openedSidePanel = "none";
|
|
3568
3568
|
this.editorOptions = undefined;
|
|
3569
3569
|
}
|
|
3570
|
-
_profileChanged(
|
|
3571
|
-
// Prevent the execution as long as the component has not been fully loaded
|
|
3572
|
-
if (newValue === oldValue) {
|
|
3573
|
-
return;
|
|
3574
|
-
}
|
|
3570
|
+
_profileChanged() {
|
|
3575
3571
|
this._updateEditorProfile().catch(console.error);
|
|
3576
3572
|
}
|
|
3577
|
-
_testDataChanged(
|
|
3578
|
-
if (
|
|
3573
|
+
_testDataChanged() {
|
|
3574
|
+
if (!this._showExecutionPanel) {
|
|
3579
3575
|
return;
|
|
3580
3576
|
}
|
|
3581
3577
|
this._executeScript().catch(console.error);
|
|
3582
3578
|
}
|
|
3583
|
-
_snippetChanged(
|
|
3584
|
-
if (newValue === oldValue) {
|
|
3585
|
-
return;
|
|
3586
|
-
}
|
|
3579
|
+
_snippetChanged() {
|
|
3587
3580
|
arcadeDefaults.arcadeDefaults.updateApiContextForModel(this._modelId, {
|
|
3588
3581
|
snippets: this.snippets
|
|
3589
3582
|
});
|
|
@@ -3612,7 +3605,7 @@ const ArcgisArcadeEditor = class {
|
|
|
3612
3605
|
*/
|
|
3613
3606
|
async getEditorInstance() {
|
|
3614
3607
|
await this._componentReadyDefer.promise;
|
|
3615
|
-
return
|
|
3608
|
+
return await this._codeEditorElt?.getEditorInstance();
|
|
3616
3609
|
}
|
|
3617
3610
|
/**
|
|
3618
3611
|
* Returns the Arcade result for the script for the provided test data.
|
|
@@ -3744,7 +3737,6 @@ const ArcgisArcadeEditor = class {
|
|
|
3744
3737
|
if (this.hideSideBar) {
|
|
3745
3738
|
return null;
|
|
3746
3739
|
}
|
|
3747
|
-
console.log("expanded", this.sideActionBarExpanded);
|
|
3748
3740
|
return (index.h("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, index.h("calcite-action-group", null, this.renderAction({
|
|
3749
3741
|
id: "profile-variables-action",
|
|
3750
3742
|
label: this._t9nStrings?.profilevariables ?? "Profile variables",
|
|
@@ -4358,20 +4350,20 @@ const ArcgisCodeEditor = class {
|
|
|
4358
4350
|
this.modelId = arcadeDefaults.U();
|
|
4359
4351
|
this.options = undefined;
|
|
4360
4352
|
}
|
|
4361
|
-
valuePropChange(newValue
|
|
4362
|
-
if (!this._editorInstance
|
|
4353
|
+
valuePropChange(newValue) {
|
|
4354
|
+
if (!this._editorInstance) {
|
|
4363
4355
|
return;
|
|
4364
4356
|
}
|
|
4365
4357
|
this._editorInstance.setValue(newValue ?? "");
|
|
4366
4358
|
}
|
|
4367
|
-
languagePropChange(
|
|
4368
|
-
if (!this._editorInstance
|
|
4359
|
+
languagePropChange() {
|
|
4360
|
+
if (!this._editorInstance) {
|
|
4369
4361
|
return;
|
|
4370
4362
|
}
|
|
4371
4363
|
this.updateModel();
|
|
4372
4364
|
}
|
|
4373
|
-
modelIdPropChange(
|
|
4374
|
-
if (!this._editorInstance
|
|
4365
|
+
modelIdPropChange() {
|
|
4366
|
+
if (!this._editorInstance) {
|
|
4375
4367
|
return;
|
|
4376
4368
|
}
|
|
4377
4369
|
this.updateModel();
|
|
@@ -1,16 +1,16 @@
|
|
|
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.3
|
|
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-42d71c10.js');
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
Stencil Client Patch Browser v4.
|
|
13
|
+
Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
|
|
14
14
|
*/
|
|
15
15
|
const patchBrowser = () => {
|
|
16
16
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('arcgis-coding-components.cjs.js', document.baseURI).href));
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
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-9108b927.js');
|
|
11
|
+
require('./index-42d71c10.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const typescript = require('./typescript-
|
|
9
|
-
require('./arcade-defaults-
|
|
10
|
-
require('./index-
|
|
8
|
+
const typescript = require('./typescript-4a00545a.js');
|
|
9
|
+
require('./arcade-defaults-9108b927.js');
|
|
10
|
+
require('./index-42d71c10.js');
|
|
11
11
|
|
|
12
12
|
/*!-----------------------------------------------------------------------------
|
|
13
13
|
* 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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
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-42d71c10.js');
|
|
11
11
|
|
|
12
12
|
const defineCustomElements = (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.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.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-9108b927.js');
|
|
9
|
+
require('./index-42d71c10.js');
|
|
10
10
|
|
|
11
11
|
/*!-----------------------------------------------------------------------------
|
|
12
12
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|