@arcgis/coding-components 4.33.0-next.92 → 4.33.0-next.94

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 (112) hide show
  1. package/dist/arcgis-coding-components/{U5LI375Z.js → 2UOMUDCU.js} +1 -1
  2. package/dist/arcgis-coding-components/{R7X2VIPM.js → 4L75MIPA.js} +2 -2
  3. package/dist/arcgis-coding-components/{VAI6ERJC.js → 5BIHMNUZ.js} +1 -1
  4. package/dist/arcgis-coding-components/{CCX7MLRI.js → 6Q43GJXJ.js} +2 -2
  5. package/dist/arcgis-coding-components/{DMH763VO.js.LEGAL.txt → 6Q43GJXJ.js.LEGAL.txt} +1 -1
  6. package/dist/arcgis-coding-components/{7OFDOTLT.js → 6W27X4A5.js} +2 -2
  7. package/dist/arcgis-coding-components/{NTMIAFW5.js → A7MICUG4.js} +2 -2
  8. package/dist/arcgis-coding-components/{IF7ACOFX.js → ARKJVFIT.js} +2 -2
  9. package/dist/arcgis-coding-components/{CCX7MLRI.js.LEGAL.txt → ARKJVFIT.js.LEGAL.txt} +1 -1
  10. package/dist/arcgis-coding-components/{5CEKJI6V.js → B45X2RCU.js} +1 -1
  11. package/dist/arcgis-coding-components/{6FBZNGHF.js → C6GPTPY4.js} +1 -1
  12. package/dist/arcgis-coding-components/{DFR66YGC.js.LEGAL.txt → C6GPTPY4.js.LEGAL.txt} +1 -1
  13. package/dist/arcgis-coding-components/{HB6AC4CC.js → CFP7ORLC.js} +2 -2
  14. package/dist/arcgis-coding-components/{6FBZNGHF.js.LEGAL.txt → CFP7ORLC.js.LEGAL.txt} +1 -1
  15. package/dist/arcgis-coding-components/{Q3H4YX33.js → CZ76XOMS.js} +2 -2
  16. package/dist/arcgis-coding-components/{UAQPWXPH.js → D7BXQG4L.js} +2 -2
  17. package/dist/arcgis-coding-components/D7BXQG4L.js.LEGAL.txt +3 -0
  18. package/dist/arcgis-coding-components/{HXCT6FIA.js → EP2YUSNH.js} +2 -2
  19. package/dist/arcgis-coding-components/{KCA5S6IA.js → EURLPKDS.js} +2 -2
  20. package/dist/arcgis-coding-components/EURLPKDS.js.LEGAL.txt +3 -0
  21. package/dist/arcgis-coding-components/{IC4NIR6T.js → FUIHPHGW.js} +2 -2
  22. package/dist/arcgis-coding-components/FUIHPHGW.js.LEGAL.txt +3 -0
  23. package/dist/arcgis-coding-components/{QWNYTAO6.js → HDCM3LC5.js} +2 -2
  24. package/dist/arcgis-coding-components/HDCM3LC5.js.LEGAL.txt +3 -0
  25. package/dist/arcgis-coding-components/{ZFA7PRXG.js → I65OQ4H6.js} +2 -2
  26. package/dist/arcgis-coding-components/I65OQ4H6.js.LEGAL.txt +3 -0
  27. package/dist/arcgis-coding-components/{GPX3UWPC.js → IDCJQ76C.js} +2 -2
  28. package/dist/arcgis-coding-components/{RVY254IN.js → IZR6CPOM.js} +2 -2
  29. package/dist/arcgis-coding-components/{YKGHDSNK.js → JWU3LRFA.js} +2 -2
  30. package/dist/arcgis-coding-components/JWU3LRFA.js.LEGAL.txt +3 -0
  31. package/dist/arcgis-coding-components/{Z2G2G47Q.js → KW7UAGYK.js} +3 -3
  32. package/dist/arcgis-coding-components/{Z2G2G47Q.js.LEGAL.txt → KW7UAGYK.js.LEGAL.txt} +1 -1
  33. package/dist/arcgis-coding-components/{SMJFRD62.js → KYFKKTKR.js} +2 -2
  34. package/dist/arcgis-coding-components/KYFKKTKR.js.LEGAL.txt +3 -0
  35. package/dist/arcgis-coding-components/{R2ISFNC3.js → LBDYBLQS.js} +2 -2
  36. package/dist/arcgis-coding-components/{R2ISFNC3.js.LEGAL.txt → LBDYBLQS.js.LEGAL.txt} +1 -1
  37. package/dist/arcgis-coding-components/{DMH763VO.js → N3T3NW5N.js} +2 -2
  38. package/dist/arcgis-coding-components/N3T3NW5N.js.LEGAL.txt +3 -0
  39. package/dist/arcgis-coding-components/{GDHRS2A6.js → NRPCKA2V.js} +2 -2
  40. package/dist/arcgis-coding-components/{ZMNRPSJM.js → OXUVXK47.js} +2 -2
  41. package/dist/arcgis-coding-components/P2YKRZDD.js +4 -0
  42. package/dist/arcgis-coding-components/{X3AS4JKI.js → PATWPXZE.js} +2 -2
  43. package/dist/arcgis-coding-components/PATWPXZE.js.LEGAL.txt +3 -0
  44. package/dist/arcgis-coding-components/{PXNBMB5T.js → PY4OG5MY.js} +2 -2
  45. package/dist/arcgis-coding-components/PY4OG5MY.js.LEGAL.txt +3 -0
  46. package/dist/arcgis-coding-components/{I3EQACFH.js → QY7PG52Y.js} +2 -2
  47. package/dist/arcgis-coding-components/QY7PG52Y.js.LEGAL.txt +3 -0
  48. package/dist/arcgis-coding-components/{DFR66YGC.js → SYOOXRWH.js} +4 -4
  49. package/dist/arcgis-coding-components/SYOOXRWH.js.LEGAL.txt +3 -0
  50. package/dist/arcgis-coding-components/{AQHQTFYO.js → T63CAV7V.js} +2 -2
  51. package/dist/arcgis-coding-components/{AQHQTFYO.js.LEGAL.txt → T63CAV7V.js.LEGAL.txt} +1 -1
  52. package/dist/arcgis-coding-components/{6VMYSCCG.js → TBUHAI37.js} +2 -2
  53. package/dist/arcgis-coding-components/{XGX5WWSC.js → ZBFJT24O.js} +2 -2
  54. package/dist/arcgis-coding-components/{HKYCSYOD.js → ZUZCOEYS.js} +2 -2
  55. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  56. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
  57. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +1 -1
  58. package/dist/chunks/arcade-defaults.js +1 -1
  59. package/dist/chunks/arcade-executor.js +1 -1
  60. package/dist/chunks/arcade-mode.js +1 -1
  61. package/dist/chunks/arcade-service-accessors.js +1 -1
  62. package/dist/chunks/fields.js +1 -1
  63. package/dist/chunks/language-defaults-base.js +46 -46
  64. package/dist/chunks/markdown.js +1 -1
  65. package/dist/chunks/monaco-importer.js +1 -1
  66. package/dist/chunks/runtime.js +1 -1
  67. package/dist/chunks/sql-expr-defaults.js +1 -1
  68. package/dist/chunks/sql-expr-mode.js +1 -1
  69. package/dist/chunks/useT9n.js +1 -1
  70. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-results/customElement.js +72 -72
  72. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  75. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  76. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  77. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  78. package/dist/docs/api.json +2 -2
  79. package/dist/docs/docs.json +2 -2
  80. package/dist/docs/web-types.json +1 -1
  81. package/dist/index.js +1 -1
  82. package/dist/loader.js +1 -1
  83. package/package.json +7 -7
  84. package/dist/arcgis-coding-components/HB6AC4CC.js.LEGAL.txt +0 -3
  85. package/dist/arcgis-coding-components/I3EQACFH.js.LEGAL.txt +0 -3
  86. package/dist/arcgis-coding-components/IC4NIR6T.js.LEGAL.txt +0 -3
  87. package/dist/arcgis-coding-components/IF7ACOFX.js.LEGAL.txt +0 -3
  88. package/dist/arcgis-coding-components/KCA5S6IA.js.LEGAL.txt +0 -3
  89. package/dist/arcgis-coding-components/PXNBMB5T.js.LEGAL.txt +0 -3
  90. package/dist/arcgis-coding-components/QWNYTAO6.js.LEGAL.txt +0 -3
  91. package/dist/arcgis-coding-components/SMJFRD62.js.LEGAL.txt +0 -3
  92. package/dist/arcgis-coding-components/UAQPWXPH.js.LEGAL.txt +0 -3
  93. package/dist/arcgis-coding-components/X3AS4JKI.js.LEGAL.txt +0 -3
  94. package/dist/arcgis-coding-components/YKGHDSNK.js.LEGAL.txt +0 -3
  95. package/dist/arcgis-coding-components/ZFA7PRXG.js.LEGAL.txt +0 -3
  96. package/dist/arcgis-coding-components/ZNQCI63R.js +0 -4
  97. /package/dist/arcgis-coding-components/{5CEKJI6V.js.LEGAL.txt → 2UOMUDCU.js.LEGAL.txt} +0 -0
  98. /package/dist/arcgis-coding-components/{R7X2VIPM.js.LEGAL.txt → 4L75MIPA.js.LEGAL.txt} +0 -0
  99. /package/dist/arcgis-coding-components/{7OFDOTLT.js.LEGAL.txt → 5BIHMNUZ.js.LEGAL.txt} +0 -0
  100. /package/dist/arcgis-coding-components/{U5LI375Z.js.LEGAL.txt → 6W27X4A5.js.LEGAL.txt} +0 -0
  101. /package/dist/arcgis-coding-components/{NTMIAFW5.js.LEGAL.txt → A7MICUG4.js.LEGAL.txt} +0 -0
  102. /package/dist/arcgis-coding-components/{VAI6ERJC.js.LEGAL.txt → B45X2RCU.js.LEGAL.txt} +0 -0
  103. /package/dist/arcgis-coding-components/{Q3H4YX33.js.LEGAL.txt → CZ76XOMS.js.LEGAL.txt} +0 -0
  104. /package/dist/arcgis-coding-components/{HXCT6FIA.js.LEGAL.txt → EP2YUSNH.js.LEGAL.txt} +0 -0
  105. /package/dist/arcgis-coding-components/{GPX3UWPC.js.LEGAL.txt → IDCJQ76C.js.LEGAL.txt} +0 -0
  106. /package/dist/arcgis-coding-components/{RVY254IN.js.LEGAL.txt → IZR6CPOM.js.LEGAL.txt} +0 -0
  107. /package/dist/arcgis-coding-components/{GDHRS2A6.js.LEGAL.txt → NRPCKA2V.js.LEGAL.txt} +0 -0
  108. /package/dist/arcgis-coding-components/{ZMNRPSJM.js.LEGAL.txt → OXUVXK47.js.LEGAL.txt} +0 -0
  109. /package/dist/arcgis-coding-components/{ZNQCI63R.js.LEGAL.txt → P2YKRZDD.js.LEGAL.txt} +0 -0
  110. /package/dist/arcgis-coding-components/{6VMYSCCG.js.LEGAL.txt → TBUHAI37.js.LEGAL.txt} +0 -0
  111. /package/dist/arcgis-coding-components/{XGX5WWSC.js.LEGAL.txt → ZBFJT24O.js.LEGAL.txt} +0 -0
  112. /package/dist/arcgis-coding-components/{HKYCSYOD.js.LEGAL.txt → ZUZCOEYS.js.LEGAL.txt} +0 -0
@@ -4,7 +4,7 @@ import { g as m } from "./runtime.js";
4
4
  import { CompletionItemKind as w, InsertTextFormat as f, InsertTextMode as d } from "vscode-languageserver-types";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.92 */
7
+ v4.33.0-next.94 */
8
8
  async function S(e) {
9
9
  const { apiVersion: i, bundles: t, hiddenApiItems: n } = e.toEditorProfileDefinition(), r = await h(e.dictionaryVariables);
10
10
  return { apiVersion: i, bundles: t, variables: r, hiddenApiItems: n?.map((s) => s.toLowerCase()) };
@@ -1,7 +1,7 @@
1
1
  import { importArcade as C } from "@arcgis/core-adapter";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.92 */
4
+ v4.33.0-next.94 */
5
5
  const G = "https://developers.arcgis.com/arcade/", O = 100, A = 100;
6
6
  function u(t) {
7
7
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.featureset.support.FeatureSet";
@@ -8,7 +8,7 @@ import { InsertTextFormat as y, CompletionItemKind as o, DiagnosticSeverity as m
8
8
  import { debounce as F, Deferred as _ } from "@arcgis/components-utils";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.92 */
11
+ v4.33.0-next.94 */
12
12
  const S = [
13
13
  "<=",
14
14
  ">=",
@@ -2,7 +2,7 @@ import { importRequest as n } from "@arcgis/core-adapter";
2
2
  import { isURL as i, hasSameOrigin as c } from "@arcgis/components-utils";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
5
- v4.33.0-next.92 */
5
+ v4.33.0-next.94 */
6
6
  function a() {
7
7
  return !!window.MonacoEnvironment?.getWorkerUrl;
8
8
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.92 */
3
+ v4.33.0-next.94 */
4
4
  function t(e) {
5
5
  switch (e.type) {
6
6
  case "oid":
@@ -1,30 +1,30 @@
1
- import { importRequest as Q, newLayersFeatureLayer as b, newPortalPortalItem as X, newWebScene as Y, newWebMap as Z } from "@arcgis/core-adapter";
2
- import { p as ee, i as te } from "./monaco-importer.js";
3
- import { isNotNull as C, isNotUndefined as U, addLTRMark as ie, setValuesInString as V, normalizeLocale as re } from "@arcgis/components-utils";
4
- import { f as se, a as _, s as ne, b as oe } from "./fields.js";
1
+ import { importRequest as X, newLayersFeatureLayer as b, newPortalPortalItem as Y, newWebScene as Z, newWebMap as ee } from "@arcgis/core-adapter";
2
+ import { p as te, i as ie } from "./monaco-importer.js";
3
+ import { isNotNull as C, isNotUndefined as U, addLTRMark as re, setValuesInString as V, normalizeLocale as se } from "@arcgis/components-utils";
4
+ import { s as W, f as ne, a as _, b as oe } from "./fields.js";
5
5
  import { CompletionItemKind as T, InsertTextFormat as I, InsertTextMode as M } from "vscode-languageserver-types";
6
6
  import { g as ae } from "./runtime.js";
7
7
  import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
8
8
  import { Emitter as x, Uri as $ } from "monaco-editor";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.92 */
12
- function W(t) {
11
+ v4.33.0-next.94 */
12
+ function B(t) {
13
13
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && g(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
14
14
  }
15
15
  function ue(t) {
16
16
  return !!t && typeof t == "object" && "allLayers" in t && "allTables" in t && typeof t.allLayers == "object" && typeof t.allTables == "object";
17
17
  }
18
- function B(t) {
18
+ function N(t) {
19
19
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && (t.declaredClass === "esri.Map" || t.declaredClass === "esri.WebMap" || t.declaredClass === "esri.WebScene");
20
20
  }
21
21
  function ce(t) {
22
22
  return !!t && typeof t == "object" && "loadAll" in t && typeof t.loadAll == "function";
23
23
  }
24
- function N(t) {
24
+ function R(t) {
25
25
  return !!t && typeof t == "object" && "portalItem" in t && t.portalItem != null;
26
26
  }
27
- function R(t) {
27
+ function O(t) {
28
28
  return !!t && typeof t == "object" && "portalItem" in t && t.portalItem != null;
29
29
  }
30
30
  function g(t) {
@@ -37,13 +37,13 @@ function pe(t) {
37
37
  return w(t) && /\/(?:featureserver|mapserver)(?:\/|$)/iu.test(t.url ?? "");
38
38
  }
39
39
  function Le(t) {
40
- return w(t) || g(t) || R(t);
40
+ return w(t) || g(t) || O(t);
41
41
  }
42
42
  function Ge(t) {
43
- return w(t) || g(t) || R(t);
43
+ return w(t) || g(t) || O(t);
44
44
  }
45
45
  function je(t) {
46
- return N(t) || B(t) || pe(t);
46
+ return R(t) || N(t) || pe(t);
47
47
  }
48
48
  function A(t) {
49
49
  return !!t && typeof t == "object" && "declaredClass" in t && t.declaredClass === "esri.layers.support.Subtype";
@@ -63,7 +63,7 @@ function m(t) {
63
63
  function fe(t) {
64
64
  return !!t && typeof t == "object" && "url" in t && typeof t.url == "string";
65
65
  }
66
- function O(t) {
66
+ function q(t) {
67
67
  return !!t && typeof t == "object" && "layerId" in t && typeof t.layerId == "number";
68
68
  }
69
69
  function S(t) {
@@ -82,7 +82,7 @@ function ye(t) {
82
82
  return !!t && typeof t == "object" && "portalItem" in t;
83
83
  }
84
84
  function _e(t) {
85
- return O(t) && "relationships" in t && "url" in t && Array.isArray(t.relationships) && typeof t.url == "string";
85
+ return q(t) && "relationships" in t && "url" in t && Array.isArray(t.relationships) && typeof t.url == "string";
86
86
  }
87
87
  function be(t) {
88
88
  return !!t && typeof t == "object" && "isTable" in t && typeof t.isTable == "boolean";
@@ -90,7 +90,7 @@ function be(t) {
90
90
  function me(t) {
91
91
  return !!t && typeof t == "object" && "load" in t && typeof t.load == "function";
92
92
  }
93
- async function q(t) {
93
+ async function k(t) {
94
94
  if (!t)
95
95
  return null;
96
96
  let e;
@@ -98,7 +98,7 @@ async function q(t) {
98
98
  }
99
99
  async function ge(t) {
100
100
  t += "/layers";
101
- const i = await (await Q())(t, { responseType: "json", query: { f: "json" } }), r = t.endsWith("MapServer/layers") ? "data" : "query", s = G(i.data?.layers, r), n = G(i.data?.tables, r);
101
+ const i = await (await X())(t, { responseType: "json", query: { f: "json" } }), r = t.endsWith("MapServer/layers") ? "data" : "query", s = G(i.data?.layers, r), n = G(i.data?.tables, r);
102
102
  return { layers: s, tables: n };
103
103
  }
104
104
  function G(t, e) {
@@ -118,7 +118,7 @@ async function we(t, e) {
118
118
  const i = await b({ url: `${t.url}/${e.relatedTableId}` });
119
119
  return await i.load(), i;
120
120
  }
121
- function k(t) {
121
+ function K(t) {
122
122
  return (e, i) => {
123
123
  if (e.type === "oid")
124
124
  return -1;
@@ -143,11 +143,11 @@ function j(t, e) {
143
143
  return t?.every((i) => i.domains?.[e.name]?.type === "inherited") ?? !1;
144
144
  }
145
145
  const De = /^[a-z_$][a-z0-9_$]*$/giu;
146
- function K(t, e = !0) {
146
+ function z(t, e = !0) {
147
147
  return t.match(De) ? `${e ? "." : ""}${t}` : `["${t}"]`;
148
148
  }
149
- function z(t, e) {
150
- return t ? `${t}${K(e)}` : e;
149
+ function H(t, e) {
150
+ return t ? `${t}${z(e)}` : e;
151
151
  }
152
152
  function E(t) {
153
153
  return ye(t) ? t.portalItem : null;
@@ -155,13 +155,13 @@ function E(t) {
155
155
  function Ue(t, e, i = !1) {
156
156
  let r = e;
157
157
  const s = [], n = [];
158
- return ne(t).forEach((o) => {
158
+ return W(t).forEach((o) => {
159
159
  r && (r += `
160
160
 
161
161
  `), r += `**${o.name}** (${o.alias})
162
162
  ${o.type}`, o.description && (r += `
163
163
  '${o.description}`);
164
- const p = oe(o), c = K(o.name, !1), y = _(o);
164
+ const p = oe(o), c = z(o.name, !1), y = _(o);
165
165
  if (s.push({
166
166
  name: o.name,
167
167
  description: y,
@@ -197,7 +197,7 @@ ${o.type}`;
197
197
  }
198
198
  }), [[...s, ...n], r];
199
199
  }
200
- class H {
200
+ class J {
201
201
  constructor(e, i, r) {
202
202
  this._profile = e, this._label = i, this.description = r, this.filterDescription = !1;
203
203
  }
@@ -205,7 +205,7 @@ class H {
205
205
  * Returns the label string.
206
206
  */
207
207
  getLabel() {
208
- return this._label == null ? "" : typeof this._label == "string" ? ie(this._label) : V(this._profile?.intlStrings[this._label.code], this._label.formatValues);
208
+ return this._label == null ? "" : typeof this._label == "string" ? re(this._label) : V(this._profile?.intlStrings[this._label.code], this._label.formatValues);
209
209
  }
210
210
  /**
211
211
  * Returns the description string.
@@ -220,7 +220,7 @@ class H {
220
220
  return !e || e.test(this.getLabel()) ? !0 : this.filterDescription && e.test(this.getDescription());
221
221
  }
222
222
  }
223
- class F extends H {
223
+ class F extends J {
224
224
  constructor(e) {
225
225
  super(e.profile, e.label, e.description ?? e.declaration?.description), this.declaration = e.declaration ?? {}, this.name = e.declaration?.name ?? "", this.snippet = e.snippet ?? "", this.nonInteractive = e.nonInteractive ?? !1, this.filterDescription = e.filterDescription ?? !1, this.icon = e.icon;
226
226
  }
@@ -274,7 +274,7 @@ class v extends F {
274
274
  return "";
275
275
  }
276
276
  }
277
- class l extends H {
277
+ class l extends J {
278
278
  constructor(e, i, r = [], s = !1) {
279
279
  super(e, i), this.variables = r, this.isHeader = s, this.type = "group", this.isCollection = !0;
280
280
  }
@@ -301,7 +301,7 @@ class d extends v {
301
301
  }), i;
302
302
  }
303
303
  createVariableInstance(e) {
304
- const i = z(this.snippet, e.name);
304
+ const i = H(this.snippet, e.name);
305
305
  switch (e.type) {
306
306
  case "number":
307
307
  case "text":
@@ -352,7 +352,7 @@ class d extends v {
352
352
  };
353
353
  }
354
354
  }
355
- class J extends v {
355
+ class Q extends v {
356
356
  constructor(e, i, r) {
357
357
  super(e, i), this.relationshipsProperties = r, this._source = null, this._loaded = !1, this._definition = i.declaration?.definition;
358
358
  }
@@ -363,7 +363,7 @@ class J extends v {
363
363
  return fe(this._source) ? this._source.url ?? "" : "";
364
364
  }
365
365
  get informationUrl() {
366
- return !this.loaded || !this.url ? null : O(this._source) ? `${this.url}/${this._source.layerId}` : this.url;
366
+ return !this.loaded || !this.url ? null : q(this._source) ? `${this.url}/${this._source.layerId}` : this.url;
367
367
  }
368
368
  get informationType() {
369
369
  return this._profile?.intlStrings.layer ?? "layer";
@@ -372,7 +372,7 @@ class J extends v {
372
372
  return C(this._loadPromise) && U(this._loadPromise) ? await this._loadPromise : (this._loadPromise = this._loadSource(), await this._loadPromise);
373
373
  }
374
374
  _getValueSnippet(e) {
375
- return this.type === "feature" ? z(this.snippet, e.name) : e.name;
375
+ return this.type === "feature" ? H(this.snippet, e.name) : e.name;
376
376
  }
377
377
  _getSubtypeOrDomainNameSnippet(e) {
378
378
  return this.type !== "feature" ? null : f(this._source) && e.name === this._source.subtypeField ? `SubtypeName(${this.snippet})` : `DomainName(${this.snippet}, "${e.name}")`;
@@ -387,7 +387,7 @@ class J extends v {
387
387
  label: r,
388
388
  description: _(e),
389
389
  snippet: r,
390
- icon: se(e),
390
+ icon: ne(e),
391
391
  filterDescription: !0
392
392
  });
393
393
  }
@@ -521,7 +521,7 @@ class J extends v {
521
521
  const i = new l(this._profile, { code: "relationships" }), r = await Promise.all(
522
522
  e.relationships?.map(async (s) => {
523
523
  const n = await we(e, s);
524
- if (!W(n) || s.relatedTableId === this.relationshipsProperties?.sourceTableId)
524
+ if (!B(n) || s.relatedTableId === this.relationshipsProperties?.sourceTableId)
525
525
  return null;
526
526
  const u = `FeatureSetByRelationshipName(${this.snippet}, "${s.name}")`;
527
527
  return new P(
@@ -541,7 +541,7 @@ class J extends v {
541
541
  return i.variables = r.filter(C), i.variables.length ? i : null;
542
542
  }
543
543
  }
544
- class Se extends J {
544
+ class Se extends Q {
545
545
  constructor(e, i) {
546
546
  super(e, i, { exposeRelationships: !0 }), this.type = "feature";
547
547
  }
@@ -552,7 +552,7 @@ class Se extends J {
552
552
  if (this.loaded)
553
553
  return this._source;
554
554
  try {
555
- if (this._source = await q(this._definition), !this._source)
555
+ if (this._source = await k(this._definition), !this._source)
556
556
  throw new Error("Invalid definition");
557
557
  const e = m(this._source) ? this._source.title ?? "" : "";
558
558
  this.variables.push(
@@ -578,7 +578,7 @@ class Se extends J {
578
578
  });
579
579
  i.variables.push(n);
580
580
  }
581
- this._source.fields.sort(k(this._source)).forEach((s) => {
581
+ W(this._source.fields).sort(K(this._source)).forEach((s) => {
582
582
  i.variables.push(this._getFieldProperty(s));
583
583
  });
584
584
  const r = await this._getRelationshipsProperty();
@@ -594,7 +594,7 @@ class Se extends J {
594
594
  return { type: this.type, name: "", ...this.declaration, definition: this._definition };
595
595
  }
596
596
  }
597
- class P extends J {
597
+ class P extends Q {
598
598
  constructor(e, i, r = [], s) {
599
599
  super(e, i, s), this.featureSetSnippets = r, this.type = "featureSet";
600
600
  }
@@ -605,11 +605,11 @@ class P extends J {
605
605
  if (this.loaded)
606
606
  return this._source;
607
607
  try {
608
- if (this._source = await q(this._definition), !this._source)
608
+ if (this._source = await k(this._definition), !this._source)
609
609
  throw new Error("Invalid definition");
610
610
  this.variables.push(new l(this._profile, this.title, this.featureSetSnippets, !0));
611
611
  const e = new l(this._profile, { code: "fields" });
612
- this.variables.push(e), e.variables = this._source.fields.sort(k(this._source)).map((r) => this._getFieldProperty(r));
612
+ this.variables.push(e), e.variables = this._source.fields.sort(K(this._source)).map((r) => this._getFieldProperty(r));
613
613
  const i = await this._getRelationshipsProperty();
614
614
  i && this.variables.push(i);
615
615
  } catch (e) {
@@ -628,7 +628,7 @@ class Fe extends v {
628
628
  super(e, i), this.type = "featureSetCollection", this._featureSetCollections = null, this._loaded = !1, this._definition = i.declaration?.definition;
629
629
  }
630
630
  get informationUrl() {
631
- return !this.loaded || !this._featureSetCollections ? null : typeof this._featureSetCollections.source != "string" ? ee(E(this._featureSetCollections.source)) : null;
631
+ return !this.loaded || !this._featureSetCollections ? null : typeof this._featureSetCollections.source != "string" ? te(E(this._featureSetCollections.source)) : null;
632
632
  }
633
633
  get informationType() {
634
634
  if (!this.loaded || !this._featureSetCollections)
@@ -675,7 +675,7 @@ class Fe extends v {
675
675
  return this._featureSetCollections;
676
676
  }
677
677
  async _featureSetCollectionsFromDefinition() {
678
- return this._definition ? B(this._definition) ? await this._featureSetCollectionFromMap(this._definition) : w(this._definition) ? await this._featureSetCollectionFromUrl(this._definition.url) : N(this._definition) ? await this._featureSetCollectionFromPortalItem(this._definition.portalItem) : null : null;
678
+ return this._definition ? N(this._definition) ? await this._featureSetCollectionFromMap(this._definition) : w(this._definition) ? await this._featureSetCollectionFromUrl(this._definition.url) : R(this._definition) ? await this._featureSetCollectionFromPortalItem(this._definition.portalItem) : null : null;
679
679
  }
680
680
  async _featureSetCollectionFromMap(e) {
681
681
  return ce(e) && await e.loadAll(), await Promise.all(e.tables.map(async (i) => await i.load())), {
@@ -685,14 +685,14 @@ class Fe extends v {
685
685
  };
686
686
  }
687
687
  async _featureSetCollectionFromPortalItem(e) {
688
- const i = await X(e);
688
+ const i = await Y(e);
689
689
  switch (await i.load(), i.type) {
690
690
  case "Web Map": {
691
- const r = await Z({ portalItem: i });
691
+ const r = await ee({ portalItem: i });
692
692
  return await this._featureSetCollectionFromMap(r);
693
693
  }
694
694
  case "Web Scene": {
695
- const r = await Y({ portalItem: i });
695
+ const r = await Z({ portalItem: i });
696
696
  return await this._featureSetCollectionFromMap(r);
697
697
  }
698
698
  case "Feature Service":
@@ -721,7 +721,7 @@ class Fe extends v {
721
721
  _convertWebMapLayersToVariables(e, i = !1) {
722
722
  const r = [];
723
723
  return e.toArray().reverse().forEach((s) => {
724
- if (W(s)) {
724
+ if (B(s)) {
725
725
  r.push(this._createFeatureSetVariable(s, !0));
726
726
  return;
727
727
  }
@@ -794,7 +794,7 @@ class Be {
794
794
  constructor(e, i) {
795
795
  this.languageId = e, this._apiConfig = i, this._onDidChange = new x(), this._modelToProfileMap = /* @__PURE__ */ new Map(), this._modelToApiContextMap = /* @__PURE__ */ new Map(), this._localeToApiLibraryPromiseMap = /* @__PURE__ */ new Map(), this._onModelContextDidChange = new x(), this._onDidModelContextChangeTimeout = -1, this.workerHost = {
796
796
  getApiLibrary: async (r) => await this.getApiLibrary(r)
797
- }, te().then((r) => {
797
+ }, ie().then((r) => {
798
798
  r.onWillDisposeModel((s) => {
799
799
  this.disposeForModel(s.uri);
800
800
  });
@@ -870,7 +870,7 @@ class Be {
870
870
  }
871
871
  }
872
872
  async getApiLibrary(e) {
873
- const i = re(e);
873
+ const i = se(e);
874
874
  return this._localeToApiLibraryPromiseMap.has(i) || this._localeToApiLibraryPromiseMap.set(i, this.fetchApiLibrary(i)), await this._localeToApiLibraryPromiseMap.get(i) ?? [];
875
875
  }
876
876
  // #endregion
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as G } from "monaco-editor/esm/vs/editor/standa
4
4
  import { generateTokensCSSForColorMap as te } from "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.92 */
7
+ v4.33.0-next.94 */
8
8
  async function ne(l) {
9
9
  return await (await ee()).colorize(l, "arcade", { tabSize: 2 });
10
10
  }
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
5
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.92 */
8
+ v4.33.0-next.94 */
9
9
  function g(r, t, n, m) {
10
10
  if (!t)
11
11
  return [];
@@ -1,7 +1,7 @@
1
1
  import { makeRuntime as t } from "@arcgis/lumina";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.92 */
4
+ v4.33.0-next.94 */
5
5
  const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/coding-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: o, setAssetPath: m } = s;
6
6
  export {
7
7
  a as c,
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/components-utils";
4
4
  import { g as b } from "./runtime.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.92 */
7
+ v4.33.0-next.94 */
8
8
  const x = (r) => {
9
9
  const e = r.variables[0], i = e && e.type === "featureSet" ? A(e) : void 0, { apiVersion: t, bundles: o, hiddenApiItems: s } = r.toEditorProfileDefinition();
10
10
  return {
@@ -7,7 +7,7 @@ import { Deferred as _, debounce as N } from "@arcgis/components-utils";
7
7
  import { a as d } from "./sql-expr-defaults.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.92 */
10
+ v4.33.0-next.94 */
11
11
  let h = new _();
12
12
  class k {
13
13
  constructor(e) {
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/components-controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
5
- v4.33.0-next.92 */
5
+ v4.33.0-next.94 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -14,7 +14,7 @@ import { createRef as S, ref as A } from "lit-html/directives/ref.js";
14
14
  import { css as $ } from "@lit/reactive-element/css-tag.js";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
17
- v4.33.0-next.92 */
17
+ v4.33.0-next.94 */
18
18
  const y = (n) => {
19
19
  if (!n.toString().includes("calcite-flow-item"))
20
20
  throw new Error("Renderer must return a JSX node that starts with <calcite-flow-item>");