@arcgis/coding-components 4.30.0-next.105 → 4.30.0-next.107

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 (76) 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-f90619ec.js → p-3a21dee7.js} +2 -2
  4. package/dist/arcgis-coding-components/{p-fe9769bc.js → p-595e13d4.js} +1 -1
  5. package/dist/arcgis-coding-components/{p-d946d41a.js → p-850124a9.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-87baa4fd.js → p-9334a4e9.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-182b0a42.js → p-959beb02.js} +2 -2
  8. package/dist/arcgis-coding-components/p-9d54c1c3.entry.js +6 -0
  9. package/dist/arcgis-coding-components/{p-6b3b6a6d.js → p-bc02db01.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-ad58581f.js → p-db41118b.js} +1 -1
  11. package/dist/arcgis-coding-components/{p-8904f255.js → p-df2c7805.js} +1 -1
  12. package/dist/arcgis-coding-components/{p-99b03aee.js → p-ea06ae09.js} +2 -2
  13. package/dist/arcgis-coding-components/{p-bf4dc504.js → p-eb14b2ea.js} +2 -2
  14. package/dist/arcgis-coding-components/{p-121b6a2f.js → p-ef8deb23.js} +3 -3
  15. package/dist/arcgis-coding-components/{p-5d82265c.js → p-f2ae7349.js} +10 -10
  16. package/dist/cjs/{app-globals-bedd74fc.js → app-globals-19e4dd94.js} +1 -1
  17. package/dist/cjs/{arcade-defaults-c7ca3634.js → arcade-defaults-4367dd4a.js} +10 -10
  18. package/dist/cjs/{arcade-mode-bc447c2b.js → arcade-mode-1e5e4b56.js} +3 -3
  19. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +7 -6
  20. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  21. package/dist/cjs/{css-45f1c37b.js → css-a30f0639.js} +1 -1
  22. package/dist/cjs/{cssMode-f8058751.js → cssMode-c87e8e5f.js} +3 -3
  23. package/dist/cjs/{html-8b33f9f0.js → html-a26faf1f.js} +3 -3
  24. package/dist/cjs/{htmlMode-2a11f248.js → htmlMode-2f7f5de7.js} +3 -3
  25. package/dist/cjs/{index-d118e828.js → index-92ce4e99.js} +1 -1
  26. package/dist/cjs/index.cjs.js +3 -3
  27. package/dist/cjs/{javascript-dc4a9f73.js → javascript-edb0d94c.js} +4 -4
  28. package/dist/cjs/{jsonMode-69beec62.js → jsonMode-258f6c44.js} +3 -3
  29. package/dist/cjs/loader.cjs.js +3 -3
  30. package/dist/cjs/{tsMode-0861e969.js → tsMode-46aa3e07.js} +3 -3
  31. package/dist/cjs/{typescript-56d8ad8f.js → typescript-e82cf326.js} +3 -3
  32. package/dist/components/arcade-api.js +4 -2
  33. package/dist/components/arcade-contribution.js +1 -1
  34. package/dist/components/arcade-defaults.js +1 -1
  35. package/dist/components/arcade-mode.js +1 -1
  36. package/dist/components/arcade-results.js +4 -2
  37. package/dist/components/arcade-suggestions.js +4 -2
  38. package/dist/components/arcade-variables.js +4 -2
  39. package/dist/components/arcgis-arcade-api.js +1 -1
  40. package/dist/components/arcgis-arcade-editor.js +4 -2
  41. package/dist/components/arcgis-arcade-results.js +1 -1
  42. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  43. package/dist/components/arcgis-arcade-variables.js +1 -1
  44. package/dist/components/arcgis-assets.d.ts +1 -1
  45. package/dist/components/arcgis-assets.js +1 -1
  46. package/dist/components/arcgis-code-editor.js +1 -1
  47. package/dist/components/{chunk-IHYYRFLQ.js → chunk-2CDDVOQU.js} +4 -3
  48. package/dist/components/code-editor.js +4 -2
  49. package/dist/components/fields.js +1 -1
  50. package/dist/components/index.js +1 -1
  51. package/dist/components/index2.js +1 -1
  52. package/dist/components/markdown.js +1 -1
  53. package/dist/components/useT9n.js +2 -2
  54. package/dist/components/utilities.js +1 -1
  55. package/dist/esm/{app-globals-c6e56235.js → app-globals-11e6e3ca.js} +1 -1
  56. package/dist/esm/{arcade-defaults-3033c8ce.js → arcade-defaults-b5cce2d9.js} +10 -10
  57. package/dist/esm/{arcade-mode-3cf4fc65.js → arcade-mode-d9667d00.js} +3 -3
  58. package/dist/esm/arcgis-arcade-api_6.entry.js +7 -6
  59. package/dist/esm/arcgis-coding-components.js +4 -4
  60. package/dist/esm/{css-4c236bff.js → css-53683f4f.js} +1 -1
  61. package/dist/esm/{cssMode-a8e71599.js → cssMode-a68a6891.js} +3 -3
  62. package/dist/esm/{html-1868b065.js → html-03a1e808.js} +3 -3
  63. package/dist/esm/{htmlMode-14ce2d3e.js → htmlMode-daf43155.js} +3 -3
  64. package/dist/esm/{index-2433e7e1.js → index-56b91436.js} +1 -1
  65. package/dist/esm/index.js +3 -3
  66. package/dist/esm/{javascript-fd764d56.js → javascript-e505c996.js} +4 -4
  67. package/dist/esm/{jsonMode-1d89a804.js → jsonMode-a484fc4d.js} +3 -3
  68. package/dist/esm/loader.js +4 -4
  69. package/dist/esm/{tsMode-f097e1f1.js → tsMode-cfb513ca.js} +3 -3
  70. package/dist/esm/{typescript-bf29aeba.js → typescript-06ea4da5.js} +3 -3
  71. package/dist/loader/cdn.js +1 -1
  72. package/dist/loader/index.cjs.js +1 -1
  73. package/dist/loader/index.es2017.js +1 -1
  74. package/dist/loader/index.js +1 -1
  75. package/package.json +9 -9
  76. package/dist/arcgis-coding-components/p-5d692b61.entry.js +0 -6
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-d118e828.js');
8
+ const index = require('./index-92ce4e99.js');
9
9
 
10
10
  function _interopNamespace(e) {
11
11
  if (e && e.__esModule) return e;
@@ -120616,7 +120616,7 @@ registerLanguage({
120616
120616
  mimetypes: ["text/css"],
120617
120617
  loader: () => {
120618
120618
  {
120619
- return Promise.resolve().then(function () { return require('./css-45f1c37b.js'); });
120619
+ return Promise.resolve().then(function () { return require('./css-a30f0639.js'); });
120620
120620
  }
120621
120621
  }
120622
120622
  });
@@ -120634,7 +120634,7 @@ registerLanguage({
120634
120634
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120635
120635
  loader: () => {
120636
120636
  {
120637
- return Promise.resolve().then(function () { return require('./html-8b33f9f0.js'); });
120637
+ return Promise.resolve().then(function () { return require('./html-a26faf1f.js'); });
120638
120638
  }
120639
120639
  }
120640
120640
  });
@@ -120654,7 +120654,7 @@ registerLanguage({
120654
120654
  mimetypes: ["text/javascript"],
120655
120655
  loader: () => {
120656
120656
  {
120657
- return Promise.resolve().then(function () { return require('./javascript-dc4a9f73.js'); });
120657
+ return Promise.resolve().then(function () { return require('./javascript-edb0d94c.js'); });
120658
120658
  }
120659
120659
  }
120660
120660
  });
@@ -120672,7 +120672,7 @@ registerLanguage({
120672
120672
  mimetypes: ["text/typescript"],
120673
120673
  loader: () => {
120674
120674
  {
120675
- return Promise.resolve().then(function () { return require('./typescript-56d8ad8f.js'); });
120675
+ return Promise.resolve().then(function () { return require('./typescript-e82cf326.js'); });
120676
120676
  }
120677
120677
  }
120678
120678
  });
@@ -120793,7 +120793,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120793
120793
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120794
120794
  function getMode$3() {
120795
120795
  {
120796
- return Promise.resolve().then(function () { return require('./cssMode-f8058751.js'); });
120796
+ return Promise.resolve().then(function () { return require('./cssMode-c87e8e5f.js'); });
120797
120797
  }
120798
120798
  }
120799
120799
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120918,7 +120918,7 @@ monaco_editor_core_exports$2.languages.html = {
120918
120918
  };
120919
120919
  function getMode$2() {
120920
120920
  {
120921
- return Promise.resolve().then(function () { return require('./htmlMode-2a11f248.js'); });
120921
+ return Promise.resolve().then(function () { return require('./htmlMode-2f7f5de7.js'); });
120922
120922
  }
120923
120923
  }
120924
120924
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -121020,7 +121020,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
121020
121020
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
121021
121021
  function getMode$1() {
121022
121022
  {
121023
- return Promise.resolve().then(function () { return require('./jsonMode-69beec62.js'); });
121023
+ return Promise.resolve().then(function () { return require('./jsonMode-258f6c44.js'); });
121024
121024
  }
121025
121025
  }
121026
121026
  monaco_editor_core_exports$1.languages.register({
@@ -121289,7 +121289,7 @@ monaco_editor_core_exports.languages.typescript = {
121289
121289
  };
121290
121290
  function getMode() {
121291
121291
  {
121292
- return Promise.resolve().then(function () { return require('./tsMode-0861e969.js'); });
121292
+ return Promise.resolve().then(function () { return require('./tsMode-46aa3e07.js'); });
121293
121293
  }
121294
121294
  }
121295
121295
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.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.exports.CompletionItemKind.Constant}));ht.map(t=>({label:t,kind:arcadeDefaults.main.exports.CompletionItemKind.Keyword}));
12
12
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-d118e828.js');
11
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
10
+ const index = require('./index-92ce4e99.js');
11
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
12
12
 
13
13
  async function colorizeCode(code) {
14
14
  return await arcadeDefaults.editor.colorize(code, "arcade", { tabSize: 2 });
@@ -3958,10 +3958,11 @@ var ControllerManager = class extends GenericController {
3958
3958
  _bindLifecycleMethods() {
3959
3959
  const component = this.component;
3960
3960
  const isLit = this.isLit;
3961
+ const isStencilDistBuild = component.el === component;
3961
3962
  this._originalLifecycles = {
3962
3963
  // These component's callbacks will be called by Lit, so we don't have to
3963
- connectedCallback: isLit ? void 0 : component.connectedCallback,
3964
- disconnectedCallback: isLit ? void 0 : component.disconnectedCallback,
3964
+ connectedCallback: isLit || isStencilDistBuild ? void 0 : component.connectedCallback,
3965
+ disconnectedCallback: isLit || isStencilDistBuild ? void 0 : component.disconnectedCallback,
3965
3966
  componentWillLoad: isLit ? void 0 : component.componentWillLoad,
3966
3967
  componentDidLoad: isLit ? void 0 : component.componentDidLoad,
3967
3968
  componentWillUpdate: isLit ? void 0 : component.componentWillUpdate,
@@ -4468,7 +4469,7 @@ async function getArcadeWorker(uri) {
4468
4469
  * @returns arcade mode module
4469
4470
  */
4470
4471
  async function getMode() {
4471
- return await Promise.resolve().then(function () { return require('./arcade-mode-bc447c2b.js'); });
4472
+ return await Promise.resolve().then(function () { return require('./arcade-mode-1e5e4b56.js'); });
4472
4473
  }
4473
4474
  // Register the language in Monaco
4474
4475
  arcadeDefaults.languages.register({
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-d118e828.js');
11
- const appGlobals = require('./app-globals-bedd74fc.js');
10
+ const index = require('./index-92ce4e99.js');
11
+ const appGlobals = require('./app-globals-19e4dd94.js');
12
12
 
13
13
  /*
14
14
  Stencil Client Patch Browser v4.17.1 | 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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * 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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
11
- require('./index-d118e828.js');
10
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
11
+ require('./index-92ce4e99.js');
12
12
 
13
13
 
14
14
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const typescript = require('./typescript-56d8ad8f.js');
9
- require('./arcade-defaults-c7ca3634.js');
10
- require('./index-d118e828.js');
8
+ const typescript = require('./typescript-e82cf326.js');
9
+ require('./arcade-defaults-4367dd4a.js');
10
+ require('./index-92ce4e99.js');
11
11
 
12
12
  /*!-----------------------------------------------------------------------------
13
13
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-d118e828.js');
11
- const appGlobals = require('./app-globals-bedd74fc.js');
10
+ const index = require('./index-92ce4e99.js');
11
+ const appGlobals = require('./app-globals-19e4dd94.js');
12
12
 
13
13
  const defineCustomElements = async (win, options) => {
14
14
  if (typeof window === 'undefined') return undefined;
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-c7ca3634.js');
9
- require('./index-d118e828.js');
8
+ const arcadeDefaults = require('./arcade-defaults-4367dd4a.js');
9
+ require('./index-92ce4e99.js');
10
10
 
11
11
  /*!-----------------------------------------------------------------------------
12
12
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host, forceUpdate } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, a as colorizedAllCodeElements } from './markdown.js';
8
8
  import { f as filterCollection } from './utilities.js';
9
9
  import { Uri } from 'monaco-editor';
10
- import { u as useControllerManager } from './chunk-IHYYRFLQ.js';
10
+ import { u as useControllerManager } from './chunk-2CDDVOQU.js';
11
11
  import { e as setFocusOnElement, b as addLTRMark } from './index2.js';
12
12
  import { b as arcadeDefaults } from './arcade-defaults.js';
13
13
  import { g as getArcadeWorker } from './arcade-contribution.js';
@@ -28,6 +28,7 @@ const ArcgisArcadeApiStyle0 = arcadeApiCss;
28
28
 
29
29
  const __cmpMeta = [1,"arcgis-arcade-api",{"hideDocumentationActions":[1028,"hide-documentation-actions"],"modelId":[1025,"model-id"],"_selectedApiItem":[32],"_filterValue":[32],"_colorizeStyle":[32],"_preparingApi":[32],"_apiLibrary":[32]}];
30
30
  const ArcgisArcadeApi = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeApi extends HTMLElement {
31
+ connectedCallback() { this.manager._connectedCallback(); }
31
32
  constructor() {
32
33
  super();
33
34
  this.__registerHost();
@@ -98,6 +99,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
98
99
  await this._updateApiLibrary();
99
100
  }
100
101
  disconnectedCallback() {
102
+ this.manager._disconnectedCallback();
101
103
  this._flowObserver?.disconnect();
102
104
  this._themeChangedListner?.dispose();
103
105
  }
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { editor, languages } from 'monaco-editor';
7
7
  import { b as arcadeDefaults } from './arcade-defaults.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { Emitter, Uri } from 'monaco-editor';
7
7
  import { CompletionItemKind, InsertTextMode, InsertTextFormat } from 'vscode-languageserver-types';
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { editor, MarkerSeverity, Range, languages, Emitter } from 'monaco-editor';
7
7
  import { CompletionItemKind, DiagnosticSeverity, InsertTextFormat } from 'vscode-languageserver-types';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { g as importArcade, s as supportedFields } from './fields.js';
8
- import { u as useControllerManager } from './chunk-IHYYRFLQ.js';
8
+ import { u as useControllerManager } from './chunk-2CDDVOQU.js';
9
9
  import { s as setValuesInString, r as quoteString } from './index2.js';
10
10
  import { u as useT9n } from './useT9n.js';
11
11
  import "@esri/calcite-components/dist/components/calcite-tree.js";
@@ -302,6 +302,8 @@ function renderFeatureSetTable(arcadeResult) {
302
302
  }
303
303
  const __cmpMeta = [1,"arcgis-arcade-results",{"loading":[1028],"openedResultPanel":[1537,"opened-result-panel"],"result":[1040],"consoleLogs":[1040]}];
304
304
  const ArcgisArcadeResults = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeResults extends HTMLElement {
305
+ connectedCallback() { this.manager._connectedCallback(); }
306
+ disconnectedCallback() { this.manager._disconnectedCallback(); }
305
307
  constructor() {
306
308
  super();
307
309
  this.__registerHost();
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as generateColorizeStyles, o as onColorizeThemeChanged, c as convertMarkdownString, b as colorizeCodeElement } from './markdown.js';
8
8
  import { f as filterCollection } from './utilities.js';
9
- import { u as useControllerManager } from './chunk-IHYYRFLQ.js';
9
+ import { u as useControllerManager } from './chunk-2CDDVOQU.js';
10
10
  import { e as setFocusOnElement } from './index2.js';
11
11
  import { u as useT9n } from './useT9n.js';
12
12
  import "@esri/calcite-components/dist/components/calcite-list-item-group.js";
@@ -34,6 +34,7 @@ const ArcgisArcadeSuggestionsStyle0 = arcadeSuggestionsCss;
34
34
 
35
35
  const __cmpMeta = [1,"arcgis-arcade-suggestions",{"suggestions":[1040],"_selectedSuggestion":[32],"_filterValue":[32],"_colorizeStyle":[32]},undefined,{"suggestions":["suggestionsPropChanged"]}];
36
36
  const ArcgisArcadeSuggestions = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeSuggestions extends HTMLElement {
37
+ connectedCallback() { this.manager._connectedCallback(); }
37
38
  constructor() {
38
39
  super();
39
40
  this.__registerHost();
@@ -86,6 +87,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
86
87
  this._themeChangedListener = onColorizeThemeChanged(() => (this._colorizeStyle = generateColorizeStyles()));
87
88
  }
88
89
  disconnectedCallback() {
90
+ this.manager._disconnectedCallback();
89
91
  this._flowObserver?.disconnect();
90
92
  this._themeChangedListener?.dispose();
91
93
  }
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h } from '@stencil/core/internal/client';
7
- import { u as useControllerManager } from './chunk-IHYYRFLQ.js';
7
+ import { u as useControllerManager } from './chunk-2CDDVOQU.js';
8
8
  import { e as setFocusOnElement, d as createFilterExpression } from './index2.js';
9
9
  import { b as arcadeDefaults } from './arcade-defaults.js';
10
10
  import { u as useT9n } from './useT9n.js';
@@ -28,6 +28,7 @@ function stopEnterPropagation(e) {
28
28
  }
29
29
  const __cmpMeta = [1,"arcgis-arcade-variables",{"loading":[1028],"modelId":[1025,"model-id"],"_mutationCounter":[32],"_flowItemRenderers":[32],"_filterValue":[32]},undefined,{"modelId":["modelIdPropChanged"]}];
30
30
  const ArcgisArcadeVariables = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeVariables extends HTMLElement {
31
+ connectedCallback() { this.manager._connectedCallback(); }
31
32
  constructor() {
32
33
  super();
33
34
  this.__registerHost();
@@ -80,6 +81,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
80
81
  }
81
82
  //#endregion
82
83
  disconnectedCallback() {
84
+ this.manager._disconnectedCallback();
83
85
  this._flowObserver?.disconnect();
84
86
  }
85
87
  // #endregion
@@ -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.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { A as ArcgisArcadeApi$1, d as defineCustomElement$1 } from './arcade-api.js';
7
7
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Fragment, Host } from '@stencil/core/internal/client';
7
7
  import { KeyCode } from 'monaco-editor';
8
8
  import { d as defineCustomElement$5, e as executeScript, D as DevelopersWebSitePath } from './arcade-results.js';
9
9
  import { u as updateThemeColors, c as colorRulesKeys, s as setupMonacoEnvironment, a as getArcadeDiagnosticService } from './arcade-contribution.js';
10
- import { u as useControllerManager } from './chunk-IHYYRFLQ.js';
10
+ import { u as useControllerManager } from './chunk-2CDDVOQU.js';
11
11
  import { D as Deferred, p as generateGuid, q as getElementTheme } from './index2.js';
12
12
  import { b as arcadeDefaults } from './arcade-defaults.js';
13
13
  import { u as useT9n } from './useT9n.js';
@@ -26,6 +26,7 @@ const ArcgisArcadeEditorStyle0 = arcadeEditorCss;
26
26
 
27
27
  const __cmpMeta = [0,"arcgis-arcade-editor",{"profile":[1040],"script":[1025],"testData":[1040],"suggestions":[1040],"snippets":[1040],"hideDocumentationActions":[1028,"hide-documentation-actions"],"hideSideBar":[1028,"hide-side-bar"],"sideActionBarExpanded":[1540,"side-action-bar-expanded"],"openedSidePanel":[1537,"opened-side-panel"],"editorOptions":[1040],"editorInstance":[1040],"messages":[32],"_preparingProfile":[32],"_editorProfile":[32],"_showExecutionPanel":[32],"_resultPanel":[32],"_executingScript":[32],"_consoleLogs":[32],"_executionResult":[32],"getScript":[64],"setFocus":[64],"getEditorInstance":[64],"getTestResult":[64],"updateThemeColors":[64]},undefined,{"profile":["_profileChanged"],"testData":["_testDataChanged"],"snippets":["_snippetChanged"]}];
28
28
  const ArcgisArcadeEditor$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisArcadeEditor extends HTMLElement {
29
+ connectedCallback() { this.manager._connectedCallback(); }
29
30
  constructor() {
30
31
  super();
31
32
  this.__registerHost();
@@ -219,6 +220,7 @@ this.constructor.__registerControllers = ()=>__cmpMeta[2]??{};
219
220
  await this._codeEditorElt?.setFocus();
220
221
  }
221
222
  disconnectedCallback() {
223
+ this.manager._disconnectedCallback();
222
224
  arcadeDefaults.disposeApiContextForModel(this._modelId);
223
225
  arcadeDefaults.disposeEditorProfileForModel(this._modelId);
224
226
  while (this._disposables.length) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { A as ArcgisArcadeResults$1, d as defineCustomElement$1 } from './arcade-results.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { A as ArcgisArcadeSuggestions$1, d as defineCustomElement$1 } from './arcade-suggestions.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { A as ArcgisArcadeVariables$1, d as defineCustomElement$1 } from './arcade-variables.js';
7
7
 
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
5
- * v4.30.0-next.105
5
+ * v4.30.0-next.107
6
6
  */
7
7
  /**
8
8
  * Get the base path to where the package assets can be found.
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
5
- * v4.30.0-next.105
5
+ * v4.30.0-next.107
6
6
  */
7
7
  let resourceUrl = "https://js.arcgis.com/coding-components/next/";
8
8
  export const getArcgisAssetPath = (path) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { A as ArcgisCodeEditor$1, d as defineCustomElement$1 } from './code-editor.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.105
4
+ * v4.30.0-next.107
5
5
  */
6
6
  import { D as Deferred, g as camelToKebab, h as safeCall, j as safeAsyncCall, k as devToolsAwareTimeout } from './index2.js';
7
7
 
@@ -1022,10 +1022,11 @@ var ControllerManager = class extends GenericController {
1022
1022
  _bindLifecycleMethods() {
1023
1023
  const component = this.component;
1024
1024
  const isLit = this.isLit;
1025
+ const isStencilDistBuild = component.el === component;
1025
1026
  this._originalLifecycles = {
1026
1027
  // These component's callbacks will be called by Lit, so we don't have to
1027
- connectedCallback: isLit ? void 0 : component.connectedCallback,
1028
- disconnectedCallback: isLit ? void 0 : component.disconnectedCallback,
1028
+ connectedCallback: isLit || isStencilDistBuild ? void 0 : component.connectedCallback,
1029
+ disconnectedCallback: isLit || isStencilDistBuild ? void 0 : component.disconnectedCallback,
1029
1030
  componentWillLoad: isLit ? void 0 : component.componentWillLoad,
1030
1031
  componentDidLoad: isLit ? void 0 : component.componentDidLoad,
1031
1032
  componentWillUpdate: isLit ? void 0 : component.componentWillUpdate,