@arcgis/coding-components 5.0.0-next.81 → 5.0.0-next.82

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 (91) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{EMUMZLPR.js → 2C2ENEMF.js} +2 -2
  3. package/dist/cdn/{QKIR46L6.js → 4TUWROZW.js} +2 -2
  4. package/dist/cdn/{4B2GSR42.js → 533JL44O.js} +1 -1
  5. package/dist/cdn/{MQVY62SB.js → 5JHTHOWX.js} +2 -2
  6. package/dist/cdn/{TIHOQ7R4.js → 6BGVUTLZ.js} +2 -2
  7. package/dist/cdn/{E74EU5QZ.js → 6D3UZWOI.js} +2 -2
  8. package/dist/cdn/{4P7CMPBD.js → 6FCM52GB.js} +2 -2
  9. package/dist/cdn/{TAQV33DD.js → 7KK7ZKLY.js} +2 -2
  10. package/dist/cdn/{C3JNFWF7.js → AHXQ5W7R.js} +2 -2
  11. package/dist/cdn/{BGH7OGJB.js → AU43R6H2.js} +2 -2
  12. package/dist/cdn/{CMAJQFZD.js → BLO67VQG.js} +2 -2
  13. package/dist/cdn/{3MKISIKT.js → CF6XAW6G.js} +2 -2
  14. package/dist/cdn/{3J3N2Z7P.js → CG5HV6HN.js} +2 -2
  15. package/dist/cdn/{XHEVJXT6.js → DGLUBXDV.js} +2 -2
  16. package/dist/cdn/{52E7BAID.js → EMKGHLIH.js} +2 -2
  17. package/dist/cdn/{23PAFKDA.js → F3TQXIU3.js} +1 -1
  18. package/dist/cdn/{ANUDELZ4.js → FCRDLETH.js} +2 -2
  19. package/dist/cdn/{G2LGBMF3.js → FSMRNHL2.js} +2 -2
  20. package/dist/cdn/{W65IJN3A.js → FV2NHXGO.js} +2 -2
  21. package/dist/cdn/{LDF3YRM2.js → JALGRFL4.js} +2 -2
  22. package/dist/cdn/{2BYMN2ZA.js → JPZTOH4J.js} +2 -2
  23. package/dist/cdn/{C73CWL2R.js → JQR7V3LJ.js} +1 -1
  24. package/dist/cdn/{CMAAIET7.js → JV26DVDY.js} +1 -1
  25. package/dist/cdn/{ZC5T2QIB.js → KMLIRZOK.js} +2 -2
  26. package/dist/cdn/{KZXOQOND.js → LERZZUAA.js} +2 -2
  27. package/dist/cdn/{AR4VMN73.js → MAVMC7R6.js} +1 -1
  28. package/dist/cdn/{GSSJW4MA.js → MKQ7WT5B.js} +2 -2
  29. package/dist/cdn/{6ZNSXRD5.js → N5S77RST.js} +2 -2
  30. package/dist/cdn/{KX3ZMKOF.js → NKIWVTCW.js} +2 -2
  31. package/dist/cdn/{QRUL3MMC.js → NOKZ6IVL.js} +2 -2
  32. package/dist/cdn/{6BGFRA55.js → NRNTMGTU.js} +2 -2
  33. package/dist/cdn/{4OY5AOU2.js → PHVPS3ZP.js} +1 -1
  34. package/dist/cdn/{IVQHNEAV.js → R6SIAMGY.js} +2 -2
  35. package/dist/cdn/{SDFUP4UO.js → TESEUIXJ.js} +2 -2
  36. package/dist/cdn/{XMHWKJME.js → TFKCYYL2.js} +2 -2
  37. package/dist/cdn/{653X3XJU.js → U2LEBJAH.js} +2 -2
  38. package/dist/cdn/{U35QTWGI.js → UJG2Q7GL.js} +3 -3
  39. package/dist/cdn/{AZU2JEPT.js → UQ7XUSRF.js} +2 -2
  40. package/dist/cdn/{EQAIBLTI.js → VKQ33L2V.js} +1 -1
  41. package/dist/cdn/{PBIWT5YE.js → VUX4U6UV.js} +2 -2
  42. package/dist/cdn/VWKRSQWG.js +4 -0
  43. package/dist/cdn/{SFRTTWSN.js → XFBZ3W5A.js} +3 -3
  44. package/dist/cdn/{ELHN3DY7.js → XGAO23JL.js} +2 -2
  45. package/dist/cdn/{WESNUQND.js → YNEZBNKX.js} +2 -2
  46. package/dist/cdn/{PSITGEJM.js → YXC6IAMD.js} +2 -2
  47. package/dist/cdn/{75QO4LA6.js → ZEJHNFHY.js} +1 -1
  48. package/dist/cdn/{NJSKSF7Z.js → ZHLLRZB3.js} +2 -2
  49. package/dist/cdn/{2ENWJO3V.js → ZI4YGYDX.js} +1 -1
  50. package/dist/cdn/assets/code-editor/sql-expr.worker.js +1675 -1676
  51. package/dist/cdn/index.js +2 -2
  52. package/dist/chunks/arcade-contribution.js +1 -1
  53. package/dist/chunks/arcade-defaults.js +1 -1
  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/editor.js +1 -1
  59. package/dist/chunks/fields.js +1 -1
  60. package/dist/chunks/language-defaults-base.js +1 -1
  61. package/dist/chunks/markdown.js +1 -1
  62. package/dist/chunks/monaco-importer.js +1 -1
  63. package/dist/chunks/monaco-theme.js +1 -1
  64. package/dist/chunks/runtime.js +2 -2
  65. package/dist/chunks/sql-expr-defaults.js +1 -1
  66. package/dist/chunks/sql-expr-mode.js +1 -1
  67. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  68. package/dist/chunks/useT9n.js +1 -1
  69. package/dist/chunks/utilities.js +1 -1
  70. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  72. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  73. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  74. package/dist/components/arcgis-code-editor/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/monacoStyles.js +1 -1
  86. package/dist/utils/arcade-executor.d.ts +3 -3
  87. package/dist/utils/language-defaults-base.d.ts +1 -1
  88. package/dist/utils/profile/utils.d.ts +2 -0
  89. package/dist/utils/typing.d.ts +21 -0
  90. package/package.json +5 -5
  91. package/dist/cdn/YOA3KTZZ.js +0 -4
package/dist/cdn/index.js CHANGED
@@ -1,7 +1,7 @@
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.81 */
4
- import{J as s,v as e}from"./SFRTTWSN.js";import"./4OY5AOU2.js";import"./CMAAIET7.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./LDF3YRM2.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./2BYMN2ZA.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./AZU2JEPT.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./WESNUQND.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./QKIR46L6.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./52E7BAID.js"),"language,round"],"arcgis-editor-variables":[()=>import("./QRUL3MMC.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./653X3XJU.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./KX3ZMKOF.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./XHEVJXT6.js"),"loading,modelId"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
3
+ v5.0.0-next.82 */
4
+ import{J as s,v as e}from"./XFBZ3W5A.js";import"./PHVPS3ZP.js";import"./JV26DVDY.js";var t=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./JALGRFL4.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./JPZTOH4J.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./UQ7XUSRF.js"),"calciteModeDark,consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./YNEZBNKX.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./4TUWROZW.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-code-viewer":[()=>import("./EMKGHLIH.js"),"language,round"],"arcgis-editor-variables":[()=>import("./NOKZ6IVL.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./U2LEBJAH.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./NKIWVTCW.js"),"hideSideBar,profile:,script;setFocus"],"arcgis-sql-expression-fields":[()=>import("./DGLUBXDV.js"),"loading,modelId"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
7
7
  * Released under the MIT license
@@ -11,7 +11,7 @@ import { b as n } from "./arcade-defaults.js";
11
11
  import { g as h } from "./arcade-service-accessors.js";
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.81 */
14
+ v5.0.0-next.82 */
15
15
  const k = ["arcade", "arcgis-sql-expression"], i = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Map();
16
16
  function c(e) {
17
17
  let r = g.get(e);
@@ -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.81 */
8
+ v5.0.0-next.82 */
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.81 */
4
+ v5.0.0-next.82 */
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";
@@ -10,7 +10,7 @@ import { debounce as F } from "@arcgis/toolkit/function";
10
10
  import { Deferred as _ } from "@arcgis/toolkit/promise";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.81 */
13
+ v5.0.0-next.82 */
14
14
  const S = [
15
15
  "<=",
16
16
  ">=",
@@ -6,7 +6,7 @@ import { IHoverService as m } from "monaco-editor/esm/vs/platform/hover/browser/
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/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.81 */
9
+ v5.0.0-next.82 */
10
10
  function g() {
11
11
  return !!window.MonacoEnvironment?.getWorker;
12
12
  }
@@ -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.81 */
7
+ v5.0.0-next.82 */
8
8
  async function c(e, o) {
9
9
  return await (await i()).colorize(e, o, { tabSize: 2 });
10
10
  }
@@ -1,7 +1,7 @@
1
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.81 */
4
+ v5.0.0-next.82 */
5
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
@@ -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.81 */
3
+ v5.0.0-next.82 */
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.81 */
19
+ v5.0.0-next.82 */
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.81 */
3
+ v5.0.0-next.82 */
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
  }
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/platform/hover/browser/hover.js";
5
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.81 */
8
+ v5.0.0-next.82 */
9
9
  const r = async () => {
10
10
  const { editor: t } = await import("monaco-editor/esm/vs/editor/editor.api.js");
11
11
  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.81 */
3
+ v5.0.0-next.82 */
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,8 +3,8 @@ 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.81 */
7
- const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
6
+ v5.0.0-next.82 */
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;
10
10
  t.c = a;
@@ -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.81 */
7
+ v5.0.0-next.82 */
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 {
@@ -10,7 +10,7 @@ import { debounce as N } from "@arcgis/toolkit/function";
10
10
  import { g as f } from "./sql-expr-service-accessors.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.81 */
13
+ v5.0.0-next.82 */
14
14
  let h = new _();
15
15
  class k {
16
16
  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.81 */
3
+ v5.0.0-next.82 */
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.81 */
5
+ v5.0.0-next.82 */
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.81 */
5
+ v5.0.0-next.82 */
6
6
  function b(e, r, s, u) {
7
7
  if (!r)
8
8
  return [];
@@ -18,7 +18,7 @@ import { b as te } from "../../chunks/language-defaults-base.js";
18
18
  import { log as b } from "@arcgis/toolkit/log";
19
19
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
20
20
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
21
- v5.0.0-next.81 */
21
+ v5.0.0-next.82 */
22
22
  const ie = Q`: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}`;
23
23
  class y extends Error {
24
24
  constructor({
@@ -17,7 +17,7 @@ import { s as U } from "../../chunks/editor.js";
17
17
  import j 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/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.81 */
20
+ v5.0.0-next.82 */
21
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) => {
22
22
  const { aiAssistantsEnabled: e } = s;
23
23
  return e === void 0 ? (console.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.81 */
14
+ v5.0.0-next.82 */
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",
@@ -9,7 +9,7 @@ import { c as b } from "../../chunks/markdown.js";
9
9
  import { u as _ } from "../../chunks/useT9n.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.81 */
12
+ v5.0.0-next.82 */
13
13
  function v(o) {
14
14
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
15
15
  }
@@ -10,7 +10,7 @@ import { load as I } from "@arcgis/lumina/controllers";
10
10
  import { Range as v, Uri as s, KeyMod as n, KeyCode as r } from "monaco-editor";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.81 */
13
+ v5.0.0-next.82 */
14
14
  const M = f`@layer{arcgis-code-editor{display:flex;width:100%;height:100%;flex-direction:column;direction:ltr;.monaco-editor{flex:1 1 auto;.monaco-hover,.editor-widget,.suggest-details-container{z-index:9999}div[widgetid="editor.contrib.resizableContentHoverWidget"],div[widgetid="editor.widget.suggestWidget"],div[widgetid="suggest.details"]{z-index:calc(var(--calcite-z-index-header) + 1)!important}}}}`, y = {
15
15
  autoIndent: "advanced",
16
16
  automaticLayout: !0,
@@ -11,7 +11,7 @@ import { debounce as y } from "@arcgis/toolkit/function";
11
11
  import { Task as N } from "@lit/task";
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.81 */
14
+ v5.0.0-next.82 */
15
15
  const O = E`pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);white-space:pre-line;code{font-size:var(--calcite-font-size--2);font-family:var(--calcite-font-family-code)}}:host([round]){pre{border-radius:var(--calcite-corner-radius-round)}}`;
16
16
  class w extends p {
17
17
  constructor() {
@@ -7,7 +7,7 @@ import { createFilterExpression as f } from "@arcgis/toolkit/string";
7
7
  import { u as m } from "../../chunks/useT9n.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
10
- v5.0.0-next.81 */
10
+ v5.0.0-next.82 */
11
11
  const u = n`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2);word-break:break-word}}`;
12
12
  function g(l) {
13
13
  l.key === "Enter" && l.stopPropagation();
@@ -9,7 +9,7 @@ import { c as n } from "../../chunks/markdown.js";
9
9
  import { u as f } from "../../chunks/useT9n.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.81 */
12
+ v5.0.0-next.82 */
13
13
  const g = m`:host{background-color:var(--calcite-color-foreground-1);.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.sticky{position:sticky;top:0;z-index:10}calcite-flow{height:100%}calcite-block{p:first-of-type{margin-top:0}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
14
14
  class b extends h {
15
15
  constructor() {
@@ -9,7 +9,7 @@ import { s as f } from "../../chunks/editor.js";
9
9
  import { getSqlExprDiagnosticService as _ } from "../../chunks/sql-expr-mode.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.81 */
12
+ v5.0.0-next.82 */
13
13
  const u = n`@layer{arcgis-sql-expression-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%}}`;
14
14
  class m extends c {
15
15
  constructor() {
@@ -6,7 +6,7 @@ import { a as m } from "../../chunks/sql-expr-defaults.js";
6
6
  import { u as d } from "../../chunks/useT9n.js";
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.81 */
9
+ v5.0.0-next.82 */
10
10
  const h = r`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
11
11
  class g extends n {
12
12
  constructor() {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-12-05T04:39:09",
2
+ "timestamp": "2025-12-06T04:38:45",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.81",
5
+ "version": "5.0.0-next.82",
6
6
  "typescriptVersion": "5.9.3"
7
7
  },
8
8
  "schemaVersion": "2.1.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-12-05T04:39:09",
2
+ "timestamp": "2025-12-06T04:38:45",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.81",
5
+ "version": "5.0.0-next.82",
6
6
  "typescriptVersion": "5.9.3"
7
7
  },
8
8
  "components": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/coding-components",
4
- "version": "5.0.0-next.81",
4
+ "version": "5.0.0-next.82",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { a as c } from "./chunks/arcade-defaults.js";
3
3
  import { s as p } from "./chunks/sql-expr-defaults.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.81 */
6
+ v5.0.0-next.82 */
7
7
  const a = s, r = t;
8
8
  export {
9
9
  c as arcade,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as s } from "@arcgis/lumina";
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.81 */
5
+ v5.0.0-next.82 */
6
6
  const a = s(e, {
7
7
  "arcgis-arcade-coding-assistant": [() => import("./components/arcgis-arcade-coding-assistant/customElement.js"), "appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],
8
8
  "arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
@@ -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.81 */
3
+ v5.0.0-next.82 */
4
4
  const A = `/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,12 +1,12 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { IEditorProfileDefinition } from './profile/types';
3
- import { ProfileVariableInstances } from '@arcgis/core/arcade';
3
+ import { ProfileVariableInstances, ExecuteContext } from '@arcgis/core/arcade';
4
4
  interface IContextReferences {
5
5
  /**
6
6
  * Spatial reference object used to define the spatial reference for the arcade runtime.
7
7
  * By defaults, the spatial reference is set to Web Mercator (wkid: 3857).
8
8
  */
9
- spatialReference?: __esri.SpatialReference | {
9
+ spatialReference?: ExecuteContext["spatialReference"] | {
10
10
  wkid: number;
11
11
  } | null;
12
12
  /**
@@ -17,7 +17,7 @@ interface IContextReferences {
17
17
  /**
18
18
  * Defines the "services" passed to the arcade executor.
19
19
  */
20
- services?: __esri.ArcadeServices;
20
+ services?: ExecuteContext["services"];
21
21
  }
22
22
  /**
23
23
  * If a profile doesn't contain a map, the spatial reference of geometries will be defaulted to
@@ -16,7 +16,7 @@ export declare abstract class LanguageDefaultsBase<TApiContext extends ApiContex
16
16
  protected _onDidChange: Emitter<this>;
17
17
  protected _modelToProfileMap: Map<string, EditorProfile>;
18
18
  protected _modelToApiContextMap: Map<string, TApiContext>;
19
- protected _localeToApiLibraryPromiseMap: Map<"id" | "en" | "el" | "hr" | "th" | "tr" | "de" | "pl" | "et" | "ro" | "es" | "da" | "sl" | "fi" | "ca" | "ar" | "it" | "vi" | "sk" | "sv" | "fr" | "he" | "cs" | "lt" | "no" | "ru" | "bs" | "bg" | "hu" | "ja" | "ko" | "lv" | "nl" | "nb" | "pt-BR" | "pt-PT" | "sr" | "uk" | "zh-CN" | "zh-HK" | "zh-TW", Promise<ApiCategory[]>>;
19
+ protected _localeToApiLibraryPromiseMap: Map<"id" | "en" | "el" | "hr" | "th" | "tr" | "de" | "pl" | "et" | "ro" | "es" | "sl" | "fi" | "ca" | "da" | "ar" | "it" | "vi" | "sk" | "sv" | "fr" | "he" | "cs" | "lt" | "no" | "ru" | "bs" | "bg" | "hu" | "ja" | "ko" | "lv" | "nl" | "nb" | "pt-BR" | "pt-PT" | "sr" | "uk" | "zh-CN" | "zh-HK" | "zh-TW", Promise<ApiCategory[]>>;
20
20
  protected _onModelContextDidChange: Emitter<string>;
21
21
  protected _onDidModelContextChangeTimeout: number;
22
22
  constructor(languageId: string, _apiConfig: ApiConfig);
@@ -1,7 +1,9 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { FeatureDefinition, FeatureSetCollectionDefinition, FeatureSetDefinition, VoxelDefinition, PixelDefinition } from './types';
3
+ import { ArcadeSupportedFeatureSetLayerUnion } from '@arcgis/core/arcade';
3
4
  import type * as types from "./types";
4
5
  export declare function isFeatureLayerLikeInstance(item: unknown): item is types.IFeatureLayerLikeInstance;
6
+ export declare function isSupportedLayerInstanceType(item: unknown): item is ArcadeSupportedFeatureSetLayerUnion;
5
7
  export declare function isGroupLayerCapable(item: unknown): item is types.IGroupLayerCapable;
6
8
  export declare function isMapInstance(item: unknown): item is __esri.Map;
7
9
  export declare function isLoadAllCapable(item: unknown): item is types.ILoadAllCapable;
@@ -0,0 +1,21 @@
1
+ type AtLeastOne<T> = [T, ...T[]];
2
+ type Missing<T extends string, L extends readonly T[]> = Exclude<T, L[number]>;
3
+ type ExhaustiveParam<T extends string, L extends AtLeastOne<T>> = Missing<T, L> extends never ? L : L & Missing<T, L> & {
4
+ error: `Missing values in tuple: ${Missing<T, L>}`;
5
+ };
6
+ /**
7
+ * Helper to ensure all string literals of a union are represented in a tuple.
8
+ * Returns an identity function that narrows to the tuple type.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const colors = exhaustiveStringTuple<"red" | "green" | "blue">()("red", "green", "blue");
13
+ * // const colors: ["red", "green", "blue"]
14
+ *
15
+ * const incompleteColors = exhaustiveStringTuple<"red" | "green" | "blue">()("red", "green");
16
+ // Argument of type '["red", "green"]' is not assignable to parameter of type '["red", "green"] & "blue" & { error: "Missing values in tuple: blue"; }'.
17
+ // Type '["red", "green"]' is not assignable to type '"blue"'.ts(2345)
18
+ * ```
19
+ */
20
+ export declare const exhaustiveStringTuple: <T extends string>() => <L extends AtLeastOne<T>>(...x: ExhaustiveParam<T, L>) => L;
21
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components",
3
- "version": "5.0.0-next.81",
3
+ "version": "5.0.0-next.82",
4
4
  "description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -42,10 +42,10 @@
42
42
  ],
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
- "@arcgis/arcade-languageservice": "5.0.0-next.81",
46
- "@arcgis/languages-api-utils": "5.0.0-next.81",
47
- "@arcgis/lumina": "5.0.0-next.81",
48
- "@arcgis/toolkit": "5.0.0-next.81",
45
+ "@arcgis/arcade-languageservice": "5.0.0-next.82",
46
+ "@arcgis/languages-api-utils": "5.0.0-next.82",
47
+ "@arcgis/lumina": "5.0.0-next.82",
48
+ "@arcgis/toolkit": "5.0.0-next.82",
49
49
  "@lit/task": "^1.0.3",
50
50
  "lit": "^3.3.0",
51
51
  "monaco-editor": "^0.52.0",
@@ -1,4 +0,0 @@
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.81 */
4
- import c from"./ELHN3DY7.js";import"./4P7CMPBD.js";import b from"./IVQHNEAV.js";import a from"./TIHOQ7R4.js";import"./EQAIBLTI.js";import"./C73CWL2R.js";import"./6ZNSXRD5.js";import"./U35QTWGI.js";import"./2ENWJO3V.js";import"./PBIWT5YE.js";import"./AR4VMN73.js";import"./SFRTTWSN.js";import"./4OY5AOU2.js";import"./MQVY62SB.js";import"./CMAAIET7.js";export default $arcgis.t(([,,{a:a,b:b,c:c}])=>{return{getSqlExprDiagnosticService:b,getSqlExprWorker:a,setupMode:c}},a,b,c)