@arcgis/coding-components 4.34.0-next.104 → 4.34.0-next.106

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 (158) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{EXPZG3PT.js → 2WSSADBZ.js} +2 -2
  3. package/dist/cdn/{B6VGVXOC.js → 376PERJY.js} +1 -1
  4. package/dist/cdn/{BZM2INIF.js → 4CIKX636.js} +2 -2
  5. package/dist/cdn/{GKKVZM66.js → 5FVURVGM.js} +2 -2
  6. package/dist/cdn/{BJ5XBYXU.js → 5KNVC4C5.js} +2 -2
  7. package/dist/cdn/{FS4MWL4J.js → 5NV2LCRG.js} +2 -2
  8. package/dist/cdn/{T2I46ABA.js → 6BNZRUU6.js} +2 -2
  9. package/dist/cdn/{CLGSFYNX.js → 75PGY4UH.js} +2 -2
  10. package/dist/cdn/{W3JXPA3R.js → 772OMGIA.js} +2 -2
  11. package/dist/cdn/A22OI56L.js +10 -0
  12. package/dist/cdn/{FNHUJT6R.js → AW7VI2B6.js} +1 -1
  13. package/dist/cdn/{PM5MIY3K.js → BJWRFMQH.js} +2 -2
  14. package/dist/cdn/{XQTWUFHX.js → DG6GXSND.js} +2 -2
  15. package/dist/cdn/{OFF2VLJ4.js → F7CC4GTB.js} +2 -2
  16. package/dist/cdn/{C2RGX44O.js → FCTKXSHP.js} +2 -2
  17. package/dist/cdn/{7PCKN6WH.js → FFTT6LTO.js} +2 -2
  18. package/dist/cdn/{3CHQYGUA.js → GSXAI57J.js} +2 -2
  19. package/dist/cdn/{3YIVJB6M.js → HX4GAZQJ.js} +2 -2
  20. package/dist/cdn/{HISH2FZ4.js → I3KILQ7Y.js} +1 -1
  21. package/dist/cdn/{QGNVLGXU.js → IC5QBP6G.js} +1 -1
  22. package/dist/cdn/{XNF2ANWL.js → JUPFEV4U.js} +1 -1
  23. package/dist/cdn/{ZNGCSCTA.js → LPMRNHVG.js} +3 -3
  24. package/dist/cdn/{T257YOBG.js → M4OINQOO.js} +2 -2
  25. package/dist/cdn/{VYSIP2XU.js → MRR7IDFT.js} +2 -2
  26. package/dist/cdn/{4VPYTWSA.js → N5IRNNDZ.js} +2 -2
  27. package/dist/cdn/{LO4LGQT5.js → NJP2S2U7.js} +1 -1
  28. package/dist/cdn/{M2HWKU4E.js → PXJTJOAH.js} +4 -4
  29. package/dist/cdn/{XHRIA3XU.js → RBBTWB7C.js} +2 -2
  30. package/dist/cdn/{KCTTMEF6.js → RD2MCM3J.js} +2 -2
  31. package/dist/cdn/{BVWBHXVL.js → T3SB6YMS.js} +2 -2
  32. package/dist/cdn/{F6EN2IQG.js → TUFXIBWN.js} +2 -2
  33. package/dist/cdn/{JN57ASJ4.js → UA35XCIN.js} +2 -2
  34. package/dist/cdn/{7Z2ZWBI3.js → VD2DKKWU.js} +2 -2
  35. package/dist/cdn/VM446FMC.js +6 -0
  36. package/dist/cdn/{LS5OJWIS.js → VZCEJ5TI.js} +2 -2
  37. package/dist/cdn/{7UOLL72K.js → WSYSZE66.js} +2 -2
  38. package/dist/cdn/{XM75ZSKN.js → WZYSI5FY.js} +2 -2
  39. package/dist/cdn/{ENTRRAJF.js → XGIWYOLM.js} +2 -2
  40. package/dist/cdn/{5WF633JS.js → XM3NQNUG.js} +2 -2
  41. package/dist/cdn/{C3BAAT5C.js → XZ4QNP74.js} +2 -2
  42. package/dist/cdn/{6UGGPIRS.js → ZO3IGFYS.js} +2 -2
  43. package/dist/cdn/{622IGJ7K.js → ZOQKWVKR.js} +1 -1
  44. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ar.json +1 -1
  45. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bg.json +1 -1
  46. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bs.json +1 -1
  47. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ca.json +1 -1
  48. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.cs.json +1 -1
  49. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.da.json +1 -1
  50. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.de.json +1 -1
  51. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.el.json +1 -1
  52. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.es.json +1 -1
  53. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.et.json +1 -1
  54. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fi.json +1 -1
  55. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fr.json +1 -1
  56. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.he.json +1 -1
  57. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hr.json +1 -1
  58. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hu.json +1 -1
  59. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.id.json +1 -1
  60. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.it.json +1 -1
  61. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ja.json +1 -1
  62. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ko.json +1 -1
  63. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lt.json +1 -1
  64. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lv.json +1 -1
  65. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.nl.json +1 -1
  66. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.no.json +1 -1
  67. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pl.json +1 -1
  68. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-BR.json +1 -1
  69. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-PT.json +1 -1
  70. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ro.json +1 -1
  71. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ru.json +1 -1
  72. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sk.json +1 -1
  73. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sl.json +1 -1
  74. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sr.json +1 -1
  75. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sv.json +1 -1
  76. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.th.json +1 -1
  77. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.tr.json +1 -1
  78. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.uk.json +1 -1
  79. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.vi.json +1 -1
  80. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-CN.json +1 -1
  81. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-HK.json +1 -1
  82. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-TW.json +1 -1
  83. package/dist/cdn/assets/arcade-editor/t9n/messages.ar.json +1 -1
  84. package/dist/cdn/assets/arcade-editor/t9n/messages.bg.json +1 -1
  85. package/dist/cdn/assets/arcade-editor/t9n/messages.bs.json +1 -1
  86. package/dist/cdn/assets/arcade-editor/t9n/messages.ca.json +1 -1
  87. package/dist/cdn/assets/arcade-editor/t9n/messages.cs.json +1 -1
  88. package/dist/cdn/assets/arcade-editor/t9n/messages.da.json +1 -1
  89. package/dist/cdn/assets/arcade-editor/t9n/messages.de.json +1 -1
  90. package/dist/cdn/assets/arcade-editor/t9n/messages.el.json +1 -1
  91. package/dist/cdn/assets/arcade-editor/t9n/messages.es.json +1 -1
  92. package/dist/cdn/assets/arcade-editor/t9n/messages.et.json +1 -1
  93. package/dist/cdn/assets/arcade-editor/t9n/messages.fi.json +1 -1
  94. package/dist/cdn/assets/arcade-editor/t9n/messages.fr.json +1 -1
  95. package/dist/cdn/assets/arcade-editor/t9n/messages.he.json +1 -1
  96. package/dist/cdn/assets/arcade-editor/t9n/messages.hr.json +1 -1
  97. package/dist/cdn/assets/arcade-editor/t9n/messages.hu.json +1 -1
  98. package/dist/cdn/assets/arcade-editor/t9n/messages.id.json +1 -1
  99. package/dist/cdn/assets/arcade-editor/t9n/messages.it.json +1 -1
  100. package/dist/cdn/assets/arcade-editor/t9n/messages.ja.json +1 -1
  101. package/dist/cdn/assets/arcade-editor/t9n/messages.ko.json +1 -1
  102. package/dist/cdn/assets/arcade-editor/t9n/messages.lt.json +1 -1
  103. package/dist/cdn/assets/arcade-editor/t9n/messages.lv.json +1 -1
  104. package/dist/cdn/assets/arcade-editor/t9n/messages.nl.json +1 -1
  105. package/dist/cdn/assets/arcade-editor/t9n/messages.no.json +1 -1
  106. package/dist/cdn/assets/arcade-editor/t9n/messages.pl.json +1 -1
  107. package/dist/cdn/assets/arcade-editor/t9n/messages.pt-BR.json +1 -1
  108. package/dist/cdn/assets/arcade-editor/t9n/messages.pt-PT.json +1 -1
  109. package/dist/cdn/assets/arcade-editor/t9n/messages.ro.json +1 -1
  110. package/dist/cdn/assets/arcade-editor/t9n/messages.ru.json +1 -1
  111. package/dist/cdn/assets/arcade-editor/t9n/messages.sk.json +1 -1
  112. package/dist/cdn/assets/arcade-editor/t9n/messages.sl.json +1 -1
  113. package/dist/cdn/assets/arcade-editor/t9n/messages.sr.json +1 -1
  114. package/dist/cdn/assets/arcade-editor/t9n/messages.sv.json +1 -1
  115. package/dist/cdn/assets/arcade-editor/t9n/messages.th.json +1 -1
  116. package/dist/cdn/assets/arcade-editor/t9n/messages.tr.json +1 -1
  117. package/dist/cdn/assets/arcade-editor/t9n/messages.uk.json +1 -1
  118. package/dist/cdn/assets/arcade-editor/t9n/messages.vi.json +1 -1
  119. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-CN.json +1 -1
  120. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-HK.json +1 -1
  121. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-TW.json +1 -1
  122. package/dist/cdn/index.js +2 -2
  123. package/dist/chunks/arcade-defaults.js +1 -1
  124. package/dist/chunks/arcade-executor.js +1 -1
  125. package/dist/chunks/arcade-mode.js +1 -1
  126. package/dist/chunks/arcade-service-accessors.js +1 -1
  127. package/dist/chunks/editor.js +1 -1
  128. package/dist/chunks/fields.js +1 -1
  129. package/dist/chunks/language-defaults-base.js +85 -73
  130. package/dist/chunks/markdown.js +1 -1
  131. package/dist/chunks/monaco-importer.js +1 -1
  132. package/dist/chunks/runtime.js +1 -1
  133. package/dist/chunks/setup-monaco.js +1 -1
  134. package/dist/chunks/sql-expr-contribution.js +1 -1
  135. package/dist/chunks/sql-expr-defaults.js +1 -1
  136. package/dist/chunks/sql-expr-mode.js +1 -1
  137. package/dist/chunks/useT9n.js +1 -1
  138. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +2 -2
  139. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  140. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  141. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  142. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  143. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  144. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  145. package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +4 -0
  146. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  147. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  148. package/dist/docs/api.json +3 -2
  149. package/dist/docs/docs.json +3 -3
  150. package/dist/docs/vscode.html-custom-data.json +1 -1
  151. package/dist/docs/web-types.json +2 -2
  152. package/dist/index.js +1 -1
  153. package/dist/loader.js +1 -1
  154. package/dist/utils/profile/types.d.ts +5 -1
  155. package/dist/utils/profile/utils.d.ts +4 -0
  156. package/package.json +5 -5
  157. package/dist/cdn/C7QNTNRY.js +0 -10
  158. package/dist/cdn/IUUMB3HC.js +0 -6
@@ -1,7 +1,7 @@
1
1
  import { createArcadeExecutor as C } from "@arcgis/core/arcade.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.104 */
4
+ v4.34.0-next.106 */
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";
@@ -9,7 +9,7 @@ import { debounce as F } from "@arcgis/toolkit/function";
9
9
  import { Deferred as _ } from "@arcgis/toolkit/promise";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
12
- v4.34.0-next.104 */
12
+ v4.34.0-next.106 */
13
13
  const S = [
14
14
  "<=",
15
15
  ">=",
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.104 */
3
+ v4.34.0-next.106 */
4
4
  async function a() {
5
5
  return (await e()).getArcadeDiagnosticService();
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { css as e } from "lit";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.104 */
4
+ v4.34.0-next.106 */
5
5
  const o = e`@layer{arcgis-arcade-editor,arcgis-sql-expression-editor{.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w)}.side-panel calcite-flow{height:100%}}}`;
6
6
  export {
7
7
  o as s
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.104 */
3
+ v4.34.0-next.106 */
4
4
  function t(e) {
5
5
  switch (e.type) {
6
6
  case "oid":
@@ -1,27 +1,27 @@
1
- import b from "@arcgis/core/layers/FeatureLayer.js";
1
+ import _ from "@arcgis/core/layers/FeatureLayer.js";
2
2
  import X from "@arcgis/core/request.js";
3
3
  import { p as Y, i as Z } from "./monaco-importer.js";
4
4
  import ee from "@arcgis/core/portal/PortalItem.js";
5
5
  import te from "@arcgis/core/WebMap.js";
6
6
  import ie from "@arcgis/core/WebScene.js";
7
- import { isNotNull as w, isNotUndefined as U } from "@arcgis/toolkit/predicate";
8
- import { addLtrMark as re, setValuesInString as V } from "@arcgis/toolkit/string";
9
- import { s as W, f as se, a as _, b as ne } from "./fields.js";
10
- import { CompletionItemKind as T, InsertTextFormat as I, InsertTextMode as M } from "vscode-languageserver-types";
7
+ import { isNotNull as w, isNotUndefined as N } from "@arcgis/toolkit/predicate";
8
+ import { addLtrMark as re, setValuesInString as P } from "@arcgis/toolkit/string";
9
+ import { s as U, f as se, a as b, b as ne } from "./fields.js";
10
+ import { CompletionItemKind as V, InsertTextFormat as I, InsertTextMode as M } from "vscode-languageserver-types";
11
11
  import { g as oe } from "./runtime.js";
12
12
  import { normalizeLocale as ae } from "@arcgis/toolkit/intl";
13
13
  import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
14
- import { Emitter as x, Uri as $ } from "monaco-editor";
14
+ import { Emitter as x, Uri as L } from "monaco-editor";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
17
- v4.34.0-next.104 */
18
- function B(t) {
17
+ v4.34.0-next.106 */
18
+ function W(t) {
19
19
  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";
20
20
  }
21
21
  function ue(t) {
22
22
  return !!t && typeof t == "object" && "allLayers" in t && "allTables" in t && typeof t.allLayers == "object" && typeof t.allTables == "object";
23
23
  }
24
- function N(t) {
24
+ function B(t) {
25
25
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && (t.declaredClass === "esri.Map" || t.declaredClass === "esri.WebMap" || t.declaredClass === "esri.WebScene");
26
26
  }
27
27
  function pe(t) {
@@ -42,16 +42,16 @@ function D(t) {
42
42
  function ce(t) {
43
43
  return D(t) && /\/(?:featureserver|mapserver)(?:\/|$)/iu.test(t.url ?? "");
44
44
  }
45
- function Be(t) {
45
+ function Oe(t) {
46
46
  return D(t) || g(t) || R(t);
47
47
  }
48
- function Ne(t) {
48
+ function Re(t) {
49
49
  return D(t) || g(t) || R(t);
50
50
  }
51
- function Oe(t) {
52
- return O(t) || N(t) || ce(t);
51
+ function ke(t) {
52
+ return O(t) || B(t) || ce(t);
53
53
  }
54
- function A(t) {
54
+ function $(t) {
55
55
  return !!t && typeof t == "object" && "declaredClass" in t && t.declaredClass === "esri.layers.support.Subtype";
56
56
  }
57
57
  function C(t) {
@@ -60,7 +60,7 @@ function C(t) {
60
60
  function he(t) {
61
61
  return !!t && typeof t == "object" && "declaredClass" in t && t.declaredClass === "esri.layers.support.InheritedDomain";
62
62
  }
63
- function Re(t) {
63
+ function qe(t) {
64
64
  return !!t && typeof t == "object" && "id" in t && typeof t.id == "string" && "definitions" in t && typeof t.definitions == "object" && !Array.isArray(t.definitions);
65
65
  }
66
66
  function m(t) {
@@ -75,7 +75,7 @@ function k(t) {
75
75
  function S(t) {
76
76
  return !!t && typeof t == "object" && "typeIdField" in t && "types" in t;
77
77
  }
78
- function L(t) {
78
+ function A(t) {
79
79
  return !!t && typeof t == "object" && "getFieldDomain" in t && typeof t.getFieldDomain == "function";
80
80
  }
81
81
  function f(t) {
@@ -87,22 +87,34 @@ function de(t) {
87
87
  function ye(t) {
88
88
  return !!t && typeof t == "object" && "portalItem" in t;
89
89
  }
90
- function _e(t) {
90
+ function be(t) {
91
91
  return k(t) && "relationships" in t && "url" in t && Array.isArray(t.relationships) && typeof t.url == "string";
92
92
  }
93
- function be(t) {
93
+ function _e(t) {
94
94
  return !!t && typeof t == "object" && "isTable" in t && typeof t.isTable == "boolean";
95
95
  }
96
96
  function me(t) {
97
+ if (t && typeof t == "object") {
98
+ if (_e(t))
99
+ return t.isTable || "type" in t && t.type === "table";
100
+ if ("geometryType" in t)
101
+ return t.geometryType === "" || t.geometryType === "esriGeometryNull" || t.geometryType === null;
102
+ }
103
+ return !1;
104
+ }
105
+ function ge(t) {
106
+ return !me(t);
107
+ }
108
+ function De(t) {
97
109
  return !!t && typeof t == "object" && "load" in t && typeof t.load == "function";
98
110
  }
99
111
  async function q(t) {
100
112
  if (!t)
101
113
  return null;
102
114
  let e;
103
- return g(t) ? e = t : e = new b(t), me(e) && await e.load(), e;
115
+ return g(t) ? e = t : e = new _(t), De(e) && await e.load(), e;
104
116
  }
105
- async function ge(t) {
117
+ async function Ce(t) {
106
118
  t += "/layers";
107
119
  const e = await X(t, { responseType: "json", query: { f: "json" } }), i = t.endsWith("MapServer/layers") ? "data" : "query", r = G(e.data?.layers, i), s = G(e.data?.tables, i);
108
120
  return { layers: r, tables: s };
@@ -120,8 +132,8 @@ function G(t, e) {
120
132
  }
121
133
  }) : [];
122
134
  }
123
- async function De(t, e) {
124
- const i = new b({ url: `${t.url}/${e.relatedTableId}` });
135
+ async function we(t, e) {
136
+ const i = new _({ url: `${t.url}/${e.relatedTableId}` });
125
137
  return await i.load(), i;
126
138
  }
127
139
  function K(t) {
@@ -148,9 +160,9 @@ function K(t) {
148
160
  function j(t, e) {
149
161
  return t?.every((i) => i.domains?.[e.name]?.type === "inherited") ?? !1;
150
162
  }
151
- const Ce = /^[a-z_$][a-z0-9_$]*$/giu;
163
+ const Se = /^[a-z_$][a-z0-9_$]*$/giu;
152
164
  function z(t, e = !0) {
153
- return t.match(Ce) ? `${e ? "." : ""}${t}` : `["${t}"]`;
165
+ return t.match(Se) ? `${e ? "." : ""}${t}` : `["${t}"]`;
154
166
  }
155
167
  function H(t, e) {
156
168
  return t ? `${t}${z(e)}` : e;
@@ -158,16 +170,16 @@ function H(t, e) {
158
170
  function E(t) {
159
171
  return ye(t) ? t.portalItem : null;
160
172
  }
161
- function ke(t, e, i = !1) {
173
+ function Ke(t, e, i = !1) {
162
174
  let r = e;
163
175
  const s = [], n = [];
164
- return W(t).forEach((o) => {
176
+ return U(t).forEach((o) => {
165
177
  r && (r += `
166
178
 
167
179
  `), r += `**${o.name}** (${o.alias})
168
180
  ${o.type}`, o.description && (r += `
169
181
  '${o.description}`);
170
- const c = ne(o), p = z(o.name, !1), y = _(o);
182
+ const c = ne(o), p = z(o.name, !1), y = b(o);
171
183
  if (s.push({
172
184
  name: o.name,
173
185
  description: y,
@@ -178,7 +190,7 @@ ${o.type}`, o.description && (r += `
178
190
  insertText: p,
179
191
  insertTextMode: M.asIs,
180
192
  insertTextFormat: I.PlainText,
181
- kind: T.Field
193
+ kind: V.Field
182
194
  }
183
195
  }), i) {
184
196
  if (!o.alias || o.alias.toLowerCase() === o.name.toLowerCase())
@@ -196,7 +208,7 @@ ${o.type}`;
196
208
  insertText: p,
197
209
  insertTextMode: M.asIs,
198
210
  insertTextFormat: I.PlainText,
199
- kind: T.Field,
211
+ kind: V.Field,
200
212
  documentation: { kind: "markdown", value: h }
201
213
  }
202
214
  });
@@ -211,13 +223,13 @@ class J {
211
223
  * Returns the label string.
212
224
  */
213
225
  getLabel() {
214
- return this._label == null ? "" : typeof this._label == "string" ? re(this._label) : V(this._profile?.intlStrings[this._label.code], this._label.formatValues);
226
+ return this._label == null ? "" : typeof this._label == "string" ? re(this._label) : P(this._profile?.intlStrings[this._label.code], this._label.formatValues);
215
227
  }
216
228
  /**
217
229
  * Returns the description string.
218
230
  */
219
231
  getDescription() {
220
- return this.description == null ? "" : typeof this.description == "string" ? this.description : V(this._profile?.intlStrings[this.description.code], this.description.formatValues);
232
+ return this.description == null ? "" : typeof this.description == "string" ? this.description : P(this._profile?.intlStrings[this.description.code], this.description.formatValues);
221
233
  }
222
234
  /**
223
235
  * Returns true if the item pass the filter test
@@ -242,7 +254,7 @@ class a extends F {
242
254
  return { type: this.type, name: "", ...this.declaration };
243
255
  }
244
256
  }
245
- class we extends F {
257
+ class Fe extends F {
246
258
  constructor(e) {
247
259
  super(e), this.type = "array", this.isCollection = !1, this.elementType = e.declaration?.elementType ?? { type: "number", name: "number" };
248
260
  }
@@ -319,13 +331,13 @@ class d extends v {
319
331
  case "knowledgeGraph":
320
332
  return new a({ profile: this._profile, declaration: e, label: i, snippet: i });
321
333
  case "feature":
322
- return new Se(this, { profile: this._profile, declaration: e, label: i, snippet: i });
334
+ return new ve(this, { profile: this._profile, declaration: e, label: i, snippet: i });
323
335
  case "featureSet":
324
- return new P(this, { profile: this._profile, declaration: e, label: i, snippet: i }, [
336
+ return new T(this, { profile: this._profile, declaration: e, label: i, snippet: i }, [
325
337
  new a({ profile: this._profile, label: i, description: "", snippet: i })
326
338
  ]);
327
339
  case "featureSetCollection":
328
- return new Fe(this, {
340
+ return new Te(this, {
329
341
  profile: this._profile,
330
342
  declaration: e,
331
343
  label: i,
@@ -339,7 +351,7 @@ class d extends v {
339
351
  snippet: i
340
352
  });
341
353
  case "array":
342
- return new we({
354
+ return new Fe({
343
355
  profile: this._profile,
344
356
  declaration: e,
345
357
  label: i,
@@ -375,7 +387,7 @@ class Q extends v {
375
387
  return this._profile?.intlStrings.layer ?? "layer";
376
388
  }
377
389
  async loadSource() {
378
- return w(this._loadPromise) && U(this._loadPromise) ? await this._loadPromise : (this._loadPromise = this._loadSource(), await this._loadPromise);
390
+ return w(this._loadPromise) && N(this._loadPromise) ? await this._loadPromise : (this._loadPromise = this._loadSource(), await this._loadPromise);
379
391
  }
380
392
  _getValueSnippet(e) {
381
393
  return this.type === "feature" ? H(this.snippet, e.name) : e.name;
@@ -391,14 +403,14 @@ class Q extends v {
391
403
  return new a({
392
404
  profile: this._profile,
393
405
  label: r,
394
- description: _(e),
406
+ description: b(e),
395
407
  snippet: r,
396
408
  icon: se(e),
397
409
  filterDescription: !0
398
410
  });
399
411
  }
400
412
  _getDomainDictionary(e) {
401
- return L(this._source) ? f(this._source) && this._source.subtypeField ? this._getSubtypeDomainDictionary(e) : S(this._source) && this._source.typeIdField ? this._getFeatureTypeDomainDictionary(e) : this._getFieldDomainDictionary(e) : null;
413
+ return A(this._source) ? f(this._source) && this._source.subtypeField ? this._getSubtypeDomainDictionary(e) : S(this._source) && this._source.typeIdField ? this._getFeatureTypeDomainDictionary(e) : this._getFieldDomainDictionary(e) : null;
402
414
  }
403
415
  _getSubtypeDomainDictionary(e) {
404
416
  if (!f(this._source))
@@ -433,7 +445,7 @@ class Q extends v {
433
445
  return r.variables.push(i), r;
434
446
  }
435
447
  _getFieldDomainDictionary(e) {
436
- if (!L(this._source))
448
+ if (!A(this._source))
437
449
  return null;
438
450
  const i = this._source.getFieldDomain(e.name);
439
451
  if (!C(i))
@@ -447,7 +459,7 @@ class Q extends v {
447
459
  if (C(i.domain))
448
460
  return this._getCodedValueDomainGroup(i.domain, { code: "subtypes" });
449
461
  const r = e?.map((s) => {
450
- const n = A(s) ? s.code : s.id;
462
+ const n = $(s) ? s.code : s.id;
451
463
  return new a({
452
464
  profile: this._profile,
453
465
  label: `${n}`,
@@ -475,13 +487,13 @@ class Q extends v {
475
487
  const n = s.domains?.[i.name];
476
488
  if (!n || he(n) || !C(n))
477
489
  return;
478
- const u = _(i), o = this._getCodedValueDomainGroup(n, {
490
+ const u = b(i), o = this._getCodedValueDomainGroup(n, {
479
491
  code: "domainvaluesfortypeformat",
480
492
  formatValues: {
481
493
  fieldName: u,
482
494
  typeName: s.name
483
495
  }
484
- }), c = A(s) ? s.code : s.id, p = `${c}`, y = `"${c}""`, h = new d(this, {
496
+ }), c = $(s) ? s.code : s.id, p = `${c}`, y = `"${c}""`, h = new d(this, {
485
497
  profile: this._profile,
486
498
  label: p,
487
499
  snippet: y,
@@ -492,7 +504,7 @@ class Q extends v {
492
504
  }), !r.length) ? null : new l(this._profile, { code: "domainvaluesbysubtypes" }, r);
493
505
  }
494
506
  _createDomainDictionary(e) {
495
- const i = this._getValueSnippet(e), r = _(e), s = new d(this, {
507
+ const i = this._getValueSnippet(e), r = b(e), s = new d(this, {
496
508
  profile: this._profile,
497
509
  label: i,
498
510
  description: r,
@@ -522,15 +534,15 @@ class Q extends v {
522
534
  if (!this.relationshipsProperties?.exposeRelationships || !this._profile?.supportFeatureSetFunctions)
523
535
  return null;
524
536
  const e = this._source;
525
- if (!_e(e))
537
+ if (!be(e))
526
538
  return null;
527
539
  const i = new l(this._profile, { code: "relationships" }), r = await Promise.all(
528
540
  e.relationships?.map(async (s) => {
529
- const n = await De(e, s);
530
- if (!B(n) || s.relatedTableId === this.relationshipsProperties?.sourceTableId)
541
+ const n = await we(e, s);
542
+ if (!W(n) || s.relatedTableId === this.relationshipsProperties?.sourceTableId)
531
543
  return null;
532
544
  const u = `FeatureSetByRelationshipName(${this.snippet}, "${s.name}")`;
533
- return new P(
545
+ return new T(
534
546
  this,
535
547
  {
536
548
  profile: this._profile,
@@ -547,7 +559,7 @@ class Q extends v {
547
559
  return i.variables = r.filter(w), i.variables.length ? i : null;
548
560
  }
549
561
  }
550
- class Se extends Q {
562
+ class ve extends Q {
551
563
  constructor(e, i) {
552
564
  super(e, i, { exposeRelationships: !0 }), this.type = "feature";
553
565
  }
@@ -572,7 +584,7 @@ class Se extends Q {
572
584
  ])
573
585
  );
574
586
  const i = new l(this._profile, { code: "values" });
575
- if (this.variables.push(i), be(this._source) && !this._source.isTable) {
587
+ if (this.variables.push(i), ge(this._source)) {
576
588
  const s = `Geometry(${this.snippet})`, n = new a({
577
589
  profile: this._profile,
578
590
  declaration: { name: s },
@@ -584,7 +596,7 @@ class Se extends Q {
584
596
  });
585
597
  i.variables.push(n);
586
598
  }
587
- W(this._source.fields).sort(K(this._source)).forEach((s) => {
599
+ U(this._source.fields).sort(K(this._source)).forEach((s) => {
588
600
  i.variables.push(this._getFieldProperty(s));
589
601
  });
590
602
  const r = await this._getRelationshipsProperty();
@@ -600,7 +612,7 @@ class Se extends Q {
600
612
  return { type: this.type, name: "", ...this.declaration, definition: this._definition };
601
613
  }
602
614
  }
603
- class P extends Q {
615
+ class T extends Q {
604
616
  constructor(e, i, r = [], s) {
605
617
  super(e, i, s), this.featureSetSnippets = r, this.type = "featureSet";
606
618
  }
@@ -629,7 +641,7 @@ class P extends Q {
629
641
  return { type: this.type, name: "", ...this.declaration, definition: this._definition };
630
642
  }
631
643
  }
632
- class Fe extends v {
644
+ class Te extends v {
633
645
  constructor(e, i) {
634
646
  super(e, i), this.type = "featureSetCollection", this._featureSetCollections = null, this._loaded = !1, this._definition = i.declaration?.definition;
635
647
  }
@@ -651,7 +663,7 @@ class Fe extends v {
651
663
  }
652
664
  }
653
665
  async loadSource() {
654
- return w(this._loadPromise) && U(this._loadPromise) ? await this._loadPromise : (this._loadPromise = this._loadSource(), await this._loadPromise);
666
+ return w(this._loadPromise) && N(this._loadPromise) ? await this._loadPromise : (this._loadPromise = this._loadSource(), await this._loadPromise);
655
667
  }
656
668
  async _loadSource() {
657
669
  if (this.loaded)
@@ -681,7 +693,7 @@ class Fe extends v {
681
693
  return this._featureSetCollections;
682
694
  }
683
695
  async _featureSetCollectionsFromDefinition() {
684
- return this._definition ? N(this._definition) ? await this._featureSetCollectionFromMap(this._definition) : D(this._definition) ? await this._featureSetCollectionFromUrl(this._definition.url) : O(this._definition) ? await this._featureSetCollectionFromPortalItem(this._definition.portalItem) : null : null;
696
+ return this._definition ? B(this._definition) ? await this._featureSetCollectionFromMap(this._definition) : D(this._definition) ? await this._featureSetCollectionFromUrl(this._definition.url) : O(this._definition) ? await this._featureSetCollectionFromPortalItem(this._definition.portalItem) : null : null;
685
697
  }
686
698
  async _featureSetCollectionFromMap(e) {
687
699
  return pe(e) && await e.loadAll(), await Promise.all(e.tables.map(async (i) => await i.load())), {
@@ -711,14 +723,14 @@ class Fe extends v {
711
723
  let i = e?.replace(/\/featureserver\/[0-9]*/iu, "/FeatureServer");
712
724
  if (i = i?.replace(/\/mapserver\/[0-9]*/iu, "/MapServer"), i = i?.split("?")[0], !i)
713
725
  return null;
714
- const r = await ge(i), s = Promise.all(
726
+ const r = await Ce(i), s = Promise.all(
715
727
  r.layers.map(async (c) => {
716
- const p = new b({ url: `${i}/${c.id}` });
728
+ const p = new _({ url: `${i}/${c.id}` });
717
729
  return await p.load(), this._createFeatureSetVariable(p);
718
730
  })
719
731
  ), n = Promise.all(
720
732
  r.tables.map(async (c) => {
721
- const p = new b({ url: `${i}/${c.id}` });
733
+ const p = new _({ url: `${i}/${c.id}` });
722
734
  return await p.load(), this._createFeatureSetVariable(p);
723
735
  })
724
736
  ), [u, o] = await Promise.all([s, n]);
@@ -727,7 +739,7 @@ class Fe extends v {
727
739
  _convertWebMapLayersToVariables(e, i = !1) {
728
740
  const r = [];
729
741
  return e.toArray().reverse().forEach((s) => {
730
- if (B(s)) {
742
+ if (W(s)) {
731
743
  r.push(this._createFeatureSetVariable(s, !0));
732
744
  return;
733
745
  }
@@ -738,7 +750,7 @@ class Fe extends v {
738
750
  }), r;
739
751
  }
740
752
  _createFeatureSetVariable(e, i = !1) {
741
- return new P(
753
+ return new T(
742
754
  this,
743
755
  {
744
756
  profile: this._profile,
@@ -768,7 +780,7 @@ class Fe extends v {
768
780
  return { type: this.type, name: "", ...this.declaration, definition: this._definition };
769
781
  }
770
782
  }
771
- class qe extends d {
783
+ class ze extends d {
772
784
  constructor(e, i, r = "en") {
773
785
  super(void 0, {
774
786
  profile: null,
@@ -792,10 +804,10 @@ class qe extends d {
792
804
  };
793
805
  }
794
806
  }
795
- const ve = {
807
+ const Pe = {
796
808
  locale: "en"
797
809
  };
798
- class Ke {
810
+ class He {
799
811
  // #endregion
800
812
  constructor(e, i) {
801
813
  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 = {
@@ -813,7 +825,7 @@ class Ke {
813
825
  }, 0));
814
826
  }
815
827
  _getApiKey(e) {
816
- return $.isUri(e) || (e = $.parse(e)), e.toString();
828
+ return L.isUri(e) || (e = L.parse(e)), e.toString();
817
829
  }
818
830
  // #endregion
819
831
  // #region Public methods
@@ -842,7 +854,7 @@ class Ke {
842
854
  * @returns The API context for the model.
843
855
  */
844
856
  getApiContextForModel(e) {
845
- return this._modelToApiContextMap.get(this._getApiKey(e)) ?? ve;
857
+ return this._modelToApiContextMap.get(this._getApiKey(e)) ?? Pe;
846
858
  }
847
859
  /**
848
860
  * Set or update api context for the given model id.
@@ -882,12 +894,12 @@ class Ke {
882
894
  // #endregion
883
895
  }
884
896
  export {
885
- qe as E,
886
- Ke as L,
887
- Ne as a,
888
- B as b,
889
- Oe as c,
890
- Be as d,
891
- ke as f,
892
- Re as i
897
+ ze as E,
898
+ He as L,
899
+ Re as a,
900
+ W as b,
901
+ ke as c,
902
+ Oe as d,
903
+ Ke as f,
904
+ qe as i
893
905
  };
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as ie } from "monaco-editor/esm/vs/editor/stand
4
4
  import { generateTokensCSSForColorMap as we } 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.34/esri/copyright.txt for details.
7
- v4.34.0-next.104 */
7
+ v4.34.0-next.106 */
8
8
  async function ye(r, e) {
9
9
  return await (await me()).colorize(r, e, { tabSize: 2 });
10
10
  }
@@ -6,7 +6,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
6
6
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.104 */
9
+ v4.34.0-next.106 */
10
10
  function $(e, n, l, i) {
11
11
  if (!n)
12
12
  return [];
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.104 */
6
+ v4.34.0-next.106 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
@@ -1,7 +1,7 @@
1
1
  import i from "@arcgis/core/request.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.104 */
4
+ v4.34.0-next.106 */
5
5
  function p() {
6
6
  return !!window.MonacoEnvironment?.getWorkerUrl;
7
7
  }
@@ -8,7 +8,7 @@ import { g as c } from "./arcade-service-accessors.js";
8
8
  import { a as n } from "./sql-expr-defaults.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.104 */
11
+ v4.34.0-next.106 */
12
12
  const s = /* @__PURE__ */ new Set();
13
13
  function g(e, o) {
14
14
  return () => {
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/toolkit/intl";
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.34/esri/copyright.txt for details.
7
- v4.34.0-next.104 */
7
+ v4.34.0-next.106 */
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 {
@@ -8,7 +8,7 @@ import { a as d } from "./sql-expr-defaults.js";
8
8
  import { debounce as N } from "@arcgis/toolkit/function";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.104 */
11
+ v4.34.0-next.106 */
12
12
  let h = new _();
13
13
  class k {
14
14
  constructor(e) {
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/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.34/esri/copyright.txt for details.
5
- v4.34.0-next.104 */
5
+ v4.34.0-next.106 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -16,8 +16,8 @@ import K from "@arcgis/core/Graphic.js";
16
16
  import { b as X } from "../../chunks/language-defaults-base.js";
17
17
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
18
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
19
- v4.34.0-next.104 */
20
- const Z = W`:host(:not([closed])){--calcite-block-border-color: var(--calcite-color-transparent);flex:1 0 auto;border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box;max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);.submission-actions-wrapper{display:flex;flex-direction:column;width:100%;gap:.75rem}.submission-actions{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.gaps{display:flex;gap:.25rem}.align-inline-end{margin-inline-start:auto}.action .error-display{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.prompt-list calcite-list-item{margin-block-end:.5rem;border-radius:var(--calcite-corner-radius-round);--calcite-color-border-3: transparent;overflow:hidden}.feedback-content{padding:1rem;display:flex;flex-direction:column;gap:.75rem;max-height:30vh;overflow-y:auto}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}calcite-chip[slot=header-actions-end]{align-self:center;margin-inline-end:.5rem}calcite-list-item:focus calcite-button{position:relative;top:-2px}.prompt-list calcite-list-item:last-of-type{margin-block-end:0}calcite-list{--calcite-color-foreground-1: transparent;background-color:transparent}calcite-list-item{--calcite-color-foreground-1: white}calcite-flow-item calcite-shell{background:transparent}calcite-block{width:100%;max-width:100%;align-self:flex-end;background-color:transparent;margin-block:0}calcite-sheet{--calcite-sheet-scrim-background: rgba(200, 200, 200, .5)}.type-suggestion{--calcite-color-foreground-1: var(--calcite-color-foreground-current);--calcite-color-text-3: var(--calcite-color-text-2);--calcite-icon-color: var(--calcite-color-brand)}.type-history{--calcite-icon-color: var(--calcite-color-text-2)}.type-response{--calcite-icon-color: var(--calcite-color-brand);--calcite-font-family: monospace}.block-response{align-self:flex-start;margin-block-end:4rem;border-block-end:0;--calcite-block-text-color: var(--calcite-color-brand)}calcite-list-item calcite-button{margin-inline-end:.25rem}.type-docs{--calcite-color-foreground-1: var(--calcite-color-foreground-3);--calcite-icon-color: var(--calcite-color-text-1)}.type-error{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-font-family: monospace;border:1px solid var(--calcite-color-status-danger)}#thumbs-up{margin-inline-start:auto;--calcite-icon-color: var(--calcite-color-border-input)}#thumbs-down{--calcite-icon-color: var(--calcite-color-border-input)}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}.no-space-block,.no-space-block[open]{margin:0}calcite-block[open]:last-of-type{border-block-end:0}.text-area-wrapper{display:flex;border-radius:var(--calcite-corner-radius-round);margin:.75rem;overflow:hidden;--calcite-color-border-input: transparent;position:sticky;box-shadow:var(--calcite-shadow-sm);flex:none}calcite-text-area{height:auto;min-height:5.75rem;overflow:hidden;border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-tooltip{--calcite-tooltip-z-index: 1000}.standalone-list{margin:1rem;width:calc(100% - 2rem)}.result-disclaimer{display:block;width:24rem;max-width:90%;margin:1rem auto;text-align:center;line-height:1.125rem;font-size:.875rem;font-style:italic}calcite-flow{height:100%}calcite-popover calcite-list{--calcite-list-background-color: transparent;--calcite-input-border-color: transparent}calcite-popover calcite-list calcite-filter{--calcite-spacing-sm: 0}.break-spaces{white-space:break-spaces}.feedback-button-container{margin-inline-start:auto;gap:0}.info-heading{font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-1)}.unstyled-h3{margin:unset;font-size:var(--calcite-font-size-md)}.unstyled-shell{position:unset;inset:unset;display:unset;block-size:unset;inline-size:unset}.suggestion-button{font-weight:var(--calcite-font-weight-medium)}.info-block{max-width:450px}#result-block{calcite-card-group{--calcite-card-group-gap: 1.25rem}calcite-card{--calcite-card-corner-radius: var(--calcite-corner-radius-round);--calcite-card-background-color: white;--calcite-card-border-color: transparent;width:100%}.positioned-code-content{display:flex;flex-direction:row;gap:.5rem;padding:.5rem}calcite-card [slot=title] calcite-chip{margin-block-start:.25rem}.code-response-wrapper{position:relative;background:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-round);margin-top:-1.5rem}.prior-prompt{display:flex;flex-direction:row;padding:0;overflow-y:hidden;overflow-x:auto;margin:.25rem 0 .75rem;align-items:center;max-width:100%;span{overflow-x:auto;overflow-y:hidden}}.copy-feedback{display:none}.copy-prompt-button{align-self:flex-start;margin-inline-start:auto}.response-secondary-action-button[data-copied]+.copy-feedback,.copy-prompt-button[data-copied]+.copy-feedback{display:block;span{padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text--2);font-weight:var(--calcite-font-weight-medium)}}.copy-prompt-button[data-copied]~.copy-tooltip,.response-secondary-action-button[data-copied]~.copy-tooltip{display:none}code{white-space:pre;font-size:12px;margin:0;overflow-x:auto;font-family:Fira Mono,Consolas,Menlo,monospace;display:block;max-height:12rem;position:relative;padding:.5rem}.code-collapse{margin-inline-start:auto}.response-secondary-action-button{margin-left:.5rem}.add-to-editor-button{--calcite-internal-button-border-color: unset}}.collapsible-code{padding:.5rem}.collapsible-code summary{cursor:pointer;font-weight:500;color:var(--calcite-color-brand);outline:none;padding:.25rem 0}.collapsible-code[open] summary{color:var(--calcite-color-text-2)}.collapsible-error{padding:.5rem}.collapsible-error summary{cursor:pointer;font-weight:500;color:var(--calcite-color-status-danger);outline:none;padding:.25rem 0}.collapsible-error[open] summary{color:var(--calcite-color-text-2)}.response-error-container{padding:.5rem;background:color-mix(in srgb,var(--calcite-color-status-warning) 10%,transparent);border-radius:var(--calcite-corner-radius-round);margin:1rem 0;font-size:var(--calcite-font-size--2);--calcite-input-message-icon-color: var(--calcite-color-status-warning)}.response-error-chip{--calcite-internal-chip-background-color: var(--calcite-color-status-warning);--calcite-chip-icon-color: var(--calcite-color-foreground-1);--calcite-chip-border-color: var(--calcite-color-transparent)}.feedback-actions{gap:unset}}:host([closed]){display:none}`;
19
+ v4.34.0-next.106 */
20
+ const Z = W`:host(:not([closed])){--calcite-block-border-color: var(--calcite-color-transparent);flex:1 0 auto;border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box;max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);.submission-actions-wrapper{display:flex;flex-direction:column;width:100%;gap:.75rem}.submission-actions{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.gaps{display:flex;gap:.25rem}.align-inline-end{margin-inline-start:auto}.action .error-display{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.feedback-content{padding:1rem;display:flex;flex-direction:column;gap:.75rem;max-height:30vh;overflow-y:auto}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}calcite-chip[slot=header-actions-end]{align-self:center;margin-inline-end:.5rem}calcite-flow-item calcite-shell{background:transparent}calcite-block{width:100%;max-width:100%;align-self:flex-end;background-color:transparent;margin-block:0}calcite-sheet{--calcite-sheet-scrim-background: rgba(200, 200, 200, .5)}.type-suggestion{--calcite-color-foreground-1: var(--calcite-color-foreground-current);--calcite-color-text-3: var(--calcite-color-text-2);--calcite-icon-color: var(--calcite-color-brand)}.type-history{--calcite-icon-color: var(--calcite-color-text-2)}.type-response{--calcite-icon-color: var(--calcite-color-brand);--calcite-font-family: monospace}.block-response{align-self:flex-start;margin-block-end:4rem;border-block-end:0;--calcite-block-text-color: var(--calcite-color-brand)}calcite-list-item calcite-button{margin-inline-end:.25rem}.type-docs{--calcite-color-foreground-1: var(--calcite-color-foreground-3);--calcite-icon-color: var(--calcite-color-text-1)}.type-error{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-font-family: monospace;border:1px solid var(--calcite-color-status-danger)}#thumbs-up{margin-inline-start:auto;--calcite-icon-color: var(--calcite-color-border-input)}#thumbs-down{--calcite-icon-color: var(--calcite-color-border-input)}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}.no-space-block,.no-space-block[open]{margin:0}calcite-block[open]:last-of-type{border-block-end:0}.text-area-wrapper{display:flex;border-radius:var(--calcite-corner-radius-round);margin:.75rem;overflow:hidden;--calcite-color-border-input: transparent;position:sticky;box-shadow:var(--calcite-shadow-sm);flex:none}calcite-text-area{height:auto;min-height:5.75rem;overflow:hidden;border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-tooltip{--calcite-tooltip-z-index: 1000}.standalone-list{margin:1rem;width:calc(100% - 2rem)}.result-disclaimer{display:block;width:24rem;max-width:90%;margin:1rem auto;text-align:center;line-height:1.125rem;font-size:.875rem;font-style:italic}calcite-flow{height:100%}calcite-popover calcite-list{--calcite-list-background-color: transparent;--calcite-input-border-color: transparent}calcite-popover calcite-list calcite-filter{--calcite-spacing-sm: 0}.break-spaces{white-space:break-spaces}.feedback-button-container{margin-inline-start:auto;gap:0}.info-heading{font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-1)}.unstyled-h3{margin:unset;font-size:var(--calcite-font-size-md)}.unstyled-shell{position:unset;inset:unset;display:unset;block-size:unset;inline-size:unset}.suggestion-button{font-weight:var(--calcite-font-weight-medium)}.info-block{max-width:450px}#result-block{calcite-card-group{--calcite-card-group-gap: 1.25rem}calcite-card{--calcite-card-corner-radius: var(--calcite-corner-radius-round);--calcite-card-border-color: transparent;width:100%}.positioned-code-content{display:flex;flex-direction:row;gap:.5rem;padding:.5rem}calcite-card [slot=title] calcite-chip{margin-block-start:.25rem}.code-response-wrapper{position:relative;background:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-round);margin-top:-1.5rem}.prior-prompt{display:flex;flex-direction:row;padding:0;overflow-y:hidden;overflow-x:auto;margin:.25rem 0 .75rem;align-items:center;max-width:100%;span{overflow-x:auto;overflow-y:hidden}}.copy-feedback{display:none}.copy-prompt-button{align-self:flex-start;margin-inline-start:auto}.response-secondary-action-button[data-copied]+.copy-feedback,.copy-prompt-button[data-copied]+.copy-feedback{display:block;span{padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text--2);font-weight:var(--calcite-font-weight-medium)}}.copy-prompt-button[data-copied]~.copy-tooltip,.response-secondary-action-button[data-copied]~.copy-tooltip{display:none}code{white-space:pre;font-size:12px;margin:0;overflow-x:auto;font-family:Fira Mono,Consolas,Menlo,monospace;display:block;max-height:12rem;position:relative;padding:.5rem}.code-collapse{margin-inline-start:auto}.response-secondary-action-button{margin-left:.5rem}.add-to-editor-button{--calcite-internal-button-border-color: unset}}.collapsible-code{padding:.5rem}.collapsible-code summary{cursor:pointer;font-weight:500;color:var(--calcite-color-brand);outline:none;padding:.25rem 0}.collapsible-code[open] summary{color:var(--calcite-color-text-2)}.collapsible-error{padding:.5rem}.collapsible-error summary{cursor:pointer;font-weight:500;color:var(--calcite-color-status-danger);outline:none;padding:.25rem 0}.collapsible-error[open] summary{color:var(--calcite-color-text-2)}.response-error-container{padding:.5rem;background:color-mix(in srgb,var(--calcite-color-status-warning) 10%,transparent);border-radius:var(--calcite-corner-radius-round);margin:1rem 0;font-size:var(--calcite-font-size--2);--calcite-input-message-icon-color: var(--calcite-color-status-warning)}.response-error-chip{--calcite-internal-chip-background-color: var(--calcite-color-status-warning);--calcite-chip-icon-color: var(--calcite-color-foreground-1);--calcite-chip-border-color: var(--calcite-color-transparent)}.feedback-actions{gap:unset}}:host([closed]){display:none}`;
21
21
  class y extends Error {
22
22
  constructor({
23
23
  message: e,
@@ -17,7 +17,7 @@ import { s as F } from "../../chunks/editor.js";
17
17
  import U from "@arcgis/core/identity/IdentityManager.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
20
- v4.34.0-next.104 */
20
+ v4.34.0-next.106 */
21
21
  const j = E`@layer{arcgis-arcade-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.sticky{position:sticky;top:0;z-index:10}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}.main-action-bar{border-bottom:var(--arcgis-coding-components-border)!important;flex:0 0 auto;calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}arcgis-arcade-results{border-top:var(--arcgis-coding-components-border)!important;box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}calcite-flow{[slot=footer]{word-break:break-word}}.hidden{display:none}}}`, z = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", N = (i) => {
22
22
  const { aiAssistantsEnabled: e } = i;
23
23
  return e === void 0 ? (console.warn("areAiAssistantsEnabled is not defined in the organizations settings."), !1) : e;