@arcgis/coding-components 4.30.0-next.98 → 4.30.0
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/README.md +22 -3
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +5 -5
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +2 -2
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +1 -1
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +1 -1
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-ee6c05fc.js → p-24fb1d11.js} +2 -2
- package/dist/arcgis-coding-components/{p-5b206c08.js → p-69ef969a.js} +10 -10
- package/dist/arcgis-coding-components/{p-92252f05.js → p-9770fb37.js} +2 -2
- package/dist/arcgis-coding-components/{p-cc636b3c.js → p-98cf909d.js} +2 -2
- package/dist/arcgis-coding-components/{p-10e6e3cd.js → p-ae0db715.js} +2 -2
- package/dist/arcgis-coding-components/{p-d7dce0cd.js → p-b7981062.js} +2 -2
- package/dist/arcgis-coding-components/p-bf047552.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-6590d647.js → p-ca3f5530.js} +2 -2
- package/dist/arcgis-coding-components/{p-726d3221.js → p-e37595ba.js} +2 -2
- package/dist/arcgis-coding-components/{p-403cc351.js → p-e9510c84.js} +2 -2
- package/dist/arcgis-coding-components/{p-2bef8e2d.js → p-ed5c78ce.js} +1 -1
- package/dist/arcgis-coding-components/{p-cec336b4.js → p-f40fe9c5.js} +1 -1
- package/dist/arcgis-coding-components/{p-99305603.js → p-f602fc86.js} +1 -1
- package/dist/cjs/{app-globals-51316990.js → app-globals-18ba6880.js} +1 -1
- package/dist/cjs/{arcade-defaults-168bddcf.js → arcade-defaults-d0931224.js} +23 -23
- package/dist/cjs/{arcade-mode-ca450e4e.js → arcade-mode-8424eafa.js} +3 -3
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +8 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-53a68867.js → css-d8a65bb9.js} +1 -1
- package/dist/cjs/{cssMode-e3b0183b.js → cssMode-07dbb853.js} +3 -3
- package/dist/cjs/{html-7d4728c4.js → html-bb10cced.js} +3 -3
- package/dist/cjs/{htmlMode-2ce377d7.js → htmlMode-7df0a09d.js} +3 -3
- package/dist/cjs/{index-a0009b33.js → index-15bcce7e.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-c90bab09.js → javascript-f0dbed11.js} +4 -4
- package/dist/cjs/{jsonMode-870063dc.js → jsonMode-9e54e9b7.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-1b1d40aa.js → tsMode-ca28bc5f.js} +3 -3
- package/dist/cjs/{typescript-7c4115da.js → typescript-39540ed7.js} +3 -3
- package/dist/components/arcade-api.js +4 -2
- package/dist/components/arcade-contribution.js +1 -1
- package/dist/components/arcade-defaults.js +14 -14
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +4 -2
- package/dist/components/arcade-suggestions.js +4 -2
- package/dist/components/arcade-variables.js +4 -2
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +4 -2
- 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 +2 -2
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/{chunk-IHYYRFLQ.js → chunk-2CDDVOQU.js} +4 -3
- package/dist/components/code-editor.js +5 -3
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/useT9n.js +2 -2
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-5977ca30.js → app-globals-2a0e9afb.js} +1 -1
- package/dist/esm/{arcade-defaults-0190925e.js → arcade-defaults-811bdd4d.js} +23 -23
- package/dist/esm/{arcade-mode-b2325d8d.js → arcade-mode-e9728a63.js} +3 -3
- package/dist/esm/arcgis-arcade-api_6.entry.js +8 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-ccf101cd.js → css-61c794c2.js} +1 -1
- package/dist/esm/{cssMode-e4268bd0.js → cssMode-6e0ccd51.js} +3 -3
- package/dist/esm/{html-d6fe1cf1.js → html-44ad432e.js} +3 -3
- package/dist/esm/{htmlMode-6ba0eac8.js → htmlMode-fd336434.js} +3 -3
- package/dist/esm/{index-d1e6e6f0.js → index-0d124a57.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-42ab6275.js → javascript-ac057954.js} +4 -4
- package/dist/esm/{jsonMode-344c0685.js → jsonMode-ea8fa529.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-79a6998c.js → tsMode-af9c3001.js} +3 -3
- package/dist/esm/{typescript-af048f70.js → typescript-baec45d6.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/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +8 -1
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +5 -1
- package/dist/types/utils/profile/types.d.ts +25 -0
- package/dist/types/utils/profile/utils.d.ts +1 -1
- package/package.json +15 -15
- package/dist/arcgis-coding-components/p-f448734c.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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
|
-
import{C as t,B as e}from"./p-
|
|
6
|
+
import{C as t,B as e}from"./p-69ef969a.js";import"./p-ed5c78ce.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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
|
-
import{B as t}from"./p-
|
|
6
|
+
import{B as t}from"./p-69ef969a.js";import"./p-ed5c78ce.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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
|
-
import{conf as e,language as t}from"./p-
|
|
6
|
+
import{conf as e,language as t}from"./p-24fb1d11.js";import"./p-69ef969a.js";import"./p-ed5c78ce.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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
6
|
var e=Object.defineProperty,n=e=>{const n=new URL(e,ve.t);return n.origin!==de.location.origin?n.href:n.pathname},t={},l=e=>"object"==(e=typeof e)||"function"===e;function o(e){var n,t,l;return null!=(l=null==(t=null==(n=e.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?l:void 0}((n,t)=>{for(var l in t)e(n,l,{get:t[l],enumerable:!0})})({},{err:()=>r,map:()=>i,ok:()=>s,unwrap:()=>a,unwrapErr:()=>f});var s=e=>({isOk:!0,isErr:!1,value:e}),r=e=>({isOk:!1,isErr:!0,value:e});function i(e,n){if(e.isOk){const t=n(e.value);return t instanceof Promise?t.then((e=>s(e))):s(t)}if(e.isErr)return r(e.value);throw"should never get here"}var c,u,a=e=>{if(e.isOk)return e.value;throw e.value},f=e=>{if(e.isErr)return e.value;throw e.value},d="slot-fb{display:contents}slot-fb[hidden]{display:none}",p="http://www.w3.org/1999/xlink",v=(e,n,...t)=>{let o=null,s=null,r=!1,i=!1;const c=[],u=n=>{for(let t=0;t<n.length;t++)o=n[t],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!l(o))&&(o+=""),r&&i?c[c.length-1].l+=o:c.push(r?m(null,o):o),i=r)};if(u(t),n){n.key&&(s=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,c,h);const a=m(e,null);return a.o=n,c.length>0&&(a.i=c),a.u=s,a},m=(e,n)=>({p:0,v:e,l:n,m:null,i:null,o:null,u:null}),y={},h={forEach:(e,n)=>e.map(b).forEach(n),map:(e,n)=>e.map(b).map(n).map($)},b=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.h,vtag:e.v,vtext:e.l}),$=e=>{if("function"==typeof e.vtag){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),v(e.vtag,n,...e.vchildren||[])}const n=m(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.h=e.vname,n},w=e=>oe(e).$hostElement$,g=(e,n,t)=>{const l=w(e);return{emit:e=>k(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},k=(e,n,t)=>{const l=ve.ce(n,t);return e.dispatchEvent(l),l},j=new WeakMap,O=e=>"sc-"+e.$,S=(e,n,t,o,s,r)=>{if(t!==o){let i=ie(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,l=E(t),s=E(o);n.remove(...l.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===n){for(const n in t)o&&null!=o[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)t&&o[n]===t[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&o(e);else if(i||"o"!==n[0]||"n"!==n[1]){const u=l(o);if((i||u&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[n]=o;else{const l=null==o?"":o;"list"===n?i=!1:null!=t&&e[n]==l||(e[n]=l)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(n=c,a=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(n)||(a?e.removeAttributeNS(p,n):e.removeAttribute(n)):(!i||4&r||s)&&!u&&(o=!0===o?"":o,a?e.setAttributeNS(p,n,o):e.setAttribute(n,o))}else if(n="-"===n[2]?n.slice(3):ie(de,c)?c.slice(2):c[2]+n.slice(3),t||o){const l=n.endsWith(M);n=n.replace(x,""),t&&ve.rel(e,n,t,l),o&&ve.ael(e,n,o,l)}}},C=/\s/,E=e=>e?e.split(C):[],M="Capture",x=RegExp(M+"$"),P=(e,n,l,o)=>{const s=11===n.m.nodeType&&n.m.host?n.m.host:n.m,r=e&&e.o||t,i=n.o||t;for(o of L(Object.keys(r)))o in i||S(s,o,r[o],void 0,l,n.p);for(o of L(Object.keys(i)))S(s,o,r[o],i[o],l,n.p)};function L(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var U=!1,R=(e,n,t)=>{const l=n.i[t];let o,s,r=0;if(null!==l.l)o=l.m=pe.createTextNode(l.l);else if(o=l.m=pe.createElement(l.v),P(null,l,U),null!=c&&o["s-si"]!==c&&o.classList.add(o["s-si"]=c),l.i)for(r=0;r<l.i.length;++r)s=R(e,l,r),s&&o.appendChild(s);return o["s-hn"]=u,o},W=(e,n,t,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===u&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=R(null,t,o),r&&(l[o].m=r,i.insertBefore(r,n)))},A=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.m;D(n),e&&e.remove()}}},N=(e,n,t=!1)=>e.v===n.v&&(!!t||e.u===n.u),T=(e,n,t=!1)=>{const l=n.m=e.m,o=e.i,s=n.i,r=n.l;null===r?(P(e,n,U),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=n.length-1,d=n[0],p=n[f],v=l.length-1,m=l[0],y=l[v];for(;i<=f&&c<=v;)if(null==d)d=n[++i];else if(null==p)p=n[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--v];else if(N(d,m,o))T(d,m,o),d=n[++i],m=l[++c];else if(N(p,y,o))T(p,y,o),p=n[--f],y=l[--v];else if(N(d,y,o))T(d,y,o),e.insertBefore(d.m,p.m.nextSibling),d=n[++i],y=l[--v];else if(N(p,m,o))T(p,m,o),e.insertBefore(p.m,d.m),p=n[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(n[a]&&null!==n[a].u&&n[a].u===m.u){u=a;break}u>=0?(r=n[u],r.v!==m.v?s=R(n&&n[c],t,u):(T(r,m,o),n[u]=void 0,s=r.m),m=l[++c]):(s=R(n&&n[c],t,c),m=l[++c]),s&&d.m.parentNode.insertBefore(s,d.m)}i>f?W(e,null==l[v+1]?null:l[v+1].m,t,l,c,v):c>v&&A(n,i,f)})(l,o,n,s,t):null!==s?(null!==e.l&&(l.textContent=""),W(l,null,n,s,0,s.length-1)):null!==o&&A(o,0,o.length-1)):e.l!==r&&(l.data=r)},D=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(D)},F=(e,n)=>{n&&!e.k&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.k=n)))},H=(e,n)=>{if(e.p|=16,!(4&e.p))return F(e,e.j),Oe((()=>q(e,n)));e.p|=512},q=(e,n)=>{const t=e.O;let l;return l=K(t,n?"componentWillLoad":"componentWillUpdate"),V(l,(()=>z(e,t,n)))},V=(e,n)=>_(e)?e.then(n):n(),_=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,z=async(e,n,t)=>{var l;const s=e.$hostElement$,r=s["s-rc"];t&&(e=>{const n=e.S,t=e.$hostElement$,l=n.p,s=((e,n)=>{var t;const l=O(n),s=fe.get(l);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let r,i=j.get(e=e.head||e);if(i||j.set(e,i=new Set),!i.has(l)){{r=pe.createElement("style"),r.innerHTML=s;const n=null!=(t=ve.C)?t:o(pe);null!=n&&r.setAttribute("nonce",n),e.insertBefore(r,e.querySelector("link"))}4&n.p&&(r.innerHTML+=d),i&&i.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);B(e,n,s,t),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const n=null!=(l=s["s-p"])?l:[],t=()=>G(e);0===n.length?t():(Promise.all(n).then(t),e.p|=4,n.length=0)}},B=(e,n,t,l)=>{try{n=n.render(),e.p&=-17,e.p|=2,((e,n,t=!1)=>{const l=e.$hostElement$,o=e.S,s=e.M||m(null,null),r=(e=>e&&e.v===y)(n)?n:v(null,null,n);if(u=l.tagName,o.P&&(r.o=r.o||{},o.P.map((([e,n])=>r.o[n]=l[e]))),t&&r.o)for(const e of Object.keys(r.o))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.o[e]=l[e]);r.v=null,r.p|=4,e.M=r,r.m=s.m=l.shadowRoot||l,c=l["s-sc"],T(s,r,t)})(e,n,l)}catch(n){ce(n,e.$hostElement$)}return null},G=e=>{const n=e.$hostElement$,t=e.O,l=e.j;64&e.p?K(t,"componentDidUpdate"):(e.p|=64,Q(n),K(t,"componentDidLoad"),e.L(n),l||J()),e.U(n),e.k&&(e.k(),e.k=void 0),512&e.p&&je((()=>H(e,!1))),e.p&=-517},I=e=>{{const n=oe(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.p)&&H(n,!1),t}},J=()=>{Q(pe.documentElement),je((()=>k(de,"appload",{detail:{namespace:"arcgis-coding-components"}})))},K=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){ce(e)}},Q=e=>e.setAttribute("hydrated",""),X=(e,n,t)=>{var o;const s=e.prototype;if(n.R){e.watchers&&(n.W=e.watchers);const r=Object.entries(n.R);if(r.map((([e,[o]])=>{31&o||2&t&&32&o?Object.defineProperty(s,e,{get(){return((e,n)=>oe(this).A.get(n))(0,e)},set(t){((e,n,t,o)=>{const s=oe(e),r=s.$hostElement$,i=s.A.get(n),c=s.p,u=s.O;if(t=((e,n)=>null==e||l(e)?e:4&n?"false"!==e&&(""===e||!!e):1&n?e+"":e)(t,o.R[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(s.A.set(n,t),u)){if(o.W&&128&c){const e=o.W[n];e&&e.map((e=>{try{u[e](t,i,n)}catch(e){ce(e,r)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(t,i,n))return;H(s,!1)}}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&o&&Object.defineProperty(s,e,{value(...n){var t;const l=oe(this);return null==(t=null==l?void 0:l.N)?void 0:t.then((()=>{var t;return null==(t=l.O)?void 0:t[e](...n)}))}})})),1&t){const t=new Map;s.attributeChangedCallback=function(e,l,o){ve.jmp((()=>{var r;const i=t.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const t=oe(this),s=null==t?void 0:t.p;if(s&&!(8&s)&&128&s&&o!==l){const s=t.O,i=null==(r=n.W)?void 0:r[e];null==i||i.forEach((n=>{null!=s[n]&&s[n].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.W)?o:{}),...r.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const s=l[1]||e;return t.set(s,e),512&l[0]&&(null==(o=n.P)||o.push([e,s])),s}))]))}}return e},Y=e=>{K(e,"connectedCallback")},Z=e=>{K(e,"disconnectedCallback")},ee=(e,n={})=>{var t;const l=[],s=n.exclude||[],r=de.customElements,i=pe.head,c=i.querySelector("meta[charset]"),u=pe.createElement("style"),a=[];let f,p=!0;Object.assign(ve,n),ve.t=new URL(n.resourcesUrl||"./",pe.baseURI).href;let v=!1;if(e.map((e=>{e[1].map((n=>{var t;const o={p:n[0],$:n[1],R:n[2],T:n[3]};4&o.p&&(v=!0),o.R=n[2],o.P=[],o.W=null!=(t=n[4])?t:{};const i=o.$,c=class extends HTMLElement{constructor(e){super(e),re(e=this,o),1&o.p&&e.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),p?a.push(this):ve.jmp((()=>(e=>{if(!(1&ve.p)){const n=oe(e),t=n.S,l=()=>{};if(1&n.p)(null==n?void 0:n.O)?Y(n.O):(null==n?void 0:n.D)&&n.D.then((()=>Y(n.O)));else{n.p|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){F(n,n.j=t);break}}t.R&&Object.entries(t.R).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(!(32&n.p)){if(n.p|=32,t.F){if(l=ae(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.W=l.watchers,X(l,t,2),l.isProxied=!0);const e=()=>{};n.p|=8;try{l.__forceUpdate=I,l.__registerControllers=e=>(se(e,n),n.S.R??{}),new l(n),l.__registerControllers=void 0}catch(e){ce(e)}n.p&=-9,n.p|=128,e(),Y(n.O)}else l=e.constructor,customElements.whenDefined(t.$).then((()=>n.p|=128));if(l.style){let e=l.style;const n=O(t);if(!fe.has(n)){const l=()=>{};((e,n,t)=>{let l=fe.get(e);ye&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,fe.set(e,l)})(n,e,!!(1&t.p)),l()}}}const o=n.j,s=()=>H(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,n,t)}l()}})(this)))}disconnectedCallback(){ve.jmp((()=>(async()=>{if(!(1&ve.p)){const e=oe(this);(null==e?void 0:e.O)?Z(e.O):(null==e?void 0:e.D)&&e.D.then((()=>Z(e.O)))}})()))}componentOnReady(){return oe(this).D}};o.F=e[0],s.includes(i)||r.get(i)||(l.push(i),r.define(i,X(c,o,1)))}))})),l.length>0&&(v&&(u.textContent+=d),u.textContent+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(t=ve.C)?t:o(pe);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}p=!1,a.length?a.map((e=>e.connectedCallback())):ve.jmp((()=>f=setTimeout(J,30)))},ne=(e,n)=>n,te=e=>ve.C=e,le=new WeakMap,oe=e=>le.get(e),se=(e,n)=>le.set(n.O=e,n),re=(e,n)=>{const t={p:0,$hostElement$:e,S:n,A:new Map};return t.N=new Promise((e=>t.U=e)),t.D=new Promise((e=>t.L=e)),e["s-p"]=[],e["s-rc"]=[],le.set(e,t)},ie=(e,n)=>n in e,ce=(e,n)=>(0,console.error)(e,n),ue=new Map,ae=e=>{const n=e.$.replace(/-/g,"_"),t=e.F,l=ue.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(ue.set(t,e),e[n])),ce)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},fe=new Map,de="undefined"!=typeof window?window:{},pe=de.document||{head:{}},ve={p:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},me=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),he=!1,be=[],$e=[],we=(e,n)=>t=>{e.push(t),he||(he=!0,n&&4&ve.p?je(ke):ve.raf(ke))},ge=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){ce(e)}e.length=0},ke=()=>{ge(be),ge($e),(he=be.length>0)&&ve.raf(ke)},je=e=>me().then(e),Oe=we($e,!0);export{ne as F,y as H,w as a,ee as b,g as c,n as g,v as h,me as p,se as r,te as s}
|
|
@@ -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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-15bcce7e.js');
|
|
9
9
|
|
|
10
10
|
function _interopNamespace(e) {
|
|
11
11
|
if (e && e.__esModule) return e;
|
|
@@ -120616,7 +120616,7 @@ registerLanguage({
|
|
|
120616
120616
|
mimetypes: ["text/css"],
|
|
120617
120617
|
loader: () => {
|
|
120618
120618
|
{
|
|
120619
|
-
return Promise.resolve().then(function () { return require('./css-
|
|
120619
|
+
return Promise.resolve().then(function () { return require('./css-d8a65bb9.js'); });
|
|
120620
120620
|
}
|
|
120621
120621
|
}
|
|
120622
120622
|
});
|
|
@@ -120634,7 +120634,7 @@ registerLanguage({
|
|
|
120634
120634
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120635
120635
|
loader: () => {
|
|
120636
120636
|
{
|
|
120637
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
120637
|
+
return Promise.resolve().then(function () { return require('./html-bb10cced.js'); });
|
|
120638
120638
|
}
|
|
120639
120639
|
}
|
|
120640
120640
|
});
|
|
@@ -120654,7 +120654,7 @@ registerLanguage({
|
|
|
120654
120654
|
mimetypes: ["text/javascript"],
|
|
120655
120655
|
loader: () => {
|
|
120656
120656
|
{
|
|
120657
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
120657
|
+
return Promise.resolve().then(function () { return require('./javascript-f0dbed11.js'); });
|
|
120658
120658
|
}
|
|
120659
120659
|
}
|
|
120660
120660
|
});
|
|
@@ -120672,7 +120672,7 @@ registerLanguage({
|
|
|
120672
120672
|
mimetypes: ["text/typescript"],
|
|
120673
120673
|
loader: () => {
|
|
120674
120674
|
{
|
|
120675
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
120675
|
+
return Promise.resolve().then(function () { return require('./typescript-39540ed7.js'); });
|
|
120676
120676
|
}
|
|
120677
120677
|
}
|
|
120678
120678
|
});
|
|
@@ -120793,7 +120793,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120793
120793
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120794
120794
|
function getMode$3() {
|
|
120795
120795
|
{
|
|
120796
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
120796
|
+
return Promise.resolve().then(function () { return require('./cssMode-07dbb853.js'); });
|
|
120797
120797
|
}
|
|
120798
120798
|
}
|
|
120799
120799
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120918,7 +120918,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120918
120918
|
};
|
|
120919
120919
|
function getMode$2() {
|
|
120920
120920
|
{
|
|
120921
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
120921
|
+
return Promise.resolve().then(function () { return require('./htmlMode-7df0a09d.js'); });
|
|
120922
120922
|
}
|
|
120923
120923
|
}
|
|
120924
120924
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -121020,7 +121020,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
121020
121020
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
121021
121021
|
function getMode$1() {
|
|
121022
121022
|
{
|
|
121023
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
121023
|
+
return Promise.resolve().then(function () { return require('./jsonMode-9e54e9b7.js'); });
|
|
121024
121024
|
}
|
|
121025
121025
|
}
|
|
121026
121026
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121289,7 +121289,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121289
121289
|
};
|
|
121290
121290
|
function getMode() {
|
|
121291
121291
|
{
|
|
121292
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
121292
|
+
return Promise.resolve().then(function () { return require('./tsMode-ca28bc5f.js'); });
|
|
121293
121293
|
}
|
|
121294
121294
|
}
|
|
121295
121295
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -169076,13 +169076,13 @@ async function importRequest() {
|
|
|
169076
169076
|
}
|
|
169077
169077
|
|
|
169078
169078
|
//#region Type Guards
|
|
169079
|
-
function
|
|
169079
|
+
function isFeatureLayerLikeInstance(item) {
|
|
169080
169080
|
return (!!item &&
|
|
169081
169081
|
typeof item === "object" &&
|
|
169082
169082
|
"declaredClass" in item &&
|
|
169083
169083
|
typeof item.declaredClass === "string" &&
|
|
169084
169084
|
item.declaredClass.startsWith("esri.layers.") &&
|
|
169085
|
-
|
|
169085
|
+
isFieldsDefinition(item) &&
|
|
169086
169086
|
"queryFeatures" in item &&
|
|
169087
169087
|
typeof item.queryFeatures === "function");
|
|
169088
169088
|
}
|
|
@@ -170502,7 +170502,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
170502
170502
|
const relationshipsGroup = new GroupOfVariables(this._profile, { code: "relationships" });
|
|
170503
170503
|
const relationshipItems = await Promise.all(source.relationships.map(async (relationship) => {
|
|
170504
170504
|
const relatedLayer = await getRelatedFeatureLayer(source, relationship);
|
|
170505
|
-
if (!
|
|
170505
|
+
if (!isFeatureLayerLikeInstance(relatedLayer)) {
|
|
170506
170506
|
return null;
|
|
170507
170507
|
}
|
|
170508
170508
|
if (relationship.relatedTableId === this.relationshipsProperties?.sourceTableId) {
|
|
@@ -170804,7 +170804,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170804
170804
|
.toArray()
|
|
170805
170805
|
.reverse()
|
|
170806
170806
|
.forEach((layer) => {
|
|
170807
|
-
if (
|
|
170807
|
+
if (isFeatureLayerLikeInstance(layer)) {
|
|
170808
170808
|
layerVariables.push(this._createFeatureSetVariable(layer, true));
|
|
170809
170809
|
return;
|
|
170810
170810
|
}
|
|
@@ -170817,31 +170817,31 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170817
170817
|
});
|
|
170818
170818
|
return layerVariables;
|
|
170819
170819
|
}
|
|
170820
|
-
_createFeatureSetVariable(
|
|
170820
|
+
_createFeatureSetVariable(featureLayerLike, isFromWebMap = false) {
|
|
170821
170821
|
return new FeatureSetVariable(this, {
|
|
170822
170822
|
profile: this._profile,
|
|
170823
|
-
declaration: { name:
|
|
170823
|
+
declaration: { name: featureLayerLike.title, definition: featureLayerLike },
|
|
170824
170824
|
label: isFromWebMap
|
|
170825
|
-
?
|
|
170826
|
-
:
|
|
170825
|
+
? featureLayerLike.title
|
|
170826
|
+
: featureLayerLike.sourceJSON.name ?? featureLayerLike.title,
|
|
170827
170827
|
description: "",
|
|
170828
170828
|
nonInteractive: true,
|
|
170829
|
-
}, this._makeFeatureSetSnippets(
|
|
170829
|
+
}, this._makeFeatureSetSnippets(featureLayerLike, isFromWebMap));
|
|
170830
170830
|
}
|
|
170831
|
-
_makeFeatureSetSnippets(
|
|
170831
|
+
_makeFeatureSetSnippets(featureLayerLike, isFromWebMap = false) {
|
|
170832
170832
|
if (!this._profile?.supportFeatureSetFunctions) {
|
|
170833
170833
|
return [];
|
|
170834
170834
|
}
|
|
170835
170835
|
if (isFromWebMap) {
|
|
170836
|
-
const snippetById = `FeatureSetById(${this.snippet}, "${
|
|
170837
|
-
const snippetByName = `FeatureSetByName(${this.snippet}, "${
|
|
170836
|
+
const snippetById = `FeatureSetById(${this.snippet}, "${featureLayerLike.id}")`;
|
|
170837
|
+
const snippetByName = `FeatureSetByName(${this.snippet}, "${featureLayerLike.title}")`;
|
|
170838
170838
|
return [
|
|
170839
170839
|
new ValueVariable({ profile: this._profile, label: snippetById, description: "", snippet: snippetById }),
|
|
170840
170840
|
new ValueVariable({ profile: this._profile, label: snippetByName, description: "", snippet: snippetByName }),
|
|
170841
170841
|
];
|
|
170842
170842
|
}
|
|
170843
170843
|
else {
|
|
170844
|
-
const snippetById = `FeatureSetById(${this.snippet}, "${
|
|
170844
|
+
const snippetById = `FeatureSetById(${this.snippet}, "${featureLayerLike.layerId}")`;
|
|
170845
170845
|
return [new ValueVariable({ profile: this._profile, label: snippetById, description: "", snippet: snippetById })];
|
|
170846
170846
|
}
|
|
170847
170847
|
}
|
|
@@ -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
|
|
4
|
+
* v4.30.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const arcadeDefaults = require('./arcade-defaults-
|
|
9
|
-
require('./index-
|
|
8
|
+
const arcadeDefaults = require('./arcade-defaults-d0931224.js');
|
|
9
|
+
require('./index-15bcce7e.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.exports.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.exports.CompletionItemKind.Keyword}));
|
|
12
12
|
|