@arcgis/coding-components 4.33.0-next.14 → 4.33.0-next.16

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 (66) hide show
  1. package/dist/arcgis-coding-components/{MCJ73LOK.js → 2AA7UIAY.js} +1 -1
  2. package/dist/arcgis-coding-components/{FWG7PZXG.js → 2O7AC4YP.js} +2 -2
  3. package/dist/arcgis-coding-components/{OU5LAO3M.js → 3Y3OC22H.js} +2 -2
  4. package/dist/arcgis-coding-components/{B7AHF6HQ.js → 3Y4IR7A7.js} +2 -2
  5. package/dist/arcgis-coding-components/{WXC42V7R.js → 4B2FA5UC.js} +2 -2
  6. package/dist/arcgis-coding-components/{WULLIFH7.js → 4VGEZLQR.js} +1 -1
  7. package/dist/arcgis-coding-components/{DROFFDYB.js → 6TH6TOVQ.js} +2 -2
  8. package/dist/arcgis-coding-components/{4OD2GFYM.js → CC2FEWIU.js} +2 -2
  9. package/dist/arcgis-coding-components/{KWAZMKYC.js → CRPGBOBT.js} +2 -2
  10. package/dist/arcgis-coding-components/{74H6PLUI.js → DVVQPMSF.js} +2 -2
  11. package/dist/arcgis-coding-components/{NG67PJPW.js → E6VCJL5U.js} +2 -2
  12. package/dist/arcgis-coding-components/{25MVKLTB.js → EZX6TZA5.js} +2 -2
  13. package/dist/arcgis-coding-components/{MQKLS4E4.js → GL7UNIX6.js} +2 -2
  14. package/dist/arcgis-coding-components/{HOMPDFKN.js → HMZG25ZG.js} +3 -3
  15. package/dist/arcgis-coding-components/{GRXTNEO6.js → HRYD5YFJ.js} +2 -2
  16. package/dist/arcgis-coding-components/{OUUKPODW.js → JUWBGBEZ.js} +2 -2
  17. package/dist/arcgis-coding-components/{BVGWCOTO.js → LOCPABKB.js} +2 -2
  18. package/dist/arcgis-coding-components/{6FWG4ERL.js → MI27ZSNE.js} +2 -2
  19. package/dist/arcgis-coding-components/{65RSFC72.js → MJ3N7Z7H.js} +1 -1
  20. package/dist/arcgis-coding-components/{SYLCVNNB.js → N3HQP3JL.js} +2 -2
  21. package/dist/arcgis-coding-components/{T3BIZOU5.js → N7LPKXBM.js} +2 -2
  22. package/dist/arcgis-coding-components/{YQUBTFF2.js → NNJMKMUJ.js} +2 -2
  23. package/dist/arcgis-coding-components/{4OFLVPX4.js → OSQVTF5D.js} +2 -2
  24. package/dist/arcgis-coding-components/{GVDNQ5FA.js → QD7MTYMC.js} +2 -2
  25. package/dist/arcgis-coding-components/{MXX25MG5.js → SLG7UGEL.js} +2 -2
  26. package/dist/arcgis-coding-components/{CXQTMY5F.js → SXUSNHDO.js} +2 -2
  27. package/dist/arcgis-coding-components/{ZMEXRFUV.js → THOXSMQH.js} +2 -2
  28. package/dist/arcgis-coding-components/{P5DO7YSH.js → TTBVDUFX.js} +2 -2
  29. package/dist/arcgis-coding-components/{CWVYDJAQ.js → UQVVMKY6.js} +2 -2
  30. package/dist/arcgis-coding-components/{QYQ6WHG3.js → V2B52TRO.js} +2 -2
  31. package/dist/arcgis-coding-components/{AEE57IJV.js → VQN727T3.js} +2 -2
  32. package/dist/arcgis-coding-components/{F63UQNDA.js → WBAC4WGU.js} +1 -1
  33. package/dist/arcgis-coding-components/{KBUHMA3E.js → WBLEIFWR.js} +1 -1
  34. package/dist/arcgis-coding-components/{OVW2DZF5.js → ZDDDOQD4.js} +2 -2
  35. package/dist/arcgis-coding-components/{YL3664SG.js → ZIXGY4ZV.js} +2 -2
  36. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  37. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +456 -454
  38. package/dist/chunks/arcade-defaults.js +1 -1
  39. package/dist/chunks/arcade-executor.js +1 -1
  40. package/dist/chunks/arcade-mode.js +1 -1
  41. package/dist/chunks/arcade-service-accessors.js +1 -1
  42. package/dist/chunks/fields.js +1 -1
  43. package/dist/chunks/language-defaults-base.js +1 -1
  44. package/dist/chunks/markdown.js +1 -1
  45. package/dist/chunks/monaco-importer.js +1 -1
  46. package/dist/chunks/runtime.js +1 -1
  47. package/dist/chunks/sql-expr-defaults.js +1 -1
  48. package/dist/chunks/sql-expr-mode.js +1 -1
  49. package/dist/chunks/useT9n.js +1 -1
  50. package/dist/components/arcgis-arcade-editor/customElement.d.ts +21 -1
  51. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  52. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  53. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  54. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  55. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  56. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  57. package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +3 -0
  58. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  59. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  60. package/dist/docs/api.json +9 -3
  61. package/dist/docs/docs.json +7 -4
  62. package/dist/docs/vscode.html-custom-data.json +1 -1
  63. package/dist/docs/web-types.json +3 -3
  64. package/dist/index.js +1 -1
  65. package/dist/loader.js +1 -1
  66. package/package.json +7 -7
@@ -4,7 +4,7 @@ import { g as m } from "./runtime.js";
4
4
  import { CompletionItemKind as w, InsertTextMode as f, InsertTextFormat 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.14 */
7
+ v4.33.0-next.16 */
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 * 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.14 */
4
+ v4.33.0-next.16 */
5
5
  const k = "https://developers.arcgis.com/arcade/", G = 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, DiagnosticSeverity as m, CompletionItemKind as o
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.14 */
11
+ v4.33.0-next.16 */
12
12
  const S = [
13
13
  "<=",
14
14
  ">=",
@@ -2,7 +2,7 @@ import { isURL as t, hasSameOrigin as i } from "@arcgis/components-utils";
2
2
  import c from "@arcgis/core/request.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.14 */
5
+ v4.33.0-next.16 */
6
6
  function a() {
7
7
  return !!window.MonacoEnvironment?.getWorkerUrl;
8
8
  }
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.14 */
3
+ v4.33.0-next.16 */
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.14 */
15
+ v4.33.0-next.16 */
16
16
  function W(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";
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.14 */
7
+ v4.33.0-next.16 */
8
8
  async function ne(l) {
9
9
  return await (await ee()).colorize(l, "arcade", { tabSize: 2 });
10
10
  }
@@ -5,7 +5,7 @@ import "monaco-editor/esm/vs/editor/standalone/common/standaloneTheme";
5
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.14 */
8
+ v4.33.0-next.16 */
9
9
  function g(r, t, n, m) {
10
10
  if (!t)
11
11
  return [];
@@ -1,7 +1,7 @@
1
1
  import { makeRuntime as t } from "@arcgis/lumina";
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.14 */
4
+ v4.33.0-next.16 */
5
5
  const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/coding-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: o, setAssetPath: m } = s;
6
6
  export {
7
7
  a as c,
@@ -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.14 */
7
+ v4.33.0-next.16 */
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.14 */
10
+ v4.33.0-next.16 */
11
11
  let h = new _();
12
12
  class k {
13
13
  constructor(e) {
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/components-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.14 */
5
+ v4.33.0-next.16 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -15,6 +15,26 @@ type SidePanelName = "api" | "none" | "suggestions" | "variables";
15
15
  type WithCustomPanels = {
16
16
  customPanels?: ICustomPanel[];
17
17
  };
18
+ /**
19
+ * [**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).
20
+ * Like other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.
21
+ * It also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.
22
+
23
+ * Map Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).
24
+ * This was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.
25
+ * You can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.
26
+
27
+ * You can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:
28
+
29
+ * - An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)
30
+ * - An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar
31
+ * - A way to execute Arcade expressions in a configurable code editor
32
+ * - [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)
33
+ * - [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)
34
+ * - Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)
35
+ * - In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.
36
+ * - Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)
37
+ */
18
38
  export declare class ArcgisArcadeEditor<T extends WithCustomPanels = object> extends LitElement {
19
39
  /**
20
40
  * Options to update on the editor.
@@ -25,7 +45,7 @@ export declare class ArcgisArcadeEditor<T extends WithCustomPanels = object> ext
25
45
  * }
26
46
  * ```
27
47
  *
28
- * To get the full list of available options, see the Monaco Editor options documentation for more details.
48
+ * To get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.
29
49
  */
30
50
  editorOptions: (Editor.IEditorOptions & Editor.IGlobalEditorOptions) | undefined;
31
51
  /** If true, it will hide the documentation action in the side panel */
@@ -14,7 +14,7 @@ import { createRef as E, ref as A } from "lit-html/directives/ref.js";
14
14
  import { css as $ } from "@lit/reactive-element/css-tag.js";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
17
- v4.33.0-next.14 */
17
+ v4.33.0-next.16 */
18
18
  const y = (n) => {
19
19
  if (!n.toString().includes("calcite-flow-item"))
20
20
  throw new Error("Renderer must return a JSX node that starts with <calcite-flow-item>");
@@ -8,7 +8,7 @@ import { u as M } from "../../chunks/useT9n.js";
8
8
  import { css as C } from "@lit/reactive-element/css-tag.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.14 */
11
+ v4.33.0-next.16 */
12
12
  const A = C`: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)}}`, a = {
13
13
  lines: !0,
14
14
  selectionMode: "none",
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
9
9
  import { css as _ } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
12
- v4.33.0-next.14 */
12
+ v4.33.0-next.16 */
13
13
  function v(o) {
14
14
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
15
15
  }
@@ -13,7 +13,7 @@ import { css as C } from "@lit/reactive-element/css-tag.js";
13
13
  import { load as b } from "@arcgis/components-controllers";
14
14
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
15
15
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
16
- v4.33.0-next.14 */
16
+ v4.33.0-next.16 */
17
17
  c.register({
18
18
  id: n.languageId,
19
19
  aliases: ["Arcade", "arcade"],
@@ -7,7 +7,7 @@ import { u as f } from "../../chunks/useT9n.js";
7
7
  import { css as m } from "@lit/reactive-element/css-tag.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.14 */
10
+ v4.33.0-next.16 */
11
11
  const u = 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-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
12
12
  function g(l) {
13
13
  l.key === "Enter" && l.stopPropagation();
@@ -9,7 +9,7 @@ import { u as _ } from "../../chunks/useT9n.js";
9
9
  import { css as b } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
12
- v4.33.0-next.14 */
12
+ v4.33.0-next.16 */
13
13
  const v = b`: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}code{font-family:var(--calcite-code-family)}pre{direction:ltr;overflow-x:auto;background-color:var(--calcite-color-foreground-2);padding:var(--calcite-spacing-sm);code{font-size:var(--calcite-font-size--2)}}}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
14
14
  class y extends u {
15
15
  constructor() {
@@ -5,6 +5,9 @@ import { ApiCategory } from '@arcgis/languages-api-utils';
5
5
  import { EditorProfile } from '../../utils/profile/editor-profile';
6
6
  import { IPredefinedProfile } from '../../utils/profile/types';
7
7
 
8
+ /**
9
+ * @internal
10
+ */
8
11
  export declare class ArcgisSqlExpressionEditor extends LitElement {
9
12
  /**
10
13
  * The profile to use for the editor. The profile defines the variables and functions that are available to the editor.
@@ -8,7 +8,7 @@ import { createRef as d, ref as p } from "lit-html/directives/ref.js";
8
8
  import { css as h } from "@lit/reactive-element/css-tag.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.14 */
11
+ v4.33.0-next.16 */
12
12
  const g = h`@layer{arcgis-sql-expression-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border);box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.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);box-sizing:border-box}.border-inline-end{border-inline-end:var(--arcgis-coding-components-border);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);calcite-flow{height:100%}}}}`;
13
13
  class f extends s {
14
14
  constructor() {
@@ -7,7 +7,7 @@ import { u as m } from "../../chunks/useT9n.js";
7
7
  import { css as d } from "@lit/reactive-element/css-tag.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.14 */
10
+ v4.33.0-next.16 */
11
11
  const h = d`:host{calcite-flow{height:100%}calcite-list-item-group{background-color:var(--calcite-color-foreground-2)}}`;
12
12
  class f extends r {
13
13
  constructor() {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-02-13T04:56:35",
2
+ "timestamp": "2025-02-15T04:57:25",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.33.0-next.14",
5
+ "version": "4.33.0-next.16",
6
6
  "typescriptVersion": "5.6.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -16,6 +16,7 @@
16
16
  "customElement": true,
17
17
  "name": "ArcgisArcadeEditor",
18
18
  "tagName": "arcgis-arcade-editor",
19
+ "description": "[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)",
19
20
  "demos": [
20
21
  {
21
22
  "description": "Docs",
@@ -90,7 +91,7 @@
90
91
  {
91
92
  "kind": "field",
92
93
  "name": "editorOptions",
93
- "description": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options documentation for more details.",
94
+ "description": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.",
94
95
  "type": {
95
96
  "text": "(IEditorOptions & IGlobalEditorOptions)",
96
97
  "references": [
@@ -1011,6 +1012,11 @@
1011
1012
  "url": "https://developers.arcgis.com/javascript/latest/storybook/coding-components/?path=/story/arcgis-sql-expression-editor--demo&singleStory=true"
1012
1013
  }
1013
1014
  ],
1015
+ "docsTags": [
1016
+ {
1017
+ "name": "internal"
1018
+ }
1019
+ ],
1014
1020
  "superclass": {
1015
1021
  "name": "LitElement",
1016
1022
  "package": "@arcgis/lumina"
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-02-13T04:56:35",
2
+ "timestamp": "2025-02-15T04:57:25",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.33.0-next.14",
5
+ "version": "4.33.0-next.16",
6
6
  "typescriptVersion": "5.6.3"
7
7
  },
8
8
  "components": [
@@ -12,7 +12,7 @@
12
12
  "overview": "",
13
13
  "readme": "",
14
14
  "usage": {},
15
- "docs": "",
15
+ "docs": "[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)",
16
16
  "docsTags": [
17
17
  {
18
18
  "name": "superclass",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "mutable": true,
73
73
  "reflectToAttr": false,
74
- "docs": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options documentation for more details.",
74
+ "docs": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.",
75
75
  "docsTags": [],
76
76
  "values": [],
77
77
  "optional": true,
@@ -936,6 +936,9 @@
936
936
  "usage": {},
937
937
  "docs": "",
938
938
  "docsTags": [
939
+ {
940
+ "name": "internal"
941
+ },
939
942
  {
940
943
  "name": "superclass",
941
944
  "text": "{\"name\":\"LitElement\",\"package\":\"@arcgis/lumina\"}"
@@ -4,7 +4,7 @@
4
4
  "tags": [
5
5
  {
6
6
  "name": "arcgis-arcade-editor",
7
- "description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.",
7
+ "description": "[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)\n--\n\n### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.",
8
8
  "attributes": [
9
9
  {
10
10
  "name": "hide-documentation-actions",
@@ -1,14 +1,14 @@
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": "4.33.0-next.14",
4
+ "version": "4.33.0-next.16",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "arcgis-arcade-editor",
11
- "description": "### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.",
11
+ "description": "[**Arcade**](https://developers.arcgis.com/arcade/) is a portable, and lightweight expression language used to create custom content throughout the [ArcGIS system](https://www.esri.com/en-us/arcgis/products/index).\nLike other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements.\nIt also supports multi-statement expressions, variables, and flow control statements. Arcade is unique when compared to other expression and scripting languages due to its inclusion of [feature](https://developers.arcgis.com/arcade/guide/types/#feature) and [geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) data types.\n\nMap Viewer (MV) was the first ArcGIS Online product to incorporate the new Arcade editor after [the editor's introduction in the November 2022 ArcGIS Online release](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-the-new-arcade-editor-in-arcgis-online/).\nThis was possible thanks to the Arcade editor component, which enabled MV to implement its own Arcade expression builder.\nYou can now also find the editor in ArcGIS Dashboards, ArcGIS Field Maps, and ArcGIS Velocity.\n\nYou can easily get your own dedicated Arcade expression builder with the **Arcade editor** component, which includes:\n\n- An easy to use [layout](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#the-new-layout)\n- An optional minimal layout if you, for example, decide to manually exclude things such as test data, padding, line numbers, and the sidebar\n- A way to execute Arcade expressions in a configurable code editor\n- [Suggestions and code completion](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#suggestions-and-code-completion)\n- [WCAG 2.0 compliant code colorization / syntax highlighting](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/accessibility-and-arcade-working-in-color/)\n- Built-in [keyboard shortcuts](https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/discover-the-arcade-editors-powerful-new-features/#keyboard-shortcuts)\n- In-editor help for finding information about profile variables relevant to your profile, documentation for constants and functions, a link to the official Arcade documentation, and, in some case, suggestions.\n- Support for many [languages and directionality](https://developers.arcgis.com/javascript/latest/localization/)\n--\n\n### Events\n- **arcgisDiagnosticsChange** - Emitted when the diagnostics collection has changed.\n- **arcgisScriptChange** - Emitted when the script string has changed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getScript(): Promise<string | undefined>` - **Deprecated**: Use `script` property instead.. \n- `getTestResult(): Promise<ArcadeResult>` - Returns the Arcade result for the script for the provided test data.\n- `setFocus(): Promise<void>` - Set the focus on the element.",
12
12
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/",
13
13
  "attributes": [
14
14
  {
@@ -65,7 +65,7 @@
65
65
  },
66
66
  {
67
67
  "name": "editorOptions",
68
- "description": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options documentation for more details.",
68
+ "description": "Options to update on the editor.\nFor example:\n```json\n{\n \"fontSize\": 18\n}\n```\n\nTo get the full list of available options, see the Monaco Editor options [documentation](https://microsoft.github.io/monaco-editor/typedoc/variables/editor.EditorOptions.html) for more details.",
69
69
  "type": "(IEditorOptions & IGlobalEditorOptions)"
70
70
  },
71
71
  {
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/4.33/esri/copyright.txt for details.
6
- v4.33.0-next.14 */
6
+ v4.33.0-next.16 */
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 i } from "@arcgis/lumina";
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.14 */
5
+ v4.33.0-next.16 */
6
6
  const o = i(e, {
7
7
  "arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
8
8
  "arcgis-arcade-results": [() => import("./components/arcgis-arcade-results/customElement.js"), "consoleLogs:,loading,openedResultPanel,result:"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components",
3
- "version": "4.33.0-next.14",
3
+ "version": "4.33.0-next.16",
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",
@@ -37,12 +37,12 @@
37
37
  ],
38
38
  "license": "SEE LICENSE IN LICENSE.md",
39
39
  "dependencies": {
40
- "@arcgis/arcade-languageservice": "4.33.0-next.14",
41
- "@arcgis/components-controllers": "4.33.0-next.14",
42
- "@arcgis/components-utils": "4.33.0-next.14",
43
- "@arcgis/core-adapter": "4.33.0-next.14",
44
- "@arcgis/languages-api-utils": "4.33.0-next.14",
45
- "@arcgis/lumina": "4.33.0-next.14",
40
+ "@arcgis/arcade-languageservice": "4.33.0-next.16",
41
+ "@arcgis/components-controllers": "4.33.0-next.16",
42
+ "@arcgis/components-utils": "4.33.0-next.16",
43
+ "@arcgis/core-adapter": "4.33.0-next.16",
44
+ "@arcgis/languages-api-utils": "4.33.0-next.16",
45
+ "@arcgis/lumina": "4.33.0-next.16",
46
46
  "monaco-editor": "^0.52.0",
47
47
  "tslib": "^2.7.0",
48
48
  "vscode-languageserver-types": "^3.17.5"