@arcgis/coding-components 4.31.0-next.89 → 4.31.0-next.90

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 (100) 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/editor-variables/t9n/editor-variables.t9n.en.json +2 -1
  5. package/dist/arcgis-coding-components/index.esm.js +2 -2
  6. package/dist/arcgis-coding-components/{p-0b9871dd.entry.js → p-19c5a618.entry.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-affa177a.js → p-1f4e58d8.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-b12ade0f.js → p-2e583d2b.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-8bed790f.js → p-2fa5555f.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-2e1be4f2.js → p-34373603.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-0dc4919f.js → p-3a1449ed.js} +1 -1
  12. package/dist/arcgis-coding-components/p-4af1d698.entry.js +6 -0
  13. package/dist/arcgis-coding-components/{p-3e5952e9.js → p-4d64ee3a.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-c1e1da0e.entry.js → p-608c32ba.entry.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-c4d85a6f.js → p-6c584f5b.js} +1 -1
  16. package/dist/arcgis-coding-components/{p-4bbc5521.js → p-889368cf.js} +2 -2
  17. package/dist/arcgis-coding-components/{p-de483999.js → p-9a202c0a.js} +10 -10
  18. package/dist/arcgis-coding-components/{p-77ab71eb.js → p-9e9659f9.js} +1 -1
  19. package/dist/arcgis-coding-components/{p-182a6b08.js → p-a5293265.js} +3 -3
  20. package/dist/arcgis-coding-components/{p-e4baae1f.js → p-bfd84405.js} +2 -2
  21. package/dist/arcgis-coding-components/{p-17826a2c.js → p-c1e3a7d0.js} +2 -2
  22. package/dist/arcgis-coding-components/{p-aadefeaf.js → p-dc7b82be.js} +2 -2
  23. package/dist/arcgis-coding-components/{p-c34a165c.js → p-e4fc8c3b.js} +2 -2
  24. package/dist/cjs/{app-globals-642ba71c.js → app-globals-9cb3e755.js} +1 -1
  25. package/dist/cjs/{arcade-defaults-47804ba9.js → arcade-defaults-f3ce9d99.js} +3 -3
  26. package/dist/cjs/{arcade-mode-aaae2ad1.js → arcade-mode-46f00800.js} +3 -3
  27. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +38 -38
  28. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  29. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  30. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  31. package/dist/cjs/{css-8e034ecf.js → css-5124cbb6.js} +1 -1
  32. package/dist/cjs/{cssMode-77a745e1.js → cssMode-3a5705b5.js} +3 -3
  33. package/dist/cjs/{html-b21cfc89.js → html-2c7d029e.js} +3 -3
  34. package/dist/cjs/{htmlMode-b7ef0a4f.js → htmlMode-45b992ac.js} +3 -3
  35. package/dist/cjs/{index-d17120bf.js → index-e594c589.js} +1 -1
  36. package/dist/cjs/index.cjs.js +4 -4
  37. package/dist/cjs/{javascript-8e41d796.js → javascript-d0667153.js} +4 -4
  38. package/dist/cjs/{jsonMode-fcdcc360.js → jsonMode-48c96561.js} +3 -3
  39. package/dist/cjs/loader.cjs.js +3 -3
  40. package/dist/cjs/{sql-expr-defaults-c57f7d12.js → sql-expr-defaults-b530b9d1.js} +12 -12
  41. package/dist/cjs/{sql-expr-mode-ff4406f5.js → sql-expr-mode-ad9e75dc.js} +3 -3
  42. package/dist/cjs/{tsMode-fa99e926.js → tsMode-b9f5edcc.js} +3 -3
  43. package/dist/cjs/{typescript-72b0a143.js → typescript-f9e73a88.js} +3 -3
  44. package/dist/cjs/{useT9n-1154cd73.js → useT9n-fbae98b6.js} +3 -3
  45. package/dist/components/arcade-defaults.js +1 -1
  46. package/dist/components/arcade-mode.js +1 -1
  47. package/dist/components/arcade-results.js +3 -3
  48. package/dist/components/arcade-suggestions.js +1 -1
  49. package/dist/components/arcgis-arcade-editor.js +1 -1
  50. package/dist/components/arcgis-arcade-results.js +1 -1
  51. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  52. package/dist/components/arcgis-assets.d.ts +1 -1
  53. package/dist/components/arcgis-assets.js +1 -1
  54. package/dist/components/arcgis-code-editor.js +1 -1
  55. package/dist/components/arcgis-editor-variables.js +1 -1
  56. package/dist/components/arcgis-language-api-panel.js +1 -1
  57. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  58. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  59. package/dist/components/chunk-IUUKU7EW.js +1 -1
  60. package/dist/components/code-editor.js +25 -24
  61. package/dist/components/editor-variables.js +6 -7
  62. package/dist/components/fields.js +1 -1
  63. package/dist/components/index.d.ts +3 -18
  64. package/dist/components/index.js +1 -1
  65. package/dist/components/index2.js +3 -3
  66. package/dist/components/language-api-panel.js +1 -1
  67. package/dist/components/markdown.js +1 -1
  68. package/dist/components/sql-expr-defaults.js +1 -1
  69. package/dist/components/sql-expr-mode.js +1 -1
  70. package/dist/components/useT9n.js +1 -1
  71. package/dist/components/utilities.js +1 -1
  72. package/dist/esm/{app-globals-22b68ee2.js → app-globals-fe84b217.js} +1 -1
  73. package/dist/esm/{arcade-defaults-0c035499.js → arcade-defaults-27766d79.js} +3 -3
  74. package/dist/esm/{arcade-mode-e4bc85d4.js → arcade-mode-f1b8a6b5.js} +3 -3
  75. package/dist/esm/arcgis-arcade-editor_6.entry.js +38 -38
  76. package/dist/esm/arcgis-coding-components.js +4 -4
  77. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  78. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  79. package/dist/esm/{css-efa4bc9f.js → css-db025e79.js} +1 -1
  80. package/dist/esm/{cssMode-8da439ca.js → cssMode-23f7acab.js} +3 -3
  81. package/dist/esm/{html-58e3a452.js → html-3925dd99.js} +3 -3
  82. package/dist/esm/{htmlMode-e9a5bc98.js → htmlMode-dac73a67.js} +3 -3
  83. package/dist/esm/{index-8ce49bd1.js → index-c844a568.js} +1 -1
  84. package/dist/esm/index.js +4 -4
  85. package/dist/esm/{javascript-0ddb22fd.js → javascript-ecd9171b.js} +4 -4
  86. package/dist/esm/{jsonMode-ae763e8f.js → jsonMode-8d1fcc86.js} +3 -3
  87. package/dist/esm/loader.js +4 -4
  88. package/dist/esm/{sql-expr-defaults-22874179.js → sql-expr-defaults-e43594c1.js} +12 -12
  89. package/dist/esm/{sql-expr-mode-04462649.js → sql-expr-mode-9e529b68.js} +3 -3
  90. package/dist/esm/{tsMode-179b1494.js → tsMode-c4741f53.js} +3 -3
  91. package/dist/esm/{typescript-cb0499c8.js → typescript-35fd56f5.js} +3 -3
  92. package/dist/esm/{useT9n-8ca03a30.js → useT9n-2c5c6550.js} +3 -3
  93. package/dist/loader/cdn.js +1 -1
  94. package/dist/loader/index.cjs.js +1 -1
  95. package/dist/loader/index.es2017.js +1 -1
  96. package/dist/loader/index.js +1 -1
  97. package/dist/types/components/editor-variables/editor-variables.d.ts +3 -0
  98. package/dist/types/utils/constants.d.ts +1 -1
  99. package/package.json +13 -11
  100. package/dist/arcgis-coding-components/p-7fe71f27.entry.js +0 -6
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ require('./index-e594c589.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const arcadeDefaults = require('./arcade-defaults-47804ba9.js');
11
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
12
- require('./index-d17120bf.js');
10
+ const arcadeDefaults = require('./arcade-defaults-f3ce9d99.js');
11
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
12
+ require('./index-e594c589.js');
13
13
 
14
14
 
15
15
 
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const typescript = require('./typescript-72b0a143.js');
9
- require('./sql-expr-defaults-c57f7d12.js');
10
- require('./index-d17120bf.js');
8
+ const typescript = require('./typescript-f9e73a88.js');
9
+ require('./sql-expr-defaults-b530b9d1.js');
10
+ require('./index-e594c589.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ require('./index-e594c589.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-d17120bf.js');
11
- const appGlobals = require('./app-globals-642ba71c.js');
10
+ const index = require('./index-e594c589.js');
11
+ const appGlobals = require('./app-globals-9cb3e755.js');
12
12
 
13
13
  const defineCustomElements = async (win, options) => {
14
14
  if (typeof window === 'undefined') return undefined;
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-d17120bf.js');
8
+ const index = require('./index-e594c589.js');
9
9
 
10
10
  function _interopNamespace(e) {
11
11
  if (e && e.__esModule) return e;
@@ -364,8 +364,8 @@ function closestElement(base, selector) {
364
364
  return null;
365
365
  }
366
366
  function getElementTheme(base) {
367
- const themeElt = closestElement(base, ":is(.calcite-mode-light, .calcite-mode-dark)");
368
- return themeElt && themeElt.classList.contains("calcite-mode-dark") ? "dark" : "light";
367
+ const themeElement = closestElement(base, ":is(.calcite-mode-light, .calcite-mode-dark)");
368
+ return themeElement?.classList.contains("calcite-mode-dark") ? "dark" : "light";
369
369
  }
370
370
  function getElementAttribute(el, prop, fallbackValue) {
371
371
  const closest = closestElement(el, `[${prop}]`);
@@ -124694,7 +124694,7 @@ registerLanguage({
124694
124694
  mimetypes: ["text/css"],
124695
124695
  loader: () => {
124696
124696
  {
124697
- return Promise.resolve().then(function () { return require('./css-8e034ecf.js'); });
124697
+ return Promise.resolve().then(function () { return require('./css-5124cbb6.js'); });
124698
124698
  }
124699
124699
  }
124700
124700
  });
@@ -124712,7 +124712,7 @@ registerLanguage({
124712
124712
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
124713
124713
  loader: () => {
124714
124714
  {
124715
- return Promise.resolve().then(function () { return require('./html-b21cfc89.js'); });
124715
+ return Promise.resolve().then(function () { return require('./html-2c7d029e.js'); });
124716
124716
  }
124717
124717
  }
124718
124718
  });
@@ -124732,7 +124732,7 @@ registerLanguage({
124732
124732
  mimetypes: ["text/javascript"],
124733
124733
  loader: () => {
124734
124734
  {
124735
- return Promise.resolve().then(function () { return require('./javascript-8e41d796.js'); });
124735
+ return Promise.resolve().then(function () { return require('./javascript-d0667153.js'); });
124736
124736
  }
124737
124737
  }
124738
124738
  });
@@ -124750,7 +124750,7 @@ registerLanguage({
124750
124750
  mimetypes: ["text/typescript"],
124751
124751
  loader: () => {
124752
124752
  {
124753
- return Promise.resolve().then(function () { return require('./typescript-72b0a143.js'); });
124753
+ return Promise.resolve().then(function () { return require('./typescript-f9e73a88.js'); });
124754
124754
  }
124755
124755
  }
124756
124756
  });
@@ -124871,7 +124871,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
124871
124871
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
124872
124872
  function getMode$3() {
124873
124873
  {
124874
- return Promise.resolve().then(function () { return require('./cssMode-77a745e1.js'); });
124874
+ return Promise.resolve().then(function () { return require('./cssMode-3a5705b5.js'); });
124875
124875
  }
124876
124876
  }
124877
124877
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -124996,7 +124996,7 @@ monaco_editor_core_exports$2.languages.html = {
124996
124996
  };
124997
124997
  function getMode$2() {
124998
124998
  {
124999
- return Promise.resolve().then(function () { return require('./htmlMode-b7ef0a4f.js'); });
124999
+ return Promise.resolve().then(function () { return require('./htmlMode-45b992ac.js'); });
125000
125000
  }
125001
125001
  }
125002
125002
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -125098,7 +125098,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
125098
125098
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
125099
125099
  function getMode$1() {
125100
125100
  {
125101
- return Promise.resolve().then(function () { return require('./jsonMode-fcdcc360.js'); });
125101
+ return Promise.resolve().then(function () { return require('./jsonMode-48c96561.js'); });
125102
125102
  }
125103
125103
  }
125104
125104
  monaco_editor_core_exports$1.languages.register({
@@ -125367,7 +125367,7 @@ monaco_editor_core_exports.languages.typescript = {
125367
125367
  };
125368
125368
  function getMode() {
125369
125369
  {
125370
- return Promise.resolve().then(function () { return require('./tsMode-fa99e926.js'); });
125370
+ return Promise.resolve().then(function () { return require('./tsMode-b9f5edcc.js'); });
125371
125371
  }
125372
125372
  }
125373
125373
  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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ require('./index-e594c589.js');
10
10
 
11
11
  // hold onto a promise that resolves when the worker is ready
12
12
  let deferredWorker = new sqlExprDefaults.Deferred();
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ require('./index-e594c589.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ require('./index-e594c589.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  'use strict';
7
7
 
8
- const sqlExprDefaults = require('./sql-expr-defaults-c57f7d12.js');
9
- const index = require('./index-d17120bf.js');
8
+ const sqlExprDefaults = require('./sql-expr-defaults-b530b9d1.js');
9
+ const index = require('./index-e594c589.js');
10
10
 
11
11
  // src/framework.ts
12
12
  function retrieveComponentMembers(component, isLit) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './sql-expr-defaults.js';
7
7
  import { s as supportedLocales, f as fetchT9nStringsBundle } 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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host, forceUpdate } from '@stencil/core/internal/client';
7
7
  import { g as importArcade, s as supportedFields } from './fields.js';
@@ -194,7 +194,7 @@ async function executeScript(editorProfile, script, testContext, console) {
194
194
  //
195
195
  const timeStamp = new Date();
196
196
  // Provide a default console function if missing
197
- console ?? (console = () => undefined);
197
+ console ??= () => undefined;
198
198
  try {
199
199
  // We want to measure compilation time
200
200
  const t0 = performance.now();
@@ -240,7 +240,7 @@ async function executeScript(editorProfile, script, testContext, console) {
240
240
  }
241
241
  }
242
242
 
243
- 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)}";
243
+ 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-editor-identifier)}:host .number-value{color:var(--arcgis-editor-number)}:host .string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}:host .constant-value{color:var(--arcgis-editor-constant)}:host .date-value{color:var(--arcgis-editor-date)}";
244
244
  const ArcgisArcadeResultsStyle0 = arcadeResultsCss;
245
245
 
246
246
  //#region Specialized Constants
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a 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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { KeyCode } from 'monaco-editor';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
 
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  let resourceUrl = "https://js.arcgis.com/coding-components/next/";
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { A as ArcgisEditorVariables$1, d as defineCustomElement$1 } from './editor-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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { A as ArcgisLanguageApiPanel$1, d as defineCustomElement$1 } from './language-api-panel.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
7
  import { u as useControllerManager } from './chunk-IUUKU7EW.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
7
7
  import { u as useControllerManager } from './chunk-IUUKU7EW.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { a as isNotUndefined, D as Deferred, e as safeAsyncCall, h as devToolsAwareTimeout, j as safeCall } from './index2.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
7
  import { languages, editor, Range, Uri, KeyMod, KeyCode } from 'monaco-editor';
@@ -143,29 +143,30 @@ languages.onLanguage(sqlExprDefaults.languageId, () => {
143
143
  });
144
144
 
145
145
  const themeConfig = {
146
- "light-theme": {
147
- comment: "#606060",
148
- constant: "#9809C8",
149
- date: "#296389",
150
- identifier: "#0000B3",
151
- keyword: "#BF4900",
152
- number: "#136D3D",
153
- string: "#A31515",
154
- operator: "#9809C8",
155
- predefined: "#0000B3",
156
- },
157
- "dark-theme": {
158
- comment: "#BFBFBF",
159
- constant: "#CDBAEA",
160
- date: "#97A6CE",
161
- identifier: "#9FD4F3",
162
- keyword: "#EEAA5A",
163
- number: "#AAD04B",
164
- string: "#F2877B",
165
- operator: "#CDBAEA",
166
- predefined: "#9FD4F3",
167
- },
146
+ "light-theme": {
147
+ comment: "#606060",
148
+ constant: "#9809C8",
149
+ date: "#296389",
150
+ identifier: "#0000B3",
151
+ keyword: "#BF4900",
152
+ number: "#136D3D",
153
+ string: "#A31515",
154
+ operator: "#9809C8",
155
+ predefined: "#0000B3"
156
+ },
157
+ "dark-theme": {
158
+ comment: "#BFBFBF",
159
+ constant: "#CDBAEA",
160
+ date: "#97A6CE",
161
+ identifier: "#9FD4F3",
162
+ keyword: "#EEAA5A",
163
+ number: "#AAD04B",
164
+ string: "#F2877B",
165
+ operator: "#CDBAEA",
166
+ predefined: "#9FD4F3"
167
+ }
168
168
  };
169
+
169
170
  // set up theme right away
170
171
  setupTheme();
171
172
  function setupTheme() {
@@ -223,7 +224,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
223
224
  this._disposables = [];
224
225
  this.value = getSet("", {
225
226
  set: (newValue) => {
226
- newValue ?? (newValue = "");
227
+ newValue ??= "";
227
228
  if (!this._editorInstance) {
228
229
  return newValue;
229
230
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
7
7
  import { u as useControllerManager } from './chunk-IUUKU7EW.js';
@@ -134,9 +134,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
134
134
  case "profile":
135
135
  return this.messages.profilevariables ?? "";
136
136
  case "featureSet":
137
- // In featureSet mode, we do not show "Profile Variables" as the heading
138
- // Instead, we show the label of the collection, i.e. the name of the layer
139
- return collection.variables[0]?.getLabel() ?? "";
137
+ return this.messages.fields ?? "";
140
138
  }
141
139
  }
142
140
  _getDescriptionForCollection(collection) {
@@ -147,7 +145,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
147
145
  case "profile":
148
146
  return collection.breadcrumb;
149
147
  case "featureSet":
150
- return "";
148
+ return collection.variables[0]?.getLabel() ?? "";
151
149
  }
152
150
  }
153
151
  //#endregion
@@ -197,10 +195,11 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
197
195
  * The header variable represents the namespace used to access a value inside a variable, i.e. $layer or $feature
198
196
  */
199
197
  if (this._isMode("featureSet") && variable.isHeader) {
200
- return;
198
+ return h("calcite-list-item-group", { heading: variable.getLabel() });
201
199
  }
202
200
  // Group is a collection but we represent it differently
203
- return (h("calcite-list-item-group", { heading: variable.getLabel() }, this.renderEditorVariables(variable)));
201
+ // @ts-expect-error - we are accessing a private property, we have an issue to fix long term
202
+ return this._isMode("featureSet") && variable._label?.code === "fields" ? (this.renderEditorVariables(variable)) : (h("calcite-list-item-group", { heading: variable.getLabel() }, this.renderEditorVariables(variable)));
204
203
  default:
205
204
  return (h("calcite-list-item", { label: variable.getLabel(), description: variable.getDescription(), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": variable }, variable.isCollection ? (h("calcite-action", { slot: "actions-end", text: this.messages.expand ?? "", scale: "s", icon: "chevron-right", iconFlipRtl: true, onClick: this._showCollectionPanel, onKeyPress: stopEnterPropagation, "data-item": variable })) : null, variable.icon ? h("calcite-icon", { icon: variable.icon, scale: "s", slot: "content-start" }) : null));
206
205
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  // src/index.ts
7
7
  var isAMD = typeof window !== "undefined" && "$arcgis" in window && typeof window.$arcgis === "object" && "import" in window.$arcgis && !("forceESM" in window.$arcgis);
@@ -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,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  export { setNonce, setPlatformOptions } from '@stencil/core/internal/client';
7
7
  export { a as arcade } 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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.89
4
+ * v4.31.0-next.90
5
5
  */
6
6
  // src/array-utils.ts
7
7
 
@@ -105,8 +105,8 @@ function closestElement(base, selector) {
105
105
  return null;
106
106
  }
107
107
  function getElementTheme(base) {
108
- const themeElt = closestElement(base, ":is(.calcite-mode-light, .calcite-mode-dark)");
109
- return themeElt && themeElt.classList.contains("calcite-mode-dark") ? "dark" : "light";
108
+ const themeElement = closestElement(base, ":is(.calcite-mode-light, .calcite-mode-dark)");
109
+ return themeElement?.classList.contains("calcite-mode-dark") ? "dark" : "light";
110
110
  }
111
111
  function getElementAttribute(el, prop, fallbackValue) {
112
112
  const closest = closestElement(el, `[${prop}]`);