@arcgis/coding-components 4.30.0-next.53 → 4.30.0-next.55

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 (78) 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-2694d8a3.js → p-066e92d1.js} +3 -3
  4. package/dist/arcgis-coding-components/{p-beb2f723.js → p-2693971c.js} +3 -3
  5. package/dist/arcgis-coding-components/{p-223fbe86.js → p-45285796.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-d3506b60.js → p-62e19edf.js} +10 -10
  7. package/dist/arcgis-coding-components/{p-50faa900.js → p-a21af5c2.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-8dfefa05.js → p-a8972f3a.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-cb3bac9e.js → p-adfb0c22.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-c8c907bf.js → p-b1c78178.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-ac96528d.js → p-c6259119.js} +2 -2
  12. package/dist/arcgis-coding-components/p-cd33d331.entry.js +6 -0
  13. package/dist/arcgis-coding-components/{p-bcc7c6e7.js → p-db6e20a4.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-712c4f1a.js → p-fb0c5ed3.js} +1 -1
  15. package/dist/cjs/{arcade-defaults-86f87dbf.js → arcade-defaults-2f99ffac.js} +80 -52
  16. package/dist/cjs/{arcade-mode-2f573fc7.js → arcade-mode-612116aa.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +71 -283
  18. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  19. package/dist/cjs/{css-c43c1312.js → css-aae58255.js} +1 -1
  20. package/dist/cjs/{cssMode-68f945ef.js → cssMode-019cdd12.js} +3 -3
  21. package/dist/cjs/{html-ad32caf5.js → html-2cd89214.js} +3 -3
  22. package/dist/cjs/{htmlMode-34c3af71.js → htmlMode-6ff065ce.js} +3 -3
  23. package/dist/cjs/{index-9680417b.js → index-7fe043a0.js} +1 -1
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-3af71f33.js → javascript-f3173b53.js} +4 -4
  26. package/dist/cjs/{jsonMode-785845b1.js → jsonMode-d07cd24b.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +3 -3
  28. package/dist/cjs/{tsMode-6d89ee5c.js → tsMode-df87047f.js} +3 -3
  29. package/dist/cjs/{typescript-db79e227.js → typescript-f555be78.js} +3 -3
  30. package/dist/components/arcade-api.js +3 -3
  31. package/dist/components/arcade-contribution.js +2 -2
  32. package/dist/components/arcade-defaults.js +17 -43
  33. package/dist/components/arcade-mode.js +2 -2
  34. package/dist/components/arcade-results.js +2 -2
  35. package/dist/components/arcade-suggestions.js +3 -3
  36. package/dist/components/arcade-variables.js +3 -3
  37. package/dist/components/arcgis-arcade-api.js +1 -1
  38. package/dist/components/arcgis-arcade-editor.js +6 -8
  39. package/dist/components/arcgis-arcade-results.js +1 -1
  40. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  41. package/dist/components/arcgis-arcade-variables.js +1 -1
  42. package/dist/components/arcgis-assets.d.ts +1 -1
  43. package/dist/components/arcgis-assets.js +1 -1
  44. package/dist/components/arcgis-code-editor.js +1 -1
  45. package/dist/components/{chunk-JHYFFIV3.js → chunk-A2KF2X73.js} +23 -226
  46. package/dist/components/code-editor.js +11 -15
  47. package/dist/components/fields.js +1 -1
  48. package/dist/components/index.js +1 -1
  49. package/dist/components/index2.js +51 -2
  50. package/dist/components/markdown.js +1 -1
  51. package/dist/components/useT9n.js +3 -3
  52. package/dist/components/utilities.js +1 -1
  53. package/dist/esm/{arcade-defaults-b38398b2.js → arcade-defaults-ab5e3060.js} +76 -53
  54. package/dist/esm/{arcade-mode-c69f900a.js → arcade-mode-a0624c39.js} +3 -3
  55. package/dist/esm/arcgis-arcade-api_6.entry.js +39 -251
  56. package/dist/esm/arcgis-coding-components.js +4 -4
  57. package/dist/esm/{css-d7e57264.js → css-e69d53db.js} +1 -1
  58. package/dist/esm/{cssMode-f3b67cc6.js → cssMode-b25ace38.js} +3 -3
  59. package/dist/esm/{html-5dde7d7f.js → html-c28124e4.js} +3 -3
  60. package/dist/esm/{htmlMode-7d0e5cb0.js → htmlMode-3d23403f.js} +3 -3
  61. package/dist/esm/{index-119ec33b.js → index-2d3020e1.js} +1 -1
  62. package/dist/esm/index.js +3 -3
  63. package/dist/esm/{javascript-7c2c7fa3.js → javascript-85f127db.js} +4 -4
  64. package/dist/esm/{jsonMode-a83c8152.js → jsonMode-37a1f491.js} +3 -3
  65. package/dist/esm/loader.js +4 -4
  66. package/dist/esm/{tsMode-b72fe3be.js → tsMode-e3a12729.js} +3 -3
  67. package/dist/esm/{typescript-a3e7b53d.js → typescript-adcf24e9.js} +3 -3
  68. package/dist/loader/cdn.js +1 -1
  69. package/dist/loader/index.cjs.js +1 -1
  70. package/dist/loader/index.es2017.js +1 -1
  71. package/dist/loader/index.js +1 -1
  72. package/dist/types/components/arcade-editor/arcade-editor.d.ts +0 -1
  73. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +2 -9
  74. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +11 -0
  75. package/dist/types/utils/profile/types.d.ts +13 -11
  76. package/dist/types/utils/profile/utils.d.ts +0 -2
  77. package/package.json +11 -11
  78. package/dist/arcgis-coding-components/p-f5e4e643.entry.js +0 -6
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.53
4
+ * v4.30.0-next.55
5
5
  */
6
- import{conf as e,language as t}from"./p-50faa900.js";import"./p-d3506b60.js";import"./p-c8c907bf.js";
6
+ import{conf as e,language as t}from"./p-a21af5c2.js";import"./p-62e19edf.js";import"./p-b1c78178.js";
7
7
  /*!-----------------------------------------------------------------------------
8
8
  * Copyright (c) Microsoft Corporation. All rights reserved.
9
9
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
@@ -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.53
4
+ * v4.30.0-next.55
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.53
4
+ * v4.30.0-next.55
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-9680417b.js');
8
+ const index = require('./index-7fe043a0.js');
9
9
 
10
10
  function _interopNamespace(e) {
11
11
  if (e && e.__esModule) return e;
@@ -120544,7 +120544,7 @@ registerLanguage({
120544
120544
  mimetypes: ["text/css"],
120545
120545
  loader: () => {
120546
120546
  {
120547
- return Promise.resolve().then(function () { return require('./css-c43c1312.js'); });
120547
+ return Promise.resolve().then(function () { return require('./css-aae58255.js'); });
120548
120548
  }
120549
120549
  }
120550
120550
  });
@@ -120562,7 +120562,7 @@ registerLanguage({
120562
120562
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120563
120563
  loader: () => {
120564
120564
  {
120565
- return Promise.resolve().then(function () { return require('./html-ad32caf5.js'); });
120565
+ return Promise.resolve().then(function () { return require('./html-2cd89214.js'); });
120566
120566
  }
120567
120567
  }
120568
120568
  });
@@ -120582,7 +120582,7 @@ registerLanguage({
120582
120582
  mimetypes: ["text/javascript"],
120583
120583
  loader: () => {
120584
120584
  {
120585
- return Promise.resolve().then(function () { return require('./javascript-3af71f33.js'); });
120585
+ return Promise.resolve().then(function () { return require('./javascript-f3173b53.js'); });
120586
120586
  }
120587
120587
  }
120588
120588
  });
@@ -120600,7 +120600,7 @@ registerLanguage({
120600
120600
  mimetypes: ["text/typescript"],
120601
120601
  loader: () => {
120602
120602
  {
120603
- return Promise.resolve().then(function () { return require('./typescript-db79e227.js'); });
120603
+ return Promise.resolve().then(function () { return require('./typescript-f555be78.js'); });
120604
120604
  }
120605
120605
  }
120606
120606
  });
@@ -120721,7 +120721,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120721
120721
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120722
120722
  function getMode$3() {
120723
120723
  {
120724
- return Promise.resolve().then(function () { return require('./cssMode-68f945ef.js'); });
120724
+ return Promise.resolve().then(function () { return require('./cssMode-019cdd12.js'); });
120725
120725
  }
120726
120726
  }
120727
120727
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120846,7 +120846,7 @@ monaco_editor_core_exports$2.languages.html = {
120846
120846
  };
120847
120847
  function getMode$2() {
120848
120848
  {
120849
- return Promise.resolve().then(function () { return require('./htmlMode-34c3af71.js'); });
120849
+ return Promise.resolve().then(function () { return require('./htmlMode-6ff065ce.js'); });
120850
120850
  }
120851
120851
  }
120852
120852
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120948,7 +120948,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120948
120948
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120949
120949
  function getMode$1() {
120950
120950
  {
120951
- return Promise.resolve().then(function () { return require('./jsonMode-785845b1.js'); });
120951
+ return Promise.resolve().then(function () { return require('./jsonMode-d07cd24b.js'); });
120952
120952
  }
120953
120953
  }
120954
120954
  monaco_editor_core_exports$1.languages.register({
@@ -121217,7 +121217,7 @@ monaco_editor_core_exports.languages.typescript = {
121217
121217
  };
121218
121218
  function getMode() {
121219
121219
  {
121220
- return Promise.resolve().then(function () { return require('./tsMode-6d89ee5c.js'); });
121220
+ return Promise.resolve().then(function () { return require('./tsMode-df87047f.js'); });
121221
121221
  }
121222
121222
  }
121223
121223
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -169015,20 +169015,6 @@ async function newFeatureLayer(definition) {
169015
169015
  }
169016
169016
  //#endregion
169017
169017
  //#region Type Guards
169018
- function isSupportedLayerInstance(item) {
169019
- return (!!item &&
169020
- typeof item === "object" &&
169021
- "declaredClass" in item &&
169022
- typeof item.declaredClass === "string" &&
169023
- item.declaredClass.startsWith("esri.layers."));
169024
- }
169025
- function isFeatureSetInstance(item) {
169026
- return (!!item &&
169027
- typeof item === "object" &&
169028
- "declaredClass" in item &&
169029
- typeof item.declaredClass === "string" &&
169030
- item.declaredClass === "esri.rest.support.FeatureSet");
169031
- }
169032
169018
  function isQueryableLayerInstance(item) {
169033
169019
  return (!!item &&
169034
169020
  typeof item === "object" &&
@@ -169078,10 +169064,10 @@ function isFeatureLayerItemDefinition(item) {
169078
169064
  return !!item && typeof item === "object" && "portalItem" in item && item.portalItem != null;
169079
169065
  }
169080
169066
  function isFieldsDefinition(item) {
169081
- return (!!item && typeof item === "object" && "fields" in item && Array.isArray(item.fields) && !("declaredClass" in item));
169067
+ return !!item && typeof item === "object" && "fields" in item && Array.isArray(item.fields);
169082
169068
  }
169083
169069
  function isUrlDefinition(item) {
169084
- return (!!item && typeof item === "object" && "url" in item && typeof item.url === "string" && !("declaredClass" in item));
169070
+ return !!item && typeof item === "object" && "url" in item && typeof item.url === "string";
169085
169071
  }
169086
169072
  function isSubtypeInstance(item) {
169087
169073
  return (!!item &&
@@ -169151,7 +169137,7 @@ async function supportedSourceFromDefinition(definition) {
169151
169137
  return null;
169152
169138
  }
169153
169139
  let source = null;
169154
- if (isSupportedLayerInstance(definition) || isFeatureSetInstance(definition) || isFieldsDefinition(definition)) {
169140
+ if (isFieldsDefinition(definition)) {
169155
169141
  source = definition;
169156
169142
  }
169157
169143
  else {
@@ -169297,6 +169283,10 @@ function getElementTheme(base) {
169297
169283
  const themeElt = closestElement(base, ":is(.calcite-mode-light, .calcite-mode-dark)");
169298
169284
  return themeElt && themeElt.classList.contains("calcite-mode-dark") ? "dark" : "light";
169299
169285
  }
169286
+ function getElementAttribute(el, prop, fallbackValue) {
169287
+ const closest = closestElement(el, `[${prop}]`);
169288
+ return closest?.getAttribute(prop) ?? fallbackValue;
169289
+ }
169300
169290
  function isElement(ref) {
169301
169291
  return ref.nodeType === Node.ELEMENT_NODE;
169302
169292
  }
@@ -169346,6 +169336,25 @@ function setFocusOnElement(ref, selector) {
169346
169336
  });
169347
169337
  }
169348
169338
 
169339
+ // src/errors.ts
169340
+ function safeCall(callback, thisContext, ...rest) {
169341
+ try {
169342
+ return callback?.call(thisContext, ...rest);
169343
+ } catch (error) {
169344
+ console.error(error, callback);
169345
+ }
169346
+ return void 0;
169347
+ }
169348
+ async function safeAsyncCall(callback, thisContext, ...rest) {
169349
+ try {
169350
+ const result = callback?.call(thisContext, ...rest);
169351
+ return result instanceof Promise ? await result : result;
169352
+ } catch (error) {
169353
+ console.error(error, callback);
169354
+ }
169355
+ return void 0;
169356
+ }
169357
+
169349
169358
  // src/guid.ts
169350
169359
  function gen(count) {
169351
169360
  let out = "";
@@ -169357,6 +169366,7 @@ function gen(count) {
169357
169366
  function generateGuid() {
169358
169367
  return [gen(2), gen(1), gen(1), gen(1), gen(3)].join("-");
169359
169368
  }
169369
+ var camelToKebab = (string) => string.replace(upperBeforeLower, (upper, remainder) => `${remainder === 0 ? "" : "-"}${upper.toLowerCase()}`);
169360
169370
  var upperBeforeLower = /[A-Z]+(?![a-z])|[A-Z]/gu;
169361
169371
  var capitalize = (string) => string.charAt(0).toUpperCase() + string.slice(1);
169362
169372
  var camelToHuman = (string) => capitalize(string.replace(upperBeforeLower, (upper, remainder) => `${remainder === 0 ? "" : " "}${upper}`));
@@ -169432,6 +169442,31 @@ var fallbackBundle = new Proxy(
169432
169442
  get: (_target, property) => camelToHuman(property.toString())
169433
169443
  }
169434
169444
  );
169445
+ function getElementLocales(element) {
169446
+ const lang = getElementAttribute(element, "lang", navigator.language || defaultLocale);
169447
+ if (supportedLocales.has(lang)) {
169448
+ return { lang, t9nLocale: lang };
169449
+ }
169450
+ const rootCode = lang.slice(0, 2);
169451
+ return { lang, t9nLocale: supportedLocales.has(rootCode) ? rootCode : defaultLocale };
169452
+ }
169453
+ function startLocaleObserver(element, assetsPath, onUpdated, assetName) {
169454
+ let result = void 0;
169455
+ const callback = () => void updateComponentLocateState(element, assetsPath, assetName).then((newResult) => {
169456
+ if (result?.lang !== newResult.lang || result.t9nLocale !== newResult.t9nLocale || result.t9nStrings !== newResult.t9nStrings)
169457
+ onUpdated(newResult);
169458
+ result = newResult;
169459
+ }).catch(console.error);
169460
+ callback();
169461
+ return observeAncestorsMutation(element, ["lang"], callback);
169462
+ }
169463
+ async function updateComponentLocateState(element, assetsPath, assetName = element.tagName.toLowerCase().replace("arcgis-", "")) {
169464
+ const { lang, t9nLocale } = getElementLocales(element);
169465
+ const t9nAssetsPath = `${assetsPath}/${assetName}/t9n`;
169466
+ const prefix = `${assetName}.t9n.`;
169467
+ const t9nStrings = await fetchT9NStringsBundle(t9nLocale, t9nAssetsPath, prefix);
169468
+ return { lang, t9nLocale, t9nStrings };
169469
+ }
169435
169470
 
169436
169471
  // src/strings.ts
169437
169472
  var doubleQuote = '"';
@@ -170409,7 +170444,7 @@ class FeatureVariable extends SourceBasedVariable {
170409
170444
  this.type = "feature";
170410
170445
  }
170411
170446
  get title() {
170412
- if (isSupportedLayerInstance(this._source)) {
170447
+ if (isTitleCapableSource(this._source)) {
170413
170448
  return this._source.title ?? "";
170414
170449
  }
170415
170450
  return { code: "feature" };
@@ -170424,7 +170459,7 @@ class FeatureVariable extends SourceBasedVariable {
170424
170459
  throw new Error("Invalid definition");
170425
170460
  }
170426
170461
  // The title group and snippet
170427
- const title = isSupportedLayerInstance(this._source) ? this._source.title ?? "" : "";
170462
+ const title = isTitleCapableSource(this._source) ? this._source.title ?? "" : "";
170428
170463
  this.variables.push(new GroupOfVariables(this._profile, title, [
170429
170464
  new ValueVariable({
170430
170465
  profile: this._profile,
@@ -170459,8 +170494,8 @@ class FeatureVariable extends SourceBasedVariable {
170459
170494
  this.variables.push(relationshipsGroup);
170460
170495
  }
170461
170496
  }
170462
- catch (e) {
170463
- console.error("Loading issue", e, this);
170497
+ catch (error) {
170498
+ console.error("Error with definition", error, this._definition);
170464
170499
  this._source = null;
170465
170500
  }
170466
170501
  finally {
@@ -170482,7 +170517,7 @@ class FeatureSetVariable extends SourceBasedVariable {
170482
170517
  this.type = "featureSet";
170483
170518
  }
170484
170519
  get title() {
170485
- if (isSupportedLayerInstance(this._source)) {
170520
+ if (isTitleCapableSource(this._source)) {
170486
170521
  return this._source.title ?? "";
170487
170522
  }
170488
170523
  return { code: "featureset" };
@@ -170510,8 +170545,8 @@ class FeatureSetVariable extends SourceBasedVariable {
170510
170545
  this.variables.push(relationshipsGroup);
170511
170546
  }
170512
170547
  }
170513
- catch (e) {
170514
- console.error("Loading issue", e, this);
170548
+ catch (error) {
170549
+ console.error("Error with definition", error, this._definition);
170515
170550
  this._source = null;
170516
170551
  }
170517
170552
  finally {
@@ -170597,8 +170632,8 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170597
170632
  const tablesGroup = new GroupOfVariables(this._profile, { code: "tables" }, this._featureSetCollections.tables);
170598
170633
  this.variables.push(headerGroup, layersGroup, tablesGroup);
170599
170634
  }
170600
- catch (e) {
170601
- console.error("Loading issue", e, this);
170635
+ catch (error) {
170636
+ console.error("Error with definition", error, this._definition);
170602
170637
  this._featureSetCollections = null;
170603
170638
  }
170604
170639
  finally {
@@ -170613,7 +170648,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170613
170648
  if (isMapInstance(this._definition)) {
170614
170649
  return await this._featureSetCollectionFromMap(this._definition);
170615
170650
  }
170616
- if (isSupportedLayerInstance(this._definition)) {
170651
+ if (isUrlDefinition(this._definition)) {
170617
170652
  return await this._featureSetCollectionFromUrl(this._definition.url);
170618
170653
  }
170619
170654
  if (isPortalItemDefinition(this._definition)) {
@@ -170621,10 +170656,6 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170621
170656
  // or Feature Service
170622
170657
  return await this._featureSetCollectionFromPortalItem(this._definition.portalItem);
170623
170658
  }
170624
- if (isUrlDefinition(this._definition)) {
170625
- // Assume that the url is pointing to a feature server
170626
- return await this._featureSetCollectionFromUrl(this._definition.url);
170627
- }
170628
170659
  return null;
170629
170660
  }
170630
170661
  async _featureSetCollectionFromMap(map) {
@@ -170781,21 +170812,13 @@ class EditorProfile extends DictionaryVariable {
170781
170812
  //#endregion
170782
170813
 
170783
170814
  function isFeatureDefinition(item) {
170784
- return (isSupportedLayerInstance(item) ||
170785
- isFeatureSetInstance(item) ||
170786
- isUrlDefinition(item) ||
170787
- isFieldsDefinition(item) ||
170788
- isFeatureLayerItemDefinition(item));
170815
+ return isUrlDefinition(item) || isFieldsDefinition(item) || isFeatureLayerItemDefinition(item);
170789
170816
  }
170790
170817
  function isFeatureSetDefinition(item) {
170791
- return (isQueryableLayerInstance(item) ||
170792
- isFeatureSetInstance(item) ||
170793
- isUrlDefinition(item) ||
170794
- isFieldsDefinition(item) ||
170795
- isFeatureLayerItemDefinition(item));
170818
+ return isUrlDefinition(item) || isFieldsDefinition(item) || isFeatureLayerItemDefinition(item);
170796
170819
  }
170797
170820
  function isFeatureSetCollectionDefinition(item) {
170798
- return isPortalItemDefinition(item) || isMapInstance(item) || isFeatureSetDefinition(item);
170821
+ return isPortalItemDefinition(item) || isMapInstance(item) || isUrlDefinition(item);
170799
170822
  }
170800
170823
  /**
170801
170824
  * Get a PredefinedProfile for a locale. If not already loaded then fetch it.
@@ -171071,6 +171094,7 @@ exports.Uri = Uri;
171071
171094
  exports.addLTRMark = addLTRMark;
171072
171095
  exports.arcade = arcade;
171073
171096
  exports.arcadeDefaults = arcadeDefaults;
171097
+ exports.camelToKebab = camelToKebab;
171074
171098
  exports.commonjsGlobal = commonjsGlobal;
171075
171099
  exports.createCommonjsModule = createCommonjsModule;
171076
171100
  exports.createFilterExpression = createFilterExpression;
@@ -171079,6 +171103,7 @@ exports.editor = editor;
171079
171103
  exports.filterCollection = filterCollection;
171080
171104
  exports.generateGuid = generateGuid;
171081
171105
  exports.generateTokensCSSForColorMap = generateTokensCSSForColorMap;
171106
+ exports.getElementLocales = getElementLocales;
171082
171107
  exports.getElementTheme = getElementTheme;
171083
171108
  exports.hasSameOrigin = hasSameOrigin;
171084
171109
  exports.importArcade = importArcade;
@@ -171089,7 +171114,10 @@ exports.main = main;
171089
171114
  exports.monaco_editor_core_star = monaco_editor_core_star;
171090
171115
  exports.observeAncestorsMutation = observeAncestorsMutation;
171091
171116
  exports.quoteString = quoteString;
171117
+ exports.safeAsyncCall = safeAsyncCall;
171118
+ exports.safeCall = safeCall;
171092
171119
  exports.setFocusOnElement = setFocusOnElement;
171093
171120
  exports.setValuesInString = setValuesInString;
171121
+ exports.startLocaleObserver = startLocaleObserver;
171094
171122
  exports.supportedFields = supportedFields;
171095
171123
  exports.typescriptDefaults = typescriptDefaults;
@@ -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.53
4
+ * v4.30.0-next.55
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-86f87dbf.js');
9
- require('./index-9680417b.js');
8
+ const arcadeDefaults = require('./arcade-defaults-2f99ffac.js');
9
+ require('./index-7fe043a0.js');
10
10
 
11
11
  var j={False:"false",Null:"null",True:"true"},f={Break:"break",Continue:"continue",Else:"else",For:"for",From:"from",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"},Fe=["++","--"],Qe=["-","+","!","~"],Ze=["=","/=","*=","%=","+=","-="],Xe=["||","&&"],Lt=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var U=[[],[],[]];Fe.forEach(t=>U[t.length-1]?.push(t));Qe.forEach(t=>U[t.length-1]?.push(t));Xe.forEach(t=>U[t.length-1]?.push(t));Ze.forEach(t=>U[t.length-1]?.push(t));Lt.forEach(t=>U[t.length-1]?.push(t));var ht=Object.values(f),dt=Object.values(j);dt.map(t=>({label:t,kind:arcadeDefaults.main.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.CompletionItemKind.Keyword}));
12
12