@arcgis/coding-components 4.29.5 → 4.29.7

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 (72) 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-29c22c73.js → p-09107099.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-1a2cbd53.js → p-1c5e49bd.js} +1 -1
  5. package/dist/arcgis-coding-components/{p-31731664.js → p-4fe9a598.js} +2 -2
  6. package/dist/arcgis-coding-components/p-5c59462f.entry.js +6 -0
  7. package/dist/arcgis-coding-components/{p-977c1293.js → p-6165c7a4.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-f748c7b4.js → p-88b74c67.js} +3 -3
  9. package/dist/arcgis-coding-components/{p-cd7c9720.js → p-a69a4367.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-6ab17501.js → p-b0b3c192.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-ce3693b8.js → p-b37fb59b.js} +1 -1
  12. package/dist/arcgis-coding-components/{p-e8b3e3ae.js → p-dce5ee20.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-a7a38110.js → p-e90b67a7.js} +10 -10
  14. package/dist/arcgis-coding-components/{p-bc3db4c9.js → p-ec6b4cbd.js} +2 -2
  15. package/dist/cjs/{arcade-defaults-f3afa4a9.js → arcade-defaults-06b4d4cc.js} +10 -10
  16. package/dist/cjs/{arcade-mode-3001023b.js → arcade-mode-817b2fe3.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +17 -12
  18. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  19. package/dist/cjs/{css-7ddf55e8.js → css-df5466cb.js} +1 -1
  20. package/dist/cjs/{cssMode-d75d0fcd.js → cssMode-0b90ca41.js} +3 -3
  21. package/dist/cjs/{html-30c97d1e.js → html-91bbd5e2.js} +3 -3
  22. package/dist/cjs/{htmlMode-8876fe24.js → htmlMode-d5c1a01e.js} +3 -3
  23. package/dist/cjs/{index-69db6bc6.js → index-e1c6848d.js} +1 -1
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-2cd4b91d.js → javascript-268a7832.js} +4 -4
  26. package/dist/cjs/{jsonMode-5eeb046c.js → jsonMode-2b0ec416.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +3 -3
  28. package/dist/cjs/{tsMode-ad612219.js → tsMode-6e14767b.js} +3 -3
  29. package/dist/cjs/{typescript-c84caf0f.js → typescript-2f73c9c9.js} +3 -3
  30. package/dist/components/arcade-api.js +1 -1
  31. package/dist/components/arcade-contribution.js +1 -1
  32. package/dist/components/arcade-defaults.js +1 -1
  33. package/dist/components/arcade-mode.js +1 -1
  34. package/dist/components/arcade-results.js +1 -1
  35. package/dist/components/arcade-suggestions.js +1 -1
  36. package/dist/components/arcade-variables.js +1 -1
  37. package/dist/components/arcgis-arcade-api.js +1 -1
  38. package/dist/components/arcgis-arcade-editor.js +5 -8
  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 +14 -3
  44. package/dist/components/fields.js +1 -1
  45. package/dist/components/index.js +1 -1
  46. package/dist/components/index2.js +1 -1
  47. package/dist/components/markdown.js +1 -1
  48. package/dist/components/utilities.js +1 -1
  49. package/dist/esm/{arcade-defaults-967ffd46.js → arcade-defaults-587f3032.js} +10 -10
  50. package/dist/esm/{arcade-mode-5e97b306.js → arcade-mode-8ee5121e.js} +3 -3
  51. package/dist/esm/arcgis-arcade-api_6.entry.js +17 -12
  52. package/dist/esm/arcgis-coding-components.js +4 -4
  53. package/dist/esm/{css-28548067.js → css-860331cd.js} +1 -1
  54. package/dist/esm/{cssMode-04a688b3.js → cssMode-b108809b.js} +3 -3
  55. package/dist/esm/{html-b7ac30a0.js → html-587f7fbc.js} +3 -3
  56. package/dist/esm/{htmlMode-f0abf9d5.js → htmlMode-24b300eb.js} +3 -3
  57. package/dist/esm/{index-36478840.js → index-7b69917c.js} +1 -1
  58. package/dist/esm/index.js +3 -3
  59. package/dist/esm/{javascript-983a4e20.js → javascript-8d35d24a.js} +4 -4
  60. package/dist/esm/{jsonMode-f5cdf27c.js → jsonMode-8a23454b.js} +3 -3
  61. package/dist/esm/loader.js +4 -4
  62. package/dist/esm/{tsMode-23faab8a.js → tsMode-9f8691c4.js} +3 -3
  63. package/dist/esm/{typescript-6f54aead.js → typescript-1c7e49d5.js} +3 -3
  64. package/dist/loader/cdn.js +1 -1
  65. package/dist/loader/index.cjs.js +1 -1
  66. package/dist/loader/index.es2017.js +1 -1
  67. package/dist/loader/index.js +1 -1
  68. package/dist/types/components/arcade-editor/arcade-editor.d.ts +4 -0
  69. package/dist/types/components/code-editor/code-editor.d.ts +7 -1
  70. package/dist/types/components.d.ts +17 -1
  71. package/package.json +8 -8
  72. package/dist/arcgis-coding-components/p-6ddf8939.entry.js +0 -6
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
- import{t as e}from"./p-a7a38110.js";import"./p-1a2cbd53.js";
6
+ import{t as e}from"./p-e90b67a7.js";import"./p-1c5e49bd.js";
7
7
  /*!-----------------------------------------------------------------------------
8
8
  * Copyright (c) Microsoft Corporation. All rights reserved.
9
9
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
@@ -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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-69db6bc6.js');
8
+ const index = require('./index-e1c6848d.js');
9
9
 
10
10
  function _interopNamespace(e) {
11
11
  if (e && e.__esModule) return e;
@@ -120544,7 +120544,7 @@ registerLanguage({
120544
120544
  mimetypes: ["text/css"],
120545
120545
  loader: () => {
120546
120546
  {
120547
- return Promise.resolve().then(function () { return require('./css-7ddf55e8.js'); });
120547
+ return Promise.resolve().then(function () { return require('./css-df5466cb.js'); });
120548
120548
  }
120549
120549
  }
120550
120550
  });
@@ -120562,7 +120562,7 @@ registerLanguage({
120562
120562
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120563
120563
  loader: () => {
120564
120564
  {
120565
- return Promise.resolve().then(function () { return require('./html-30c97d1e.js'); });
120565
+ return Promise.resolve().then(function () { return require('./html-91bbd5e2.js'); });
120566
120566
  }
120567
120567
  }
120568
120568
  });
@@ -120582,7 +120582,7 @@ registerLanguage({
120582
120582
  mimetypes: ["text/javascript"],
120583
120583
  loader: () => {
120584
120584
  {
120585
- return Promise.resolve().then(function () { return require('./javascript-2cd4b91d.js'); });
120585
+ return Promise.resolve().then(function () { return require('./javascript-268a7832.js'); });
120586
120586
  }
120587
120587
  }
120588
120588
  });
@@ -120600,7 +120600,7 @@ registerLanguage({
120600
120600
  mimetypes: ["text/typescript"],
120601
120601
  loader: () => {
120602
120602
  {
120603
- return Promise.resolve().then(function () { return require('./typescript-c84caf0f.js'); });
120603
+ return Promise.resolve().then(function () { return require('./typescript-2f73c9c9.js'); });
120604
120604
  }
120605
120605
  }
120606
120606
  });
@@ -120721,7 +120721,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120721
120721
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120722
120722
  function getMode$3() {
120723
120723
  {
120724
- return Promise.resolve().then(function () { return require('./cssMode-d75d0fcd.js'); });
120724
+ return Promise.resolve().then(function () { return require('./cssMode-0b90ca41.js'); });
120725
120725
  }
120726
120726
  }
120727
120727
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120846,7 +120846,7 @@ monaco_editor_core_exports$2.languages.html = {
120846
120846
  };
120847
120847
  function getMode$2() {
120848
120848
  {
120849
- return Promise.resolve().then(function () { return require('./htmlMode-8876fe24.js'); });
120849
+ return Promise.resolve().then(function () { return require('./htmlMode-d5c1a01e.js'); });
120850
120850
  }
120851
120851
  }
120852
120852
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120948,7 +120948,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120948
120948
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120949
120949
  function getMode$1() {
120950
120950
  {
120951
- return Promise.resolve().then(function () { return require('./jsonMode-5eeb046c.js'); });
120951
+ return Promise.resolve().then(function () { return require('./jsonMode-2b0ec416.js'); });
120952
120952
  }
120953
120953
  }
120954
120954
  monaco_editor_core_exports$1.languages.register({
@@ -121217,7 +121217,7 @@ monaco_editor_core_exports.languages.typescript = {
121217
121217
  };
121218
121218
  function getMode() {
121219
121219
  {
121220
- return Promise.resolve().then(function () { return require('./tsMode-ad612219.js'); });
121220
+ return Promise.resolve().then(function () { return require('./tsMode-6e14767b.js'); });
121221
121221
  }
121222
121222
  }
121223
121223
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  var j={False:"false",Null:"null",True:"true"},f={Break:"break",Continue:"continue",Else:"else",For:"for",From:"from",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"},Fe=["++","--"],Qe=["-","+","!","~"],Ze=["=","/=","*=","%=","+=","-="],Xe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Fe.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Xe.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ht=Object.values(f),dt=Object.values(j);dt.map(t=>({label:t,kind:arcadeDefaults.main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.CompletionItemKind.Keyword}));
12
12
 
@@ -1,14 +1,14 @@
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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-69db6bc6.js');
11
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
10
+ const index = require('./index-e1c6848d.js');
11
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
12
12
 
13
13
  async function colorizeCode(code) {
14
14
  return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
@@ -3028,7 +3028,7 @@ async function getArcadeWorker(uri) {
3028
3028
  * @returns mode for arcade
3029
3029
  */
3030
3030
  async function getMode() {
3031
- return await Promise.resolve().then(function () { return require('./arcade-mode-3001023b.js'); });
3031
+ return await Promise.resolve().then(function () { return require('./arcade-mode-817b2fe3.js'); });
3032
3032
  }
3033
3033
  // Register the language in Monaco
3034
3034
  arcadeDefaults.languages.register({
@@ -3565,6 +3565,7 @@ const ArcgisArcadeEditor = class {
3565
3565
  this.hideSideBar = false;
3566
3566
  this.sideActionBarExpanded = false;
3567
3567
  this.openedSidePanel = "none";
3568
+ this.editorOptions = undefined;
3568
3569
  }
3569
3570
  _profileChanged(newValue, oldValue) {
3570
3571
  // Prevent the execution as long as the component has not been fully loaded
@@ -3611,7 +3612,7 @@ const ArcgisArcadeEditor = class {
3611
3612
  */
3612
3613
  async getEditorInstance() {
3613
3614
  await this._componentReadyDefer.promise;
3614
- return (await this._codeEditorElt?.getEditorInstance());
3615
+ return await this._codeEditorElt?.getEditorInstance();
3615
3616
  }
3616
3617
  /**
3617
3618
  * Returns the Arcade result for the script for the provided test data.
@@ -3732,11 +3733,7 @@ const ArcgisArcadeEditor = class {
3732
3733
  //#endregion
3733
3734
  //#region Render Main Panel
3734
3735
  renderMainPanel() {
3735
- return (
3736
- // <div class="flex-adjustable">
3737
- index.h("arcgis-code-editor", { class: "flex-adjustable", language: arcadeDefaults.arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId, onValueChange: this._emitScriptChange, ref: (e) => (this._codeEditorElt = e) })
3738
- // </div>
3739
- );
3736
+ return (index.h("arcgis-code-editor", { class: "flex-adjustable", language: arcadeDefaults.arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId, options: this.editorOptions, onValueChange: this._emitScriptChange, ref: (e) => (this._codeEditorElt = e) }));
3740
3737
  }
3741
3738
  //#endregion
3742
3739
  //#region Rendering the Action Bar
@@ -3747,7 +3744,6 @@ const ArcgisArcadeEditor = class {
3747
3744
  if (this.hideSideBar) {
3748
3745
  return null;
3749
3746
  }
3750
- console.log("expanded", this.sideActionBarExpanded);
3751
3747
  return (index.h("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, index.h("calcite-action-group", null, this.renderAction({
3752
3748
  id: "profile-variables-action",
3753
3749
  label: this._t9nStrings?.profilevariables ?? "Profile variables",
@@ -4359,6 +4355,7 @@ const ArcgisCodeEditor = class {
4359
4355
  this.value = undefined;
4360
4356
  this.language = undefined;
4361
4357
  this.modelId = arcadeDefaults.U();
4358
+ this.options = undefined;
4362
4359
  }
4363
4360
  valuePropChange(newValue, oldValue) {
4364
4361
  if (!this._editorInstance || newValue === oldValue) {
@@ -4378,6 +4375,12 @@ const ArcgisCodeEditor = class {
4378
4375
  }
4379
4376
  this.updateModel();
4380
4377
  }
4378
+ optionsPropChange(newValue) {
4379
+ if (!this._editorInstance || !newValue) {
4380
+ return;
4381
+ }
4382
+ this._editorInstance.updateOptions(newValue);
4383
+ }
4381
4384
  //#endregion
4382
4385
  // #region Public methods API
4383
4386
  /**
@@ -4476,6 +4479,7 @@ const ArcgisCodeEditor = class {
4476
4479
  // Create the editor for the host element.
4477
4480
  // This will not trigger a diagnostic.
4478
4481
  this._editorInstance = arcadeDefaults.editor.create(this._hostElt, {
4482
+ ...(this.options ?? {}),
4479
4483
  model,
4480
4484
  fixedOverflowWidgets: true,
4481
4485
  scrollBeyondLastLine: false
@@ -4569,7 +4573,8 @@ const ArcgisCodeEditor = class {
4569
4573
  static get watchers() { return {
4570
4574
  "value": ["valuePropChange"],
4571
4575
  "language": ["languagePropChange"],
4572
- "modelId": ["modelIdPropChange"]
4576
+ "modelId": ["modelIdPropChange"],
4577
+ "options": ["optionsPropChange"]
4573
4578
  }; }
4574
4579
  };
4575
4580
  ArcgisCodeEditor.style = codeEditorCss;
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-69db6bc6.js');
10
+ const index = require('./index-e1c6848d.js');
11
11
 
12
12
  /*
13
13
  Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com
@@ -22,7 +22,7 @@ const patchBrowser = () => {
22
22
  };
23
23
 
24
24
  patchBrowser().then(options => {
25
- return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"]}]]]], options);
25
+ return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
26
26
  });
27
27
 
28
28
  exports.setNonce = index.setNonce;
@@ -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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * 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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,14 +1,14 @@
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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
11
- require('./index-69db6bc6.js');
10
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
11
+ require('./index-e1c6848d.js');
12
12
 
13
13
 
14
14
 
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const typescript = require('./typescript-c84caf0f.js');
9
- require('./arcade-defaults-f3afa4a9.js');
10
- require('./index-69db6bc6.js');
8
+ const typescript = require('./typescript-2f73c9c9.js');
9
+ require('./arcade-defaults-06b4d4cc.js');
10
+ require('./index-e1c6848d.js');
11
11
 
12
12
  /*!-----------------------------------------------------------------------------
13
13
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,17 +1,17 @@
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.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-69db6bc6.js');
10
+ const index = require('./index-e1c6848d.js');
11
11
 
12
12
  const defineCustomElements = (win, options) => {
13
13
  if (typeof window === 'undefined') return undefined;
14
- return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"]}]]]], options);
14
+ return index.bootstrapLazy([["arcgis-arcade-api_6.cjs",[[0,"arcgis-arcade-editor",{"profile":[16],"script":[1],"testData":[16],"suggestions":[16],"snippets":[16],"hideDocumentationActions":[4,"hide-documentation-actions"],"hideSideBar":[4,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_standaloneCodeEditor":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},null,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}],[1,"arcgis-arcade-api",{"hideDocumentationActions":[4,"hide-documentation-actions"],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}],[1,"arcgis-arcade-results",{"loading":[4],"openedResultPanel":[1537,"opened-result-panel"],"result":[16],"consoleLogs":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32]}],[1,"arcgis-arcade-suggestions",{"suggestions":[16],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},null,{"suggestions":["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{"loading":[4],"modelId":[1,"model-id"],"_lang":[32],"_t9nLocale":[32],"_t9nStrings":[32],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},null,{"modelId":["modelIdPropChanged"]}],[0,"arcgis-code-editor",{"value":[1],"language":[1],"modelId":[1,"model-id"],"options":[16],"getValue":[64],"setValue":[64],"insertText":[64],"insertSnippet":[64],"getEditorInstance":[64],"setFocus":[64]},null,{"value":["valuePropChange"],"language":["languagePropChange"],"modelId":["modelIdPropChange"],"options":["optionsPropChange"]}]]]], options);
15
15
  };
16
16
 
17
17
  exports.setNonce = index.setNonce;
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-f3afa4a9.js');
9
- require('./index-69db6bc6.js');
8
+ const arcadeDefaults = require('./arcade-defaults-06b4d4cc.js');
9
+ require('./index-e1c6848d.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * 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.5
4
+ * v4.29.7
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { languages } from 'monaco-editor';
7
7
  import { b as arcadeDefaults } from './arcade-defaults.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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { Emitter, Uri } from 'monaco-editor';
7
7
  import { InsertTextMode, InsertTextFormat, CompletionItemKind } from 'vscode-languageserver-types';
@@ -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.5
4
+ * v4.29.7
5
5
  */
6
6
  import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
7
7
  import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
@@ -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.5
4
+ * v4.29.7
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { g as importArcade, s as supportedFields } from './fields.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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, b as colorizeCodeElement } from './markdown.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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h } from '@stencil/core/internal/client';
7
7
  import { B, q, W, K } from './index2.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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { editor, KeyCode } from 'monaco-editor';
@@ -157,6 +157,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
157
157
  this.hideSideBar = false;
158
158
  this.sideActionBarExpanded = false;
159
159
  this.openedSidePanel = "none";
160
+ this.editorOptions = undefined;
160
161
  }
161
162
  _profileChanged(newValue, oldValue) {
162
163
  // Prevent the execution as long as the component has not been fully loaded
@@ -203,7 +204,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
203
204
  */
204
205
  async getEditorInstance() {
205
206
  await this._componentReadyDefer.promise;
206
- return (await this._codeEditorElt?.getEditorInstance());
207
+ return await this._codeEditorElt?.getEditorInstance();
207
208
  }
208
209
  /**
209
210
  * Returns the Arcade result for the script for the provided test data.
@@ -324,11 +325,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
324
325
  //#endregion
325
326
  //#region Render Main Panel
326
327
  renderMainPanel() {
327
- return (
328
- // <div class="flex-adjustable">
329
- h$1("arcgis-code-editor", { class: "flex-adjustable", language: arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId, onValueChange: this._emitScriptChange, ref: (e) => (this._codeEditorElt = e) })
330
- // </div>
331
- );
328
+ return (h$1("arcgis-code-editor", { class: "flex-adjustable", language: arcadeDefaults.languageId, value: this.script ?? "", modelId: this._modelId, options: this.editorOptions, onValueChange: this._emitScriptChange, ref: (e) => (this._codeEditorElt = e) }));
332
329
  }
333
330
  //#endregion
334
331
  //#region Rendering the Action Bar
@@ -339,7 +336,6 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
339
336
  if (this.hideSideBar) {
340
337
  return null;
341
338
  }
342
- console.log("expanded", this.sideActionBarExpanded);
343
339
  return (h$1("calcite-action-bar", { class: "side-action-bar border-inline-start", expanded: !!this.sideActionBarExpanded, position: "end", onCalciteActionBarToggle: this._toggleSideActionBarExpanded }, h$1("calcite-action-group", null, this.renderAction({
344
340
  id: "profile-variables-action",
345
341
  label: this._t9nStrings?.profilevariables ?? "Profile variables",
@@ -419,6 +415,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
419
415
  "hideSideBar": [4, "hide-side-bar"],
420
416
  "sideActionBarExpanded": [1540, "side-action-bar-expanded"],
421
417
  "openedSidePanel": [1537, "opened-side-panel"],
418
+ "editorOptions": [16],
422
419
  "_lang": [32],
423
420
  "_t9nLocale": [32],
424
421
  "_t9nStrings": [32],
@@ -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.5
4
+ * v4.29.7
5
5
  */
6
6
  import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.js';
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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.js';
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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
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.29/esri/copyright.txt for details.
4
- * v4.29.5
4
+ * v4.29.7
5
5
  */
6
6
  import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
7
7