@arcgis/coding-components 4.30.0-next.65 → 4.30.0-next.68

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 (82) 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-7997a318.js → p-00b93eb8.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-a3bec97f.js → p-08eb450b.js} +1 -1
  5. package/dist/arcgis-coding-components/{p-c8bfeb61.js → p-0f02778e.js} +3 -3
  6. package/dist/arcgis-coding-components/{p-c92e90cc.js → p-278420a0.js} +1 -1
  7. package/dist/arcgis-coding-components/{p-7faa3a23.js → p-57975f9a.js} +3 -3
  8. package/dist/arcgis-coding-components/{p-de245168.js → p-5dbff29b.js} +2 -2
  9. package/dist/arcgis-coding-components/{p-0fd521a4.js → p-5ef22252.js} +10 -10
  10. package/dist/arcgis-coding-components/{p-4579acf1.js → p-8dd7c044.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-630d791d.js → p-8e5dca18.js} +3 -3
  12. package/dist/arcgis-coding-components/{p-ac459b61.js → p-c778fac3.js} +2 -2
  13. package/dist/arcgis-coding-components/p-c9de365f.entry.js +6 -0
  14. package/dist/arcgis-coding-components/{p-702a06dd.js → p-f7d63b43.js} +2 -2
  15. package/dist/cjs/{arcade-defaults-beb3f857.js → arcade-defaults-08d2de96.js} +28 -10
  16. package/dist/cjs/{arcade-mode-b37c27fd.js → arcade-mode-edbb2f1b.js} +3 -3
  17. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +11 -9
  18. package/dist/cjs/arcgis-coding-components.cjs.js +2 -2
  19. package/dist/cjs/{css-ff3eff8f.js → css-63f0cc32.js} +1 -1
  20. package/dist/cjs/{cssMode-311c3c93.js → cssMode-a604dbcb.js} +3 -3
  21. package/dist/cjs/{html-de808484.js → html-2f8142af.js} +3 -3
  22. package/dist/cjs/{htmlMode-1a3c700c.js → htmlMode-66d58406.js} +3 -3
  23. package/dist/cjs/{index-6b874a2a.js → index-0c2c6c08.js} +1 -1
  24. package/dist/cjs/index.cjs.js +3 -3
  25. package/dist/cjs/{javascript-2edcb5ad.js → javascript-7da4b533.js} +4 -4
  26. package/dist/cjs/{jsonMode-2a6c6282.js → jsonMode-4b0c9d74.js} +3 -3
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/{tsMode-baa0cf63.js → tsMode-b8a726c1.js} +3 -3
  29. package/dist/cjs/{typescript-ec16ac04.js → typescript-8bb5f906.js} +3 -3
  30. package/dist/components/arcade-api.js +2 -2
  31. package/dist/components/arcade-contribution.js +2 -2
  32. package/dist/components/arcade-defaults.js +1 -1
  33. package/dist/components/arcade-mode.js +2 -2
  34. package/dist/components/arcade-results.js +3 -3
  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 +3 -3
  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-A2KF2X73.js → chunk-63RMNUHL.js} +9 -7
  46. package/dist/components/code-editor.js +3 -3
  47. package/dist/components/fields.js +1 -1
  48. package/dist/components/index.js +1 -1
  49. package/dist/components/index2.js +19 -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-e31e3ac7.js → arcade-defaults-ffa329a0.js} +28 -11
  54. package/dist/esm/{arcade-mode-d7209523.js → arcade-mode-5ee8ab7f.js} +3 -3
  55. package/dist/esm/arcgis-arcade-api_6.entry.js +11 -9
  56. package/dist/esm/arcgis-coding-components.js +3 -3
  57. package/dist/esm/{css-657fa59c.js → css-583679fa.js} +1 -1
  58. package/dist/esm/{cssMode-d09ad49d.js → cssMode-34140067.js} +3 -3
  59. package/dist/esm/{html-30803766.js → html-30a16991.js} +3 -3
  60. package/dist/esm/{htmlMode-9d9468d7.js → htmlMode-9d5f8055.js} +3 -3
  61. package/dist/esm/{index-9d953e5a.js → index-159ce867.js} +1 -1
  62. package/dist/esm/index.js +3 -3
  63. package/dist/esm/{javascript-085ceaa4.js → javascript-7f036e4a.js} +4 -4
  64. package/dist/esm/{jsonMode-ba29ab0a.js → jsonMode-d74a44b0.js} +3 -3
  65. package/dist/esm/loader.js +3 -3
  66. package/dist/esm/{tsMode-31730b50.js → tsMode-3bc5e6b9.js} +3 -3
  67. package/dist/esm/{typescript-7ff8eddb.js → typescript-58087570.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/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
  73. package/package.json +9 -9
  74. package/dist/arcgis-coding-components/p-f1a0200f.entry.js +0 -6
  75. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
  76. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/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 +0 -0
  77. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +0 -0
  78. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
  79. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
  80. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -0
  81. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -0
  82. /package/dist/types/data/{actions-runner-1 → arcgis-web-compoments/actions-runner-1}/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -0
@@ -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.65
4
+ * v4.30.0-next.68
5
5
  */
6
6
  // src/array-utils.ts
7
7
 
@@ -329,6 +329,23 @@ function addLTRMark(value) {
329
329
  return `\u200E${value ?? ""}\u200E`;
330
330
  }
331
331
 
332
+ // src/timeouts.ts
333
+ function devToolsAwareTimeout(callback, timeout) {
334
+ const interval = timeout > longTimeoutThreshold ? longTimeoutInterval : timeout / shortTimeoutIntervals;
335
+ let elapsed = 0;
336
+ const reference = setInterval(() => {
337
+ elapsed += interval;
338
+ if (elapsed >= timeout) {
339
+ clearInterval(reference);
340
+ callback();
341
+ }
342
+ }, interval);
343
+ return reference;
344
+ }
345
+ var longTimeoutThreshold = 4e3;
346
+ var longTimeoutInterval = 2e3;
347
+ var shortTimeoutIntervals = 4;
348
+
332
349
  // src/type-guards.ts
333
350
  function isNotNull(item) {
334
351
  return item !== null;
@@ -374,4 +391,4 @@ function isURL(url) {
374
391
  }
375
392
  }
376
393
 
377
- export { Deferred as D, isNotUndefined as a, addLTRMark as b, supportedLocales as c, createFilterExpression as d, setFocusOnElement as e, fetchT9NStringsBundle as f, camelToKebab as g, safeCall as h, isNotNull as i, safeAsyncCall as j, isURL as k, hasSameOrigin as l, startLocaleObserver as m, getElementLocales as n, generateGuid as o, getElementTheme as p, quoteString as q, observeAncestorsMutation as r, setValuesInString as s, debounce as t };
394
+ export { Deferred as D, isNotUndefined as a, addLTRMark as b, supportedLocales as c, createFilterExpression as d, setFocusOnElement as e, fetchT9NStringsBundle as f, camelToKebab as g, safeCall as h, isNotNull as i, safeAsyncCall as j, devToolsAwareTimeout as k, isURL as l, hasSameOrigin as m, startLocaleObserver as n, getElementLocales as o, generateGuid as p, getElementTheme as q, quoteString as r, setValuesInString as s, observeAncestorsMutation as t, debounce as u };
@@ -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.65
4
+ * v4.30.0-next.68
5
5
  */
6
6
  import { editor } from 'monaco-editor';
7
7
  import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { m as makeController } from './chunk-A2KF2X73.js';
7
- import { m as startLocaleObserver, n as getElementLocales } from './index2.js';
6
+ import { m as makeController } from './chunk-63RMNUHL.js';
7
+ import { n as startLocaleObserver, o as getElementLocales } from './index2.js';
8
8
  import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
9
9
 
10
10
  var makeT9nController = (getAssetPath) => ({ blocking = false, name } = {}) => (
@@ -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.65
4
+ * v4.30.0-next.68
5
5
  */
6
6
  import { d as createFilterExpression } from './index2.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { g as getAssetPath } from './index-9d953e5a.js';
6
+ import { g as getAssetPath } from './index-159ce867.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-657fa59c.js');
120525
+ return import('./css-583679fa.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-30803766.js');
120543
+ return import('./html-30a16991.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-085ceaa4.js');
120563
+ return import('./javascript-7f036e4a.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-7ff8eddb.js');
120581
+ return import('./typescript-58087570.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-d09ad49d.js');
120702
+ return import('./cssMode-34140067.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-9d9468d7.js');
120827
+ return import('./htmlMode-9d5f8055.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-ba29ab0a.js');
120929
+ return import('./jsonMode-d74a44b0.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-31730b50.js');
121198
+ return import('./tsMode-3bc5e6b9.js');
121199
121199
  }
121200
121200
  }
121201
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -169486,6 +169486,23 @@ function addLTRMark(value) {
169486
169486
  return `\u200E${value ?? ""}\u200E`;
169487
169487
  }
169488
169488
 
169489
+ // src/timeouts.ts
169490
+ function devToolsAwareTimeout(callback, timeout) {
169491
+ const interval = timeout > longTimeoutThreshold ? longTimeoutInterval : timeout / shortTimeoutIntervals;
169492
+ let elapsed = 0;
169493
+ const reference = setInterval(() => {
169494
+ elapsed += interval;
169495
+ if (elapsed >= timeout) {
169496
+ clearInterval(reference);
169497
+ callback();
169498
+ }
169499
+ }, interval);
169500
+ return reference;
169501
+ }
169502
+ var longTimeoutThreshold = 4e3;
169503
+ var longTimeoutInterval = 2e3;
169504
+ var shortTimeoutIntervals = 4;
169505
+
169489
169506
  // src/type-guards.ts
169490
169507
  function isNotNull(item) {
169491
169508
  return item !== null;
@@ -171068,4 +171085,4 @@ const arcade = {
171068
171085
  setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults),
171069
171086
  };
171070
171087
 
171071
- export { KeyMod as A, monaco_editor_core_star as B, typescriptDefaults as C, Deferred as D, main as E, debounce as F, Emitter as G, IStandaloneThemeService as I, KeyCode as K, MarkerSeverity as M, Range as R, StandaloneServices as S, Uri as U, arcade as a, commonjsGlobal as b, createCommonjsModule as c, camelToKebab as d, editor as e, safeAsyncCall as f, generateTokensCSSForColorMap as g, startLocaleObserver as h, getElementLocales as i, isURL as j, hasSameOrigin as k, importRequest as l, languages as m, arcadeDefaults as n, setFocusOnElement as o, filterCollection as p, addLTRMark as q, importArcade as r, safeCall as s, generateGuid as t, getElementTheme as u, setValuesInString as v, quoteString as w, supportedFields as x, createFilterExpression as y, observeAncestorsMutation as z };
171088
+ export { observeAncestorsMutation as A, KeyMod as B, monaco_editor_core_star as C, Deferred as D, typescriptDefaults as E, main as F, debounce as G, Emitter as H, IStandaloneThemeService as I, KeyCode as K, MarkerSeverity as M, Range as R, StandaloneServices as S, Uri as U, arcade as a, commonjsGlobal as b, createCommonjsModule as c, camelToKebab as d, editor as e, safeAsyncCall as f, generateTokensCSSForColorMap as g, devToolsAwareTimeout as h, startLocaleObserver as i, getElementLocales as j, isURL as k, hasSameOrigin as l, importRequest as m, languages as n, arcadeDefaults as o, setFocusOnElement as p, filterCollection as q, addLTRMark as r, safeCall as s, importArcade as t, generateGuid as u, getElementTheme as v, setValuesInString as w, quoteString as x, supportedFields as y, createFilterExpression as z };
@@ -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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { E as main, e as editor, M as MarkerSeverity, R as Range, m as languages, F as debounce, G as Emitter } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { F as main, e as editor, M as MarkerSeverity, R as Range, n as languages, G as debounce, H as Emitter } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
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-9d953e5a.js';
7
- import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, D as Deferred, d as camelToKebab, s as safeCall, f as safeAsyncCall, h as startLocaleObserver, i as getElementLocales, j as isURL, k as hasSameOrigin, l as importRequest, m as languages, n as arcadeDefaults, U as Uri, o as setFocusOnElement, p as filterCollection, q as addLTRMark, r as importArcade, t as generateGuid, u as getElementTheme, K as KeyCode, v as setValuesInString, w as quoteString, x as supportedFields, y as createFilterExpression, R as Range, z as observeAncestorsMutation, A as KeyMod } from './arcade-defaults-e31e3ac7.js';
6
+ import { g as getAssetPath, r as registerInstance, c as createEvent, h, H as Host, a as getElement, F as Fragment } from './index-159ce867.js';
7
+ import { g as generateTokensCSSForColorMap, e as editor, S as StandaloneServices, I as IStandaloneThemeService, c as createCommonjsModule, b as commonjsGlobal, D as Deferred, d as camelToKebab, s as safeCall, f as safeAsyncCall, h as devToolsAwareTimeout, i as startLocaleObserver, j as getElementLocales, k as isURL, l as hasSameOrigin, m as importRequest, n as languages, o as arcadeDefaults, U as Uri, p as setFocusOnElement, q as filterCollection, r as addLTRMark, t as importArcade, u as generateGuid, v as getElementTheme, K as KeyCode, w as setValuesInString, x as quoteString, y as supportedFields, z as createFilterExpression, R as Range, A as observeAncestorsMutation, B as KeyMod } from './arcade-defaults-ffa329a0.js';
8
8
 
9
9
  async function colorizeCode(code) {
10
10
  return await editor.colorize(code, "arcade", { tabSize: 2 });
@@ -3715,8 +3715,11 @@ var ComponentInternals = class {
3715
3715
  originalSet.call(this, rawNewValue);
3716
3716
  else {
3717
3717
  const setters = Controller.internals.shouldBypassSetter ? emptyArray : internals.setters[name] ?? emptyArray;
3718
- for (let i = 0; i < setters.length; i++)
3718
+ for (let i = 0; i < setters.length; i++) {
3719
3719
  newValue = setters[i](newValue, oldValue, name);
3720
+ if (newValue === oldValue)
3721
+ break;
3722
+ }
3720
3723
  newValue = internals.accessorSetter[name](newValue, oldValue, name);
3721
3724
  originalSet.call(this, newValue);
3722
3725
  if (newValue !== oldValue)
@@ -3753,8 +3756,6 @@ var ComponentInternals = class {
3753
3756
  var emptyArray = [];
3754
3757
  var customAccessor = Symbol("controllersCustomAccessor");
3755
3758
  var nothing = Symbol("nothing");
3756
-
3757
- // src/ControllerManager.ts
3758
3759
  var useControllerManager = (component, forceUpdate) => new ControllerManager(component, forceUpdate);
3759
3760
  var ControllerManager = class extends GenericController {
3760
3761
  constructor(component, forceUpdate) {
@@ -4022,7 +4023,7 @@ var ControllerManager = class extends GenericController {
4022
4023
  if (this._autoDestroyTimeout !== void 0)
4023
4024
  clearTimeout(this._autoDestroyTimeout);
4024
4025
  const destroy = () => void this.destroy().catch(console.error);
4025
- this._autoDestroyTimeout = setTimeout(destroy, autoDestroyOnDisconnectTimeout);
4026
+ this._autoDestroyTimeout = devToolsAwareTimeout(destroy, autoDestroyOnDisconnectTimeout);
4026
4027
  }
4027
4028
  }
4028
4029
  // REFACTOR: replace this with a readonly:true option in @property()
@@ -4083,8 +4084,9 @@ var ControllerManager = class extends GenericController {
4083
4084
  }
4084
4085
  const genericComponent = this.component;
4085
4086
  const value = genericComponent[name];
4087
+ const isStencilHotReload = "production" !== "production" ;
4086
4088
  const initialSet = getSet.initialSet ?? true;
4087
- if (value != null && value !== defaultValue && typeof getSet.set === "function" && initialSet) {
4089
+ if (value != null && value !== defaultValue && typeof getSet.set === "function" && initialSet && !isStencilHotReload) {
4088
4090
  const newValue = getSet.set(value, defaultValue, name);
4089
4091
  if (newValue !== value)
4090
4092
  if (this.isLit)
@@ -4370,7 +4372,7 @@ async function getArcadeWorker(uri) {
4370
4372
  * @returns arcade mode module
4371
4373
  */
4372
4374
  async function getMode() {
4373
- return await import('./arcade-mode-d7209523.js');
4375
+ return await import('./arcade-mode-5ee8ab7f.js');
4374
4376
  }
4375
4377
  // Register the language in Monaco
4376
4378
  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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-9d953e5a.js';
7
- export { s as setNonce } from './index-9d953e5a.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-159ce867.js';
7
+ export { s as setNonce } from './index-159ce867.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.65
4
+ * v4.30.0-next.68
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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- export { a as arcade } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ export { a as arcade } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-7ff8eddb.js';
7
- import './arcade-defaults-e31e3ac7.js';
8
- import './index-9d953e5a.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-58087570.js';
7
+ import './arcade-defaults-ffa329a0.js';
8
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { b as bootstrapLazy } from './index-9d953e5a.js';
7
- export { s as setNonce } from './index-9d953e5a.js';
6
+ import { b as bootstrapLazy } from './index-159ce867.js';
7
+ export { s as setNonce } from './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { C as typescriptDefaults, B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { E as typescriptDefaults, C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
5
5
  */
6
- import { B as monaco_editor_core_star } from './arcade-defaults-e31e3ac7.js';
7
- import './index-9d953e5a.js';
6
+ import { C as monaco_editor_core_star } from './arcade-defaults-ffa329a0.js';
7
+ import './index-159ce867.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.65
4
+ * v4.30.0-next.68
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.65
4
+ * v4.30.0-next.68
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.65
4
+ * v4.30.0-next.68
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.65
4
+ * v4.30.0-next.68
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';
@@ -0,0 +1,3 @@
1
+ import type { Config } from "../../../../../../../../../../stencil-public-runtime";
2
+ declare const config: Config;
3
+ export { config };
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.65",
5
+ "version": "4.30.0-next.68",
6
6
  "module": "dist/components/index.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -47,19 +47,19 @@
47
47
  "generate": "stencil generate"
48
48
  },
49
49
  "dependencies": {
50
- "@arcgis/arcade-languageservice": "4.30.0-next.65",
51
- "@arcgis/components-controllers": "4.30.0-next.65",
52
- "@arcgis/components-utils": "4.30.0-next.65",
50
+ "@arcgis/arcade-languageservice": "4.30.0-next.68",
51
+ "@arcgis/components-controllers": "4.30.0-next.68",
52
+ "@arcgis/components-utils": "4.30.0-next.68",
53
53
  "@stencil/core": "4.9.0",
54
54
  "monaco-editor": "0.45.0",
55
55
  "vscode-languageserver-types": "^3.17.5"
56
56
  },
57
57
  "devDependencies": {
58
- "@arcgis/components-plugins": "4.30.0-next.65",
58
+ "@arcgis/components-plugins": "4.30.0-next.68",
59
59
  "@arcgis/core": ">=4.30.0-next <4.31",
60
- "@arcgis/core-adapter": "4.30.0-next.65",
61
- "@arcgis/storybook-utils": "4.30.0-next.65",
62
- "@arcgis/typescript-config": "4.30.0-next.65",
60
+ "@arcgis/core-adapter": "4.30.0-next.68",
61
+ "@arcgis/storybook-utils": "4.30.0-next.68",
62
+ "@arcgis/typescript-config": "4.30.0-next.68",
63
63
  "@esri/calcite-components": "^2.8.0",
64
64
  "@stencil/angular-output-target": "0.8.4",
65
65
  "@stencil/react-output-target": "0.5.3",
@@ -96,5 +96,5 @@
96
96
  "@arcgis/core": ">=4.30.0-next <4.31",
97
97
  "@esri/calcite-components": ">=2.8.0 <3.0.0"
98
98
  },
99
- "gitHead": "40a2e44a721d31cc20f4d8c898a151e371c026fa"
99
+ "gitHead": "22abae5b6a4e02e22b6be3f20704eb1c781f4188"
100
100
  }