@arcgis/coding-components 5.0.0-next.74 → 5.0.0-next.76

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 (224) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{LHZIBQNR.js → 25JJW5BT.js} +2 -2
  3. package/dist/cdn/{CDK64JKY.js → 27PULLKM.js} +2 -2
  4. package/dist/cdn/36VPDNSG.js +4 -0
  5. package/dist/cdn/{4PKXJNCH.js → 5LBWZ2NU.js} +2 -2
  6. package/dist/cdn/{6BIKHTZA.js → 6YHTSTQF.js} +1 -1
  7. package/dist/cdn/{OJTBIFG3.js → 76WBTUVY.js} +1 -1
  8. package/dist/cdn/77C54T2E.js +4 -0
  9. package/dist/cdn/7S5MGMHB.js +4 -0
  10. package/dist/cdn/{4T5UGMCN.js → A3CFWPUG.js} +1 -1
  11. package/dist/cdn/AIJ23UG5.js +4 -0
  12. package/dist/cdn/{VLNKP4PM.js → ATSKVXCU.js} +2 -2
  13. package/dist/cdn/{WWVXM2CA.js → AVNP7EZM.js} +1 -1
  14. package/dist/cdn/{LGIXRQ6Y.js → AWYDQU7O.js} +2 -2
  15. package/dist/cdn/{6PEJ4IEF.js → BEOTUOJI.js} +2 -2
  16. package/dist/cdn/{O2Y2VOFY.js → BMCPU7ZH.js} +1 -1
  17. package/dist/cdn/ENS24DUA.js +4 -0
  18. package/dist/cdn/{BPCXSUFH.js → ERFUWKCY.js} +2 -2
  19. package/dist/cdn/{TKMYHJSL.js → ETK53YIX.js} +2 -2
  20. package/dist/cdn/{KU4NOA4B.js → FV43FNKH.js} +2 -2
  21. package/dist/cdn/{ICTH4F6X.js → G4WH52CR.js} +2 -2
  22. package/dist/cdn/GRG6F6DA.js +13 -0
  23. package/dist/cdn/{OZV6YEBL.js → HWIO2KSU.js} +2 -2
  24. package/dist/cdn/{PUFC7EMC.js → IXXMBSPM.js} +2 -2
  25. package/dist/cdn/IY362XQH.js +4 -0
  26. package/dist/cdn/J44Q7D6P.js +4 -0
  27. package/dist/cdn/{BYVDNVDN.js → KE3CPWDE.js} +2 -2
  28. package/dist/cdn/{RADKGJJY.js → KEFVHOTO.js} +1 -1
  29. package/dist/cdn/{DBHBFPY6.js → KF44RRZQ.js} +2 -2
  30. package/dist/cdn/{LTCMTO6T.js → KY243XH7.js} +2 -2
  31. package/dist/cdn/{22EGWYBW.js → L47J66NY.js} +2 -2
  32. package/dist/cdn/{42GJKJIL.js → MOHV2V4S.js} +2 -2
  33. package/dist/cdn/{ZIA2WLMN.js → NXWETHNO.js} +2 -2
  34. package/dist/cdn/NYMMPEW3.js +4 -0
  35. package/dist/cdn/{U7BHYR7H.js → PCWS4VVG.js} +2 -2
  36. package/dist/cdn/{ZXAK3REF.js → Q5MSSYJC.js} +1 -1
  37. package/dist/cdn/{FMFM4XC5.js → QDQGGJ2T.js} +2 -2
  38. package/dist/cdn/R4SNNMO4.js +4 -0
  39. package/dist/cdn/R7SK5GPP.js +4 -0
  40. package/dist/cdn/{GZF2SZMK.js → SOROJJPY.js} +3 -3
  41. package/dist/cdn/{4E36FJM2.js → SUU4KCDI.js} +2 -2
  42. package/dist/cdn/{N72DIDJI.js → UEBKIHJ2.js} +2 -2
  43. package/dist/cdn/VMZO5MCZ.js +4 -0
  44. package/dist/cdn/{F5VB5PTX.js → W5HKMSOV.js} +2 -2
  45. package/dist/cdn/{FRITQHFC.js → W6KFCTJW.js} +1 -1
  46. package/dist/cdn/WCRBXQU2.js +4 -0
  47. package/dist/cdn/YQLCZ7IR.js +4 -0
  48. package/dist/cdn/YYLHG3VE.js +6 -0
  49. package/dist/cdn/{E73LWEKI.js → ZENKI77J.js} +2 -2
  50. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ar.json +1 -1
  51. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bg.json +1 -1
  52. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.bs.json +1 -1
  53. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ca.json +1 -1
  54. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.cs.json +1 -1
  55. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.da.json +1 -1
  56. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.de.json +1 -1
  57. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.el.json +1 -1
  58. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.es.json +1 -1
  59. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.et.json +1 -1
  60. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fi.json +1 -1
  61. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.fr.json +1 -1
  62. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.he.json +1 -1
  63. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hr.json +1 -1
  64. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.hu.json +1 -1
  65. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.id.json +1 -1
  66. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.it.json +1 -1
  67. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ja.json +1 -1
  68. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ko.json +1 -1
  69. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lt.json +1 -1
  70. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.lv.json +1 -1
  71. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.nl.json +1 -1
  72. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.no.json +1 -1
  73. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pl.json +1 -1
  74. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-BR.json +1 -1
  75. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.pt-PT.json +1 -1
  76. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ro.json +1 -1
  77. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.ru.json +1 -1
  78. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sk.json +1 -1
  79. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sl.json +1 -1
  80. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sr.json +1 -1
  81. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.sv.json +1 -1
  82. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.th.json +1 -1
  83. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.tr.json +1 -1
  84. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.uk.json +1 -1
  85. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.vi.json +1 -1
  86. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-CN.json +1 -1
  87. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-HK.json +1 -1
  88. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.zh-TW.json +1 -1
  89. package/dist/cdn/assets/arcade-editor/t9n/messages.ar.json +1 -1
  90. package/dist/cdn/assets/arcade-editor/t9n/messages.bg.json +1 -1
  91. package/dist/cdn/assets/arcade-editor/t9n/messages.bs.json +1 -1
  92. package/dist/cdn/assets/arcade-editor/t9n/messages.ca.json +1 -1
  93. package/dist/cdn/assets/arcade-editor/t9n/messages.cs.json +1 -1
  94. package/dist/cdn/assets/arcade-editor/t9n/messages.da.json +1 -1
  95. package/dist/cdn/assets/arcade-editor/t9n/messages.de.json +1 -1
  96. package/dist/cdn/assets/arcade-editor/t9n/messages.el.json +1 -1
  97. package/dist/cdn/assets/arcade-editor/t9n/messages.es.json +1 -1
  98. package/dist/cdn/assets/arcade-editor/t9n/messages.et.json +1 -1
  99. package/dist/cdn/assets/arcade-editor/t9n/messages.fi.json +1 -1
  100. package/dist/cdn/assets/arcade-editor/t9n/messages.fr.json +1 -1
  101. package/dist/cdn/assets/arcade-editor/t9n/messages.he.json +1 -1
  102. package/dist/cdn/assets/arcade-editor/t9n/messages.hr.json +1 -1
  103. package/dist/cdn/assets/arcade-editor/t9n/messages.hu.json +1 -1
  104. package/dist/cdn/assets/arcade-editor/t9n/messages.id.json +1 -1
  105. package/dist/cdn/assets/arcade-editor/t9n/messages.it.json +1 -1
  106. package/dist/cdn/assets/arcade-editor/t9n/messages.ja.json +1 -1
  107. package/dist/cdn/assets/arcade-editor/t9n/messages.ko.json +1 -1
  108. package/dist/cdn/assets/arcade-editor/t9n/messages.lt.json +1 -1
  109. package/dist/cdn/assets/arcade-editor/t9n/messages.lv.json +1 -1
  110. package/dist/cdn/assets/arcade-editor/t9n/messages.nl.json +1 -1
  111. package/dist/cdn/assets/arcade-editor/t9n/messages.no.json +1 -1
  112. package/dist/cdn/assets/arcade-editor/t9n/messages.pl.json +1 -1
  113. package/dist/cdn/assets/arcade-editor/t9n/messages.pt-BR.json +1 -1
  114. package/dist/cdn/assets/arcade-editor/t9n/messages.pt-PT.json +1 -1
  115. package/dist/cdn/assets/arcade-editor/t9n/messages.ro.json +1 -1
  116. package/dist/cdn/assets/arcade-editor/t9n/messages.ru.json +1 -1
  117. package/dist/cdn/assets/arcade-editor/t9n/messages.sk.json +1 -1
  118. package/dist/cdn/assets/arcade-editor/t9n/messages.sl.json +1 -1
  119. package/dist/cdn/assets/arcade-editor/t9n/messages.sr.json +1 -1
  120. package/dist/cdn/assets/arcade-editor/t9n/messages.sv.json +1 -1
  121. package/dist/cdn/assets/arcade-editor/t9n/messages.th.json +1 -1
  122. package/dist/cdn/assets/arcade-editor/t9n/messages.tr.json +1 -1
  123. package/dist/cdn/assets/arcade-editor/t9n/messages.uk.json +1 -1
  124. package/dist/cdn/assets/arcade-editor/t9n/messages.vi.json +1 -1
  125. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-CN.json +1 -1
  126. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-HK.json +1 -1
  127. package/dist/cdn/assets/arcade-editor/t9n/messages.zh-TW.json +1 -1
  128. package/dist/cdn/assets/code-editor/sql-expr.worker.js +3009 -2984
  129. package/dist/cdn/assets/editor-variables/t9n/messages.ar.json +1 -1
  130. package/dist/cdn/assets/editor-variables/t9n/messages.bg.json +1 -1
  131. package/dist/cdn/assets/editor-variables/t9n/messages.bs.json +1 -1
  132. package/dist/cdn/assets/editor-variables/t9n/messages.ca.json +1 -1
  133. package/dist/cdn/assets/editor-variables/t9n/messages.cs.json +1 -1
  134. package/dist/cdn/assets/editor-variables/t9n/messages.da.json +1 -1
  135. package/dist/cdn/assets/editor-variables/t9n/messages.de.json +1 -1
  136. package/dist/cdn/assets/editor-variables/t9n/messages.el.json +1 -1
  137. package/dist/cdn/assets/editor-variables/t9n/messages.es.json +1 -1
  138. package/dist/cdn/assets/editor-variables/t9n/messages.et.json +1 -1
  139. package/dist/cdn/assets/editor-variables/t9n/messages.fi.json +1 -1
  140. package/dist/cdn/assets/editor-variables/t9n/messages.fr.json +1 -1
  141. package/dist/cdn/assets/editor-variables/t9n/messages.he.json +1 -1
  142. package/dist/cdn/assets/editor-variables/t9n/messages.hr.json +1 -1
  143. package/dist/cdn/assets/editor-variables/t9n/messages.hu.json +1 -1
  144. package/dist/cdn/assets/editor-variables/t9n/messages.id.json +1 -1
  145. package/dist/cdn/assets/editor-variables/t9n/messages.it.json +1 -1
  146. package/dist/cdn/assets/editor-variables/t9n/messages.ja.json +1 -1
  147. package/dist/cdn/assets/editor-variables/t9n/messages.ko.json +1 -1
  148. package/dist/cdn/assets/editor-variables/t9n/messages.lt.json +1 -1
  149. package/dist/cdn/assets/editor-variables/t9n/messages.lv.json +1 -1
  150. package/dist/cdn/assets/editor-variables/t9n/messages.nl.json +1 -1
  151. package/dist/cdn/assets/editor-variables/t9n/messages.no.json +1 -1
  152. package/dist/cdn/assets/editor-variables/t9n/messages.pl.json +1 -1
  153. package/dist/cdn/assets/editor-variables/t9n/messages.pt-BR.json +1 -1
  154. package/dist/cdn/assets/editor-variables/t9n/messages.pt-PT.json +1 -1
  155. package/dist/cdn/assets/editor-variables/t9n/messages.ro.json +1 -1
  156. package/dist/cdn/assets/editor-variables/t9n/messages.ru.json +1 -1
  157. package/dist/cdn/assets/editor-variables/t9n/messages.sk.json +1 -1
  158. package/dist/cdn/assets/editor-variables/t9n/messages.sl.json +1 -1
  159. package/dist/cdn/assets/editor-variables/t9n/messages.sr.json +1 -1
  160. package/dist/cdn/assets/editor-variables/t9n/messages.sv.json +1 -1
  161. package/dist/cdn/assets/editor-variables/t9n/messages.th.json +1 -1
  162. package/dist/cdn/assets/editor-variables/t9n/messages.tr.json +1 -1
  163. package/dist/cdn/assets/editor-variables/t9n/messages.uk.json +1 -1
  164. package/dist/cdn/assets/editor-variables/t9n/messages.vi.json +1 -1
  165. package/dist/cdn/assets/editor-variables/t9n/messages.zh-CN.json +1 -1
  166. package/dist/cdn/assets/editor-variables/t9n/messages.zh-HK.json +1 -1
  167. package/dist/cdn/assets/editor-variables/t9n/messages.zh-TW.json +1 -1
  168. package/dist/cdn/index.js +3 -3
  169. package/dist/cdn/main.css +1 -1
  170. package/dist/chunks/arcade-contribution.js +19 -21
  171. package/dist/chunks/arcade-defaults.js +1 -1
  172. package/dist/chunks/arcade-executor.js +1 -1
  173. package/dist/chunks/arcade-mode.js +8 -7
  174. package/dist/chunks/arcade-service-accessors.js +30 -21
  175. package/dist/chunks/colorize.js +1 -1
  176. package/dist/chunks/editor.js +3 -3
  177. package/dist/chunks/fields.js +1 -1
  178. package/dist/chunks/language-defaults-base.js +1 -1
  179. package/dist/chunks/markdown.js +1 -1
  180. package/dist/chunks/monaco-importer.js +2 -1
  181. package/dist/chunks/monaco-theme.js +10 -0
  182. package/dist/chunks/runtime.js +1 -1
  183. package/dist/chunks/sql-expr-defaults.js +1 -1
  184. package/dist/chunks/sql-expr-mode.js +8 -7
  185. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  186. package/dist/chunks/useT9n.js +1 -1
  187. package/dist/chunks/utilities.js +1 -1
  188. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  189. package/dist/components/arcgis-arcade-editor/customElement.js +2 -1
  190. package/dist/components/arcgis-arcade-results/customElement.js +88 -56
  191. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  192. package/dist/components/arcgis-code-editor/customElement.js +28 -23
  193. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  194. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  195. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  196. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  197. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  198. package/dist/docs/api.json +2 -2
  199. package/dist/docs/docs.json +2 -2
  200. package/dist/docs/web-types.json +1 -1
  201. package/dist/index.js +1 -1
  202. package/dist/loader.js +4 -4
  203. package/dist/monacoStyles.js +1 -1
  204. package/dist/utils/arcade-executor.d.ts +13 -2
  205. package/dist/utils/css-vars.d.ts +7 -0
  206. package/dist/utils/monaco-importer.d.ts +1 -0
  207. package/dist/utils/monaco-typings.d.ts +1 -0
  208. package/dist/utils/profile/types.d.ts +1 -0
  209. package/dist/utils/setup-monaco.d.ts +1 -0
  210. package/package.json +5 -5
  211. package/dist/cdn/33DUWXM4.js +0 -4
  212. package/dist/cdn/4MXHAQUW.js +0 -4
  213. package/dist/cdn/5GY2ZPTQ.js +0 -4
  214. package/dist/cdn/7FLP36VI.js +0 -4
  215. package/dist/cdn/A6F4A4JY.js +0 -4
  216. package/dist/cdn/EAT7ELYY.js +0 -4
  217. package/dist/cdn/ENPVXJFW.js +0 -6
  218. package/dist/cdn/EUYWGYSO.js +0 -4
  219. package/dist/cdn/GCAINZP2.js +0 -4
  220. package/dist/cdn/KKSDD2XB.js +0 -4
  221. package/dist/cdn/OGAJT3TL.js +0 -4
  222. package/dist/cdn/QPBJBFQB.js +0 -4
  223. package/dist/cdn/URJ6F46P.js +0 -4
  224. package/dist/cdn/ZITRCEQM.js +0 -4
package/dist/cdn/main.css CHANGED
@@ -1 +1 @@
1
- @layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}:root{--arcgis-coding-components-border: 1px solid var(--calcite-color-border-3);--arcgis-coding-components-background-color: var(--calcite-color-foreground-1);--arcgis-coding-components-side-action-bar-max-w: 25%;--arcgis-coding-components-code-editor-side-panel-w: 600px;--arcgis-coding-components-code-editor-side-panel-max-w: 45%;--arcgis-editor-comment: #606060;--arcgis-editor-constant: #9809C8;--arcgis-editor-date: #296389;--arcgis-editor-identifier: #0000B3;--arcgis-editor-keyword: #BF4900;--arcgis-editor-number: #136D3D;--arcgis-editor-string: #A31515}.calcite-mode-dark{--arcgis-editor-comment: #BFBFBF;--arcgis-editor-constant: #CDBAEA;--arcgis-editor-date: #97A6CE;--arcgis-editor-identifier: #9FD4F3;--arcgis-editor-keyword: #EEAA5A;--arcgis-editor-number: #AAD04B;--arcgis-editor-string: #F2877B}}
1
+ @layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}
@@ -1,45 +1,43 @@
1
- import { i as g } from "./monaco-importer.js";
1
+ import { i as d } from "./monaco-importer.js";
2
+ import { t as p } from "./monaco-theme.js";
2
3
  import { Uri as f, languages as a } from "monaco-editor";
3
4
  import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
4
5
  import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
6
+ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
5
7
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
6
8
  import { a as t } from "./sql-expr-defaults.js";
7
- import { g as p } from "./sql-expr-service-accessors.js";
9
+ import { g as l } from "./sql-expr-service-accessors.js";
8
10
  import { b as n } from "./arcade-defaults.js";
9
- import { g as l } from "./arcade-service-accessors.js";
11
+ import { g as h } from "./arcade-service-accessors.js";
10
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.74 */
13
- const h = ["arcade", "arcgis-sql-expression"], i = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Map();
14
+ v5.0.0-next.76 */
15
+ const k = ["arcade", "arcgis-sql-expression"], i = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
14
16
  function c(e) {
15
- let r = d.get(e);
16
- return r || (r = Promise.withResolvers(), d.set(e, r)), r;
17
+ let r = g.get(e);
18
+ return r || (r = Promise.withResolvers(), g.set(e, r)), r;
17
19
  }
18
20
  function u(e) {
19
21
  c(e).resolve();
20
22
  }
21
- function b(e) {
22
- return h.includes(e) ? c(e).promise : Promise.resolve();
23
+ function T(e) {
24
+ return k.includes(e) ? c(e).promise : Promise.resolve();
23
25
  }
24
26
  function m(e, r) {
25
27
  return () => {
26
28
  i.has(e) || i.add(e), r();
27
29
  };
28
30
  }
29
- async function q(e) {
31
+ async function P(e) {
30
32
  if (i.has(e))
31
33
  return;
32
- (await g()).createModel("", e, f.parse("")).dispose();
34
+ (await d()).createModel("", e, f.parse("")).dispose();
33
35
  }
34
- const k = {
35
- "light-theme": { comment: "#606060", constant: "#9809C8", date: "#296389", identifier: "#0000B3", keyword: "#BF4900", number: "#136D3D", string: "#A31515", operator: "#9809C8", predefined: "#0000B3" },
36
- "dark-theme": { comment: "#BFBFBF", constant: "#CDBAEA", date: "#97A6CE", identifier: "#9FD4F3", keyword: "#EEAA5A", number: "#AAD04B", string: "#F2877B", operator: "#CDBAEA", predefined: "#9FD4F3" }
37
- };
38
36
  w();
39
37
  function w() {
40
- g().then((e) => {
38
+ d().then((e) => {
41
39
  ["light", "dark"].forEach((r) => {
42
- const s = r === "light" ? "vs" : "vs-dark", o = k[`${r}-theme`];
40
+ const s = r === "light" ? "vs" : "vs-dark", o = p[`${r}-theme`];
43
41
  e.defineTheme(s, {
44
42
  base: s,
45
43
  inherit: !0,
@@ -68,7 +66,7 @@ a.register({
68
66
  a.onLanguage(
69
67
  t.languageId,
70
68
  m(t.languageId, () => {
71
- p().then((e) => {
69
+ l().then((e) => {
72
70
  e.setupMode(t), u(t.languageId);
73
71
  }).catch((e) => {
74
72
  throw e;
@@ -84,7 +82,7 @@ a.register({
84
82
  a.onLanguage(
85
83
  n.languageId,
86
84
  m(n.languageId, () => {
87
- l().then((e) => {
85
+ h().then((e) => {
88
86
  e.setupMode(n), u(n.languageId);
89
87
  }).catch((e) => {
90
88
  throw e;
@@ -92,6 +90,6 @@ a.onLanguage(
92
90
  })
93
91
  );
94
92
  export {
95
- q as s,
96
- b as w
93
+ P as s,
94
+ T as w
97
95
  };
@@ -5,7 +5,7 @@ import { CompletionItemKind as w, InsertTextFormat as u, InsertTextMode as p } f
5
5
  import { getDeclaredPixelMembers as I } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.74 */
8
+ v5.0.0-next.76 */
9
9
  async function C(e) {
10
10
  const { apiVersion: r, bundles: t, hiddenApiItems: i } = e.toEditorProfileDefinition(), n = await h(e.dictionaryVariables);
11
11
  return { apiVersion: r, bundles: t, variables: n, hiddenApiItems: i?.map((s) => s.toLowerCase()) };
@@ -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/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.74 */
4
+ v5.0.0-next.76 */
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";
@@ -1,6 +1,7 @@
1
1
  import { Range as x, languages as l, MarkerSeverity as p, Emitter as L } from "monaco-editor";
2
2
  import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
3
3
  import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
4
+ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
4
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
6
  import { ArcadeKeywords as M } from "@arcgis/arcade-languageservice";
6
7
  import { i as k } from "./monaco-importer.js";
@@ -9,7 +10,7 @@ import { debounce as F } from "@arcgis/toolkit/function";
9
10
  import { Deferred as _ } from "@arcgis/toolkit/promise";
10
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.74 */
13
+ v5.0.0-next.76 */
13
14
  const S = [
14
15
  "<=",
15
16
  ">=",
@@ -489,7 +490,7 @@ class b {
489
490
  }
490
491
  }
491
492
  let w;
492
- async function Q(...t) {
493
+ async function Y(...t) {
493
494
  return await b.waitForWorker(), await new Promise((e, n) => {
494
495
  if (!w) {
495
496
  n(new Error("Arcade not registered!"));
@@ -519,10 +520,10 @@ class O {
519
520
  }
520
521
  }
521
522
  const C = new O();
522
- function Y() {
523
+ function ee() {
523
524
  return C;
524
525
  }
525
- function ee(t) {
526
+ function te(t) {
526
527
  const e = new b(t), n = async (...c) => await e.getLanguageServiceWorker(...c);
527
528
  w = n, l.setMonarchTokensProvider(t.languageId, A), l.setLanguageConfiguration(t.languageId, T), l.registerCompletionItemProvider(
528
529
  t.languageId,
@@ -536,7 +537,7 @@ function ee(t) {
536
537
  });
537
538
  }
538
539
  export {
539
- Y as getArcadeDiagnosticService,
540
- Q as getArcadeWorker,
541
- ee as setupMode
540
+ ee as getArcadeDiagnosticService,
541
+ Y as getArcadeWorker,
542
+ te as setupMode
542
543
  };
@@ -1,19 +1,24 @@
1
- import d from "@arcgis/core/request.js";
1
+ import f from "@arcgis/core/request.js";
2
+ import "monaco-editor";
3
+ import { StandaloneServices as w } from "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
4
+ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
5
+ import { IHoverService as m } from "monaco-editor/esm/vs/platform/hover/browser/hover.js";
6
+ import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
2
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.74 */
5
- function w() {
9
+ v5.0.0-next.76 */
10
+ function g() {
6
11
  return !!window.MonacoEnvironment?.getWorker;
7
12
  }
8
13
  let a = "";
9
- const f = /* @__PURE__ */ new Map(), i = !1;
14
+ const k = /* @__PURE__ */ new Map(), i = !1;
10
15
  async function c(t, e, r) {
11
16
  if (r)
12
17
  return e ? e() : new Worker(t);
13
18
  const o = window.location.origin;
14
19
  if (new URL(t, window.location.href).origin !== o) {
15
- const s = await d(t, { responseType: "text" });
16
- return new Worker(URL.createObjectURL(new Blob([s.data], { type: "text/javascript" })), {
20
+ const n = await f(t, { responseType: "text" });
21
+ return new Worker(URL.createObjectURL(new Blob([n.data], { type: "text/javascript" })), {
17
22
  type: "module"
18
23
  });
19
24
  }
@@ -21,10 +26,10 @@ async function c(t, e, r) {
21
26
  type: "module"
22
27
  });
23
28
  }
24
- function j(t) {
25
- if (w())
29
+ function S(t) {
30
+ if (g())
26
31
  return;
27
- a = t;
32
+ j(), a = t;
28
33
  const e = `${a}/code-editor`, r = {
29
34
  arcade: `${e}/arcade.worker.js`,
30
35
  "arcgis-sql-expression": `${e}/sql-expr.worker.js`,
@@ -60,23 +65,27 @@ function j(t) {
60
65
  }
61
66
  };
62
67
  window.MonacoEnvironment = {
63
- getWorker: async (l, s) => {
64
- const n = f.get(s);
65
- if (n)
66
- return await c(n, void 0, i);
67
- const { url: u, localWorker: p } = o[s] || o.default;
68
- return await c(u, p, i);
68
+ getWorker: async (u, n) => {
69
+ const s = k.get(n);
70
+ if (s)
71
+ return await c(s, void 0, i);
72
+ const { url: p, localWorker: d } = o[n] || o.default;
73
+ return await c(p, d, i);
69
74
  }
70
75
  };
71
76
  }
72
- async function m() {
73
- return (await g()).getArcadeDiagnosticService();
77
+ let l = !1;
78
+ function j() {
79
+ l || (w.get(m), l = !0);
74
80
  }
75
- async function g() {
81
+ async function q() {
82
+ return (await v()).getArcadeDiagnosticService();
83
+ }
84
+ async function v() {
76
85
  return await import("./arcade-mode.js");
77
86
  }
78
87
  export {
79
- m as a,
80
- g,
81
- j as s
88
+ q as a,
89
+ v as g,
90
+ S as s
82
91
  };
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as n } from "monaco-editor/esm/vs/editor/standa
4
4
  import { generateTokensCSSForColorMap as a } 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/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.74 */
7
+ v5.0.0-next.76 */
8
8
  async function c(e, o) {
9
9
  return await (await i()).colorize(e, o, { tabSize: 2 });
10
10
  }
@@ -1,8 +1,8 @@
1
- import { css as e } from "lit";
1
+ import { css as o } from "lit";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.74 */
5
- const i = 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)}.code-editor-side-panel{max-width:var(--arcgis-coding-components-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-side-panel-w)}.code-editor-side-panel calcite-flow{height:100%}}}`;
4
+ v5.0.0-next.76 */
5
+ const i = o`@layer{arcgis-arcade-editor,arcgis-sql-expression-editor{--arcgis-coding-components-border: 1px solid var(--calcite-color-border-3);--arcgis-coding-components-background-color: var(--calcite-color-foreground-1);--arcgis-coding-components-side-action-bar-max-w: 25%;--arcgis-coding-components-code-editor-side-panel-w: 600px;--arcgis-coding-components-code-editor-side-panel-max-w: 45%;.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)}.code-editor-side-panel{max-width:var(--arcgis-coding-components-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-side-panel-w)}.code-editor-side-panel calcite-flow{height:100%}}}`;
6
6
  export {
7
7
  i as s
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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.74 */
3
+ v5.0.0-next.76 */
4
4
  const n = "cube";
5
5
  function u(e, t) {
6
6
  switch (e.type) {
@@ -16,7 +16,7 @@ import { filterApiLibraryForContext as de } from "@arcgis/languages-api-utils";
16
16
  import { Emitter as G, Uri as E } from "monaco-editor";
17
17
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
18
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
19
- v5.0.0-next.74 */
19
+ v5.0.0-next.76 */
20
20
  function k(t) {
21
21
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && w(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
22
22
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.74 */
3
+ v5.0.0-next.76 */
4
4
  function D() {
5
5
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
6
6
  }
@@ -1,10 +1,11 @@
1
1
  import "monaco-editor";
2
2
  import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
3
3
  import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
4
+ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
4
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.74 */
8
+ v5.0.0-next.76 */
8
9
  const r = async () => {
9
10
  const { editor: t } = await import("monaco-editor/esm/vs/editor/editor.api.js");
10
11
  return t;
@@ -0,0 +1,10 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
+ v5.0.0-next.76 */
4
+ const e = {
5
+ "light-theme": { comment: "#606060", constant: "#9809C8", date: "#296389", identifier: "#0000B3", keyword: "#BF4900", number: "#136D3D", string: "#A31515", operator: "#9809C8", predefined: "#0000B3" },
6
+ "dark-theme": { comment: "#BFBFBF", constant: "#CDBAEA", date: "#97A6CE", identifier: "#9FD4F3", keyword: "#EEAA5A", number: "#AAD04B", string: "#F2877B", operator: "#CDBAEA", predefined: "#9FD4F3" }
7
+ };
8
+ export {
9
+ e as t
10
+ };
@@ -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/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.74 */
6
+ v5.0.0-next.76 */
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;
@@ -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/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.74 */
7
+ v5.0.0-next.76 */
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 {
@@ -1,6 +1,7 @@
1
1
  import { Emitter as T, languages as u } from "monaco-editor";
2
2
  import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
3
3
  import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
4
+ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
4
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
6
  import { i as p } from "./monaco-importer.js";
6
7
  import { Deferred as _ } from "@arcgis/toolkit/promise";
@@ -9,7 +10,7 @@ import { debounce as N } from "@arcgis/toolkit/function";
9
10
  import { g as f } from "./sql-expr-service-accessors.js";
10
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.74 */
13
+ v5.0.0-next.76 */
13
14
  let h = new _();
14
15
  class k {
15
16
  constructor(e) {
@@ -320,7 +321,7 @@ class b {
320
321
  }
321
322
  }
322
323
  let E;
323
- async function G(...a) {
324
+ async function V(...a) {
324
325
  return await k.waitForWorker(), await new Promise((e, t) => {
325
326
  if (!E) {
326
327
  t(new Error("sql expression worker not registered!"));
@@ -350,10 +351,10 @@ class D {
350
351
  }
351
352
  }
352
353
  const C = new D();
353
- async function V() {
354
+ async function B() {
354
355
  return await f(), C;
355
356
  }
356
- function B(a) {
357
+ function K(a) {
357
358
  const e = new k(a), t = async (...n) => await e.getLanguageServiceWorker(...n);
358
359
  E = t, u.setMonarchTokensProvider(d.languageId, M), u.setLanguageConfiguration(d.languageId, R);
359
360
  const i = new x(t, d);
@@ -363,7 +364,7 @@ function B(a) {
363
364
  });
364
365
  }
365
366
  export {
366
- V as getSqlExprDiagnosticService,
367
- G as getSqlExprWorker,
368
- B as setupMode
367
+ B as getSqlExprDiagnosticService,
368
+ V as getSqlExprWorker,
369
+ K as setupMode
369
370
  };
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.74 */
3
+ v5.0.0-next.76 */
4
4
  async function t() {
5
5
  return await import("./sql-expr-mode.js");
6
6
  }
@@ -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/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.74 */
5
+ v5.0.0-next.76 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -2,7 +2,7 @@ import { createFilterExpression as d } from "@arcgis/toolkit/string";
2
2
  import { format as f } from "@arcgis/arcade-languageservice";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.74 */
5
+ v5.0.0-next.76 */
6
6
  function b(e, r, s, u) {
7
7
  if (!r)
8
8
  return [];
@@ -17,7 +17,7 @@ import Z from "@arcgis/core/Graphic.js";
17
17
  import { b as ee } from "../../chunks/language-defaults-base.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.74 */
20
+ v5.0.0-next.76 */
21
21
  const te = G`:host(:not([closed])){container-type:size;--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-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-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}@container (max-width: 380px){.hidden-below-380{display:none}}@container (min-width: 380px){.hidden-above-380{display:none}}.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}.contained-popover-or-tooltip{--calcite-popover-max-size-x: 100%;--calcite-tooltip-max-size-x: 100%}.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}.contained{max-width:100%;max-height:100%;max-width:100cqi;max-height:75cqb;overflow-y:auto}}:host([closed]){display:none}`;
22
22
  class v extends Error {
23
23
  constructor({
@@ -3,6 +3,7 @@ import { css as w, html as i, nothing as A } from "lit";
3
3
  import { KeyCode as R } from "monaco-editor";
4
4
  import "monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js";
5
5
  import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
6
+ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
6
7
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
7
8
  import { LitElement as y, createEvent as x, noShadowRoot as D, safeClassMap as r } from "@arcgis/lumina";
8
9
  import { generateGuid as C } from "@arcgis/toolkit/string";
@@ -16,7 +17,7 @@ import { s as U } from "../../chunks/editor.js";
16
17
  import j from "@arcgis/core/identity/IdentityManager.js";
17
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
19
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
19
- v5.0.0-next.74 */
20
+ v5.0.0-next.76 */
20
21
  const z = w`@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}}}`, N = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", O = (s) => {
21
22
  const { aiAssistantsEnabled: e } = s;
22
23
  return e === void 0 ? (console.warn("areAiAssistantsEnabled is not defined in the organizations settings."), !1) : e;