@arcgis/coding-components 4.34.0-next.133 → 4.34.0-next.135

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 (98) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{NBC2N7DQ.js → 26U6WQKS.js} +2 -2
  3. package/dist/cdn/{TVXP2N25.js → 2UM2Y7V2.js} +2 -2
  4. package/dist/cdn/2YZ4PMTC.js +4 -0
  5. package/dist/cdn/{YSBS6TWD.js → 3UHKPHDU.js} +1 -1
  6. package/dist/cdn/{XHW3JCAA.js → 46WSIHRW.js} +1 -1
  7. package/dist/cdn/{SFZHBHD6.js → 4JBVT7NK.js} +2 -2
  8. package/dist/cdn/{ADOFXSHY.js → 55VBZFUY.js} +2 -2
  9. package/dist/cdn/{TY4ZPHY5.js → 6OYS3NK4.js} +2 -2
  10. package/dist/cdn/{HAQPAAAD.js → 6ZCJY3FM.js} +2 -2
  11. package/dist/cdn/{ELU3G7A2.js → 77PW5YJT.js} +2 -2
  12. package/dist/cdn/{EZPQRXVF.js → AE2DO5IY.js} +2 -2
  13. package/dist/cdn/{PMG7E6F7.js → B3WO75T6.js} +1 -1
  14. package/dist/cdn/{NJ4ZAXGL.js → B7UNWQLJ.js} +2 -2
  15. package/dist/cdn/{444YJJLQ.js → BEDVSMT5.js} +2 -2
  16. package/dist/cdn/{OAXYRUYW.js → BETHAEVX.js} +1 -1
  17. package/dist/cdn/{NJ5RM7DS.js → C5WNJSRL.js} +2 -2
  18. package/dist/cdn/{LB5UVB2T.js → CM223OSI.js} +2 -2
  19. package/dist/cdn/{IFNUEEY6.js → FLYTO5LR.js} +2 -2
  20. package/dist/cdn/{BHKLXIUC.js → GPNOANBI.js} +2 -2
  21. package/dist/cdn/{JYIKHQHZ.js → GQJIRLDI.js} +2 -2
  22. package/dist/cdn/{33FMU32I.js → GYLNCWS4.js} +2 -2
  23. package/dist/cdn/{H5JKFDB4.js → JEBKTCTX.js} +2 -2
  24. package/dist/cdn/JUM2FAM6.js +63 -0
  25. package/dist/cdn/{INUF6LI3.js → K6MDQLJP.js} +2 -2
  26. package/dist/cdn/{VTGZADX5.js → K6PW6FNL.js} +1 -1
  27. package/dist/cdn/{7RHH4P5M.js → KKYF7BKF.js} +2 -2
  28. package/dist/cdn/{RGU2XCZ4.js → LZRLMCLP.js} +2 -2
  29. package/dist/cdn/{KOTYZLXM.js → MFBQC4FM.js} +2 -2
  30. package/dist/cdn/{TXLNSKBC.js → MO6V6DS4.js} +4 -4
  31. package/dist/cdn/{3J4MHZTC.js → PACGWRLY.js} +2 -2
  32. package/dist/cdn/{OYEHPNOM.js → QQYFC2FJ.js} +2 -2
  33. package/dist/cdn/{RLM24PPW.js → RJBRWRLR.js} +2 -2
  34. package/dist/cdn/{SMJH5SA6.js → RQDDULN7.js} +2 -2
  35. package/dist/cdn/{MPYVEDWN.js → SGGSM4FY.js} +2 -2
  36. package/dist/cdn/{YR54KJQM.js → SOIAM2PR.js} +2 -2
  37. package/dist/cdn/{5ODW6NHY.js → SU575K7S.js} +2 -2
  38. package/dist/cdn/{DSIF4ZUF.js → TMK3TWBH.js} +2 -2
  39. package/dist/cdn/{HX5KCZE7.js → TR6FAD3O.js} +1 -1
  40. package/dist/cdn/{YUXMLOLC.js → UBQG6BIZ.js} +2 -2
  41. package/dist/cdn/{7XLORGVX.js → UQ56X7GZ.js} +1 -1
  42. package/dist/cdn/{B2ETOF6E.js → UT2IYCOE.js} +2 -2
  43. package/dist/cdn/{IIV3BOUP.js → V7RMMP2N.js} +2 -2
  44. package/dist/cdn/{6G3BWD4I.js → WAWAPHMK.js} +2 -2
  45. package/dist/cdn/{VCVT33O7.js → YXQYVIZ3.js} +2 -2
  46. package/dist/cdn/assets/code-editor/arcade.worker.js +1626 -1705
  47. package/dist/cdn/assets/code-editor/css.worker.js +1513 -1592
  48. package/dist/cdn/assets/code-editor/editor.worker.js +2010 -2089
  49. package/dist/cdn/assets/code-editor/html.worker.js +2222 -2301
  50. package/dist/cdn/assets/code-editor/json.worker.js +2148 -2227
  51. package/dist/cdn/assets/code-editor/sql-expr.worker.js +36616 -36602
  52. package/dist/cdn/assets/code-editor/ts.worker.js +23578 -23657
  53. package/dist/cdn/index.js +2 -2
  54. package/dist/chunks/arcade-defaults.js +1 -1
  55. package/dist/chunks/arcade-executor.js +1 -1
  56. package/dist/chunks/arcade-mode.js +1 -1
  57. package/dist/chunks/arcade-service-accessors.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 +45 -40
  62. package/dist/chunks/monaco-importer.js +1 -1
  63. package/dist/chunks/runtime.js +1 -1
  64. package/dist/chunks/setup-monaco.js +1 -1
  65. package/dist/chunks/sql-expr-contribution.js +1 -1
  66. package/dist/chunks/sql-expr-defaults.js +1 -1
  67. package/dist/chunks/sql-expr-mode.js +1 -1
  68. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  69. package/dist/chunks/useT9n.js +1 -1
  70. package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +8 -0
  71. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  72. package/dist/components/arcgis-arcade-editor/customElement.d.ts +71 -0
  73. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-arcade-results/customElement.d.ts +14 -0
  75. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  76. package/dist/components/arcgis-arcade-suggestions/customElement.d.ts +8 -0
  77. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  78. package/dist/components/arcgis-code-editor/customElement.d.ts +53 -0
  79. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  80. package/dist/components/arcgis-editor-variables/customElement.d.ts +19 -0
  81. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  82. package/dist/components/arcgis-language-api-panel/customElement.d.ts +23 -0
  83. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  84. package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +28 -0
  85. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  86. package/dist/components/arcgis-sql-expression-fields/customElement.d.ts +8 -0
  87. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  88. package/dist/docs/api.json +2 -2
  89. package/dist/docs/docs.json +2 -2
  90. package/dist/docs/web-types.json +1 -1
  91. package/dist/index.js +1 -1
  92. package/dist/loader.js +1 -1
  93. package/dist/monacoStyles.js +1 -1
  94. package/dist/types/preact.d.ts +6 -6
  95. package/dist/types/preact10.d.ts +41 -0
  96. package/package.json +5 -5
  97. package/dist/cdn/CARPBLSL.js +0 -63
  98. package/dist/cdn/ZCOIOSPC.js +0 -4
@@ -5,10 +5,24 @@ import { ArcadeResult } from '../../utils/arcade-executor';
5
5
  export type ResultPanelName = "console" | "log" | "output";
6
6
  /** @private */
7
7
  export declare class ArcgisArcadeResults extends LitElement {
8
+ /** The console logs from the execution of an Arcade expression */
8
9
  consoleLogs?: string[];
10
+ /**
11
+ * Loading state
12
+ *
13
+ * @default false
14
+ */
9
15
  loading?: boolean;
16
+ /**
17
+ * The result panel displayed
18
+ *
19
+ * @default "output"
20
+ */
10
21
  openedResultPanel: ResultPanelName;
22
+ /** The results from the execution of an Arcade expression */
11
23
  result?: ArcadeResult;
24
+ /** Raise when the clode action has been activated */
12
25
  readonly arcgisClose: TargetedEvent<this, void>;
26
+ /** Raised when the opened result panel has changed */
13
27
  readonly arcgisOpenedResultPanelChange: TargetedEvent<this, ResultPanelName>;
14
28
  }
@@ -8,7 +8,7 @@ import { s as O } from "../../chunks/fields.js";
8
8
  import "@arcgis/toolkit/function";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.133 */
11
+ v4.34.0-next.135 */
12
12
  const D = 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)}}`, l = {
13
13
  lines: !0,
14
14
  selectionMode: "none",
@@ -5,8 +5,16 @@ import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from '../../utils/e
5
5
 
6
6
  /** @private */
7
7
  export declare class ArcgisArcadeSuggestions extends LitElement {
8
+ /** The collection of suggestions */
8
9
  suggestions?: IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[];
10
+ /**
11
+ * When true, the component will be hidden.
12
+ *
13
+ * @default false
14
+ */
9
15
  closed?: boolean | undefined;
16
+ /** Raised when close action has been activated */
10
17
  readonly arcgisClose: TargetedEvent<this, void>;
18
+ /** Raised when an item has been selected */
11
19
  readonly arcgisItemSelected: TargetedEvent<this, string>;
12
20
  }
@@ -8,7 +8,7 @@ import { f as b } from "../../chunks/monaco-importer.js";
8
8
  import { u as _ } from "../../chunks/useT9n.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
11
- v4.34.0-next.133 */
11
+ v4.34.0-next.135 */
12
12
  function v(o) {
13
13
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
14
14
  }
@@ -9,19 +9,72 @@ import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
9
9
  * @internal
10
10
  */
11
11
  export declare class ArcgisCodeEditor extends LitElement {
12
+ /**
13
+ * The instance of the Monaco Editor after the component has been rendered.
14
+ * To determine when a component is rendered, you can use componentOnReady() method.
15
+ * The method returns a Promise that resolves after the component rendered for the first time.
16
+ */
12
17
  get editorInstance(): Editor.IStandaloneCodeEditor | undefined;
18
+ /**
19
+ * Options to update on the editor.
20
+ * For example:
21
+ * ```json
22
+ * {
23
+ * "fontSize": 18
24
+ * }
25
+ * ```
26
+ *
27
+ * To get the full list of options set on the editor, use the editorInstance property and see Monaco Editor options documentation for more details.
28
+ */
13
29
  editorOptions?: Editor.IEditorOptions & Editor.IGlobalEditorOptions;
30
+ /**
31
+ * The language for the editor.
32
+ * Currently supported language: arcade, arcgis-sql-expression, json, css, html, javascript, typescript, and text.
33
+ */
14
34
  language?: string;
35
+ /**
36
+ * A unique identifier for the model.
37
+ * The unique identifier is sometimes used by language defaults to store model metadata.
38
+ * For example, with arcade, the model id is used to store the arcade profile and other metadata.
39
+ * The unique identifier is especially useful when there are multiple editors on the same page.
40
+ */
15
41
  modelId: `${string}-${string}-${string}-${string}-${string}`;
42
+ /**
43
+ * The initial value for the editor.
44
+ * The value is the script, code, css, json, etc.
45
+ *
46
+ * @default ""
47
+ */
16
48
  value: string;
49
+ /** @deprecated **Deprecated** since 4.30. Use `value` property instead. */
17
50
  getValue(): Promise<string>;
51
+ /**
52
+ * Inserts a snippet at the current position in the editor.
53
+ *
54
+ * @param text - The string snippet to insert
55
+ * @returns
56
+ */
18
57
  insertSnippet(text: string | null | undefined): Promise<void>;
58
+ /**
59
+ * Inserts a text at the current position in the editor.
60
+ *
61
+ * @param text - The string to insert
62
+ * @returns
63
+ */
19
64
  insertText(text: string | null | undefined): Promise<void>;
65
+ /**
66
+ * Sets the focus on the editor.
67
+ *
68
+ * @returns
69
+ */
20
70
  setFocus(): Promise<void>;
71
+ /** @deprecated **Deprecated** since 4.30. Use `value` property instead. */
21
72
  setValue(text: string | null | undefined): Promise<void>;
73
+ /** Emitted when the selection has changed. */
22
74
  readonly arcgisSelectionChange: TargetedEvent<this, {
23
75
  selection: Selection;
24
76
  model: Editor.ITextModel | null | undefined;
25
77
  }>;
78
+ /** Emitted when the value has changed (script, code, css, json, etc.) */
26
79
  readonly arcgisValueChange: TargetedEvent<this, string>;
27
80
  }
@@ -11,7 +11,7 @@ import { load as I } from "@arcgis/lumina/controllers";
11
11
  import { Range as v, Uri as s, KeyMod as n, KeyCode as r } from "monaco-editor";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
14
- v4.34.0-next.133 */
14
+ v4.34.0-next.135 */
15
15
  const b = 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}}}}`, M = {
16
16
  autoIndent: "advanced",
17
17
  automaticLayout: !0,
@@ -7,11 +7,30 @@ import { EditorProfile, FeatureSetVariable } from '../../utils/profile/editor-pr
7
7
  type Mode = "featureSet" | "profile";
8
8
  /** @private */
9
9
  export declare class ArcgisEditorVariables extends LitElement {
10
+ /**
11
+ * Loading state
12
+ *
13
+ * @default false
14
+ */
10
15
  loading: boolean;
16
+ /** The model id */
11
17
  modelId?: string;
18
+ /**
19
+ * When true, the component will be hidden.
20
+ *
21
+ * @default false
22
+ */
12
23
  closed?: boolean | undefined;
24
+ /**
25
+ * The variable to display.
26
+ * Currently supports EditorProfile and FeatureSetVariable
27
+ * In the case of a FeatureSetVariable, the UX will show that variable exclusively,
28
+ * excluding the initial profile variables selection panel.
29
+ */
13
30
  variable?: EditorProfile | FeatureSetVariable;
31
+ /** Raised when close action has been activated */
14
32
  readonly arcgisClose: TargetedEvent<this, void>;
33
+ /** Raised when an item has been selected */
15
34
  readonly arcgisItemSelected: TargetedEvent<this, string>;
16
35
  }
17
36
  export {};
@@ -7,7 +7,7 @@ import { createFilterExpression as f } from "@arcgis/toolkit/string";
7
7
  import { u } from "../../chunks/useT9n.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
10
- v4.34.0-next.133 */
10
+ v4.34.0-next.135 */
11
11
  const m = 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();
@@ -5,11 +5,34 @@ import { ApiCategory, ApiItem } from '@arcgis/languages-api-utils';
5
5
 
6
6
  /** @private */
7
7
  export declare class ArcgisLanguageApiPanel extends LitElement {
8
+ /**
9
+ * The language the panel is rendering
10
+ *
11
+ * @default "arcade"
12
+ */
8
13
  languageId: string;
14
+ /** The api library to display */
9
15
  apiLibrary?: ApiCategory[];
16
+ /**
17
+ * Should the documentation action be hidden
18
+ *
19
+ * @default false
20
+ */
10
21
  hideDocumentationActions: boolean;
22
+ /**
23
+ * When true, a busy indicator is displayed
24
+ *
25
+ * @default false
26
+ */
11
27
  loading: boolean;
28
+ /**
29
+ * When true, the component will be hidden.
30
+ *
31
+ * @default false
32
+ */
12
33
  closed?: boolean | undefined;
34
+ /** Raised when the close action has been requested */
13
35
  readonly arcgisClose: TargetedEvent<this, void>;
36
+ /** Raised when an item has been selected */
14
37
  readonly arcgisItemSelected: TargetedEvent<this, string>;
15
38
  }
@@ -10,7 +10,7 @@ import { u as v } from "../../chunks/useT9n.js";
10
10
  import { s as d } from "../../chunks/sql-expr-contribution.js";
11
11
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
12
12
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
13
- v4.34.0-next.133 */
13
+ v4.34.0-next.135 */
14
14
  const y = h`: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)}}`;
15
15
  class I extends p {
16
16
  constructor() {
@@ -16,9 +16,37 @@ import { editor } from 'monaco-editor';
16
16
  * @internal
17
17
  */
18
18
  export declare class ArcgisSqlExpressionEditor extends LitElement {
19
+ /**
20
+ * The profile to use for the editor. The profile defines the variables and functions that are available to the editor.
21
+ *
22
+ * @example
23
+ * ```jsx
24
+ * <arcgis-sql-expression-editor profile={id: "field-calculation", definitions: { $layer: layer }}></arcgis-sql-expression-editor>
25
+ * ```
26
+ */
19
27
  profile?: IPredefinedProfile;
28
+ /**
29
+ * The sql expression script. Use this property to define or update the script.
30
+ *
31
+ * @example
32
+ * ```html
33
+ * <arcgis-sql-expression-editor script="CAST(2.45 AS INTEGER)"></arcgis-sql-expression-editor>
34
+ * ```
35
+ * @default ""
36
+ */
20
37
  script: string;
38
+ /**
39
+ * If true, it will hide the side actions bar. The editor will be in a minimalistic UX.
40
+ *
41
+ * @example
42
+ * ```html
43
+ * <arcgis-sql-expression-editor hideSideBar></arcgis-sql-expression-editor>
44
+ * ```
45
+ * @default false
46
+ */
21
47
  hideSideBar: boolean;
48
+ /** Emitted when the diagnostics collection has changed. */
22
49
  readonly arcgisDiagnosticsChange: TargetedEvent<this, editor.IMarkerData[]>;
50
+ /** Emitted when the script string has changed. */
23
51
  readonly arcgisScriptChange: TargetedEvent<this, string>;
24
52
  }
@@ -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/4.34/esri/copyright.txt for details.
12
- v4.34.0-next.133 */
12
+ v4.34.0-next.135 */
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() {
@@ -4,8 +4,16 @@ import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/
4
4
 
5
5
  /** @private */
6
6
  export declare class SqlExpressionFields extends LitElement {
7
+ /**
8
+ * Loading state
9
+ *
10
+ * @default false
11
+ */
7
12
  loading: boolean;
13
+ /** The model id */
8
14
  modelId?: string;
15
+ /** Emitted when close action has been activated */
9
16
  readonly arcgisClose: TargetedEvent<this, void>;
17
+ /** Emitted when a field has been selected */
10
18
  readonly arcgisFieldSelected: TargetedEvent<this, string>;
11
19
  }
@@ -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/4.34/esri/copyright.txt for details.
9
- v4.34.0-next.133 */
9
+ v4.34.0-next.135 */
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-09-16T04:37:22",
2
+ "timestamp": "2025-09-18T04:40:14",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.133",
5
+ "version": "4.34.0-next.135",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-09-16T04:37:22",
2
+ "timestamp": "2025-09-18T04:40:14",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.133",
5
+ "version": "4.34.0-next.135",
6
6
  "typescriptVersion": "5.8.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": "4.34.0-next.133",
4
+ "version": "4.34.0-next.135",
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/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.133 */
6
+ v4.34.0-next.135 */
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/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.133 */
5
+ v4.34.0-next.135 */
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/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.133 */
3
+ v4.34.0-next.135 */
4
4
  const A = `/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -2,34 +2,34 @@
2
2
  import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
3
  import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
4
4
  import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
5
- import { JSX as PreactJsx } from "preact";
5
+ import { HTMLAttributes } from "preact";
6
6
  import type { EventHandler } from "@arcgis/lumina";
7
7
 
8
- interface PreactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'arcadeAssistant' | 'customPanels' | 'editorOptions' | 'hideDocumentationActions' | 'hideSideBar' | 'openedSidePanel' | 'profile' | 'script' | 'sideActionBarExpanded' | 'snippets' | 'suggestions' | 'testData'>>, PreactJsx.HTMLAttributes<HTMLArcgisArcadeEditorElement> {
8
+ interface PreactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'arcadeAssistant' | 'customPanels' | 'editorOptions' | 'hideDocumentationActions' | 'hideSideBar' | 'openedSidePanel' | 'profile' | 'script' | 'sideActionBarExpanded' | 'snippets' | 'suggestions' | 'testData'>>, HTMLAttributes<HTMLArcgisArcadeEditorElement> {
9
9
  onarcgisDiagnosticsChange?: EventHandler<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
10
10
  onarcgisScriptChange?: EventHandler<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
11
11
  }
12
12
 
13
- interface PreactArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, PreactJsx.HTMLAttributes<HTMLArcgisCodeEditorElement> {
13
+ interface PreactArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, HTMLAttributes<HTMLArcgisCodeEditorElement> {
14
14
  onarcgisSelectionChange?: EventHandler<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
15
15
  onarcgisValueChange?: EventHandler<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
16
16
  }
17
17
 
18
- interface PreactArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'hideSideBar' | 'profile' | 'script'>>, PreactJsx.HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
18
+ interface PreactArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'hideSideBar' | 'profile' | 'script'>>, HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
19
19
  onarcgisDiagnosticsChange?: EventHandler<HTMLArcgisSqlExpressionEditorElement["arcgisDiagnosticsChange"]>;
20
20
  onarcgisScriptChange?: EventHandler<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
21
21
  }
22
22
 
23
23
  declare module 'preact' {
24
24
  namespace createElement.JSX {
25
- interface IntrinsicElements extends PreactJsx.IntrinsicElements {
25
+ interface IntrinsicElements {
26
26
  "arcgis-arcade-editor": PreactArcgisArcadeEditor;
27
27
  "arcgis-code-editor": PreactArcgisCodeEditor;
28
28
  "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
29
29
  }
30
30
  }
31
31
  namespace h.JSX {
32
- interface IntrinsicElements extends PreactJsx.IntrinsicElements {
32
+ interface IntrinsicElements {
33
33
  "arcgis-arcade-editor": PreactArcgisArcadeEditor;
34
34
  "arcgis-code-editor": PreactArcgisCodeEditor;
35
35
  "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
@@ -0,0 +1,41 @@
1
+ /// <reference types="../index.d.ts" />
2
+ import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
+ import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
4
+ import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
5
+ import { JSX as PreactJsx } from "preact";
6
+ import type { EventHandler } from "@arcgis/lumina";
7
+
8
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
9
+ interface PreactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'arcadeAssistant' | 'customPanels' | 'editorOptions' | 'hideDocumentationActions' | 'hideSideBar' | 'openedSidePanel' | 'profile' | 'script' | 'sideActionBarExpanded' | 'snippets' | 'suggestions' | 'testData'>>, PreactJsx.HTMLAttributes<HTMLArcgisArcadeEditorElement> {
10
+ onarcgisDiagnosticsChange?: EventHandler<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
11
+ onarcgisScriptChange?: EventHandler<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
12
+ }
13
+
14
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
15
+ interface PreactArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, PreactJsx.HTMLAttributes<HTMLArcgisCodeEditorElement> {
16
+ onarcgisSelectionChange?: EventHandler<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
17
+ onarcgisValueChange?: EventHandler<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
18
+ }
19
+
20
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
21
+ interface PreactArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'hideSideBar' | 'profile' | 'script'>>, PreactJsx.HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
22
+ onarcgisDiagnosticsChange?: EventHandler<HTMLArcgisSqlExpressionEditorElement["arcgisDiagnosticsChange"]>;
23
+ onarcgisScriptChange?: EventHandler<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
24
+ }
25
+
26
+ declare module 'preact' {
27
+ namespace createElement.JSX {
28
+ interface IntrinsicElements {
29
+ "arcgis-arcade-editor": PreactArcgisArcadeEditor;
30
+ "arcgis-code-editor": PreactArcgisCodeEditor;
31
+ "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
32
+ }
33
+ }
34
+ namespace h.JSX {
35
+ interface IntrinsicElements {
36
+ "arcgis-arcade-editor": PreactArcgisArcadeEditor;
37
+ "arcgis-code-editor": PreactArcgisCodeEditor;
38
+ "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
39
+ }
40
+ }
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components",
3
- "version": "4.34.0-next.133",
3
+ "version": "4.34.0-next.135",
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": "4.34.0-next.133",
46
- "@arcgis/languages-api-utils": "4.34.0-next.133",
47
- "@arcgis/lumina": "4.34.0-next.133",
48
- "@arcgis/toolkit": "4.34.0-next.133",
45
+ "@arcgis/arcade-languageservice": "4.34.0-next.135",
46
+ "@arcgis/languages-api-utils": "4.34.0-next.135",
47
+ "@arcgis/lumina": "4.34.0-next.135",
48
+ "@arcgis/toolkit": "4.34.0-next.135",
49
49
  "lit": "^3.3.0",
50
50
  "monaco-editor": "^0.52.0",
51
51
  "tslib": "^2.8.1",