@arcgis/coding-components 4.34.0-next.128 → 4.34.0-next.129

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 (96) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{OGCX5NIT.js → 2JJBMAY2.js} +2 -2
  3. package/dist/cdn/{JLOGYGWN.js → 2TZ4WNB2.js} +2 -2
  4. package/dist/cdn/{AH5G2UUW.js → 2Y4QWUQ5.js} +2 -2
  5. package/dist/cdn/{F7KZ4J3M.js → 3BAPPI5A.js} +1 -1
  6. package/dist/cdn/{DN4MQ6DT.js → 3OTSLDGR.js} +2 -2
  7. package/dist/cdn/{PIG62Q36.js → 3VYPPYN2.js} +2 -2
  8. package/dist/cdn/{XNX2GS3A.js → 4XLQ3TIM.js} +2 -2
  9. package/dist/cdn/{AP2U5M7T.js → 5AAZTIQL.js} +2 -2
  10. package/dist/cdn/{E2HR7G72.js → 5JFZAWYW.js} +2 -2
  11. package/dist/cdn/{G2VPV7FH.js → 6MXMTSQB.js} +2 -2
  12. package/dist/cdn/{FMXI4GWW.js → 7VY4ZFTY.js} +2 -2
  13. package/dist/cdn/{JBEVFE6N.js → BT4ACDC4.js} +2 -2
  14. package/dist/cdn/DUHD2WEC.js +8 -0
  15. package/dist/cdn/{3X4QVHVH.js → EWJPI4K3.js} +2 -2
  16. package/dist/cdn/{CGZMEBUQ.js → FDYED5F2.js} +2 -2
  17. package/dist/cdn/{CVRIP3YF.js → FLSE56KS.js} +2 -2
  18. package/dist/cdn/{ATINCT6D.js → HEQUWZSF.js} +4 -4
  19. package/dist/cdn/{2D4XLNSC.js → HV2EUOMS.js} +2 -2
  20. package/dist/cdn/{4ARGYT7I.js → IEGREDGD.js} +2 -2
  21. package/dist/cdn/{TZB44K44.js → IEGVLDQY.js} +2 -2
  22. package/dist/cdn/{JEW6O26N.js → JM3TNAV2.js} +2 -2
  23. package/dist/cdn/{OI5IWVLN.js → JVIVTV57.js} +2 -2
  24. package/dist/cdn/{M6VF2DXU.js → JZL444LG.js} +2 -2
  25. package/dist/cdn/{3WLCQZAM.js → K2A3TUUC.js} +2 -2
  26. package/dist/cdn/{Z3XY2NFB.js → KYAO2ZUR.js} +1 -1
  27. package/dist/cdn/{TWSJPG3O.js → L4PG6X53.js} +2 -2
  28. package/dist/cdn/{LWXLWCAZ.js → L5G7YF5J.js} +2 -2
  29. package/dist/cdn/{SYJQ6XKG.js → LR63OZBB.js} +2 -2
  30. package/dist/cdn/LUROZOMB.js +14 -0
  31. package/dist/cdn/{NFQLRYAL.js → NFEER5QJ.js} +2 -2
  32. package/dist/cdn/{BXLATVVK.js → OEFBH3WB.js} +2 -2
  33. package/dist/cdn/{7LDSNUR5.js → OKKIHEDD.js} +2 -2
  34. package/dist/cdn/{FXZL7KS5.js → QESHZN4W.js} +2 -2
  35. package/dist/cdn/QGSWW3NM.js +4 -0
  36. package/dist/cdn/{EITZEBGN.js → QUT4VJRY.js} +1 -1
  37. package/dist/cdn/STHV2ZWY.js +4 -0
  38. package/dist/cdn/{6RCN5HYJ.js → SWMMEXIO.js} +1 -1
  39. package/dist/cdn/{RIPEMMAE.js → T3RBCTRD.js} +2 -2
  40. package/dist/cdn/{CZEK6RSP.js → U2OPLXBP.js} +2 -2
  41. package/dist/cdn/{GNFBKT3J.js → UCTN2Y42.js} +2 -2
  42. package/dist/cdn/{BOTANQTX.js → UDSJ3U6Q.js} +2 -2
  43. package/dist/cdn/{BSLV24BJ.js → UN2TOEHW.js} +1 -1
  44. package/dist/cdn/{WA55I5X3.js → WD27FFED.js} +1 -1
  45. package/dist/cdn/{J3STVK2I.js → YHHR4A3C.js} +2 -2
  46. package/dist/cdn/assets/code-editor/sql-expr.worker.js +8187 -8181
  47. package/dist/cdn/index.js +2 -2
  48. package/dist/chunks/arcade-defaults.js +138 -104
  49. package/dist/chunks/arcade-executor.js +1 -1
  50. package/dist/chunks/arcade-mode.js +1 -1
  51. package/dist/chunks/arcade-service-accessors.js +1 -1
  52. package/dist/chunks/editor.js +1 -1
  53. package/dist/chunks/fields.js +52 -11
  54. package/dist/chunks/language-defaults-base.js +378 -243
  55. package/dist/chunks/markdown.js +1 -1
  56. package/dist/chunks/monaco-importer.js +1 -1
  57. package/dist/chunks/runtime.js +1 -1
  58. package/dist/chunks/setup-monaco.js +1 -1
  59. package/dist/chunks/sql-expr-contribution.js +1 -1
  60. package/dist/chunks/sql-expr-defaults.js +1 -1
  61. package/dist/chunks/sql-expr-mode.js +1 -1
  62. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  63. package/dist/chunks/useT9n.js +1 -1
  64. package/dist/components/arcgis-arcade-coding-assistant/customElement.d.ts +0 -8
  65. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  66. package/dist/components/arcgis-arcade-editor/customElement.d.ts +0 -71
  67. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  68. package/dist/components/arcgis-arcade-results/customElement.d.ts +0 -14
  69. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  70. package/dist/components/arcgis-arcade-suggestions/customElement.d.ts +0 -8
  71. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  72. package/dist/components/arcgis-code-editor/customElement.d.ts +0 -53
  73. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-editor-variables/customElement.d.ts +0 -19
  75. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  76. package/dist/components/arcgis-language-api-panel/customElement.d.ts +0 -23
  77. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  78. package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +0 -28
  79. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  80. package/dist/components/arcgis-sql-expression-fields/customElement.d.ts +0 -8
  81. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  82. package/dist/docs/api.json +2 -2
  83. package/dist/docs/docs.json +2 -2
  84. package/dist/docs/web-types.json +1 -1
  85. package/dist/index.js +1 -1
  86. package/dist/loader.js +1 -1
  87. package/dist/monacoStyles.js +1 -1
  88. package/dist/utils/fields.d.ts +8 -1
  89. package/dist/utils/profile/editor-profile.d.ts +30 -12
  90. package/dist/utils/profile/types.d.ts +28 -1
  91. package/dist/utils/profile/utils.d.ts +5 -1
  92. package/package.json +5 -5
  93. package/dist/cdn/A2QCR3TF.js +0 -10
  94. package/dist/cdn/DCS4WKNJ.js +0 -4
  95. package/dist/cdn/F3CZQSXF.js +0 -8
  96. package/dist/cdn/WOVEEI32.js +0 -4
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as ie } from "monaco-editor/esm/vs/editor/stand
4
4
  import { generateTokensCSSForColorMap as we } 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.34/esri/copyright.txt for details.
7
- v4.34.0-next.128 */
7
+ v4.34.0-next.129 */
8
8
  async function ye(r, e) {
9
9
  return await (await me()).colorize(r, e, { 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.34/esri/copyright.txt for details.
9
- v4.34.0-next.128 */
9
+ v4.34.0-next.129 */
10
10
  function $(e, n, l, i) {
11
11
  if (!n)
12
12
  return [];
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
6
- v4.34.0-next.128 */
6
+ v4.34.0-next.129 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/coding-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
@@ -1,7 +1,7 @@
1
1
  import w 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.34/esri/copyright.txt for details.
4
- v4.34.0-next.128 */
4
+ v4.34.0-next.129 */
5
5
  function d() {
6
6
  return !!window.MonacoEnvironment?.getWorker;
7
7
  }
@@ -9,7 +9,7 @@ import { a as n } from "./sql-expr-defaults.js";
9
9
  import { g as m } from "./sql-expr-service-accessors.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.128 */
12
+ v4.34.0-next.129 */
13
13
  const s = /* @__PURE__ */ new Set();
14
14
  function g(e, o) {
15
15
  return () => {
@@ -4,7 +4,7 @@ import { fetchT9nStringsBundle as M } from "@arcgis/toolkit/intl";
4
4
  import { g as b } from "./runtime.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
7
- v4.34.0-next.128 */
7
+ v4.34.0-next.129 */
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 {
@@ -9,7 +9,7 @@ import { debounce as N } from "@arcgis/toolkit/function";
9
9
  import { g as f } from "./sql-expr-service-accessors.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.128 */
12
+ v4.34.0-next.129 */
13
13
  let h = new _();
14
14
  class k {
15
15
  constructor(e) {
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.128 */
3
+ v4.34.0-next.129 */
4
4
  async function t() {
5
5
  return await import("./sql-expr-mode.js");
6
6
  }
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.128 */
5
+ v4.34.0-next.129 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -14,22 +14,14 @@ import { PropertyValues } from 'lit';
14
14
  export declare class ArcgisArcadeCodingAssistant extends LitElement {
15
15
  closePanel?: (e: Event) => void;
16
16
  insertText?: (text: string) => void;
17
- /** @default "" */
18
17
  helpBase?: string;
19
- /**
20
- * Whether ai assistants are enabled in the organization's settings.
21
- *
22
- * @default false
23
- */
24
18
  assistantsEnabled: boolean;
25
19
  layer: __esri.CatalogFootprintLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.SceneLayer | __esri.Sublayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WFSLayer;
26
20
  portalUrl: string;
27
21
  serviceUrl: string;
28
- /** @default false */
29
22
  closed: boolean;
30
23
  editorRef: ArcgisArcadeEditor;
31
24
  feedbackServiceUrl?: string;
32
25
  appVersion?: string;
33
- /** Permanently destroy the component */
34
26
  destroy(): Promise<void>;
35
27
  }
@@ -17,7 +17,7 @@ import X from "@arcgis/core/Graphic.js";
17
17
  import { b as Z } from "../../chunks/language-defaults-base.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
20
- v4.34.0-next.128 */
20
+ v4.34.0-next.129 */
21
21
  const ee = W`:host(:not([closed])){--calcite-block-border-color: var(--calcite-color-transparent);flex:1 0 auto;border-inline-start:var(--arcgis-coding-components-border);box-sizing:border-box;max-width:var(--arcgis-coding-components-side-panel-max-w);width:var(--arcgis-coding-components-side-panel-w);.submission-actions-wrapper{display:flex;flex-direction:column;width:100%;gap:.75rem}.submission-actions{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.gaps{display:flex;gap:.25rem}.align-inline-end{margin-inline-start:auto}.action .error-display{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between}.context-popover p{padding:0 .5rem;font-size:var(--calcite-font-size-sm)}.feedback-content{padding:1rem;display:flex;flex-direction:column;gap:.75rem;max-height:30vh;overflow-y:auto}.feedback-sheet{--calcite-sheet-height: auto;--calcite-sheet-max-height: 100%;--calcite-sheet-min-height: auto}calcite-chip[slot=header-actions-end]{align-self:center;margin-inline-end:.5rem}calcite-flow-item calcite-shell{background:transparent}calcite-block{width:100%;max-width:100%;align-self:flex-end;background-color:transparent;margin-block:0}calcite-sheet{--calcite-sheet-scrim-background: rgba(200, 200, 200, .5)}.type-suggestion{--calcite-color-foreground-1: var(--calcite-color-foreground-current);--calcite-color-text-3: var(--calcite-color-text-2);--calcite-icon-color: var(--calcite-color-brand)}.type-history{--calcite-icon-color: var(--calcite-color-text-2)}.type-response{--calcite-icon-color: var(--calcite-color-brand);--calcite-font-family: monospace}.block-response{align-self:flex-start;margin-block-end:4rem;border-block-end:0;--calcite-block-text-color: var(--calcite-color-brand)}calcite-list-item calcite-button{margin-inline-end:.25rem}.type-docs{--calcite-color-foreground-1: var(--calcite-color-foreground-3);--calcite-icon-color: var(--calcite-color-text-1)}.type-error{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-font-family: monospace;border:1px solid var(--calcite-color-status-danger)}#thumbs-up{margin-inline-start:auto;--calcite-icon-color: var(--calcite-color-border-input)}#thumbs-down{--calcite-icon-color: var(--calcite-color-border-input)}calcite-flow-item calcite-shell calcite-notice{margin-block:1rem}.no-space-block,.no-space-block[open]{margin:0}calcite-block[open]:last-of-type{border-block-end:0}.text-area-wrapper{display:flex;border-radius:var(--calcite-corner-radius-round);margin:.75rem;overflow:hidden;--calcite-color-border-input: transparent;position:sticky;box-shadow:var(--calcite-shadow-sm);flex:none}calcite-text-area{height:auto;min-height:5.75rem;overflow:hidden;border-radius:var(--calcite-corner-radius-round) var(--calcite-corner-radius-round) 0 0;--calcite-font-weight-normal: 500;font-weight:500;line-height:1.2}calcite-tooltip{--calcite-tooltip-z-index: 1000}.standalone-list{margin:1rem;width:calc(100% - 2rem)}.result-disclaimer{display:block;width:24rem;max-width:90%;margin:1rem auto;text-align:center;line-height:1.125rem;font-size:.875rem;font-style:italic}calcite-flow{height:100%}calcite-popover calcite-list{--calcite-list-background-color: transparent;--calcite-input-border-color: transparent}calcite-popover calcite-list calcite-filter{--calcite-spacing-sm: 0}.break-spaces{white-space:break-spaces}.feedback-button-container{margin-inline-start:auto;gap:0}.info-heading{font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-1)}.unstyled-h3{margin:unset;font-size:var(--calcite-font-size-md)}.unstyled-shell{position:unset;inset:unset;display:unset;block-size:unset;inline-size:unset}.suggestion-button{font-weight:var(--calcite-font-weight-medium)}.info-block{max-width:450px}#result-block{calcite-card-group{--calcite-card-group-gap: 1.25rem}calcite-card{--calcite-card-corner-radius: var(--calcite-corner-radius-round);--calcite-card-border-color: transparent;width:100%}.positioned-code-content{display:flex;flex-direction:row;gap:.5rem;padding:.5rem}calcite-card [slot=title] calcite-chip{margin-block-start:.25rem}.code-response-wrapper{position:relative;background:var(--calcite-color-foreground-2);border-radius:var(--calcite-corner-radius-round);margin-top:-1.5rem}.prior-prompt{display:flex;flex-direction:row;padding:0;overflow-y:hidden;overflow-x:auto;margin:.25rem 0 .75rem;align-items:center;max-width:100%;span{overflow-x:auto;overflow-y:hidden}}.copy-feedback{display:none}.copy-prompt-button{align-self:flex-start;margin-inline-start:auto}.response-secondary-action-button[data-copied]+.copy-feedback,.copy-prompt-button[data-copied]+.copy-feedback{display:block;span{padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text--2);font-weight:var(--calcite-font-weight-medium)}}.copy-prompt-button[data-copied]~.copy-tooltip,.response-secondary-action-button[data-copied]~.copy-tooltip{display:none}code{white-space:pre;font-size:12px;margin:0;overflow-x:auto;font-family:Fira Mono,Consolas,Menlo,monospace;display:block;max-height:12rem;position:relative;padding:.5rem}.code-collapse{margin-inline-start:auto}.response-secondary-action-button{margin-left:.5rem}.add-to-editor-button{--calcite-internal-button-border-color: unset}}.collapsible-code{padding:.5rem}.collapsible-code summary{cursor:pointer;font-weight:500;color:var(--calcite-color-brand);outline:none;padding:.25rem 0}.collapsible-code[open] summary{color:var(--calcite-color-text-2)}.collapsible-error{padding:.5rem}.collapsible-error summary{cursor:pointer;font-weight:500;color:var(--calcite-color-status-danger);outline:none;padding:.25rem 0}.collapsible-error[open] summary{color:var(--calcite-color-text-2)}.response-error-container{padding:.5rem;background:color-mix(in srgb,var(--calcite-color-status-warning) 10%,transparent);border-radius:var(--calcite-corner-radius-round);margin:1rem 0;font-size:var(--calcite-font-size--2);--calcite-input-message-icon-color: var(--calcite-color-status-warning)}.response-error-chip{--calcite-internal-chip-background-color: var(--calcite-color-status-warning);--calcite-chip-icon-color: var(--calcite-color-foreground-1);--calcite-chip-border-color: var(--calcite-color-transparent)}.feedback-actions{gap:unset}}:host([closed]){display:none}`;
22
22
  class y extends Error {
23
23
  constructor({
@@ -39,93 +39,22 @@ type WithCustomPanels = {
39
39
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/coding-components/arcgis-arcade-editor/)
40
40
  */
41
41
  export declare class ArcgisArcadeEditor<T extends WithCustomPanels = object> extends LitElement {
42
- /**
43
- * Options to update on the editor.
44
- * For example:
45
- * ```json
46
- * {
47
- * "fontSize": 18
48
- * }
49
- * ```
50
- *
51
- * 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.
52
- */
53
42
  editorOptions?: Editor.IEditorOptions & Editor.IGlobalEditorOptions;
54
- /**
55
- * If true, it will hide the documentation action in the side panel
56
- *
57
- * @default false
58
- */
59
43
  hideDocumentationActions: boolean;
60
- /**
61
- * If true, it will hide the side actions bar. The editor will be in a minimalistic UX.
62
- *
63
- * @default false
64
- */
65
44
  hideSideBar: boolean;
66
- /**
67
- * The name of the opened side panel. 'none' means 'no panel opened'.
68
- *
69
- * @default "none"
70
- */
71
45
  openedSidePanel: T extends Required<WithCustomPanels> ? SidePanelName : string;
72
- /**
73
- * The profile contains metadata used by the editor for editing context and help.
74
- * Example:
75
- * ```
76
- * {
77
- * bundles: ["core", "dataAccess", "geometry", "portal-access"],
78
- * variables: [
79
- * {
80
- * name: "$feature",
81
- * description: "The feature passed to the script during execution.",
82
- * definition: aFeatureLayerInstance
83
- * }
84
- * ]
85
- * }
86
- * ```
87
- */
88
46
  profile?: IEditorProfileDefinition | IPredefinedProfile;
89
- /**
90
- * The arcade script. Use this property to define or update the script.
91
- *
92
- * @default ""
93
- */
94
47
  script: string;
95
- /**
96
- * If true, the side action bar will be expanded
97
- *
98
- * @default false
99
- */
100
48
  sideActionBarExpanded: boolean;
101
- /** Collection of snippets */
102
49
  snippets?: ApiSnippet[];
103
- /** Collection of suggestions */
104
50
  suggestions?: IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[];
105
- /** Test data used to execute the script in the editor. If undefined the execute script UX will be hidden. */
106
51
  testData?: IEditorTestContext;
107
- /**
108
- * Custom panels to be displayed in the side panel.
109
- * Will be placed below the default panels but above the help panel.
110
- *
111
- * @internal
112
- */
113
52
  customPanels?: ICustomPanel[];
114
- /**
115
- * enables and configures the arcade assistant
116
- *
117
- * @internal
118
- */
119
53
  arcadeAssistant?: ArcadeAssistantConfig;
120
- /** @deprecated **Deprecated** since 4.30. Use `script` property instead. */
121
54
  getScript(): Promise<string | undefined>;
122
- /** Returns the Arcade result for the script for the provided test data. */
123
55
  getTestResult(): Promise<ArcadeResult>;
124
- /** Set the focus on the element. */
125
56
  setFocus(): Promise<void>;
126
- /** Emitted when the diagnostics collection has changed. */
127
57
  readonly arcgisDiagnosticsChange: TargetedEvent<this, Diagnostic[]>;
128
- /** Emitted when the script string has changed. */
129
58
  readonly arcgisScriptChange: TargetedEvent<this, string>;
130
59
  }
131
60
  export {};
@@ -17,7 +17,7 @@ import { s as F } from "../../chunks/editor.js";
17
17
  import U from "@arcgis/core/identity/IdentityManager.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
20
- v4.34.0-next.128 */
20
+ v4.34.0-next.129 */
21
21
  const j = E`@layer{arcgis-arcade-editor{display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--arcgis-coding-components-border)!important;box-sizing:border-box;background-color:var(--arcgis-coding-components-background-color);height:100%;.sticky{position:sticky;top:0;z-index:10}.notice-container{margin:var(--calcite-spacing-xxs);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);text-align:center}.main-action-bar{border-bottom:var(--arcgis-coding-components-border)!important;flex:0 0 auto;calcite-action-group{padding-inline-end:var(--calcite-spacing-sm);calcite-action{padding-inline-end:var(--calcite-spacing-sm)}calcite-action:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}calcite-action-group:last-child{border-inline-end-width:0px}calcite-action-group:not(:first-child){padding-inline-start:var(--calcite-spacing-sm)}}arcgis-arcade-results{border-top:var(--arcgis-coding-components-border)!important;box-sizing:border-box;max-height:50%;min-height:50%;margin-bottom:-1px}calcite-flow{[slot=footer]{word-break:break-word}}.hidden{display:none}}}`, z = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", N = (i) => {
22
22
  const { aiAssistantsEnabled: e } = i;
23
23
  return e === void 0 ? (console.warn("areAiAssistantsEnabled is not defined in the organizations settings."), !1) : e;
@@ -5,24 +5,10 @@ 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 */
9
8
  consoleLogs?: string[];
10
- /**
11
- * Loading state
12
- *
13
- * @default false
14
- */
15
9
  loading?: boolean;
16
- /**
17
- * The result panel displayed
18
- *
19
- * @default "output"
20
- */
21
10
  openedResultPanel: ResultPanelName;
22
- /** The results from the execution of an Arcade expression */
23
11
  result?: ArcadeResult;
24
- /** Raise when the clode action has been activated */
25
12
  readonly arcgisClose: TargetedEvent<this, void>;
26
- /** Raised when the opened result panel has changed */
27
13
  readonly arcgisOpenedResultPanelChange: TargetedEvent<this, ResultPanelName>;
28
14
  }
@@ -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.128 */
11
+ v4.34.0-next.129 */
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,16 +5,8 @@ import { IEditorCodeSuggestion, IEditorCodeSuggestionGroup } from '../../utils/e
5
5
 
6
6
  /** @private */
7
7
  export declare class ArcgisArcadeSuggestions extends LitElement {
8
- /** The collection of suggestions */
9
8
  suggestions?: IEditorCodeSuggestion[] | IEditorCodeSuggestionGroup[];
10
- /**
11
- * When true, the component will be hidden.
12
- *
13
- * @default false
14
- */
15
9
  closed?: boolean | undefined;
16
- /** Raised when close action has been activated */
17
10
  readonly arcgisClose: TargetedEvent<this, void>;
18
- /** Raised when an item has been selected */
19
11
  readonly arcgisItemSelected: TargetedEvent<this, string>;
20
12
  }
@@ -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.128 */
11
+ v4.34.0-next.129 */
12
12
  function v(o) {
13
13
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
14
14
  }
@@ -9,72 +9,19 @@ 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
- */
17
12
  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
- */
29
13
  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
- */
34
14
  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
- */
41
15
  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
- */
48
16
  value: string;
49
- /** @deprecated **Deprecated** since 4.30. Use `value` property instead. */
50
17
  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
- */
57
18
  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
- */
64
19
  insertText(text: string | null | undefined): Promise<void>;
65
- /**
66
- * Sets the focus on the editor.
67
- *
68
- * @returns
69
- */
70
20
  setFocus(): Promise<void>;
71
- /** @deprecated **Deprecated** since 4.30. Use `value` property instead. */
72
21
  setValue(text: string | null | undefined): Promise<void>;
73
- /** Emitted when the selection has changed. */
74
22
  readonly arcgisSelectionChange: TargetedEvent<this, {
75
23
  selection: Selection;
76
24
  model: Editor.ITextModel | null | undefined;
77
25
  }>;
78
- /** Emitted when the value has changed (script, code, css, json, etc.) */
79
26
  readonly arcgisValueChange: TargetedEvent<this, string>;
80
27
  }
@@ -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.128 */
14
+ v4.34.0-next.129 */
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,30 +7,11 @@ 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
- */
15
10
  loading: boolean;
16
- /** The model id */
17
11
  modelId?: string;
18
- /**
19
- * When true, the component will be hidden.
20
- *
21
- * @default false
22
- */
23
12
  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
- */
30
13
  variable?: EditorProfile | FeatureSetVariable;
31
- /** Raised when close action has been activated */
32
14
  readonly arcgisClose: TargetedEvent<this, void>;
33
- /** Raised when an item has been selected */
34
15
  readonly arcgisItemSelected: TargetedEvent<this, string>;
35
16
  }
36
17
  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.128 */
10
+ v4.34.0-next.129 */
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,34 +5,11 @@ 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
- */
13
8
  languageId: string;
14
- /** The api library to display */
15
9
  apiLibrary?: ApiCategory[];
16
- /**
17
- * Should the documentation action be hidden
18
- *
19
- * @default false
20
- */
21
10
  hideDocumentationActions: boolean;
22
- /**
23
- * When true, a busy indicator is displayed
24
- *
25
- * @default false
26
- */
27
11
  loading: boolean;
28
- /**
29
- * When true, the component will be hidden.
30
- *
31
- * @default false
32
- */
33
12
  closed?: boolean | undefined;
34
- /** Raised when the close action has been requested */
35
13
  readonly arcgisClose: TargetedEvent<this, void>;
36
- /** Raised when an item has been selected */
37
14
  readonly arcgisItemSelected: TargetedEvent<this, string>;
38
15
  }
@@ -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.128 */
13
+ v4.34.0-next.129 */
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,37 +16,9 @@ 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
- */
27
19
  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
- */
37
20
  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
- */
47
21
  hideSideBar: boolean;
48
- /** Emitted when the diagnostics collection has changed. */
49
22
  readonly arcgisDiagnosticsChange: TargetedEvent<this, editor.IMarkerData[]>;
50
- /** Emitted when the script string has changed. */
51
23
  readonly arcgisScriptChange: TargetedEvent<this, string>;
52
24
  }
@@ -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.128 */
12
+ v4.34.0-next.129 */
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,16 +4,8 @@ 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
- */
12
7
  loading: boolean;
13
- /** The model id */
14
8
  modelId?: string;
15
- /** Emitted when close action has been activated */
16
9
  readonly arcgisClose: TargetedEvent<this, void>;
17
- /** Emitted when a field has been selected */
18
10
  readonly arcgisFieldSelected: TargetedEvent<this, string>;
19
11
  }
@@ -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.128 */
9
+ v4.34.0-next.129 */
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-11T04:40:32",
2
+ "timestamp": "2025-09-12T04:40:31",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.128",
5
+ "version": "4.34.0-next.129",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-09-11T04:40:32",
2
+ "timestamp": "2025-09-12T04:40:31",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.34.0-next.128",
5
+ "version": "4.34.0-next.129",
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.128",
4
+ "version": "4.34.0-next.129",
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.128 */
6
+ v4.34.0-next.129 */
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.128 */
5
+ v4.34.0-next.129 */
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.128 */
3
+ v4.34.0-next.129 */
4
4
  const A = `/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)