@arcgis/ai-components 5.0.0-next.136 → 5.0.0-next.138
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.
- package/dist/cdn/24EXGKZJ.js +6 -0
- package/dist/cdn/{SZOB7EAQ.js → 336F5KUI.js} +2 -2
- package/dist/cdn/{XIYGDRGF.js → 5PN6C7E5.js} +2 -2
- package/dist/cdn/{7U3ZJE74.js → 66RG264E.js} +2 -2
- package/dist/cdn/{4LENP43C.js → 76ZQ3ZFE.js} +2 -2
- package/dist/cdn/{QXKRKCDT.js → A47UKDFY.js} +1 -1
- package/dist/cdn/AQVVEZQ7.js +4 -0
- package/dist/cdn/{7DE5BVD5.js → ASJXSQKE.js} +2 -2
- package/dist/cdn/{XIFAX2H6.js → C7VKTFWE.js} +2 -2
- package/dist/cdn/{C367X64H.js → DJ7QHOO6.js} +2 -2
- package/dist/cdn/{S7FHBAYV.js → DMVCMIN4.js} +2 -2
- package/dist/cdn/{AA4MFJ3S.js → DNSRYI65.js} +2 -2
- package/dist/cdn/{DR6U7IZT.js → EIDBTAZW.js} +2 -2
- package/dist/cdn/EKVXRBRV.js +134 -0
- package/dist/cdn/{HYKMA4XQ.js → EQDZIR3C.js} +2 -2
- package/dist/cdn/{3UG5WTDE.js → FSQZRUYP.js} +33 -33
- package/dist/cdn/HIMWGRPE.js +4 -0
- package/dist/cdn/{VE7FAPV4.js → ICTRZPHS.js} +2 -2
- package/dist/cdn/{UO6Y6VSM.js → J6R7BOLU.js} +2 -2
- package/dist/cdn/{TPZHKIIX.js → LKHIG72S.js} +2 -2
- package/dist/cdn/{NJXGFRUZ.js → MN6U7M7W.js} +3 -2
- package/dist/cdn/{VMQIQSRT.js → MXKQKO6F.js} +2 -2
- package/dist/cdn/{AZNXA22U.js → NS5ORSQ4.js} +1 -1
- package/dist/cdn/{ALMVA7MQ.js → OOBJEDFJ.js} +2 -2
- package/dist/cdn/{MUIAEICM.js → OP343DX5.js} +2 -2
- package/dist/cdn/{O7P4MUTM.js → PTH75TBD.js} +2 -2
- package/dist/cdn/{5B2EOTYQ.js → Q4CLAYQA.js} +2 -2
- package/dist/cdn/{AU4REOCQ.js → QSTHQ6HA.js} +3 -3
- package/dist/cdn/{RCEHEWVV.js → R3LVKVZ6.js} +2 -2
- package/dist/cdn/{R7METAZI.js → RGUMAILM.js} +2 -2
- package/dist/cdn/{PWFMAIRB.js → RVOJYJXS.js} +2 -2
- package/dist/cdn/{ZEVKT23V.js → RY4V6UTG.js} +2 -2
- package/dist/cdn/{IRGK3XH4.js → SGYRDW63.js} +1 -1
- package/dist/cdn/{NJU7DK4H.js → SXRXM2BE.js} +2 -2
- package/dist/cdn/{LC6VCY7C.js → TCREAG35.js} +2 -2
- package/dist/cdn/{VXGAJ3X5.js → TNNVI76M.js} +2 -2
- package/dist/cdn/{MNIES7DU.js → U2POONTM.js} +2 -2
- package/dist/cdn/{62ILUOJY.js → XJS3YQ5K.js} +2 -2
- package/dist/cdn/{FJVWWC7W.js → ZOCJNMXC.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-assistant/customElement.d.ts +16 -12
- package/dist/components/arcgis-assistant/customElement.js +1 -1
- package/dist/components/arcgis-assistant/index.d.ts +0 -4
- package/dist/components/arcgis-assistant-agent/customElement.d.ts +7 -8
- package/dist/components/arcgis-assistant-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat/customElement.d.ts +15 -15
- package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat/index.d.ts +0 -1
- package/dist/components/arcgis-assistant-chat-card/customElement.d.ts +29 -16
- package/dist/components/arcgis-assistant-chat-card/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-card/index.d.ts +0 -5
- package/dist/components/arcgis-assistant-chat-card-content/customElement.d.ts +9 -9
- package/dist/components/arcgis-assistant-chat-card-content/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-card-content/index.d.ts +0 -1
- package/dist/components/arcgis-assistant-chat-entry/customElement.d.ts +28 -17
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-entry/index.d.ts +0 -3
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +25 -12
- package/dist/components/arcgis-assistant-interrupt/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt/index.d.ts +0 -5
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-navigation-agent/customElement.d.ts +5 -5
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +1 -1
- package/dist/components/arcgis-assistant-shell/customElement.d.ts +34 -23
- package/dist/components/arcgis-assistant-shell/customElement.js +1 -1
- package/dist/components/arcgis-assistant-shell/index.d.ts +0 -5
- package/dist/docs/api.json +1 -2239
- package/dist/docs/docs.json +1 -2011
- package/dist/docs/vscode.css-custom-data.json +1 -6
- package/dist/docs/vscode.html-custom-data.json +1 -306
- package/dist/docs/web-types.json +1 -693
- package/dist/index.d.ts +28 -19
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +19 -19
- package/dist/types/preact.d.ts +19 -19
- package/dist/types/react.d.ts +19 -19
- package/dist/types/stencil.d.ts +19 -19
- package/package.json +7 -7
- package/dist/cdn/3TCMWTPD.js +0 -6
- package/dist/cdn/DI6CDXVQ.js +0 -4
- package/dist/cdn/MOKHHOZ6.js +0 -134
- package/dist/cdn/POCZKXEN.js +0 -4
- package/dist/components/arcgis-assistant/support/OrchestratorController.d.ts +0 -33
- package/dist/components/arcgis-assistant/support/utils.d.ts +0 -1
- package/dist/components/assistant/assistant-agents/support/utils.d.ts +0 -14
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/customAgents/AddAgent/AddAgent.d.ts +0 -2
- package/dist/runtime.d.ts +0 -6
|
@@ -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.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import"./NS5ORSQ4.js";var e=`## LinkChart Agent - Tool Intent Classifier
|
|
5
5
|
|
|
6
6
|
You are an assistant that classifies user intent for linkChart agent.
|
|
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.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import{a as c}from"./TCREAG35.js";import"./SGYRDW63.js";import{g as e,h as t,p as s,t as i}from"./24EXGKZJ.js";import"./NS5ORSQ4.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.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import"./NS5ORSQ4.js";var e=`# ArcGIS Online Map Viewer \u2014 Layer Filter Tool Calling Assistant
|
|
5
5
|
|
|
6
6
|
You are an assistant that helps generate layer filter expressions for **ArcGIS Online Map Viewer** by selecting and calling the appropriate tool.
|
|
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.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import"./NS5ORSQ4.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.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import{a as n}from"./TCREAG35.js";import"./SGYRDW63.js";import{g as a,h as e,k as s,p as l,t as c}from"./24EXGKZJ.js";import"./NS5ORSQ4.js";var o=a``,i=class extends l{constructor(){super(...arguments),this.#t=[],this._messages=n({blocking:!0}),this.arcgisCancel=s(),this.arcgisSubmit=s()}static{this.properties={type:1,message:1,options:0}}static{this.styles=o}#t;_renderInterruptOptions(){switch(this.type){case"single-select":return e`<calcite-list selection-mode=single-persist .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems[0]?.value}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"multi-select":return e`<calcite-list selection-mode=multiple .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems.map(r=>r.value)}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"boolean-choice":return e`<calcite-list selection-mode=single-persist .label=${this._messages.optionsLabel} @calciteListChange=${t=>this.#t=t.target.selectedItems[0]?.value}>${this.options?.map(t=>e`<calcite-list-item .label=${t} .value=${t}></calcite-list-item>`)}</calcite-list>`;case"text-input":return e`<calcite-input .label=${this._messages.enterTextLabel} @calciteInputInput=${t=>this.#t=t.target.value}></calcite-input>`}}render(){return e`<calcite-panel .description=${this.message}>${this._renderInterruptOptions()}<calcite-button slot=footer-end appearance=outline @click=${()=>this.arcgisCancel.emit()}>${this._messages.cancelButtonLabel}</calcite-button><calcite-button slot=footer-end appearance=solid @click=${()=>this.arcgisSubmit.emit(this.#t)}>${this._messages.submitButtonLabel}</calcite-button></calcite-panel>`}};c("arcgis-assistant-interrupt",i);export{i as ArcgisAssistantInterrupt};
|
|
@@ -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.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.138 */
|
|
4
|
+
import"./NS5ORSQ4.js";var e=`# ArcGIS JavaScript SDK FeatureLayerView Query Assistant
|
|
5
5
|
|
|
6
6
|
You are a GIS assistant that generates query parameters for the ArcGIS JavaScript SDK FeatureLayerView \`queryFeatures()\` method.
|
|
7
7
|
|