@arcgis/coding-components 4.31.0-next.41 → 4.31.0-next.42

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.
Files changed (96) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/index.esm.js +2 -2
  3. package/dist/arcgis-coding-components/{p-d597b9ea.js → p-00257dcb.js} +1 -1
  4. package/dist/arcgis-coding-components/{p-71191013.js → p-0437e32a.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-1e1caadf.js → p-30708ad2.js} +1 -1
  6. package/dist/arcgis-coding-components/{p-5c89b15d.js → p-40f41b6b.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-909bbd87.entry.js → p-42eb6740.entry.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-ba1ec66d.js → p-46c641f5.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-9bb6dd26.js → p-48e94cb8.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-83b29033.js → p-548ccdc0.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-5f567b03.entry.js → p-6500bffb.entry.js} +2 -2
  12. package/dist/arcgis-coding-components/{p-64bbd36c.js → p-65d25b8a.js} +9 -9
  13. package/dist/arcgis-coding-components/{p-1da63080.entry.js → p-68c0a00c.entry.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-9413c464.js → p-791699a8.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-e1c8570a.js → p-7f5e7f4d.js} +2 -2
  16. package/dist/arcgis-coding-components/{p-bd267380.js → p-813d9b8d.js} +2 -2
  17. package/dist/arcgis-coding-components/{p-4cc71357.js → p-a9f90e38.js} +3 -3
  18. package/dist/arcgis-coding-components/{p-bb851fa6.js → p-ca3cb6f1.js} +2 -2
  19. package/dist/arcgis-coding-components/{p-51b2fc72.js → p-d4ea5f6c.js} +2 -2
  20. package/dist/arcgis-coding-components/{p-f4af9e3a.js → p-f320fedc.js} +2 -2
  21. package/dist/cjs/{app-globals-5b428a6f.js → app-globals-dd1a4c87.js} +1 -1
  22. package/dist/cjs/{arcade-defaults-c88dcbd9.js → arcade-defaults-79ea80ff.js} +5 -4
  23. package/dist/cjs/{arcade-mode-a369164c.js → arcade-mode-f3f6dd13.js} +2 -2
  24. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +5 -5
  25. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  26. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  27. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  28. package/dist/cjs/{css-db73fa85.js → css-dbe404fa.js} +1 -1
  29. package/dist/cjs/{cssMode-714f53d0.js → cssMode-68ba897c.js} +2 -2
  30. package/dist/cjs/{html-881afd14.js → html-e69a51e0.js} +2 -2
  31. package/dist/cjs/{htmlMode-d513ae10.js → htmlMode-96a6aa10.js} +2 -2
  32. package/dist/cjs/{index-fd58ccf1.js → index-ba60f992.js} +1 -1
  33. package/dist/cjs/index.cjs.js +4 -4
  34. package/dist/cjs/{javascript-8ea0cace.js → javascript-ead18b15.js} +3 -3
  35. package/dist/cjs/{jsonMode-345b67b0.js → jsonMode-9d11e262.js} +2 -2
  36. package/dist/cjs/{language-defaults-base-cd5a367b.js → language-defaults-base-8c585bae.js} +9 -9
  37. package/dist/cjs/loader.cjs.js +3 -3
  38. package/dist/cjs/{sql-expr-defaults-5ab67e9d.js → sql-expr-defaults-1fbf01a6.js} +4 -4
  39. package/dist/cjs/{sql-expr-mode-aaf5cadf.js → sql-expr-mode-9e406810.js} +4 -4
  40. package/dist/cjs/{tsMode-085f051d.js → tsMode-a95062f3.js} +2 -2
  41. package/dist/cjs/{typescript-3adfcc8d.js → typescript-1835b209.js} +2 -2
  42. package/dist/components/arcade-defaults.js +2 -1
  43. package/dist/components/arcade-mode.js +1 -1
  44. package/dist/components/arcade-results.js +1 -1
  45. package/dist/components/arcade-suggestions.js +1 -1
  46. package/dist/components/arcade-variables.js +1 -1
  47. package/dist/components/arcgis-arcade-editor.js +1 -1
  48. package/dist/components/arcgis-arcade-results.js +1 -1
  49. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  50. package/dist/components/arcgis-arcade-variables.js +1 -1
  51. package/dist/components/arcgis-assets.d.ts +1 -1
  52. package/dist/components/arcgis-assets.js +1 -1
  53. package/dist/components/arcgis-code-editor.js +1 -1
  54. package/dist/components/arcgis-language-api-panel.js +1 -1
  55. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  56. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  57. package/dist/components/chunk-ZZIYM65N.js +1 -1
  58. package/dist/components/code-editor.js +1 -1
  59. package/dist/components/fields.js +1 -1
  60. package/dist/components/index.js +1 -1
  61. package/dist/components/index2.js +1 -1
  62. package/dist/components/language-api-panel.js +1 -1
  63. package/dist/components/language-defaults-base.js +1 -1
  64. package/dist/components/markdown.js +1 -1
  65. package/dist/components/sql-expr-defaults.js +1 -1
  66. package/dist/components/sql-expr-mode.js +1 -1
  67. package/dist/components/sql-expression-fields.js +1 -1
  68. package/dist/components/useT9n.js +1 -1
  69. package/dist/components/utilities.js +1 -1
  70. package/dist/esm/{app-globals-9b5f37f3.js → app-globals-b974eb47.js} +1 -1
  71. package/dist/esm/{arcade-defaults-23d01109.js → arcade-defaults-b39b8a70.js} +5 -4
  72. package/dist/esm/{arcade-mode-30a9597a.js → arcade-mode-cf3d2e01.js} +2 -2
  73. package/dist/esm/arcgis-arcade-editor_6.entry.js +5 -5
  74. package/dist/esm/arcgis-coding-components.js +4 -4
  75. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  76. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  77. package/dist/esm/{css-442d4a5a.js → css-b835f421.js} +1 -1
  78. package/dist/esm/{cssMode-8833e7da.js → cssMode-1ad6a28e.js} +2 -2
  79. package/dist/esm/{html-1adb92d5.js → html-2cfc6097.js} +2 -2
  80. package/dist/esm/{htmlMode-d45f4634.js → htmlMode-44b94902.js} +2 -2
  81. package/dist/esm/{index-d9b2b45b.js → index-1d04de34.js} +1 -1
  82. package/dist/esm/index.js +4 -4
  83. package/dist/esm/{javascript-5bf60fbf.js → javascript-de1e9123.js} +3 -3
  84. package/dist/esm/{jsonMode-cba63cda.js → jsonMode-6a43d713.js} +2 -2
  85. package/dist/esm/{language-defaults-base-49508cc9.js → language-defaults-base-dc51d645.js} +9 -9
  86. package/dist/esm/loader.js +4 -4
  87. package/dist/esm/{sql-expr-defaults-ba682a85.js → sql-expr-defaults-acc71ee8.js} +4 -4
  88. package/dist/esm/{sql-expr-mode-5da1d4c8.js → sql-expr-mode-1b4cd745.js} +4 -4
  89. package/dist/esm/{tsMode-23360d7b.js → tsMode-a57c248b.js} +2 -2
  90. package/dist/esm/{typescript-d1e4a590.js → typescript-c72370d8.js} +2 -2
  91. package/dist/loader/cdn.js +1 -1
  92. package/dist/loader/index.cjs.js +1 -1
  93. package/dist/loader/index.es2017.js +1 -1
  94. package/dist/loader/index.js +1 -1
  95. package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +1 -0
  96. package/package.json +11 -11
@@ -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.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
- import{p as e,b as a}from"./p-1e1caadf.js";export{s as setNonce}from"./p-1e1caadf.js";import{g as i}from"./p-d597b9ea.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((async e=>(await i(),a([["p-1da63080",[[1,"arcgis-sql-expression-fields",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}]]],["p-909bbd87",[[0,"arcgis-arcade-editor",{profile:[16],script:[1025],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],editorOptions:[16],editorInstance:[16],_preparingArcade:[32],_editorProfile:[32],_apiLibrary:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],messages:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64],updateThemeColors:[64]},null,{messages:["_messagesChanged"],profile:["_profileChanged"],testData:["_testDataChanged"],snippets:["_snippetChanged"]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]},null,{suggestions:["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],editorOptions:[16],editorInstance:[16],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]},null,{language:["languagePropChange"],modelId:["modelIdPropChange"],editorOptions:["editorOptionsPropChange"]}],[1,"arcgis-language-api-panel",{hideDocumentationActions:[4,"hide-documentation-actions"],loading:[4],apiLibrary:[16],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32]}]]],["p-5f567b03",[[0,"arcgis-sql-expression-editor",{profile:[16],_preparing:[32],_editorProfile:[32],_activeAction:[32],_apiLibrary:[32]},null,{profile:["_profileChanged"]}]]]],e))));
6
+ import{p as e,b as i}from"./p-30708ad2.js";export{s as setNonce}from"./p-30708ad2.js";import{g as t}from"./p-00257dcb.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((async e=>(await t(),i([["p-68c0a00c",[[1,"arcgis-sql-expression-fields",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}]]],["p-42eb6740",[[0,"arcgis-arcade-editor",{profile:[16],script:[1025],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],editorOptions:[16],editorInstance:[16],_preparingArcade:[32],_editorProfile:[32],_apiLibrary:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],messages:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64],updateThemeColors:[64]},null,{messages:["_messagesChanged"],profile:["_profileChanged"],testData:["_testDataChanged"],snippets:["_snippetChanged"]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]},null,{suggestions:["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],editorOptions:[16],editorInstance:[16],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]},null,{language:["languagePropChange"],modelId:["modelIdPropChange"],editorOptions:["editorOptionsPropChange"]}],[1,"arcgis-language-api-panel",{hideDocumentationActions:[4,"hide-documentation-actions"],loading:[4],apiLibrary:[16],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32]}]]],["p-6500bffb",[[0,"arcgis-sql-expression-editor",{profile:[16],_preparing:[32],_editorProfile:[32],_activeAction:[32],_apiLibrary:[32]},null,{profile:["_profileChanged"]}]]]],e))));
@@ -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.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
- export{a as arcade}from"./p-bb851fa6.js";import"./p-64bbd36c.js";import"./p-1e1caadf.js";
6
+ export{a as arcade}from"./p-ca3cb6f1.js";import"./p-65d25b8a.js";import"./p-30708ad2.js";
@@ -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.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
6
  const o=()=>{};export{o as g}
@@ -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.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
- import{M as t}from"./p-64bbd36c.js";
6
+ import{M as t}from"./p-65d25b8a.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.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
6
  var e=Object.defineProperty,n=e=>{const n=new URL(e,pe.t);return n.origin!==he.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:()=>s,map:()=>i,ok:()=>r,unwrap:()=>a,unwrapErr:()=>f});var r=e=>({isOk:!0,isErr:!1,value:e}),s=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=>r(e))):r(t)}if(e.isErr)return s(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}",h="http://www.w3.org/1999/xlink",m=(e,n,...t)=>{let o=null,r=null,s=!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&&((s="function"!=typeof e&&!l(o))&&(o+=""),s&&i?c[c.length-1].l+=o:c.push(s?p(null,o):o),i=s)};if(u(t),n){n.key&&(r=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,y);const a=p(e,null);return a.o=n,c.length>0&&(a.i=c),a.u=r,a},p=(e,n)=>({h:0,m:e,l:n,p:null,i:null,o:null,u:null}),v={},y={forEach:(e,n)=>e.map(w).forEach(n),map:(e,n)=>e.map(w).map(n).map($)},w=e=>({vattrs:e.o,vchildren:e.i,vkey:e.u,vname:e.v,vtag:e.m,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),m(e.vtag,n,...e.vchildren||[])}const n=p(e.vtag,e.vtext);return n.o=e.vattrs,n.i=e.vchildren,n.u=e.vkey,n.v=e.vname,n},b=e=>re(e).$hostElement$,g=(e,n,t)=>{const l=b(e);return{emit:e=>k(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},k=(e,n,t)=>{const l=pe.ce(n,t);return e.dispatchEvent(l),l},S=new WeakMap,j=e=>"sc-"+e.$,O=(e,n,t,o,r,s)=>{if(t!==o){let i=ce(e,n),c=n.toLowerCase();if("class"===n){const n=e.classList,l=E(t),r=E(o);n.remove(...l.filter((e=>e&&!r.includes(e)))),n.add(...r.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)&&!r)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(h,n):e.removeAttribute(n)):(!i||4&s||r)&&!u&&(o=!0===o?"":o,a?e.setAttributeNS(h,n,o):e.setAttribute(n,o))}else if(n="-"===n[2]?n.slice(3):ce(he,c)?c.slice(2):c[2]+n.slice(3),t||o){const l=n.endsWith(x);n=n.replace(M,""),t&&pe.rel(e,n,t,l),o&&pe.ael(e,n,o,l)}}},C=/\s/,E=e=>e?e.split(C):[],x="Capture",M=RegExp(x+"$"),P=(e,n,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,r=e&&e.o||t,s=n.o||t;for(const e of L(Object.keys(r)))e in s||O(o,e,r[e],void 0,l,n.h);for(const e of L(Object.keys(s)))O(o,e,r[e],s[e],l,n.h)};function L(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var R=!1,U=(e,n,t)=>{const l=n.i[t];let o,r,s=0;if(null!==l.l)o=l.p=me.createTextNode(l.l);else if(o=l.p=me.createElement(l.m),P(null,l,R),null!=c&&o["s-si"]!==c&&o.classList.add(o["s-si"]=c),l.i)for(s=0;s<l.i.length;++s)r=U(e,l,s),r&&o.appendChild(r);return o["s-hn"]=u,o},T=(e,n,t,l,o,r)=>{let s,i=e;for(i.shadowRoot&&i.tagName===u&&(i=i.shadowRoot);o<=r;++o)l[o]&&(s=U(null,t,o),s&&(l[o].p=s,H(i,s,n)))},W=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;F(n),e&&e.remove()}}},A=(e,n,t=!1)=>e.m===n.m&&(!!t||e.u===n.u),D=(e,n,t=!1)=>{const l=n.p=e.p,o=e.i,r=n.i,s=n.l;null===s?(P(e,n,R),null!==o&&null!==r?((e,n,t,l,o=!1)=>{let r,s,i=0,c=0,u=0,a=0,f=n.length-1,d=n[0],h=n[f],m=l.length-1,p=l[0],v=l[m];for(;i<=f&&c<=m;)if(null==d)d=n[++i];else if(null==h)h=n[--f];else if(null==p)p=l[++c];else if(null==v)v=l[--m];else if(A(d,p,o))D(d,p,o),d=n[++i],p=l[++c];else if(A(h,v,o))D(h,v,o),h=n[--f],v=l[--m];else if(A(d,v,o))D(d,v,o),H(e,d.p,h.p.nextSibling),d=n[++i],v=l[--m];else if(A(h,p,o))D(h,p,o),H(e,h.p,d.p),h=n[--f],p=l[++c];else{for(u=-1,a=i;a<=f;++a)if(n[a]&&null!==n[a].u&&n[a].u===p.u){u=a;break}u>=0?(s=n[u],s.m!==p.m?r=U(n&&n[c],t,u):(D(s,p,o),n[u]=void 0,r=s.p),p=l[++c]):(r=U(n&&n[c],t,c),p=l[++c]),r&&H(d.p.parentNode,r,d.p)}i>f?T(e,null==l[m+1]?null:l[m+1].p,t,l,c,m):c>m&&W(n,i,f)})(l,o,n,r,t):null!==r?(null!==e.l&&(l.textContent=""),T(l,null,n,r,0,r.length-1)):null!==o&&W(o,0,o.length-1)):e.l!==s&&(l.data=s)},F=e=>{e.o&&e.o.ref&&e.o.ref(null),e.i&&e.i.map(F)},H=(e,n,t)=>null==e?void 0:e.insertBefore(n,t),N=(e,n)=>{n&&!e.k&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.k=n)))},q=(e,n)=>{if(e.h|=16,!(4&e.h))return N(e,e.S),Oe((()=>G(e,n)));e.h|=512},G=(e,n)=>{const t=e.j;if(!t)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=Q(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 r=e.$hostElement$,s=r["s-rc"];t&&(e=>{const n=e.O,t=e.$hostElement$,l=n.h,r=((e,n)=>{var t;const l=j(n),r=de.get(l);if(e=11===e.nodeType?e:me,r)if("string"==typeof r){let s,i=S.get(e=e.head||e);if(i||S.set(e,i=new Set),!i.has(l)){{s=me.createElement("style"),s.innerHTML=r;const n=null!=(t=pe.C)?t:o(me);null!=n&&s.setAttribute("nonce",n),e.insertBefore(s,e.querySelector("link"))}4&n.h&&(s.innerHTML+=d),i&&i.add(l)}}else e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=r,t.classList.add(r+"-h"))})(e);B(e,n,r,t),s&&(s.map((e=>e())),r["s-rc"]=void 0);{const n=null!=(l=r["s-p"])?l:[],t=()=>I(e);0===n.length?t():(Promise.all(n).then(t),e.h|=4,n.length=0)}},B=(e,n,t,l)=>{try{n=n.render(),e.h&=-17,e.h|=2,((e,n,t=!1)=>{const l=e.$hostElement$,o=e.O,r=e.M||p(null,null),s=(e=>e&&e.m===v)(n)?n:m(null,null,n);if(u=l.tagName,o.P&&(s.o=s.o||{},o.P.map((([e,n])=>s.o[n]=l[e]))),t&&s.o)for(const e of Object.keys(s.o))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.o[e]=l[e]);s.m=null,s.h|=4,e.M=s,s.p=r.p=l.shadowRoot||l,c=l["s-sc"],D(r,s,t)})(e,n,l)}catch(n){ue(n,e.$hostElement$)}return null},I=e=>{const n=e.$hostElement$,t=e.j,l=e.S;64&e.h?Q(t,"componentDidUpdate"):(e.h|=64,X(n),Q(t,"componentDidLoad"),e.L(n),l||K()),e.R(n),e.k&&(e.k(),e.k=void 0),512&e.h&&je((()=>q(e,!1))),e.h&=-517},J=e=>{{const n=re(e),t=n.$hostElement$.isConnected;return t&&2==(18&n.h)&&q(n,!1),t}},K=()=>{X(me.documentElement),je((()=>k(he,"appload",{detail:{namespace:"arcgis-coding-components"}})))},Q=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){ue(e)}},X=e=>e.setAttribute(("hydrated","hydrated"),""),Y=(e,n,t)=>{var o;const r=e.prototype;if(n.U){e.watchers&&(n.T=e.watchers);const s=Object.entries(n.U);if(s.map((([e,[o]])=>{31&o||2&t&&32&o?Object.defineProperty(r,e,{get(){return((e,n)=>re(this).W.get(n))(0,e)},set(t){((e,n,t,o)=>{const r=re(e);if(!r)throw Error(`Couldn't find host element for "${o.$}" 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 s=r.$hostElement$,i=r.W.get(n),c=r.h,u=r.j;if(t=((e,n)=>null==e||l(e)?e:4&n?"false"!==e&&(""===e||!!e):1&n?e+"":e)(t,o.U[n][0]),(!(8&c)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(r.W.set(n,t),u)){if(o.T&&128&c){const e=o.T[n];e&&e.map((e=>{try{u[e](t,i,n)}catch(e){ue(e,s)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(t,i,n))return;q(r,!1)}}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&o&&Object.defineProperty(r,e,{value(...n){var t;const l=re(this);return null==(t=null==l?void 0:l.A)?void 0:t.then((()=>{var t;return null==(t=l.j)?void 0:t[e](...n)}))}})})),1&t){const t=new Map;r.attributeChangedCallback=function(e,l,o){pe.jmp((()=>{var s;const i=t.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(r.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const t=re(this),r=null==t?void 0:t.h;if(r&&!(8&r)&&128&r&&o!==l){const r=t.j,i=null==(s=n.T)?void 0:s[e];null==i||i.forEach((n=>{null!=r[n]&&r[n].call(r,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.T)?o:{}),...s.filter((([e,n])=>15&n[0])).map((([e,l])=>{var o;const r=l[1]||e;return t.set(r,e),512&l[0]&&(null==(o=n.P)||o.push([e,r])),r}))]))}}return e},Z=e=>{Q(e,"connectedCallback")},ee=e=>{Q(e,"disconnectedCallback")},ne=(e,n={})=>{var t;const l=[],r=n.exclude||[],s=he.customElements,i=me.head,c=i.querySelector("meta[charset]"),u=me.createElement("style"),a=[];let f,h=!0;Object.assign(pe,n),pe.t=new URL(n.resourcesUrl||"./",me.baseURI).href;let m=!1;if(e.map((e=>{e[1].map((n=>{var t;const o={h:n[0],$:n[1],U:n[2],D:n[3]};4&o.h&&(m=!0),o.U=n[2],o.P=[],o.T=null!=(t=n[4])?t:{};const i=o.$,c=class extends HTMLElement{constructor(e){super(e),ie(e=this,o),1&o.h&&e.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),h?a.push(this):pe.jmp((()=>(e=>{if(!(1&pe.h)){const n=re(e),t=n.O,l=()=>{};if(1&n.h)(null==n?void 0:n.j)?Z(n.j):(null==n?void 0:n.F)&&n.F.then((()=>Z(n.j)));else{n.h|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){N(n,n.S=t);break}}t.U&&Object.entries(t.U).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.h)){if(n.h|=32,t.H){const e=fe(t);if(e&&"then"in e){const n=()=>{};l=await e,n()}else l=e;if(!l)throw Error(`Constructor for "${t.$}#${n.N}" was not found`);l.isProxied||(t.T=l.watchers,Y(l,t,2),l.isProxied=!0);const o=()=>{};n.h|=8;try{l.__forceUpdate=J,l.__registerControllers=e=>(se(e,n),n.O.U??{}),new l(n),l.__registerControllers=void 0}catch(e){ue(e)}n.h&=-9,n.h|=128,o(),Z(n.j)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>n.h|=128));if(l&&l.style){let e=l.style;const n=j(t);if(!de.has(n)){const l=()=>{};((e,n,t)=>{let l=de.get(e);ye&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,de.set(e,l)})(n,e,!!(1&t.h)),l()}}}const o=n.S,r=()=>q(n,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(e,n,t)}l()}})(this)))}disconnectedCallback(){pe.jmp((()=>(async()=>{if(!(1&pe.h)){const e=re(this);(null==e?void 0:e.j)?ee(e.j):(null==e?void 0:e.F)&&e.F.then((()=>ee(e.j)))}})()))}componentOnReady(){return re(this).F}};o.H=e[0],r.includes(i)||s.get(i)||(l.push(i),s.define(i,Y(c,o,1)))}))})),l.length>0&&(m&&(u.textContent+=d),u.textContent+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(t=pe.C)?t:o(me);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}h=!1,a.length?a.map((e=>e.connectedCallback())):pe.jmp((()=>f=setTimeout(K,30)))},te=(e,n)=>n,le=e=>pe.C=e,oe=new WeakMap,re=e=>oe.get(e),se=(e,n)=>oe.set(n.j=e,n),ie=(e,n)=>{const t={h:0,$hostElement$:e,O:n,W:new Map};return t.A=new Promise((e=>t.R=e)),t.F=new Promise((e=>t.L=e)),e["s-p"]=[],e["s-rc"]=[],oe.set(e,t)},ce=(e,n)=>n in e,ue=(e,n)=>(0,console.error)(e,n),ae=new Map,fe=e=>{const n=e.$.replace(/-/g,"_"),t=e.H;if(!t)return;const l=ae.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(ae.set(t,e),e[n])),ue)
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},de=new Map,he="undefined"!=typeof window?window:{},me=he.document||{head:{}},pe={h: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)},ve=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),we=!1,$e=[],be=[],ge=(e,n)=>t=>{e.push(t),we||(we=!0,n&&4&pe.h?je(Se):pe.raf(Se))},ke=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){ue(e)}e.length=0},Se=()=>{ke($e),ke(be),(we=$e.length>0)&&pe.raf(Se)},je=e=>ve().then(e),Oe=ge(be,!0);export{te as F,v as H,b as a,ne as b,g as c,n as g,m as h,ve as p,se as r,le 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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.41
4
+ * v4.31.0-next.42
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.