@arcgis/coding-components 4.30.0-next.24 → 4.30.0-next.26

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 (84) 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-c6001bc2.js → p-0a671ac3.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-82be3941.js → p-190aa4ea.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-568667c4.js → p-1cc63cc7.js} +1 -1
  6. package/dist/arcgis-coding-components/{p-e19f69f1.js → p-43eff9a2.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-5372551f.js → p-4f81a500.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-a412b172.js → p-53245e8c.js} +2 -2
  9. package/dist/arcgis-coding-components/p-69c17a08.entry.js +6 -0
  10. package/dist/arcgis-coding-components/{p-063836aa.js → p-81e1c8b5.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-73a564a3.js → p-ae628996.js} +2 -2
  12. package/dist/arcgis-coding-components/{p-1d57aab3.js → p-b2977846.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-b3bb4a4d.js → p-b4035a11.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-6f4c407c.js → p-d14881d1.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-3774076c.js → p-f827ec92.js} +2 -2
  16. package/dist/arcgis-coding-components/{p-5fa537a1.js → p-f931faf6.js} +2 -2
  17. package/dist/arcgis-coding-components/{p-21137bd9.js → p-fecca284.js} +10 -10
  18. package/dist/cjs/{Accessor-665QGK4J-71c56e62.js → Accessor-WJXOYV5M-61f2cf3a.js} +57 -57
  19. package/dist/cjs/{arcade-defaults-9564669a.js → arcade-defaults-03bac64a.js} +13 -13
  20. package/dist/cjs/{arcade-mode-2a6aab2e.js → arcade-mode-08b2f3a3.js} +3 -3
  21. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +80 -29
  22. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  23. package/dist/cjs/{chunk-ENW2OP4I-e235573d.js → chunk-5SWTJIOL-f26856a4.js} +7 -7
  24. package/dist/cjs/{css-6c6bb332.js → css-c6584af0.js} +1 -1
  25. package/dist/cjs/{cssMode-b61804e8.js → cssMode-8faecfa0.js} +3 -3
  26. package/dist/cjs/{decorators-DM7JHWEQ-bb83827d.js → decorators-DEHOP47G-2881c807.js} +15 -15
  27. package/dist/cjs/{html-21ecf4fe.js → html-e581edb7.js} +3 -3
  28. package/dist/cjs/{htmlMode-ed2c5b9c.js → htmlMode-bd069509.js} +3 -3
  29. package/dist/cjs/{index-693d7a28.js → index-c81c71e1.js} +1 -1
  30. package/dist/cjs/index.cjs.js +3 -3
  31. package/dist/cjs/{javascript-2c90f287.js → javascript-8013b5c8.js} +4 -4
  32. package/dist/cjs/{jsonMode-29f0c4d3.js → jsonMode-3adab6e6.js} +3 -3
  33. package/dist/cjs/loader.cjs.js +2 -2
  34. package/dist/cjs/{tsMode-b8d55462.js → tsMode-a462eade.js} +3 -3
  35. package/dist/cjs/{typescript-5b7267d9.js → typescript-4050c7d6.js} +3 -3
  36. package/dist/components/{Accessor-665QGK4J.js → Accessor-WJXOYV5M.js} +2 -2
  37. package/dist/components/arcade-api.js +2 -2
  38. package/dist/components/arcade-contribution.js +1 -1
  39. package/dist/components/arcade-defaults.js +4 -4
  40. package/dist/components/arcade-mode.js +1 -1
  41. package/dist/components/arcade-results.js +2 -2
  42. package/dist/components/arcade-suggestions.js +2 -2
  43. package/dist/components/arcade-variables.js +2 -2
  44. package/dist/components/arcgis-arcade-api.js +1 -1
  45. package/dist/components/arcgis-arcade-editor.js +3 -3
  46. package/dist/components/arcgis-arcade-results.js +1 -1
  47. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  48. package/dist/components/arcgis-arcade-variables.js +1 -1
  49. package/dist/components/arcgis-assets.d.ts +1 -1
  50. package/dist/components/arcgis-assets.js +1 -1
  51. package/dist/components/arcgis-code-editor.js +1 -1
  52. package/dist/components/{chunk-6I5H2FL4.js → chunk-544ZT4QT.js} +70 -17
  53. package/dist/components/{chunk-ENW2OP4I.js → chunk-5SWTJIOL.js} +7 -7
  54. package/dist/components/code-editor.js +1 -1
  55. package/dist/components/{decorators-DM7JHWEQ.js → decorators-DEHOP47G.js} +3 -3
  56. package/dist/components/fields.js +1 -1
  57. package/dist/components/index.js +1 -1
  58. package/dist/components/index2.js +1 -1
  59. package/dist/components/markdown.js +7 -9
  60. package/dist/components/utilities.js +1 -1
  61. package/dist/esm/{Accessor-665QGK4J-36b95fcf.js → Accessor-WJXOYV5M-146a72ed.js} +2 -2
  62. package/dist/esm/{arcade-defaults-7b755d01.js → arcade-defaults-162b5644.js} +13 -13
  63. package/dist/esm/{arcade-mode-56f5795a.js → arcade-mode-e87493b0.js} +3 -3
  64. package/dist/esm/arcgis-arcade-api_6.entry.js +80 -29
  65. package/dist/esm/arcgis-coding-components.js +3 -3
  66. package/dist/esm/{chunk-ENW2OP4I-9cb928fe.js → chunk-5SWTJIOL-994a2aa2.js} +7 -7
  67. package/dist/esm/{css-14b9cec7.js → css-d0aad069.js} +1 -1
  68. package/dist/esm/{cssMode-ce1cfd94.js → cssMode-ce01c47e.js} +3 -3
  69. package/dist/esm/{decorators-DM7JHWEQ-35eeab33.js → decorators-DEHOP47G-82b8c3cd.js} +3 -3
  70. package/dist/esm/{html-0f135a43.js → html-5b52e070.js} +3 -3
  71. package/dist/esm/{htmlMode-6a49d235.js → htmlMode-56889730.js} +3 -3
  72. package/dist/esm/{index-cea530e1.js → index-1903dda2.js} +1 -1
  73. package/dist/esm/index.js +3 -3
  74. package/dist/esm/{javascript-0b427ddf.js → javascript-643257f2.js} +4 -4
  75. package/dist/esm/{jsonMode-818f84d3.js → jsonMode-83a8ff18.js} +3 -3
  76. package/dist/esm/loader.js +3 -3
  77. package/dist/esm/{tsMode-5fc323fe.js → tsMode-c3de69bc.js} +3 -3
  78. package/dist/esm/{typescript-5e0c0f59.js → typescript-fb25b99e.js} +3 -3
  79. package/dist/loader/cdn.js +1 -1
  80. package/dist/loader/index.cjs.js +1 -1
  81. package/dist/loader/index.es2017.js +1 -1
  82. package/dist/loader/index.js +1 -1
  83. package/package.json +11 -11
  84. package/dist/arcgis-coding-components/p-2e4f5089.entry.js +0 -6
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { g as importArcade, s as supportedFields } from './fields.js';
8
- import { u as useControllerManager, a as useT9n } from './chunk-6I5H2FL4.js';
8
+ import { u as useControllerManager, a as useT9n } from './chunk-544ZT4QT.js';
9
9
  import { r as re, t as te } from './index2.js';
10
10
  import "@esri/calcite-components/dist/components/calcite-tree.js";
11
11
  import "@esri/calcite-components/dist/components/calcite-tree-item.js";
@@ -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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, 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';
8
8
  import { f as filterCollection } from './utilities.js';
9
- import { u as useControllerManager, a as useT9n } from './chunk-6I5H2FL4.js';
9
+ import { u as useControllerManager, a as useT9n } from './chunk-544ZT4QT.js';
10
10
  import { W } from './index2.js';
11
11
  import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
12
12
  import "@esri/calcite-components/dist/components/calcite-list-item.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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
7
- import { u as useControllerManager, a as useT9n } from './chunk-6I5H2FL4.js';
7
+ import { u as useControllerManager, a as useT9n } from './chunk-544ZT4QT.js';
8
8
  import { W, n as ne } from './index2.js';
9
9
  import { b as arcadeDefaults } from './arcade-defaults.js';
10
10
  import "@esri/calcite-components/dist/components/calcite-flow-item.js";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
7
7
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { KeyCode } from 'monaco-editor';
8
8
  import { e as executeScript, D as DevelopersWebSitePath, d as defineCustomElement$5 } from './arcade-results.js';
9
9
  import { u as updateThemeColors, c as colorRulesKeys, s as setupMonacoEnvironment, a as getArcadeDiagnosticService } from './arcade-contribution.js';
10
- import { u as useControllerManager, a as useT9n } from './chunk-6I5H2FL4.js';
10
+ import { u as useControllerManager, a as useT9n } from './chunk-544ZT4QT.js';
11
11
  import { h, Q, _ } from './index2.js';
12
12
  import { b as arcadeDefaults } from './arcade-defaults.js';
13
13
  import { d as defineCustomElement$6 } from './arcade-api.js';
@@ -20,7 +20,7 @@ import "@esri/calcite-components/dist/components/calcite-action.js";
20
20
  import "@esri/calcite-components/dist/components/calcite-tooltip.js";
21
21
  import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
22
22
 
23
- const arcadeEditorCss = "arcgis-arcade-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)}arcgis-arcade-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-arcade-editor .flex-panel{flex:1 0 auto}arcgis-arcade-editor .position-relative{position:relative}arcgis-arcade-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-arcade-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-arcade-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .sticky{position:sticky;top:0px;z-index:10}arcgis-arcade-editor .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}arcgis-arcade-editor .side-action-bar{max-width:25%}arcgis-arcade-editor .side-panel{max-width:45%;width:600px}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}arcgis-arcade-editor .main-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group:last-child{border-inline-end-width:0px}arcgis-arcade-editor .main-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor arcgis-arcade-results{border-top:1px solid var(--calcite-color-border-3);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}arcgis-arcade-editor calcite-list-item-group calcite-list-item{margin-bottom:1px;box-shadow:0 1px 0 var(--calcite-color-border-3)}arcgis-arcade-editor calcite-list-item-group calcite-list-item:last-child{box-shadow:none}arcgis-arcade-editor calcite-list-item-group:last-child{margin-bottom:var(--calcite-spacing-xl)}";
23
+ const arcadeEditorCss = "arcgis-arcade-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-arcade-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-arcade-editor .flex-panel{flex:1 0 auto}arcgis-arcade-editor .position-relative{position:relative}arcgis-arcade-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-arcade-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-arcade-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-arcade-editor .sticky{position:sticky;top:0px;z-index:10}arcgis-arcade-editor .notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}arcgis-arcade-editor .side-action-bar{max-width:25%}arcgis-arcade-editor .side-panel{max-width:45%;width:600px}arcgis-arcade-editor .side-panel calcite-flow{height:100%}arcgis-arcade-editor .main-action-bar{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}arcgis-arcade-editor .main-action-bar calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor .main-action-bar calcite-action-group:last-child{border-inline-end-width:0px}arcgis-arcade-editor .main-action-bar calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}arcgis-arcade-editor arcgis-arcade-results{border-top:1px solid var(--calcite-color-border-3);box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}arcgis-arcade-editor calcite-flow [slot=footer]{word-break:break-word}arcgis-arcade-editor calcite-list-item-group calcite-list-item{margin-bottom:1px;box-shadow:0 1px 0 var(--calcite-color-border-3)}arcgis-arcade-editor calcite-list-item-group calcite-list-item:last-child{box-shadow:none}arcgis-arcade-editor calcite-list-item-group:last-child{margin-bottom:var(--calcite-spacing-xl)}";
24
24
 
25
25
  const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeEditor extends HTMLElement {
26
26
  constructor() {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
7
7
 
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
5
- * v4.30.0-next.24
5
+ * v4.30.0-next.26
6
6
  */
7
7
  /**
8
8
  * Get the base path to where the package assets can be found.
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
5
- * v4.30.0-next.24
5
+ * v4.30.0-next.26
6
6
  */
7
7
  let resourceUrl = "https://js.arcgis.com/coding-components/next/";
8
8
  export const getArcgisAssetPath = (path) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { forceUpdate } from '@stencil/core/internal/client';
7
7
  import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
@@ -171,6 +171,7 @@ var ControllerInternals = class {
171
171
  return controller;
172
172
  };
173
173
  this.shouldBypassSetter = false;
174
+ this.shouldBypassReadonly = false;
174
175
  /**
175
176
  * A map from component instance or component element to component instance.
176
177
  * To get from component instance or component element to component element,
@@ -278,8 +279,9 @@ function retrieveComponentMeta(component) {
278
279
  );
279
280
  component.manager.internals.meta = { members: meta[0], watchers: meta[1] };
280
281
  }
281
- function parsePropertyValue(value, type = 0) {
282
- if (value == null || typeof type !== "number")
282
+ function parsePropertyValue(value, type = 8 /* Any */) {
283
+ const isComplex = value == null || typeof value === "object" || typeof value === "function";
284
+ if (isComplex)
283
285
  return value;
284
286
  if ((type & 4 /* Boolean */) !== 0)
285
287
  return value === "false" ? false : value === "" || !!value;
@@ -374,7 +376,15 @@ var _Controller = class _Controller {
374
376
  if (this.connectedCalled)
375
377
  return;
376
378
  this.triggerConnected();
377
- this.triggerLoad().then(() => this.triggerLoaded()).catch(console.error);
379
+ const loadWillStillHappen = !this.component.manager.willLoadCalled;
380
+ if (loadWillStillHappen)
381
+ return;
382
+ this.triggerLoad().then(() => {
383
+ const loadedWillStillHappen = !this.component.manager.didLoadCalled;
384
+ if (loadedWillStillHappen)
385
+ return;
386
+ this.triggerLoaded();
387
+ }).catch(console.error);
378
388
  }
379
389
  get exports() {
380
390
  return this._exports;
@@ -464,6 +474,16 @@ var _Controller = class _Controller {
464
474
  _Controller.internals.shouldBypassSetter = false;
465
475
  return result;
466
476
  }
477
+ /**
478
+ * Like bypassSetter, but only bypasses this.manager.readonly(), rather that
479
+ * all setters set using this.manager.getSet()
480
+ */
481
+ bypassReadonly(callback) {
482
+ _Controller.internals.shouldBypassReadonly = true;
483
+ const result = safeCall(callback);
484
+ _Controller.internals.shouldBypassReadonly = false;
485
+ return result;
486
+ }
467
487
  /**
468
488
  * Like this.manager.getSet(), but can be called on any component's
469
489
  * state/prop from anywhere, rather than just from the default value
@@ -874,14 +894,14 @@ async function importCoreAccessor() {
874
894
  if (isAMD) {
875
895
  return await window.$arcgis.import("esri/core/Accessor");
876
896
  }
877
- const module = await import('./Accessor-665QGK4J.js');
897
+ const module = await import('./Accessor-WJXOYV5M.js');
878
898
  return isDefaultModule(module) ? module.default : module;
879
899
  }
880
900
  async function importCoreAccessorSupportDecorators() {
881
901
  if (isAMD) {
882
902
  return await window.$arcgis.import("esri/core/accessorSupport/decorators");
883
903
  }
884
- const module = await import('./decorators-DM7JHWEQ.js');
904
+ const module = await import('./decorators-DEHOP47G.js');
885
905
  return isDefaultModule(module) ? module.default : module;
886
906
  }
887
907
 
@@ -1136,16 +1156,36 @@ var ControllerManager = class extends GenericController {
1136
1156
  if (!this.component.el.isConnected && !this.component.preserveOnDisconnect)
1137
1157
  void this.destroy().catch(console.error);
1138
1158
  }
1159
+ /**
1160
+ * Make a @Prop() or @State() readonly (prevent overwriting default value).
1161
+ *
1162
+ * For internal properties, prefer TypeScript's "readonly" modifier instead.
1163
+ *
1164
+ * @example
1165
+ * // Defining readonly prop
1166
+ * @Prop({ reflect: true }) prop = this.manager.readonly('a');
1167
+ *
1168
+ * @example
1169
+ * // Overwriting readonly prop internally
1170
+ * this.manager.bypassReadonly(()=>{
1171
+ * this.prop = 'b';
1172
+ * });
1173
+ *
1174
+ */
1139
1175
  readonly(value) {
1140
- return this.getSet(value, {
1141
- set: (newValue, _oldValue, property) => {
1142
- throw new Error(
1143
- `Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
1144
- newValue
1145
- )}"`
1146
- );
1147
- }
1148
- });
1176
+ return this.getSet(value, { set: this._readonlySetter });
1177
+ }
1178
+ _readonlySetter(newValue, _oldValue, property) {
1179
+ if (Controller.internals.shouldBypassReadonly)
1180
+ return newValue;
1181
+ const isProp = getPropType(this.component, property) === "prop";
1182
+ if (isProp)
1183
+ forceUpdate(this.component);
1184
+ throw new Error(
1185
+ `Cannot assign to read-only property "${property}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(
1186
+ newValue
1187
+ )}"`
1188
+ );
1149
1189
  }
1150
1190
  /**
1151
1191
  * Listen for any component's @State()/@Prop() change, and mutate it's
@@ -1173,10 +1213,15 @@ var ControllerManager = class extends GenericController {
1173
1213
  */
1174
1214
  getSet(defaultValue, getSet) {
1175
1215
  return this.component.manager.trackPropKey((name) => {
1216
+ var _a2;
1176
1217
  if (name === void 0)
1177
1218
  throw new Error(
1178
1219
  "Unable to resolve get/set's prop name. Make sure you are using it like @Prop() someProp = this.manager.getSet(defaultValue,{get,set})"
1179
1220
  );
1221
+ if (getSet.set === this._readonlySetter) {
1222
+ (_a2 = this.internals).readonlyProps ?? (_a2.readonlyProps = /* @__PURE__ */ new Set());
1223
+ this.internals.readonlyProps.add(name);
1224
+ }
1180
1225
  const genericComponent = this.component;
1181
1226
  const value = genericComponent[name];
1182
1227
  if (value != null && value !== defaultValue && typeof getSet.set === "function" && getSet.initialSet !== false) {
@@ -1220,7 +1265,15 @@ function setProxy(controller, host, key, initialExports) {
1220
1265
  if (controllerValueChanged && !hostValueChanged && controllerUpdatedExports)
1221
1266
  genericHost[key] = controller.exports;
1222
1267
  controller.watchExports(() => {
1223
- if (genericHost[key] !== controller.exports)
1268
+ if (genericHost[key] === controller.exports)
1269
+ return;
1270
+ const manager = controller.component.manager;
1271
+ const isReadOnly = manager.internals.readonlyProps?.has(key) === true;
1272
+ if (isReadOnly)
1273
+ manager.bypassReadonly(() => {
1274
+ genericHost[key] = controller.exports;
1275
+ });
1276
+ else
1224
1277
  genericHost[key] = controller.exports;
1225
1278
  });
1226
1279
  }
@@ -1249,7 +1302,7 @@ var FunctionalController = class extends Controller {
1249
1302
  } else {
1250
1303
  if (!constructorChangedExports || value !== void 0)
1251
1304
  this.exports = value;
1252
- super.catchUpLifecycle();
1305
+ queueMicrotask(() => super.catchUpLifecycle());
1253
1306
  }
1254
1307
  } catch (error) {
1255
1308
  this._ready.reject(error);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  // ../../../node_modules/@arcgis/core/core/has.js
7
7
  var e$3;
@@ -207,7 +207,7 @@ function i$3(n2, t2, o2) {
207
207
  }
208
208
 
209
209
  // ../../../node_modules/@arcgis/core/support/revision.js
210
- var e2$2 = "20240404";
210
+ var e2$2 = "20240406";
211
211
 
212
212
  // ../../../node_modules/@arcgis/core/config.js
213
213
  var r$3 = { apiKey: void 0, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: true, portalUrl: "https://www.arcgis.com", routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 6e4, trustedServers: [], useIdentity: true }, log: { interceptors: [], level: null } };
@@ -219,7 +219,7 @@ if (globalThis.esriConfig && (n$1(r$3, globalThis.esriConfig, true), delete r$3.
219
219
  r$3.defaultAssetsPath = r$3.assetsPath;
220
220
  }
221
221
 
222
- function c$2(t2) {
222
+ function u$3(t2) {
223
223
  let e2 = 0;
224
224
  for (let n3 = 0; n3 < t2.length; n3++)
225
225
  e2 = (e2 << 5) - e2 + t2.charCodeAt(n3), e2 |= 0;
@@ -324,7 +324,7 @@ function o2$2(e2, t2, ...r4) {
324
324
  }
325
325
  function s$2(...e2) {
326
326
  const r4 = (e3, t2) => "object" != typeof t2 || Array.isArray(t2) ? t2 : "[Object]";
327
- return c$2(JSON.stringify(e2, r4));
327
+ return u$3(JSON.stringify(e2, r4));
328
328
  }
329
329
  n2$2._loggers = /* @__PURE__ */ new Map(), n2$2._tickCounter = 0, n2$2._tickCounterScheduled = false, n2$2._throttlingDisabled = false;
330
330
 
@@ -572,12 +572,12 @@ function s(s3, e2) {
572
572
  return s3.replaceAll(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g, (s4, r) => {
573
573
  if ("" === r)
574
574
  return "$";
575
- const n2 = t$1(r, e2);
576
- return (n2 ?? "").toString();
575
+ const i = t$1(r, e2);
576
+ return (i ?? "").toString();
577
577
  });
578
578
  }
579
579
  var e = class {
580
- constructor(t2, e2, r) {
580
+ constructor(t2, e2, r = void 0) {
581
581
  this.name = t2, this.details = r, this.message = (e2 && s(e2, r)) ?? "";
582
582
  }
583
583
  toString() {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h as h$1, Host } from '@stencil/core/internal/client';
7
7
  import { Range, editor, Uri, KeyMod, KeyCode } from 'monaco-editor';
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
- import { l as o$2, y, q as d2, w as o5, x as d } from './chunk-ENW2OP4I.js';
7
- export { z as ensureRange, A as finalizeClass, y as property, q as propertyJSONMeta, a as subclass } from './chunk-ENW2OP4I.js';
6
+ import { l as o$2, y, q as d2, w as o5, x as d } from './chunk-5SWTJIOL.js';
7
+ export { z as ensureRange, A as finalizeClass, y as property, q as propertyJSONMeta, a as subclass } from './chunk-5SWTJIOL.js';
8
8
 
9
9
  // ../../../node_modules/@arcgis/core/core/jsonMap.js
10
10
  var n$1 = class {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
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;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
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.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function w(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function b(e,t,n){let{subscribe:r}=$(t);return r(o=>{o.some(s=>w(e,s.target))&&n();})}var f={};function $(e){let t=e.join(","),n=f[t];if(n!==void 0)return n;let r=new Set,o=new MutationObserver(s=>r.forEach(a=>a(s)));o.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let i={subscribe(s){return r.add(s),{remove:()=>{r.delete(s),r.size===0&&(o.disconnect(),f[t]=void 0);}}}};return f[t]=i,i}function x(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function _(e){let t=x(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function F(e){return e.nodeType===Node.ELEMENT_NODE}function O(e){return "setFocus"in e&&typeof e.setFocus=="function"}function l(e,t=""){if(!F(e))return !1;if(e.matches(t))return O(e)&&setTimeout(()=>e.setFocus(),0),!0;for(let r of e.children)if(l(r,t))return !0;let n=e.shadowRoot;if(n){for(let r of n.children)if(l(r,t))return !0}return !1}function W(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){l(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),l(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function Q(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var A=e=>e.charAt(0).toUpperCase()+e.slice(1),T=e=>A(e.replaceAll(/([a-z])([A-Z])/gu,"$1 $2"));var v=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),g="en";async function j(e,t,n=""){let r=`${t}/${n}`,o=`${r}${e}.json`;return u[o]??(u[o]=S(e,r)),await u[o]}var u={};async function S(e,t){let n=`${t}${e}.json`;try{let r=await fetch(n);if(r.ok)return await r.json()}catch(r){return console.error(r),E}return e===g?E:await S(g,t)}var E=new Proxy({},{get:(e,t)=>T(t.toString())});var y='"',N="'";function L(e,t){return new Array(t+1).join(e)}function te(e){let t=y,n=N;e.includes(t)&&!e.includes(n)&&(n=y,t=N);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(s,a,d,p)=>a+d+L(n,p.length/2));let i=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(i,(s,a,d,p)=>a+d+L(`\\${t}`,p.length)),t+e+t}function ne(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function re(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function oe(e){return `\u200E${e??""}\u200E`}function ie(e){return e!==null}function ae(e){return e!==void 0}function le(e,t=100){let n;return (...r)=>{let o=()=>{clearTimeout(n),e(...r);};clearTimeout(n),n=setTimeout(o,t);}}function ge(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function de(e){try{return new URL(e),!0}catch{return !1}}
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { editor } from 'monaco-editor';
7
7
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
@@ -2935,6 +2935,8 @@ var marked_umd = createCommonjsModule(function (module, exports) {
2935
2935
  // Set up the marked library to use GitHub Flavored Markdown and to use the custom renderer for links.
2936
2936
  marked_umd.marked.use({
2937
2937
  gfm: true,
2938
+ breaks: true,
2939
+ async: false,
2938
2940
  renderer: {
2939
2941
  link(href, title, text) {
2940
2942
  return `<calcite-link href="${href}" title="${title ?? text}" target="Arcade Help">${text}</calcite-link>`;
@@ -2945,14 +2947,10 @@ marked_umd.marked.use({
2945
2947
  * Converts a markdown string to HTML using the marked library.
2946
2948
  */
2947
2949
  function convertMarkdownString(value) {
2948
- value ?? (value = "");
2949
- const result = marked_umd.marked(typeof value === "string" ? value : value.value, {
2950
- gfm: true,
2951
- breaks: true,
2952
- headerIds: false,
2953
- mangle: false
2954
- });
2955
- return result;
2950
+ if (value === null || value === undefined) {
2951
+ return "";
2952
+ }
2953
+ return marked_umd.marked.parse(typeof value === "string" ? value : value.value);
2956
2954
  }
2957
2955
 
2958
2956
  export { colorizedAllCodeElements as a, colorizeCodeElement as b, convertMarkdownString as c, generateColorizeStyles as g, onColorizeThemeChanged as o };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
6
  import { n as ne } from './index2.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
- import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-ENW2OP4I-9cb928fe.js';
6
+ import { v as v$1, S, j, r as r$1, y, a as a7, o as o3, I, b as o2$1, n as n2$1, t as t2, e as e$3, h as has, s as s3$1, i as i$1, f as f$1, c as j$1, m as m$1, p as p$1, k as k2$1, g as g$1, d as a2, u as u$1, O } from './chunk-5SWTJIOL-994a2aa2.js';
7
7
 
8
8
  // ../../../node_modules/@arcgis/core/core/ObjectPool.js
9
9
  function t$3(t2) {
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
- import { g as getAssetPath } from './index-cea530e1.js';
6
+ import { g as getAssetPath } from './index-1903dda2.js';
7
7
 
8
8
  /**
9
9
  * Returns the last element of an array.
@@ -120522,7 +120522,7 @@ registerLanguage({
120522
120522
  mimetypes: ["text/css"],
120523
120523
  loader: () => {
120524
120524
  {
120525
- return import('./css-14b9cec7.js');
120525
+ return import('./css-d0aad069.js');
120526
120526
  }
120527
120527
  }
120528
120528
  });
@@ -120540,7 +120540,7 @@ registerLanguage({
120540
120540
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120541
120541
  loader: () => {
120542
120542
  {
120543
- return import('./html-0f135a43.js');
120543
+ return import('./html-5b52e070.js');
120544
120544
  }
120545
120545
  }
120546
120546
  });
@@ -120560,7 +120560,7 @@ registerLanguage({
120560
120560
  mimetypes: ["text/javascript"],
120561
120561
  loader: () => {
120562
120562
  {
120563
- return import('./javascript-0b427ddf.js');
120563
+ return import('./javascript-643257f2.js');
120564
120564
  }
120565
120565
  }
120566
120566
  });
@@ -120578,7 +120578,7 @@ registerLanguage({
120578
120578
  mimetypes: ["text/typescript"],
120579
120579
  loader: () => {
120580
120580
  {
120581
- return import('./typescript-5e0c0f59.js');
120581
+ return import('./typescript-fb25b99e.js');
120582
120582
  }
120583
120583
  }
120584
120584
  });
@@ -120699,7 +120699,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120699
120699
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120700
120700
  function getMode$3() {
120701
120701
  {
120702
- return import('./cssMode-ce1cfd94.js');
120702
+ return import('./cssMode-ce01c47e.js');
120703
120703
  }
120704
120704
  }
120705
120705
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120824,7 +120824,7 @@ monaco_editor_core_exports$2.languages.html = {
120824
120824
  };
120825
120825
  function getMode$2() {
120826
120826
  {
120827
- return import('./htmlMode-6a49d235.js');
120827
+ return import('./htmlMode-56889730.js');
120828
120828
  }
120829
120829
  }
120830
120830
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120926,7 +120926,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120926
120926
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120927
120927
  function getMode$1() {
120928
120928
  {
120929
- return import('./jsonMode-818f84d3.js');
120929
+ return import('./jsonMode-83a8ff18.js');
120930
120930
  }
120931
120931
  }
120932
120932
  monaco_editor_core_exports$1.languages.register({
@@ -121195,7 +121195,7 @@ monaco_editor_core_exports.languages.typescript = {
121195
121195
  };
121196
121196
  function getMode() {
121197
121197
  {
121198
- return import('./tsMode-5fc323fe.js');
121198
+ return import('./tsMode-c3de69bc.js');
121199
121199
  }
121200
121200
  }
121201
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -170063,7 +170063,7 @@ class FeatureVariable extends SourceBasedVariable {
170063
170063
  }
170064
170064
  get title() {
170065
170065
  if (isSupportedLayerInstance(this._source)) {
170066
- return this._source.title;
170066
+ return this._source.title ?? "";
170067
170067
  }
170068
170068
  return { code: "feature" };
170069
170069
  }
@@ -170077,7 +170077,7 @@ class FeatureVariable extends SourceBasedVariable {
170077
170077
  throw new Error("Invalid definition");
170078
170078
  }
170079
170079
  // The title group and snippet
170080
- const title = isSupportedLayerInstance(this._source) ? this._source.title : "";
170080
+ const title = isSupportedLayerInstance(this._source) ? this._source.title ?? "" : "";
170081
170081
  this.variables.push(new GroupOfVariables(this._profile, title, [
170082
170082
  new ValueVariable({
170083
170083
  profile: this._profile,
@@ -170136,7 +170136,7 @@ class FeatureSetVariable extends SourceBasedVariable {
170136
170136
  }
170137
170137
  get title() {
170138
170138
  if (isSupportedLayerInstance(this._source)) {
170139
- return this._source.title;
170139
+ return this._source.title ?? "";
170140
170140
  }
170141
170141
  return { code: "featureset" };
170142
170142
  }
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.24
4
+ * v4.30.0-next.26
5
5
  */
6
- import { w as main, e as editor, M as MarkerSeverity, R as Range, l as languages, x as le, E as Emitter } from './arcade-defaults-7b755d01.js';
7
- import './index-cea530e1.js';
6
+ import { w as main, e as editor, M as MarkerSeverity, R as Range, l as languages, x as le, E as Emitter } from './arcade-defaults-162b5644.js';
7
+ import './index-1903dda2.js';
8
8
 
9
9
  var j={False:"false",Null:"null",True:"true"},f={Break:"break",Continue:"continue",Else:"else",For:"for",From:"from",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"},Fe=["++","--"],Qe=["-","+","!","~"],Ze=["=","/=","*=","%=","+=","-="],Xe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Fe.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Xe.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ht=Object.values(f),dt=Object.values(j);dt.map(t=>({label:t,kind:main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:main.CompletionItemKind.Keyword}));
10
10