@arcgis/coding-components 4.33.0-next.52 → 4.33.0-next.53

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 (110) hide show
  1. package/dist/arcgis-coding-components/{ZYC7QZPN.js → 3HFMFQZV.js} +2 -2
  2. package/dist/arcgis-coding-components/{TEN52F57.js → 3V5QVN4Y.js} +2 -2
  3. package/dist/arcgis-coding-components/{DY5ZKIC4.js.LEGAL.txt → 3V5QVN4Y.js.LEGAL.txt} +1 -1
  4. package/dist/arcgis-coding-components/{WQHHFYO3.js → 64RQN3S3.js} +1 -1
  5. package/dist/arcgis-coding-components/{UBXG6U75.js → 6DQ6JOGQ.js} +2 -2
  6. package/dist/arcgis-coding-components/{FS4MFFPQ.js.LEGAL.txt → 6DQ6JOGQ.js.LEGAL.txt} +1 -1
  7. package/dist/arcgis-coding-components/{DY5ZKIC4.js → 6LEB2UHR.js} +2 -2
  8. package/dist/arcgis-coding-components/{GGTD2U4X.js.LEGAL.txt → 6LEB2UHR.js.LEGAL.txt} +1 -1
  9. package/dist/arcgis-coding-components/{QASVFDJU.js → 7FVJS5P4.js} +2 -2
  10. package/dist/arcgis-coding-components/{XV3QVOIF.js → 7QU6JXL3.js} +2 -2
  11. package/dist/arcgis-coding-components/{QBOZDYVQ.js → C756WLLJ.js} +2 -2
  12. package/dist/arcgis-coding-components/{JWABTTVK.js → C7R3YECV.js} +2 -2
  13. package/dist/arcgis-coding-components/{HMMKBOSN.js.LEGAL.txt → C7R3YECV.js.LEGAL.txt} +1 -1
  14. package/dist/arcgis-coding-components/{7B5ZYZPR.js → CGOJPEAN.js} +1 -1
  15. package/dist/arcgis-coding-components/{NXOWE7GT.js → CZU5OTK5.js} +2 -2
  16. package/dist/arcgis-coding-components/CZU5OTK5.js.LEGAL.txt +3 -0
  17. package/dist/arcgis-coding-components/{OMHS5F2U.js → DSCK73AM.js} +2 -2
  18. package/dist/arcgis-coding-components/DSCK73AM.js.LEGAL.txt +3 -0
  19. package/dist/arcgis-coding-components/{FS4MFFPQ.js → FR4HXIOE.js} +2 -2
  20. package/dist/arcgis-coding-components/FR4HXIOE.js.LEGAL.txt +3 -0
  21. package/dist/arcgis-coding-components/{VNAKY62L.js → HLG2RPBH.js} +2 -2
  22. package/dist/arcgis-coding-components/HLG2RPBH.js.LEGAL.txt +3 -0
  23. package/dist/arcgis-coding-components/{K5AOII7B.js → IOH47GR4.js} +2 -2
  24. package/dist/arcgis-coding-components/IOH47GR4.js.LEGAL.txt +3 -0
  25. package/dist/arcgis-coding-components/{EP3AXAHL.js → JCDPYG7E.js} +2 -2
  26. package/dist/arcgis-coding-components/{EP3AXAHL.js.LEGAL.txt → JCDPYG7E.js.LEGAL.txt} +1 -1
  27. package/dist/arcgis-coding-components/{WFAJ5QK5.js → K7FTHRGZ.js} +2 -2
  28. package/dist/arcgis-coding-components/K7FTHRGZ.js.LEGAL.txt +3 -0
  29. package/dist/arcgis-coding-components/{HMMKBOSN.js → KBLKKE6R.js} +2 -2
  30. package/dist/arcgis-coding-components/KBLKKE6R.js.LEGAL.txt +3 -0
  31. package/dist/arcgis-coding-components/{UC3QP72O.js → LZMM7LZY.js} +2 -2
  32. package/dist/arcgis-coding-components/{PYC3UQL2.js → M6TUO7KC.js} +2 -2
  33. package/dist/arcgis-coding-components/{IY5J37EP.js → MB6MRJQL.js} +2 -2
  34. package/dist/arcgis-coding-components/{IY5J37EP.js.LEGAL.txt → MB6MRJQL.js.LEGAL.txt} +1 -1
  35. package/dist/arcgis-coding-components/{HSCAYTOV.js → NJMTQE3T.js} +2 -2
  36. package/dist/arcgis-coding-components/NJMTQE3T.js.LEGAL.txt +3 -0
  37. package/dist/arcgis-coding-components/{TXY6SR7V.js → NVBGCFNN.js} +2 -2
  38. package/dist/arcgis-coding-components/{GKKM5THG.js → NZUZXABI.js} +2 -2
  39. package/dist/arcgis-coding-components/{55J6DFWM.js → OU3BO4LQ.js} +1 -1
  40. package/dist/arcgis-coding-components/{SL3ZV6BQ.js → QB6EHWBU.js} +3 -3
  41. package/dist/arcgis-coding-components/{SL3ZV6BQ.js.LEGAL.txt → QB6EHWBU.js.LEGAL.txt} +1 -1
  42. package/dist/arcgis-coding-components/{UQE2BXLQ.js → QJ45PEZE.js} +1 -1
  43. package/dist/arcgis-coding-components/QJ45PEZE.js.LEGAL.txt +3 -0
  44. package/dist/arcgis-coding-components/{6CV7AIR4.js → TCTRYTYD.js} +2 -2
  45. package/dist/arcgis-coding-components/{FLIKG75F.js → WPGW4SM3.js} +2 -2
  46. package/dist/arcgis-coding-components/{RTFH5W6J.js → XOMYEZV6.js} +2 -2
  47. package/dist/arcgis-coding-components/{GGTD2U4X.js → XYNFXIQ5.js} +2 -2
  48. package/dist/arcgis-coding-components/XYNFXIQ5.js.LEGAL.txt +3 -0
  49. package/dist/arcgis-coding-components/{S7XKHBXX.js → Y2VZ74G2.js} +2 -2
  50. package/dist/arcgis-coding-components/{SBZILFMC.js → Y4OXWC3I.js} +2 -2
  51. package/dist/arcgis-coding-components/{RYWS7VJJ.js → ZCOICEJO.js} +2 -2
  52. package/dist/arcgis-coding-components/ZCOICEJO.js.LEGAL.txt +3 -0
  53. package/dist/arcgis-coding-components/{RMF4SXP4.js → ZP4PLMAW.js} +2 -2
  54. package/dist/arcgis-coding-components/ZP4PLMAW.js.LEGAL.txt +3 -0
  55. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  56. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
  57. package/dist/chunks/arcade-defaults.js +1 -1
  58. package/dist/chunks/arcade-executor.js +1 -1
  59. package/dist/chunks/arcade-mode.js +1 -1
  60. package/dist/chunks/arcade-service-accessors.js +1 -1
  61. package/dist/chunks/fields.js +1 -1
  62. package/dist/chunks/language-defaults-base.js +1 -1
  63. package/dist/chunks/markdown.js +1 -1
  64. package/dist/chunks/monaco-importer.js +1 -1
  65. package/dist/chunks/runtime.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/useT9n.js +1 -1
  69. package/dist/components/arcgis-arcade-editor/customElement.js +11 -11
  70. package/dist/components/arcgis-arcade-results/customElement.js +5 -5
  71. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  72. package/dist/components/arcgis-code-editor/customElement.js +9 -9
  73. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  74. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  75. package/dist/components/arcgis-sql-expression-editor/customElement.js +7 -7
  76. package/dist/components/arcgis-sql-expression-fields/customElement.js +7 -7
  77. package/dist/docs/api.json +2 -2
  78. package/dist/docs/docs.json +2 -2
  79. package/dist/docs/web-types.json +1 -1
  80. package/dist/index.js +1 -1
  81. package/dist/loader.js +1 -1
  82. package/package.json +7 -7
  83. package/dist/arcgis-coding-components/HSCAYTOV.js.LEGAL.txt +0 -3
  84. package/dist/arcgis-coding-components/JWABTTVK.js.LEGAL.txt +0 -3
  85. package/dist/arcgis-coding-components/K5AOII7B.js.LEGAL.txt +0 -3
  86. package/dist/arcgis-coding-components/NXOWE7GT.js.LEGAL.txt +0 -3
  87. package/dist/arcgis-coding-components/OMHS5F2U.js.LEGAL.txt +0 -3
  88. package/dist/arcgis-coding-components/RMF4SXP4.js.LEGAL.txt +0 -3
  89. package/dist/arcgis-coding-components/RYWS7VJJ.js.LEGAL.txt +0 -3
  90. package/dist/arcgis-coding-components/TEN52F57.js.LEGAL.txt +0 -3
  91. package/dist/arcgis-coding-components/UBXG6U75.js.LEGAL.txt +0 -3
  92. package/dist/arcgis-coding-components/UQE2BXLQ.js.LEGAL.txt +0 -3
  93. package/dist/arcgis-coding-components/VNAKY62L.js.LEGAL.txt +0 -3
  94. package/dist/arcgis-coding-components/WFAJ5QK5.js.LEGAL.txt +0 -3
  95. /package/dist/arcgis-coding-components/{ZYC7QZPN.js.LEGAL.txt → 3HFMFQZV.js.LEGAL.txt} +0 -0
  96. /package/dist/arcgis-coding-components/{55J6DFWM.js.LEGAL.txt → 64RQN3S3.js.LEGAL.txt} +0 -0
  97. /package/dist/arcgis-coding-components/{QASVFDJU.js.LEGAL.txt → 7FVJS5P4.js.LEGAL.txt} +0 -0
  98. /package/dist/arcgis-coding-components/{XV3QVOIF.js.LEGAL.txt → 7QU6JXL3.js.LEGAL.txt} +0 -0
  99. /package/dist/arcgis-coding-components/{QBOZDYVQ.js.LEGAL.txt → C756WLLJ.js.LEGAL.txt} +0 -0
  100. /package/dist/arcgis-coding-components/{7B5ZYZPR.js.LEGAL.txt → CGOJPEAN.js.LEGAL.txt} +0 -0
  101. /package/dist/arcgis-coding-components/{UC3QP72O.js.LEGAL.txt → LZMM7LZY.js.LEGAL.txt} +0 -0
  102. /package/dist/arcgis-coding-components/{PYC3UQL2.js.LEGAL.txt → M6TUO7KC.js.LEGAL.txt} +0 -0
  103. /package/dist/arcgis-coding-components/{TXY6SR7V.js.LEGAL.txt → NVBGCFNN.js.LEGAL.txt} +0 -0
  104. /package/dist/arcgis-coding-components/{FLIKG75F.js.LEGAL.txt → NZUZXABI.js.LEGAL.txt} +0 -0
  105. /package/dist/arcgis-coding-components/{GKKM5THG.js.LEGAL.txt → OU3BO4LQ.js.LEGAL.txt} +0 -0
  106. /package/dist/arcgis-coding-components/{6CV7AIR4.js.LEGAL.txt → TCTRYTYD.js.LEGAL.txt} +0 -0
  107. /package/dist/arcgis-coding-components/{WQHHFYO3.js.LEGAL.txt → WPGW4SM3.js.LEGAL.txt} +0 -0
  108. /package/dist/arcgis-coding-components/{RTFH5W6J.js.LEGAL.txt → XOMYEZV6.js.LEGAL.txt} +0 -0
  109. /package/dist/arcgis-coding-components/{S7XKHBXX.js.LEGAL.txt → Y2VZ74G2.js.LEGAL.txt} +0 -0
  110. /package/dist/arcgis-coding-components/{SBZILFMC.js.LEGAL.txt → Y4OXWC3I.js.LEGAL.txt} +0 -0
@@ -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.52 */
3
+ v4.33.0-next.53 */
4
4
  function t(e) {
5
5
  switch (e.type) {
6
6
  case "oid":
@@ -8,7 +8,7 @@ import { filterApiLibraryForContext as le } from "@arcgis/languages-api-utils";
8
8
  import { Emitter as x, Uri as $ } from "monaco-editor";
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.52 */
11
+ v4.33.0-next.53 */
12
12
  function W(t) {
13
13
  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";
14
14
  }
@@ -4,7 +4,7 @@ import { IStandaloneThemeService as G } from "monaco-editor/esm/vs/editor/standa
4
4
  import { generateTokensCSSForColorMap as te } from "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
7
- v4.33.0-next.52 */
7
+ v4.33.0-next.53 */
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.js";
5
5
  import "monaco-editor/esm/vs/editor/common/languages/supports/tokenization.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
8
- v4.33.0-next.52 */
8
+ v4.33.0-next.53 */
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.52 */
4
+ v4.33.0-next.53 */
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.52 */
7
+ v4.33.0-next.53 */
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.52 */
10
+ v4.33.0-next.53 */
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.52 */
5
+ v4.33.0-next.53 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -14,7 +14,7 @@ import { createRef as S, 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.52 */
17
+ v4.33.0-next.53 */
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>");
@@ -38,8 +38,8 @@ class C extends m {
38
38
  static {
39
39
  this.styles = D;
40
40
  }
41
- // #endregion
42
- // #region Public Properties
41
+ //#endregion
42
+ //#region Public Properties
43
43
  /**
44
44
  * The instance of the Monaco Editor after the component has been rendered.
45
45
  * To determine when a component is rendered, you can use componentOnReady() method.
@@ -51,8 +51,8 @@ class C extends m {
51
51
  get editorInstance() {
52
52
  return this._codeEditorElt.value?.editorInstance;
53
53
  }
54
- // #endregion
55
- // #region Public Methods
54
+ //#endregion
55
+ //#region Public Methods
56
56
  /**
57
57
  * @private
58
58
  * @deprecated Use `editorInstance` property instead.
@@ -79,8 +79,8 @@ class C extends m {
79
79
  async setFocus() {
80
80
  await this._componentReadyDefer.promise, await this._codeEditorElt.value?.setFocus();
81
81
  }
82
- // #endregion
83
- // #region Lifecycle
82
+ //#endregion
83
+ //#region Lifecycle
84
84
  async load() {
85
85
  const e = u("./assets");
86
86
  P(e), await this._updateEditorProfile();
@@ -100,8 +100,8 @@ class C extends m {
100
100
  for (super.disconnectedCallback(); this._disposables.length; )
101
101
  this._disposables.pop()?.dispose();
102
102
  }
103
- // #endregion
104
- // #region Private Methods
103
+ //#endregion
104
+ //#region Private Methods
105
105
  async _updateDataModelDeps() {
106
106
  await this._updateEditorProfile(), await this._updateApiLibrary();
107
107
  }
@@ -181,8 +181,8 @@ class C extends m {
181
181
  const i = this._disposables.indexOf(e);
182
182
  i !== -1 && this._disposables.splice(i, 1), e.dispose();
183
183
  }
184
- // #endregion
185
- // #region Rendering
184
+ //#endregion
185
+ //#region Rendering
186
186
  renderMainActionBar() {
187
187
  return this.testData ? t`<calcite-action-bar class="main-action-bar" layout=horizontal scale=s expanded expand-disabled><calcite-action-group scale=s><calcite-action .text=${this.messages.run ?? ""} text-enabled icon=play scale=s .loading=${this._preparingArcade} @click=${() => void this._executeScript().catch(console.error)}></calcite-action>${this._executionResult ? t`<calcite-action .text=${this.messages.lastresults ?? ""} .active=${this._showExecutionPanel} text-enabled icon=access-string-results icon-flip-rtl scale=s @click=${this._toggleShowExecutionPanel}></calcite-action>` : null}</calcite-action-group></calcite-action-bar>` : null;
188
188
  }
@@ -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.52 */
11
+ v4.33.0-next.53 */
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",
@@ -71,8 +71,8 @@ class L extends w {
71
71
  static {
72
72
  this.styles = A;
73
73
  }
74
- // #endregion
75
- // #region Private Methods
74
+ //#endregion
75
+ //#region Private Methods
76
76
  updateResultPanel(t) {
77
77
  this.openedResultPanel = t, this.arcgisOpenedResultPanelChange.emit(t);
78
78
  }
@@ -85,8 +85,8 @@ class L extends w {
85
85
  _emitClose() {
86
86
  this.arcgisClose.emit();
87
87
  }
88
- // #endregion
89
- // #region Rendering
88
+ //#endregion
89
+ //#region Rendering
90
90
  renderConsolePanel() {
91
91
  return this.openedResultPanel !== "console" ? null : this.loading && !this.consoleLogs?.length ? e`<calcite-loader scale=s type=indeterminate label></calcite-loader>` : e`<div class="console-logs-container ltr-container">${this.consoleLogs?.length ? this.consoleLogs.map((t) => e`<p>${t}</p>`) : e`<p>${this.messages.consolemessage}</p>`}</div>`;
92
92
  }
@@ -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.52 */
12
+ v4.33.0-next.53 */
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.52 */
16
+ v4.33.0-next.53 */
17
17
  c.register({
18
18
  id: n.languageId,
19
19
  aliases: ["Arcade", "arcade"],
@@ -122,8 +122,8 @@ class z extends h {
122
122
  static {
123
123
  this.styles = [U];
124
124
  }
125
- // #endregion
126
- // #region Public Properties
125
+ //#endregion
126
+ //#region Public Properties
127
127
  /**
128
128
  * The instance of the Monaco Editor after the component has been rendered.
129
129
  * To determine when a component is rendered, you can use componentOnReady() method.
@@ -134,8 +134,8 @@ class z extends h {
134
134
  get editorInstance() {
135
135
  return this._editorInstance;
136
136
  }
137
- // #endregion
138
- // #region Public Methods
137
+ //#endregion
138
+ //#region Public Methods
139
139
  /**
140
140
  * @private
141
141
  * @deprecated Use `editorInstance` property instead.
@@ -182,8 +182,8 @@ class z extends h {
182
182
  async setValue(A) {
183
183
  await this._componentReadyDefer.promise, this.value = A ?? "";
184
184
  }
185
- // #endregion
186
- // #region Lifecycle
185
+ //#endregion
186
+ //#region Lifecycle
187
187
  load() {
188
188
  p(B("./assets"));
189
189
  }
@@ -209,8 +209,8 @@ class z extends h {
209
209
  this._disposables.pop()?.dispose();
210
210
  this._themeObserver?.();
211
211
  }
212
- // #endregion
213
- // #region Private Methods
212
+ //#endregion
213
+ //#region Private Methods
214
214
  _updateModelValue() {
215
215
  if (!this._editorInstance)
216
216
  return;
@@ -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.52 */
10
+ v4.33.0-next.53 */
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.52 */
12
+ v4.33.0-next.53 */
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() {
@@ -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.52 */
11
+ v4.33.0-next.53 */
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() {
@@ -23,16 +23,16 @@ class f extends s {
23
23
  static {
24
24
  this.styles = g;
25
25
  }
26
- // #endregion
27
- // #region Lifecycle
26
+ //#endregion
27
+ //#region Lifecycle
28
28
  async load() {
29
29
  await this._updateEditorProfile().catch(console.error);
30
30
  }
31
31
  willUpdate(e) {
32
32
  (e.has("messages") || e.has("profile")) && this._updateDataModelDeps();
33
33
  }
34
- // #endregion
35
- // #region Private Methods
34
+ //#endregion
35
+ //#region Private Methods
36
36
  async _updateDataModelDeps() {
37
37
  await this._updateEditorProfile(), await this._updateApiLibrary();
38
38
  }
@@ -81,8 +81,8 @@ class f extends s {
81
81
  _toggleSideActionBarExpanded() {
82
82
  this.sideActionBarExpanded = !this.sideActionBarExpanded;
83
83
  }
84
- // #endregion
85
- // #region Rendering
84
+ //#endregion
85
+ //#region Rendering
86
86
  render() {
87
87
  const e = this._getFeatureSetVariable();
88
88
  return i`<div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><arcgis-code-editor language=arcgis-sql-expression .modelId=${this._modelId} .value=${this.script ?? ""} @arcgisValueChange=${this._onCodeEditorValueChange} ${p(this._codeEditorElt)}></arcgis-code-editor></div>${this._activeAction === "fields" && !this.hideSideBar && i`<arcgis-editor-variables .variable=${e} class="side-panel flex-panel border-inline-start" .loading=${this._preparing} .modelId=${this._modelId} @arcgisItemSelected=${this._insertAsText} @arcgisClose=${() => this._setActiveAction(void 0)} data-panel-name=none></arcgis-editor-variables>` || ""}${this._activeAction === "functions" && !this.hideSideBar && i`<arcgis-language-api-panel class="side-panel flex-panel border-inline-start" @arcgisItemSelected=${this._insertAsSnippet} @arcgisClose=${() => this._setActiveAction(void 0)} .loading=${this._preparing} .apiLibrary=${this._apiLibrary} data-panel-name=none hide-documentation-actions></arcgis-language-api-panel>` || ""}${!this.hideSideBar && i`<calcite-action-bar class="side-action-bar border-inline-start" .expanded=${this.sideActionBarExpanded} position=end @calciteActionBarToggle=${this._toggleSideActionBarExpanded}><calcite-action id=fields-action .text=${this.messages.fields ?? "Fields"} icon=profile-variables .active=${this._activeAction === "fields"} data-panel-name=fields @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded && i`<calcite-tooltip reference-element=fields-action><span>${this.messages.fields ?? "Fields"}</span></calcite-tooltip>` || ""}<calcite-action id=functions-action .text=${this.messages.functions ?? "Functions"} icon=function .active=${this._activeAction === "functions"} data-panel-name=functions @click=${this._handleActionClick}></calcite-action>${!this.sideActionBarExpanded && i`<calcite-tooltip reference-element=functions-action><span>${this.messages.functions ?? "Functions"}</span></calcite-tooltip>` || ""}</calcite-action-bar>` || ""}</div>`;
@@ -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.52 */
10
+ v4.33.0-next.53 */
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() {
@@ -19,16 +19,16 @@ class f extends r {
19
19
  static {
20
20
  this.styles = h;
21
21
  }
22
- // #endregion
23
- // #region Lifecycle
22
+ //#endregion
23
+ //#region Lifecycle
24
24
  willUpdate(t) {
25
25
  t.has("modelId") && (this._flowItemRenderers = []);
26
26
  }
27
27
  disconnectedCallback() {
28
28
  super.disconnectedCallback(), this._flowObserver?.disconnect();
29
29
  }
30
- // #endregion
31
- // #region Private Methods
30
+ //#endregion
31
+ //#region Private Methods
32
32
  _handleSelectField(t) {
33
33
  if (t.target instanceof HTMLElement)
34
34
  switch (t.target.tagName.toLowerCase()) {
@@ -49,8 +49,8 @@ class f extends r {
49
49
  _emitClose() {
50
50
  this.arcgisClose.emit();
51
51
  }
52
- // #endregion
53
- // #region Rendering
52
+ //#endregion
53
+ //#region Rendering
54
54
  render() {
55
55
  const t = n.getFeatureLayerForModel(this.modelId ?? "");
56
56
  return this.loading || !this.modelId || !t ? i`<calcite-block .heading=${this.messages.availablefields ?? ""}></calcite-block>` : i`<calcite-flow><calcite-flow-item .heading=${this.messages.availablefields ?? ""} closable @calciteFlowItemClose=${this._emitClose}><calcite-list label=fields filter-enabled>${a(t.fields, (e) => e.name, (e) => i`<calcite-list-item @click=${this._handleSelectField} .label=${e.name} .description=${e.alias ?? ""} .value=${e.name}>${e.domain && i`<calcite-action slot=actions-end text=open icon=chevron-right @click=${() => {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-03-21T05:02:28",
2
+ "timestamp": "2025-03-21T18:24:06",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.33.0-next.52",
5
+ "version": "4.33.0-next.53",
6
6
  "typescriptVersion": "5.6.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-03-21T05:02:28",
2
+ "timestamp": "2025-03-21T18:24:06",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "4.33.0-next.52",
5
+ "version": "4.33.0-next.53",
6
6
  "typescriptVersion": "5.6.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.33.0-next.52",
4
+ "version": "4.33.0-next.53",
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.33/esri/copyright.txt for details.
6
- v4.33.0-next.52 */
6
+ v4.33.0-next.53 */
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.52 */
5
+ v4.33.0-next.53 */
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.52",
3
+ "version": "4.33.0-next.53",
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.52",
41
- "@arcgis/components-controllers": "4.33.0-next.52",
42
- "@arcgis/components-utils": "4.33.0-next.52",
43
- "@arcgis/core-adapter": "4.33.0-next.52",
44
- "@arcgis/languages-api-utils": "4.33.0-next.52",
45
- "@arcgis/lumina": "4.33.0-next.52",
40
+ "@arcgis/arcade-languageservice": "4.33.0-next.53",
41
+ "@arcgis/components-controllers": "4.33.0-next.53",
42
+ "@arcgis/components-utils": "4.33.0-next.53",
43
+ "@arcgis/core-adapter": "4.33.0-next.53",
44
+ "@arcgis/languages-api-utils": "4.33.0-next.53",
45
+ "@arcgis/lumina": "4.33.0-next.53",
46
46
  "monaco-editor": "^0.52.0",
47
47
  "tslib": "^2.7.0",
48
48
  "vscode-languageserver-types": "^3.17.5"
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.52 */