@arcgis/coding-components 4.30.0-next.99 → 4.30.0

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 (121) hide show
  1. package/README.md +22 -3
  2. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  3. package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +1 -1
  4. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +1 -1
  5. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +1 -1
  6. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +1 -1
  7. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +6 -6
  8. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +1 -1
  9. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +1 -1
  10. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +1 -1
  11. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +1 -1
  12. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +1 -1
  13. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +1 -1
  14. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +1 -1
  15. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +1 -1
  16. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +1 -1
  17. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +1 -1
  18. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +1 -1
  19. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +1 -1
  20. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +1 -1
  21. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +1 -1
  22. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +1 -1
  23. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +1 -1
  24. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +1 -1
  25. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +1 -1
  26. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +1 -1
  27. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +1 -1
  28. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +1 -1
  29. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +1 -1
  30. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +1 -1
  31. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +1 -1
  32. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +1 -1
  33. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +5 -5
  34. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +1 -1
  35. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +1 -1
  36. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +1 -1
  37. package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +1 -1
  38. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +2 -2
  39. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +1 -1
  40. package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +1 -1
  41. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +1 -1
  42. package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +1 -1
  43. package/dist/arcgis-coding-components/index.esm.js +2 -2
  44. package/dist/arcgis-coding-components/{p-71030413.js → p-24fb1d11.js} +2 -2
  45. package/dist/arcgis-coding-components/{p-df22caf3.js → p-69ef969a.js} +10 -10
  46. package/dist/arcgis-coding-components/{p-8e5106fd.js → p-9770fb37.js} +2 -2
  47. package/dist/arcgis-coding-components/{p-b27225fb.js → p-98cf909d.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-88c8c547.js → p-ae0db715.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-0f86fcd3.js → p-b7981062.js} +2 -2
  50. package/dist/arcgis-coding-components/p-bf047552.entry.js +6 -0
  51. package/dist/arcgis-coding-components/{p-6b70d00e.js → p-ca3f5530.js} +2 -2
  52. package/dist/arcgis-coding-components/{p-c5b5ad43.js → p-e37595ba.js} +3 -3
  53. package/dist/arcgis-coding-components/{p-804fc70c.js → p-e9510c84.js} +2 -2
  54. package/dist/arcgis-coding-components/{p-8f59b7ab.js → p-ed5c78ce.js} +1 -1
  55. package/dist/arcgis-coding-components/{p-09fc6deb.js → p-f40fe9c5.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-46fac9d8.js → p-f602fc86.js} +1 -1
  57. package/dist/cjs/{app-globals-4f0e7eae.js → app-globals-18ba6880.js} +1 -1
  58. package/dist/cjs/{arcade-defaults-57559f4d.js → arcade-defaults-d0931224.js} +23 -23
  59. package/dist/cjs/{arcade-mode-5e9d9501.js → arcade-mode-8424eafa.js} +3 -3
  60. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +8 -7
  61. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  62. package/dist/cjs/{css-3b5f7de7.js → css-d8a65bb9.js} +1 -1
  63. package/dist/cjs/{cssMode-ee50e646.js → cssMode-07dbb853.js} +3 -3
  64. package/dist/cjs/{html-1414ae85.js → html-bb10cced.js} +3 -3
  65. package/dist/cjs/{htmlMode-c04fe1a3.js → htmlMode-7df0a09d.js} +3 -3
  66. package/dist/cjs/{index-aa7289d7.js → index-15bcce7e.js} +1 -1
  67. package/dist/cjs/index.cjs.js +3 -3
  68. package/dist/cjs/{javascript-f871d3e1.js → javascript-f0dbed11.js} +4 -4
  69. package/dist/cjs/{jsonMode-d0bba5f8.js → jsonMode-9e54e9b7.js} +3 -3
  70. package/dist/cjs/loader.cjs.js +3 -3
  71. package/dist/cjs/{tsMode-2cee8df6.js → tsMode-ca28bc5f.js} +3 -3
  72. package/dist/cjs/{typescript-e699bcbb.js → typescript-39540ed7.js} +3 -3
  73. package/dist/components/arcade-api.js +4 -2
  74. package/dist/components/arcade-contribution.js +1 -1
  75. package/dist/components/arcade-defaults.js +14 -14
  76. package/dist/components/arcade-mode.js +1 -1
  77. package/dist/components/arcade-results.js +4 -2
  78. package/dist/components/arcade-suggestions.js +4 -2
  79. package/dist/components/arcade-variables.js +4 -2
  80. package/dist/components/arcgis-arcade-api.js +1 -1
  81. package/dist/components/arcgis-arcade-editor.js +4 -2
  82. package/dist/components/arcgis-arcade-results.js +1 -1
  83. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  84. package/dist/components/arcgis-arcade-variables.js +1 -1
  85. package/dist/components/arcgis-assets.d.ts +1 -1
  86. package/dist/components/arcgis-assets.js +2 -2
  87. package/dist/components/arcgis-code-editor.js +1 -1
  88. package/dist/components/{chunk-IHYYRFLQ.js → chunk-2CDDVOQU.js} +4 -3
  89. package/dist/components/code-editor.js +5 -3
  90. package/dist/components/fields.js +1 -1
  91. package/dist/components/index.js +1 -1
  92. package/dist/components/index2.js +1 -1
  93. package/dist/components/markdown.js +1 -1
  94. package/dist/components/useT9n.js +2 -2
  95. package/dist/components/utilities.js +1 -1
  96. package/dist/esm/{app-globals-1f81b3b1.js → app-globals-2a0e9afb.js} +1 -1
  97. package/dist/esm/{arcade-defaults-73fede8d.js → arcade-defaults-811bdd4d.js} +23 -23
  98. package/dist/esm/{arcade-mode-3719f850.js → arcade-mode-e9728a63.js} +3 -3
  99. package/dist/esm/arcgis-arcade-api_6.entry.js +8 -7
  100. package/dist/esm/arcgis-coding-components.js +4 -4
  101. package/dist/esm/{css-a2a21514.js → css-61c794c2.js} +1 -1
  102. package/dist/esm/{cssMode-a8d4806a.js → cssMode-6e0ccd51.js} +3 -3
  103. package/dist/esm/{html-7e9fbd0f.js → html-44ad432e.js} +3 -3
  104. package/dist/esm/{htmlMode-f2cf3793.js → htmlMode-fd336434.js} +3 -3
  105. package/dist/esm/{index-3f3310e0.js → index-0d124a57.js} +1 -1
  106. package/dist/esm/index.js +3 -3
  107. package/dist/esm/{javascript-a6285ee9.js → javascript-ac057954.js} +4 -4
  108. package/dist/esm/{jsonMode-f88952f9.js → jsonMode-ea8fa529.js} +3 -3
  109. package/dist/esm/loader.js +4 -4
  110. package/dist/esm/{tsMode-764b2d3b.js → tsMode-af9c3001.js} +3 -3
  111. package/dist/esm/{typescript-7eaebbd1.js → typescript-baec45d6.js} +3 -3
  112. package/dist/loader/cdn.js +1 -1
  113. package/dist/loader/index.cjs.js +1 -1
  114. package/dist/loader/index.es2017.js +1 -1
  115. package/dist/loader/index.js +1 -1
  116. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +8 -1
  117. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +5 -1
  118. package/dist/types/utils/profile/types.d.ts +25 -0
  119. package/dist/types/utils/profile/utils.d.ts +1 -1
  120. package/package.json +15 -15
  121. package/dist/arcgis-coding-components/p-f7fcef66.entry.js +0 -6
@@ -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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-aa7289d7.js');
11
- const appGlobals = require('./app-globals-4f0e7eae.js');
10
+ const index = require('./index-15bcce7e.js');
11
+ const appGlobals = require('./app-globals-18ba6880.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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
11
- require('./index-aa7289d7.js');
10
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
11
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const typescript = require('./typescript-e699bcbb.js');
9
- require('./arcade-defaults-57559f4d.js');
10
- require('./index-aa7289d7.js');
8
+ const typescript = require('./typescript-39540ed7.js');
9
+ require('./arcade-defaults-d0931224.js');
10
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-aa7289d7.js');
11
- const appGlobals = require('./app-globals-4f0e7eae.js');
10
+ const index = require('./index-15bcce7e.js');
11
+ const appGlobals = require('./app-globals-18ba6880.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
5
5
  */
6
6
  'use strict';
7
7
 
8
- const arcadeDefaults = require('./arcade-defaults-57559f4d.js');
9
- require('./index-aa7289d7.js');
8
+ const arcadeDefaults = require('./arcade-defaults-d0931224.js');
9
+ require('./index-15bcce7e.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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
5
5
  */
6
6
  import { Emitter, Uri } from 'monaco-editor';
7
7
  import { CompletionItemKind, InsertTextMode, InsertTextFormat } from 'vscode-languageserver-types';
@@ -11,13 +11,13 @@ import { i as isNotNull, a as isNotUndefined, b as addLTRMark, s as setValuesInS
11
11
  import { getArcgisAssetPath as getAssetPath } from "./arcgis-assets.js";
12
12
 
13
13
  //#region Type Guards
14
- function isQueryableLayerInstance(item) {
14
+ function isFeatureLayerLikeInstance(item) {
15
15
  return (!!item &&
16
16
  typeof item === "object" &&
17
17
  "declaredClass" in item &&
18
18
  typeof item.declaredClass === "string" &&
19
19
  item.declaredClass.startsWith("esri.layers.") &&
20
- "fields" in item &&
20
+ isFieldsDefinition(item) &&
21
21
  "queryFeatures" in item &&
22
22
  typeof item.queryFeatures === "function");
23
23
  }
@@ -926,7 +926,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
926
926
  const relationshipsGroup = new GroupOfVariables(this._profile, { code: "relationships" });
927
927
  const relationshipItems = await Promise.all(source.relationships.map(async (relationship) => {
928
928
  const relatedLayer = await getRelatedFeatureLayer(source, relationship);
929
- if (!isQueryableLayerInstance(relatedLayer)) {
929
+ if (!isFeatureLayerLikeInstance(relatedLayer)) {
930
930
  return null;
931
931
  }
932
932
  if (relationship.relatedTableId === this.relationshipsProperties?.sourceTableId) {
@@ -1228,7 +1228,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
1228
1228
  .toArray()
1229
1229
  .reverse()
1230
1230
  .forEach((layer) => {
1231
- if (isQueryableLayerInstance(layer)) {
1231
+ if (isFeatureLayerLikeInstance(layer)) {
1232
1232
  layerVariables.push(this._createFeatureSetVariable(layer, true));
1233
1233
  return;
1234
1234
  }
@@ -1241,31 +1241,31 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
1241
1241
  });
1242
1242
  return layerVariables;
1243
1243
  }
1244
- _createFeatureSetVariable(featureLayer, isFromWebMap = false) {
1244
+ _createFeatureSetVariable(featureLayerLike, isFromWebMap = false) {
1245
1245
  return new FeatureSetVariable(this, {
1246
1246
  profile: this._profile,
1247
- declaration: { name: featureLayer.title, definition: featureLayer },
1247
+ declaration: { name: featureLayerLike.title, definition: featureLayerLike },
1248
1248
  label: isFromWebMap
1249
- ? featureLayer.title
1250
- : featureLayer.sourceJSON.name ?? featureLayer.title,
1249
+ ? featureLayerLike.title
1250
+ : featureLayerLike.sourceJSON.name ?? featureLayerLike.title,
1251
1251
  description: "",
1252
1252
  nonInteractive: true,
1253
- }, this._makeFeatureSetSnippets(featureLayer, isFromWebMap));
1253
+ }, this._makeFeatureSetSnippets(featureLayerLike, isFromWebMap));
1254
1254
  }
1255
- _makeFeatureSetSnippets(featureLayer, isFromWebMap = false) {
1255
+ _makeFeatureSetSnippets(featureLayerLike, isFromWebMap = false) {
1256
1256
  if (!this._profile?.supportFeatureSetFunctions) {
1257
1257
  return [];
1258
1258
  }
1259
1259
  if (isFromWebMap) {
1260
- const snippetById = `FeatureSetById(${this.snippet}, "${featureLayer.id}")`;
1261
- const snippetByName = `FeatureSetByName(${this.snippet}, "${featureLayer.title}")`;
1260
+ const snippetById = `FeatureSetById(${this.snippet}, "${featureLayerLike.id}")`;
1261
+ const snippetByName = `FeatureSetByName(${this.snippet}, "${featureLayerLike.title}")`;
1262
1262
  return [
1263
1263
  new ValueVariable({ profile: this._profile, label: snippetById, description: "", snippet: snippetById }),
1264
1264
  new ValueVariable({ profile: this._profile, label: snippetByName, description: "", snippet: snippetByName }),
1265
1265
  ];
1266
1266
  }
1267
1267
  else {
1268
- const snippetById = `FeatureSetById(${this.snippet}, "${featureLayer.layerId}")`;
1268
+ const snippetById = `FeatureSetById(${this.snippet}, "${featureLayerLike.layerId}")`;
1269
1269
  return [new ValueVariable({ profile: this._profile, label: snippetById, description: "", snippet: snippetById })];
1270
1270
  }
1271
1271
  }
@@ -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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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.99
5
+ * v4.30.0
6
6
  */
7
7
  /**
8
8
  * Get the base path to where the package assets can be found.
@@ -2,9 +2,9 @@
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.99
5
+ * v4.30.0
6
6
  */
7
- let resourceUrl = "https://js.arcgis.com/coding-components/next/";
7
+ let resourceUrl = "https://js.arcgis.com/coding-components/4.30/";
8
8
  export const getArcgisAssetPath = (path) => {
9
9
  const assetUrl = new URL(path, resourceUrl);
10
10
  return assetUrl.origin !== window.location.origin ? assetUrl.href : assetUrl.pathname;
@@ -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.99
4
+ * v4.30.0
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.99
4
+ * v4.30.0
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,