@arcgis/coding-components 4.31.0 → 4.31.2
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/code-editor/sql-expr.worker.js +33 -33
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-9ae3e0f3.js → p-00129ad1.js} +2 -2
- package/dist/arcgis-coding-components/{p-b8df8c31.entry.js → p-00f126a5.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-f546d4aa.js → p-0c3e826b.js} +2 -2
- package/dist/arcgis-coding-components/{p-b0437e45.js → p-1ab2ddc1.js} +2 -2
- package/dist/arcgis-coding-components/{p-0f6f7c76.js → p-1aece2d2.js} +1 -1
- package/dist/arcgis-coding-components/{p-133fcdef.js → p-290e4dce.js} +10 -10
- package/dist/arcgis-coding-components/{p-2b0c74d7.js → p-300ee292.js} +2 -2
- package/dist/arcgis-coding-components/{p-d22283f0.js → p-4158e65c.js} +2 -2
- package/dist/arcgis-coding-components/{p-21a9769d.js → p-59b5a8d3.js} +2 -2
- package/dist/arcgis-coding-components/{p-efe08305.js → p-5cf47df7.js} +1 -1
- package/dist/arcgis-coding-components/{p-84434c09.entry.js → p-6078fa2a.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-26464757.entry.js → p-710f7c22.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-d0b9e1e9.js → p-95bc2584.js} +2 -2
- package/dist/arcgis-coding-components/{p-fa67ba0f.js → p-b5d6ec05.js} +1 -1
- package/dist/arcgis-coding-components/{p-3342a912.js → p-d658ab17.js} +2 -2
- package/dist/arcgis-coding-components/{p-6a64a979.js → p-e1a4f5e3.js} +2 -2
- package/dist/arcgis-coding-components/{p-fcd5712b.js → p-eebeee44.js} +2 -2
- package/dist/arcgis-coding-components/{p-77e24516.js → p-f7a582d2.js} +2 -2
- package/dist/cjs/{app-globals-c859c918.js → app-globals-ccf13e27.js} +1 -1
- package/dist/cjs/{arcade-defaults-fd9f2282.js → arcade-defaults-eab13b86.js} +3 -3
- package/dist/cjs/{arcade-mode-65775eda.js → arcade-mode-983a42d1.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-1d3cd2fc.js → css-15f79d69.js} +1 -1
- package/dist/cjs/{cssMode-3e2937ed.js → cssMode-1105c12e.js} +3 -3
- package/dist/cjs/{html-a74f50b8.js → html-a5483f62.js} +3 -3
- package/dist/cjs/{htmlMode-12c729a7.js → htmlMode-27297d45.js} +3 -3
- package/dist/cjs/{index-cc81a219.js → index-67523b2a.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-1ab09836.js → javascript-a2d6168b.js} +4 -4
- package/dist/cjs/{jsonMode-6202c761.js → jsonMode-7930aa9e.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-6dc07a9e.js → sql-expr-defaults-6837e025.js} +10 -10
- package/dist/cjs/{sql-expr-mode-26ea6edf.js → sql-expr-mode-fa869bf1.js} +3 -3
- package/dist/cjs/{tsMode-7a956e02.js → tsMode-04ec4237.js} +3 -3
- package/dist/cjs/{typescript-80004737.js → typescript-ba9e380e.js} +3 -3
- package/dist/cjs/{useT9n-908ae998.js → useT9n-f1af45b3.js} +3 -3
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +1 -1
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/chunk-UFIZBDFE.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/editor-variables.js +1 -1
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/language-api-panel.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +1 -1
- package/dist/components/sql-expr-mode.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-1af8898a.js → app-globals-c56a0eb5.js} +1 -1
- package/dist/esm/{arcade-defaults-ad82d462.js → arcade-defaults-4301ff37.js} +3 -3
- package/dist/esm/{arcade-mode-f580af1d.js → arcade-mode-e9cfbe07.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-9e1c79d7.js → css-1c010a72.js} +1 -1
- package/dist/esm/{cssMode-3c1f4218.js → cssMode-65a50808.js} +3 -3
- package/dist/esm/{html-a2369f55.js → html-3204cd76.js} +3 -3
- package/dist/esm/{htmlMode-e2126b40.js → htmlMode-2e60fef2.js} +3 -3
- package/dist/esm/{index-fda3f23c.js → index-09e66bef.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-3708cfce.js → javascript-25bce847.js} +4 -4
- package/dist/esm/{jsonMode-46439c5e.js → jsonMode-6cd63ab2.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-7c2490bb.js → sql-expr-defaults-b7631182.js} +10 -10
- package/dist/esm/{sql-expr-mode-65f47625.js → sql-expr-mode-9f2c6d2d.js} +3 -3
- package/dist/esm/{tsMode-3ebffa3c.js → tsMode-a23b8de2.js} +3 -3
- package/dist/esm/{typescript-22caec04.js → typescript-966618dc.js} +3 -3
- package/dist/esm/{useT9n-20734172.js → useT9n-0ed384ae.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/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
- package/package.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-language/api/test.json +0 -6861
- package/dist/types/Users/fred/Projects/arcgis-web-components-work/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/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 +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/sql-expression-editor/sql-expression-editor.stories.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -0
- /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -0
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.
|
|
4
|
+
* v4.31.2
|
|
5
5
|
*/
|
|
6
|
-
import{O as t}from"./p-
|
|
6
|
+
import{O as t}from"./p-290e4dce.js";import"./p-5cf47df7.js";
|
|
7
7
|
/*!-----------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.
|
|
4
|
+
* v4.31.2
|
|
5
5
|
*/
|
|
6
|
-
import{m as e,f as t,i as n,a,b as r,c as i,d as s,L as o,e as c,E as u}from"./p-
|
|
6
|
+
import{m as e,f as t,i as n,a,b as r,c as i,d as s,L as o,e as c,E as u}from"./p-290e4dce.js";import{g as d}from"./p-5cf47df7.js";async function l(n,a=e.exports.CompletionItemKind.Variable){return await Promise.all(n.map((async n=>{switch(n.type){case"dictionary":return await async function(t,n){const{name:a,dictionaryVariables:r}=t,i=t.getDescription(),s=r.reduce(((e,t)=>{""!==e&&(e+=" \n \n"),e+=`**${t.name}** \n${t.type}`;const n=t.getDescription();return n&&(e+=` \n${n}`),e}),i);return{name:a,description:i,type:"dictionary",properties:await l(r,e.exports.CompletionItemKind.Field),completion:{label:a,detail:a,insertText:a,insertTextMode:e.exports.InsertTextMode.asIs,insertTextFormat:e.exports.InsertTextFormat.PlainText,kind:n,documentation:{kind:"markdown",value:s}}}}(n,a);case"feature":return await async function(n,a){const r=await n.loadSource(),{name:i}=n,s=n.getDescription(),o={label:i,detail:i,insertText:i,insertTextMode:e.exports.InsertTextMode.asIs,insertTextFormat:e.exports.InsertTextFormat.PlainText,kind:a},c={name:i,description:s,type:"dictionary",properties:[],completion:o};if(!r)return c;const[u,d]=t(r.fields,s,!0);return c.properties=u,o.documentation={kind:"markdown",value:d},c}(n,a);default:return function(t,n){const{name:a,type:r}=t,i=t.getDescription();return{name:a,description:i,type:r,completion:{label:a,detail:a,insertText:a,insertTextMode:e.exports.InsertTextMode.asIs,insertTextFormat:e.exports.InsertTextFormat.PlainText,kind:n,documentation:{kind:"markdown",value:i}}}}(n,a)}})))}async function p(e="en"){const t=f.get(e);if(t)return t;if(!s.has(e))return await p("en");try{const t=await fetch(d(`./assets/arcade-language/profiles/arcade-profiles.t9n.${e}.json`));return t.ok?function(e,t){const n=new Map;return t.forEach((e=>{n.set(e.id,e)})),f.set(e,n),n}(e,await t.json()):"en"===e?null:await p("en")}catch{return null}}const f=new Map;function y(e){switch(e.type){case"dictionary":return{...e,type:e.type,properties:(t=e.properties,t?.map(y))};case"array":return{...e,type:e.type,elementType:{type:"number",name:"number"}};default:return{...e,type:e.type}}var t}async function m(e,t="en"){if(!n(e))return;const s=await async function(e,t="en"){const n=await p(t);return n?.get(e)??null}(e.id,t);if(!s)return;const o={bundles:[...s.bundles],variables:[],hiddenApiItems:e.hiddenApiItems?.map((e=>e.toLowerCase()))};var c;return s.variables.forEach((t=>{if(e.disabledVariables?.includes(t.name))return;const n=e.definitions[t.name];switch(t.type){case"dictionary":return o.variables.push(y({...t,type:t.type,properties:Array.isArray(n)?[...n]:t.properties}));case"feature":if(!i(n))return;return o.variables.push({...t,type:t.type,definition:n});case"featureSet":if(!r(n))return;return o.variables.push({...t,type:t.type,definition:n});case"featureSetCollection":if(!a(n))return;return o.variables.push({...t,type:t.type,definition:n});default:return o.variables.push(y(t))}})),(c=e)&&"object"==typeof c&&"additionalVariables"in c&&Array.isArray(c.additionalVariables)&&o.variables.push(...e.additionalVariables??[]),o}const w=new class extends o{constructor(){super("arcade",{apiPath:"./assets/arcade-language/api",apiPrefix:"arcade-api.t9n."})}async setProfileForModel(e,t,a={locale:"en"}){n(t)&&(t=await m(t,a.locale));const r=await c(a.locale,d("./assets/arcade-language/t9n"),"profile.t9n.");if(!r)throw new Error(`Failed to load the language bundle for ${a.locale}`);this.disposeForModel(e);const i=this._getApiKey(e),s=new u(t,r);this._modelToProfileMap.set(i,s);const o=await async function(e){const{apiVersion:t,bundles:n,hiddenApiItems:a}=e.toEditorProfileDefinition();return{apiVersion:t,bundles:n,variables:await l(e.dictionaryVariables),hiddenApiItems:a?.map((e=>e.toLowerCase()))}}(s);this.updateApiContextForModel(e,{locale:a.locale,profile:o,snippets:a.snippets})}},b={setProfileForModel:w.setProfileForModel.bind(w),getApiLibraryForModel:w.getApiLibraryForModel.bind(w)};export{b as a,w as b}
|
|
@@ -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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.
|
|
4
|
+
* v4.31.2
|
|
5
5
|
*/
|
|
6
|
-
import{O as e}from"./p-
|
|
6
|
+
import{O as e}from"./p-290e4dce.js";import"./p-5cf47df7.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.31/esri/copyright.txt for details.
|
|
4
|
-
* v4.31.
|
|
4
|
+
* v4.31.2
|
|
5
5
|
*/
|
|
6
6
|
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,r=(e,t)=>(0,console.error)(e,t),s=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},d={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,y=[],v=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.l?g($):d.raf($))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){r(e)}e.length=0},$=()=>{b(y),b(v),(m=y.length>0)&&d.raf($)},g=e=>h().then(e),S=w(v,!0),k=e=>{const t=new URL(e,d.o);return t.origin!==a.location.origin?t.href:t.pathname},j={},E=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>x,map:()=>M,ok:()=>C,unwrap:()=>U,unwrapErr:()=>L});var C=e=>({isOk:!0,isErr:!1,value:e}),x=e=>({isOk:!1,isErr:!0,value:e});function M(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return x(e.value);throw"should never get here"}var P,U=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,r=!1,s=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!E(l))&&(l+=""),r&&s?i[i.length-1].i+=l:i.push(r?A(null,l):l),s=r)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,H);const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},A=(e,t)=>({l:0,m:e,i:t,v:null,h:null,u:null,p:null}),D={},H={forEach:(e,t)=>e.map(T).forEach(t),map:(e,t)=>e.map(T).map(t).map(W)},T=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.$,vtag:e.m,vtext:e.i}),W=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),R(e.vtag,t,...e.vchildren||[])}const t=A(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.$=e.vname,t},F=e=>n(e).$hostElement$,N=(e,t,n)=>{const l=F(e);return{emit:e=>q(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},q=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},G=new WeakMap,V=e=>"sc-"+e.S,_=(e,t,n,l,r,s)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=B(n),r=B(l);t.remove(...o.filter((e=>e&&!r.includes(e)))),t.add(...r.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=E(l);if((i||o&&null!==l)&&!r)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&s||r)&&!o&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(a,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(I);t=t.replace(J,""),n&&d.rel(e,t,n,o),l&&d.ael(e,t,l,o)}}},z=/\s/,B=e=>e?e.split(z):[],I="Capture",J=RegExp(I+"$"),K=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||j,r=t.u||j;for(const e of Q(Object.keys(o)))e in r||_(l,e,o[e],void 0,n,t.l);for(const e of Q(Object.keys(r)))_(l,e,o[e],r[e],n,t.l)};function Q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var X=!1,Y=(e,t,n)=>{const l=t.h[n];let o,r,s=0;if(null!==l.i)o=l.v=f.createTextNode(l.i);else if(o=l.v=f.createElement(l.m),K(null,l,X),o.getRootNode().querySelector("body"),l.h)for(s=0;s<l.h.length;++s)r=Y(e,l,s),r&&o.appendChild(r);return o["s-hn"]=P,o},Z=(e,t,n,l,o,r)=>{let s,i=e;for(i.shadowRoot&&i.tagName===P&&(i=i.shadowRoot);o<=r;++o)l[o]&&(s=Y(null,n,o),s&&(l[o].v=s,oe(i,s,t)))},ee=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;le(t),e&&e.remove()}}},te=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),ne=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,r=t.h,s=t.i;null===s?(K(e,t,X),null!==o&&null!==r?((e,t,n,l,o=!1)=>{let r,s,i=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=l.length-1,m=l[0],y=l[p];for(;i<=f&&c<=p;)if(null==d)d=t[++i];else if(null==h)h=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(te(d,m,o))ne(d,m,o),d=t[++i],m=l[++c];else if(te(h,y,o))ne(h,y,o),h=t[--f],y=l[--p];else if(te(d,y,o))ne(d,y,o),oe(e,d.v,h.v.nextSibling),d=t[++i],y=l[--p];else if(te(h,m,o))ne(h,m,o),oe(e,h.v,d.v),h=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?r=Y(t&&t[c],n,u):(ne(s,m,o),t[u]=void 0,r=s.v),m=l[++c]):(r=Y(t&&t[c],n,c),m=l[++c]),r&&oe(d.v.parentNode,r,d.v)}i>f?Z(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&ee(t,i,f)})(l,o,t,r,n):null!==r?(null!==e.i&&(l.textContent=""),Z(l,null,t,r,0,r.length-1)):!n&&null!==o&&ee(o,0,o.length-1)):e.i!==s&&(l.data=s)},le=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(le)},oe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),re=(e,t)=>{t&&!e.k&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.k=t)))},se=(e,t)=>{if(e.l|=16,!(4&e.l))return re(e,e.j),S((()=>ie(e,t)));e.l|=512},ie=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=me(n,t?"componentWillLoad":"componentWillUpdate"),ce(l,(()=>ae(e,n,t)))},ce=(e,t)=>ue(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ue=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ae=async(e,t,n)=>{var l;const o=e.$hostElement$,r=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=V(t),o=i.get(l);if(e=11===e.nodeType?e:f,o)if("string"==typeof o){let r,s=G.get(e=e.head||e);if(s||G.set(e,s=new Set),!s.has(l)){{r=f.createElement("style"),r.innerHTML=o;const l=null!=(n=d.C)?n:O(f);null!=l&&r.setAttribute("nonce",l),(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(r,e.querySelector("link"))}4&t.l&&(r.innerHTML+=c),s&&s.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);fe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>de(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},fe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,r=e.M||A(null,null),s=(e=>e&&e.m===D)(t)?t:R(null,null,t);if(P=l.tagName,o.P&&(s.u=s.u||{},o.P.map((([e,t])=>s.u[t]=l[e]))),n&&s.u)for(const e of Object.keys(s.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=l[e]);s.m=null,s.l|=4,e.M=s,s.v=r.v=l.shadowRoot||l,ne(r,s,n)})(e,t,l)}catch(t){r(t,e.$hostElement$)}return null},de=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l?me(n,"componentDidUpdate"):(e.l|=64,ye(t),me(n,"componentDidLoad"),e.U(t),l||pe()),e.L(t),e.k&&(e.k(),e.k=void 0),512&e.l&&g((()=>se(e,!1))),e.l&=-517},he=e=>{{const t=n(e),l=t.$hostElement$.isConnected;return l&&2==(18&t.l)&&se(t,!1),l}},pe=()=>{ye(f.documentElement),g((()=>q(a,"appload",{detail:{namespace:"arcgis-coding-components"}})))},me=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){r(e)}},ye=e=>e.setAttribute("hydrated",""),ve=(e,t,l)=>{var o,s;const i=e.prototype;if(t.R||t.A||e.watchers){e.watchers&&!t.A&&(t.A=e.watchers);const c=Object.entries(null!=(o=t.R)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(i,e,{get(){return((e,t)=>n(this).D.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.$hostElement$,c=s.D.get(t),u=s.l,a=s.t;if(l=((e,t)=>null==e||E(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(l,o.R[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(s.D.set(t,l),a)){if(o.A&&128&u){const e=o.A[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){r(e,i)}}))}if(2==(18&u)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(l,c,t))return;se(s,!1)}}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(i,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.H)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,r){d.jmp((()=>{var s;const c=l.get(e);if(this.hasOwnProperty(c))r=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==r)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&r!==o){const n=l.t,i=null==(s=t.A)?void 0:s[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,r,o,e)}))}return}}this[c]=(null!==r||"boolean"!=typeof this[c])&&r}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.A)?s:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const r=n[1]||e;return l.set(r,e),512&n[0]&&(null==(o=t.P)||o.push([e,r])),r}))]))}}return e},we=e=>{me(e,"connectedCallback")},be=e=>{me(e,"disconnectedCallback")},$e=(e,o={})=>{var u;const h=[],m=o.exclude||[],y=a.customElements,v=f.head,w=v.querySelector("meta[charset]"),b=f.createElement("style"),$=[];let g,S=!0;Object.assign(d,o),d.o=new URL(o.resourcesUrl||"./",f.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((o=>{var c;const u={l:o[0],S:o[1],R:o[2],T:o[3]};4&u.l&&(k=!0),u.R=o[2],u.P=[],u.A=null!=(c=o[4])?c:{};const a=u.S,f=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,D:new Map};l.H=new Promise((e=>l.L=e)),l.W=new Promise((e=>l.U=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,u),1&u.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),g&&(clearTimeout(g),g=null),S?$.push(this):d.jmp((()=>(e=>{if(!(1&d.l)){const t=n(e),o=t.O,c=()=>{};if(1&t.l)(null==t?void 0:t.t)?we(t.t):(null==t?void 0:t.W)&&t.W.then((()=>we(t.t)));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){re(t,t.j=n);break}}o.R&&Object.entries(o.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.l)){if(t.l|=32,n.F){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.F;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),r)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.S}#${t.N}" was not found`);o.isProxied||(n.A=o.watchers,ve(o,n,2),o.isProxied=!0);const i=()=>{};t.l|=8;try{o.__forceUpdate=he,o.__registerControllers=e=>(l(e,t),t.O.R??{}),new o(t),o.__registerControllers=void 0}catch(e){r(e)}t.l&=-9,t.l|=128,i(),we(t.t)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=V(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const c=t.j,u=()=>se(t,!0);c&&c["s-rc"]?c["s-rc"].push(u):u()})(e,t,o)}c()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.l)){const e=n(this);(null==e?void 0:e.t)?be(e.t):(null==e?void 0:e.W)&&e.W.then((()=>be(e.t)))}})()))}componentOnReady(){return n(this).W}};u.F=e[0],m.includes(a)||y.get(a)||(h.push(a),y.define(a,ve(f,u,1)))}))})),h.length>0&&(k&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(u=d.C)?u:O(f);null!=e&&b.setAttribute("nonce",e),v.insertBefore(b,w?w.nextSibling:v.firstChild)}S=!1,$.length?$.map((e=>e.connectedCallback())):d.jmp((()=>g=setTimeout(pe,30)))},ge=(e,t)=>t,Se=e=>d.C=e;export{ge as F,D as H,F as a,$e as b,N as c,k as g,R as h,h as p,l as r,Se as s}
|