@arcgis/coding-components 4.31.0-next.5 → 4.31.0-next.7

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 (113) 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-24128ac2.js +6 -0
  4. package/dist/arcgis-coding-components/p-2ba0dc32.js +6 -0
  5. package/dist/arcgis-coding-components/{p-7f776266.js → p-51cb7124.js} +2 -2
  6. package/dist/arcgis-coding-components/{p-ae6af9eb.js → p-56ef1db2.js} +2 -2
  7. package/dist/arcgis-coding-components/{p-e31be2c5.js → p-57b9aa11.js} +1 -1
  8. package/dist/arcgis-coding-components/{p-e89166f0.js → p-5fbefa40.js} +1 -1
  9. package/dist/arcgis-coding-components/{p-7bd74de6.entry.js → p-6d76b473.entry.js} +2 -2
  10. package/dist/arcgis-coding-components/{p-2d32fb1b.js → p-7f1b7590.js} +2 -2
  11. package/dist/arcgis-coding-components/{p-28d34a6e.entry.js → p-827f1fff.entry.js} +2 -2
  12. package/dist/arcgis-coding-components/p-8a789638.js +6 -0
  13. package/dist/arcgis-coding-components/p-a3af83b2.js +6 -0
  14. package/dist/arcgis-coding-components/{p-c41f6d7c.js → p-b7927956.js} +2 -2
  15. package/dist/arcgis-coding-components/{p-de85c014.js → p-c753e2e1.js} +1 -1
  16. package/dist/arcgis-coding-components/{p-3d5b8c4b.js → p-c9173dd7.js} +10 -10
  17. package/dist/arcgis-coding-components/{p-2c85c4b2.js → p-d610db5e.js} +2 -2
  18. package/dist/arcgis-coding-components/{p-aa9d06e6.js → p-de0ced33.js} +2 -2
  19. package/dist/arcgis-coding-components/{p-5b62a1ac.entry.js → p-dec9545b.entry.js} +2 -2
  20. package/dist/arcgis-coding-components/{p-60739af5.js → p-eca45afe.js} +2 -2
  21. package/dist/arcgis-coding-components/p-fd9abbee.js +6 -0
  22. package/dist/cjs/{app-globals-886c7ef0.js → app-globals-95a58c45.js} +1 -1
  23. package/dist/cjs/{arcade-defaults-56b6742a.js → arcade-defaults-adce528c.js} +4 -4
  24. package/dist/cjs/arcade-language-features-72d4b0d4.js +274 -0
  25. package/dist/cjs/{arcade-mode-2175ca7d.js → arcade-mode-a8f7893e.js} +7 -266
  26. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +6 -6
  27. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  28. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  29. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  30. package/dist/cjs/{css-b5a232da.js → css-10717df1.js} +1 -1
  31. package/dist/cjs/{cssMode-f67c30d4.js → cssMode-af6b6837.js} +3 -3
  32. package/dist/cjs/{html-d57fda6b.js → html-e871b2ae.js} +3 -3
  33. package/dist/cjs/{htmlMode-c1513225.js → htmlMode-33758987.js} +3 -3
  34. package/dist/cjs/{index-6563aa26.js → index-2c90e42e.js} +1 -1
  35. package/dist/cjs/index.cjs.js +4 -4
  36. package/dist/cjs/{javascript-d7362563.js → javascript-03d1437c.js} +4 -4
  37. package/dist/cjs/{jsonMode-1ea2f163.js → jsonMode-3013c90b.js} +3 -3
  38. package/dist/cjs/{language-defaults-base-66e1921b.js → language-defaults-base-081fe837.js} +30 -46
  39. package/dist/cjs/loader.cjs.js +3 -3
  40. package/dist/cjs/{sql-expr-defaults-e30d7627.js → sql-expr-defaults-a8b942e3.js} +13 -18
  41. package/dist/cjs/{sql-expr-mode-74c5c2c2.js → sql-expr-mode-7f91696f.js} +11531 -14828
  42. package/dist/cjs/{tsMode-9db1a5aa.js → tsMode-a47d5976.js} +3 -3
  43. package/dist/cjs/{typescript-f6d1b2b4.js → typescript-eebe50a0.js} +3 -3
  44. package/dist/components/arcade-defaults.js +1 -1
  45. package/dist/components/arcade-language-features.js +271 -0
  46. package/dist/components/arcade-mode.js +4 -264
  47. package/dist/components/arcade-results.js +2 -2
  48. package/dist/components/arcade-suggestions.js +2 -2
  49. package/dist/components/arcade-variables.js +2 -2
  50. package/dist/components/arcgis-arcade-editor.js +2 -2
  51. package/dist/components/arcgis-arcade-results.js +1 -1
  52. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  53. package/dist/components/arcgis-arcade-variables.js +1 -1
  54. package/dist/components/arcgis-assets.d.ts +1 -1
  55. package/dist/components/arcgis-assets.js +1 -1
  56. package/dist/components/arcgis-code-editor.js +1 -1
  57. package/dist/components/arcgis-language-api-panel.js +1 -1
  58. package/dist/components/arcgis-sql-expression-editor.js +2 -2
  59. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  60. package/dist/components/{chunk-6TARY3NN.js → chunk-3IUJHIAA.js} +11 -16
  61. package/dist/components/code-editor.js +2 -2
  62. package/dist/components/fields.js +1 -1
  63. package/dist/components/index.js +1 -1
  64. package/dist/components/index2.js +1 -1
  65. package/dist/components/language-api-panel.js +2 -2
  66. package/dist/components/language-defaults-base.js +21 -37
  67. package/dist/components/markdown.js +1 -1
  68. package/dist/components/sql-expr-defaults.js +1 -1
  69. package/dist/components/sql-expr-mode.js +11529 -14825
  70. package/dist/components/sql-expression-fields.js +2 -2
  71. package/dist/components/useT9n.js +2 -2
  72. package/dist/components/utilities.js +1 -1
  73. package/dist/esm/{app-globals-4531df03.js → app-globals-9b568679.js} +1 -1
  74. package/dist/esm/{arcade-defaults-d85fe608.js → arcade-defaults-3b370e7f.js} +4 -4
  75. package/dist/esm/arcade-language-features-09dbac1a.js +269 -0
  76. package/dist/esm/{arcade-mode-121c8f8b.js → arcade-mode-dc12cdd7.js} +4 -263
  77. package/dist/esm/arcgis-arcade-editor_6.entry.js +6 -6
  78. package/dist/esm/arcgis-coding-components.js +4 -4
  79. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  80. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  81. package/dist/esm/{css-f03ce15d.js → css-2ac5d369.js} +1 -1
  82. package/dist/esm/{cssMode-9350af4a.js → cssMode-ee67ef12.js} +3 -3
  83. package/dist/esm/{html-8a5ee186.js → html-db02f025.js} +3 -3
  84. package/dist/esm/{htmlMode-dbcde814.js → htmlMode-d98c6313.js} +3 -3
  85. package/dist/esm/{index-71c8a762.js → index-79a2905d.js} +1 -1
  86. package/dist/esm/index.js +4 -4
  87. package/dist/esm/{javascript-b11dc132.js → javascript-49434450.js} +4 -4
  88. package/dist/esm/{jsonMode-7afef1a4.js → jsonMode-7eb9940c.js} +3 -3
  89. package/dist/esm/{language-defaults-base-47e8d77c.js → language-defaults-base-bb09da9f.js} +31 -47
  90. package/dist/esm/loader.js +4 -4
  91. package/dist/esm/{sql-expr-defaults-fa9b2d75.js → sql-expr-defaults-1aedce82.js} +13 -18
  92. package/dist/esm/{sql-expr-mode-931857be.js → sql-expr-mode-3c0c4ee2.js} +11531 -14828
  93. package/dist/esm/{tsMode-76190ec2.js → tsMode-abf1ffe4.js} +3 -3
  94. package/dist/esm/{typescript-346e9d47.js → typescript-6ebd28ac.js} +3 -3
  95. package/dist/loader/cdn.js +1 -1
  96. package/dist/loader/index.cjs.js +1 -1
  97. package/dist/loader/index.es2017.js +1 -1
  98. package/dist/loader/index.js +1 -1
  99. package/dist/types/components/arcade-editor/arcade-editor.d.ts +1 -1
  100. package/dist/types/components/arcade-results/arcade-results.d.ts +1 -1
  101. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +1 -1
  102. package/dist/types/components/arcade-variables/arcade-variables.d.ts +1 -1
  103. package/dist/types/components/language-api-panel/language-api-panel.d.ts +1 -1
  104. package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +1 -0
  105. package/dist/types/utils/profile/types.d.ts +29 -69
  106. package/dist/types/utils/profile/utils.d.ts +4 -7
  107. package/dist/types/utils/sql-expr-monaco/sql-expr-completion.d.ts +3 -2
  108. package/dist/types/utils/sql-expr-monaco/sql-expr-language-features.d.ts +6 -485
  109. package/package.json +10 -10
  110. package/dist/arcgis-coding-components/p-43da2244.js +0 -6
  111. package/dist/arcgis-coding-components/p-65bb8c77.js +0 -6
  112. package/dist/arcgis-coding-components/p-88b5d206.js +0 -6
  113. package/dist/arcgis-coding-components/p-cbf4fec2.js +0 -6
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { r as registerInstance, h, H as Host, a as getElement } from './index-71c8a762.js';
7
- import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-fa9b2d75.js';
8
- import { j as generateGuid } from './language-defaults-base-47e8d77c.js';
6
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-79a2905d.js';
7
+ import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-1aedce82.js';
8
+ import { j as generateGuid } from './language-defaults-base-bb09da9f.js';
9
9
 
10
10
  const sqlExpressionEditorCss = "arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-foreground-1);height:100%}arcgis-sql-expression-editor .flex-adjustable{flex:1 1 auto;overflow:hidden}arcgis-sql-expression-editor .flex-panel{flex:1 0 auto}arcgis-sql-expression-editor .position-relative{position:relative}arcgis-sql-expression-editor .flex-row{display:flex;flex-direction:row;overflow:hidden}arcgis-sql-expression-editor .flex-column{display:flex;flex-direction:column;overflow:hidden}arcgis-sql-expression-editor .border-inline-start{border-inline-start:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .border-inline-end{border-inline-end:1px solid var(--calcite-color-border-3);box-sizing:border-box}arcgis-sql-expression-editor .side-action-bar{max-width:25%}arcgis-sql-expression-editor .side-panel{max-width:45%;width:600px}arcgis-sql-expression-editor .side-panel calcite-flow{height:100%}";
11
11
  const ArcgisSqlExpressionEditorStyle0 = sqlExpressionEditorCss;
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-71c8a762.js';
7
- import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-fa9b2d75.js';
8
- import './language-defaults-base-47e8d77c.js';
6
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-79a2905d.js';
7
+ import { u as useControllerManager, s as sqlExprDefaults } from './sql-expr-defaults-1aedce82.js';
8
+ import './language-defaults-base-bb09da9f.js';
9
9
 
10
10
  const sqlExpressionFieldsCss = ":host calcite-flow{height:100%}:host calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}";
11
11
  const ArcgisSqlExpressionFieldsStyle0 = sqlExpressionFieldsCss;
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { G as monaco_editor_core_star } from './language-defaults-base-47e8d77c.js';
7
- import './index-71c8a762.js';
6
+ import { G as monaco_editor_core_star } from './language-defaults-base-bb09da9f.js';
7
+ import './index-79a2905d.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { G as monaco_editor_core_star } from './language-defaults-base-47e8d77c.js';
7
- import './index-71c8a762.js';
6
+ import { G as monaco_editor_core_star } from './language-defaults-base-bb09da9f.js';
7
+ import './index-79a2905d.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { G as monaco_editor_core_star } from './language-defaults-base-47e8d77c.js';
7
- import './index-71c8a762.js';
6
+ import { G as monaco_editor_core_star } from './language-defaults-base-bb09da9f.js';
7
+ import './index-79a2905d.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
6
  const NAMESPACE = 'arcgis-coding-components';
7
7
 
package/dist/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- export { a as arcade } from './arcade-defaults-d85fe608.js';
7
- import './language-defaults-base-47e8d77c.js';
8
- import './index-71c8a762.js';
6
+ export { a as arcade } from './arcade-defaults-3b370e7f.js';
7
+ import './language-defaults-base-bb09da9f.js';
8
+ import './index-79a2905d.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { conf as conf$1, language as language$1 } from './typescript-346e9d47.js';
7
- import './language-defaults-base-47e8d77c.js';
8
- import './index-71c8a762.js';
6
+ import { conf as conf$1, language as language$1 } from './typescript-6ebd28ac.js';
7
+ import './language-defaults-base-bb09da9f.js';
8
+ import './index-79a2905d.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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { G as monaco_editor_core_star } from './language-defaults-base-47e8d77c.js';
7
- import './index-71c8a762.js';
6
+ import { G as monaco_editor_core_star } from './language-defaults-base-bb09da9f.js';
7
+ import './index-79a2905d.js';
8
8
 
9
9
  /*!-----------------------------------------------------------------------------
10
10
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { g as getAssetPath } from './index-71c8a762.js';
6
+ import { g as getAssetPath } from './index-79a2905d.js';
7
7
 
8
8
  /**
9
9
  * Returns the last element of an array.
@@ -120594,7 +120594,7 @@ registerLanguage({
120594
120594
  mimetypes: ["text/css"],
120595
120595
  loader: () => {
120596
120596
  {
120597
- return import('./css-f03ce15d.js');
120597
+ return import('./css-2ac5d369.js');
120598
120598
  }
120599
120599
  }
120600
120600
  });
@@ -120612,7 +120612,7 @@ registerLanguage({
120612
120612
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120613
120613
  loader: () => {
120614
120614
  {
120615
- return import('./html-8a5ee186.js');
120615
+ return import('./html-db02f025.js');
120616
120616
  }
120617
120617
  }
120618
120618
  });
@@ -120632,7 +120632,7 @@ registerLanguage({
120632
120632
  mimetypes: ["text/javascript"],
120633
120633
  loader: () => {
120634
120634
  {
120635
- return import('./javascript-b11dc132.js');
120635
+ return import('./javascript-49434450.js');
120636
120636
  }
120637
120637
  }
120638
120638
  });
@@ -120650,7 +120650,7 @@ registerLanguage({
120650
120650
  mimetypes: ["text/typescript"],
120651
120651
  loader: () => {
120652
120652
  {
120653
- return import('./typescript-346e9d47.js');
120653
+ return import('./typescript-6ebd28ac.js');
120654
120654
  }
120655
120655
  }
120656
120656
  });
@@ -120771,7 +120771,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120771
120771
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120772
120772
  function getMode$3() {
120773
120773
  {
120774
- return import('./cssMode-9350af4a.js');
120774
+ return import('./cssMode-ee67ef12.js');
120775
120775
  }
120776
120776
  }
120777
120777
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120896,7 +120896,7 @@ monaco_editor_core_exports$2.languages.html = {
120896
120896
  };
120897
120897
  function getMode$2() {
120898
120898
  {
120899
- return import('./htmlMode-dbcde814.js');
120899
+ return import('./htmlMode-d98c6313.js');
120900
120900
  }
120901
120901
  }
120902
120902
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120998,7 +120998,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120998
120998
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120999
120999
  function getMode$1() {
121000
121000
  {
121001
- return import('./jsonMode-7afef1a4.js');
121001
+ return import('./jsonMode-7eb9940c.js');
121002
121002
  }
121003
121003
  }
121004
121004
  monaco_editor_core_exports$1.languages.register({
@@ -121267,7 +121267,7 @@ monaco_editor_core_exports.languages.typescript = {
121267
121267
  };
121268
121268
  function getMode() {
121269
121269
  {
121270
- return import('./tsMode-76190ec2.js');
121270
+ return import('./tsMode-abf1ffe4.js');
121271
121271
  }
121272
121272
  }
121273
121273
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -169064,19 +169064,13 @@ function isQueryableLayerInstance(item) {
169064
169064
  "queryFeatures" in item &&
169065
169065
  typeof item.queryFeatures === "function");
169066
169066
  }
169067
- function isSubtypeSublayerInstance(item) {
169067
+ function isGroupLayerCapable(item) {
169068
169068
  return (!!item &&
169069
169069
  typeof item === "object" &&
169070
- "declaredClass" in item &&
169071
- typeof item.declaredClass === "string" &&
169072
- item.declaredClass === "esri.layers.support.SubtypeSublayer");
169073
- }
169074
- function isGroupLayerInstance(item) {
169075
- return (!!item &&
169076
- typeof item === "object" &&
169077
- "declaredClass" in item &&
169078
- typeof item.declaredClass === "string" &&
169079
- item.declaredClass === "esri.layers.GroupLayer");
169070
+ "allLayers" in item &&
169071
+ "allTables" in item &&
169072
+ typeof item.allLayers === "object" &&
169073
+ typeof item.allTables === "object");
169080
169074
  }
169081
169075
  function isMapInstance(item) {
169082
169076
  return (!!item &&
@@ -169087,14 +169081,8 @@ function isMapInstance(item) {
169087
169081
  item.declaredClass === "esri.WebMap" ||
169088
169082
  item.declaredClass === "esri.WebScene"));
169089
169083
  }
169090
- function isWebMapInstance(item) {
169091
- return item.declaredClass === "esri.WebMap";
169092
- }
169093
- function isWebSceneInstance(item) {
169094
- return item.declaredClass === "esri.WebScene";
169095
- }
169096
- function isLoadableMapInstance(item) {
169097
- return item.declaredClass === "esri.WebMap" || item.declaredClass === "esri.WebScene";
169084
+ function isLoadAllCapable(item) {
169085
+ return !!item && typeof item === "object" && "loadAll" in item && typeof item.loadAll === "function";
169098
169086
  }
169099
169087
  function isPortalItemDefinition(item) {
169100
169088
  return !!item && typeof item === "object" && "portalItem" in item && item.portalItem != null;
@@ -169159,6 +169147,9 @@ function isSubtypeFieldCapableLayer(item) {
169159
169147
  function isSubtypesCapableLayer(item) {
169160
169148
  return isSubtypeFieldCapableLayer(item) && "subtypes" in item;
169161
169149
  }
169150
+ function isPortalItemCapable(item) {
169151
+ return !!item && typeof item === "object" && "portalItem" in item;
169152
+ }
169162
169153
  function isRelationshipsCapableLayer(item) {
169163
169154
  return (isLayerIdCapableSource(item) &&
169164
169155
  "relationships" in item &&
@@ -169758,14 +169749,6 @@ function sortFields(layer) {
169758
169749
  if (secondField.type === "oid") {
169759
169750
  return 1;
169760
169751
  }
169761
- if (isSubtypeSublayerInstance(layer)) {
169762
- if (firstField.name === layer.parent.subtypeField) {
169763
- return -1;
169764
- }
169765
- if (secondField.name === layer.parent.subtypeField) {
169766
- return 1;
169767
- }
169768
- }
169769
169752
  if (isSubtypeFieldCapableLayer(layer)) {
169770
169753
  if (firstField.name === layer.subtypeField) {
169771
169754
  return -1;
@@ -169803,7 +169786,7 @@ function assembleMemberExpression(obj, prop) {
169803
169786
  return `${obj}${getMemberExpressionProperty(prop)}`;
169804
169787
  }
169805
169788
  function getMapPortalItem(map) {
169806
- if (isWebMapInstance(map) || isWebSceneInstance(map)) {
169789
+ if (isPortalItemCapable(map)) {
169807
169790
  return map.portalItem;
169808
169791
  }
169809
169792
  return null;
@@ -170659,13 +170642,14 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170659
170642
  if (typeof this._featureSetCollections.source === "string") {
170660
170643
  return this._profile?.intlStrings.featureservice ?? "featureservice";
170661
170644
  }
170662
- if (isWebSceneInstance(this._featureSetCollections.source)) {
170663
- return this._profile?.intlStrings.webscene ?? "webscene";
170664
- }
170665
- if (isWebMapInstance(this._featureSetCollections.source)) {
170666
- return this._profile?.intlStrings.webmap ?? "webmap";
170645
+ switch (this._featureSetCollections.source.declaredClass) {
170646
+ case "esri.WebMap":
170647
+ return this._profile?.intlStrings.webmap ?? "webmap";
170648
+ case "esri.WebScene":
170649
+ return this._profile?.intlStrings.webscene ?? "webscene";
170650
+ default:
170651
+ return this._profile?.intlStrings.map ?? "map";
170667
170652
  }
170668
- return this._profile?.intlStrings.map ?? "map";
170669
170653
  }
170670
170654
  async loadSource() {
170671
170655
  if (isNotNull(this._loadPromise) && isNotUndefined(this._loadPromise)) {
@@ -170732,7 +170716,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170732
170716
  return null;
170733
170717
  }
170734
170718
  async _featureSetCollectionFromMap(map) {
170735
- if (isLoadableMapInstance(map)) {
170719
+ if (isLoadAllCapable(map)) {
170736
170720
  // Make sure the map is loaded
170737
170721
  await map.loadAll();
170738
170722
  }
@@ -170794,7 +170778,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170794
170778
  layerVariables.push(this._createFeatureSetVariable(layer, true));
170795
170779
  return;
170796
170780
  }
170797
- if (isGroupLayerInstance(layer)) {
170781
+ if (isGroupLayerCapable(layer)) {
170798
170782
  const groupLayerVariables = filteringTables
170799
170783
  ? this._convertWebMapLayersToVariables(layer.allTables, true)
170800
170784
  : this._convertWebMapLayersToVariables(layer.allLayers);
@@ -171110,4 +171094,4 @@ class LanguageDefaultsBase {
171110
171094
  }
171111
171095
  }
171112
171096
 
171113
- export { devToolsAwareTimeout as A, safeCall as B, isFeatureSetDefinition as C, Deferred as D, EditorProfile as E, main as F, monaco_editor_core_star as G, typescriptDefaults as H, IStandaloneThemeService as I, debounce as J, KeyCode as K, LanguageDefaultsBase as L, MarkerSeverity as M, Emitter as N, Range as R, StandaloneServices as S, Uri as U, importArcade as a, isURL as b, convertToEditorProfileDefinition as c, importRequest as d, editor as e, fetchT9nStringsBundle as f, getElementLocales as g, hasSameOrigin as h, isPredefinedProfile as i, generateGuid as j, getElementTheme as k, setValuesInString as l, supportedFields as m, generateTokensCSSForColorMap as n, commonjsGlobal as o, setFocusOnElement as p, quoteString as q, filterCollection as r, startLocaleObserver as s, createFilterExpression as t, languages as u, observeAncestorsMutation as v, KeyMod as w, addLTRMark as x, isNotUndefined as y, safeAsyncCall as z };
171097
+ export { devToolsAwareTimeout as A, safeCall as B, isFeatureSetDefinition as C, Deferred as D, EditorProfile as E, main as F, monaco_editor_core_star as G, typescriptDefaults as H, IStandaloneThemeService as I, Emitter as J, KeyCode as K, LanguageDefaultsBase as L, MarkerSeverity as M, debounce as N, Range as R, StandaloneServices as S, Uri as U, importArcade as a, isURL as b, convertToEditorProfileDefinition as c, importRequest as d, editor as e, fetchT9nStringsBundle as f, getElementLocales as g, hasSameOrigin as h, isPredefinedProfile as i, generateGuid as j, getElementTheme as k, setValuesInString as l, supportedFields as m, generateTokensCSSForColorMap as n, commonjsGlobal as o, setFocusOnElement as p, quoteString as q, filterCollection as r, startLocaleObserver as s, createFilterExpression as t, languages as u, observeAncestorsMutation as v, KeyMod as w, addLTRMark as x, isNotUndefined as y, safeAsyncCall as z };
@@ -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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { b as bootstrapLazy } from './index-71c8a762.js';
7
- export { s as setNonce } from './index-71c8a762.js';
8
- import { g as globalScripts } from './app-globals-4531df03.js';
6
+ import { b as bootstrapLazy } from './index-79a2905d.js';
7
+ export { s as setNonce } from './index-79a2905d.js';
8
+ import { g as globalScripts } from './app-globals-9b568679.js';
9
9
 
10
10
  const defineCustomElements = async (win, options) => {
11
11
  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.31/esri/copyright.txt for details.
4
- * v4.31.0-next.5
4
+ * v4.31.0-next.7
5
5
  */
6
- import { y as isNotUndefined, D as Deferred, z as safeAsyncCall, A as devToolsAwareTimeout, B as safeCall, i as isPredefinedProfile, C as isFeatureSetDefinition, F as main, L as LanguageDefaultsBase, f as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-47e8d77c.js';
7
- import { g as getAssetPath } from './index-71c8a762.js';
6
+ import { y as isNotUndefined, D as Deferred, z as safeAsyncCall, A as devToolsAwareTimeout, B as safeCall, i as isPredefinedProfile, C as isFeatureSetDefinition, F as main, L as LanguageDefaultsBase, f as fetchT9nStringsBundle, E as EditorProfile, U as Uri } from './language-defaults-base-bb09da9f.js';
7
+ import { g as getAssetPath } from './index-79a2905d.js';
8
8
 
9
9
  // src/framework.ts
10
10
  function retrieveComponentMembers(component, isLit) {
@@ -16,7 +16,7 @@ function retrieveComponentMembers(component, isLit) {
16
16
  ([name, descriptor]) => descriptor.noAccessor ? void 0 : [
17
17
  name,
18
18
  [
19
- (descriptor.readonly ? 2048 /* Readonly */ : 0) | (descriptor.state ? 32 /* State */ : descriptor.type === Number ? 2 /* Number */ : descriptor.type === Boolean ? 4 /* Boolean */ : 1 /* String */)
19
+ (descriptor.readOnly ? 2048 /* ReadOnly */ : 0) | (descriptor.state ? 32 /* State */ : descriptor.type === Number ? 2 /* Number */ : descriptor.type === Boolean ? 4 /* Boolean */ : 1 /* String */)
20
20
  ]
21
21
  ]
22
22
  ).filter(isNotUndefined)
@@ -142,7 +142,7 @@ var useRefSync = (value) => {
142
142
  var shouldBypass = {
143
143
  setter: false,
144
144
  getter: false,
145
- readonly: false
145
+ readOnly: false
146
146
  };
147
147
  var elementToInstance = /* @__PURE__ */ new WeakMap();
148
148
  var _a;
@@ -415,12 +415,7 @@ _a = controllerSymbol;
415
415
  function callUpdate(callback) {
416
416
  safeCall(callback, void 0, this);
417
417
  }
418
- var GenericController = class extends Controller {
419
- // Redundant constructor needed to improve typing
420
- constructor(component) {
421
- super(component);
422
- }
423
- };
418
+ var GenericController = Controller;
424
419
  function makeProvisionalValue(base) {
425
420
  if (typeof base !== "object" && typeof base !== "function" || base === null) {
426
421
  return base;
@@ -518,7 +513,7 @@ var ComponentInternals = class {
518
513
  this.enabledWatchers = {};
519
514
  this.allWatchers = {};
520
515
  /**
521
- * "readonly" is not enabled initially since we need to allow to set property
516
+ * "readOnly" is not enabled initially since we need to allow to set property
522
517
  * default values in the constructor.
523
518
  * For Stencil, readonly is enabled by the `readonly()` controller.
524
519
  * For Lit, we have the following logic:
@@ -531,7 +526,7 @@ var ComponentInternals = class {
531
526
  const internals = this.component.manager.internals;
532
527
  Object.entries(internals.members).forEach(([name2, [type]]) => {
533
528
  var _a2;
534
- const isReadOnly = type & 2048 /* Readonly */;
529
+ const isReadOnly = type & 2048 /* ReadOnly */;
535
530
  if (isReadOnly) {
536
531
  (_a2 = internals.setters)[name2] ?? (_a2[name2] = []);
537
532
  internals.setters[name2].push(internals.readonlySetter);
@@ -547,7 +542,7 @@ var ComponentInternals = class {
547
542
  this.reactiveUtilsIntegrations = /* @__PURE__ */ new Set();
548
543
  this._exports = /* @__PURE__ */ new WeakMap();
549
544
  this.readonlySetter = (newValue, _oldValue, property) => {
550
- if (shouldBypass.readonly) {
545
+ if (shouldBypass.readOnly) {
551
546
  return newValue;
552
547
  }
553
548
  throw new Error(
@@ -1052,12 +1047,12 @@ function genericGetSet(component, property, getSet2) {
1052
1047
  }
1053
1048
  }
1054
1049
  var ignoreSet = (_, value) => value;
1055
- function bypassReadonly(callback) {
1056
- shouldBypass.readonly = true;
1050
+ function bypassReadOnly(callback) {
1051
+ shouldBypass.readOnly = true;
1057
1052
  try {
1058
1053
  return callback();
1059
1054
  } finally {
1060
- shouldBypass.readonly = false;
1055
+ shouldBypass.readOnly = false;
1061
1056
  }
1062
1057
  }
1063
1058
 
@@ -1108,7 +1103,7 @@ function setProxy(controller, { host, key, isReactive: assignedToProp }, initial
1108
1103
  const manager = controller.component.manager;
1109
1104
  const isReadOnly = manager.internals.setters[key]?.includes(manager.internals.readonlySetter);
1110
1105
  if (isReadOnly) {
1111
- bypassReadonly(() => {
1106
+ bypassReadOnly(() => {
1112
1107
  genericHost[key] = controller.exports;
1113
1108
  });
1114
1109
  } else {