@arcgis/coding-components 4.29.0-beta.97 → 4.29.0-beta.99

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 (69) 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-4725e9d0.js → p-0bab0228.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-6f67b95c.js → p-457e3916.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-4652103b.js → p-4648782b.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-166e758f.entry.js → p-6d56a4b8.entry.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-ca2976e7.js → p-7e0e8ecc.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-c06a1a38.js → p-7f9d3fdc.js} +1 -1
  9. package/dist/arcgis-coding-components/{p-8636bc80.js → p-87d7ad9e.js} +1 -1
  10. package/dist/arcgis-coding-components/{p-21988d04.js → p-a75f5087.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-1abe4799.js → p-ad86a5f5.js} +11 -11
  12. package/dist/arcgis-coding-components/{p-693cf7f2.js → p-e1cb02b3.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-1a91ed86.js → p-f23f7fee.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-73a68059.js → p-f75beb80.js} +2 -2
  15. package/dist/cjs/{arcade-defaults-7703ca68.js → arcade-defaults-5dd9ebb7.js} +24 -24
  16. package/dist/cjs/{arcade-mode-944cc19c.js → arcade-mode-0b4c53a1.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +33 -33
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{css-26819245.js → css-fe7f8980.js} +1 -1
  20. package/dist/cjs/{cssMode-2b8c52d6.js → cssMode-4c9b3a32.js} +3 -3
  21. package/dist/cjs/{html-ff3d887e.js → html-b044fbba.js} +3 -3
  22. package/dist/cjs/{htmlMode-185f1416.js → htmlMode-956a6ffa.js} +3 -3
  23. package/dist/cjs/{index-1fce10d0.js → index-aaceaf1f.js} +1 -1
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-7dfbbcc3.js → javascript-6c55ac8b.js} +4 -4
  26. package/dist/cjs/{jsonMode-b570c4f8.js → jsonMode-d83e322c.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/{tsMode-64276b5a.js → tsMode-5c5ffa3e.js} +3 -3
  29. package/dist/cjs/{typescript-80dcbc03.js → typescript-6143656a.js} +3 -3
  30. package/dist/components/arcade-api.js +7 -7
  31. package/dist/components/arcade-contribution.js +1 -1
  32. package/dist/components/arcade-defaults.js +8 -8
  33. package/dist/components/arcade-mode.js +1 -1
  34. package/dist/components/arcade-results.js +13 -13
  35. package/dist/components/arcade-suggestions.js +5 -5
  36. package/dist/components/arcade-variables.js +6 -6
  37. package/dist/components/arcgis-arcade-api.js +1 -1
  38. package/dist/components/arcgis-arcade-editor.js +6 -6
  39. package/dist/components/arcgis-arcade-results.js +1 -1
  40. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  41. package/dist/components/arcgis-arcade-variables.js +1 -1
  42. package/dist/components/arcgis-code-editor.js +1 -1
  43. package/dist/components/code-editor.js +4 -4
  44. package/dist/components/fields.js +1 -1
  45. package/dist/components/functional-components.js +1 -1
  46. package/dist/components/index.js +1 -1
  47. package/dist/components/index2.js +3 -3
  48. package/dist/components/markdown.js +1 -1
  49. package/dist/components/utilities.js +3 -3
  50. package/dist/esm/{arcade-defaults-592970ff.js → arcade-defaults-2d7283d4.js} +19 -19
  51. package/dist/esm/{arcade-mode-16d67a1f.js → arcade-mode-a8abe5af.js} +3 -3
  52. package/dist/esm/arcgis-arcade-api_6.entry.js +33 -33
  53. package/dist/esm/arcgis-coding-components.js +3 -3
  54. package/dist/esm/{css-426f209f.js → css-d31a02ca.js} +1 -1
  55. package/dist/esm/{cssMode-58f3e1a5.js → cssMode-5ee45e91.js} +3 -3
  56. package/dist/esm/{html-641458f7.js → html-5c2e488c.js} +3 -3
  57. package/dist/esm/{htmlMode-217430c8.js → htmlMode-376cd5e8.js} +3 -3
  58. package/dist/esm/{index-93510b9c.js → index-1b265749.js} +1 -1
  59. package/dist/esm/index.js +3 -3
  60. package/dist/esm/{javascript-5a82d8fc.js → javascript-13ddec2b.js} +4 -4
  61. package/dist/esm/{jsonMode-d7123239.js → jsonMode-674e89d6.js} +3 -3
  62. package/dist/esm/loader.js +3 -3
  63. package/dist/esm/{tsMode-1a0b9397.js → tsMode-4c4398d7.js} +3 -3
  64. package/dist/esm/{typescript-125e311f.js → typescript-b328b622.js} +3 -3
  65. package/dist/loader/cdn.js +1 -1
  66. package/dist/loader/index.cjs.js +1 -1
  67. package/dist/loader/index.es2017.js +1 -1
  68. package/dist/loader/index.js +1 -1
  69. package/package.json +8 -17
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  'use strict';
7
7
 
8
- const typescript = require('./typescript-80dcbc03.js');
9
- require('./arcade-defaults-7703ca68.js');
10
- require('./index-1fce10d0.js');
8
+ const typescript = require('./typescript-6143656a.js');
9
+ require('./arcade-defaults-5dd9ebb7.js');
10
+ require('./index-aaceaf1f.js');
11
11
 
12
12
  /*!-----------------------------------------------------------------------------
13
13
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-7703ca68.js');
9
- require('./index-1fce10d0.js');
8
+ const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
9
+ require('./index-aaceaf1f.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-1fce10d0.js');
10
+ const index = require('./index-aaceaf1f.js');
11
11
 
12
12
  const defineCustomElements = (win, options) => {
13
13
  if (typeof window === 'undefined') return undefined;
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-7703ca68.js');
9
- require('./index-1fce10d0.js');
8
+ const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
9
+ require('./index-aaceaf1f.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-7703ca68.js');
9
- require('./index-1fce10d0.js');
8
+ const arcadeDefaults = require('./arcade-defaults-5dd9ebb7.js');
9
+ require('./index-aaceaf1f.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.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.js';
8
8
  import { S as StickyFilterInput } from './functional-components.js';
9
9
  import { f as filterCollection } from './utilities.js';
10
10
  import { Uri } from 'monaco-editor';
11
- import { H, q, U, J } from './index2.js';
11
+ import { B, H, F, Z } from './index2.js';
12
12
  import { b as arcadeDefaults } from './arcade-defaults.js';
13
13
  import { g as getArcadeWorker } from './arcade-contribution.js';
14
14
  import '@esri/calcite-components/dist/components/calcite-list-item-group.js';
@@ -83,7 +83,7 @@ const ArcgisArcadeApi = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeApi e
83
83
  async componentWillLoad() {
84
84
  this._colorizeStyle = generateColorizeStyles();
85
85
  this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
86
- await H(this, getAssetPath("./assets"));
86
+ await B(this, getAssetPath("./assets"));
87
87
  arcadeDefaults.onModelContextDidChange((key) => {
88
88
  if (!this.modelId || key !== Uri.parse(this.modelId).toString()) {
89
89
  return;
@@ -93,7 +93,7 @@ const ArcgisArcadeApi = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeApi e
93
93
  this._updateApiLibrary();
94
94
  }
95
95
  disconnectedCallback() {
96
- q(this);
96
+ H(this);
97
97
  this._flowObserver?.disconnect();
98
98
  this._themeChangedListner?.dispose();
99
99
  }
@@ -138,7 +138,7 @@ const ArcgisArcadeApi = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeApi e
138
138
  // When switching between flow the same reference is reused
139
139
  this._flowObserver = new MutationObserver(() => {
140
140
  // Get the last panel and try to set focus on the input element
141
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
141
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
142
142
  });
143
143
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
144
144
  }
@@ -149,14 +149,14 @@ const ArcgisArcadeApi = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeApi e
149
149
  if (!filteredApiItems.length) {
150
150
  return null;
151
151
  }
152
- return (h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (h("calcite-list-item", { label: J(apiItem.completion.detail), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": apiItem }, h("calcite-action", { slot: "actions-end", text: this._t9nStrings?.expand ?? "Expand", icon: "chevron-right", iconFlipRtl: true, scale: "s", onClick: this._selectItem, "data-item": apiItem }))))));
152
+ return (h("calcite-list-item-group", { heading: category.title }, filteredApiItems.map((apiItem) => (h("calcite-list-item", { label: Z(apiItem.completion.detail), onCalciteListItemSelect: this._emitItemSelected, onKeyPress: this._emitItemSelected, "data-item": apiItem }, h("calcite-action", { slot: "actions-end", text: this._t9nStrings?.expand ?? "Expand", icon: "chevron-right", iconFlipRtl: true, scale: "s", onClick: this._selectItem, "data-item": apiItem }))))));
153
153
  }
154
154
  renderApiItemFlowItem() {
155
155
  const apiItem = this._selectedApiItem;
156
156
  if (!apiItem) {
157
157
  return null;
158
158
  }
159
- return (h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), h("calcite-block", { open: true, heading: J(apiItem.completion.detail) }, h("div", { innerHTML: convertMarkdownString(apiItem.completion.documentation) }), apiItem.examples ? (h("div", { ref: (e) => {
159
+ return (h("calcite-flow-item", { heading: this._t9nStrings?.constantsandfunctions, beforeBack: this._unselectItem, closable: true, onCalciteFlowItemClose: this._emitClose }, this.hideDocumentationActions ? null : (h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", scale: "s", href: apiItem.link, target: "Arcade Help", "icon-start": "information" }, this._t9nStrings?.moreinformation)), h("calcite-button", { width: "half", slot: "footer", appearance: "outline", kind: "brand", "icon-start": "code", scale: "s", onClick: this._emitItemSelectedAndClose, "data-item": apiItem, ref: (e) => void e?.setFocus() }, this._t9nStrings?.insert ?? "Insert"), h("calcite-block", { open: true, heading: Z(apiItem.completion.detail) }, h("div", { innerHTML: convertMarkdownString(apiItem.completion.documentation) }), apiItem.examples ? (h("div", { ref: (e) => {
160
160
  if (!e) {
161
161
  return;
162
162
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { languages } from 'monaco-editor';
7
7
  import { b as arcadeDefaults } from './arcade-defaults.js';
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { Emitter, Uri } from 'monaco-editor';
7
7
  import { InsertTextMode, InsertTextFormat, CompletionItemKind } from 'vscode-languageserver-types';
8
8
  import { i as importPortalPortalItem, a as importLayersFeatureLayer, b as importWebMap, s as supportedFields, n as newWebScene, c as importRequest, f as fieldTypeToIconName, d as fieldTypeToArcadeType } from './fields.js';
9
9
  import { p as portalItemPageUrl } from './utilities.js';
10
- import { Z, e as ee, J, I, E, N } from './index2.js';
10
+ import { Y, e as ee, Z, K, E, N } from './index2.js';
11
11
  import { getAssetPath } from '@stencil/core/internal/client';
12
12
 
13
13
  async function newPortalItem(definition) {
@@ -475,9 +475,9 @@ class ProfileItemBase {
475
475
  // If the component is under RTL, the string is messed up.
476
476
  // It is converted from $feature to feature$, This is not acceptable since the label
477
477
  // represents a variable name. We are adding in front of the $ sign a right to left mark.
478
- return J(this._label);
478
+ return Z(this._label);
479
479
  }
480
- return I(this._profile?.intlStrings[this._label.code], this._label.formatValues);
480
+ return K(this._profile?.intlStrings[this._label.code], this._label.formatValues);
481
481
  }
482
482
  /**
483
483
  * Returns the description string.
@@ -489,7 +489,7 @@ class ProfileItemBase {
489
489
  if (typeof this.description === "string") {
490
490
  return this.description;
491
491
  }
492
- return I(this._profile?.intlStrings[this.description.code], this.description.formatValues);
492
+ return K(this._profile?.intlStrings[this.description.code], this.description.formatValues);
493
493
  }
494
494
  /**
495
495
  * Returns true if the item pass the filter test
@@ -721,7 +721,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
721
721
  return this._profile?.intlStrings.layer ?? "layer";
722
722
  }
723
723
  async loadSource() {
724
- if (Z(this._loadPromise) && ee(this._loadPromise)) {
724
+ if (Y(this._loadPromise) && ee(this._loadPromise)) {
725
725
  return await this._loadPromise;
726
726
  }
727
727
  this._loadPromise = this._loadSource();
@@ -917,7 +917,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
917
917
  nonInteractive: true
918
918
  }, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
919
919
  }));
920
- relationshipsGroup.variables = relationshipItems.filter(Z);
920
+ relationshipsGroup.variables = relationshipItems.filter(Y);
921
921
  if (!relationshipsGroup.variables.length) {
922
922
  return null;
923
923
  }
@@ -1075,7 +1075,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
1075
1075
  return this._profile?.intlStrings.featureservice ?? "featureservice";
1076
1076
  }
1077
1077
  async loadSource() {
1078
- if (Z(this._loadPromise) && ee(this._loadPromise)) {
1078
+ if (Y(this._loadPromise) && ee(this._loadPromise)) {
1079
1079
  return await this._loadPromise;
1080
1080
  }
1081
1081
  this._loadPromise = this._loadSource();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
7
7
  import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { e as importArcade, s as supportedFields } from './fields.js';
8
- import { H, q, I, D } from './index2.js';
8
+ import { B, H, K, Q } from './index2.js';
9
9
  import '@esri/calcite-components/dist/components/calcite-tree.js';
10
10
  import '@esri/calcite-components/dist/components/calcite-tree-item.js';
11
11
  import '@esri/calcite-components/dist/components/calcite-loader.js';
@@ -324,7 +324,7 @@ function renderSimpleValue(arcadeResult) {
324
324
  case "null":
325
325
  return h("span", { class: "constant-value" }, arcadeResult.type);
326
326
  case "text":
327
- return h("span", { class: "string-value" }, D(arcadeResult.value));
327
+ return h("span", { class: "string-value" }, Q(arcadeResult.value));
328
328
  case "number":
329
329
  return h("span", { class: "number-value" }, arcadeResult.value.toString());
330
330
  case "boolean":
@@ -332,9 +332,9 @@ function renderSimpleValue(arcadeResult) {
332
332
  case "date":
333
333
  return h("span", { class: "date-value" }, formatArcadeResultDate(arcadeResult));
334
334
  case "dateOnly":
335
- return h("span", { class: "string-value" }, D(formatArcadeResultDateOnly(arcadeResult)));
335
+ return h("span", { class: "string-value" }, Q(formatArcadeResultDateOnly(arcadeResult)));
336
336
  case "time":
337
- return h("span", { class: "string-value" }, D(formatArcadeResultTimeOnly(arcadeResult)));
337
+ return h("span", { class: "string-value" }, Q(formatArcadeResultTimeOnly(arcadeResult)));
338
338
  default:
339
339
  return null;
340
340
  }
@@ -380,10 +380,10 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
380
380
  //#endregion
381
381
  // #region Component lifecycle events
382
382
  async componentWillLoad() {
383
- await H(this, getAssetPath("./assets"));
383
+ await B(this, getAssetPath("./assets"));
384
384
  }
385
385
  disconnectedCallback() {
386
- q(this);
386
+ H(this);
387
387
  }
388
388
  // #endregion
389
389
  //#region Private Methods
@@ -410,18 +410,18 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
410
410
  return h("calcite-loader", { scale: "s", type: "indeterminate", label: "" });
411
411
  }
412
412
  const iconClass = this.result?.type === "error" ? "color-error" : "color-success";
413
- return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: I(this._t9nStrings?.lastexecutionformat, {
413
+ return (h("calcite-list", null, this.result ? (h(Fragment, null, h("calcite-list-item", { label: K(this._t9nStrings?.lastexecutionformat, {
414
414
  timeStamp: new Intl.DateTimeFormat(this._t9nLocale, {
415
415
  dateStyle: "medium",
416
416
  timeStyle: "medium"
417
417
  }).format(this.result.timeStamp)
418
- }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: I(this._t9nStrings?.compilationtimeformat, {
418
+ }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: K(this._t9nStrings?.compilationtimeformat, {
419
419
  time: new Intl.NumberFormat(this._t9nLocale, {
420
420
  style: "unit",
421
421
  unit: "millisecond",
422
422
  maximumFractionDigits: 2
423
423
  }).format(this.result.compilationTime ?? 0)
424
- }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: I(this._t9nStrings?.executiontimeformat, {
424
+ }) }, h("calcite-icon", { slot: "content-start", icon: "information", scale: "s", class: iconClass })), h("calcite-list-item", { label: K(this._t9nStrings?.executiontimeformat, {
425
425
  time: new Intl.NumberFormat(this._t9nLocale, {
426
426
  style: "unit",
427
427
  unit: "millisecond",
@@ -438,7 +438,7 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
438
438
  }
439
439
  switch (this.result?.type) {
440
440
  case "error":
441
- return (h("div", { class: "result-value-simple flex-adjustable" }, I(this._t9nStrings?.executionerrorformat, {
441
+ return (h("div", { class: "result-value-simple flex-adjustable" }, K(this._t9nStrings?.executionerrorformat, {
442
442
  message: this.result.value
443
443
  })));
444
444
  case "null":
@@ -475,7 +475,7 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
475
475
  renderArrayHeader(arcadeResult) {
476
476
  const items = arcadeResult.value ?? [];
477
477
  const leftoverCount = Math.max(items.length - MaxArrayItems, 0);
478
- return (h(Fragment, null, h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (h("span", null, "\u00A0", I(this._t9nStrings?.showingfirstitemsformat, {
478
+ return (h(Fragment, null, h("span", null, `${arcadeResult.type}(${items.length ?? 0})`), leftoverCount > 0 ? (h("span", null, "\u00A0", K(this._t9nStrings?.showingfirstitemsformat, {
479
479
  count: MaxArrayItems.toString()
480
480
  }))) : null));
481
481
  }
@@ -521,7 +521,7 @@ const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeR
521
521
  }
522
522
  }
523
523
  renderFeatureSetLabel(arcadeResult) {
524
- return (h("div", { class: "value-type" }, h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (h("span", null, "\u00A0", I(this._t9nStrings?.showingfirstitemsformat, {
524
+ return (h("div", { class: "value-type" }, h("span", null, arcadeResult.type, ":"), arcadeResult.features.length >= BatchSize ? (h("span", null, "\u00A0", K(this._t9nStrings?.showingfirstitemsformat, {
525
525
  count: BatchSize.toString()
526
526
  }))) : null));
527
527
  }
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, b as colorizeCodeElement } from './markdown.js';
8
8
  import { S as StickyFilterInput } from './functional-components.js';
9
9
  import { f as filterCollection } from './utilities.js';
10
- import { H, q, U } from './index2.js';
10
+ import { B, H, F } 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';
13
13
  import '@esri/calcite-components/dist/components/calcite-action.js';
@@ -77,12 +77,12 @@ const ArcgisArcadeSuggestions = /*@__PURE__*/ proxyCustomElement(class ArcgisArc
77
77
  async componentWillLoad() {
78
78
  this._colorizeStyle = generateColorizeStyles();
79
79
  this._themeChangedListner = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
80
- await H(this, getAssetPath("./assets"));
80
+ await B(this, getAssetPath("./assets"));
81
81
  }
82
82
  disconnectedCallback() {
83
83
  this._flowObserver?.disconnect();
84
84
  this._themeChangedListner?.dispose();
85
- q(this);
85
+ H(this);
86
86
  }
87
87
  // #endregion
88
88
  //#region Private Methods
@@ -100,7 +100,7 @@ const ArcgisArcadeSuggestions = /*@__PURE__*/ proxyCustomElement(class ArcgisArc
100
100
  // When switching between flow the same reference is reused
101
101
  this._flowObserver = new MutationObserver(() => {
102
102
  // Get the last panel and try to set focus on the input element
103
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
103
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
104
104
  });
105
105
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
106
106
  }
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h } from '@stencil/core/internal/client';
7
7
  import { S as StickyFilterInput } from './functional-components.js';
8
- import { H, q, U, G } from './index2.js';
8
+ import { B, H, F, D } 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';
11
11
  import '@esri/calcite-components/dist/components/calcite-action.js';
@@ -74,10 +74,10 @@ const ArcgisArcadeVariables = /*@__PURE__*/ proxyCustomElement(class ArcgisArcad
74
74
  //#endregion
75
75
  // #region Component lifecycle events
76
76
  async componentWillLoad() {
77
- await H(this, getAssetPath("./assets"));
77
+ await B(this, getAssetPath("./assets"));
78
78
  }
79
79
  disconnectedCallback() {
80
- q(this);
80
+ H(this);
81
81
  this._flowObserver?.disconnect();
82
82
  }
83
83
  // #endregion
@@ -102,7 +102,7 @@ const ArcgisArcadeVariables = /*@__PURE__*/ proxyCustomElement(class ArcgisArcad
102
102
  // When switching between flow the same reference is reused
103
103
  this._flowObserver = new MutationObserver(() => {
104
104
  // Get the last panel and try to set focus on the input element
105
- U(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
105
+ F(ref.querySelector("calcite-flow-item:last-child"), "calcite-input");
106
106
  });
107
107
  this._flowObserver.observe(ref, { attributes: true, attributeFilter: ["id"], childList: true });
108
108
  }
@@ -130,7 +130,7 @@ const ArcgisArcadeVariables = /*@__PURE__*/ proxyCustomElement(class ArcgisArcad
130
130
  }
131
131
  renderEditorVariables(collection) {
132
132
  // Filter the variables. Skip group, we will filter the children later on.
133
- const filterExpression = G(this._filterValue);
133
+ const filterExpression = D(this._filterValue);
134
134
  const filteredVariables = collection.variables.filter((variable) => variable.passFilter(filterExpression));
135
135
  if (!filteredVariables.length) {
136
136
  return h("div", { class: "notice-container" }, this._t9nStrings?.noitems ?? "No item");
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h as h$1, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { editor, KeyCode } from 'monaco-editor';
8
8
  import { e as executeScript, D as DevelopersWebSitePath, d as defineCustomElement$5 } from './arcade-results.js';
9
- import { h, z, O, H, q } from './index2.js';
9
+ import { h, U, k, B, H } from './index2.js';
10
10
  import { s as setupMonacoEnvironment, a as getArcadeDiagnosticService } from './arcade-contribution.js';
11
11
  import { b as arcadeDefaults } from './arcade-defaults.js';
12
12
  import '@esri/calcite-components/dist/components/calcite-action-bar.js';
@@ -93,7 +93,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
93
93
  this.scriptChange = createEvent(this, "scriptChange", 3);
94
94
  this.diagnosticsChange = createEvent(this, "diagnosticsChange", 3);
95
95
  this._componentReadyDefer = new h();
96
- this._modelId = z();
96
+ this._modelId = U();
97
97
  this._editorProfilePromise = Promise.resolve(undefined);
98
98
  this._disposables = [];
99
99
  this._executeScript = async () => {
@@ -234,7 +234,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
234
234
  * @internal
235
235
  */
236
236
  async updateThemeColors(colorRules) {
237
- const theme = O(this._hostElement);
237
+ const theme = k(this._hostElement);
238
238
  updateThemeColors(theme, colorRules);
239
239
  if (colorRules === undefined) {
240
240
  ["comment", "keyword", "identifier", "string", "number", "constant", "date"].forEach((key) => {
@@ -263,7 +263,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
263
263
  // Starts a locale observer. It will load the correct t9n strings for the component
264
264
  // when the locale changes. We also pass updateEditorProfile. It will be invoked the first
265
265
  // and on each locale change. The profile has to be refreshed on locale change as well.
266
- await H(this, assetsPath, async () => await this._updateEditorProfile());
266
+ await B(this, assetsPath, async () => await this._updateEditorProfile());
267
267
  }
268
268
  async componentDidLoad() {
269
269
  // Mark on component as ready.
@@ -291,7 +291,7 @@ const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcade
291
291
  await this._codeEditorElt?.setFocus();
292
292
  }
293
293
  disconnectedCallback() {
294
- q(this);
294
+ H(this);
295
295
  arcadeDefaults.disposeApiContextForModel(this._modelId);
296
296
  arcadeDefaults.disposeEditorProfileForModel(this._modelId);
297
297
  while (this._disposables.length) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.0-beta.97
4
+ * v4.29.0-beta.99
5
5
  */
6
6
  import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
7
7