@arcgis/ai-components 5.1.0-next.112 → 5.1.0-next.114
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/{ITH2G6QR.js → F746AXM6.js} +1 -1
- package/dist/cdn/{CZFAQXRE.js → HKVQQV3Z.js} +1 -1
- package/dist/cdn/{T6OKBDDT.js → NWLDMNBB.js} +50 -50
- package/dist/cdn/{YQXI4KVT.js → PGHTDGBE.js} +1 -1
- package/dist/cdn/{5GV3OWI2.js → RTYJZ47N.js} +1 -1
- package/dist/cdn/{Q27QDQVP.js → SHR5YB5Q.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./NWLDMNBB.js";import a from"./RYEH3CUI.js";import"./HFNOF6ZK.js";import{c as o,d as n}from"./EJWQC2SL.js";import"./47QQSSPB.js";import"./YGW7TUNX.js";import{v as i,y as s}from"./J2F4YIQI.js";import"./CFDTXKJ6.js";export default $arcgis.t(([{fetchKnowledgeGraph:h},,{e:a}])=>{var r=class extends i{constructor(){super(...arguments),this.agent=a}static{this.properties={referenceElement:1,serviceUrl:3,context:0}}#t;#r;#e;get serviceUrl(){return this.#r}set serviceUrl(e){this.#r=e}async getContext(){let e=this.context?{...this.context,knowledgeGraph:void 0,view:void 0}:{};if(this.#t)return{...e,view:this.#t};if(this.#e)try{let t=await this.#e;return{...e,knowledgeGraph:t}}catch(t){console.error("Failed to load knowledge graph via service URL:",t)}if(!this.context?.knowledgeGraph&&!this.context?.view)throw new Error("arcgis-assistant-knowledge-agent requires either a knowledgeGraph or view in context, and neither were provided");return this.context}willUpdate(e){e.has("serviceUrl")&&this.serviceUrl?this.#e=h(this.serviceUrl):this.#e=void 0}load(){this.#t=n(this)??void 0,o(this)}};s("arcgis-assistant-knowledge-agent",r);return r},"rest/knowledgeGraphService",a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./NWLDMNBB.js";import b from"./RYEH3CUI.js";import"./HFNOF6ZK.js";import{a as i,c as e}from"./EJWQC2SL.js";import"./47QQSSPB.js";import"./YGW7TUNX.js";import{v as a,y as s}from"./J2F4YIQI.js";import"./CFDTXKJ6.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}}load(){this.#t=i(this,"arcgis-assistant-navigation-agent"),e(this)}};s("arcgis-assistant-navigation-agent",t);return t},b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./NWLDMNBB.js";import b from"./RYEH3CUI.js";import"./HFNOF6ZK.js";import{a as r,c as a}from"./EJWQC2SL.js";import"./47QQSSPB.js";import"./YGW7TUNX.js";import{v as s,y as e}from"./J2F4YIQI.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{d:i}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-help-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=r(this,"arcgis-assistant-help-agent"),a(this)}};e("arcgis-assistant-help-agent",t);return t},b,c)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{p as s,x as e}from"./J2F4YIQI.js";import"./CFDTXKJ6.js";var a=s(e,{"arcgis-assistant":[()=>import("./R5PFKR6I.js"),"_messages:,awaitingResponse:,awaitingResponseStep:,copyEnabled,description,entryMessage,feedbackEnabled,heading,interrupt:,keepSuggestedPrompts,logEnabled,messages:,orchestrator:,readAloudEnabled,referenceElement,suggestedPrompts:,voiceInputEnabled;clearChatHistory,submitMessage;cancelInterrupt,register,submitInterrupt"],"arcgis-assistant-agent":[()=>import("./RACFQ7G7.js"),"agent:,context:;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./
|
|
2
|
+
import{p as s,x as e}from"./J2F4YIQI.js";import"./CFDTXKJ6.js";var a=s(e,{"arcgis-assistant":[()=>import("./R5PFKR6I.js"),"_messages:,awaitingResponse:,awaitingResponseStep:,copyEnabled,description,entryMessage,feedbackEnabled,heading,interrupt:,keepSuggestedPrompts,logEnabled,messages:,orchestrator:,readAloudEnabled,referenceElement,suggestedPrompts:,voiceInputEnabled;clearChatHistory,submitMessage;cancelInterrupt,register,submitInterrupt"],"arcgis-assistant-agent":[()=>import("./RACFQ7G7.js"),"agent:,context:;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./HKVQQV3Z.js"),"referenceElement;;getContext"],"arcgis-assistant-help-agent":[()=>import("./SHR5YB5Q.js"),"referenceElement;;getContext"],"arcgis-assistant-knowledge-agent":[()=>import("./PGHTDGBE.js"),"context:,referenceElement,serviceUrl;getContext"],"arcgis-assistant-layer-styling-agent":[()=>import("./F746AXM6.js"),"referenceElement;;getContext"],"arcgis-assistant-navigation-agent":[()=>import("./RTYJZ47N.js"),"referenceElement;;getContext"],"arcgis-assistant-chat":[()=>import("./2TKDD7IY.js"),"loading,messages:"],"arcgis-assistant-chat-entry":[()=>import("./KDUG6AWZ.js"),"_messages:,awaitingResponse,entryPlaceholder,inputValue,keyboardShortcutsDisabled,messages:,status,voiceInputEnabled;submitMessage"],"arcgis-assistant-interrupt":[()=>import("./GHPDN2L7.js"),"_messages:,message,options:,type"],"arcgis-assistant-message":[()=>import("./MM4TFFXX.js"),"copyEnabled,feedbackEnabled,footerDisabled,logEnabled,message:,readAloudEnabled"],"arcgis-assistant-message-block":[()=>import("./ASFDOICU.js"),"block:"],"arcgis-assistant-message-feedback":[()=>import("./6QA7CIBO.js"),"_messages:,feedbackEnabled,message:"],"arcgis-assistant-message-footer":[()=>import("./QEYLJYK7.js"),"_messages:,copyEnabled,feedbackEnabled,logEnabled,message:,readAloudEnabled"],"arcgis-assistant-message-loading":[()=>import("./PYVVZRRJ.js"),"loading,loadingMessage"],"arcgis-assistant-message-log":[()=>import("./BOP6HXCW.js"),"log:,logEnabled,showLog"],"arcgis-assistant-message-read-aloud":[()=>import("./4SZDSAFW.js"),"_messages:,message:,readAloudEnabled"],"arcgis-assistant-message-text":[()=>import("./M5ZB2XU3.js"),"content"],"arcgis-assistant-speech-input":[()=>import("./RBLFCUDD.js"),"awaitingResponse,inputValue,language,mode;;clearDraftSession"],"arcgis-assistant-suggested-prompts":[()=>import("./ZTRICLZY.js"),"_messages:,label,prompts:"],"arcgis-assistant-user-message":[()=>import("./SRNPZKME.js"),"content,message:,user"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-assistant,arcgis-assistant-agent,arcgis-assistant-data-exploration-agent,arcgis-assistant-help-agent,arcgis-assistant-knowledge-agent,arcgis-assistant-layer-styling-agent,arcgis-assistant-navigation-agent,arcgis-assistant-chat,arcgis-assistant-chat-entry,arcgis-assistant-interrupt,arcgis-assistant-message-block,arcgis-assistant-message-feedback,arcgis-assistant-message-footer,arcgis-assistant-message-loading,arcgis-assistant-message-log,arcgis-assistant-message-read-aloud,arcgis-assistant-message-text,arcgis-assistant-speech-input,arcgis-assistant-suggested-prompts,arcgis-assistant-user-message){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];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)
|