@arcgis/coding-components 4.30.0-next.2 → 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/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-1f472679.js → p-0c7d8400.js} +2 -2
- package/dist/arcgis-coding-components/{p-c4b91917.js → p-19754f5a.js} +3 -3
- package/dist/arcgis-coding-components/{p-8c6bf361.js → p-57e4af30.js} +2 -2
- package/dist/arcgis-coding-components/p-84b69395.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-1f933dba.js → p-a2e6cf69.js} +2 -2
- package/dist/arcgis-coding-components/{p-b22a71b8.js → p-a8ee78f9.js} +1 -1
- package/dist/arcgis-coding-components/{p-30e98420.js → p-e75d3e9e.js} +10 -10
- package/dist/arcgis-coding-components/{p-e55a59ff.js → p-ee00010b.js} +2 -2
- package/dist/arcgis-coding-components/{p-f3068c90.js → p-f09b91f0.js} +2 -2
- package/dist/arcgis-coding-components/{p-fdf8d908.js → p-f27bc17e.js} +2 -2
- package/dist/arcgis-coding-components/{p-30100e82.js → p-fa458a74.js} +1 -1
- package/dist/arcgis-coding-components/{p-758218e2.js → p-fa769562.js} +2 -2
- package/dist/cjs/{arcade-defaults-eb3968a5.js → arcade-defaults-9108b927.js} +10 -10
- package/dist/cjs/{arcade-mode-5275cbeb.js → arcade-mode-99f89a80.js} +5 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +4 -5
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-bbfdb831.js → css-f717453b.js} +1 -1
- package/dist/cjs/{cssMode-f296c8f9.js → cssMode-9a365842.js} +3 -3
- package/dist/cjs/{html-bc3c7f14.js → html-64741c89.js} +3 -3
- package/dist/cjs/{htmlMode-651ef412.js → htmlMode-4e8b2289.js} +3 -3
- package/dist/cjs/{index-d28fe547.js → index-42d71c10.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-a30f18a4.js → javascript-340e4ba6.js} +4 -4
- package/dist/cjs/{jsonMode-6861e18a.js → jsonMode-bc9bd096.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tsMode-8b347861.js → tsMode-99f43f9f.js} +3 -3
- package/dist/cjs/{typescript-44b2647a.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 +2 -2
- package/dist/components/arcade-mode.js +3 -3
- package/dist/components/arcade-results.js +2 -2
- package/dist/components/arcade-suggestions.js +2 -2
- package/dist/components/arcade-variables.js +2 -2
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +2 -3
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +35 -0
- package/dist/components/arcgis-assets.js +2 -2
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/code-editor.js +2 -2
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{arcade-defaults-631dc093.js → arcade-defaults-372ecf79.js} +10 -10
- package/dist/esm/{arcade-mode-43856469.js → arcade-mode-b2b0b42d.js} +5 -5
- package/dist/esm/arcgis-arcade-api_6.entry.js +4 -5
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-6b2305f7.js → css-81c81ba2.js} +1 -1
- package/dist/esm/{cssMode-4a41975b.js → cssMode-41873574.js} +3 -3
- package/dist/esm/{html-b3b2f1bc.js → html-d42d34ab.js} +3 -3
- package/dist/esm/{htmlMode-cedfb87b.js → htmlMode-143da753.js} +3 -3
- package/dist/esm/{index-84f054b0.js → index-3bfb710a.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-2482aacb.js → javascript-c5306510.js} +4 -4
- package/dist/esm/{jsonMode-8afe11aa.js → jsonMode-60732e84.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tsMode-f4368447.js → tsMode-5a10d9e9.js} +3 -3
- package/dist/esm/{typescript-40b2f5cb.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/package.json +9 -9
- package/dist/arcgis-coding-components/p-f0b811ba.entry.js +0 -6
|
@@ -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 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)
|
|
@@ -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", () => {
|
|
@@ -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({
|
|
@@ -3737,7 +3737,6 @@ const ArcgisArcadeEditor = class {
|
|
|
3737
3737
|
if (this.hideSideBar) {
|
|
3738
3738
|
return null;
|
|
3739
3739
|
}
|
|
3740
|
-
console.log("expanded", this.sideActionBarExpanded);
|
|
3741
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({
|
|
3742
3741
|
id: "profile-variables-action",
|
|
3743
3742
|
label: this._t9nStrings?.profilevariables ?? "Profile variables",
|
|
@@ -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.
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.js';
|
|
@@ -20,7 +20,7 @@ import "@esri/calcite-components/dist/components/calcite-flow.js";
|
|
|
20
20
|
import "@esri/calcite-components/dist/components/calcite-input.js";
|
|
21
21
|
import "@esri/calcite-components/dist/components/calcite-loader.js";
|
|
22
22
|
import "@esri/calcite-components/dist/components/calcite-list.js";
|
|
23
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
23
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
24
24
|
|
|
25
25
|
const arcadeApiCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}:host calcite-block p:first-of-type{margin-top:0}:host calcite-block code{font-family:var(--calcite-code-family)}:host calcite-block pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-half)}:host calcite-block pre code{font-size:var(--calcite-font-size--2)}";
|
|
26
26
|
|
|
@@ -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
|
import { languages } from 'monaco-editor';
|
|
7
7
|
import { b as arcadeDefaults } from './arcade-defaults.js';
|
|
@@ -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
|
import { Emitter, Uri } from 'monaco-editor';
|
|
7
7
|
import { InsertTextMode, InsertTextFormat, CompletionItemKind } from 'vscode-languageserver-types';
|
|
8
8
|
import { i as importLayersFeatureLayer, a as importRequest, s as supportedFields, n as newPortalPortalItem, b as newWebScene, c as newWebMap, f as fieldAlias, d as fieldTypeToIconName, e as fieldTypeToArcadeType } from './fields.js';
|
|
9
9
|
import { p as portalItemPageUrl } from './utilities.js';
|
|
10
10
|
import { e as ee, t as te, G, Z, E, v } from './index2.js';
|
|
11
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
11
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
12
12
|
|
|
13
13
|
//#region core adapter fix
|
|
14
14
|
async function newFeatureLayer(definition) {
|
|
@@ -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
|
import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
|
|
7
7
|
import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
|
|
@@ -140,8 +140,8 @@ const arcadeMonarchLanguage = {
|
|
|
140
140
|
// delimiter: after number because of .\d floats
|
|
141
141
|
[/[;,.]/u, "delimiter"],
|
|
142
142
|
// strings
|
|
143
|
-
[/"([^"\\]|\\.)*$/u, "string.invalid"],
|
|
144
|
-
[/'([^'\\]|\\.)*$/u, "string.invalid"],
|
|
143
|
+
[/"([^"\\]|\\.)*$/u, "string.invalid"],
|
|
144
|
+
[/'([^'\\]|\\.)*$/u, "string.invalid"],
|
|
145
145
|
[/"/u, "string", "@string_double"],
|
|
146
146
|
[/'/u, "string", "@string_single"],
|
|
147
147
|
[/`/u, "string", "@string_backtick"]
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as importArcade, s as supportedFields } from './fields.js';
|
|
@@ -15,7 +15,7 @@ import "@esri/calcite-components/dist/components/calcite-icon.js";
|
|
|
15
15
|
import "@esri/calcite-components/dist/components/calcite-action-bar.js";
|
|
16
16
|
import "@esri/calcite-components/dist/components/calcite-action-group.js";
|
|
17
17
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
18
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
18
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
19
19
|
|
|
20
20
|
const DevelopersWebSitePath = "https://developers.arcgis.com/arcade/";
|
|
21
21
|
const MaxArrayItems = 100;
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, b as colorizeCodeElement } from './markdown.js';
|
|
@@ -16,7 +16,7 @@ import "@esri/calcite-components/dist/components/calcite-block.js";
|
|
|
16
16
|
import "@esri/calcite-components/dist/components/calcite-flow.js";
|
|
17
17
|
import "@esri/calcite-components/dist/components/calcite-input.js";
|
|
18
18
|
import "@esri/calcite-components/dist/components/calcite-list.js";
|
|
19
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
19
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
20
20
|
|
|
21
21
|
function isSuggestionGroups(item) {
|
|
22
22
|
if (!Array.isArray(item)) {
|
|
@@ -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
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { B, q, W, K } from './index2.js';
|
|
@@ -15,7 +15,7 @@ import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
|
|
|
15
15
|
import "@esri/calcite-components/dist/components/calcite-list-item.js";
|
|
16
16
|
import "@esri/calcite-components/dist/components/calcite-icon.js";
|
|
17
17
|
import "@esri/calcite-components/dist/components/calcite-flow.js";
|
|
18
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
18
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
19
19
|
|
|
20
20
|
const arcadeVariablesCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}";
|
|
21
21
|
|
|
@@ -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
|
import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { editor, KeyCode } from 'monaco-editor';
|
|
@@ -17,7 +17,7 @@ import "@esri/calcite-components/dist/components/calcite-action-bar.js";
|
|
|
17
17
|
import "@esri/calcite-components/dist/components/calcite-action-group.js";
|
|
18
18
|
import "@esri/calcite-components/dist/components/calcite-action.js";
|
|
19
19
|
import "@esri/calcite-components/dist/components/calcite-tooltip.js";
|
|
20
|
-
import { getAssetPath } from "./arcgis-assets.js";
|
|
20
|
+
import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
|
|
21
21
|
|
|
22
22
|
const themeConfig = {
|
|
23
23
|
"arcade-light-theme": {
|
|
@@ -330,7 +330,6 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
|
|
|
330
330
|
if (this.hideSideBar) {
|
|
331
331
|
return null;
|
|
332
332
|
}
|
|
333
|
-
console.log("expanded", this.sideActionBarExpanded);
|
|
334
333
|
return (h$1("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, h$1("calcite-action-group", null, this.renderAction({
|
|
335
334
|
id: "profile-variables-action",
|
|
336
335
|
label: this._t9nStrings?.profilevariables ?? "Profile variables",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.30/esri/copyright.txt for details.
|
|
4
|
-
* v4.30.0-next.
|
|
4
|
+
* v4.30.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
|
|
7
7
|
|