@arcgis/coding-components 4.33.0-next.164 → 4.33.0-next.166

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 (83) hide show
  1. package/README.md +1 -1
  2. package/dist/addons/arcade-coding-assistant/temporary-strings.d.ts +7 -0
  3. package/dist/addons/arcade-coding-assistant/useArcadeAssistant.d.ts +7 -7
  4. package/dist/addons.js +6 -6
  5. package/dist/cdn/{JIMX7TZ6.js → 24GBYDA7.js} +2 -2
  6. package/dist/cdn/{LDNGK54P.js → 35ULF5G3.js} +4 -4
  7. package/dist/cdn/{YZCH3CWZ.js → 47PQKETF.js} +1 -1
  8. package/dist/cdn/{4TJQYH5D.js → 4H56JLOZ.js} +1 -1
  9. package/dist/cdn/{Q5IBVFOB.js → 53LZETKN.js} +2 -2
  10. package/dist/cdn/{7RTS5K4J.js → 5DE5ZAG4.js} +2 -2
  11. package/dist/cdn/{WT5R2RMM.js → 763ZC7TP.js} +2 -2
  12. package/dist/cdn/{NRQ6U4NU.js → 7XMFQLKA.js} +1 -1
  13. package/dist/cdn/{B2I4LZUP.js → BMTAOHAE.js} +2 -2
  14. package/dist/cdn/{UXHHQYOT.js → CPB2OXPT.js} +2 -2
  15. package/dist/cdn/{FBRAYLQQ.js → D5K2K7LC.js} +2 -2
  16. package/dist/cdn/{M37NYSQY.js → D75C77IB.js} +2 -2
  17. package/dist/cdn/{KZBYNO6Y.js → DLM5MWYM.js} +2 -2
  18. package/dist/cdn/{C5SSZP2O.js → EXEARCBT.js} +2 -2
  19. package/dist/cdn/{LU6QYEUC.js → FNPXSHQU.js} +2 -2
  20. package/dist/cdn/{OJXF55JC.js → HLNOERFR.js} +2 -2
  21. package/dist/cdn/{PZMW2IU4.js → HZJTOB3X.js} +1 -1
  22. package/dist/cdn/{36HBBZSV.js → IAHO7OV7.js} +2 -2
  23. package/dist/cdn/{C77HWNVY.js → ICUUHMNS.js} +2 -2
  24. package/dist/cdn/{VIW6IUHJ.js → IKI33G4U.js} +2 -2
  25. package/dist/cdn/{6GWE45ED.js → IO4KFCSB.js} +2 -2
  26. package/dist/cdn/{RWYBTR6R.js → J7KDUVLA.js} +2 -2
  27. package/dist/cdn/{REUQOAMY.js → KJWNJT5F.js} +2 -2
  28. package/dist/cdn/{4APNCK45.js → MJA6VEIU.js} +2 -2
  29. package/dist/cdn/{2OYOWAWT.js → N7HGUDVQ.js} +2 -2
  30. package/dist/cdn/{N2OWYC7A.js → NVMJCWHJ.js} +2 -2
  31. package/dist/cdn/{OOJBBMWC.js → O335JE44.js} +2 -2
  32. package/dist/cdn/{KRWITZPU.js → OEVGMADO.js} +2 -2
  33. package/dist/cdn/{IS3L2RIK.js → ORAVVOOD.js} +2 -2
  34. package/dist/cdn/{QW5UFK3B.js → PFKV7YJG.js} +2 -2
  35. package/dist/cdn/PVOHAEM6.js +6 -0
  36. package/dist/cdn/{LOEH7PUM.js → RFEJ2MX7.js} +2 -2
  37. package/dist/cdn/{F32MB5EV.js → S7NX7ELG.js} +2 -2
  38. package/dist/cdn/{6KJKDTRJ.js → VT2M3T5I.js} +2 -2
  39. package/dist/cdn/{UQ64NQUK.js → VWWCFJPC.js} +2 -2
  40. package/dist/cdn/{VDNYJBJ7.js → WOGUUDF6.js} +1 -1
  41. package/dist/cdn/{3KLSUIYR.js → WT7D2GFO.js} +2 -2
  42. package/dist/cdn/{N726HRYR.js → XPJA7NSM.js} +2 -2
  43. package/dist/cdn/{3YVJVW2J.js → XR7SKIWT.js} +2 -2
  44. package/dist/cdn/{AMO7J7MV.js → XXUC7XF4.js} +2 -2
  45. package/dist/cdn/{GSISBUHO.js → Z54ZHKAZ.js} +2 -2
  46. package/dist/cdn/assets/arcade-coding-assistant/t9n/messages.et.json +1 -1
  47. package/dist/cdn/assets/code-editor/sql-expr.worker.js +26187 -26181
  48. package/dist/cdn/index.js +2 -2
  49. package/dist/chunks/arcade-defaults.js +1 -1
  50. package/dist/chunks/arcade-executor.js +1 -1
  51. package/dist/chunks/arcade-mode.js +1 -1
  52. package/dist/chunks/arcade-service-accessors.js +1 -1
  53. package/dist/chunks/editor.js +1 -1
  54. package/dist/chunks/fields.js +1 -1
  55. package/dist/chunks/language-defaults-base.js +1 -1
  56. package/dist/chunks/markdown.js +1 -1
  57. package/dist/chunks/monaco-importer.js +1 -1
  58. package/dist/chunks/runtime.js +1 -1
  59. package/dist/chunks/setup-monaco.js +1 -1
  60. package/dist/chunks/sql-expr-contribution.js +1 -1
  61. package/dist/chunks/sql-expr-defaults.js +1 -1
  62. package/dist/chunks/sql-expr-mode.js +1 -1
  63. package/dist/chunks/useT9n.js +1 -1
  64. package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +1 -1
  65. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +198 -168
  66. package/dist/components/arcgis-arcade-coding-assistant/functional.d.ts +4 -4
  67. package/dist/components/arcgis-arcade-coding-assistant/index.d.ts +0 -2
  68. package/dist/components/arcgis-arcade-coding-assistant/index.js +0 -2
  69. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  70. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  71. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  72. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  73. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  74. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  75. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  76. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  77. package/dist/docs/api.json +5 -5
  78. package/dist/docs/docs.json +5 -5
  79. package/dist/docs/web-types.json +1 -1
  80. package/dist/index.js +1 -1
  81. package/dist/loader.js +4 -4
  82. package/package.json +5 -5
  83. package/dist/cdn/2MVBBFVE.js +0 -6
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/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.164 */
4
- import{B as i,o as e}from"./OOJBBMWC.js";import"./PZMW2IU4.js";import"./YZCH3CWZ.js";var r=e(i,{"arcgis-arcade-coding-assistant":[()=>import("./2MVBBFVE.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,orgBaseUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./N726HRYR.js"),"customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./UXHHQYOT.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./AMO7J7MV.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./LOEH7PUM.js"),"editorInstance:,editorOptions:,language,modelId,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./4APNCK45.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./2OYOWAWT.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./UQ64NQUK.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./QW5UFK3B.js"),"loading,modelId"]});r({resourcesUrl:import.meta.url});var o=new CSSStyleSheet;o.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,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-side-panel-w: 600px;--arcgis-coding-components-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}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,o];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,i)
3
+ v4.33.0-next.166 */
4
+ import{B as i,o as e}from"./O335JE44.js";import"./HZJTOB3X.js";import"./47PQKETF.js";var r=e(i,{"arcgis-arcade-coding-assistant":[()=>import("./PVOHAEM6.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./XPJA7NSM.js"),"customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./CPB2OXPT.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./XXUC7XF4.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./RFEJ2MX7.js"),"editorInstance:,editorOptions:,language,modelId,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./MJA6VEIU.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./N7HGUDVQ.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./VWWCFJPC.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./PFKV7YJG.js"),"loading,modelId"]});r({resourcesUrl:import.meta.url});var o=new CSSStyleSheet;o.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,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-side-panel-w: 600px;--arcgis-coding-components-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}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,o];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,i)
@@ -4,7 +4,7 @@ import { g as m } from "./runtime.js";
4
4
  import { CompletionItemKind as w, InsertTextFormat as f, InsertTextMode as d } from "vscode-languageserver-types";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.164 */
7
+ v4.33.0-next.166 */
8
8
  async function S(e) {
9
9
  const { apiVersion: i, bundles: t, hiddenApiItems: n } = e.toEditorProfileDefinition(), r = await h(e.dictionaryVariables);
10
10
  return { apiVersion: i, bundles: t, variables: r, hiddenApiItems: n?.map((s) => s.toLowerCase()) };
@@ -1,7 +1,7 @@
1
1
  import { createArcadeExecutor as C } from "@arcgis/core/arcade.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.164 */
4
+ v4.33.0-next.166 */
5
5
  const G = "https://developers.arcgis.com/arcade/", O = 100, A = 100;
6
6
  function u(t) {
7
7
  return !!t && typeof t == "object" && "declaredRootClass" in t && typeof t.declaredRootClass == "string" && t.declaredRootClass === "esri.arcade.featureset.support.FeatureSet";
@@ -8,7 +8,7 @@ import { InsertTextFormat as y, CompletionItemKind as o, DiagnosticSeverity as m
8
8
  import { debounce as F, Deferred as _ } from "@arcgis/components-utils";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.164 */
11
+ v4.33.0-next.166 */
12
12
  const S = [
13
13
  "<=",
14
14
  ">=",
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.164 */
3
+ v4.33.0-next.166 */
4
4
  async function a() {
5
5
  return (await e()).getArcadeDiagnosticService();
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { css as e } from "@lit/reactive-element/css-tag.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.164 */
4
+ v4.33.0-next.166 */
5
5
  const o = e`@layer{arcgis-arcade-editor,arcgis-sql-expression-editor{.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-panel{flex:1 0 auto}.position-relative{position:relative}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.border-inline-start{border-inline-start:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border)!important;box-sizing:border-box}.side-action-bar{max-width:var(--arcgis-coding-components-side-action-bar-max-w)}.side-panel{max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w)}.side-panel calcite-flow{height:100%}}}`;
6
6
  export {
7
7
  o as s
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.164 */
3
+ v4.33.0-next.166 */
4
4
  function t(e) {
5
5
  switch (e.type) {
6
6
  case "oid":
@@ -12,7 +12,7 @@ import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
12
12
  import { Emitter as x, Uri as $ } from "monaco-editor";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
15
- v4.33.0-next.164 */
15
+ v4.33.0-next.166 */
16
16
  function B(t) {
17
17
  return !!t && typeof t == "object" && "declaredClass" in t && typeof t.declaredClass == "string" && t.declaredClass.startsWith("esri.layers.") && g(t) && "queryFeatures" in t && typeof t.queryFeatures == "function";
18
18
  }
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as G } from "monaco-editor/esm/vs/editor/standa
4
4
  import { generateTokensCSSForColorMap as te } from "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.164 */
7
+ v4.33.0-next.166 */
8
8
  async function ne(l, t) {
9
9
  return await (await ee()).colorize(l, t, { tabSize: 2 });
10
10
  }
@@ -6,7 +6,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme.js";
6
6
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
9
- v4.33.0-next.164 */
9
+ v4.33.0-next.166 */
10
10
  function $(e, n, l, i) {
11
11
  if (!n)
12
12
  return [];
@@ -2,7 +2,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
2
2
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
5
- v4.33.0-next.164 */
5
+ v4.33.0-next.166 */
6
6
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
7
7
  t.t = s;
8
8
  t.o = r;
@@ -1,7 +1,7 @@
1
1
  import i from "@arcgis/core/request.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- v4.33.0-next.164 */
4
+ v4.33.0-next.166 */
5
5
  function p() {
6
6
  return !!window.MonacoEnvironment?.getWorkerUrl;
7
7
  }
@@ -8,7 +8,7 @@ import { g as c } from "./arcade-service-accessors.js";
8
8
  import { a as n } from "./sql-expr-defaults.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.164 */
11
+ v4.33.0-next.166 */
12
12
  const s = /* @__PURE__ */ new Set();
13
13
  function g(e, o) {
14
14
  return () => {
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/components-utils";
4
4
  import { g as b } from "./runtime.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.164 */
7
+ v4.33.0-next.166 */
8
8
  const x = (r) => {
9
9
  const e = r.variables[0], i = e && e.type === "featureSet" ? A(e) : void 0, { apiVersion: t, bundles: o, hiddenApiItems: s } = r.toEditorProfileDefinition();
10
10
  return {
@@ -7,7 +7,7 @@ import { Deferred as _, debounce as N } from "@arcgis/components-utils";
7
7
  import { a as d } from "./sql-expr-defaults.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
10
- v4.33.0-next.164 */
10
+ v4.33.0-next.166 */
11
11
  let h = new _();
12
12
  class k {
13
13
  constructor(e) {
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
5
- v4.33.0-next.164 */
5
+ v4.33.0-next.166 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -23,7 +23,7 @@ export declare class ArcgisArcadeCodingAssistant extends LitElement {
23
23
  */
24
24
  assistantsEnabled: boolean;
25
25
  layer: __esri.CatalogFootprintLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.SceneLayer | __esri.Sublayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WFSLayer;
26
- orgBaseUrl: string;
26
+ portalUrl: string;
27
27
  serviceUrl: string;
28
28
  /** @default false */
29
29
  closed: boolean;