@arcgis/coding-components 4.30.0-next.48 → 4.30.0-next.49

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 (74) 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-47052799.js → p-00583f5a.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-9fe5cc32.js → p-384b88cc.js} +2 -2
  5. package/dist/arcgis-coding-components/{p-fb2e7a5f.js → p-523db1e4.js} +10 -10
  6. package/dist/arcgis-coding-components/{p-e5196615.js → p-59f2dedc.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-01053433.js → p-82321ce1.js} +2 -2
  8. package/dist/arcgis-coding-components/{p-28b2dc74.js → p-82c4966b.js} +3 -3
  9. package/dist/arcgis-coding-components/{p-1db5201d.js → p-8d013f83.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-ab093966.js → p-9054397c.js} +2 -2
  11. package/dist/arcgis-coding-components/p-905b1583.js +7 -0
  12. package/dist/arcgis-coding-components/{p-44e721ed.js → p-9859037c.js} +1 -1
  13. package/dist/arcgis-coding-components/{p-8d7149fa.js → p-d32ebf93.js} +2 -2
  14. package/dist/arcgis-coding-components/p-fe90777a.entry.js +6 -0
  15. package/dist/cjs/{arcade-defaults-21ac6e84.js → arcade-defaults-c09aa6ca.js} +10 -10
  16. package/dist/cjs/{arcade-mode-fac05e67.js → arcade-mode-f43455a9.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +7 -8
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{css-8ad7537c.js → css-d565ba31.js} +1 -1
  20. package/dist/cjs/{cssMode-eea8b359.js → cssMode-0c9ea16a.js} +3 -3
  21. package/dist/cjs/{html-0de324ee.js → html-bbac75a5.js} +3 -3
  22. package/dist/cjs/{htmlMode-98762d04.js → htmlMode-275dad7c.js} +3 -3
  23. package/dist/cjs/{index-dbf19c86.js → index-97b5c264.js} +1 -7
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-225afafb.js → javascript-3bc3e94b.js} +4 -4
  26. package/dist/cjs/{jsonMode-b9e23277.js → jsonMode-358b250b.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/{tsMode-0d391a5b.js → tsMode-10794c88.js} +3 -3
  29. package/dist/cjs/{typescript-5f82ee9a.js → typescript-a3afcaae.js} +3 -3
  30. package/dist/components/arcade-api.js +2 -2
  31. package/dist/components/arcade-contribution.js +1 -1
  32. package/dist/components/arcade-defaults.js +1 -1
  33. package/dist/components/arcade-mode.js +1 -1
  34. package/dist/components/arcade-results.js +2 -2
  35. package/dist/components/arcade-suggestions.js +2 -2
  36. package/dist/components/arcade-variables.js +2 -2
  37. package/dist/components/arcgis-arcade-api.js +1 -1
  38. package/dist/components/arcgis-arcade-editor.js +2 -2
  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-754TVXIU.js → chunk-27DTPISK.js} +4 -5
  46. package/dist/components/code-editor.js +2 -2
  47. package/dist/components/fields.js +1 -1
  48. package/dist/components/index.js +1 -1
  49. package/dist/components/index2.js +1 -1
  50. package/dist/components/markdown.js +1 -1
  51. package/dist/components/useT9n.js +2 -2
  52. package/dist/components/utilities.js +1 -1
  53. package/dist/esm/{arcade-defaults-f8cd9e18.js → arcade-defaults-0903c8e4.js} +10 -10
  54. package/dist/esm/{arcade-mode-e6822415.js → arcade-mode-6bc35b9a.js} +3 -3
  55. package/dist/esm/arcgis-arcade-api_6.entry.js +7 -8
  56. package/dist/esm/arcgis-coding-components.js +3 -3
  57. package/dist/esm/{css-f5040596.js → css-549e7ecd.js} +1 -1
  58. package/dist/esm/{cssMode-3557d5fc.js → cssMode-63059930.js} +3 -3
  59. package/dist/esm/{html-6b076c4a.js → html-03b9ab7d.js} +3 -3
  60. package/dist/esm/{htmlMode-6b689aeb.js → htmlMode-ae2b0579.js} +3 -3
  61. package/dist/esm/{index-0b35a7aa.js → index-88cb51ca.js} +1 -7
  62. package/dist/esm/index.js +3 -3
  63. package/dist/esm/{javascript-e4c1e8ff.js → javascript-df9e60b6.js} +4 -4
  64. package/dist/esm/{jsonMode-b9ebc4da.js → jsonMode-e0f3f4e6.js} +3 -3
  65. package/dist/esm/loader.js +3 -3
  66. package/dist/esm/{tsMode-ed4400fc.js → tsMode-4477deb0.js} +3 -3
  67. package/dist/esm/{typescript-ec6348b6.js → typescript-4ca85521.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/package.json +9 -9
  73. package/dist/arcgis-coding-components/p-836e6d3b.js +0 -7
  74. package/dist/arcgis-coding-components/p-ca924bde.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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { g as getAssetPath } from './index-0b35a7aa.js';
6
+ import { g as getAssetPath } from './index-88cb51ca.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-f5040596.js');
120525
+ return import('./css-549e7ecd.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-6b076c4a.js');
120543
+ return import('./html-03b9ab7d.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-e4c1e8ff.js');
120563
+ return import('./javascript-df9e60b6.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-ec6348b6.js');
120581
+ return import('./typescript-4ca85521.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-3557d5fc.js');
120702
+ return import('./cssMode-63059930.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-6b689aeb.js');
120827
+ return import('./htmlMode-ae2b0579.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-b9ebc4da.js');
120929
+ return import('./jsonMode-e0f3f4e6.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-ed4400fc.js');
121198
+ return import('./tsMode-4477deb0.js');
121199
121199
  }
121200
121200
  }
121201
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { y as main, e as editor, M as MarkerSeverity, R as Range, l as languages, z as debounce, E as Emitter } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { y as main, e as editor, M as MarkerSeverity, R as Range, l as languages, z as debounce, E as Emitter } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.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
 
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { g as getAssetPath, r as registerInstance, c as createEvent, h, H as Host, a as getElement, F as Fragment } from './index-0b35a7aa.js';
7
- import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as isURL, h as hasSameOrigin, d as importRequest, l as languages, f as arcadeDefaults, U as Uri, s as setFocusOnElement, j as filterCollection, k as addLTRMark, m as importArcade, D as Deferred$1, n as generateGuid, o as getElementTheme, K as KeyCode, p as setValuesInString, q as quoteString, r as supportedFields, t as createFilterExpression, R as Range, u as observeAncestorsMutation$1, v as KeyMod } from './arcade-defaults-f8cd9e18.js';
6
+ import { g as getAssetPath, r as registerInstance, c as createEvent, h, H as Host, a as getElement, F as Fragment } from './index-88cb51ca.js';
7
+ import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, i as isURL, h as hasSameOrigin, d as importRequest, l as languages, f as arcadeDefaults, U as Uri, s as setFocusOnElement, j as filterCollection, k as addLTRMark, m as importArcade, D as Deferred$1, n as generateGuid, o as getElementTheme, K as KeyCode, p as setValuesInString, q as quoteString, r as supportedFields, t as createFilterExpression, R as Range, u as observeAncestorsMutation$1, v as KeyMod } from './arcade-defaults-0903c8e4.js';
8
8
 
9
9
  async function colorizeCode(code) {
10
10
  return await editor.colorize(code, "arcade", { tabSize: 2 });
@@ -3876,16 +3876,14 @@ var ComponentInternals = class {
3876
3876
  }, defaultValue);
3877
3877
  return defaultValue;
3878
3878
  };
3879
- this.trackPropKey = (onResolved, defaultValue, ignoreDefaultValueMismatch = false) => {
3879
+ this.trackPropKey = (onResolved, defaultValue) => {
3880
3880
  if (this._trackedValue !== nothing && this._trackedValue !== defaultValue)
3881
3881
  this._firePropertyTrackers(void 0, void 0, void 0);
3882
3882
  if (this._keyTrackers.length === 0)
3883
3883
  queueMicrotask(() => this._firePropertyTrackers(void 0, void 0, void 0));
3884
3884
  this._trackedValue = defaultValue;
3885
3885
  this._keyTrackers.push(
3886
- (key, value, previousValue) => safeCall(
3887
- () => onResolved(defaultValue === value || ignoreDefaultValueMismatch ? key : void 0, previousValue)
3888
- )
3886
+ (key, value, previousValue) => safeCall(() => onResolved(defaultValue === value ? key : void 0, previousValue))
3889
3887
  );
3890
3888
  return defaultValue;
3891
3889
  };
@@ -4258,6 +4256,7 @@ var ControllerManager = class extends GenericController {
4258
4256
  this._controllers.forEach(
4259
4257
  (controller) => "triggerDestroy" in controller ? controller.triggerDestroy() : safeCall(() => controller.hostDestroy?.())
4260
4258
  );
4259
+ this._controllers.clear();
4261
4260
  await this._originalLifecycles.destroy?.call(this.component);
4262
4261
  }
4263
4262
  _autoDestroyDisabledWatcher() {
@@ -4515,7 +4514,7 @@ async function getArcadeWorker(uri) {
4515
4514
  * @returns arcade mode module
4516
4515
  */
4517
4516
  async function getMode() {
4518
- return await import('./arcade-mode-e6822415.js');
4517
+ return await import('./arcade-mode-6bc35b9a.js');
4519
4518
  }
4520
4519
  // Register the language in Monaco
4521
4520
  languages.register({
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-0b35a7aa.js';
7
- export { s as setNonce } from './index-0b35a7aa.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-88cb51ca.js';
7
+ export { s as setNonce } from './index-88cb51ca.js';
8
8
 
9
9
  /*
10
10
  Stencil Client Patch Browser v4.9.0 | MIT Licensed | https://stenciljs.com
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  /*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
@@ -1119,9 +1119,6 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1119
1119
  maybePromise = safeCall(instance, 'componentWillUpdate');
1120
1120
  }
1121
1121
  }
1122
- {
1123
- maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
1124
- }
1125
1122
  endSchedule();
1126
1123
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1127
1124
  };
@@ -1246,9 +1243,6 @@ const postUpdateComponent = (hostRef) => {
1246
1243
  const endPostUpdate = createTime('postUpdate', tagName);
1247
1244
  const instance = hostRef.$lazyInstance$ ;
1248
1245
  const ancestorComponent = hostRef.$ancestorComponent$;
1249
- {
1250
- safeCall(instance, 'componentDidRender');
1251
- }
1252
1246
  if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1253
1247
  hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1254
1248
  {
package/dist/esm/index.js CHANGED
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- export { a as arcade } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ export { a as arcade } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-ec6348b6.js';
7
- import './arcade-defaults-f8cd9e18.js';
8
- import './index-0b35a7aa.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-4ca85521.js';
7
+ import './arcade-defaults-0903c8e4.js';
8
+ import './index-88cb51ca.js';
9
9
 
10
10
  /*!-----------------------------------------------------------------------------
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { b as bootstrapLazy } from './index-0b35a7aa.js';
7
- export { s as setNonce } from './index-0b35a7aa.js';
6
+ import { b as bootstrapLazy } from './index-88cb51ca.js';
7
+ export { s as setNonce } from './index-88cb51ca.js';
8
8
 
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return undefined;
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { x as typescriptDefaults, w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { x as typescriptDefaults, w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
- import { w as monaco_editor_core_star } from './arcade-defaults-f8cd9e18.js';
7
- import './index-0b35a7aa.js';
6
+ import { w as monaco_editor_core_star } from './arcade-defaults-0903c8e4.js';
7
+ import './index-88cb51ca.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.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.48
4
+ * v4.30.0-next.49
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@arcgis/coding-components",
3
3
  "description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
4
4
  "homepage": "https://developers.arcgis.com/javascript/latest/",
5
- "version": "4.30.0-next.48",
5
+ "version": "4.30.0-next.49",
6
6
  "module": "dist/components/index.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -48,19 +48,19 @@
48
48
  "generate": "stencil generate"
49
49
  },
50
50
  "dependencies": {
51
- "@arcgis/arcade-languageservice": "4.30.0-next.48",
51
+ "@arcgis/arcade-languageservice": "4.30.0-next.49",
52
52
  "@stencil/core": "4.9.0",
53
53
  "monaco-editor": "0.45.0",
54
54
  "vscode-languageserver-types": "^3.17.5"
55
55
  },
56
56
  "devDependencies": {
57
- "@arcgis/components-controllers": "4.30.0-next.48",
58
- "@arcgis/components-plugins": "4.30.0-next.48",
59
- "@arcgis/components-utils": "4.30.0-next.48",
57
+ "@arcgis/components-controllers": "4.30.0-next.49",
58
+ "@arcgis/components-plugins": "4.30.0-next.49",
59
+ "@arcgis/components-utils": "4.30.0-next.49",
60
60
  "@arcgis/core": ">=4.30.0-next <4.31",
61
- "@arcgis/core-adapter": "4.30.0-next.48",
62
- "@arcgis/storybook-utils": "4.30.0-next.48",
63
- "@arcgis/typescript-config": "4.30.0-next.48",
61
+ "@arcgis/core-adapter": "4.30.0-next.49",
62
+ "@arcgis/storybook-utils": "4.30.0-next.49",
63
+ "@arcgis/typescript-config": "4.30.0-next.49",
64
64
  "@esri/calcite-components": "^2.7.1",
65
65
  "@stencil/angular-output-target": "0.8.4",
66
66
  "@stencil/react-output-target": "0.5.3",
@@ -97,5 +97,5 @@
97
97
  "@arcgis/core": ">=4.30.0-next <4.31",
98
98
  "@esri/calcite-components": ">=2.2.0 <3.0.0"
99
99
  },
100
- "gitHead": "d1a7ccdf31f6fdc81337f182af64cb4b0470464b"
100
+ "gitHead": "b279c84e54ee132420a40fba01b38eccd6595c62"
101
101
  }
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.48
5
- */
6
- let n,e,t=!1;const l=n=>{const e=new URL(n,rn.t);return e.origin!==sn.location.origin?e.href:e.pathname},o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s="http://www.w3.org/1999/xlink",i={},c=n=>"object"==(n=typeof n)||"function"===n;function r(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const u=(n,e,...t)=>{let l=null,o=null,s=!1,i=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!c(l))&&(l+=""),s&&i?r[r.length-1].l+=l:r.push(s?a(null,l):l),i=s)};if(u(t),e){e.key&&(o=e.key);{const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}}if("function"==typeof n)return n(null===e?{}:e,r,d);const f=a(n,null);return f.o=e,r.length>0&&(f.i=r),f.u=o,f},a=(n,e)=>({v:0,p:n,l:e,m:null,i:null,o:null,u:null}),f={},d={forEach:(n,e)=>n.map(v).forEach(e),map:(n,e)=>n.map(v).map(e).map(p)},v=n=>({vattrs:n.o,vchildren:n.i,vkey:n.u,vname:n.h,vtag:n.p,vtext:n.l}),p=n=>{if("function"==typeof n.vtag){const e=Object.assign({},n.vattrs);return n.vkey&&(e.key=n.vkey),n.vname&&(e.name=n.vname),u(n.vtag,e,...n.vchildren||[])}const e=a(n.vtag,n.vtext);return e.o=n.vattrs,e.i=n.vchildren,e.u=n.vkey,e.h=n.vname,e},y=n=>X(n).$hostElement$,m=(n,e,t)=>{const l=y(n);return{emit:n=>h(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},h=(n,e,t)=>{const l=rn.ce(e,t);return n.dispatchEvent(l),l},$=new WeakMap,b=n=>"sc-"+n.$,w=(n,e,t,l,o,i)=>{if(t!==l){let r=nn(n,e),u=e.toLowerCase();if("class"===e){const e=n.classList,o=k(t),s=k(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===e){for(const e in t)l&&null!=l[e]||(e.includes("-")?n.style.removeProperty(e):n.style[e]="");for(const e in l)t&&l[e]===t[e]||(e.includes("-")?n.style.setProperty(e,l[e]):n.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(n);else if(r||"o"!==e[0]||"n"!==e[1]){const a=c(l);if((r||a&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?r=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==l||!1===l?!1===l&&""!==n.getAttribute(e)||(f?n.removeAttributeNS(s,e):n.removeAttribute(e)):(!r||4&i||o)&&!a&&(l=!0===l?"":l,f?n.setAttributeNS(s,e,l):n.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):nn(sn,u)?u.slice(2):u[2]+e.slice(3),t||l){const o=e.endsWith(S);e=e.replace(j,""),t&&rn.rel(n,e,t,o),l&&rn.ael(n,e,l,o)}}},g=/\s/,k=n=>n?n.split(g):[],S="Capture",j=RegExp(S+"$"),O=(n,e,t,l)=>{const o=11===e.m.nodeType&&e.m.host?e.m.host:e.m,s=n&&n.o||i,c=e.o||i;for(l in s)l in c||w(o,l,s[l],void 0,t,e.v);for(l in c)w(o,l,s[l],c[l],t,e.v)},C=(t,l,o)=>{const s=l.i[o];let i,c,r=0;if(null!==s.l)i=s.m=cn.createTextNode(s.l);else if(i=s.m=cn.createElement(s.p),O(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.i)for(r=0;r<s.i.length;++r)c=C(t,s,r),c&&i.appendChild(c);return i["s-hn"]=e,i},M=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=C(null,l,s),c&&(o[s].m=c,r.insertBefore(c,t)))},x=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.m;E(e),n&&n.remove()}}},P=(n,e,t=!1)=>n.p===e.p&&(!!t||n.u===e.u),R=(n,e,t=!1)=>{const l=e.m=n.m,o=n.i,s=e.i,i=e.l;null===i?(O(n,e,!1),null!==o&&null!==s?((n,e,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,a=0,f=e.length-1,d=e[0],v=e[f],p=l.length-1,y=l[0],m=l[p];for(;c<=f&&r<=p;)if(null==d)d=e[++c];else if(null==v)v=e[--f];else if(null==y)y=l[++r];else if(null==m)m=l[--p];else if(P(d,y,o))R(d,y,o),d=e[++c],y=l[++r];else if(P(v,m,o))R(v,m,o),v=e[--f],m=l[--p];else if(P(d,m,o))R(d,m,o),n.insertBefore(d.m,v.m.nextSibling),d=e[++c],m=l[--p];else if(P(v,y,o))R(v,y,o),n.insertBefore(v.m,d.m),v=e[--f],y=l[++r];else{for(u=-1,a=c;a<=f;++a)if(e[a]&&null!==e[a].u&&e[a].u===y.u){u=a;break}u>=0?(i=e[u],i.p!==y.p?s=C(e&&e[r],t,u):(R(i,y,o),e[u]=void 0,s=i.m),y=l[++r]):(s=C(e&&e[r],t,r),y=l[++r]),s&&d.m.parentNode.insertBefore(s,d.m)}c>f?M(n,null==l[p+1]?null:l[p+1].m,t,l,r,p):r>p&&x(e,c,f)})(l,o,e,s,t):null!==s?(null!==n.l&&(l.textContent=""),M(l,null,e,s,0,s.length-1)):null!==o&&x(o,0,o.length-1)):n.l!==i&&(l.data=i)},E=n=>{n.o&&n.o.ref&&n.o.ref(null),n.i&&n.i.map(E)},L=(n,e)=>{e&&!n.k&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.k=e)))},U=(n,e)=>{if(n.v|=16,!(4&n.v))return L(n,n.S),hn((()=>W(n,e)));n.v|=512},W=(n,e)=>{const t=n.j;let l;return l=V(t,e?"componentWillLoad":"componentWillUpdate"),l=A(l,(()=>V(t,"componentWillRender"))),A(l,(()=>N(n,t,e)))},A=(n,e)=>D(n)?n.then(e):e(),D=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,N=async(n,e,t)=>{var l;const s=n.$hostElement$,i=s["s-rc"];t&&(n=>{const e=n.O,t=n.$hostElement$,l=e.v,s=((n,e)=>{var t;const l=b(e),s=on.get(l);if(n=11===n.nodeType?n:cn,s)if("string"==typeof s){let i,c=$.get(n=n.head||n);if(c||$.set(n,c=new Set),!c.has(l)){{i=cn.createElement("style"),i.innerHTML=s;const e=null!==(t=rn.C)&&void 0!==t?t:r(cn);null!=e&&i.setAttribute("nonce",e),n.insertBefore(i,n.querySelector("link"))}4&e.v&&(i.innerHTML+=o),c&&c.add(l)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(n);T(n,e,s,t),i&&(i.map((n=>n())),s["s-rc"]=void 0);{const e=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>F(n);0===e.length?t():(Promise.all(e).then(t),n.v|=4,e.length=0)}},T=(t,l,o,s)=>{try{l=l.render(),t.v&=-17,t.v|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.O,c=t.M||a(null,null),r=(n=>n&&n.p===f)(l)?l:u(null,null,l);if(e=s.tagName,i.P&&(r.o=r.o||{},i.P.map((([n,e])=>r.o[e]=s[n]))),o&&r.o)for(const n of Object.keys(r.o))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(r.o[n]=s[n]);r.p=null,r.v|=4,t.M=r,r.m=c.m=s.shadowRoot||s,n=s["s-sc"],R(c,r,o)})(t,l,s)}catch(n){en(n,t.$hostElement$)}return null},F=n=>{const e=n.$hostElement$,t=n.j,l=n.S;V(t,"componentDidRender"),64&n.v?V(t,"componentDidUpdate"):(n.v|=64,_(e),V(t,"componentDidLoad"),n.R(e),l||q()),n.L(e),n.k&&(n.k(),n.k=void 0),512&n.v&&mn((()=>U(n,!1))),n.v&=-517},H=n=>{{const e=X(n),t=e.$hostElement$.isConnected;return t&&2==(18&e.v)&&U(e,!1),t}},q=()=>{_(cn.documentElement),mn((()=>h(sn,"appload",{detail:{namespace:"arcgis-coding-components"}})))},V=(n,e,t)=>{if(n&&n[e])try{return n[e](t)}catch(n){en(n)}},_=n=>n.setAttribute("hydrated",""),z=(n,e,t)=>{var l;const o=n.prototype;if(e.U){n.watchers&&(e.W=n.watchers);const s=Object.entries(e.U);if(s.map((([n,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,n,{get(){return((n,e)=>X(this).A.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=X(n),s=o.$hostElement$,i=o.A.get(e),r=o.v,u=o.j;if(t=((n,e)=>null==n||c(n)?n:4&e?"false"!==n&&(""===n||!!n):1&e?n+"":n)(t,l.U[e][0]),(!(8&r)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.A.set(e,t),u)){if(l.W&&128&r){const n=l.W[e];n&&n.map((n=>{try{u[n](t,i,e)}catch(n){en(n,s)}}))}if(2==(18&r)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(t,i,e))return;U(o,!1)}}})(this,n,t,e)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,n,{value(...e){var t;const l=X(this);return null===(t=null==l?void 0:l.D)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.j)||void 0===t?void 0:t[n](...e)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(n,l,s){rn.jmp((()=>{var i;const c=t.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=X(this),o=null==t?void 0:t.v;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=e.W)||void 0===i?void 0:i[n];null==c||c.forEach((e=>{null!=o[e]&&o[e].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.W)&&void 0!==l?l:{}),...s.filter((([n,e])=>15&e[0])).map((([n,l])=>{var o;const s=l[1]||n;return t.set(s,n),512&l[0]&&(null===(o=e.P)||void 0===o||o.push([n,s])),s}))]))}}return n},B=n=>{V(n,"connectedCallback")},G=n=>{V(n,"disconnectedCallback")},I=(n,e={})=>{var t;const l=[],s=e.exclude||[],i=sn.customElements,c=cn.head,u=c.querySelector("meta[charset]"),a=cn.createElement("style"),f=[];let d,v=!0;Object.assign(rn,e),rn.t=new URL(e.resourcesUrl||"./",cn.baseURI).href;let p=!1;if(n.map((n=>{n[1].map((e=>{var t;const o={v:e[0],$:e[1],U:e[2],N:e[3]};4&o.v&&(p=!0),o.U=e[2],o.P=[],o.W=null!==(t=e[4])&&void 0!==t?t:{};const c=o.$,r=class extends HTMLElement{constructor(n){super(n),Z(n=this,o),1&o.v&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):rn.jmp((()=>(n=>{if(0==(1&rn.v)){const e=X(n),t=e.O,l=()=>{};if(1&e.v)(null==e?void 0:e.j)?B(e.j):(null==e?void 0:e.T)&&e.T.then((()=>B(e.j)));else{e.v|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){L(e,e.S=t);break}}t.U&&Object.entries(t.U).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.v)){e.v|=32;{if(l=ln(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(t.W=l.watchers,z(l,t,2),l.isProxied=!0);const n=()=>{};e.v|=8;try{l.__forceUpdate=H,l.__registerControllers=n=>(Y(n,e),e.O.U??{}),new l(e),l.__registerControllers=void 0}catch(n){en(n)}e.v&=-9,e.v|=128,n(),B(e.j)}if(l.style){let n=l.style;const e=b(t);if(!on.has(e)){const l=()=>{};((n,e,t)=>{let l=on.get(n);an&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,on.set(n,l)})(e,n,!!(1&t.v)),l()}}}const o=e.S,s=()=>U(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){rn.jmp((()=>(async()=>{if(0==(1&rn.v)){const n=X(this);(null==n?void 0:n.j)?G(n.j):(null==n?void 0:n.T)&&n.T.then((()=>G(n.j)))}})()))}componentOnReady(){return X(this).T}};o.F=n[0],s.includes(c)||i.get(c)||(l.push(c),i.define(c,z(r,o,1)))}))})),p&&(a.innerHTML+=o),a.innerHTML+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(t=rn.C)&&void 0!==t?t:r(cn);null!=n&&a.setAttribute("nonce",n),c.insertBefore(a,u?u.nextSibling:c.firstChild)}v=!1,f.length?f.map((n=>n.connectedCallback())):rn.jmp((()=>d=setTimeout(q,30)))},J=(n,e)=>e,K=n=>rn.C=n,Q=new WeakMap,X=n=>Q.get(n),Y=(n,e)=>Q.set(e.j=n,e),Z=(n,e)=>{const t={v:0,$hostElement$:n,O:e,A:new Map};return t.D=new Promise((n=>t.L=n)),t.T=new Promise((n=>t.R=n)),n["s-p"]=[],n["s-rc"]=[],Q.set(n,t)},nn=(n,e)=>e in n,en=(n,e)=>(0,console.error)(n,e),tn=new Map,ln=n=>{const e=n.$.replace(/-/g,"_"),t=n.F,l=tn.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(tn.set(t,n),n[e])),en)
7
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},on=new Map,sn="undefined"!=typeof window?window:{},cn=sn.document||{head:{}},rn={v:0,t:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},un=n=>Promise.resolve(n),an=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),fn=[],dn=[],vn=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&rn.v?mn(yn):rn.raf(yn))},pn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){en(n)}n.length=0},yn=()=>{pn(fn),pn(dn),(t=fn.length>0)&&rn.raf(yn)},mn=n=>un().then(n),hn=vn(dn,!0);export{J as F,f as H,y as a,I as b,m as c,l as g,u as h,un as p,Y as r,K as s}