@arcgis/coding-components 5.0.0-next.31 → 5.0.0-next.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{N3LFG5GO.js → 27ZOI5SV.js} +2 -2
  3. package/dist/cdn/{KHJCCZNR.js → 3QOBP3KO.js} +2 -2
  4. package/dist/cdn/{GM5IVECQ.js → 3W2IYFWT.js} +2 -2
  5. package/dist/cdn/{AOV77NWW.js → 4BNDCF42.js} +2 -2
  6. package/dist/cdn/{TCC7ZH6R.js → 4NH2Z32O.js} +2 -2
  7. package/dist/cdn/{XZPCAUAF.js → 5CTTHO3I.js} +2 -2
  8. package/dist/cdn/{UF4U2TSM.js → 5MWTVHBI.js} +2 -2
  9. package/dist/cdn/{ZXNOGKU4.js → 5WJ4AH3E.js} +2 -2
  10. package/dist/cdn/{RDZCW745.js → 5YDWKBDK.js} +2 -2
  11. package/dist/cdn/{XU3QIFIP.js → 6MMGDMFG.js} +2 -2
  12. package/dist/cdn/{ZG2IYIWO.js → 7MOLNVOF.js} +2 -2
  13. package/dist/cdn/{KSP34VD2.js → 7T2VZ4DK.js} +4 -4
  14. package/dist/cdn/ADDZDZT6.js +4 -0
  15. package/dist/cdn/{SHPGOANL.js → AI2AL3KA.js} +2 -2
  16. package/dist/cdn/{N2377UMZ.js → AXICGO24.js} +2 -2
  17. package/dist/cdn/{JQ2OMOYR.js → BJHB7JK2.js} +2 -2
  18. package/dist/cdn/{ED2C6JIF.js → BK2UBFAV.js} +2 -2
  19. package/dist/cdn/{IRE4ZBLF.js → CLWS47VM.js} +2 -2
  20. package/dist/cdn/{MWDBJUII.js → DLFUFIRO.js} +2 -2
  21. package/dist/cdn/{OHLUPBXQ.js → DQIGOEXM.js} +2 -2
  22. package/dist/cdn/{LKWIHM7J.js → FXRXNF5M.js} +2 -2
  23. package/dist/cdn/{I25MCPON.js → HUBGZLZZ.js} +1 -1
  24. package/dist/cdn/{C7WT7EIL.js → HUEA2DR3.js} +2 -2
  25. package/dist/cdn/{42HTQB7F.js → KAXFKPV7.js} +2 -2
  26. package/dist/cdn/{WQ5A2OOY.js → KPHRBI5A.js} +2 -2
  27. package/dist/cdn/{Q4ETUAIO.js → L3C67RMQ.js} +2 -2
  28. package/dist/cdn/M5DFKWDZ.js +6 -0
  29. package/dist/cdn/{7IIVSCP5.js → NGDE4SMG.js} +2 -2
  30. package/dist/cdn/{F75NAMED.js → O4PMRLRQ.js} +2 -2
  31. package/dist/cdn/{DNTY3TDJ.js → Q7FR5R23.js} +1 -1
  32. package/dist/cdn/{4XFVUCDY.js → RLCWKMXQ.js} +2 -2
  33. package/dist/cdn/{FVITYNFU.js → RXDUX7QQ.js} +2 -2
  34. package/dist/cdn/{AEVXJQMU.js → SH2PIYJX.js} +2 -2
  35. package/dist/cdn/{DDMTQT5V.js → TDLNNB2I.js} +1 -1
  36. package/dist/cdn/{YIG3EEAU.js → UB4MVZZE.js} +2 -2
  37. package/dist/cdn/{MQH6NNTT.js → V45HEW26.js} +1 -1
  38. package/dist/cdn/{Z4C6Q2J5.js → VANV6N6L.js} +2 -2
  39. package/dist/cdn/{PMJB2B2I.js → VKTW5XXP.js} +1 -1
  40. package/dist/cdn/{3ZJ3BCCH.js → VL5DAOYP.js} +1 -1
  41. package/dist/cdn/{KBHMPWE4.js → VQ2KPXV2.js} +2 -2
  42. package/dist/cdn/{VWIW27NS.js → WF3XXH77.js} +2 -2
  43. package/dist/cdn/{HXGTTBM3.js → WFLEQU6J.js} +2 -2
  44. package/dist/cdn/{WHI4JB5Y.js → Y3VFWJSQ.js} +2 -2
  45. package/dist/cdn/{VTIAKLDK.js → YPY43YYP.js} +1 -1
  46. package/dist/cdn/assets/code-editor/sql-expr.worker.js +34 -34
  47. package/dist/cdn/index.js +2 -2
  48. package/dist/chunks/arcade-defaults.js +1 -1
  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 +1 -1
  54. package/dist/chunks/language-defaults-base.js +1 -1
  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.js +90 -89
  65. package/dist/components/arcgis-arcade-coding-assistant/index.d.ts +1 -1
  66. package/dist/components/arcgis-arcade-coding-assistant/index.js +1 -1
  67. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  68. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  69. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  70. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  71. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  72. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  73. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  74. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  75. package/dist/docs/api.json +2 -2
  76. package/dist/docs/docs.json +2 -2
  77. package/dist/docs/web-types.json +1 -1
  78. package/dist/index.js +1 -1
  79. package/dist/loader.js +1 -1
  80. package/dist/monacoStyles.js +1 -1
  81. package/package.json +5 -5
  82. package/dist/cdn/SM3RD5NW.js +0 -6
  83. package/dist/cdn/YGXPWAPP.js +0 -4
@@ -1,12 +1,12 @@
1
- import { c as V } from "../../chunks/runtime.js";
2
- import { nothing as w, LitElement as L } from "@arcgis/lumina";
1
+ import { c as L } from "../../chunks/runtime.js";
2
+ import { nothing as M, LitElement as V } from "@arcgis/lumina";
3
3
  import { ref as H, createRef as B } from "lit/directives/ref.js";
4
4
  import j from "@arcgis/core/identity/IdentityManager.js";
5
5
  import { u as W } from "../../chunks/useT9n.js";
6
- import { b as I } from "../../chunks/arcade-defaults.js";
7
- import { css as Q, html as r } from "lit";
8
- import T from "@arcgis/core/request.js";
9
- import { e as G, a as J } from "../../chunks/monaco-importer.js";
6
+ import { b as S } from "../../chunks/arcade-defaults.js";
7
+ import { css as G, html as r } from "lit";
8
+ import I from "@arcgis/core/request.js";
9
+ import { e as Q, a as J } from "../../chunks/monaco-importer.js";
10
10
  import { repeat as U } from "lit/directives/repeat.js";
11
11
  import "@arcgis/toolkit/function";
12
12
  import { generateGuid as K } from "@arcgis/toolkit/string";
@@ -17,9 +17,9 @@ import Z from "@arcgis/core/Graphic.js";
17
17
  import { b as ee } 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/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.31 */
21
- const te = Q`:host(:not([closed])){container-type:size;--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-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-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}.contained-popover-or-tooltip{--calcite-popover-max-size-x: 100%;--calcite-tooltip-max-size-x: 100%}.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}.contained{max-width:100%;max-height:100%;max-width:100cqi;max-height:75cqb;overflow-y:auto}}:host([closed]){display:none}`;
22
- class y extends Error {
20
+ v5.0.0-next.33 */
21
+ const te = G`:host(:not([closed])){container-type:size;--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-code-editor-side-panel-max-w);width:var(--arcgis-coding-components-code-editor-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}@container (max-width: 380px){.hidden-below-380{display:none}}@container (min-width: 380px){.hidden-above-380{display:none}}.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}.contained-popover-or-tooltip{--calcite-popover-max-size-x: 100%;--calcite-tooltip-max-size-x: 100%}.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}.contained{max-width:100%;max-height:100%;max-width:100cqi;max-height:75cqb;overflow-y:auto}}:host([closed]){display:none}`;
22
+ class v extends Error {
23
23
  constructor({
24
24
  message: e,
25
25
  code: t,
@@ -30,7 +30,7 @@ class y extends Error {
30
30
  super(e), this.name = "ArcadeAssistantError", this.code = t, this.subCode = o, this.details = c, this.source = n;
31
31
  }
32
32
  }
33
- function E(i) {
33
+ function T(i) {
34
34
  if (!i)
35
35
  return;
36
36
  const e = i.indexOf('{"error":');
@@ -44,39 +44,39 @@ function E(i) {
44
44
  }
45
45
  }
46
46
  async function ie(i) {
47
- const { baseUrl: e, skillId: t, message: o, authToken: c, previousConversationId: n, context: p } = i, d = t ? `${e}/skills/${t}/chat` : `${e}/chat`, s = [], h = {
47
+ const { baseUrl: e, skillId: t, message: o, authToken: c, previousConversationId: n, context: u } = i, d = t ? `${e}/skills/${t}/chat` : `${e}/chat`, s = [], a = {
48
48
  message: o,
49
- context: p
49
+ context: u
50
50
  };
51
- n && (h.conversation_id = n);
52
- let a;
51
+ n && (a.conversation_id = n);
52
+ let l;
53
53
  try {
54
- a = await T(d, {
54
+ l = await I(d, {
55
55
  method: "post",
56
56
  headers: {
57
57
  "Content-Type": "application/json",
58
58
  token: c
59
59
  },
60
- body: JSON.stringify(h),
60
+ body: JSON.stringify(a),
61
61
  responseType: "json"
62
62
  });
63
- } catch (f) {
64
- const b = f, k = b.details?.rawResponse || b.message || String(f), g = E(k);
65
- throw g ? new y(g) : f;
63
+ } catch (m) {
64
+ const f = m, k = f.details?.rawResponse || f.message || String(m), b = T(k);
65
+ throw b ? new v(b) : m;
66
66
  }
67
- const l = a.data;
68
- s.push(l);
69
- const u = l.conversationId, D = l.inquiryId;
70
- let A = l.sequenceNumber;
71
- async function _() {
72
- let f = 0;
73
- const b = 25;
74
- for (; f < b; ) {
75
- await new Promise((v) => setTimeout(v, 1e3));
76
- const k = oe(u, A, D);
77
- let g;
67
+ const p = l.data;
68
+ s.push(p);
69
+ const y = p.conversationId, _ = p.inquiryId;
70
+ let w = p.sequenceNumber;
71
+ async function z() {
72
+ let m = 0;
73
+ const f = 25;
74
+ for (; m < f; ) {
75
+ await new Promise((g) => setTimeout(g, 1e3));
76
+ const k = oe(y, w, _);
77
+ let b;
78
78
  try {
79
- g = await T(d, {
79
+ b = await I(d, {
80
80
  method: "post",
81
81
  headers: {
82
82
  "Content-Type": "application/json",
@@ -85,42 +85,42 @@ async function ie(i) {
85
85
  body: JSON.stringify(k),
86
86
  responseType: "json"
87
87
  });
88
- } catch (v) {
89
- const C = v, O = C.details?.rawResponse || C.message || String(v), S = E(O);
90
- throw S ? new y(S) : v;
88
+ } catch (g) {
89
+ const A = g, O = A.details?.rawResponse || A.message || String(g), C = T(O);
90
+ throw C ? new v(C) : g;
91
91
  }
92
- const m = g.data;
93
- if (m.context && m.context.kind === "ArcgisErrorAsContext" && m.context.error)
94
- throw new y({
95
- message: m.context.error.message || "ArcGIS Assistant error",
96
- code: m.context.error.code,
97
- subCode: m.context.error.subCode,
98
- details: m.context.error.details,
92
+ const h = b.data;
93
+ if (h.context && h.context.kind === "ArcgisErrorAsContext" && h.context.error)
94
+ throw new v({
95
+ message: h.context.error.message || "ArcGIS Assistant error",
96
+ code: h.context.error.code,
97
+ subCode: h.context.error.subCode,
98
+ details: h.context.error.details,
99
99
  source: "polling-response"
100
100
  });
101
- if (s.push(m), A = m.sequenceNumber, f++, !m.hasMore)
101
+ if (s.push(h), w = h.sequenceNumber, m++, !h.hasMore)
102
102
  break;
103
103
  }
104
- if (f === b)
105
- throw new y({
104
+ if (m === f)
105
+ throw new v({
106
106
  message: "Request timed out",
107
107
  code: "TIMEOUT",
108
108
  source: "polling"
109
109
  });
110
110
  }
111
- const z = 2 * 60 * 1e3;
111
+ const D = 2 * 60 * 1e3;
112
112
  return await Promise.race([
113
- _(),
113
+ z(),
114
114
  new Promise(
115
- (f, b) => setTimeout(
116
- () => b(
117
- new y({
115
+ (m, f) => setTimeout(
116
+ () => f(
117
+ new v({
118
118
  message: "Request timed out",
119
119
  code: "TIMEOUT",
120
120
  source: "hard-timeout"
121
121
  })
122
122
  ),
123
- z
123
+ D
124
124
  )
125
125
  )
126
126
  ]), s;
@@ -136,7 +136,7 @@ function ae(i) {
136
136
  return i.message.match(/Error in prompt shield/u) ? "I'm having trouble with this request. Try again by rephrasing the question." : i.code === "TIMEOUT" ? "I'm having trouble with this request. Try again by re-asking the same question or rephrasing it." : i.message;
137
137
  }
138
138
  const se = (i) => {
139
- const e = i.value.length, t = 72, o = 180, c = i.offsetWidth, p = Math.max(1, Math.floor(c / 8)), d = Math.ceil(e / p), s = t + (d - 2) * 24;
139
+ const e = i.value.length, t = 72, o = 180, c = i.offsetWidth, u = Math.max(1, Math.floor(c / 8)), d = Math.ceil(e / u), s = t + (d - 2) * 24;
140
140
  i.style.setProperty("--calcite-text-area-min-height", `${Math.min(s, o)}px`);
141
141
  };
142
142
  function ce({ messages: i }) {
@@ -146,7 +146,7 @@ function re({ popoverContent: i }) {
146
146
  return r`<calcite-action icon=information slot=header-actions-end id=legal-disclaimer text></calcite-action><calcite-popover reference-element=legal-disclaimer label=legal-disclaimer placement=bottom auto-close focus-trap-disabled><div class="contained">${i}</div></calcite-popover>`;
147
147
  }
148
148
  function F({ errorMessage: i, slot: e }) {
149
- return r`<div class="error-display"><calcite-input-message id=error-message status=invalid icon=exclamation-mark-triangle scale=m slot=${e ?? w}>${i}</calcite-input-message></div>`;
149
+ return r`<div class="error-display"><calcite-input-message id=error-message status=invalid icon=exclamation-mark-triangle scale=m slot=${e ?? M}>${i}</calcite-input-message></div>`;
150
150
  }
151
151
  function ne({ active: i, setActive: e, messages: t }) {
152
152
  return r`<calcite-alert slot=alerts .open=${i} placement=bottom kind=success icon=check-circle-f auto-close @calciteAlertClose=${() => e(!1)} .label=${t.expressionapplied ?? "Expression applied"}><div slot=message>${t.expressionapplied ?? "Expression applied to editor."}</div></calcite-alert>`;
@@ -154,14 +154,16 @@ function ne({ active: i, setActive: e, messages: t }) {
154
154
  function le({ context: i, messages: e }) {
155
155
  return i ? r`<div class="gaps">${i.profileName && r`<calcite-popover auto-close placement=top .label=${(e.profilecontextlabel ?? "Profile context: {profileName}").replace("{profileName}", i.profileName)} reference-element=profile-context-button class="context-popover contained-popover-or-tooltip"><p>${(e.profilecontextlabel ?? "Profile context: {profileName}").replace("{profileName}", i.profileName)}</p></calcite-popover><calcite-button round kind=neutral icon-start=map-information id=profile-context-button></calcite-button>` || ""}${i.layerName && r`<calcite-popover auto-close placement=top .label=${(e.layercontextlabel ?? "Layer context: {layerName}").replace("{layerName}", i.layerName)} reference-element=layer-context-button class="context-popover contained-popover-or-tooltip"><p>${(e.layercontextlabel ?? "Layer context: {layerName}").replace("{layerName}", i.layerName)}</p></calcite-popover><calcite-button round kind=neutral icon-start=layers id=layer-context-button></calcite-button>` || ""}</div>` : null;
156
156
  }
157
- function de({ isDisabled: i, isReadOnly: e, setQuestion: t, setIsViewingResult: o, textAreaRef: c, question: n, errorMessage: p, setErrorMessage: d, submitQuestion: s, messages: h, mode: a, context: l }) {
158
- return r`<div class="text-area-wrapper"><calcite-text-area resize=vertical .readOnly=${i || e} class="styled-text-area" .placeholder=${h.askaquestion ?? `Specify the calculation or logic you need in an Arcade expression. (e.g., 'Return "Yes" if value > 10')`} .value=${n} @calciteTextAreaInput=${(u) => {
159
- se(u.target), t(u.target.value);
160
- }} ${H(c)}><div class="submission-actions-wrapper" slot=footer-start>${p && F({ errorMessage: p, slot: "footer-start" }) || ""}<div class="submission-actions">${le({ context: l, messages: h })}<div class="align-inline-end gaps"><calcite-button round kind=neutral .hidden=${a !== "refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid .disabled=${i} @click=${async () => {
157
+ function de({ isDisabled: i, isReadOnly: e, setQuestion: t, setIsViewingResult: o, textAreaRef: c, question: n, errorMessage: u, setErrorMessage: d, submitQuestion: s, messages: a, mode: l, context: p }) {
158
+ return r`<div class="text-area-wrapper"><calcite-text-area resize=vertical .readOnly=${i || e} class="styled-text-area" .placeholder=${a.askaquestion ?? `Specify the calculation or logic you need in an Arcade expression. (e.g., 'Return "Yes" if value > 10')`} .value=${n} @calciteTextAreaInput=${(y) => {
159
+ se(y.target), t(y.target.value);
160
+ }} ${H(c)}><div class="submission-actions-wrapper" slot=footer-start>${u && F({ errorMessage: u, slot: "footer-start" }) || ""}<div class="submission-actions">${le({ context: p, messages: a })}<div class="align-inline-end gaps"><calcite-button round kind=neutral .hidden=${l !== "refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid .disabled=${i} @click=${async () => {
161
161
  o(!1), t("");
162
- }}>${h.startover ?? "Start Over"}</calcite-button><calcite-button round icon-end=effects appearance=solid .loading=${i} .disabled=${i} @click=${async () => {
163
- d(n ? "" : h.enteraprompt ?? "Please enter a prompt"), await s();
164
- }}>${a === "prompt" ? h.ask ?? "Generate" : h.refine ?? "Refine"}</calcite-button></div></div></div></calcite-text-area></div>`;
162
+ }} .label=${a.startover ?? "Start Over"} class="hidden-above-380" id=small-start-over-button></calcite-button><calcite-tooltip reference-element=small-start-over-button placement=top-start class="hidden-above-380">${a.startover ?? "Start Over"}</calcite-tooltip><calcite-button round kind=neutral .hidden=${l !== "refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid .disabled=${i} @click=${async () => {
163
+ o(!1), t("");
164
+ }} class="hidden-below-380">${a.startover ?? "Start Over"}</calcite-button><calcite-button round icon-end=effects appearance=solid .loading=${i} .disabled=${i} @click=${async () => {
165
+ d(n ? "" : a.enteraprompt ?? "Please enter a prompt"), await s();
166
+ }}>${l === "prompt" ? a.ask ?? "Generate" : a.refine ?? "Refine"}</calcite-button></div></div></div></calcite-text-area></div>`;
165
167
  }
166
168
  const pe = "https://www.esri.com/en-us/privacy/privacy-statements/privacy-statement", ue = "https://www.esri.com/en-us/privacy/privacy-statements/privacy-supplement";
167
169
  function he({ setOpen: i, messages: e, feedback: t, setFeedback: o, onSubmit: c }) {
@@ -169,8 +171,8 @@ function he({ setOpen: i, messages: e, feedback: t, setFeedback: o, onSubmit: c
169
171
  o({ ...t, termsAccepted: n.target.checked });
170
172
  }} .disabled=${t.submitting}></calcite-checkbox><span>${$((e.agreement ?? "I agree to the {EsriPrivacyStatement} (and {Supplement}).").replace("{EsriPrivacyStatement}", `<calcite-link href=${pe} target="_blank">${e.esriprivacystatement ?? "Esri Privacy Statement"}</calcite-link>`).replace("{Supplement}", `<calcite-link href=${ue} target="_blank">${e.supplement ?? "Supplement"}</calcite-link>`))}</span></calcite-label></div><calcite-button slot=footer width=full @click=${c} .disabled=${!t.termsAccepted || t.submitting} .loading=${t.submitting}>${e.submitfeedback ?? "Submit Feedback"}</calcite-button></calcite-panel></calcite-sheet>` : null;
171
173
  }
172
- function R({ assistantsEnabled: i, messages: e, slot: t, assistantHelpUrl: o, helpTopicUrl: c }) {
173
- return r`<calcite-block .label=${e.assistantinformation ?? "Assistant information"} slot=${t ?? w} expanded class="info-block"><calcite-chip .label=${e.new ?? "New"} kind=brand>${e.new ?? "New"}</calcite-chip><h1 class="info-heading">${e.introducing ?? "Introducing Arcade Assistant (beta)"}</h1><p>${e.capabilities ?? "The assistant uses artificial intelligence to generate Arcade expressions."}</p>${i ? r`<p>${e.keepinmind ?? "Keep in mind the following:"}<ul><li>${e.beconsise ?? "Be concise, but also clear in your request"}</li><li>${e.avoidambiguity ?? "Avoid ambiguity and vagueness"}</li><li>${e.moredetails ?? "you do not need to use exact field names in your instructions, but more detail is generally better"}</li></ul>${$((e.seedocumentation ?? "Please see the {documentation} for more information, including limitations and additional resources.").replace("{documentation}", `<calcite-link href=${c} target="_blank">${e.documentation ?? "documentation"}</calcite-link>`))}</p>` : r`<p>${$(e.useofassistant?.replace("{aiassistants}", `<strong>${e.aiassistants ?? "Ai Assistants"}</strong>`))}<calcite-link .href=${o} target=_blank icon-end=launch-2>${e.configureassistants ?? "Configure Assistants"}</calcite-link></p>`}</calcite-block>`;
174
+ function E({ assistantsEnabled: i, messages: e, slot: t, assistantHelpUrl: o, helpTopicUrl: c }) {
175
+ return r`<calcite-block .label=${e.assistantinformation ?? "Assistant information"} slot=${t ?? M} expanded class="info-block"><calcite-chip .label=${e.new ?? "New"} kind=brand>${e.new ?? "New"}</calcite-chip><h1 class="info-heading">${e.introducing ?? "Introducing Arcade Assistant (beta)"}</h1><p>${e.capabilities ?? "The assistant uses artificial intelligence to generate Arcade expressions."}</p>${i ? r`<p>${e.keepinmind ?? "Keep in mind the following:"}<ul><li>${e.beconsise ?? "Be concise, but also clear in your request"}</li><li>${e.avoidambiguity ?? "Avoid ambiguity and vagueness"}</li><li>${e.moredetails ?? "you do not need to use exact field names in your instructions, but more detail is generally better"}</li></ul>${$((e.seedocumentation ?? "Please see the {documentation} for more information, including limitations and additional resources.").replace("{documentation}", `<calcite-link href=${c} target="_blank">${e.documentation ?? "documentation"}</calcite-link>`))}</p>` : r`<p>${$(e.useofassistant?.replace("{aiassistants}", `<strong>${e.aiassistants ?? "Ai Assistants"}</strong>`))}<calcite-link .href=${o} target=_blank icon-end=launch-2>${e.configureassistants ?? "Configure Assistants"}</calcite-link></p>`}</calcite-block>`;
174
176
  }
175
177
  function me({ messages: i, onProceed: e, onExit: t, helpTopicUrl: o }) {
176
178
  return r`<calcite-dialog close-disabled placement=top .heading=${i.welcome ?? "Welcome to the new assistant experience"} slot=dialogs open width-scale=m id=welcome-dialog><h3 class="unstyled-h3">${i.beforeyougetstarted ?? "Before you get started be aware:"}</h3><ul><li>${i.maybeincorrect ?? "AI generated code may occasionally be incorrect or biased. Review carefully."}</li><li>${$((i.pleasereadhelp ?? "Read the Arcade Assistant (beta) {helpTopic} to get started and learn details on security, privacy and limitations.").replace("{helpTopic}", `<calcite-link href=${o} target="_blank">${i.helptopic ?? "help topic"}</calcite-link>`))}</li></ul><calcite-button id=welcome-proceed slot=footer-end @click=${e}>${i.proceed ?? "Proceed"}</calcite-button><calcite-button id=welcome-decline slot=footer-start @click=${t} kind=neutral>${i.exit ?? "Exit"}</calcite-button></calcite-dialog>`;
@@ -178,21 +180,20 @@ function me({ messages: i, onProceed: e, onExit: t, helpTopicUrl: o }) {
178
180
  function fe({ messages: i, suggestions: e, onSuggestionClick: t }) {
179
181
  return r`<calcite-block .heading=${i.promptsuggestions} expanded collapsible id=suggestion-block><calcite-chip-group class="suggestions" .label=${i.promptsuggestions ?? "Prompt Suggestions"}>${U(e, (o) => o, (o) => r`<calcite-button round appearance=outline-fill kind=neutral .label=${i.promptsuggestion} class="suggestion-button" @click=${() => t?.(o)}>${o}</calcite-button>`)}</calcite-chip-group></calcite-block>`;
180
182
  }
181
- const N = 200;
182
- function P({ hidden: i = !1, expanded: e = !1, messages: t, cards: o, heading: c, collapsible: n = !1, showEffectsIcon: p = !1, onCopyCode: d, standalone: s }) {
183
- const h = t.addtoeditor ?? "Add to editor";
184
- return r`<calcite-block .hidden=${i} id=result-block .heading=${c ?? t.besteffort ?? "Here is the assistant's best effort"} .expanded=${e} .collapsible=${n}>${p && r`<calcite-chip .label=${t.assistantresponses ?? "Assistant responses"} slot=content-start icon=effects scale=m class="suggestion-chips"></calcite-chip>` || ""}<calcite-card-group .label=${t.assistantresponses ?? "Assistant responses"}>${U(o, (a) => a.conversationId, (a) => r`<calcite-card><div slot=heading><div class="prior-prompt"><span>${a.priorPrompt.length > N ? `${a.priorPrompt.slice(0, N)}...` : a.priorPrompt}</span><calcite-action icon=duplicate scale=s slot=actions-end class="copy-prompt-button" text .id=${`copy-prompt-${a.conversationId}-${s ? "standalone" : "list"}`} @click=${(l) => {
185
- const u = l.currentTarget;
183
+ const R = 200;
184
+ function N({ hidden: i = !1, expanded: e = !1, messages: t, cards: o, heading: c, collapsible: n = !1, showEffectsIcon: u = !1, onCopyCode: d, standalone: s }) {
185
+ return r`<calcite-block .hidden=${i} id=result-block .heading=${c ?? t.besteffort ?? "Here is the assistant's best effort"} .expanded=${e} .collapsible=${n}>${u && r`<calcite-chip .label=${t.assistantresponses ?? "Assistant responses"} slot=content-start icon=effects scale=m class="suggestion-chips"></calcite-chip>` || ""}<calcite-card-group .label=${t.assistantresponses ?? "Assistant responses"}>${U(o, (a) => a.conversationId, (a) => r`<calcite-card><div slot=heading><div class="prior-prompt"><span>${a.priorPrompt.length > R ? `${a.priorPrompt.slice(0, R)}...` : a.priorPrompt}</span><calcite-action icon=duplicate scale=s slot=actions-end class="copy-prompt-button" text .id=${`copy-prompt-${a.conversationId}-${s ? "standalone" : "list"}`} @click=${(l) => {
186
+ const p = l.currentTarget;
186
187
  navigator.clipboard.writeText(a.priorPrompt).then(() => {
187
- u.setAttribute("data-copied", "true"), setTimeout(() => u.removeAttribute("data-copied"), 1500);
188
+ p.setAttribute("data-copied", "true"), setTimeout(() => p.removeAttribute("data-copied"), 1500);
188
189
  });
189
190
  }}></calcite-action><calcite-popover .referenceElement=${`copy-prompt-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start class="copy-feedback" .label=${t.copiedsuccessfully ?? "copied successfully"} open trigger-disabled><span>${t.copiedsuccessfully ?? "copied successfully"}</span></calcite-popover><calcite-tooltip .referenceElement=${`copy-prompt-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start class="copy-tooltip">${t.copyprompttoclipboard ?? "Copy prompt to clipboard"}</calcite-tooltip></div>${a.message && s && r`<div class="response-error-container">${F({ errorMessage: a.message })}</div>` || ""}</div><div><div class="code-response-wrapper"><div class="positioned-code-content"><calcite-chip-group .label=${t.responsecontext ?? "Response Context"} scale=s>${a.message && !s && r`<calcite-tooltip .referenceElement=${`response-chip-${a.conversationId}-error`} placement=top-start>${a.message}</calcite-tooltip><calcite-chip .id=${`response-chip-${a.conversationId}-error`} .label=${t.error ?? "Error"} scale=s appearance=outline icon=exclamation-mark-triangle-f class="response-error-chip"></calcite-chip>` || ""}${a.chips?.map((l) => {
190
- const u = K();
191
- return r`${l.tooltip && r`<calcite-tooltip .referenceElement=${`response-chip-${l.conversationId}-${u}`} placement=top-start class="contained-popover-or-tooltip">${l.tooltip}</calcite-tooltip>` || ""}<calcite-chip .label=${l.label} .scale=${l.scale ?? "s"} .appearance=${l.appearance ?? "outline"} .icon=${l.icon} .id=${`response-chip-${l.conversationId}-${u}`}>${l.label}</calcite-chip>`;
192
- })}</calcite-chip-group></div><details class="collapsible-code" open><summary>Code response</summary><code>${a.code}</code></details></div></div><div slot=footer-start class="feedback-actions"><calcite-button primary-text=${h ?? w} class="add-to-editor-button" @click=${() => a.onAddToEditor("add")} scale=s icon-start=plus round>${t.addtoeditor ?? "Add to editor"}</calcite-button><calcite-button round icon-start=file-code kind=neutral scale=s @click=${() => a.onAddToEditor("replace")} class="response-secondary-action-button" .id=${`replace-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-button><calcite-tooltip .referenceElement=${`replace-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start><span>${t.replaceineditor ?? "Replace all code in editor"}</span></calcite-tooltip><calcite-button round icon-start=copy-to-clipboard kind=neutral scale=s @click=${(l) => {
193
- const u = l.currentTarget;
191
+ const p = K();
192
+ return r`${l.tooltip && r`<calcite-tooltip .referenceElement=${`response-chip-${l.conversationId}-${p}`} placement=top-start class="contained-popover-or-tooltip">${l.tooltip}</calcite-tooltip>` || ""}<calcite-chip .label=${l.label} .scale=${l.scale ?? "s"} .appearance=${l.appearance ?? "outline"} .icon=${l.icon} .id=${`response-chip-${l.conversationId}-${p}`}>${l.label}</calcite-chip>`;
193
+ })}</calcite-chip-group></div><details class="collapsible-code" open><summary>Code response</summary><code>${a.code}</code></details></div></div><div slot=footer-start class="feedback-actions"><calcite-button class="add-to-editor-button hidden-above-380" @click=${() => a.onAddToEditor("add")} scale=s icon-start=plus round .label=${t.addtoeditor ?? "Add to editor"} .id=${`add-to-editor-button-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-button><calcite-tooltip class="hidden-above-380" .referenceElement=${`add-to-editor-button-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start>${t.addtoeditor ?? "Add to editor"}</calcite-tooltip><calcite-button class="add-to-editor-button hidden-below-380" @click=${() => a.onAddToEditor("add")} scale=s icon-start=plus round>${t.addtoeditor ?? "Add to editor"}</calcite-button><calcite-button round icon-start=file-code kind=neutral scale=s @click=${() => a.onAddToEditor("replace")} class="response-secondary-action-button" .id=${`replace-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-button><calcite-tooltip .referenceElement=${`replace-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start><span>${t.replaceineditor ?? "Replace all code in editor"}</span></calcite-tooltip><calcite-button round icon-start=copy-to-clipboard kind=neutral scale=s @click=${(l) => {
194
+ const p = l.currentTarget;
194
195
  d(a.code).then(() => {
195
- u.setAttribute("data-copied", "true"), setTimeout(() => u.removeAttribute("data-copied"), 1500);
196
+ p.setAttribute("data-copied", "true"), setTimeout(() => p.removeAttribute("data-copied"), 1500);
196
197
  });
197
198
  }} class="response-secondary-action-button" .id=${`copy-response-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-button><calcite-popover .referenceElement=${`copy-response-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start class="copy-feedback" .label=${t.copiedsuccessfully ?? "copied successfully"} open trigger-disabled><span>${t.copiedsuccessfully ?? "copied successfully"}</span></calcite-popover><calcite-tooltip .referenceElement=${`copy-response-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start class="copy-tooltip">${t.copytoclipboard ?? "Copy code to clipboard"}</calcite-tooltip></div><div slot=footer-end class="feedback-actions"><calcite-action .text=${t.thumbsup ?? "Thumbs up"} scale=s icon=thumbs-up @click=${a.onThumbsUp} .id=${`thumbs-up-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-action><calcite-tooltip .referenceElement=${`thumbs-up-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start><span>${t.helpful ?? "Helpful"}</span></calcite-tooltip><calcite-action .text=${t.thumbsdown ?? "Thumbs down"} scale=s icon=thumbs-down @click=${a.onThumbsDown} .id=${`thumbs-down-${a.conversationId}-${s ? "standalone" : "list"}`}></calcite-action><calcite-tooltip .referenceElement=${`thumbs-down-${a.conversationId}-${s ? "standalone" : "list"}`} placement=top-start><span>${t.unhelpful ?? "Unhelpful"}</span></calcite-tooltip></div></calcite-card>`)}</calcite-card-group></calcite-block>`;
198
199
  }
@@ -207,8 +208,8 @@ const be = "arcade_generation", ge = "ArcadeCodeRequest", x = "visualization", v
207
208
  "context",
208
209
  "extras"
209
210
  ];
210
- let q = [], M = !0;
211
- class $e extends L {
211
+ let P = [], q = !0;
212
+ class $e extends V {
212
213
  constructor() {
213
214
  super(...arguments), this.textAreaRef = B(), this.messages = W(), this._feedbackService = void 0, this.handleFeedbackButton = (e, t) => {
214
215
  this.feedback = { active: !0, value: e, item: t, termsAccepted: !1, text: "", submitting: !1 };
@@ -248,8 +249,8 @@ class $e extends L {
248
249
  };
249
250
  try {
250
251
  await e.applyEdits({ addFeatures: [new Z({ attributes: n })] });
251
- } catch (p) {
252
- console.error("Error submitting feedback:", p);
252
+ } catch (u) {
253
+ console.error("Error submitting feedback:", u);
253
254
  }
254
255
  this.handleFeedbackSheetClose();
255
256
  }, this.handleClose = (e) => {
@@ -295,7 +296,7 @@ class $e extends L {
295
296
  };
296
297
  e().catch((t) => {
297
298
  console.error("Error setting initial context in Arcade Assistant:", t);
298
- }), this.manager.onLifecycle(() => ({ remove: I.onModelContextDidChange(async () => {
299
+ }), this.manager.onLifecycle(() => ({ remove: S.onModelContextDidChange(async () => {
299
300
  e().catch((o) => {
300
301
  console.error("Error setting context in Arcade Assistant:", o);
301
302
  });
@@ -305,10 +306,10 @@ class $e extends L {
305
306
  (e.has("history") || e.has("messages")) && (this.historyCards = this.getHistoryCards());
306
307
  }
307
308
  connectedCallback() {
308
- super.connectedCallback(), this.history = q, this.splashActive = M;
309
+ super.connectedCallback(), this.history = P, this.splashActive = q;
309
310
  }
310
311
  disconnectedCallback() {
311
- super.disconnectedCallback(), q = this.history, M = this.splashActive, this.copySuccessTimer && (clearTimeout(this.copySuccessTimer), this.copySuccessTimer = void 0);
312
+ super.disconnectedCallback(), P = this.history, q = this.splashActive, this.copySuccessTimer && (clearTimeout(this.copySuccessTimer), this.copySuccessTimer = void 0);
312
313
  }
313
314
  getHistoryCards() {
314
315
  return this.history.reduce((e, t) => (!t.script || (e.push({
@@ -335,7 +336,7 @@ class $e extends L {
335
336
  ] : []
336
337
  ],
337
338
  onAddToEditor: (o) => {
338
- G(this.editorRef.editorInstance, t.formattedScript ?? "", o, this.disclaimerComment);
339
+ Q(this.editorRef.editorInstance, t.formattedScript ?? "", o, this.disclaimerComment);
339
340
  },
340
341
  onThumbsUp: () => this.handleFeedbackButton("good", t),
341
342
  onThumbsDown: () => this.handleFeedbackButton("bad", t),
@@ -411,17 +412,17 @@ class $e extends L {
411
412
  }
412
413
  async getProfileAndMetadata(e) {
413
414
  let t = x;
414
- const o = I.getEditorProfileForModel(e);
415
+ const o = S.getEditorProfileForModel(e);
415
416
  o?.loaded || await o?.loadSource();
416
417
  const c = this.editorRef.profile;
417
418
  c && "id" in c && (t = c.id);
418
419
  const n = o?.definition?.variables?.find((s) => s.type === "feature");
419
- let p = [], d;
420
- return n?.definition && "fields" in n.definition && (p = n.definition.fields.map((s) => ({
420
+ let u = [], d;
421
+ return n?.definition && "fields" in n.definition && (u = n.definition.fields.map((s) => ({
421
422
  name: s.name,
422
423
  type: s.type,
423
424
  alias: s.alias
424
- })), ee(n?.definition) && (d = n.definition.title)), { profileName: t, metadata: p, layerName: d };
425
+ })), ee(n?.definition) && (d = n.definition.title)), { profileName: t, metadata: u, layerName: d };
425
426
  }
426
427
  onCopyCode(e) {
427
428
  const t = e ? `${this.disclaimerComment}
@@ -429,9 +430,9 @@ ${e}` : "";
429
430
  return navigator.clipboard.writeText(t);
430
431
  }
431
432
  render() {
432
- return this.closed ? null : this.assistantsEnabled ? r`<calcite-flow><calcite-flow-item closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${this.splashActive && r`<calcite-scrim></calcite-scrim>` || ""}${ce({ messages: this.messages })}${re({ popoverContent: R({ assistantsEnabled: this.assistantsEnabled, messages: this.messages, assistantHelpUrl: this.assistantHelpUrl, helpTopicUrl: this.usingTheAssitantDocUrl }) })}<calcite-shell class="unstyled-shell">${this.splashActive && me({ messages: this.messages, onProceed: () => {
433
+ return this.closed ? null : this.assistantsEnabled ? r`<calcite-flow><calcite-flow-item closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${this.splashActive && r`<calcite-scrim></calcite-scrim>` || ""}${ce({ messages: this.messages })}${re({ popoverContent: E({ assistantsEnabled: this.assistantsEnabled, messages: this.messages, assistantHelpUrl: this.assistantHelpUrl, helpTopicUrl: this.usingTheAssitantDocUrl }) })}<calcite-shell class="unstyled-shell">${this.splashActive && me({ messages: this.messages, onProceed: () => {
433
434
  this.splashActive = !1;
434
- }, helpTopicUrl: this.assistantOverviewDocUrl, onExit: (e) => this.closePanel && this.closePanel(e) }) || ""}${ne({ active: this.confirmationActive, setActive: (e) => this.confirmationActive = e, messages: this.messages })}${de({ isDisabled: this.isSubmitting, isReadOnly: !1, setQuestion: this.setQuestion, setIsViewingResult: (e) => this.isViewingResult = e, mode: this.isViewingResult ? "refine" : "prompt", textAreaRef: this.textAreaRef, question: this.question, errorMessage: this.errorMessage, setErrorMessage: (e) => this.errorMessage = e, submitQuestion: this.submitQuestion.bind(this), messages: this.messages, context: this.context })}<calcite-block-group label="interactive blocks">${!this.isViewingResult && !this.isSubmitting && fe({ messages: this.messages, suggestions: [this.messages.prompsuggestion1 ?? "", this.messages.prompsuggestion2 ?? ""], onSuggestionClick: this.onSuggestionClick }) || ""}<calcite-block .hidden=${!this.isSubmitting} .heading=${this.messages.generatingresponse ?? "Generating response..."}></calcite-block>${P({
435
+ }, helpTopicUrl: this.assistantOverviewDocUrl, onExit: (e) => this.closePanel && this.closePanel(e) }) || ""}${ne({ active: this.confirmationActive, setActive: (e) => this.confirmationActive = e, messages: this.messages })}${de({ isDisabled: this.isSubmitting, isReadOnly: !1, setQuestion: this.setQuestion, setIsViewingResult: (e) => this.isViewingResult = e, mode: this.isViewingResult ? "refine" : "prompt", textAreaRef: this.textAreaRef, question: this.question, errorMessage: this.errorMessage, setErrorMessage: (e) => this.errorMessage = e, submitQuestion: this.submitQuestion.bind(this), messages: this.messages, context: this.context })}<calcite-block-group label="interactive blocks">${!this.isViewingResult && !this.isSubmitting && fe({ messages: this.messages, suggestions: [this.messages.prompsuggestion1 ?? "", this.messages.prompsuggestion2 ?? ""], onSuggestionClick: this.onSuggestionClick }) || ""}<calcite-block .hidden=${!this.isSubmitting} .heading=${this.messages.generatingresponse ?? "Generating response..."}></calcite-block>${N({
435
436
  expanded: this.isViewingResult,
436
437
  messages: this.messages,
437
438
  collapsible: !0,
@@ -442,7 +443,7 @@ ${e}` : "";
442
443
  hidden: this.isSubmitting || !this.isViewingResult,
443
444
  onCopyCode: this.onCopyCode.bind(this),
444
445
  standalone: !0
445
- })}${P({
446
+ })}${N({
446
447
  expanded: !this.isViewingResult,
447
448
  messages: this.messages,
448
449
  collapsible: !0,
@@ -456,10 +457,10 @@ ${e}` : "";
456
457
  heading: this.messages.recentprompts ?? "Recent prompts",
457
458
  hidden: this.isSubmitting || this.history.length === 0,
458
459
  onCopyCode: this.onCopyCode.bind(this)
459
- })}</calcite-block-group>${this.feedback.active ? he({ setOpen: this.handleFeedbackSheetClose, messages: this.messages, onSubmit: this.handleFeedbackSubmit, feedback: this.feedback, setFeedback: this.setFeedbackState.bind(this) }) : null}</calcite-shell></calcite-flow-item></calcite-flow>` : r`<calcite-flow><calcite-flow-item .selected=${!this.isViewingResult} closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${R({ slot: "content-top", messages: this.messages, assistantsEnabled: this.assistantsEnabled, assistantHelpUrl: this.assistantHelpUrl, helpTopicUrl: this.usingTheAssitantDocUrl })}</calcite-flow-item></calcite-flow>`;
460
+ })}</calcite-block-group>${this.feedback.active ? he({ setOpen: this.handleFeedbackSheetClose, messages: this.messages, onSubmit: this.handleFeedbackSubmit, feedback: this.feedback, setFeedback: this.setFeedbackState.bind(this) }) : null}</calcite-shell></calcite-flow-item></calcite-flow>` : r`<calcite-flow><calcite-flow-item .selected=${!this.isViewingResult} closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${E({ slot: "content-top", messages: this.messages, assistantsEnabled: this.assistantsEnabled, assistantHelpUrl: this.assistantHelpUrl, helpTopicUrl: this.usingTheAssitantDocUrl })}</calcite-flow-item></calcite-flow>`;
460
461
  }
461
462
  }
462
- V("arcgis-arcade-coding-assistant", $e);
463
+ L("arcgis-arcade-coding-assistant", $e);
463
464
  export {
464
465
  $e as ArcgisArcadeCodingAssistant
465
466
  };
@@ -5,6 +5,7 @@ import "@esri/calcite-components/components/calcite-input-message";
5
5
  import "@esri/calcite-components/components/calcite-alert";
6
6
  import "@esri/calcite-components/components/calcite-button";
7
7
  import "@esri/calcite-components/components/calcite-text-area";
8
+ import "@esri/calcite-components/components/calcite-tooltip";
8
9
  import "@esri/calcite-components/components/calcite-sheet";
9
10
  import "@esri/calcite-components/components/calcite-panel";
10
11
  import "@esri/calcite-components/components/calcite-label";
@@ -17,7 +18,6 @@ import "@esri/calcite-components/components/calcite-dialog";
17
18
  import "@esri/calcite-components/components/calcite-chip-group";
18
19
  import "@esri/calcite-components/components/calcite-card-group";
19
20
  import "@esri/calcite-components/components/calcite-card";
20
- import "@esri/calcite-components/components/calcite-tooltip";
21
21
  import "@esri/calcite-components/components/calcite-flow";
22
22
  import "@esri/calcite-components/components/calcite-flow-item";
23
23
  import "@esri/calcite-components/components/calcite-scrim";
@@ -5,6 +5,7 @@ import "@esri/calcite-components/components/calcite-input-message";
5
5
  import "@esri/calcite-components/components/calcite-alert";
6
6
  import "@esri/calcite-components/components/calcite-button";
7
7
  import "@esri/calcite-components/components/calcite-text-area";
8
+ import "@esri/calcite-components/components/calcite-tooltip";
8
9
  import "@esri/calcite-components/components/calcite-sheet";
9
10
  import "@esri/calcite-components/components/calcite-panel";
10
11
  import "@esri/calcite-components/components/calcite-label";
@@ -17,7 +18,6 @@ import "@esri/calcite-components/components/calcite-dialog";
17
18
  import "@esri/calcite-components/components/calcite-chip-group";
18
19
  import "@esri/calcite-components/components/calcite-card-group";
19
20
  import "@esri/calcite-components/components/calcite-card";
20
- import "@esri/calcite-components/components/calcite-tooltip";
21
21
  import "@esri/calcite-components/components/calcite-flow";
22
22
  import "@esri/calcite-components/components/calcite-flow-item";
23
23
  import "@esri/calcite-components/components/calcite-scrim";
@@ -17,7 +17,7 @@ import { s as U } from "../../chunks/editor.js";
17
17
  import j 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/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.31 */
20
+ v5.0.0-next.33 */
21
21
  const z = w`@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}}}`, N = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/survey123_6e349a50b4504ca6b6107216d568db5f_form/FeatureServer/0", O = (s) => {
22
22
  const { aiAssistantsEnabled: e } = s;
23
23
  return e === void 0 ? (console.warn("areAiAssistantsEnabled is not defined in the organizations settings."), !1) : e;
@@ -9,7 +9,7 @@ import "@arcgis/toolkit/function";
9
9
  import { createRef as g, ref as $ } from "lit/directives/ref.js";
10
10
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
11
11
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.31 */
12
+ v5.0.0-next.33 */
13
13
  const _ = M`: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 = {
14
14
  lines: !0,
15
15
  selectionMode: "none",
@@ -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/5.0/esri/copyright.txt for details.
11
- v5.0.0-next.31 */
11
+ v5.0.0-next.33 */
12
12
  function v(o) {
13
13
  return !Array.isArray(o) || !o.length ? !1 : Array.isArray(o[0].suggestions);
14
14
  }
@@ -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/5.0/esri/copyright.txt for details.
14
- v5.0.0-next.31 */
14
+ v5.0.0-next.33 */
15
15
  const M = 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}}}}`, b = {
16
16
  autoIndent: "advanced",
17
17
  automaticLayout: !0,
@@ -7,7 +7,7 @@ import { createFilterExpression as f } from "@arcgis/toolkit/string";
7
7
  import { u as m } from "../../chunks/useT9n.js";
8
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
9
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
10
- v5.0.0-next.31 */
10
+ v5.0.0-next.33 */
11
11
  const u = 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();
@@ -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/5.0/esri/copyright.txt for details.
13
- v5.0.0-next.31 */
13
+ v5.0.0-next.33 */
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() {
@@ -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/5.0/esri/copyright.txt for details.
12
- v5.0.0-next.31 */
12
+ v5.0.0-next.33 */
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() {
@@ -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/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.31 */
9
+ v5.0.0-next.33 */
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-10-23T04:40:35",
2
+ "timestamp": "2025-10-25T04:40:43",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.31",
5
+ "version": "5.0.0-next.33",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-10-23T04:40:35",
2
+ "timestamp": "2025-10-25T04:40:43",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.31",
5
+ "version": "5.0.0-next.33",
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": "5.0.0-next.31",
4
+ "version": "5.0.0-next.33",
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/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.31 */
6
+ v5.0.0-next.33 */
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/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.31 */
5
+ v5.0.0-next.33 */
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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.31 */
3
+ v5.0.0-next.33 */
4
4
  const A = `/*!-----------------------------------------------------------
5
5
  * Copyright (c) Microsoft Corporation. All rights reserved.
6
6
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)