@arcgis/coding-components 5.0.0-next.122 → 5.0.0-next.124

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 (88) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{XSD6BA46.js → 3MIA2XQZ.js} +2 -2
  3. package/dist/cdn/{BYEGZCAI.js → 4LJTQZWW.js} +2 -2
  4. package/dist/cdn/{VDUSITD2.js → 4XYFRBBR.js} +2 -2
  5. package/dist/cdn/{MVLG2MYX.js → 4Y6R6MQI.js} +2 -2
  6. package/dist/cdn/{5QI5UTMM.js → 55REAZ7V.js} +2 -2
  7. package/dist/cdn/{2DRQ6BNC.js → 5GR4XBOP.js} +2 -2
  8. package/dist/cdn/{ZP4A4AY3.js → 5ITFKKVZ.js} +2 -2
  9. package/dist/cdn/{KVIMKPYW.js → 66M74NC6.js} +2 -2
  10. package/dist/cdn/{JK3CCPVF.js → 6UYTY4E3.js} +2 -2
  11. package/dist/cdn/{GXZ2X7XU.js → 7CBFSCCG.js} +1 -1
  12. package/dist/cdn/{LDJSETSD.js → 7FXIEFR3.js} +2 -2
  13. package/dist/cdn/{55RCZ6XP.js → BS7DG5AD.js} +2 -2
  14. package/dist/cdn/{P5TZ5UNU.js → BT52UHKC.js} +2 -2
  15. package/dist/cdn/{MXJRGL5U.js → BYGCJU6Z.js} +2 -2
  16. package/dist/cdn/{XAGEA3XO.js → CFMBBMFV.js} +2 -2
  17. package/dist/cdn/{NAGF2Z2D.js → DDIB2E3H.js} +1 -1
  18. package/dist/cdn/{Q5T2KPL2.js → EA5DSTV6.js} +1 -1
  19. package/dist/cdn/{3PS6M6VD.js → EXFGYPJ2.js} +1 -1
  20. package/dist/cdn/{EBUSMJOT.js → HYCWQZZI.js} +2 -2
  21. package/dist/cdn/{XSPLDM5L.js → ICPAFIAA.js} +2 -2
  22. package/dist/cdn/{4DTAVXBS.js → IDRFWYUA.js} +2 -2
  23. package/dist/cdn/{CJKTWGGK.js → JOPULDW6.js} +2 -2
  24. package/dist/cdn/{M66XJTO2.js → JSJKYLLW.js} +1 -1
  25. package/dist/cdn/{XMXTLCWY.js → LBMYHT4Q.js} +2 -2
  26. package/dist/cdn/{JHFPKEPM.js → LLM7KVBR.js} +2 -2
  27. package/dist/cdn/{LBLAK3PN.js → LR4QV5NI.js} +2 -2
  28. package/dist/cdn/{IEG7THXU.js → M3VMO37P.js} +2 -2
  29. package/dist/cdn/{CUPGVQVT.js → MPY6CNJH.js} +2 -2
  30. package/dist/cdn/{W45Q242J.js → QQRC43MF.js} +2 -2
  31. package/dist/cdn/{6ATXY4DQ.js → QUWSFG75.js} +3 -3
  32. package/dist/cdn/{ORNQOMPI.js → RBP6TTNV.js} +1 -1
  33. package/dist/cdn/{HGQ5VLKG.js → RBVG3RGE.js} +2 -2
  34. package/dist/cdn/{XZEBDJ5V.js → RP6KGR7C.js} +2 -2
  35. package/dist/cdn/RWSSODQI.js +4 -0
  36. package/dist/cdn/{JYS5LGFT.js → SNYKC7WF.js} +2 -2
  37. package/dist/cdn/TF4SWIYY.js +8 -0
  38. package/dist/cdn/{FMRHPBFR.js → UMFZP3TQ.js} +2 -2
  39. package/dist/cdn/{ZEFUZXY6.js → VIDKLNUH.js} +2 -2
  40. package/dist/cdn/{2J6SHWMB.js → VKSQIHTK.js} +2 -2
  41. package/dist/cdn/{VSFXRIEN.js → VOFZE5TQ.js} +2 -2
  42. package/dist/cdn/{WGAHI6SV.js → VSPPJ34Y.js} +2 -2
  43. package/dist/cdn/{E5LZXWSX.js → WUX7GIVY.js} +1 -1
  44. package/dist/cdn/{ZXMUDXWG.js → X324SFCI.js} +2 -2
  45. package/dist/cdn/{ERWJSSYU.js → X5CNM52D.js} +2 -2
  46. package/dist/cdn/{7TNM3MBK.js → XB2H3BKT.js} +2 -2
  47. package/dist/cdn/{YU7EUPE6.js → XBQFW5F5.js} +2 -2
  48. package/dist/cdn/{3JK722XX.js → YZMXKVJP.js} +1 -1
  49. package/dist/cdn/{QEIQAP7D.js → ZNA5PXHK.js} +2 -2
  50. package/dist/cdn/assets/code-editor/sql-expr.worker.js +578 -578
  51. package/dist/cdn/index.js +2 -2
  52. package/dist/chunks/arcade-contribution.js +1 -1
  53. package/dist/chunks/arcade-defaults.js +153 -131
  54. package/dist/chunks/arcade-executor.js +1 -1
  55. package/dist/chunks/arcade-mode.js +1 -1
  56. package/dist/chunks/arcade-service-accessors.js +1 -1
  57. package/dist/chunks/colorize.js +1 -1
  58. package/dist/chunks/fields.js +1 -1
  59. package/dist/chunks/language-defaults-base.js +1 -1
  60. package/dist/chunks/markdown.js +1 -1
  61. package/dist/chunks/monaco-importer.js +1 -1
  62. package/dist/chunks/monaco-theme.js +1 -1
  63. package/dist/chunks/runtime.js +1 -1
  64. package/dist/chunks/sql-expr-defaults.js +1 -1
  65. package/dist/chunks/sql-expr-mode.js +1 -1
  66. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  67. package/dist/chunks/useT9n.js +1 -1
  68. package/dist/chunks/utilities.js +1 -1
  69. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  70. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  72. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
  75. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  76. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  77. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  78. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  79. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  80. package/dist/docs/api.json +2 -2
  81. package/dist/docs/docs.json +2 -2
  82. package/dist/docs/web-types.json +1 -1
  83. package/dist/index.js +1 -1
  84. package/dist/loader.js +1 -1
  85. package/dist/utils/arcade-monaco/arcade-defaults.d.ts +20 -0
  86. package/package.json +5 -5
  87. package/dist/cdn/R7VFYNQC.js +0 -8
  88. package/dist/cdn/SOWUXRA3.js +0 -4
package/dist/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
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.122 */
4
- import{I as s,u as e}from"./VSFXRIEN.js";import"./3JK722XX.js";import"./NAGF2Z2D.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./HGQ5VLKG.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./MVLG2MYX.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./IEG7THXU.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./W45Q242J.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./P5TZ5UNU.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-editor-shell":[()=>import("./MXJRGL5U.js")],"arcgis-code-viewer":[()=>import("./55RCZ6XP.js"),"language,round"],"arcgis-editor-variables":[()=>import("./XSPLDM5L.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./KVIMKPYW.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./BYEGZCAI.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./XZEBDJ5V.js"),"loading,modelId"]});i({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
3
+ v5.0.0-next.124 */
4
+ import{I as s,u as e}from"./VOFZE5TQ.js";import"./YZMXKVJP.js";import"./DDIB2E3H.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./RBVG3RGE.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./4Y6R6MQI.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./M3VMO37P.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./QQRC43MF.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./BT52UHKC.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-editor-shell":[()=>import("./BYGCJU6Z.js")],"arcgis-code-viewer":[()=>import("./BS7DG5AD.js"),"language,round"],"arcgis-editor-variables":[()=>import("./ICPAFIAA.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./66M74NC6.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./4LJTQZWW.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./RP6KGR7C.js"),"loading,modelId"]});i({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
@@ -14,7 +14,7 @@ import { b as n } from "./arcade-defaults.js";
14
14
  import { a as h } from "./arcade-service-accessors.js";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
17
- v5.0.0-next.122 */
17
+ v5.0.0-next.124 */
18
18
  const k = ["arcade", "arcgis-sql-expression"], i = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
19
19
  function c(e) {
20
20
  let r = g.get(e);
@@ -1,99 +1,99 @@
1
- import { i as y, b as x, a as b, c as D, d as F, e as S, f as M, m as v, L as A, E as L } from "./language-defaults-base.js";
2
- import { supportedLocales as k, fetchT9nStringsBundle as E } from "@arcgis/toolkit/intl";
3
- import { g as m } from "./runtime.js";
4
- import { CompletionItemKind as g, InsertTextFormat as u, InsertTextMode as p } from "vscode-languageserver-types";
5
- import { getDeclaredPixelMembers as I } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
1
+ import { i as g, b as D, a as v, c as F, d as S, e as M, f as A, m as L, L as k, E } from "./language-defaults-base.js";
2
+ import { supportedLocales as I, fetchT9nStringsBundle as C } from "@arcgis/toolkit/intl";
3
+ import { g as h } from "./runtime.js";
4
+ import { CompletionItemKind as T, InsertTextFormat as p, InsertTextMode as f } from "vscode-languageserver-types";
5
+ import { getDeclaredPixelMembers as j } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
6
6
  import "@arcgis/toolkit/type";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.122 */
10
- async function C(e) {
11
- const { apiVersion: i, bundles: t, hiddenApiItems: n } = e.toEditorProfileDefinition(), r = await w(e.dictionaryVariables);
12
- return { apiVersion: i, bundles: t, variables: r, hiddenApiItems: n?.map((s) => s.toLowerCase()) };
9
+ v5.0.0-next.124 */
10
+ async function $(e) {
11
+ const { apiVersion: r, bundles: n, hiddenApiItems: i } = e.toEditorProfileDefinition(), t = await P(e.dictionaryVariables);
12
+ return { apiVersion: r, bundles: n, variables: t, hiddenApiItems: i?.map((s) => s.toLowerCase()) };
13
13
  }
14
- async function w(e, i = g.Variable) {
14
+ async function P(e, r = T.Variable) {
15
15
  return await Promise.all(
16
- e.map(async (t) => {
17
- switch (t.type) {
16
+ e.map(async (n) => {
17
+ switch (n.type) {
18
18
  case "dictionary":
19
- return await K(t, i);
19
+ return await q(n, r);
20
20
  case "pixel":
21
- return await B(t, i);
21
+ return await _(n, r);
22
22
  // Voxel is equivalent to features in regards to the languageservice.
23
23
  // They both have equivalent fields, but some voxel fields are different types (arrays)
24
24
  // than what is reported in .fields, so in the sidebar we treat a bit differently.
25
25
  // In autocomplete we don't differentiate types, so we can use the same logic as features.
26
26
  case "voxel":
27
27
  case "feature":
28
- return await $(t, i);
28
+ return await K(n, r);
29
29
  default:
30
- return j(t, i);
30
+ return B(n, r);
31
31
  }
32
32
  })
33
33
  );
34
34
  }
35
- function j(e, i) {
36
- const { name: t, type: n } = e, r = e.getDescription();
35
+ function B(e, r) {
36
+ const { name: n, type: i } = e, t = e.getDescription();
37
37
  return {
38
- name: t,
39
- description: r,
40
- type: n,
38
+ name: n,
39
+ description: t,
40
+ type: i,
41
41
  completion: {
42
- label: t,
43
- detail: t,
44
- insertText: t,
45
- insertTextMode: p.asIs,
46
- insertTextFormat: u.PlainText,
47
- kind: i,
48
- documentation: { kind: "markdown", value: r }
42
+ label: n,
43
+ detail: n,
44
+ insertText: n,
45
+ insertTextMode: f.asIs,
46
+ insertTextFormat: p.PlainText,
47
+ kind: r,
48
+ documentation: { kind: "markdown", value: t }
49
49
  }
50
50
  };
51
51
  }
52
- async function $(e, i) {
53
- const t = await e.loadSource(), { name: n } = e, r = e.getDescription(), s = {
54
- label: n,
55
- detail: n,
56
- insertText: n,
57
- insertTextMode: p.asIs,
58
- insertTextFormat: u.PlainText,
59
- kind: i
52
+ async function K(e, r) {
53
+ const n = await e.loadSource(), { name: i } = e, t = e.getDescription(), s = {
54
+ label: i,
55
+ detail: i,
56
+ insertText: i,
57
+ insertTextMode: f.asIs,
58
+ insertTextFormat: p.PlainText,
59
+ kind: r
60
60
  }, o = {
61
- name: n,
62
- description: r,
61
+ name: i,
62
+ description: t,
63
63
  type: "dictionary",
64
64
  properties: [],
65
65
  completion: s
66
66
  };
67
- if (!t)
67
+ if (!n)
68
68
  return o;
69
- const [a, c] = M(t.fields, r, !0);
69
+ const [a, c] = A(n.fields, t, !0);
70
70
  return o.properties = a, s.documentation = { kind: "markdown", value: c }, o;
71
71
  }
72
- async function B(e, i) {
73
- const t = await e.loadSource(), n = e.toProfileVariableDefinition();
74
- if (n.type !== "pixel")
72
+ async function _(e, r) {
73
+ const n = await e.loadSource(), i = e.toProfileVariableDefinition();
74
+ if (i.type !== "pixel")
75
75
  throw new Error("Incorrect definition passed to pixel variable");
76
- const { name: r } = e, s = e.getDescription(), o = {
77
- label: r,
78
- detail: r,
79
- insertText: r,
80
- insertTextMode: p.asIs,
81
- insertTextFormat: u.PlainText,
82
- kind: i
76
+ const { name: t } = e, s = e.getDescription(), o = {
77
+ label: t,
78
+ detail: t,
79
+ insertText: t,
80
+ insertTextMode: f.asIs,
81
+ insertTextFormat: p.PlainText,
82
+ kind: r
83
83
  }, a = {
84
- name: r,
84
+ name: t,
85
85
  description: s,
86
86
  type: "dictionary",
87
87
  properties: [],
88
88
  completion: o
89
89
  };
90
- if (!t || !n.definition)
90
+ if (!n || !i.definition)
91
91
  return a;
92
- const c = await I(t), [T, P] = v(c, s);
93
- return a.properties = T, o.documentation = { kind: "markdown", value: P }, a;
92
+ const c = await j(n), [d, l] = L(c, s);
93
+ return a.properties = d, o.documentation = { kind: "markdown", value: l }, a;
94
94
  }
95
- async function K(e, i) {
96
- const { name: t, dictionaryVariables: n } = e, r = e.getDescription(), s = n.reduce((o, a) => {
95
+ async function q(e, r) {
96
+ const { name: n, dictionaryVariables: i } = e, t = e.getDescription(), s = i.reduce((o, a) => {
97
97
  o !== "" && (o += `
98
98
 
99
99
  `), o += `**${a.name}**
@@ -101,53 +101,53 @@ ${a.type}`;
101
101
  const c = a.getDescription();
102
102
  return c && (o += `
103
103
  ${c}`), o;
104
- }, r);
104
+ }, t);
105
105
  return {
106
- name: t,
107
- description: r,
106
+ name: n,
107
+ description: t,
108
108
  type: "dictionary",
109
- properties: await w(n, g.Field),
109
+ properties: await P(i, T.Field),
110
110
  completion: {
111
- label: t,
112
- detail: t,
113
- insertText: t,
114
- insertTextMode: p.asIs,
115
- insertTextFormat: u.PlainText,
116
- kind: i,
111
+ label: n,
112
+ detail: n,
113
+ insertText: n,
114
+ insertTextMode: f.asIs,
115
+ insertTextFormat: p.PlainText,
116
+ kind: r,
117
117
  documentation: { kind: "markdown", value: s }
118
118
  }
119
119
  };
120
120
  }
121
- async function f(e = "en") {
122
- const i = h.get(e);
123
- if (i)
124
- return i;
125
- if (!k.has(e))
126
- return await f("en");
121
+ async function y(e = "en") {
122
+ const r = x.get(e);
123
+ if (r)
124
+ return r;
125
+ if (!I.has(e))
126
+ return await y("en");
127
127
  try {
128
- const t = await fetch(m(`./assets/arcade-language/profiles/arcade-profiles.t9n.${e}.json`));
129
- return t.ok ? _(e, await t.json()) : e === "en" ? null : await f("en");
128
+ const n = await fetch(h(`./assets/arcade-language/profiles/arcade-profiles.t9n.${e}.json`));
129
+ return n.ok ? Q(e, await n.json()) : e === "en" ? null : await y("en");
130
130
  } catch {
131
131
  return null;
132
132
  }
133
133
  }
134
- const h = /* @__PURE__ */ new Map();
135
- function _(e, i) {
136
- const t = /* @__PURE__ */ new Map();
137
- return i.forEach((n) => {
138
- t.set(n.id, n);
139
- }), h.set(e, t), t;
134
+ const x = /* @__PURE__ */ new Map();
135
+ function Q(e, r) {
136
+ const n = /* @__PURE__ */ new Map();
137
+ return r.forEach((i) => {
138
+ n.set(i.id, i);
139
+ }), x.set(e, n), n;
140
140
  }
141
- async function q(e, i = "en") {
142
- return (await f(i))?.get(e) ?? null;
141
+ async function U(e, r = "en") {
142
+ return (await y(r))?.get(e) ?? null;
143
143
  }
144
144
  function z(e) {
145
145
  return !!e && typeof e == "object" && "additionalVariables" in e && Array.isArray(e.additionalVariables);
146
146
  }
147
147
  function G(e) {
148
- return e?.map(d);
148
+ return e?.map(m);
149
149
  }
150
- function d(e) {
150
+ function m(e) {
151
151
  switch (e.type) {
152
152
  case "dictionary":
153
153
  return {
@@ -165,44 +165,44 @@ function d(e) {
165
165
  return { ...e, type: e.type };
166
166
  }
167
167
  }
168
- async function H(e, i = "en") {
169
- if (!y(e))
168
+ async function H(e, r = "en") {
169
+ if (!g(e))
170
170
  return;
171
- const t = await q(e.id, i);
172
- if (!t)
171
+ const n = await U(e.id, r);
172
+ if (!n)
173
173
  return;
174
- const n = {
175
- bundles: [...t.bundles],
174
+ const i = {
175
+ bundles: [...n.bundles],
176
176
  variables: [],
177
- hiddenApiItems: e.hiddenApiItems?.map((r) => r.toLowerCase())
177
+ hiddenApiItems: e.hiddenApiItems?.map((t) => t.toLowerCase())
178
178
  };
179
- return t.variables.forEach((r) => {
180
- if (e.disabledVariables?.includes(r.name))
179
+ return n.variables.forEach((t) => {
180
+ if (e.disabledVariables?.includes(t.name))
181
181
  return;
182
- const s = e.definitions[r.name];
183
- switch (r.type) {
182
+ const s = e.definitions[t.name];
183
+ switch (t.type) {
184
184
  case "dictionary":
185
- return n.variables.push(
186
- d({
187
- ...r,
188
- type: r.type,
189
- properties: Array.isArray(s) ? [...s] : r.properties
185
+ return i.variables.push(
186
+ m({
187
+ ...t,
188
+ type: t.type,
189
+ properties: Array.isArray(s) ? [...s] : t.properties
190
190
  })
191
191
  );
192
192
  case "feature":
193
- return S(s) ? n.variables.push({ ...r, type: "feature", definition: s }) : void 0;
193
+ return M(s) ? i.variables.push({ ...t, type: "feature", definition: s }) : void 0;
194
194
  case "pixel":
195
- return F(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
195
+ return S(s) ? i.variables.push({ ...t, type: t.type, definition: s }) : void 0;
196
196
  case "voxel":
197
- return D(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
197
+ return F(s) ? i.variables.push({ ...t, type: t.type, definition: s }) : void 0;
198
198
  case "featureSet":
199
- return b(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
199
+ return v(s) ? i.variables.push({ ...t, type: t.type, definition: s }) : void 0;
200
200
  case "featureSetCollection":
201
- return x(s) ? n.variables.push({ ...r, type: r.type, definition: s }) : void 0;
201
+ return D(s) ? i.variables.push({ ...t, type: t.type, definition: s }) : void 0;
202
202
  default:
203
- return n.variables.push(d(r));
203
+ return i.variables.push(m(t));
204
204
  }
205
- }), z(e) && n.variables.push(...e.additionalVariables ?? []), n;
205
+ }), z(e) && i.variables.push(...e.additionalVariables ?? []), i;
206
206
  }
207
207
  const J = [
208
208
  "catalog-footprint",
@@ -211,7 +211,6 @@ const J = [
211
211
  "feature",
212
212
  "geojson",
213
213
  "knowledge-graph-sublayer",
214
- "ogc-feature",
215
214
  "oriented-imagery",
216
215
  "subtype-group",
217
216
  "subtype-sublayer",
@@ -226,7 +225,21 @@ const O = {
226
225
  N(e)
227
226
  )
228
227
  };
229
- class Q extends A {
228
+ class R extends k {
229
+ /**
230
+ * Per-model update chaining to serialize profile updates.
231
+ *
232
+ * Why this is necessary:
233
+ * `setProfileForModel` does multiple async steps (t9n load, predefined profile conversion,
234
+ * profile -> API conversion, model disposal + re-init). If callers invoke it twice quickly,
235
+ * the *earlier* call can complete *after* the later call and overwrite the newer API context,
236
+ * because a new profile could convert faster than an old one (e.g. if the newer one is a simple
237
+ * editor profile but the older one is a complex predefined profile that takes a while to convert).
238
+ *
239
+ * We prevent that race by chaining a promise per model key so updates for the same model run
240
+ * strictly in call order.
241
+ */
242
+ #e = /* @__PURE__ */ new Map();
230
243
  constructor() {
231
244
  super("arcade", {
232
245
  apiPath: "./assets/arcade-language/api",
@@ -243,31 +256,40 @@ class Q extends A {
243
256
  * @param locale The locale to use for the model context.
244
257
  * @returns The EditorProfile for the model.
245
258
  */
246
- async setProfileForModel(i, t, n = { locale: "en" }) {
247
- y(t) && (t = await H(t, n.locale));
248
- const r = await E(
249
- n.locale,
250
- m("./assets/editor-profile/t9n"),
251
- "messages."
252
- );
253
- if (!r)
254
- throw new Error(`Failed to load the language bundle for ${n.locale}`);
255
- this.disposeForModel(i);
256
- const s = this._getApiKey(i), o = new L(t, r, n.locale, O);
257
- this._modelToProfileMap.set(s, o);
258
- const a = await C(o);
259
- this.updateApiContextForModel(i, {
260
- locale: n.locale,
261
- profile: a,
262
- snippets: n.snippets
259
+ async setProfileForModel(r, n, i = { locale: "en" }) {
260
+ const t = this._getApiKey(r), o = (this.#e.get(t) || Promise.resolve()).then(async () => {
261
+ const c = n, d = g(c) ? await H(c, i.locale) : c, l = await C(
262
+ i.locale,
263
+ h("./assets/editor-profile/t9n"),
264
+ "messages."
265
+ );
266
+ if (!l)
267
+ throw new Error(`Failed to load the language bundle for ${i.locale}`);
268
+ this.disposeForModel(r);
269
+ const w = new E(
270
+ d,
271
+ l,
272
+ i.locale,
273
+ O
274
+ );
275
+ this._modelToProfileMap.set(t, w);
276
+ const b = await $(w);
277
+ this.updateApiContextForModel(r, {
278
+ locale: i.locale,
279
+ profile: b,
280
+ snippets: i.snippets
281
+ });
282
+ }), a = o.finally(() => {
283
+ this.#e.get(t) === a && this.#e.delete(t);
263
284
  });
285
+ return this.#e.set(t, a), await o;
264
286
  }
265
287
  }
266
- const l = new Q(), V = {
267
- setProfileForModel: l.setProfileForModel.bind(l),
268
- getApiLibraryForModel: l.getApiLibraryForModel.bind(l)
288
+ const u = new R(), te = {
289
+ setProfileForModel: u.setProfileForModel.bind(u),
290
+ getApiLibraryForModel: u.getApiLibraryForModel.bind(u)
269
291
  };
270
292
  export {
271
- V as a,
272
- l as b
293
+ te as a,
294
+ u as b
273
295
  };
@@ -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.122 */
4
+ v5.0.0-next.124 */
5
5
  const O = "https://developers.arcgis.com/arcade/", P = 100, A = 100;
6
6
  function g(t) {
7
7
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.featureset.support.FeatureSet";
@@ -14,7 +14,7 @@ import { rethrowError as f } from "@arcgis/toolkit/log";
14
14
  import { Deferred as b } from "@arcgis/toolkit/promise";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
17
- v5.0.0-next.122 */
17
+ v5.0.0-next.124 */
18
18
  const S = [
19
19
  "<=",
20
20
  ">=",
@@ -9,7 +9,7 @@ import "monaco-editor/esm/vs/editor/browser/editorDom.js";
9
9
  import "monaco-editor/esm/vs/editor/browser/controller/mouseTarget.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.122 */
12
+ v5.0.0-next.124 */
13
13
  function g() {
14
14
  return !!window.MonacoEnvironment?.getWorker;
15
15
  }
@@ -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.122 */
7
+ v5.0.0-next.124 */
8
8
  async function c(e, o) {
9
9
  return await (await i()).colorize(e, o, { tabSize: 2 });
10
10
  }
@@ -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.122 */
3
+ v5.0.0-next.124 */
4
4
  const n = "cube";
5
5
  function u(e, t) {
6
6
  switch (e.type) {
@@ -17,7 +17,7 @@ import { filterApiLibraryForContext as ye } from "@arcgis/languages-api-utils";
17
17
  import { Emitter as E, Uri as j } from "monaco-editor";
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.122 */
20
+ v5.0.0-next.124 */
21
21
  function q(t) {
22
22
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && D(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
23
23
  }
@@ -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.122 */
3
+ v5.0.0-next.124 */
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
  }
@@ -8,7 +8,7 @@ import "monaco-editor/esm/vs/editor/browser/editorDom.js";
8
8
  import "monaco-editor/esm/vs/editor/browser/controller/mouseTarget.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
11
- v5.0.0-next.122 */
11
+ v5.0.0-next.124 */
12
12
  const r = async () => {
13
13
  const { editor: t } = await import("monaco-editor/esm/vs/editor/editor.api.js");
14
14
  return t;
@@ -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.122 */
3
+ v5.0.0-next.124 */
4
4
  const e = {
5
5
  "light-theme": { comment: "#606060", constant: "#9809C8", date: "#296389", identifier: "#0000B3", keyword: "#BF4900", number: "#136D3D", string: "#A31515", operator: "#9809C8", predefined: "#0000B3" },
6
6
  "dark-theme": { comment: "#BFBFBF", constant: "#CDBAEA", date: "#97A6CE", identifier: "#9FD4F3", keyword: "#EEAA5A", number: "#AAD04B", string: "#F2877B", operator: "#CDBAEA", predefined: "#9FD4F3" }
@@ -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.122 */
6
+ v5.0.0-next.124 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-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.122 */
7
+ v5.0.0-next.124 */
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 {
@@ -14,7 +14,7 @@ import { rethrowError as g } from "@arcgis/toolkit/log";
14
14
  import { g as N } from "./sql-expr-service-accessors.js";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
17
- v5.0.0-next.122 */
17
+ v5.0.0-next.124 */
18
18
  let h = new m();
19
19
  class C {
20
20
  constructor(e) {
@@ -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.122 */
3
+ v5.0.0-next.124 */
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.122 */
5
+ v5.0.0-next.124 */
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.122 */
5
+ v5.0.0-next.124 */
6
6
  function b(e, r, s, u) {
7
7
  if (!r)
8
8
  return [];
@@ -20,7 +20,7 @@ import { getDeclaredVoxelMembers as ce, getDeclaredPixelMembers as ne } from "@a
20
20
  import { s as le } from "../../chunks/fields.js";
21
21
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
22
22
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
23
- v5.0.0-next.122 */
23
+ v5.0.0-next.124 */
24
24
  const de = Z`:host(:not([closed])){container-type:size;--calcite-block-border-color: var(--calcite-color-transparent);box-sizing:border-box;.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}.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=heading] 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}`;
25
25
  class v extends Error {
26
26
  constructor({
@@ -20,7 +20,7 @@ import N from "@arcgis/core/identity/IdentityManager.js";
20
20
  import { log as O, rethrowError as o } from "@arcgis/toolkit/log";
21
21
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
22
22
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
23
- v5.0.0-next.122 */
23
+ v5.0.0-next.124 */
24
24
  const j = y`:host{height:100%}calcite-tooltip:not([calcite-hydrated])>*{display:none}.main-action-bar{calcite-action-group{padding-inline-end:var(--calcite-spacing-sm)}calcite-action-group calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action-group 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)}}`, z = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", a = (s, e) => O(s, "Arcade Assistant", e), H = (s) => {
25
25
  const { aiAssistantsEnabled: e } = s;
26
26
  return e === void 0 ? (a("warn", "`areAiAssistantsEnabled` is not defined in the organizations settings."), !1) : e;
@@ -11,7 +11,7 @@ import { t as k } from "../../chunks/monaco-theme.js";
11
11
  import { observeAncestorsMutation as z, unsafeGetCalciteModeName as N } from "@arcgis/toolkit/dom";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
14
- v5.0.0-next.122 */
14
+ v5.0.0-next.124 */
15
15
  const E = w`:host{display:flex;flex-direction:column;width:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.y-scrollable-container{overflow-y:auto;block-size:100%;background-color:var(--calcite-color-foreground-1)}header{border-bottom:1px solid var(--calcite-color-border-3);flex:0 0 auto}.ltr-container{direction:ltr}calcite-action-bar{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)}}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.color-info{color:var(--calcite-color-status-info)}.color-error{color:var(--calcite-color-status-danger)}.color-success{color:var(--calcite-color-status-success)}[class*=result-value-]{font-size:var(--calcite-font-size--2);line-height:1.25rem;background-color:var(--calcite-color-foreground-1);margin:var(--calcite-spacing-md)}.console-logs-container{background-color:var(--calcite-color-foreground-1);padding:0 var(--calcite-spacing-md);font-family:var(--calcite-code-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.result-value-table{table{display:block;max-width:fit-content;overflow-x:auto;border-spacing:0;border-collapse:collapse;text-align:start;white-space:nowrap;thead{background-color:var(--calcite-color-foreground-2)}tr{border-top:1px solid var(--calcite-color-border-3);border-bottom:1px solid var(--calcite-color-border-3)}th,td{border-inline-start:1px solid var(--calcite-color-border-3);border-inline-end:1px solid var(--calcite-color-border-3);text-align:start;padding:var(--calcite-spacing-xxs);.string-value{white-space:pre}}th{font-weight:var(--calcite-font-weight-medium)}}}.tree-item-label,.number-value,.string-value,.boolean-value{font-family:var(--calcite-code-family)}.tree-item-label,.value-type{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.dictionary-property{color:var(--arcgis-editor-identifier)}.number-value{color:var(--arcgis-editor-number)}.string-value{color:var(--arcgis-editor-string);white-space:pre-wrap}.constant-value{color:var(--arcgis-editor-constant)}.date-value{color:var(--arcgis-editor-date)}}`, l = {
16
16
  lines: !0,
17
17
  selectionMode: "none",