@arcgis/coding-components 4.29.0-beta.97 → 4.29.0-beta.99

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 (69) 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-4725e9d0.js → p-0bab0228.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-6f67b95c.js → p-457e3916.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-4652103b.js → p-4648782b.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-166e758f.entry.js → p-6d56a4b8.entry.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-ca2976e7.js → p-7e0e8ecc.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-c06a1a38.js → p-7f9d3fdc.js} +1 -1
  9. package/dist/arcgis-coding-components/{p-8636bc80.js → p-87d7ad9e.js} +1 -1
  10. package/dist/arcgis-coding-components/{p-21988d04.js → p-a75f5087.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-1abe4799.js → p-ad86a5f5.js} +11 -11
  12. package/dist/arcgis-coding-components/{p-693cf7f2.js → p-e1cb02b3.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-1a91ed86.js → p-f23f7fee.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-73a68059.js → p-f75beb80.js} +2 -2
  15. package/dist/cjs/{arcade-defaults-7703ca68.js → arcade-defaults-5dd9ebb7.js} +24 -24
  16. package/dist/cjs/{arcade-mode-944cc19c.js → arcade-mode-0b4c53a1.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +33 -33
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{css-26819245.js → css-fe7f8980.js} +1 -1
  20. package/dist/cjs/{cssMode-2b8c52d6.js → cssMode-4c9b3a32.js} +3 -3
  21. package/dist/cjs/{html-ff3d887e.js → html-b044fbba.js} +3 -3
  22. package/dist/cjs/{htmlMode-185f1416.js → htmlMode-956a6ffa.js} +3 -3
  23. package/dist/cjs/{index-1fce10d0.js → index-aaceaf1f.js} +1 -1
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-7dfbbcc3.js → javascript-6c55ac8b.js} +4 -4
  26. package/dist/cjs/{jsonMode-b570c4f8.js → jsonMode-d83e322c.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/{tsMode-64276b5a.js → tsMode-5c5ffa3e.js} +3 -3
  29. package/dist/cjs/{typescript-80dcbc03.js → typescript-6143656a.js} +3 -3
  30. package/dist/components/arcade-api.js +7 -7
  31. package/dist/components/arcade-contribution.js +1 -1
  32. package/dist/components/arcade-defaults.js +8 -8
  33. package/dist/components/arcade-mode.js +1 -1
  34. package/dist/components/arcade-results.js +13 -13
  35. package/dist/components/arcade-suggestions.js +5 -5
  36. package/dist/components/arcade-variables.js +6 -6
  37. package/dist/components/arcgis-arcade-api.js +1 -1
  38. package/dist/components/arcgis-arcade-editor.js +6 -6
  39. package/dist/components/arcgis-arcade-results.js +1 -1
  40. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  41. package/dist/components/arcgis-arcade-variables.js +1 -1
  42. package/dist/components/arcgis-code-editor.js +1 -1
  43. package/dist/components/code-editor.js +4 -4
  44. package/dist/components/fields.js +1 -1
  45. package/dist/components/functional-components.js +1 -1
  46. package/dist/components/index.js +1 -1
  47. package/dist/components/index2.js +3 -3
  48. package/dist/components/markdown.js +1 -1
  49. package/dist/components/utilities.js +3 -3
  50. package/dist/esm/{arcade-defaults-592970ff.js → arcade-defaults-2d7283d4.js} +19 -19
  51. package/dist/esm/{arcade-mode-16d67a1f.js → arcade-mode-a8abe5af.js} +3 -3
  52. package/dist/esm/arcgis-arcade-api_6.entry.js +33 -33
  53. package/dist/esm/arcgis-coding-components.js +3 -3
  54. package/dist/esm/{css-426f209f.js → css-d31a02ca.js} +1 -1
  55. package/dist/esm/{cssMode-58f3e1a5.js → cssMode-5ee45e91.js} +3 -3
  56. package/dist/esm/{html-641458f7.js → html-5c2e488c.js} +3 -3
  57. package/dist/esm/{htmlMode-217430c8.js → htmlMode-376cd5e8.js} +3 -3
  58. package/dist/esm/{index-93510b9c.js → index-1b265749.js} +1 -1
  59. package/dist/esm/index.js +3 -3
  60. package/dist/esm/{javascript-5a82d8fc.js → javascript-13ddec2b.js} +4 -4
  61. package/dist/esm/{jsonMode-d7123239.js → jsonMode-674e89d6.js} +3 -3
  62. package/dist/esm/loader.js +3 -3
  63. package/dist/esm/{tsMode-1a0b9397.js → tsMode-4c4398d7.js} +3 -3
  64. package/dist/esm/{typescript-125e311f.js → typescript-b328b622.js} +3 -3
  65. package/dist/loader/cdn.js +1 -1
  66. package/dist/loader/index.cjs.js +1 -1
  67. package/dist/loader/index.es2017.js +1 -1
  68. package/dist/loader/index.js +1 -1
  69. package/package.json +8 -17
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function O(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function U(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function z(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function H(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function G(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function I(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function J(e){return `\u200E${e??""}\u200E`}function Z(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
6
+ var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function k(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function F(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function U(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function B(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function H(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function Q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function D(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function K(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function Z(e){return `\u200E${e??""}\u200E`}function Y(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
7
7
 
8
- export { D, E, G, H, I, J, N, O, U, Z, ee as e, h, oe as o, q, se as s, x, z };
8
+ export { B, D, E, F, H, K, N, Q, U, Y, Z, ee as e, h, k, oe as o, se as s, x };
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { editor } from 'monaco-editor';
7
7
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { G } from './index2.js';
6
+ import { D } from './index2.js';
7
7
 
8
8
  /**
9
9
  * Filters a collection of items by the given keys and filter word.
@@ -16,7 +16,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
16
16
  if (!_keys.length) {
17
17
  return [];
18
18
  }
19
- const filterExpression = G(filterWord);
19
+ const filterExpression = D(filterWord);
20
20
  return collection.filter((item) => {
21
21
  if (beforeFilteringFn) {
22
22
  const res = beforeFilteringFn(item);
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { g as getAssetPath } from './index-93510b9c.js';
6
+ import { g as getAssetPath } from './index-1b265749.js';
7
7
 
8
8
  /**
9
9
  * Returns the last element of an array.
@@ -120522,7 +120522,7 @@ registerLanguage({
120522
120522
  mimetypes: ["text/css"],
120523
120523
  loader: () => {
120524
120524
  {
120525
- return import('./css-426f209f.js');
120525
+ return import('./css-d31a02ca.js');
120526
120526
  }
120527
120527
  }
120528
120528
  });
@@ -120540,7 +120540,7 @@ registerLanguage({
120540
120540
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120541
120541
  loader: () => {
120542
120542
  {
120543
- return import('./html-641458f7.js');
120543
+ return import('./html-5c2e488c.js');
120544
120544
  }
120545
120545
  }
120546
120546
  });
@@ -120560,7 +120560,7 @@ registerLanguage({
120560
120560
  mimetypes: ["text/javascript"],
120561
120561
  loader: () => {
120562
120562
  {
120563
- return import('./javascript-5a82d8fc.js');
120563
+ return import('./javascript-13ddec2b.js');
120564
120564
  }
120565
120565
  }
120566
120566
  });
@@ -120578,7 +120578,7 @@ registerLanguage({
120578
120578
  mimetypes: ["text/typescript"],
120579
120579
  loader: () => {
120580
120580
  {
120581
- return import('./typescript-125e311f.js');
120581
+ return import('./typescript-b328b622.js');
120582
120582
  }
120583
120583
  }
120584
120584
  });
@@ -120699,7 +120699,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120699
120699
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120700
120700
  function getMode$3() {
120701
120701
  {
120702
- return import('./cssMode-58f3e1a5.js');
120702
+ return import('./cssMode-5ee45e91.js');
120703
120703
  }
120704
120704
  }
120705
120705
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120824,7 +120824,7 @@ monaco_editor_core_exports$2.languages.html = {
120824
120824
  };
120825
120825
  function getMode$2() {
120826
120826
  {
120827
- return import('./htmlMode-217430c8.js');
120827
+ return import('./htmlMode-376cd5e8.js');
120828
120828
  }
120829
120829
  }
120830
120830
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120926,7 +120926,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120926
120926
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120927
120927
  function getMode$1() {
120928
120928
  {
120929
- return import('./jsonMode-d7123239.js');
120929
+ return import('./jsonMode-674e89d6.js');
120930
120930
  }
120931
120931
  }
120932
120932
  monaco_editor_core_exports$1.languages.register({
@@ -121195,7 +121195,7 @@ monaco_editor_core_exports.languages.typescript = {
121195
121195
  };
121196
121196
  function getMode() {
121197
121197
  {
121198
- return import('./tsMode-1a0b9397.js');
121198
+ return import('./tsMode-4c4398d7.js');
121199
121199
  }
121200
121200
  }
121201
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -169076,7 +169076,7 @@ function isPredefinedProfile(item) {
169076
169076
  !Array.isArray(item.definitions));
169077
169077
  }
169078
169078
 
169079
- var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function O(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function U(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function z(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function H(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function G(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function I(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function J(e){return `\u200E${e??""}\u200E`}function Z(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
169079
+ var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function k(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function F(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function U(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function B(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function H(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function Q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function D(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function K(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function Z(e){return `\u200E${e??""}\u200E`}function Y(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
169080
169080
 
169081
169081
  /**
169082
169082
  * Filters a collection of items by the given keys and filter word.
@@ -169089,7 +169089,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
169089
169089
  if (!_keys.length) {
169090
169090
  return [];
169091
169091
  }
169092
- const filterExpression = G(filterWord);
169092
+ const filterExpression = D(filterWord);
169093
169093
  return collection.filter((item) => {
169094
169094
  if (beforeFilteringFn) {
169095
169095
  const res = beforeFilteringFn(item);
@@ -169560,9 +169560,9 @@ class ProfileItemBase {
169560
169560
  // If the component is under RTL, the string is messed up.
169561
169561
  // It is converted from $feature to feature$, This is not acceptable since the label
169562
169562
  // represents a variable name. We are adding in front of the $ sign a right to left mark.
169563
- return J(this._label);
169563
+ return Z(this._label);
169564
169564
  }
169565
- return I(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169565
+ return K(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169566
169566
  }
169567
169567
  /**
169568
169568
  * Returns the description string.
@@ -169574,7 +169574,7 @@ class ProfileItemBase {
169574
169574
  if (typeof this.description === "string") {
169575
169575
  return this.description;
169576
169576
  }
169577
- return I(this._profile?.intlStrings[this.description.code], this.description.formatValues);
169577
+ return K(this._profile?.intlStrings[this.description.code], this.description.formatValues);
169578
169578
  }
169579
169579
  /**
169580
169580
  * Returns true if the item pass the filter test
@@ -169806,7 +169806,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
169806
169806
  return this._profile?.intlStrings.layer ?? "layer";
169807
169807
  }
169808
169808
  async loadSource() {
169809
- if (Z(this._loadPromise) && ee(this._loadPromise)) {
169809
+ if (Y(this._loadPromise) && ee(this._loadPromise)) {
169810
169810
  return await this._loadPromise;
169811
169811
  }
169812
169812
  this._loadPromise = this._loadSource();
@@ -170002,7 +170002,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
170002
170002
  nonInteractive: true
170003
170003
  }, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
170004
170004
  }));
170005
- relationshipsGroup.variables = relationshipItems.filter(Z);
170005
+ relationshipsGroup.variables = relationshipItems.filter(Y);
170006
170006
  if (!relationshipsGroup.variables.length) {
170007
170007
  return null;
170008
170008
  }
@@ -170160,7 +170160,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170160
170160
  return this._profile?.intlStrings.featureservice ?? "featureservice";
170161
170161
  }
170162
170162
  async loadSource() {
170163
- if (Z(this._loadPromise) && ee(this._loadPromise)) {
170163
+ if (Y(this._loadPromise) && ee(this._loadPromise)) {
170164
170164
  return await this._loadPromise;
170165
170165
  }
170166
170166
  this._loadPromise = this._loadSource();
@@ -170658,4 +170658,4 @@ const arcade = {
170658
170658
  setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
170659
170659
  };
170660
170660
 
170661
- export { D, Emitter as E, G, H, IStandaloneThemeService as I, J, KeyCode as K, MarkerSeverity as M, O, Range as R, StandaloneServices as S, Uri as U, arcade as a, commonjsGlobal as b, createCommonjsModule as c, arcadeDefaults as d, editor as e, U as f, generateTokensCSSForColorMap as g, filterCollection as h, importRequest as i, importArcade as j, h as k, languages as l, I as m, supportedFields as n, oe as o, KeyMod as p, q, monaco_editor_core_star as r, se as s, typescriptDefaults as t, main as u, x, z };
170661
+ export { B, D, Emitter as E, F, H, IStandaloneThemeService as I, KeyCode as K, MarkerSeverity as M, Q, Range as R, StandaloneServices as S, Uri as U, Z, arcade as a, commonjsGlobal as b, createCommonjsModule as c, arcadeDefaults as d, editor as e, filterCollection as f, generateTokensCSSForColorMap as g, importArcade as h, importRequest as i, h as j, U as k, languages as l, k as m, K as n, oe as o, supportedFields as p, KeyMod as q, monaco_editor_core_star as r, se as s, typescriptDefaults as t, main as u, x };
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { u as main, e as editor, M as MarkerSeverity, R as Range, l as languages, E as Emitter } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ import { u as main, e as editor, M as MarkerSeverity, R as Range, l as languages, E as Emitter } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
8
8
 
9
9
  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:main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:main.CompletionItemKind.Keyword}));
10
10
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { h, r as registerInstance, c as createEvent, g as getAssetPath, H as Host, a as getElement, F as Fragment } from './index-93510b9c.js';
7
- import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, s as se, o as oe, i as importRequest, l as languages, d as arcadeDefaults, H, U as Uri, q, f as U, h as filterCollection, J, j as importArcade, k as h$1, z, O, K as KeyCode, m as I, D, n as supportedFields, G, R as Range, x, p as KeyMod } from './arcade-defaults-592970ff.js';
6
+ import { h, r as registerInstance, c as createEvent, g as getAssetPath, H as Host, a as getElement, F as Fragment } from './index-1b265749.js';
7
+ import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, s as se, o as oe, i as importRequest, l as languages, d as arcadeDefaults, B, U as Uri, H, F, f as filterCollection, Z, h as importArcade, j as h$1, k as U, m as k, K as KeyCode, n as K, Q, p as supportedFields, D, R as Range, x, q as KeyMod } from './arcade-defaults-2d7283d4.js';
8
8
 
9
9
  async function colorizeCode(code) {
10
10
  return await editor.colorize(code, "arcade", { tabSize: 2 });
@@ -3020,7 +3020,7 @@ async function getArcadeWorker(uri) {
3020
3020
  * @returns mode for arcade
3021
3021
  */
3022
3022
  async function getMode() {
3023
- return await import('./arcade-mode-16d67a1f.js');
3023
+ return await import('./arcade-mode-a8abe5af.js');
3024
3024
  }
3025
3025
  // Register the language in Monaco
3026
3026
  languages.register({
@@ -3104,7 +3104,7 @@ const ArcgisArcadeApi = class {
3104
3104
  async componentWillLoad() {
3105
3105
  this._colorizeStyle = generateColorizeStyles();
3106
3106
  this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
3107
- await H(this, getAssetPath("./assets"));
3107
+ await B(this, getAssetPath("./assets"));
3108
3108
  arcadeDefaults.onModelContextDidChange((key) => {
3109
3109
  if (!this.modelId || key !== Uri.parse(this.modelId).toString()) {
3110
3110
  return;
@@ -3114,7 +3114,7 @@ const ArcgisArcadeApi = class {
3114
3114
  this._updateApiLibrary();
3115
3115
  }
3116
3116
  disconnectedCallback() {
3117
- q(this);
3117
+ H(this);
3118
3118
  this._flowObserver?.disconnect();
3119
3119
  this._themeChangedListner?.dispose();
3120
3120
  }
@@ -3159,7 +3159,7 @@ const ArcgisArcadeApi = class {
3159
3159
  // When switching between flow the same reference is reused
3160
3160
  this._flowObserver = new MutationObserver(() => {
3161
3161
  // Get the last panel and try to set focus on the input element
3162
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
3162
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
3163
3163
  });
3164
3164
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
3165
3165
  }
@@ -3170,14 +3170,14 @@ const ArcgisArcadeApi = class {
3170
3170
  if (!filteredApiItems.length) {
3171
3171
  return null;
3172
3172
  }
3173
- return (h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (h("calcite-list-item", { label: J(apiItem.completion.detail), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": apiItem }, h("calcite-action", { slot: "actions-end", text: this._t9nStrings?.expand ?? "Expand", icon: "chevron-right", iconFlipRtl: true, scale: "s", onClick: this._selectItem, "data-item": apiItem }))))));
3173
+ return (h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (h("calcite-list-item", { label: Z(apiItem.completion.detail), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": apiItem }, h("calcite-action", { slot: "actions-end", text: this._t9nStrings?.expand ?? "Expand", icon: "chevron-right", iconFlipRtl: true, scale: "s", onClick: this._selectItem, "data-item": apiItem }))))));
3174
3174
  }
3175
3175
  renderApiItemFlowItem() {
3176
3176
  const apiItem = this._selectedApiItem;
3177
3177
  if (!apiItem) {
3178
3178
  return null;
3179
3179
  }
3180
- return (h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), h("calcite-block", { open: true, heading: J(apiItem.completion.detail) }, h("div", { innerHTML: convertMarkdownString(apiItem.completion.documentation) }), apiItem.examples ? (h("div", { ref: (e) => {
3180
+ return (h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), h("calcite-block", { open: true, heading: Z(apiItem.completion.detail) }, h("div", { innerHTML: convertMarkdownString(apiItem.completion.documentation) }), apiItem.examples ? (h("div", { ref: (e) => {
3181
3181
  if (!e) {
3182
3182
  return;
3183
3183
  }
@@ -3491,7 +3491,7 @@ const ArcgisArcadeEditor = class {
3491
3491
  this.scriptChange = createEvent(this, "scriptChange", 3);
3492
3492
  this.diagnosticsChange = createEvent(this, "diagnosticsChange", 3);
3493
3493
  this._componentReadyDefer = new h$1();
3494
- this._modelId = z();
3494
+ this._modelId = U();
3495
3495
  this._editorProfilePromise = Promise.resolve(undefined);
3496
3496
  this._disposables = [];
3497
3497
  this._executeScript = async () => {
@@ -3632,7 +3632,7 @@ const ArcgisArcadeEditor = class {
3632
3632
  * @internal
3633
3633
  */
3634
3634
  async updateThemeColors(colorRules) {
3635
- const theme = O(this._hostElement);
3635
+ const theme = k(this._hostElement);
3636
3636
  updateThemeColors(theme, colorRules);
3637
3637
  if (colorRules === undefined) {
3638
3638
  ["comment", "keyword", "identifier", "string", "number", "constant", "date"].forEach((key) => {
@@ -3661,7 +3661,7 @@ const ArcgisArcadeEditor = class {
3661
3661
  // Starts a locale observer. It will load the correct t9n strings for the component
3662
3662
  // when the locale changes. We also pass updateEditorProfile. It will be invoked the first
3663
3663
  // and on each locale change. The profile has to be refreshed on locale change as well.
3664
- await H(this, assetsPath, async () => await this._updateEditorProfile());
3664
+ await B(this, assetsPath, async () => await this._updateEditorProfile());
3665
3665
  }
3666
3666
  async componentDidLoad() {
3667
3667
  // Mark on component as ready.
@@ -3689,7 +3689,7 @@ const ArcgisArcadeEditor = class {
3689
3689
  await this._codeEditorElt?.setFocus();
3690
3690
  }
3691
3691
  disconnectedCallback() {
3692
- q(this);
3692
+ H(this);
3693
3693
  arcadeDefaults.disposeApiContextForModel(this._modelId);
3694
3694
  arcadeDefaults.disposeEditorProfileForModel(this._modelId);
3695
3695
  while (this._disposables.length) {
@@ -3883,7 +3883,7 @@ function renderSimpleValue(arcadeResult) {
3883
3883
  case "null":
3884
3884
  return h("span", { class: "constant-value" }, arcadeResult.type);
3885
3885
  case "text":
3886
- return h("span", { class: "string-value" }, D(arcadeResult.value));
3886
+ return h("span", { class: "string-value" }, Q(arcadeResult.value));
3887
3887
  case "number":
3888
3888
  return h("span", { class: "number-value" }, arcadeResult.value.toString());
3889
3889
  case "boolean":
@@ -3891,9 +3891,9 @@ function renderSimpleValue(arcadeResult) {
3891
3891
  case "date":
3892
3892
  return h("span", { class: "date-value" }, formatArcadeResultDate(arcadeResult));
3893
3893
  case "dateOnly":
3894
- return h("span", { class: "string-value" }, D(formatArcadeResultDateOnly(arcadeResult)));
3894
+ return h("span", { class: "string-value" }, Q(formatArcadeResultDateOnly(arcadeResult)));
3895
3895
  case "time":
3896
- return h("span", { class: "string-value" }, D(formatArcadeResultTimeOnly(arcadeResult)));
3896
+ return h("span", { class: "string-value" }, Q(formatArcadeResultTimeOnly(arcadeResult)));
3897
3897
  default:
3898
3898
  return null;
3899
3899
  }
@@ -3937,10 +3937,10 @@ const ArcgisArcadeResults = class {
3937
3937
  //#endregion
3938
3938
  // #region Component lifecycle events
3939
3939
  async componentWillLoad() {
3940
- await H(this, getAssetPath("./assets"));
3940
+ await B(this, getAssetPath("./assets"));
3941
3941
  }
3942
3942
  disconnectedCallback() {
3943
- q(this);
3943
+ H(this);
3944
3944
  }
3945
3945
  // #endregion
3946
3946
  //#region Private Methods
@@ -3967,18 +3967,18 @@ const ArcgisArcadeResults = class {
3967
3967
  return h("calcite-loader", { scale: "s", type: "indeterminate", label: "" });
3968
3968
  }
3969
3969
  const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
3970
- return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: I(this._t9nStrings?.lastexecutionformat, {
3970
+ return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: K(this._t9nStrings?.lastexecutionformat, {
3971
3971
  timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
3972
3972
  dateStyle: "medium",
3973
3973
  timeStyle: "medium"
3974
3974
  }).format(this.result.timeStamp)
3975
- }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: I(this._t9nStrings?.compilationtimeformat, {
3975
+ }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: K(this._t9nStrings?.compilationtimeformat, {
3976
3976
  time: new Intl.NumberFormat(this._t9nLocale, {
3977
3977
  style: "unit",
3978
3978
  unit: "millisecond",
3979
3979
  maximumFractionDigits: 2
3980
3980
  }).format(this.result.compilationTime ?? 0)
3981
- }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: I(this._t9nStrings?.executiontimeformat, {
3981
+ }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: K(this._t9nStrings?.executiontimeformat, {
3982
3982
  time: new Intl.NumberFormat(this._t9nLocale, {
3983
3983
  style: "unit",
3984
3984
  unit: "millisecond",
@@ -3995,7 +3995,7 @@ const ArcgisArcadeResults = class {
3995
3995
  }
3996
3996
  switch (this.result?.type) {
3997
3997
  case "error":
3998
- return (h("div", { class: "result-value-simple flex-adjustable" }, I(this._t9nStrings?.executionerrorformat, {
3998
+ return (h("div", { class: "result-value-simple flex-adjustable" }, K(this._t9nStrings?.executionerrorformat, {
3999
3999
  message: this.result.value
4000
4000
  })));
4001
4001
  case "null":
@@ -4032,7 +4032,7 @@ const ArcgisArcadeResults = class {
4032
4032
  renderArrayHeader(arcadeResult) {
4033
4033
  const items = arcadeResult.value ?? [];
4034
4034
  const leftoverCount = Math.max(items.length - MaxArrayItems, 0);
4035
- return (h(Fragment, null, h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (h("span", null, "\u00A0", I(this._t9nStrings?.showingfirstitemsformat, {
4035
+ return (h(Fragment, null, h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (h("span", null, "\u00A0", K(this._t9nStrings?.showingfirstitemsformat, {
4036
4036
  count: MaxArrayItems.toString()
4037
4037
  }))) : null));
4038
4038
  }
@@ -4078,7 +4078,7 @@ const ArcgisArcadeResults = class {
4078
4078
  }
4079
4079
  }
4080
4080
  renderFeatureSetLabel(arcadeResult) {
4081
- return (h("div", { class: "value-type" }, h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (h("span", null, "\u00A0", I(this._t9nStrings?.showingfirstitemsformat, {
4081
+ return (h("div", { class: "value-type" }, h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (h("span", null, "\u00A0", K(this._t9nStrings?.showingfirstitemsformat, {
4082
4082
  count: BatchSize.toString()
4083
4083
  }))) : null));
4084
4084
  }
@@ -4148,12 +4148,12 @@ const ArcgisArcadeSuggestions = class {
4148
4148
  async componentWillLoad() {
4149
4149
  this._colorizeStyle = generateColorizeStyles();
4150
4150
  this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
4151
- await H(this, getAssetPath("./assets"));
4151
+ await B(this, getAssetPath("./assets"));
4152
4152
  }
4153
4153
  disconnectedCallback() {
4154
4154
  this._flowObserver?.disconnect();
4155
4155
  this._themeChangedListner?.dispose();
4156
- q(this);
4156
+ H(this);
4157
4157
  }
4158
4158
  // #endregion
4159
4159
  //#region Private Methods
@@ -4171,7 +4171,7 @@ const ArcgisArcadeSuggestions = class {
4171
4171
  // When switching between flow the same reference is reused
4172
4172
  this._flowObserver = new MutationObserver(() => {
4173
4173
  // Get the last panel and try to set focus on the input element
4174
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
4174
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
4175
4175
  });
4176
4176
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
4177
4177
  }
@@ -4267,10 +4267,10 @@ const ArcgisArcadeVariables = class {
4267
4267
  //#endregion
4268
4268
  // #region Component lifecycle events
4269
4269
  async componentWillLoad() {
4270
- await H(this, getAssetPath("./assets"));
4270
+ await B(this, getAssetPath("./assets"));
4271
4271
  }
4272
4272
  disconnectedCallback() {
4273
- q(this);
4273
+ H(this);
4274
4274
  this._flowObserver?.disconnect();
4275
4275
  }
4276
4276
  // #endregion
@@ -4295,7 +4295,7 @@ const ArcgisArcadeVariables = class {
4295
4295
  // When switching between flow the same reference is reused
4296
4296
  this._flowObserver = new MutationObserver(() => {
4297
4297
  // Get the last panel and try to set focus on the input element
4298
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
4298
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
4299
4299
  });
4300
4300
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
4301
4301
  }
@@ -4323,7 +4323,7 @@ const ArcgisArcadeVariables = class {
4323
4323
  }
4324
4324
  renderEditorVariables(collection) {
4325
4325
  // Filter the variables. Skip group, we will filter the children later on.
4326
- const filterExpression = G(this._filterValue);
4326
+ const filterExpression = D(this._filterValue);
4327
4327
  const filteredVariables = collection.variables.filter((variable) => variable.passFilter(filterExpression));
4328
4328
  if (!filteredVariables.length) {
4329
4329
  return h("div", { class: "notice-container" }, this._t9nStrings?.noitems ?? "No item");
@@ -4378,7 +4378,7 @@ const ArcgisCodeEditor = class {
4378
4378
  this._disposables = [];
4379
4379
  this.value = undefined;
4380
4380
  this.language = undefined;
4381
- this.modelId = z();
4381
+ this.modelId = U();
4382
4382
  }
4383
4383
  valuePropChange(newValue, oldValue) {
4384
4384
  if (!this._editorInstance || newValue === oldValue) {
@@ -4543,7 +4543,7 @@ const ArcgisCodeEditor = class {
4543
4543
  // This is called the first time and subsequently by the Mutation Observer
4544
4544
  // Figure out the theme by walking the ancestor path.
4545
4545
  // If no theme is found then default to light.
4546
- const theme = O(this._hostElt) === "light" ? "vs" : "vs-dark";
4546
+ const theme = k(this._hostElt) === "light" ? "vs" : "vs-dark";
4547
4547
  if (theme === this._currentTheme) {
4548
4548
  return;
4549
4549
  }
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-93510b9c.js';
7
- export { s as setNonce } from './index-93510b9c.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-1b265749.js';
7
+ export { s as setNonce } from './index-1b265749.js';
8
8
 
9
9
  /*
10
10
  Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { r as monaco_editor_core_star } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ import { r as monaco_editor_core_star } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { r as monaco_editor_core_star } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ import { r as monaco_editor_core_star } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { r as monaco_editor_core_star } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ import { r as monaco_editor_core_star } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * 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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
package/dist/esm/index.js CHANGED
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- export { a as arcade } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ export { a as arcade } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-125e311f.js';
7
- import './arcade-defaults-592970ff.js';
8
- import './index-93510b9c.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-b328b622.js';
7
+ import './arcade-defaults-2d7283d4.js';
8
+ import './index-1b265749.js';
9
9
 
10
10
  /*!-----------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
- import { r as monaco_editor_core_star } from './arcade-defaults-592970ff.js';
7
- import './index-93510b9c.js';
6
+ import { r as monaco_editor_core_star } from './arcade-defaults-2d7283d4.js';
7
+ import './index-1b265749.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.