@arcgis/coding-components 4.30.0-next.2 → 4.30.0-next.21

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 (85) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.css +1 -1
  2. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  3. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +1 -1
  4. package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
  5. package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +1 -1
  6. package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
  7. package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
  8. package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
  9. package/dist/arcgis-coding-components/index.esm.js +2 -2
  10. package/dist/arcgis-coding-components/{p-758218e2.js → p-0e7b5896.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-f3068c90.js → p-1451e0cc.js} +2 -2
  12. package/dist/arcgis-coding-components/{p-1f472679.js → p-192601ca.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-e55a59ff.js → p-253f92ea.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-1f933dba.js → p-5583b25d.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-30e98420.js → p-81935687.js} +10 -10
  16. package/dist/arcgis-coding-components/{p-30100e82.js → p-a2190df0.js} +1 -1
  17. package/dist/arcgis-coding-components/{p-b22a71b8.js → p-a63eeed9.js} +1 -1
  18. package/dist/arcgis-coding-components/{p-c4b91917.js → p-b177db92.js} +3 -3
  19. package/dist/arcgis-coding-components/{p-8c6bf361.js → p-cb5166f2.js} +2 -2
  20. package/dist/arcgis-coding-components/{p-f0b811ba.entry.js → p-e8c2933f.entry.js} +2 -2
  21. package/dist/arcgis-coding-components/{p-fdf8d908.js → p-eb16cce2.js} +2 -2
  22. package/dist/cjs/{arcade-defaults-eb3968a5.js → arcade-defaults-9d57f506.js} +17 -22
  23. package/dist/cjs/{arcade-mode-5275cbeb.js → arcade-mode-9079b8e0.js} +5 -5
  24. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +71 -74
  25. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  26. package/dist/cjs/{css-bbfdb831.js → css-9aa4569b.js} +1 -1
  27. package/dist/cjs/{cssMode-f296c8f9.js → cssMode-6f57c416.js} +3 -3
  28. package/dist/cjs/{html-bc3c7f14.js → html-95d3a234.js} +3 -3
  29. package/dist/cjs/{htmlMode-651ef412.js → htmlMode-ebd8894d.js} +3 -3
  30. package/dist/cjs/{index-d28fe547.js → index-a3f52cf5.js} +1 -1
  31. package/dist/cjs/index.cjs.js +3 -3
  32. package/dist/cjs/{javascript-a30f18a4.js → javascript-1a01235b.js} +4 -4
  33. package/dist/cjs/{jsonMode-6861e18a.js → jsonMode-26ed7799.js} +3 -3
  34. package/dist/cjs/loader.cjs.js +2 -2
  35. package/dist/cjs/{tsMode-8b347861.js → tsMode-9cfeb9a5.js} +3 -3
  36. package/dist/cjs/{typescript-44b2647a.js → typescript-f9907455.js} +3 -3
  37. package/dist/components/arcade-api.js +3 -3
  38. package/dist/components/arcade-contribution.js +65 -6
  39. package/dist/components/arcade-defaults.js +2 -2
  40. package/dist/components/arcade-mode.js +3 -3
  41. package/dist/components/arcade-results.js +3 -3
  42. package/dist/components/arcade-suggestions.js +3 -3
  43. package/dist/components/arcade-variables.js +3 -3
  44. package/dist/components/arcgis-arcade-api.js +1 -1
  45. package/dist/components/arcgis-arcade-editor.js +5 -67
  46. package/dist/components/arcgis-arcade-results.js +1 -1
  47. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  48. package/dist/components/arcgis-arcade-variables.js +1 -1
  49. package/dist/components/arcgis-assets.d.ts +35 -0
  50. package/dist/components/arcgis-assets.js +2 -2
  51. package/dist/components/arcgis-code-editor.js +1 -1
  52. package/dist/components/code-editor.js +2 -2
  53. package/dist/components/fields.js +8 -13
  54. package/dist/components/index.d.ts +3 -18
  55. package/dist/components/index.js +2 -2
  56. package/dist/components/index2.js +1 -1
  57. package/dist/components/markdown.js +1 -1
  58. package/dist/components/utilities.js +1 -1
  59. package/dist/esm/{arcade-defaults-631dc093.js → arcade-defaults-1577045c.js} +17 -22
  60. package/dist/esm/{arcade-mode-43856469.js → arcade-mode-ec8b7890.js} +5 -5
  61. package/dist/esm/arcgis-arcade-api_6.entry.js +71 -74
  62. package/dist/esm/arcgis-coding-components.js +4 -4
  63. package/dist/esm/{css-6b2305f7.js → css-6350c0f7.js} +1 -1
  64. package/dist/esm/{cssMode-4a41975b.js → cssMode-629b1349.js} +3 -3
  65. package/dist/esm/{html-b3b2f1bc.js → html-979016b0.js} +3 -3
  66. package/dist/esm/{htmlMode-cedfb87b.js → htmlMode-dd504dae.js} +3 -3
  67. package/dist/esm/{index-84f054b0.js → index-093931a1.js} +1 -1
  68. package/dist/esm/index.js +3 -3
  69. package/dist/esm/{javascript-2482aacb.js → javascript-7af48cb1.js} +4 -4
  70. package/dist/esm/{jsonMode-8afe11aa.js → jsonMode-eb6b41d1.js} +3 -3
  71. package/dist/esm/loader.js +3 -3
  72. package/dist/esm/{tsMode-f4368447.js → tsMode-64deb000.js} +3 -3
  73. package/dist/esm/{typescript-40b2f5cb.js → typescript-c9b14542.js} +3 -3
  74. package/dist/loader/cdn.js +1 -1
  75. package/dist/loader/index.cjs.js +1 -1
  76. package/dist/loader/index.es2017.js +1 -1
  77. package/dist/loader/index.js +1 -1
  78. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
  79. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +37 -0
  80. package/dist/types/data/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 +6 -0
  81. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +9 -0
  82. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +9 -0
  83. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +19 -0
  84. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +6 -0
  85. package/package.json +14 -14
@@ -1,21 +1,3 @@
1
- /**
2
- * Get the base path to where the assets can be found. Use "setAssetPath(path)"
3
- * if the path needs to be customized.
4
- */
5
- export declare const getAssetPath: (path: string) => string;
6
-
7
- /**
8
- * Used to manually set the base path where assets can be found.
9
- * If the script is used as "module", it's recommended to use "import.meta.url",
10
- * such as "setAssetPath(import.meta.url)". Other options include
11
- * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
12
- * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
13
- * But do note that this configuration depends on how your script is bundled, or lack of
14
- * bundling, and where your assets can be loaded from. Additionally custom bundling
15
- * will have to ensure the static assets are copied to its build directory.
16
- */
17
- export declare const setAssetPath: (path: string) => void;
18
-
19
1
  /**
20
2
  * Used to specify a nonce value that corresponds with an application's CSP.
21
3
  * When set, the nonce will be added to all dynamically created script and style tags at runtime.
@@ -31,3 +13,6 @@ export interface SetPlatformOptions {
31
13
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
32
14
  }
33
15
  export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
16
+
17
+ export * from "../types";
18
+ export * from "./arcgis-assets";
@@ -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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
6
  export { setNonce, setPlatformOptions } from '@stencil/core/internal/client';
7
7
  export { a as arcade } from './arcade-defaults.js';
8
- export { getAssetPath as getArcgisAssetPath, setArcgisAssetPath } from "./arcgis-assets.js";
8
+ export { getArcgisAssetPath, setArcgisAssetPath } from "./arcgis-assets.js";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
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 R(e){return "setFocus"in e&&typeof e.setFocus=="function"}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return R(e)&&setTimeout(()=>e.setFocus(),0),!0;for(let r of e.children)if(d(r,t))return !0;let n=e.shadowRoot;if(n){for(let r of n.children)if(d(r,t))return !0}return !1}function W(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 v(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 v("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function _(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).catch(console.error);})),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}=_(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 v(r,l,u);}r!==e._t9nLocale&&(e._t9nLocale=r,e._t9nStrings=o,await t?.call(e));}var N='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=N,n=w;e.includes(t)&&!e.includes(n)&&(n=N,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 K(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function Z(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function G(e){return `\u200E${e??""}\u200E`}function ee(e){return e!==null}function te(e){return e!==void 0}function re(e,t=100){let n;return (...r)=>{let o=()=>{clearTimeout(n),e(...r);};clearTimeout(n),n=setTimeout(o,t);}}function se(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 ie(e){try{return new URL(e),!0}catch{return !1}}
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
6
  import { editor } from 'monaco-editor';
7
7
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
6
  import { K } from './index2.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { g as getAssetPath } from './index-84f054b0.js';
6
+ import { g as getAssetPath } from './index-093931a1.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-6b2305f7.js');
120525
+ return import('./css-6350c0f7.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-b3b2f1bc.js');
120543
+ return import('./html-979016b0.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-2482aacb.js');
120563
+ return import('./javascript-7af48cb1.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-40b2f5cb.js');
120581
+ return import('./typescript-c9b14542.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-4a41975b.js');
120702
+ return import('./cssMode-629b1349.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-cedfb87b.js');
120827
+ return import('./htmlMode-dd504dae.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-8afe11aa.js');
120929
+ return import('./jsonMode-eb6b41d1.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-f4368447.js');
121198
+ return import('./tsMode-64deb000.js');
121199
121199
  }
121200
121200
  }
121201
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -168925,25 +168925,20 @@ var main = createCommonjsModule(function (module, exports) {
168925
168925
  });
168926
168926
  });
168927
168927
 
168928
- const isAMD = "define" in window && typeof window.define === "function" && "amd" in window.define;
168928
+ const isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis;
168929
168929
  function isDefaultModule(module) {
168930
168930
  return module.default !== undefined;
168931
168931
  }
168932
- async function requireModule(modulePath) {
168933
- return await new Promise((resolve) => window.require([modulePath], (moduleDefault) => {
168934
- resolve(moduleDefault);
168935
- }));
168936
- }
168937
168932
  async function importLayersFeatureLayer() {
168938
168933
  if (isAMD) {
168939
- return await requireModule("esri/layers/FeatureLayer");
168934
+ return await window.$arcgis.import("esri/layers/FeatureLayer");
168940
168935
  }
168941
168936
  const module = await import('@arcgis/core/layers/FeatureLayer.js');
168942
168937
  return isDefaultModule(module) ? module.default : module;
168943
168938
  }
168944
168939
  async function importPortalPortalItem() {
168945
168940
  if (isAMD) {
168946
- return await requireModule("esri/portal/PortalItem");
168941
+ return await window.$arcgis.import("esri/portal/PortalItem");
168947
168942
  }
168948
168943
  const module = await import('@arcgis/core/portal/PortalItem.js');
168949
168944
  return isDefaultModule(module) ? module.default : module;
@@ -168954,7 +168949,7 @@ async function newPortalPortalItem(properties) {
168954
168949
  }
168955
168950
  async function importWebMap() {
168956
168951
  if (isAMD) {
168957
- return await requireModule("esri/WebMap");
168952
+ return await window.$arcgis.import("esri/WebMap");
168958
168953
  }
168959
168954
  const module = await import('@arcgis/core/WebMap.js');
168960
168955
  return isDefaultModule(module) ? module.default : module;
@@ -168965,7 +168960,7 @@ async function newWebMap(properties) {
168965
168960
  }
168966
168961
  async function importWebScene() {
168967
168962
  if (isAMD) {
168968
- return await requireModule("esri/WebScene");
168963
+ return await window.$arcgis.import("esri/WebScene");
168969
168964
  }
168970
168965
  const module = await import('@arcgis/core/WebScene.js');
168971
168966
  return isDefaultModule(module) ? module.default : module;
@@ -168976,14 +168971,14 @@ async function newWebScene(properties) {
168976
168971
  }
168977
168972
  async function importArcade() {
168978
168973
  if (isAMD) {
168979
- return await requireModule("esri/arcade");
168974
+ return await window.$arcgis.import("esri/arcade");
168980
168975
  }
168981
168976
  const module = await import('@arcgis/core/arcade.js');
168982
168977
  return isDefaultModule(module) ? module.default : module;
168983
168978
  }
168984
168979
  async function importRequest() {
168985
168980
  if (isAMD) {
168986
- return await requireModule("esri/request");
168981
+ return await window.$arcgis.import("esri/request");
168987
168982
  }
168988
168983
  const module = await import('@arcgis/core/request.js');
168989
168984
  return isDefaultModule(module) ? module.default : module;
@@ -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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { v as main, e as editor, M as MarkerSeverity, R as Range, l as languages, w as re, E as Emitter } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ import { v as main, e as editor, M as MarkerSeverity, R as Range, l as languages, w as re, E as Emitter } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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
 
@@ -139,8 +139,8 @@ const arcadeMonarchLanguage = {
139
139
  // delimiter: after number because of .\d floats
140
140
  [/[;,.]/u, "delimiter"],
141
141
  // strings
142
- [/"([^"\\]|\\.)*$/u, "string.invalid"], // non-teminated string
143
- [/'([^'\\]|\\.)*$/u, "string.invalid"], // non-teminated string
142
+ [/"([^"\\]|\\.)*$/u, "string.invalid"],
143
+ [/'([^'\\]|\\.)*$/u, "string.invalid"],
144
144
  [/"/u, "string", "@string_double"],
145
145
  [/'/u, "string", "@string_single"],
146
146
  [/`/u, "string", "@string_backtick"]
@@ -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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement, F as Fragment } from './index-84f054b0.js';
7
- import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as ie, s as se, d as importRequest, l as languages, f as arcadeDefaults, B, U as Uri, q, W, h as filterCollection, G, j as importArcade, k as h$1, m as U, n as k, K as KeyCode, Z, D, o as supportedFields, p as K, R as Range, x, r as KeyMod } from './arcade-defaults-631dc093.js';
6
+ import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement, F as Fragment } from './index-093931a1.js';
7
+ import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as ie, s as se, d as importRequest, l as languages, f as arcadeDefaults, B, U as Uri, q, W, h as filterCollection, G, j as importArcade, k as h$1, m as U, n as k, K as KeyCode, Z, D, o as supportedFields, p as K, R as Range, x, r as KeyMod } from './arcade-defaults-1577045c.js';
8
8
 
9
9
  async function colorizeCode(code) {
10
10
  return await editor.colorize(code, "arcade", { tabSize: 2 });
@@ -2992,6 +2992,66 @@ function setupMonacoEnvironment(assetsPath) {
2992
2992
  };
2993
2993
  }
2994
2994
 
2995
+ const themeConfig = {
2996
+ "arcade-light-theme": {
2997
+ comment: "#606060",
2998
+ constant: "#9809C8",
2999
+ date: "#296389",
3000
+ identifier: "#0000B3",
3001
+ keyword: "#BF4900",
3002
+ number: "#136D3D",
3003
+ string: "#A31515"
3004
+ },
3005
+ "arcade-dark-theme": {
3006
+ comment: "#BFBFBF",
3007
+ constant: "#CDBAEA",
3008
+ date: "#97A6CE",
3009
+ identifier: "#9FD4F3",
3010
+ keyword: "#EEAA5A",
3011
+ number: "#AAD04B",
3012
+ string: "#F2877B"
3013
+ }
3014
+ };
3015
+
3016
+ function setupArcadeTheme() {
3017
+ ["light", "dark"].forEach((theme) => {
3018
+ const base = theme === "light" ? "vs" : "vs-dark";
3019
+ const colors = themeConfig[`arcade-${theme}-theme`];
3020
+ // Defines the light and dark theme based on the calcite theme name
3021
+ editor.defineTheme(base, {
3022
+ base,
3023
+ inherit: true,
3024
+ rules: [
3025
+ { token: "comment.arc", foreground: colors.comment },
3026
+ { token: "constant.arc", foreground: colors.constant },
3027
+ { token: "keyword.arc", foreground: colors.keyword },
3028
+ { token: "identifier.arc", foreground: colors.identifier },
3029
+ { token: "number.arc", foreground: colors.number },
3030
+ { token: "string.arc", foreground: colors.string }
3031
+ ],
3032
+ colors: {}
3033
+ });
3034
+ });
3035
+ }
3036
+ const monacoThemeKeys = ["comment", "keyword", "identifier", "string", "number", "constant"];
3037
+ const colorRulesKeys = [...monacoThemeKeys, "date"];
3038
+ function updateThemeColors(theme, colorRules) {
3039
+ if (colorRules === undefined) {
3040
+ setupArcadeTheme();
3041
+ return;
3042
+ }
3043
+ const base = theme === "light" ? "vs" : "vs-dark";
3044
+ const rules = [];
3045
+ monacoThemeKeys.forEach((key) => {
3046
+ const foreground = colorRules[key];
3047
+ if (!foreground) {
3048
+ return;
3049
+ }
3050
+ rules.push({ token: `${key}.arc`, foreground });
3051
+ });
3052
+ editor.defineTheme(base, { base, inherit: true, rules, colors: {} });
3053
+ }
3054
+
2995
3055
  /**
2996
3056
  * Returns the arcade diagnostic service.
2997
3057
  * Example:
@@ -3021,10 +3081,10 @@ async function getArcadeWorker(uri) {
3021
3081
  }
3022
3082
  /**
3023
3083
  * Request the arcade mode
3024
- * @returns mode for arcade
3084
+ * @returns arcade mode module
3025
3085
  */
3026
3086
  async function getMode() {
3027
- return await import('./arcade-mode-43856469.js');
3087
+ return await import('./arcade-mode-ec8b7890.js');
3028
3088
  }
3029
3089
  // Register the language in Monaco
3030
3090
  languages.register({
@@ -3035,9 +3095,8 @@ languages.register({
3035
3095
  });
3036
3096
  // An event emitted when a language is first time needed
3037
3097
  languages.onLanguage(arcadeDefaults.languageId, () => {
3038
- // Setup the assets path on the arcadeDefaults
3098
+ setupArcadeTheme();
3039
3099
  arcadeDefaults.setLanguageOptions({ assetsPath: `${getAssetsPath() ?? "."}/arcade-language` });
3040
- // Async import the language mode
3041
3100
  getMode()
3042
3101
  .then((mode) => {
3043
3102
  // Setup the language mode
@@ -3048,7 +3107,7 @@ languages.onLanguage(arcadeDefaults.languageId, () => {
3048
3107
  });
3049
3108
  });
3050
3109
 
3051
- const arcadeApiCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}:host calcite-block p:first-of-type{margin-top:0}:host calcite-block code{font-family:var(--calcite-code-family)}:host calcite-block pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-half)}:host calcite-block pre code{font-size:var(--calcite-font-size--2)}";
3110
+ const arcadeApiCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}:host calcite-block p:first-of-type{margin-top:0}:host calcite-block code{font-family:var(--calcite-code-family)}:host calcite-block pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm)}:host calcite-block pre code{font-size:var(--calcite-font-size--2)}";
3052
3111
 
3053
3112
  const ArcgisArcadeApi = class {
3054
3113
  constructor(hostRef) {
@@ -3423,69 +3482,8 @@ async function executeScript(editorProfile, script, testContext, console) {
3423
3482
  }
3424
3483
  }
3425
3484
 
3426
- const themeConfig = {
3427
- "arcade-light-theme": {
3428
- comment: "#606060",
3429
- constant: "#9809C8",
3430
- date: "#296389",
3431
- identifier: "#0000B3",
3432
- keyword: "#BF4900",
3433
- number: "#136D3D",
3434
- string: "#A31515"
3435
- },
3436
- "arcade-dark-theme": {
3437
- comment: "#BFBFBF",
3438
- constant: "#CDBAEA",
3439
- date: "#97A6CE",
3440
- identifier: "#9FD4F3",
3441
- keyword: "#EEAA5A",
3442
- number: "#AAD04B",
3443
- string: "#F2877B"
3444
- }
3445
- };
3446
-
3447
- function setupArcadeTheme() {
3448
- ["light", "dark"].forEach((theme) => {
3449
- const base = theme === "light" ? "vs" : "vs-dark";
3450
- const colors = themeConfig[`arcade-${theme}-theme`];
3451
- // Defines the light and dark theme based on the calcite theme name
3452
- editor.defineTheme(base, {
3453
- base,
3454
- inherit: true,
3455
- rules: [
3456
- { token: "comment.arc", foreground: colors.comment },
3457
- { token: "constant.arc", foreground: colors.constant },
3458
- { token: "keyword.arc", foreground: colors.keyword },
3459
- { token: "identifier.arc", foreground: colors.identifier },
3460
- { token: "number.arc", foreground: colors.number },
3461
- { token: "string.arc", foreground: colors.string }
3462
- ],
3463
- colors: {}
3464
- });
3465
- });
3466
- }
3467
- const monacoThemeKeys = ["comment", "keyword", "identifier", "string", "number", "constant"];
3468
- const colorRulesKeys = [...monacoThemeKeys, "date"];
3469
- function updateThemeColors(theme, colorRules) {
3470
- if (colorRules === undefined) {
3471
- setupArcadeTheme();
3472
- return;
3473
- }
3474
- const base = theme === "light" ? "vs" : "vs-dark";
3475
- const rules = [];
3476
- monacoThemeKeys.forEach((key) => {
3477
- const foreground = colorRules[key];
3478
- if (!foreground) {
3479
- return;
3480
- }
3481
- rules.push({ token: `${key}.arc`, foreground });
3482
- });
3483
- editor.defineTheme(base, { base, inherit: true, rules, colors: {} });
3484
- }
3485
-
3486
- const arcadeEditorCss = "arcgis-arcade-editor{display:flex;flex-direction:column;height:100%;width:100%;position:relative;overflow:hidden;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-foreground-1)}arcgis-arcade-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-arcade-editor .flex-panel{flex:1 0 auto}arcgis-arcade-editor .position-relative{position:relative}arcgis-arcade-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-arcade-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-arcade-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .sticky{position:sticky;top:0px;z-index:10}arcgis-arcade-editor .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1);text-align:center}arcgis-arcade-editor .side-action-bar{max-width:25%}arcgis-arcade-editor .side-panel{max-width:45%;width:600px}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}arcgis-arcade-editor .main-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-half)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-half)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}arcgis-arcade-editor .main-action-bar calcite-action-group:last-child{border-inline-end-width:0px}arcgis-arcade-editor .main-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}arcgis-arcade-editor arcgis-arcade-results{border-top:1px solid var(--calcite-color-border-3);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}arcgis-arcade-editor calcite-list-item-group calcite-list-item{margin-bottom:1px;box-shadow:0 1px 0 var(--calcite-color-border-3)}arcgis-arcade-editor calcite-list-item-group calcite-list-item:last-child{box-shadow:none}arcgis-arcade-editor calcite-list-item-group:last-child{margin-bottom:var(--calcite-spacing-1)}";
3485
+ const arcadeEditorCss = "arcgis-arcade-editor{display:flex;flex-direction:column;height:100%;width:100%;position:relative;overflow:hidden;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-foreground-1)}arcgis-arcade-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-arcade-editor .flex-panel{flex:1 0 auto}arcgis-arcade-editor .position-relative{position:relative}arcgis-arcade-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-arcade-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-arcade-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .sticky{position:sticky;top:0px;z-index:10}arcgis-arcade-editor .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}arcgis-arcade-editor .side-action-bar{max-width:25%}arcgis-arcade-editor .side-panel{max-width:45%;width:600px}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}arcgis-arcade-editor .main-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group:last-child{border-inline-end-width:0px}arcgis-arcade-editor .main-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor arcgis-arcade-results{border-top:1px solid var(--calcite-color-border-3);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}arcgis-arcade-editor calcite-list-item-group calcite-list-item{margin-bottom:1px;box-shadow:0 1px 0 var(--calcite-color-border-3)}arcgis-arcade-editor calcite-list-item-group calcite-list-item:last-child{box-shadow:none}arcgis-arcade-editor calcite-list-item-group:last-child{margin-bottom:var(--calcite-spacing-xl)}";
3487
3486
 
3488
- setupArcadeTheme();
3489
3487
  const ArcgisArcadeEditor = class {
3490
3488
  constructor(hostRef) {
3491
3489
  registerInstance(this, hostRef);
@@ -3733,7 +3731,6 @@ const ArcgisArcadeEditor = class {
3733
3731
  if (this.hideSideBar) {
3734
3732
  return null;
3735
3733
  }
3736
- console.log("expanded", this.sideActionBarExpanded);
3737
3734
  return (h("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, h("calcite-action-group", null, this.renderAction({
3738
3735
  id: "profile-variables-action",
3739
3736
  label: this._t9nStrings?.profilevariables ?? "Profile variables",
@@ -3805,7 +3802,7 @@ const ArcgisArcadeEditor = class {
3805
3802
  };
3806
3803
  ArcgisArcadeEditor.style = arcadeEditorCss;
3807
3804
 
3808
- const arcadeResultsCss = ":host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2)}:host .flex-adjustable{flex:1 1 auto;overflow:hidden}:host .flex-row{display:flex;flex-direction:row;overflow:hidden}:host .flex-column{display:flex;flex-direction:column;overflow:hidden}:host .y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}:host header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}:host .ltr-container{direction:ltr}:host calcite-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}:host calcite-action-bar calcite-action-group:last-child{border-inline-end-width:0px}:host calcite-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-half)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .color-info{color:var(--calcite-color-status-info)}:host .color-error{color:var(--calcite-color-status-danger)}:host .color-success{color:var(--calcite-color-status-success)}:host [class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-three-quarter)}:host .console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-three-quarter);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}:host .result-value-table table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap}:host .result-value-table table thead{background-color:var(--calcite-color-foreground-2)}:host .result-value-table table tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}:host .result-value-table table th,:host .result-value-table table td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-quarter)}:host .result-value-table table th .string-value,:host .result-value-table table td .string-value{white-space:pre}:host .result-value-table table th{font-weight:var(--calcite-font-weight-medium)}:host .tree-item-label,:host .number-value,:host .string-value,:host .boolean-value{font-family:var(--calcite-code-family)}:host .tree-item-label,:host .value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}:host .dictionary-property{color:var(--arcgis-arcade-editor-identifier)}:host .number-value{color:var(--arcgis-arcade-editor-number)}:host .string-value{color:var(--arcgis-arcade-editor-string);white-space:pre-wrap}:host .constant-value{color:var(--arcgis-arcade-editor-constant)}:host .date-value{color:var(--arcgis-arcade-editor-date)}";
3805
+ const arcadeResultsCss = ":host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2)}:host .flex-adjustable{flex:1 1 auto;overflow:hidden}:host .flex-row{display:flex;flex-direction:row;overflow:hidden}:host .flex-column{display:flex;flex-direction:column;overflow:hidden}:host .y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}:host header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}:host .ltr-container{direction:ltr}:host calcite-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}:host calcite-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}:host calcite-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}:host calcite-action-bar calcite-action-group:last-child{border-inline-end-width:0px}:host calcite-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}:host .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}:host .color-info{color:var(--calcite-color-status-info)}:host .color-error{color:var(--calcite-color-status-danger)}:host .color-success{color:var(--calcite-color-status-success)}:host [class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}:host .console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}:host .result-value-table table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap}:host .result-value-table table thead{background-color:var(--calcite-color-foreground-2)}:host .result-value-table table tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}:host .result-value-table table th,:host .result-value-table table td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs)}:host .result-value-table table th .string-value,:host .result-value-table table td .string-value{white-space:pre}:host .result-value-table table th{font-weight:var(--calcite-font-weight-medium)}:host .tree-item-label,:host .number-value,:host .string-value,:host .boolean-value{font-family:var(--calcite-code-family)}:host .tree-item-label,:host .value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}:host .dictionary-property{color:var(--arcgis-arcade-editor-identifier)}:host .number-value{color:var(--arcgis-arcade-editor-number)}:host .string-value{color:var(--arcgis-arcade-editor-string);white-space:pre-wrap}:host .constant-value{color:var(--arcgis-arcade-editor-constant)}:host .date-value{color:var(--arcgis-arcade-editor-date)}";
3809
3806
 
3810
3807
  //#region Specialized Constants
3811
3808
  const treeProps = {
@@ -4054,7 +4051,7 @@ function isSuggestionGroups(item) {
4054
4051
  return Array.isArray(item[0].suggestions);
4055
4052
  }
4056
4053
 
4057
- const arcadeSuggestionsCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}:host calcite-block p:first-of-type{margin-top:0}:host calcite-block code{font-family:var(--calcite-code-family)}:host calcite-block pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-half)}:host calcite-block pre code{font-size:var(--calcite-font-size--2)}";
4054
+ const arcadeSuggestionsCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}:host calcite-block p:first-of-type{margin-top:0}:host calcite-block code{font-family:var(--calcite-code-family)}:host calcite-block pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm)}:host calcite-block pre code{font-size:var(--calcite-font-size--2)}";
4058
4055
 
4059
4056
  const ArcgisArcadeSuggestions = class {
4060
4057
  constructor(hostRef) {
@@ -4168,7 +4165,7 @@ const ArcgisArcadeSuggestions = class {
4168
4165
  };
4169
4166
  ArcgisArcadeSuggestions.style = arcadeSuggestionsCss;
4170
4167
 
4171
- const arcadeVariablesCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-quarter);padding:var(--calcite-spacing-half);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}";
4168
+ const arcadeVariablesCss = ":host{background-color:var(--calcite-color-foreground-1)}:host .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}:host .sticky{position:sticky;top:0px;z-index:10}:host calcite-flow{height:100%}";
4172
4169
 
4173
4170
  function stopEnterPropagation(e) {
4174
4171
  if (e.key === "Enter") {
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-84f054b0.js';
7
- export { s as setNonce } from './index-84f054b0.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-093931a1.js';
7
+ export { s as setNonce } from './index-093931a1.js';
8
8
 
9
9
  /*
10
- Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
10
+ Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
11
11
  */
12
12
  const patchBrowser = () => {
13
13
  const importMeta = import.meta.url;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ import { t as monaco_editor_core_star } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ import { t as monaco_editor_core_star } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ import { t as monaco_editor_core_star } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- export { a as arcade } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ export { a as arcade } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-40b2f5cb.js';
7
- import './arcade-defaults-631dc093.js';
8
- import './index-84f054b0.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-c9b14542.js';
7
+ import './arcade-defaults-1577045c.js';
8
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { t as monaco_editor_core_star } from './arcade-defaults-631dc093.js';
7
- import './index-84f054b0.js';
6
+ import { t as monaco_editor_core_star } from './arcade-defaults-1577045c.js';
7
+ import './index-093931a1.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.21
5
5
  */
6
- import { b as bootstrapLazy } from './index-84f054b0.js';
7
- export { s as setNonce } from './index-84f054b0.js';
6
+ import { b as bootstrapLazy } from './index-093931a1.js';
7
+ export { s as setNonce } from './index-093931a1.js';
8
8
 
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return undefined;