@arcgis/coding-components 4.31.0-next.43 → 4.31.0-next.45

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 (98) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +1 -1
  3. package/dist/arcgis-coding-components/assets/sql-expression-editor/api/sql-expression-api.t9n.en.json +30 -30
  4. package/dist/arcgis-coding-components/index.esm.js +2 -2
  5. package/dist/arcgis-coding-components/{p-efd72d10.js → p-17af5d53.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-4b92adba.js → p-3ba241d0.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-6c822a11.entry.js → p-3cdbce4a.entry.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-c22f164a.js → p-3df1d841.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-e44b8e62.js → p-3fd8206f.js} +1 -1
  10. package/dist/arcgis-coding-components/{p-1d971ae7.js → p-44c80e2a.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-e8f00d67.js → p-562c4519.js} +2 -2
  12. package/dist/arcgis-coding-components/{p-90ac86d8.js → p-71b57b0d.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-d88ce93f.js → p-7d904ec7.js} +2 -2
  14. package/dist/arcgis-coding-components/p-88bb56b3.entry.js +6 -0
  15. package/dist/arcgis-coding-components/{p-93dac68a.js → p-8d2356c7.js} +1 -1
  16. package/dist/arcgis-coding-components/{p-9df22c4f.entry.js → p-96e2538c.entry.js} +2 -2
  17. package/dist/arcgis-coding-components/{p-badcd533.js → p-970afe0f.js} +2 -2
  18. package/dist/arcgis-coding-components/{p-6fd95d0b.js → p-99c7b587.js} +2 -2
  19. package/dist/arcgis-coding-components/{p-237bcce8.js → p-a874ea8b.js} +2 -2
  20. package/dist/arcgis-coding-components/{p-99e08dc5.js → p-aa1ce0e3.js} +2 -2
  21. package/dist/arcgis-coding-components/{p-16d3e32f.js → p-bb8ba7c7.js} +9 -9
  22. package/dist/arcgis-coding-components/{p-5b6fcfb2.js → p-d48f7912.js} +2 -2
  23. package/dist/cjs/{app-globals-c7384285.js → app-globals-0ef42b9d.js} +1 -1
  24. package/dist/cjs/{arcade-defaults-8ac233e2.js → arcade-defaults-1838b384.js} +4 -4
  25. package/dist/cjs/{arcade-mode-c6f5f26d.js → arcade-mode-e31bf4b1.js} +2 -2
  26. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +45 -6
  27. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  28. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  29. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  30. package/dist/cjs/{css-3d1a1a3d.js → css-37880c29.js} +1 -1
  31. package/dist/cjs/{cssMode-ae1b378f.js → cssMode-745638ed.js} +2 -2
  32. package/dist/cjs/{html-77b5d794.js → html-a0f5fa22.js} +2 -2
  33. package/dist/cjs/{htmlMode-1fff2bd3.js → htmlMode-780f5287.js} +2 -2
  34. package/dist/cjs/{index-9a911f42.js → index-e63de597.js} +1 -1
  35. package/dist/cjs/index.cjs.js +4 -4
  36. package/dist/cjs/{javascript-ff5e9342.js → javascript-ad63a894.js} +3 -3
  37. package/dist/cjs/{jsonMode-4d554a29.js → jsonMode-6d823e62.js} +2 -2
  38. package/dist/cjs/{language-defaults-base-abc72e5d.js → language-defaults-base-342a8159.js} +9 -9
  39. package/dist/cjs/loader.cjs.js +3 -3
  40. package/dist/cjs/{sql-expr-defaults-2b159d91.js → sql-expr-defaults-6228be88.js} +10 -48
  41. package/dist/cjs/{sql-expr-mode-169d5d47.js → sql-expr-mode-891d6721.js} +4 -4
  42. package/dist/cjs/{tsMode-d5dc7f51.js → tsMode-19f7542b.js} +2 -2
  43. package/dist/cjs/{typescript-6b815d5d.js → typescript-e23f5e1c.js} +2 -2
  44. package/dist/components/arcade-defaults.js +1 -1
  45. package/dist/components/arcade-mode.js +1 -1
  46. package/dist/components/arcade-results.js +2 -2
  47. package/dist/components/arcade-suggestions.js +2 -2
  48. package/dist/components/arcade-variables.js +2 -2
  49. package/dist/components/arcgis-arcade-editor.js +2 -2
  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-arcade-variables.js +1 -1
  53. package/dist/components/arcgis-assets.d.ts +1 -1
  54. package/dist/components/arcgis-assets.js +1 -1
  55. package/dist/components/arcgis-code-editor.js +1 -1
  56. package/dist/components/arcgis-language-api-panel.js +1 -1
  57. package/dist/components/arcgis-sql-expression-editor.js +2 -2
  58. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  59. package/dist/components/{chunk-ZZIYM65N.js → chunk-WXWXR4PG.js} +5 -45
  60. package/dist/components/code-editor.js +2 -2
  61. package/dist/components/fields.js +1 -1
  62. package/dist/components/index.js +1 -1
  63. package/dist/components/index2.js +1 -1
  64. package/dist/components/language-api-panel.js +2 -2
  65. package/dist/components/language-defaults-base.js +1 -1
  66. package/dist/components/markdown.js +1 -1
  67. package/dist/components/sql-expr-defaults.js +1 -1
  68. package/dist/components/sql-expr-mode.js +1 -1
  69. package/dist/components/sql-expression-fields.js +2 -2
  70. package/dist/components/useT9n.js +41 -2
  71. package/dist/components/utilities.js +1 -1
  72. package/dist/esm/{app-globals-cc6348f3.js → app-globals-ef176d3a.js} +1 -1
  73. package/dist/esm/{arcade-defaults-beccc89b.js → arcade-defaults-f67ab75c.js} +4 -4
  74. package/dist/esm/{arcade-mode-d5bddec9.js → arcade-mode-d37c454a.js} +2 -2
  75. package/dist/esm/arcgis-arcade-editor_6.entry.js +44 -5
  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-aa1e7952.js → css-73d6b97b.js} +1 -1
  80. package/dist/esm/{cssMode-00223be9.js → cssMode-530669d0.js} +2 -2
  81. package/dist/esm/{html-1e4c3102.js → html-1303195c.js} +2 -2
  82. package/dist/esm/{htmlMode-280df741.js → htmlMode-066ad764.js} +2 -2
  83. package/dist/esm/{index-a65a11e9.js → index-d4c98ee8.js} +1 -1
  84. package/dist/esm/index.js +4 -4
  85. package/dist/esm/{javascript-292e78af.js → javascript-1a4f5686.js} +3 -3
  86. package/dist/esm/{jsonMode-bcfbb9b8.js → jsonMode-33974f7b.js} +2 -2
  87. package/dist/esm/{language-defaults-base-4715da7e.js → language-defaults-base-687f7ccc.js} +9 -9
  88. package/dist/esm/loader.js +4 -4
  89. package/dist/esm/{sql-expr-defaults-5ba9a404.js → sql-expr-defaults-f4bd3e29.js} +8 -48
  90. package/dist/esm/{sql-expr-mode-a3cb228f.js → sql-expr-mode-b65c6907.js} +4 -4
  91. package/dist/esm/{tsMode-c4f23c94.js → tsMode-06dbe096.js} +2 -2
  92. package/dist/esm/{typescript-a30a323a.js → typescript-89d3328c.js} +2 -2
  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/package.json +11 -11
  98. package/dist/arcgis-coding-components/p-5d585fc7.entry.js +0 -6
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { KeyCode } from 'monaco-editor';
8
8
  import { d as defineCustomElement$6, e as executeScript, D as DevelopersWebSitePath } from './arcade-results.js';
9
9
  import { d as defineCustomElement$3, u as updateThemeColors, c as colorRulesKeys, s as setupMonacoEnvironment } from './code-editor.js';
10
- import { u as useControllerManager, g as getSet } from './chunk-ZZIYM65N.js';
10
+ import { u as useControllerManager, g as getSet } from './chunk-WXWXR4PG.js';
11
11
  import { D as Deferred, g as generateGuid, e as getElementTheme } from './index2.js';
12
12
  import { b as arcadeDefaults, g as getArcadeDiagnosticService } from './arcade-defaults.js';
13
13
  import { u as useT9n } from './useT9n.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.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { A as ArcgisLanguageApiPanel$1, d as defineCustomElement$1 } from './language-api-panel.js';
7
7
 
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
- import { u as useControllerManager } from './chunk-ZZIYM65N.js';
7
+ import { u as useControllerManager } from './chunk-WXWXR4PG.js';
8
8
  import { g as generateGuid } from './index2.js';
9
9
  import { s as sqlExprDefaults } from './sql-expr-defaults.js';
10
10
  import { d as defineCustomElement$4 } from './code-editor.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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { S as SqlExpressionFields, d as defineCustomElement$1 } from './sql-expression-fields.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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { a as isNotUndefined, D as Deferred, k as safeAsyncCall, l as devToolsAwareTimeout, m as safeCall } from './index2.js';
7
7
 
@@ -419,9 +419,9 @@ function makeProvisionalValue(base) {
419
419
  if (typeof base !== "object" && typeof base !== "function" || base === null) {
420
420
  return base;
421
421
  }
422
- const proxy2 = new Proxy(base, {
422
+ const proxy = new Proxy(base, {
423
423
  get(target, prop, receiver) {
424
- if (cyclical.has(prop) && prop in target && target[prop] === proxy2) {
424
+ if (cyclical.has(prop) && prop in target && target[prop] === proxy) {
425
425
  return void 0;
426
426
  }
427
427
  if (prop in target || prop in Promise.prototype || typeof prop === "symbol") {
@@ -433,7 +433,7 @@ function makeProvisionalValue(base) {
433
433
  return Reflect.set(target, prop, newValue, receiver);
434
434
  }
435
435
  });
436
- return proxy2;
436
+ return proxy;
437
437
  }
438
438
  var cyclical = /* @__PURE__ */ new Set(["exports", "_exports"]);
439
439
  function toControllerHost(component) {
@@ -1124,44 +1124,4 @@ function setProxy(controller, { host, key, isReactive: assignedToProp }, initial
1124
1124
  });
1125
1125
  }
1126
1126
 
1127
- // src/functional.ts
1128
- var makeController = (constructor) => proxy(void 0, constructor);
1129
- var FunctionalController = class extends Controller {
1130
- constructor(component, constructor) {
1131
- super(component);
1132
- const originalExports = this.exports;
1133
- try {
1134
- setAmbientComponent(this.component);
1135
- const value = constructor(this.component, this);
1136
- const constructorChangedExports = this.exports !== originalExports;
1137
- if (value instanceof Promise) {
1138
- if (!constructorChangedExports) {
1139
- this.setProvisionalExports(value);
1140
- }
1141
- const resolved = value.then((result) => {
1142
- this.exports = result;
1143
- super.catchUpLifecycle();
1144
- }).catch((error) => {
1145
- this._ready.reject(error);
1146
- console.error(error);
1147
- });
1148
- this.onLoad(async () => await resolved);
1149
- } else {
1150
- if (!constructorChangedExports || value !== void 0) {
1151
- this.exports = value;
1152
- }
1153
- queueMicrotask(() => super.catchUpLifecycle());
1154
- }
1155
- } catch (error) {
1156
- this._ready.reject(error);
1157
- console.error(error);
1158
- }
1159
- }
1160
- /** Noop - will be called in the constructor instead */
1161
- catchUpLifecycle() {
1162
- return;
1163
- }
1164
- };
1165
- var proxy = proxyExports(FunctionalController);
1166
-
1167
- export { getSet as g, makeController as m, useControllerManager as u, watch as w };
1127
+ export { Controller as C, getSet as g, proxyExports as p, setAmbientComponent as s, useControllerManager as u, watch as w };
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
7
  import { editor, languages, Range, Uri, KeyMod, KeyCode } from 'monaco-editor';
8
8
  import { i as importRequest } from './fields.js';
9
9
  import { h as isURL, j as hasSameOrigin, D as Deferred, g as generateGuid, o as observeAncestorsMutation, e as getElementTheme } from './index2.js';
10
- import { u as useControllerManager, g as getSet } from './chunk-ZZIYM65N.js';
10
+ import { u as useControllerManager, g as getSet } from './chunk-WXWXR4PG.js';
11
11
  import { b as arcadeDefaults, c as getMode } from './arcade-defaults.js';
12
12
  import { s as sqlExprDefaults, g as getMode$1 } from './sql-expr-defaults.js';
13
13
  import { getArcgisAssetPath as getAssetPath } 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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
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,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.43
4
+ * v4.31.0-next.45
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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  // src/array-utils.ts
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
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, b as colorizedAllCodeElements } from './markdown.js';
8
8
  import { f as filterCollection } from './utilities.js';
9
- import { u as useControllerManager } from './chunk-ZZIYM65N.js';
9
+ import { u as useControllerManager } from './chunk-WXWXR4PG.js';
10
10
  import { r as setFocusOnElement, b as addLTRMark } from './index2.js';
11
11
  import { u as useT9n } from './useT9n.js';
12
12
  import "@esri/calcite-components/dist/components/calcite-list-item-group.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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { n as newLayersFeatureLayer, i as importRequest, s as supportedFields, a as newPortalPortalItem, b as newWebScene, c as newWebMap, f as fieldAlias, d as fieldTypeToIconName, e as fieldTypeToApiValueVarType } from './fields.js';
7
7
  import { p as portalItemPageUrl } from './utilities.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.43
4
+ * v4.31.0-next.45
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { f as fieldsToProfileValues, i as isPredefinedProfile, b as isFeatureSetDefinition, L as LanguageDefaultsBase, E as EditorProfile } from './language-defaults-base.js';
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { editor, languages, Emitter } from 'monaco-editor';
7
7
  import { s as sqlExprDefaults } from './sql-expr-defaults.js';
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
7
- import { u as useControllerManager } from './chunk-ZZIYM65N.js';
7
+ import { u as useControllerManager } from './chunk-WXWXR4PG.js';
8
8
  import { s as sqlExprDefaults } from './sql-expr-defaults.js';
9
9
  import "@esri/calcite-components/dist/components/calcite-block.js";
10
10
  import "@esri/calcite-components/dist/components/calcite-flow.js";
@@ -1,12 +1,51 @@
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.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { m as makeController, w as watch } from './chunk-ZZIYM65N.js';
6
+ import { p as proxyExports, w as watch, C as Controller, s as setAmbientComponent } from './chunk-WXWXR4PG.js';
7
7
  import { n as startLocaleObserver, p as getElementLocales } from './index2.js';
8
8
  import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
9
9
 
10
+ // src/functional.ts
11
+ var makeController = (constructor) => proxy(void 0, constructor);
12
+ var FunctionalController = class extends Controller {
13
+ constructor(component, constructor) {
14
+ super(component);
15
+ const originalExports = this.exports;
16
+ try {
17
+ setAmbientComponent(this.component);
18
+ const value = constructor(this.component, this);
19
+ const constructorChangedExports = this.exports !== originalExports;
20
+ if (value instanceof Promise) {
21
+ if (!constructorChangedExports) {
22
+ this.setProvisionalExports(value);
23
+ }
24
+ const resolved = value.then((result) => {
25
+ this.exports = result;
26
+ super.catchUpLifecycle();
27
+ }).catch((error) => {
28
+ this._ready.reject(error);
29
+ console.error(error);
30
+ });
31
+ this.onLoad(async () => await resolved);
32
+ } else {
33
+ if (!constructorChangedExports || value !== void 0) {
34
+ this.exports = value;
35
+ }
36
+ queueMicrotask(() => super.catchUpLifecycle());
37
+ }
38
+ } catch (error) {
39
+ this._ready.reject(error);
40
+ console.error(error);
41
+ }
42
+ }
43
+ /** Noop - will be called in the constructor instead */
44
+ catchUpLifecycle() {
45
+ return;
46
+ }
47
+ };
48
+ var proxy = proxyExports(FunctionalController);
10
49
  var makeT9nController = (getAssetPath) => (options = {}) => (
11
50
  // eslint-disable-next-line @typescript-eslint/promise-function-async
12
51
  makeController((component, controller) => {
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  import { d as createFilterExpression } 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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  const globalScripts = () => {};
7
7
 
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { m as main, f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, s as supportedLocales, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-4715da7e.js';
7
- import { g as getAssetPath } from './index-a65a11e9.js';
6
+ import { m as main, f as fieldsToProfileValues, i as isPredefinedProfile, a as isFeatureSetCollectionDefinition, b as isFeatureSetDefinition, c as isFeatureDefinition, s as supportedLocales, L as LanguageDefaultsBase, d as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-687f7ccc.js';
7
+ import { g as getAssetPath } from './index-d4c98ee8.js';
8
8
 
9
9
  /**
10
10
  * Returns the arcade diagnostic service.
@@ -38,7 +38,7 @@ async function getArcadeWorker(uri) {
38
38
  * @returns arcade mode module
39
39
  */
40
40
  async function getMode() {
41
- return await import('./arcade-mode-d5bddec9.js');
41
+ return await import('./arcade-mode-d37c454a.js');
42
42
  }
43
43
 
44
44
  // #region convert editor profile to apiProfile
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { m as main, g as editor, O as MarkerSeverity, R as Range, z as languages, P as debounce, Q as Emitter } from './language-defaults-base-4715da7e.js';
6
+ import { m as main, g as editor, O as MarkerSeverity, R as Range, z as languages, P as debounce, Q as Emitter } from './language-defaults-base-687f7ccc.js';
7
7
 
8
8
  var V={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"},Ee=["++","--"],Je=["-","+","!","~"],Qe=["=","/=","*=","%=","+=","-="],Ze=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Ee.forEach(t=>U[t.length-1]?.push(t));Je.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ft=Object.values(f),gt=Object.values(V);gt.map(t=>({label:t,kind:main.exports.CompletionItemKind.Constant}));ft.map(t=>({label:t,kind:main.exports.CompletionItemKind.Keyword}));
9
9
 
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { g as getAssetPath, r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-a65a11e9.js';
7
- import { e as importArcade, g as editor, h as startLocaleObserver, j as getElementLocales, k as isURL, l as hasSameOrigin, n as importRequest, D as Deferred, o as generateGuid, p as getElementTheme, K as KeyCode, q as setValuesInString, r as quoteString, t as supportedFields, u as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, v as commonjsGlobal, w as setFocusOnElement, x as filterCollection, y as createFilterExpression, z as languages, R as Range, A as observeAncestorsMutation, U as Uri, B as KeyMod, C as addLTRMark } from './language-defaults-base-4715da7e.js';
8
- import { m as makeController, w as watch, u as useControllerManager, g as getSet, s as sqlExprDefaults, a as getMode$1 } from './sql-expr-defaults-5ba9a404.js';
9
- import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode } from './arcade-defaults-beccc89b.js';
6
+ import { g as getAssetPath, r as registerInstance, c as createEvent, h, F as Fragment, H as Host, a as getElement } from './index-d4c98ee8.js';
7
+ import { e as importArcade, g as editor, h as startLocaleObserver, j as getElementLocales, k as isURL, l as hasSameOrigin, n as importRequest, D as Deferred, o as generateGuid, p as getElementTheme, K as KeyCode, q as setValuesInString, r as quoteString, t as supportedFields, u as generateTokensCSSForColorMap, S as StandaloneServices, I as IStandaloneThemeService, v as commonjsGlobal, w as setFocusOnElement, x as filterCollection, y as createFilterExpression, z as languages, R as Range, A as observeAncestorsMutation, U as Uri, B as KeyMod, C as addLTRMark } from './language-defaults-base-687f7ccc.js';
8
+ import { p as proxyExports, w as watch, C as Controller, s as setAmbientComponent, u as useControllerManager, g as getSet, a as sqlExprDefaults, b as getMode$1 } from './sql-expr-defaults-f4bd3e29.js';
9
+ import { b as arcadeDefaults, g as getArcadeDiagnosticService, c as getMode } from './arcade-defaults-f67ab75c.js';
10
10
 
11
11
  const DevelopersWebSitePath = "https://developers.arcgis.com/arcade/";
12
12
  const MaxArrayItems = 100;
@@ -290,6 +290,45 @@ function updateThemeColors(theme, colorRules) {
290
290
  editor.defineTheme(base, { base, inherit: true, rules, colors: {} });
291
291
  }
292
292
 
293
+ // src/functional.ts
294
+ var makeController = (constructor) => proxy(void 0, constructor);
295
+ var FunctionalController = class extends Controller {
296
+ constructor(component, constructor) {
297
+ super(component);
298
+ const originalExports = this.exports;
299
+ try {
300
+ setAmbientComponent(this.component);
301
+ const value = constructor(this.component, this);
302
+ const constructorChangedExports = this.exports !== originalExports;
303
+ if (value instanceof Promise) {
304
+ if (!constructorChangedExports) {
305
+ this.setProvisionalExports(value);
306
+ }
307
+ const resolved = value.then((result) => {
308
+ this.exports = result;
309
+ super.catchUpLifecycle();
310
+ }).catch((error) => {
311
+ this._ready.reject(error);
312
+ console.error(error);
313
+ });
314
+ this.onLoad(async () => await resolved);
315
+ } else {
316
+ if (!constructorChangedExports || value !== void 0) {
317
+ this.exports = value;
318
+ }
319
+ queueMicrotask(() => super.catchUpLifecycle());
320
+ }
321
+ } catch (error) {
322
+ this._ready.reject(error);
323
+ console.error(error);
324
+ }
325
+ }
326
+ /** Noop - will be called in the constructor instead */
327
+ catchUpLifecycle() {
328
+ return;
329
+ }
330
+ };
331
+ var proxy = proxyExports(FunctionalController);
293
332
  var makeT9nController = (getAssetPath) => (options = {}) => (
294
333
  // eslint-disable-next-line @typescript-eslint/promise-function-async
295
334
  makeController((component, controller) => {
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-a65a11e9.js';
7
- export { s as setNonce } from './index-a65a11e9.js';
8
- import { g as globalScripts } from './app-globals-cc6348f3.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-d4c98ee8.js';
7
+ export { s as setNonce } from './index-d4c98ee8.js';
8
+ import { g as globalScripts } from './app-globals-ef176d3a.js';
9
9
 
10
10
  /*
11
11
  Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { r as registerInstance, h, H as Host, a as getElement } from './index-a65a11e9.js';
7
- import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-5ba9a404.js';
8
- import { o as generateGuid } from './language-defaults-base-4715da7e.js';
6
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-d4c98ee8.js';
7
+ import { u as useControllerManager, a as sqlExprDefaults } from './sql-expr-defaults-f4bd3e29.js';
8
+ import { o as generateGuid } from './language-defaults-base-687f7ccc.js';
9
9
 
10
10
  const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-foreground-1);height:100%}arcgis-sql-expression-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-sql-expression-editor .flex-panel{flex:1 0 auto}arcgis-sql-expression-editor .position-relative{position:relative}arcgis-sql-expression-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-sql-expression-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-sql-expression-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .side-action-bar{max-width:25%}arcgis-sql-expression-editor .side-panel{max-width:45%;width:600px}arcgis-sql-expression-editor .side-panel calcite-flow{height:100%}";
11
11
  const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-a65a11e9.js';
7
- import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-5ba9a404.js';
8
- import './language-defaults-base-4715da7e.js';
6
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-d4c98ee8.js';
7
+ import { u as useControllerManager, a as sqlExprDefaults } from './sql-expr-defaults-f4bd3e29.js';
8
+ import './language-defaults-base-687f7ccc.js';
9
9
 
10
10
  const sqlExpressionFieldsCss = ":host calcite-flow{height:100%}:host calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}";
11
11
  const ArcgisSqlExpressionFieldsStyle0 = sqlExpressionFieldsCss;
@@ -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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { M as monaco_editor_core_star } from './language-defaults-base-4715da7e.js';
6
+ import { M as monaco_editor_core_star } from './language-defaults-base-687f7ccc.js';
7
7
 
8
8
  /*!-----------------------------------------------------------------------------
9
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { M as monaco_editor_core_star } from './language-defaults-base-4715da7e.js';
6
+ import { M as monaco_editor_core_star } from './language-defaults-base-687f7ccc.js';
7
7
 
8
8
  /*!-----------------------------------------------------------------------------
9
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { M as monaco_editor_core_star } from './language-defaults-base-4715da7e.js';
6
+ import { M as monaco_editor_core_star } from './language-defaults-base-687f7ccc.js';
7
7
 
8
8
  /*!-----------------------------------------------------------------------------
9
9
  * 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.43
4
+ * v4.31.0-next.45
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
  const BUILD = /* arcgis-coding-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
package/dist/esm/index.js CHANGED
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- export { a as arcade } from './arcade-defaults-beccc89b.js';
7
- import './language-defaults-base-4715da7e.js';
8
- import './index-a65a11e9.js';
6
+ export { a as arcade } from './arcade-defaults-f67ab75c.js';
7
+ import './language-defaults-base-687f7ccc.js';
8
+ import './index-d4c98ee8.js';
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.43
4
+ * v4.31.0-next.45
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-a30a323a.js';
7
- import './language-defaults-base-4715da7e.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-89d3328c.js';
7
+ import './language-defaults-base-687f7ccc.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.