@arcgis/ai-components 5.0.0-next.135 → 5.0.0-next.136

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 (64) hide show
  1. package/dist/cdn/{I54YR7UU.js → 3TCMWTPD.js} +1 -1
  2. package/dist/cdn/{5EXI6IBC.js → 3UG5WTDE.js} +3 -3
  3. package/dist/cdn/{UROLRFUN.js → 4LENP43C.js} +2 -2
  4. package/dist/cdn/{7VXM3PHG.js → 5B2EOTYQ.js} +2 -2
  5. package/dist/cdn/{ZZIAB76W.js → 62ILUOJY.js} +2 -2
  6. package/dist/cdn/{4BKDN7AJ.js → 7DE5BVD5.js} +2 -2
  7. package/dist/cdn/{RTUKNJRX.js → 7U3ZJE74.js} +2 -2
  8. package/dist/cdn/{NPQWPRM6.js → AA4MFJ3S.js} +2 -2
  9. package/dist/cdn/{D5B4XO32.js → ALMVA7MQ.js} +2 -2
  10. package/dist/cdn/{GNYKVIRC.js → AU4REOCQ.js} +3 -3
  11. package/dist/cdn/{YQVK2H7R.js → AZNXA22U.js} +1 -1
  12. package/dist/cdn/{FQP72TZH.js → C367X64H.js} +2 -2
  13. package/dist/cdn/DI6CDXVQ.js +4 -0
  14. package/dist/cdn/{KXZ5YZL6.js → DR6U7IZT.js} +2 -2
  15. package/dist/cdn/{LQKHGIXO.js → FJVWWC7W.js} +2 -2
  16. package/dist/cdn/{XOXI7KQN.js → HYKMA4XQ.js} +2 -2
  17. package/dist/cdn/{K4DOBIBC.js → IRGK3XH4.js} +1 -1
  18. package/dist/cdn/{NCD5D6JY.js → LC6VCY7C.js} +2 -2
  19. package/dist/cdn/{BSFH6ITF.js → MNIES7DU.js} +2 -2
  20. package/dist/cdn/{ODYS7BCT.js → MOKHHOZ6.js} +4 -4
  21. package/dist/cdn/{XULCWMYE.js → MUIAEICM.js} +2 -2
  22. package/dist/cdn/{H6HTZ2RZ.js → NJU7DK4H.js} +2 -2
  23. package/dist/cdn/{45J72RA5.js → NJXGFRUZ.js} +2 -2
  24. package/dist/cdn/{QFWBH3U2.js → O7P4MUTM.js} +2 -2
  25. package/dist/cdn/{5GP65UDI.js → POCZKXEN.js} +2 -2
  26. package/dist/cdn/{JRSCOKGO.js → PWFMAIRB.js} +2 -2
  27. package/dist/cdn/{4JWSHGI3.js → QXKRKCDT.js} +1 -1
  28. package/dist/cdn/{3YJ4XNZB.js → R7METAZI.js} +2 -2
  29. package/dist/cdn/{2I6RIEM7.js → RCEHEWVV.js} +2 -2
  30. package/dist/cdn/{PZRNLUV2.js → S7FHBAYV.js} +2 -2
  31. package/dist/cdn/{LA353F4X.js → SZOB7EAQ.js} +2 -2
  32. package/dist/cdn/{IBW6D6XX.js → TPZHKIIX.js} +2 -2
  33. package/dist/cdn/{IHQXGVXR.js → UO6Y6VSM.js} +2 -2
  34. package/dist/cdn/{ETNHCA5Y.js → VE7FAPV4.js} +2 -2
  35. package/dist/cdn/{ZHEJLKZX.js → VMQIQSRT.js} +2 -2
  36. package/dist/cdn/{AENVX2C7.js → VXGAJ3X5.js} +2 -2
  37. package/dist/cdn/{6JIAN4EB.js → XIFAX2H6.js} +2 -2
  38. package/dist/cdn/{VY47US65.js → XIYGDRGF.js} +2 -2
  39. package/dist/cdn/{4KXPB47L.js → ZEVKT23V.js} +2 -2
  40. package/dist/cdn/index.js +2 -2
  41. package/dist/chunks/runtime.js +1 -1
  42. package/dist/chunks/useT9n.js +1 -1
  43. package/dist/chunks/utils.js +1 -1
  44. package/dist/chunks/utils2.js +1 -1
  45. package/dist/components/arcgis-assistant/customElement.js +1 -1
  46. package/dist/components/arcgis-assistant-agent/customElement.js +1 -1
  47. package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
  48. package/dist/components/arcgis-assistant-chat-card/customElement.js +1 -1
  49. package/dist/components/arcgis-assistant-chat-card-content/customElement.js +1 -1
  50. package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
  51. package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -1
  52. package/dist/components/arcgis-assistant-interrupt/customElement.js +1 -1
  53. package/dist/components/arcgis-assistant-layer-filter-agent/customElement.js +1 -1
  54. package/dist/components/arcgis-assistant-layer-query-agent/customElement.js +1 -1
  55. package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +1 -1
  56. package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -1
  57. package/dist/components/arcgis-assistant-shell/customElement.js +1 -1
  58. package/dist/docs/api.json +2 -2
  59. package/dist/docs/docs.json +2 -2
  60. package/dist/docs/web-types.json +1 -1
  61. package/dist/index.js +1 -1
  62. package/dist/loader.js +1 -1
  63. package/package.json +6 -6
  64. package/dist/cdn/SQPT22F4.js +0 -4
@@ -1,4 +1,4 @@
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.135 */
4
- import d from"./GNYKVIRC.js";import{a as s,b as a}from"./XOXI7KQN.js";import c from"./ODYS7BCT.js";import"./4JWSHGI3.js";import"./K4DOBIBC.js";import{p as r,t as e}from"./I54YR7UU.js";import b from"./QFWBH3U2.js";import"./5EXI6IBC.js";import"./YQVK2H7R.js";export default $arcgis.t(([,,{c:i}])=>{var t=class extends r{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-filter-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await s(this,"arcgis-assistant-layer-filter-agent"),a(this)}};e("arcgis-assistant-layer-filter-agent",t);return t},b,c,d)
3
+ v5.0.0-next.136 */
4
+ import d from"./AU4REOCQ.js";import{a as s,b as a}from"./HYKMA4XQ.js";import c from"./MOKHHOZ6.js";import"./QXKRKCDT.js";import"./IRGK3XH4.js";import{p as r,t as e}from"./3TCMWTPD.js";import b from"./O7P4MUTM.js";import"./3UG5WTDE.js";import"./AZNXA22U.js";export default $arcgis.t(([,,{c:i}])=>{var t=class extends r{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-filter-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await s(this,"arcgis-assistant-layer-filter-agent"),a(this)}};e("arcgis-assistant-layer-filter-agent",t);return t},b,c,d)
@@ -1,4 +1,4 @@
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.135 */
3
+ v5.0.0-next.136 */
4
4
  function n(e){return e?typeof e=="string"?document.querySelector(e):e:null}export{n as a};
@@ -1,4 +1,4 @@
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.135 */
4
- import d from"./GNYKVIRC.js";import{a as i,b as e}from"./XOXI7KQN.js";import c from"./ODYS7BCT.js";import"./4JWSHGI3.js";import"./K4DOBIBC.js";import{p as a,t as s}from"./I54YR7UU.js";import b from"./QFWBH3U2.js";import"./5EXI6IBC.js";import"./YQVK2H7R.js";export default $arcgis.t(([,,{a:r}])=>{var t=class extends a{constructor(){super(...arguments),this.agent=r}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-navigation-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await i(this,"arcgis-assistant-navigation-agent"),e(this)}};s("arcgis-assistant-navigation-agent",t);return t},b,c,d)
3
+ v5.0.0-next.136 */
4
+ import d from"./AU4REOCQ.js";import{a as i,b as e}from"./HYKMA4XQ.js";import c from"./MOKHHOZ6.js";import"./QXKRKCDT.js";import"./IRGK3XH4.js";import{p as a,t as s}from"./3TCMWTPD.js";import b from"./O7P4MUTM.js";import"./3UG5WTDE.js";import"./AZNXA22U.js";export default $arcgis.t(([,,{a:r}])=>{var t=class extends a{constructor(){super(...arguments),this.agent=r}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-navigation-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await i(this,"arcgis-assistant-navigation-agent"),e(this)}};s("arcgis-assistant-navigation-agent",t);return t},b,c,d)
@@ -1,7 +1,7 @@
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.135 */
4
- import"./YQVK2H7R.js";var e=`## Navigation Agent - Tool Intent Classifier
3
+ v5.0.0-next.136 */
4
+ import"./AZNXA22U.js";var e=`## Navigation Agent - Tool Intent Classifier
5
5
 
6
6
  You are an assistant that classifies user intent for navigation agent.
7
7
 
@@ -1,7 +1,7 @@
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.135 */
4
- import"./YQVK2H7R.js";var e=`You are a knowledgeable GIS expert.
3
+ v5.0.0-next.136 */
4
+ import"./AZNXA22U.js";var e=`You are a knowledgeable GIS expert.
5
5
 
6
6
  You are given a Feature Service description and title.
7
7
 
@@ -1,4 +1,4 @@
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.135 */
4
- import"./YQVK2H7R.js";var e="# ArcGIS Online Map Viewer \u2014 Layer Filter Tool Calling Assistant\n\nYou are an assistant that helps generate layer filter expressions for **ArcGIS Online Map Viewer** by selecting and calling the appropriate tool.\n\nCRITICAL: You are FORBIDDEN from making multiple tool calls. You MUST make exactly ONE tool call.\n\n## You are given:\n\nA list of layers, with layerId, layerSummary and each with associated field information\n{layerFieldInfo}\n\nFieldInfo:\n\n- `name`: the actual field name used in layer filter expressions\n- `type`: one of `string`, `number`, `date`, etc.\n- `alias`: a human-readable label\n- `description`: optional field metadata\n- `statistics`: such as min, max, unique values, etc.\n\n## Your task\n\n1. Analyze the user's request and the provided layer and field information.\n2. Generate a **single ArcGIS SQL WHERE clause** to match features based on the user's request and intent.\n3. Select the most appropriate tool to call based on the user's request.\n\nThe tool will apply the provided WHERE clause to the layer in the map viewer.\n\n## SQL-92 Date/Time Syntax\n\nUser timezone: {userTimezone} ({userTimezoneOffset})\n\nDatabase stores dates in UTC. Convert user's local time to UTC.\n\nTo convert: if offset is `-08:00`, add 8 hours. If `-05:00`, add 5 hours.\n\nFormat: `TIMESTAMP 'YYYY-MM-DD HH:MM:SS'`\n\n### Rules for generating Layer Filter expressions:\n\n- Use only the field\u2019s **`name`** in the output expression.\n- Use metadata (`alias`, `description`, `statistics`) only to help understand the user's meaning \u2014 not in the syntax.\n- Use field `type` to choose appropriate operators:\n - **String** \u2192 `LIKE '%value%'`, `=`, `IN (...)`\n - **Number/Date** \u2192 `=`, `<`, `>`, `BETWEEN`, etc.\n- Use fields with the **highest `relevanceScore`**.\n- Fields are case sensitive.\n- DO NOT use subqueries or `SELECT` keyword.\n- Combine conditions with `AND`, `OR`, or `NOT` as appropriate.\n- If no meaningful layer filter can be generated, do not call a tool.\n";export{e as default};
3
+ v5.0.0-next.136 */
4
+ import"./AZNXA22U.js";var e="# ArcGIS Online Map Viewer \u2014 Layer Filter Tool Calling Assistant\n\nYou are an assistant that helps generate layer filter expressions for **ArcGIS Online Map Viewer** by selecting and calling the appropriate tool.\n\nCRITICAL: You are FORBIDDEN from making multiple tool calls. You MUST make exactly ONE tool call.\n\n## You are given:\n\nA list of layers, with layerId, layerSummary and each with associated field information\n{layerFieldInfo}\n\nFieldInfo:\n\n- `name`: the actual field name used in layer filter expressions\n- `type`: one of `string`, `number`, `date`, etc.\n- `alias`: a human-readable label\n- `description`: optional field metadata\n- `statistics`: such as min, max, unique values, etc.\n\n## Your task\n\n1. Analyze the user's request and the provided layer and field information.\n2. Generate a **single ArcGIS SQL WHERE clause** to match features based on the user's request and intent.\n3. Select the most appropriate tool to call based on the user's request.\n\nThe tool will apply the provided WHERE clause to the layer in the map viewer.\n\n## SQL-92 Date/Time Syntax\n\nUser timezone: {userTimezone} ({userTimezoneOffset})\n\nDatabase stores dates in UTC. Convert user's local time to UTC.\n\nTo convert: if offset is `-08:00`, add 8 hours. If `-05:00`, add 5 hours.\n\nFormat: `TIMESTAMP 'YYYY-MM-DD HH:MM:SS'`\n\n### Rules for generating Layer Filter expressions:\n\n- Use only the field\u2019s **`name`** in the output expression.\n- Use metadata (`alias`, `description`, `statistics`) only to help understand the user's meaning \u2014 not in the syntax.\n- Use field `type` to choose appropriate operators:\n - **String** \u2192 `LIKE '%value%'`, `=`, `IN (...)`\n - **Number/Date** \u2192 `=`, `<`, `>`, `BETWEEN`, etc.\n- Use fields with the **highest `relevanceScore`**.\n- Fields are case sensitive.\n- DO NOT use subqueries or `SELECT` keyword.\n- Combine conditions with `AND`, `OR`, or `NOT` as appropriate.\n- If no meaningful layer filter can be generated, do not call a tool.\n";export{e as default};
@@ -1,4 +1,4 @@
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.135 */
4
- import{Zb as a}from"./5EXI6IBC.js";import"./YQVK2H7R.js";export{a as PromptTemplate};
3
+ v5.0.0-next.136 */
4
+ import{Zb as a}from"./3UG5WTDE.js";import"./AZNXA22U.js";export{a as PromptTemplate};
@@ -1,4 +1,4 @@
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.135 */
4
- import{b as a}from"./XOXI7KQN.js";import"./4JWSHGI3.js";import"./K4DOBIBC.js";import{p as s,t as e}from"./I54YR7UU.js";import"./YQVK2H7R.js";var t=class extends s{static{this.properties={agent:0,context:0}}getContext(){return this.context}load(){a(this)}};e("arcgis-assistant-agent",t);export{t as ArcgisAssistantAgent};
3
+ v5.0.0-next.136 */
4
+ import{b as a}from"./HYKMA4XQ.js";import"./QXKRKCDT.js";import"./IRGK3XH4.js";import{p as s,t as e}from"./3TCMWTPD.js";import"./AZNXA22U.js";var t=class extends s{static{this.properties={agent:0,context:0}}getContext(){return this.context}load(){a(this)}};e("arcgis-assistant-agent",t);export{t as ArcgisAssistantAgent};
@@ -1,4 +1,4 @@
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.135 */
4
- import d from"./GNYKVIRC.js";import{a as e,b as i}from"./XOXI7KQN.js";import c from"./ODYS7BCT.js";import"./4JWSHGI3.js";import"./K4DOBIBC.js";import{p as s,t as a}from"./I54YR7UU.js";import b from"./QFWBH3U2.js";import"./5EXI6IBC.js";import"./YQVK2H7R.js";export default $arcgis.t(([,,{e:r}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=r}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-styling-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await e(this,"arcgis-assistant-layer-styling-agent"),i(this)}};a("arcgis-assistant-layer-styling-agent",t);return t},b,c,d)
3
+ v5.0.0-next.136 */
4
+ import d from"./AU4REOCQ.js";import{a as e,b as i}from"./HYKMA4XQ.js";import c from"./MOKHHOZ6.js";import"./QXKRKCDT.js";import"./IRGK3XH4.js";import{p as s,t as a}from"./3TCMWTPD.js";import b from"./O7P4MUTM.js";import"./3UG5WTDE.js";import"./AZNXA22U.js";export default $arcgis.t(([,,{e:r}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=r}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-styling-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await e(this,"arcgis-assistant-layer-styling-agent"),i(this)}};a("arcgis-assistant-layer-styling-agent",t);return t},b,c,d)
@@ -1,4 +1,4 @@
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.135 */
4
- import{g as i,h as t,p as r,q as e,t as o}from"./I54YR7UU.js";import"./YQVK2H7R.js";var c=i`.assistant-chat-card-content__skeleton-block{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);width:100%}.assistant-chat-card-content__skeleton-text{display:block;height:.95em;border-radius:6px;background:linear-gradient(90deg,color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent),color-mix(in srgb,var(--calcite-color-foreground-3) 85%,transparent),color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent));background-size:200% 100%;animation:assistant-chat-card-content-shimmer 1.2s ease-in-out infinite;width:85%}.assistant-chat-card-content__skeleton-text:last-child{width:70%}@keyframes assistant-chat-card-content-shimmer{0%{background-position:-150% 0}to{background-position:150% 0}}@media(prefers-reduced-motion){.assistant-chat-card-content__skeleton-text{animation:none}}.assistant-chat-card-content__text-container{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.assistant-chat-card-content__text-loading{font-style:italic;word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.assistant-chat-card-content__error-notice{padding:var(--calcite-spacing-sm)}`,n="assistant-chat-card-content",a={textLoading:`${n}__text-loading`,skeletonBlock:`${n}__skeleton-block`,skeletonText:`${n}__skeleton-text`},s=class extends r{constructor(){super(...arguments),this.loading=!1,this.type="text"}static{this.properties={loading:5,type:1,content:1,loadingMessage:1}}static{this.styles=c}_renderText(){return t`<div class="assistant-chat-card-content__text-container"><div><span class=${e(this.loading?a.textLoading:void 0)}>${this.loading?this.loadingMessage:this.content}</span></div>${this.loading?t`<div class=${e(a.skeletonBlock)}><span class=${e(a.skeletonText)}></span><span class=${e(a.skeletonText)}></span></div>`:null}</div>`}_renderError(){return t`<calcite-notice class="assistant-chat-card-content__error-notice" open icon kind=warning width=auto><div slot=message>${this.content}</div></calcite-notice>`}render(){switch(this.type){case"text":return this._renderText();case"error":return this._renderError();default:return t`<p>Unsupported content type</p>`}}};o("arcgis-assistant-chat-card-content",s);export{s as ArcgisAssistantChatCardContent};
3
+ v5.0.0-next.136 */
4
+ import{g as i,h as t,p as r,q as e,t as o}from"./3TCMWTPD.js";import"./AZNXA22U.js";var c=i`.assistant-chat-card-content__skeleton-block{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);width:100%}.assistant-chat-card-content__skeleton-text{display:block;height:.95em;border-radius:6px;background:linear-gradient(90deg,color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent),color-mix(in srgb,var(--calcite-color-foreground-3) 85%,transparent),color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent));background-size:200% 100%;animation:assistant-chat-card-content-shimmer 1.2s ease-in-out infinite;width:85%}.assistant-chat-card-content__skeleton-text:last-child{width:70%}@keyframes assistant-chat-card-content-shimmer{0%{background-position:-150% 0}to{background-position:150% 0}}@media(prefers-reduced-motion){.assistant-chat-card-content__skeleton-text{animation:none}}.assistant-chat-card-content__text-container{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.assistant-chat-card-content__text-loading{font-style:italic;word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.assistant-chat-card-content__error-notice{padding:var(--calcite-spacing-sm)}`,n="assistant-chat-card-content",a={textLoading:`${n}__text-loading`,skeletonBlock:`${n}__skeleton-block`,skeletonText:`${n}__skeleton-text`},s=class extends r{constructor(){super(...arguments),this.loading=!1,this.type="text"}static{this.properties={loading:5,type:1,content:1,loadingMessage:1}}static{this.styles=c}_renderText(){return t`<div class="assistant-chat-card-content__text-container"><div><span class=${e(this.loading?a.textLoading:void 0)}>${this.loading?this.loadingMessage:this.content}</span></div>${this.loading?t`<div class=${e(a.skeletonBlock)}><span class=${e(a.skeletonText)}></span><span class=${e(a.skeletonText)}></span></div>`:null}</div>`}_renderError(){return t`<calcite-notice class="assistant-chat-card-content__error-notice" open icon kind=warning width=auto><div slot=message>${this.content}</div></calcite-notice>`}render(){switch(this.type){case"text":return this._renderText();case"error":return this._renderError();default:return t`<p>Unsupported content type</p>`}}};o("arcgis-assistant-chat-card-content",s);export{s as ArcgisAssistantChatCardContent};
@@ -1,4 +1,4 @@
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.135 */
4
- import{g as e,h as t,n as i,o,p as r,t as n}from"./I54YR7UU.js";import"./YQVK2H7R.js";export default $arcgis.t(([c,{watch:l}])=>{var g=e`.assistant-chat__messages-container{display:flex;flex:1;flex-direction:column}.assistant-chat__messages-list{padding:var(--calcite-spacing-lg);display:flex;flex-direction:column;gap:var(--calcite-spacing-md);flex:1 1 auto;min-height:0;justify-content:flex-end;overflow:auto}`,a=class extends r{constructor(){super(...arguments),this.#s=i(),this.loading=!1,this.loadingMessage="",this.messages=new c([])}static{this.properties={loading:5,loadingMessage:1,user:1,messages:0}}static{this.styles=g}#s;firstUpdated(){this._scrollToEnd()}loaded(){this.manager.onLifecycle(()=>[this.messages.on("change",()=>{this.requestUpdate(),this._scrollToEnd()}),l(()=>this.loading,()=>{this._scrollToEnd()})])}_scrollToEnd(){requestAnimationFrame(()=>{this.#s.value?.scrollIntoView({behavior:"smooth"})})}render(){return t`<div class="assistant-chat__messages-container"><div class="assistant-chat__messages-list"><slot></slot>${this.messages.map(s=>t`<arcgis-assistant-chat-card .type=${s.type} .content=${s.content} .log=${s.log} .error=${s.error} .user=${this.user}></arcgis-assistant-chat-card>`)}${this.loading?t`<arcgis-assistant-chat-card .loading=${this.loading} .loadingMessage=${this.loadingMessage} type=response></arcgis-assistant-chat-card>`:null}</div><div ${o(this.#s)}></div></div>`}};n("arcgis-assistant-chat",a);return a},"core/Collection","core/reactiveUtils")
3
+ v5.0.0-next.136 */
4
+ import{g as e,h as t,n as i,o,p as r,t as n}from"./3TCMWTPD.js";import"./AZNXA22U.js";export default $arcgis.t(([c,{watch:l}])=>{var g=e`.assistant-chat__messages-container{display:flex;flex:1;flex-direction:column}.assistant-chat__messages-list{padding:var(--calcite-spacing-lg);display:flex;flex-direction:column;gap:var(--calcite-spacing-md);flex:1 1 auto;min-height:0;justify-content:flex-end;overflow:auto}`,a=class extends r{constructor(){super(...arguments),this.#s=i(),this.loading=!1,this.loadingMessage="",this.messages=new c([])}static{this.properties={loading:5,loadingMessage:1,user:1,messages:0}}static{this.styles=g}#s;firstUpdated(){this._scrollToEnd()}loaded(){this.manager.onLifecycle(()=>[this.messages.on("change",()=>{this.requestUpdate(),this._scrollToEnd()}),l(()=>this.loading,()=>{this._scrollToEnd()})])}_scrollToEnd(){requestAnimationFrame(()=>{this.#s.value?.scrollIntoView({behavior:"smooth"})})}render(){return t`<div class="assistant-chat__messages-container"><div class="assistant-chat__messages-list"><slot></slot>${this.messages.map(s=>t`<arcgis-assistant-chat-card .type=${s.type} .content=${s.content} .log=${s.log} .error=${s.error} .user=${this.user}></arcgis-assistant-chat-card>`)}${this.loading?t`<arcgis-assistant-chat-card .loading=${this.loading} .loadingMessage=${this.loadingMessage} type=response></arcgis-assistant-chat-card>`:null}</div><div ${o(this.#s)}></div></div>`}};n("arcgis-assistant-chat",a);return a},"core/Collection","core/reactiveUtils")
@@ -1,4 +1,4 @@
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.135 */
4
- import{a as c}from"./NCD5D6JY.js";import"./K4DOBIBC.js";import{g as e,h as t,p as s,t as i}from"./I54YR7UU.js";import"./YQVK2H7R.js";var r=e`.assistant-chat-card__prompt-container{display:flex;align-items:center;gap:var(--calcite-spacing-md);background:color-mix(in srgb,var(--calcite-color-brand) 25%,transparent);padding:var(--calcite-spacing-md);border-radius:var(--calcite-border-radius);width:fit-content;margin-left:auto;justify-content:flex-end}.assistant-chat-card__prompt-avatar{display:flex;align-items:center;justify-content:center}.assistant-chat-card__content-container{display:flex;flex:1;flex-direction:column;width:100%}.assistant-chat-card__response-container{display:flex;flex-direction:column;align-items:flex-start;gap:var(--calcite-spacing-sm);width:100%;text-align:left}.assistant-chat-card__response-icon{padding:var(--calcite-spacing-sm);border-radius:var(--calcite-spacing-xl);background:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}.assistant-chat-card__footer{display:flex;width:100%;justify-content:space-between;padding:0 var(--calcite-spacing-xxs)}.assistant-chat-card__feedback-actions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xxs)}.assistant-chat-card__log-container{padding:0 var(--calcite-spacing-sm);border-radius:var(--calcite-border-radius);margin-bottom:var(--calcite-spacing-sm)}.assistant-chat-card__log{margin:0;font-size:var(--calcite-font-size-sm);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);width:100%;overflow:auto}.assistant-chat-card__footer-start{display:flex;gap:var(--calcite-spacing-xxs)}@media(min-width:1280px){.assistant-chat-card__prompt-container,.assistant-chat-card__response-container{max-width:80%}}`,a=class extends s{constructor(){super(...arguments),this._messages=c({blocking:!0}),this._showLog=!1,this.loading=!1,this.type="prompt",this.feedbackDisabled=!1,this.timestampDisabled=!1}static{this.properties={_showLog:16,loading:5,type:1,feedbackDisabled:5,timestampDisabled:5,content:1,loadingMessage:1,log:1,error:1,user:1}}static{this.styles=r}_renderLog(){return this.log&&this._showLog?t`<div class="assistant-chat-card__log-container"><pre class="assistant-chat-card__log">${this.log}</pre></div>`:null}_renderThumbsUpButton(){return t`<calcite-action id=action-thumbs-up icon=thumbs-up scale=s appearance=transparent @click=${()=>{}} text></calcite-action><calcite-tooltip reference-element=action-thumbs-up overlay-positioning=fixed placement=bottom><span>${this._messages.thumbsUpLabel}</span></calcite-tooltip>`}_renderThumbsDownButton(){return t`<calcite-action id=action-thumbs-down icon=thumbs-down scale=s appearance=transparent @click=${()=>{}} text></calcite-action><calcite-tooltip reference-element=action-thumbs-down overlay-positioning=fixed placement=bottom><span>${this._messages.thumbsDownLabel}</span></calcite-tooltip>`}_renderFeedback(){return!this.feedbackDisabled&&!this.error?t`<div class="assistant-chat-card__feedback-actions">${this._renderThumbsUpButton()}${this._renderThumbsDownButton()}</div>`:null}_renderCopyButton(){return this.error?null:t`<calcite-action id=action-copy icon=copy-to-clipboard scale=s appearance=transparent @click=${async()=>{try{this.content&&await navigator.clipboard.writeText(this.content)}catch(n){console.error("Failed to copy text to clipboard:",n)}}} text></calcite-action><calcite-tooltip reference-element=action-copy overlay-positioning=fixed placement=bottom><span>${this._messages.copyButtonLabel}</span></calcite-tooltip>`}_renderLogButton(){return this.log?t`<calcite-action id=action-log icon=access-string-results scale=s appearance=transparent @click=${()=>this._showLog=!this._showLog} .text=${this._messages.logButtonLabel} .active=${this._showLog}></calcite-action><calcite-tooltip reference-element=action-log overlay-positioning=fixed placement=bottom><span>${this._messages.logButtonLabel}</span></calcite-tooltip>`:null}_renderFooter(){return this.loading?null:t`<div class="assistant-chat-card__footer"><slot name=footer-start class="assistant-chat-card__footer-start">${this._renderCopyButton()}${this._renderLogButton()}</slot>${this._renderFeedback()}</div>`}render(){return this.type==="prompt"?t`<div class="assistant-chat-card__prompt-container"><div>${this.content}</div><div class="assistant-chat-card__prompt-avatar"><calcite-avatar .fullName=${this.user} scale=s></calcite-avatar></div></div>`:t`<div class="assistant-chat-card__response-container"><calcite-icon icon=effects class="assistant-chat-card__response-icon"></calcite-icon><div class="assistant-chat-card__content-container"><arcgis-assistant-chat-card-content .loading=${this.loading} .loadingMessage=${this.loadingMessage} .type=${this.error?"error":"text"} .content=${this.error??this.content}></arcgis-assistant-chat-card-content>${this._renderLog()}${this._renderFooter()}</div></div>`}};i("arcgis-assistant-chat-card",a);export{a as ArcgisAssistantChatCard};
3
+ v5.0.0-next.136 */
4
+ import{a as c}from"./LC6VCY7C.js";import"./IRGK3XH4.js";import{g as e,h as t,p as s,t as i}from"./3TCMWTPD.js";import"./AZNXA22U.js";var r=e`.assistant-chat-card__prompt-container{display:flex;align-items:center;gap:var(--calcite-spacing-md);background:color-mix(in srgb,var(--calcite-color-brand) 25%,transparent);padding:var(--calcite-spacing-md);border-radius:var(--calcite-border-radius);width:fit-content;margin-left:auto;justify-content:flex-end}.assistant-chat-card__prompt-avatar{display:flex;align-items:center;justify-content:center}.assistant-chat-card__content-container{display:flex;flex:1;flex-direction:column;width:100%}.assistant-chat-card__response-container{display:flex;flex-direction:column;align-items:flex-start;gap:var(--calcite-spacing-sm);width:100%;text-align:left}.assistant-chat-card__response-icon{padding:var(--calcite-spacing-sm);border-radius:var(--calcite-spacing-xl);background:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}.assistant-chat-card__footer{display:flex;width:100%;justify-content:space-between;padding:0 var(--calcite-spacing-xxs)}.assistant-chat-card__feedback-actions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xxs)}.assistant-chat-card__log-container{padding:0 var(--calcite-spacing-sm);border-radius:var(--calcite-border-radius);margin-bottom:var(--calcite-spacing-sm)}.assistant-chat-card__log{margin:0;font-size:var(--calcite-font-size-sm);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);width:100%;overflow:auto}.assistant-chat-card__footer-start{display:flex;gap:var(--calcite-spacing-xxs)}@media(min-width:1280px){.assistant-chat-card__prompt-container,.assistant-chat-card__response-container{max-width:80%}}`,a=class extends s{constructor(){super(...arguments),this._messages=c({blocking:!0}),this._showLog=!1,this.loading=!1,this.type="prompt",this.feedbackDisabled=!1,this.timestampDisabled=!1}static{this.properties={_showLog:16,loading:5,type:1,feedbackDisabled:5,timestampDisabled:5,content:1,loadingMessage:1,log:1,error:1,user:1}}static{this.styles=r}_renderLog(){return this.log&&this._showLog?t`<div class="assistant-chat-card__log-container"><pre class="assistant-chat-card__log">${this.log}</pre></div>`:null}_renderThumbsUpButton(){return t`<calcite-action id=action-thumbs-up icon=thumbs-up scale=s appearance=transparent @click=${()=>{}} text></calcite-action><calcite-tooltip reference-element=action-thumbs-up overlay-positioning=fixed placement=bottom><span>${this._messages.thumbsUpLabel}</span></calcite-tooltip>`}_renderThumbsDownButton(){return t`<calcite-action id=action-thumbs-down icon=thumbs-down scale=s appearance=transparent @click=${()=>{}} text></calcite-action><calcite-tooltip reference-element=action-thumbs-down overlay-positioning=fixed placement=bottom><span>${this._messages.thumbsDownLabel}</span></calcite-tooltip>`}_renderFeedback(){return!this.feedbackDisabled&&!this.error?t`<div class="assistant-chat-card__feedback-actions">${this._renderThumbsUpButton()}${this._renderThumbsDownButton()}</div>`:null}_renderCopyButton(){return this.error?null:t`<calcite-action id=action-copy icon=copy-to-clipboard scale=s appearance=transparent @click=${async()=>{try{this.content&&await navigator.clipboard.writeText(this.content)}catch(n){console.error("Failed to copy text to clipboard:",n)}}} text></calcite-action><calcite-tooltip reference-element=action-copy overlay-positioning=fixed placement=bottom><span>${this._messages.copyButtonLabel}</span></calcite-tooltip>`}_renderLogButton(){return this.log?t`<calcite-action id=action-log icon=access-string-results scale=s appearance=transparent @click=${()=>this._showLog=!this._showLog} .text=${this._messages.logButtonLabel} .active=${this._showLog}></calcite-action><calcite-tooltip reference-element=action-log overlay-positioning=fixed placement=bottom><span>${this._messages.logButtonLabel}</span></calcite-tooltip>`:null}_renderFooter(){return this.loading?null:t`<div class="assistant-chat-card__footer"><slot name=footer-start class="assistant-chat-card__footer-start">${this._renderCopyButton()}${this._renderLogButton()}</slot>${this._renderFeedback()}</div>`}render(){return this.type==="prompt"?t`<div class="assistant-chat-card__prompt-container"><div>${this.content}</div><div class="assistant-chat-card__prompt-avatar"><calcite-avatar .fullName=${this.user} scale=s></calcite-avatar></div></div>`:t`<div class="assistant-chat-card__response-container"><calcite-icon icon=effects class="assistant-chat-card__response-icon"></calcite-icon><div class="assistant-chat-card__content-container"><arcgis-assistant-chat-card-content .loading=${this.loading} .loadingMessage=${this.loadingMessage} .type=${this.error?"error":"text"} .content=${this.error??this.content}></arcgis-assistant-chat-card-content>${this._renderLog()}${this._renderFooter()}</div></div>`}};i("arcgis-assistant-chat-card",a);export{a as ArcgisAssistantChatCard};
@@ -1,7 +1,7 @@
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.135 */
4
- import"./YQVK2H7R.js";var e=`# ArcGIS Online Map Viewer \u2014 Smart Mapping Assistant
3
+ v5.0.0-next.136 */
4
+ import"./AZNXA22U.js";var e=`# ArcGIS Online Map Viewer \u2014 Smart Mapping Assistant
5
5
 
6
6
  You are a Smart Mapping Assistant for ArcGIS Online Map Viewer.
7
7
 
@@ -1,4 +1,4 @@
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.135 */
4
- import{a as u}from"./NCD5D6JY.js";import"./K4DOBIBC.js";import{g as i,h as s,k as a,n as r,o as n,p as c,r as o,t as l}from"./I54YR7UU.js";import"./YQVK2H7R.js";export default $arcgis.t(([{watch:h}])=>{var d=i`.assistant-chat-entry__input-container{display:flex;flex-direction:column}.assistant-chat-entry__footer-start{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap;align-items:center}.assistant-chat-entry__footer-end{display:flex;gap:var(--calcite-spacing-md);align-items:center}.assistant-chat-entry__status-indicator{width:9px;height:9px;border-radius:100%;background-color:var(--calcite-color-status-success)}.assistant-chat-entry__status-indicator[data-status=working]{background-color:var(--calcite-color-status-warning)}.assistant-chat-entry__status-indicator[data-status=error]{background-color:var(--calcite-color-status-danger)}.assistant-chat-entry__status-text{text-transform:capitalize}`,e=class extends c{constructor(){super(...arguments),this.#t=r(),this._messages=u({blocking:!0}),this.enterKeySubmits=!0,this.awaitingResponse=!1,this.inputValue="",this.arcgisCancel=a(),this.arcgisSubmit=a()}static{this.properties={enterKeySubmits:5,entryPlaceholder:1,awaitingResponse:5,inputValue:1,status:1}}static{this.styles=d}#t;loaded(){this.manager.onLifecycle(()=>[h(()=>this.inputValue,t=>{this.#t.value&&(this.#t.value.value=t)},{initial:!0})])}async _submitMessage(){if(this.awaitingResponse){this.arcgisCancel.emit();return}let t=this.#t.value?.value.trim();t&&(this.arcgisSubmit.emit(t),this.#t.value&&(this.#t.value.value="",await this.#t.value.setFocus()))}render(){return s`<div class="assistant-chat-entry__input-container"><calcite-text-area .value=${this.#t.value?.value} .placeholder=${this.entryPlaceholder??this._messages.entryPlaceholder} @keydown=${async t=>{t.key==="Enter"&&!t.shiftKey&&this.enterKeySubmits&&(t.preventDefault(),await this._submitMessage())}} ${n(this.#t)}><div slot=footer-start class="assistant-chat-entry__footer-start"><slot name=entry-actions-start></slot></div><div slot=footer-end class="assistant-chat-entry__footer-end">${this.status?s`<div id=tooltip-status class="assistant-chat-entry__status-indicator" data-status=${this.status??o}></div><calcite-tooltip reference-element=tooltip-status offset-distance=12><span class="assistant-chat-entry__status-text">${this.status}</span></calcite-tooltip>`:null}<calcite-button .iconStart=${this.awaitingResponse?"circle-stop":"send"} slot=footer-end round @click=${()=>void this._submitMessage()}>${this.awaitingResponse?this._messages.stopButtonLabel:this._messages.askButtonLabel}</calcite-button></div></calcite-text-area></div>`}};l("arcgis-assistant-chat-entry",e);return e},"core/reactiveUtils")
3
+ v5.0.0-next.136 */
4
+ import{a as u}from"./LC6VCY7C.js";import"./IRGK3XH4.js";import{g as i,h as s,k as a,n as r,o as n,p as c,r as o,t as l}from"./3TCMWTPD.js";import"./AZNXA22U.js";export default $arcgis.t(([{watch:h}])=>{var d=i`.assistant-chat-entry__input-container{display:flex;flex-direction:column}.assistant-chat-entry__footer-start{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap;align-items:center}.assistant-chat-entry__footer-end{display:flex;gap:var(--calcite-spacing-md);align-items:center}.assistant-chat-entry__status-indicator{width:9px;height:9px;border-radius:100%;background-color:var(--calcite-color-status-success)}.assistant-chat-entry__status-indicator[data-status=working]{background-color:var(--calcite-color-status-warning)}.assistant-chat-entry__status-indicator[data-status=error]{background-color:var(--calcite-color-status-danger)}.assistant-chat-entry__status-text{text-transform:capitalize}`,e=class extends c{constructor(){super(...arguments),this.#t=r(),this._messages=u({blocking:!0}),this.enterKeySubmits=!0,this.awaitingResponse=!1,this.inputValue="",this.arcgisCancel=a(),this.arcgisSubmit=a()}static{this.properties={enterKeySubmits:5,entryPlaceholder:1,awaitingResponse:5,inputValue:1,status:1}}static{this.styles=d}#t;loaded(){this.manager.onLifecycle(()=>[h(()=>this.inputValue,t=>{this.#t.value&&(this.#t.value.value=t)},{initial:!0})])}async _submitMessage(){if(this.awaitingResponse){this.arcgisCancel.emit();return}let t=this.#t.value?.value.trim();t&&(this.arcgisSubmit.emit(t),this.#t.value&&(this.#t.value.value="",await this.#t.value.setFocus()))}render(){return s`<div class="assistant-chat-entry__input-container"><calcite-text-area .value=${this.#t.value?.value} .placeholder=${this.entryPlaceholder??this._messages.entryPlaceholder} @keydown=${async t=>{t.key==="Enter"&&!t.shiftKey&&this.enterKeySubmits&&(t.preventDefault(),await this._submitMessage())}} ${n(this.#t)}><div slot=footer-start class="assistant-chat-entry__footer-start"><slot name=entry-actions-start></slot></div><div slot=footer-end class="assistant-chat-entry__footer-end">${this.status?s`<div id=tooltip-status class="assistant-chat-entry__status-indicator" data-status=${this.status??o}></div><calcite-tooltip reference-element=tooltip-status offset-distance=12><span class="assistant-chat-entry__status-text">${this.status}</span></calcite-tooltip>`:null}<calcite-button .iconStart=${this.awaitingResponse?"circle-stop":"send"} slot=footer-end round @click=${()=>void this._submitMessage()}>${this.awaitingResponse?this._messages.stopButtonLabel:this._messages.askButtonLabel}</calcite-button></div></calcite-text-area></div>`}};l("arcgis-assistant-chat-entry",e);return e},"core/reactiveUtils")
package/dist/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
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.135 */
4
- import{m as t,s as e}from"./I54YR7UU.js";import"./YQVK2H7R.js";var s=t(e,{"arcgis-assistant":[()=>import("./BSFH6ITF.js"),"description,entryMessage,heading,orchestrator:,portal:,referenceElement,suggestedPrompts:;;register"],"arcgis-assistant-agent":[()=>import("./IHQXGVXR.js"),"agent:,context:;;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./UROLRFUN.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-filter-agent":[()=>import("./JRSCOKGO.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-query-agent":[()=>import("./ZZIAB76W.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-styling-agent":[()=>import("./ETNHCA5Y.js"),"referenceElement;;getContext"],"arcgis-assistant-navigation-agent":[()=>import("./3YJ4XNZB.js"),"referenceElement;;getContext"],"arcgis-assistant-chat":[()=>import("./AENVX2C7.js"),"loading,loadingMessage,messages:,user"],"arcgis-assistant-chat-card":[()=>import("./6JIAN4EB.js"),"content,error,feedbackDisabled,loading,loadingMessage,log,timestampDisabled,type,user"],"arcgis-assistant-chat-card-content":[()=>import("./ZHEJLKZX.js"),"content,loading,loadingMessage,type"],"arcgis-assistant-chat-entry":[()=>import("./4KXPB47L.js"),"awaitingResponse,enterKeySubmits,entryPlaceholder,inputValue,status"],"arcgis-assistant-interrupt":[()=>import("./NPQWPRM6.js"),"message,options:,type"],"arcgis-assistant-shell":[()=>import("./LQKHGIXO.js"),"awaitingResponse,description,entryMessage,entryMessageClosed,heading,inputValue,loading,status,suggestedPrompts:"]});s({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync("@layer{:not([hydrated]):is(arcgis-assistant,arcgis-assistant-agent,arcgis-assistant-data-exploration-agent,arcgis-assistant-layer-filter-agent,arcgis-assistant-layer-query-agent,arcgis-assistant-layer-styling-agent,arcgis-assistant-navigation-agent,arcgis-assistant-chat,arcgis-assistant-chat-card,arcgis-assistant-chat-card-content,arcgis-assistant-chat-entry,arcgis-assistant-interrupt,arcgis-assistant-shell){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,e)
3
+ v5.0.0-next.136 */
4
+ import{m as t,s as e}from"./3TCMWTPD.js";import"./AZNXA22U.js";var s=t(e,{"arcgis-assistant":[()=>import("./MNIES7DU.js"),"description,entryMessage,heading,orchestrator:,portal:,referenceElement,suggestedPrompts:;;register"],"arcgis-assistant-agent":[()=>import("./UO6Y6VSM.js"),"agent:,context:;;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./4LENP43C.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-filter-agent":[()=>import("./PWFMAIRB.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-query-agent":[()=>import("./62ILUOJY.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-styling-agent":[()=>import("./VE7FAPV4.js"),"referenceElement;;getContext"],"arcgis-assistant-navigation-agent":[()=>import("./R7METAZI.js"),"referenceElement;;getContext"],"arcgis-assistant-chat":[()=>import("./VXGAJ3X5.js"),"loading,loadingMessage,messages:,user"],"arcgis-assistant-chat-card":[()=>import("./XIFAX2H6.js"),"content,error,feedbackDisabled,loading,loadingMessage,log,timestampDisabled,type,user"],"arcgis-assistant-chat-card-content":[()=>import("./VMQIQSRT.js"),"content,loading,loadingMessage,type"],"arcgis-assistant-chat-entry":[()=>import("./ZEVKT23V.js"),"awaitingResponse,enterKeySubmits,entryPlaceholder,inputValue,status"],"arcgis-assistant-interrupt":[()=>import("./AA4MFJ3S.js"),"message,options:,type"],"arcgis-assistant-shell":[()=>import("./FJVWWC7W.js"),"awaitingResponse,description,entryMessage,entryMessageClosed,heading,inputValue,loading,status,suggestedPrompts:"]});s({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync("@layer{:not([hydrated]):is(arcgis-assistant,arcgis-assistant-agent,arcgis-assistant-data-exploration-agent,arcgis-assistant-layer-filter-agent,arcgis-assistant-layer-query-agent,arcgis-assistant-layer-styling-agent,arcgis-assistant-navigation-agent,arcgis-assistant-chat,arcgis-assistant-chat-card,arcgis-assistant-chat-card-content,arcgis-assistant-chat-entry,arcgis-assistant-interrupt,arcgis-assistant-shell){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,e)
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as a, createTrackingTarget as r, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.135 */
6
+ v5.0.0-next.136 */
7
7
  const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-next/ai-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: d } = t;
8
8
  t.t = s;
9
9
  t.o = a;
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.135 */
5
+ v5.0.0-next.136 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -2,7 +2,7 @@ import { getClosestElement as i } from "@arcgis/toolkit/dom";
2
2
  import { g as a } from "./utils2.js";
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.135 */
5
+ v5.0.0-next.136 */
6
6
  function o(e, t) {
7
7
  const n = a(e.referenceElement);
8
8
  if (n)
@@ -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.135 */
3
+ v5.0.0-next.136 */
4
4
  function u(t) {
5
5
  return t ? typeof t == "string" ? document.querySelector(t) : t : null;
6
6
  }
@@ -12,7 +12,7 @@ import { g as P } from "../../chunks/utils2.js";
12
12
  import { u as S } from "../../chunks/useT9n.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
15
- v5.0.0-next.135 */
15
+ v5.0.0-next.136 */
16
16
  const k = v`:host{height:100%}`;
17
17
  var H = Object.defineProperty, M = Object.getOwnPropertyDescriptor, a = (l, t, e, r) => {
18
18
  for (var s = r > 1 ? void 0 : r ? M(t, e) : t, n = l.length - 1, o; n >= 0; n--)
@@ -3,7 +3,7 @@ import { LitElement as s } from "@arcgis/lumina";
3
3
  import { i as e } from "../../chunks/utils.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.135 */
6
+ v5.0.0-next.136 */
7
7
  class i extends s {
8
8
  static {
9
9
  this.properties = { agent: 0, context: 0 };
@@ -6,7 +6,7 @@ import r from "@arcgis/core/core/Collection.js";
6
6
  import { watch as l } from "@arcgis/core/core/reactiveUtils.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.135 */
9
+ v5.0.0-next.136 */
10
10
  const c = e`.assistant-chat__messages-container{display:flex;flex:1;flex-direction:column}.assistant-chat__messages-list{padding:var(--calcite-spacing-lg);display:flex;flex-direction:column;gap:var(--calcite-spacing-md);flex:1 1 auto;min-height:0;justify-content:flex-end;overflow:auto}`;
11
11
  class d extends i {
12
12
  constructor() {
@@ -4,7 +4,7 @@ import { LitElement as i } from "@arcgis/lumina";
4
4
  import { u as c } from "../../chunks/useT9n.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  const n = s`.assistant-chat-card__prompt-container{display:flex;align-items:center;gap:var(--calcite-spacing-md);background:color-mix(in srgb,var(--calcite-color-brand) 25%,transparent);padding:var(--calcite-spacing-md);border-radius:var(--calcite-border-radius);width:fit-content;margin-left:auto;justify-content:flex-end}.assistant-chat-card__prompt-avatar{display:flex;align-items:center;justify-content:center}.assistant-chat-card__content-container{display:flex;flex:1;flex-direction:column;width:100%}.assistant-chat-card__response-container{display:flex;flex-direction:column;align-items:flex-start;gap:var(--calcite-spacing-sm);width:100%;text-align:left}.assistant-chat-card__response-icon{padding:var(--calcite-spacing-sm);border-radius:var(--calcite-spacing-xl);background:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}.assistant-chat-card__footer{display:flex;width:100%;justify-content:space-between;padding:0 var(--calcite-spacing-xxs)}.assistant-chat-card__feedback-actions{display:flex;flex-direction:row;gap:var(--calcite-spacing-xxs)}.assistant-chat-card__log-container{padding:0 var(--calcite-spacing-sm);border-radius:var(--calcite-border-radius);margin-bottom:var(--calcite-spacing-sm)}.assistant-chat-card__log{margin:0;font-size:var(--calcite-font-size-sm);padding:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);width:100%;overflow:auto}.assistant-chat-card__footer-start{display:flex;gap:var(--calcite-spacing-xxs)}@media(min-width:1280px){.assistant-chat-card__prompt-container,.assistant-chat-card__response-container{max-width:80%}}`;
9
9
  class r extends i {
10
10
  constructor() {
@@ -3,7 +3,7 @@ import { css as i, html as t } from "lit";
3
3
  import { LitElement as o, safeClassMap as e } from "@arcgis/lumina";
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.135 */
6
+ v5.0.0-next.136 */
7
7
  const r = i`.assistant-chat-card-content__skeleton-block{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);width:100%}.assistant-chat-card-content__skeleton-text{display:block;height:.95em;border-radius:6px;background:linear-gradient(90deg,color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent),color-mix(in srgb,var(--calcite-color-foreground-3) 85%,transparent),color-mix(in srgb,var(--calcite-color-foreground-2) 65%,transparent));background-size:200% 100%;animation:assistant-chat-card-content-shimmer 1.2s ease-in-out infinite;width:85%}.assistant-chat-card-content__skeleton-text:last-child{width:70%}@keyframes assistant-chat-card-content-shimmer{0%{background-position:-150% 0}to{background-position:150% 0}}@media(prefers-reduced-motion){.assistant-chat-card-content__skeleton-text{animation:none}}.assistant-chat-card-content__text-container{padding:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.assistant-chat-card-content__text-loading{font-style:italic;word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.assistant-chat-card-content__error-notice{padding:var(--calcite-spacing-sm)}`, s = "assistant-chat-card-content", a = {
8
8
  textLoading: `${s}__text-loading`,
9
9
  skeletonBlock: `${s}__skeleton-block`,
@@ -6,7 +6,7 @@ import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import { u } 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.135 */
9
+ v5.0.0-next.136 */
10
10
  const h = i`.assistant-chat-entry__input-container{display:flex;flex-direction:column}.assistant-chat-entry__footer-start{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap;align-items:center}.assistant-chat-entry__footer-end{display:flex;gap:var(--calcite-spacing-md);align-items:center}.assistant-chat-entry__status-indicator{width:9px;height:9px;border-radius:100%;background-color:var(--calcite-color-status-success)}.assistant-chat-entry__status-indicator[data-status=working]{background-color:var(--calcite-color-status-warning)}.assistant-chat-entry__status-indicator[data-status=error]{background-color:var(--calcite-color-status-danger)}.assistant-chat-entry__status-text{text-transform:capitalize}`;
11
11
  class d extends r {
12
12
  constructor() {
@@ -4,7 +4,7 @@ import { DataExplorationAgent as s } from "@arcgis/ai-agents";
4
4
  import { r as e, i } from "../../chunks/utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  class r extends a {
9
9
  constructor() {
10
10
  super(...arguments), this.agent = s;
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
4
4
  import { u as n } from "../../chunks/useT9n.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  const r = a``;
9
9
  class o extends c {
10
10
  constructor() {
@@ -4,7 +4,7 @@ import { LayerFilterAgent as r } from "@arcgis/ai-agents";
4
4
  import { r as s, i } from "../../chunks/utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  class a extends e {
9
9
  constructor() {
10
10
  super(...arguments), this.agent = r;
@@ -4,7 +4,7 @@ import { LayerQueryAgent as r } from "@arcgis/ai-agents";
4
4
  import { r as s, i as a } from "../../chunks/utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  class i extends e {
9
9
  constructor() {
10
10
  super(...arguments), this.agent = r;
@@ -4,7 +4,7 @@ import { LayerStylingAgent as e } from "@arcgis/ai-agents";
4
4
  import { r as i, i as a } from "../../chunks/utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  class r extends s {
9
9
  constructor() {
10
10
  super(...arguments), this.agent = e;
@@ -4,7 +4,7 @@ import { NavigationAgent as a } from "@arcgis/ai-agents";
4
4
  import { r as s, i as e } from "../../chunks/utils.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  class n extends i {
9
9
  constructor() {
10
10
  super(...arguments), this.agent = a;
@@ -4,7 +4,7 @@ import { LitElement as l, createEvent as e } from "@arcgis/lumina";
4
4
  import { u as n } from "../../chunks/useT9n.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.136 */
8
8
  const o = a`.assistant-shell__footer-container{display:flex;flex-direction:column;flex:1 1 0;gap:var(--calcite-spacing-md)}.assistant-shell__content-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0;position:relative}.assistant-shell__suggested-prompts-container{position:absolute;bottom:0;display:flex;justify-content:center;width:100%}.assistant-shell__suggested-prompts{padding:var(--calcite-spacing-md)}.assistant-shell__suggested-prompt{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}`;
9
9
  class r extends l {
10
10
  constructor() {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2026-01-18T06:48:09",
2
+ "timestamp": "2026-01-19T04:42:03",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.135",
5
+ "version": "5.0.0-next.136",
6
6
  "typescriptVersion": "5.9.3"
7
7
  },
8
8
  "schemaVersion": "2.1.0",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2026-01-18T06:48:09",
2
+ "timestamp": "2026-01-19T04:42:03",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.135",
5
+ "version": "5.0.0-next.136",
6
6
  "typescriptVersion": "5.9.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/ai-components",
4
- "version": "5.0.0-next.135",
4
+ "version": "5.0.0-next.136",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { g as e, s as a } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.135 */
4
+ v5.0.0-next.136 */
5
5
  export {
6
6
  e as getAssetPath,
7
7
  a as setAssetPath
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } 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.135 */
5
+ v5.0.0-next.136 */
6
6
  const n = t(e, {
7
7
  "arcgis-assistant": [() => import("./components/arcgis-assistant/customElement.js"), "description,entryMessage,heading,orchestrator:,portal:,referenceElement,suggestedPrompts:;;register"],
8
8
  "arcgis-assistant-agent": [() => import("./components/arcgis-assistant-agent/customElement.js"), "agent:,context:;;getContext"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/ai-components",
3
- "version": "5.0.0-next.135",
3
+ "version": "5.0.0-next.136",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -20,11 +20,11 @@
20
20
  "dist/"
21
21
  ],
22
22
  "dependencies": {
23
- "@arcgis/ai-agents": "5.0.0-next.135",
24
- "@arcgis/ai-orchestrator": "5.0.0-next.135",
25
- "@arcgis/lumina": "5.0.0-next.135",
26
- "@arcgis/map-components": "5.0.0-next.135",
27
- "@arcgis/toolkit": "5.0.0-next.135",
23
+ "@arcgis/ai-agents": "5.0.0-next.136",
24
+ "@arcgis/ai-orchestrator": "5.0.0-next.136",
25
+ "@arcgis/lumina": "5.0.0-next.136",
26
+ "@arcgis/map-components": "5.0.0-next.136",
27
+ "@arcgis/toolkit": "5.0.0-next.136",
28
28
  "@langchain/core": "^0.3.80",
29
29
  "@langchain/langgraph": "^0.4.9",
30
30
  "langchain": "^0.3.37",
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.135 */
4
- import a from"./QFWBH3U2.js";import"./5EXI6IBC.js";import"./YQVK2H7R.js";export default $arcgis.t(([{m:a,n:b}])=>{return{FewShotChatMessagePromptTemplate:b,FewShotPromptTemplate:a}},a)