@arcgis/ai-components 5.0.0-next.135 → 5.0.0-next.137
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/{45J72RA5.js → 2X4MXAGP.js} +3 -2
- package/dist/cdn/{K4DOBIBC.js → 2YU5J7GR.js} +1 -1
- package/dist/cdn/{GNYKVIRC.js → 3GN2ULHI.js} +3 -3
- package/dist/cdn/{NPQWPRM6.js → 3MC7WUUS.js} +2 -2
- package/dist/cdn/{AENVX2C7.js → 4QKLAOX2.js} +2 -2
- package/dist/cdn/{IBW6D6XX.js → 5R3XBBPI.js} +2 -2
- package/dist/cdn/{H6HTZ2RZ.js → 77UW5IWK.js} +2 -2
- package/dist/cdn/7CZJHD5E.js +4 -0
- package/dist/cdn/{ETNHCA5Y.js → A4WRDZTQ.js} +2 -2
- package/dist/cdn/{NCD5D6JY.js → AAKD5SX2.js} +2 -2
- package/dist/cdn/{2I6RIEM7.js → AWERJEZY.js} +2 -2
- package/dist/cdn/{PZRNLUV2.js → BU42TIIY.js} +2 -2
- package/dist/cdn/{5EXI6IBC.js → C2KQ57RK.js} +33 -33
- package/dist/cdn/{BSFH6ITF.js → D7BNWOJC.js} +2 -2
- package/dist/cdn/{7VXM3PHG.js → EIEL6M2I.js} +2 -2
- package/dist/cdn/{KXZ5YZL6.js → ESFRLW3E.js} +2 -2
- package/dist/cdn/{3YJ4XNZB.js → FXYXZK6L.js} +2 -2
- package/dist/cdn/{LA353F4X.js → G2D5AXYL.js} +2 -2
- package/dist/cdn/HRHXMBOF.js +4 -0
- package/dist/cdn/J4W33PXP.js +134 -0
- package/dist/cdn/{YQVK2H7R.js → JEJTPF54.js} +1 -1
- package/dist/cdn/{VY47US65.js → KL6UK22M.js} +2 -2
- package/dist/cdn/{JRSCOKGO.js → KTVRK3Y4.js} +2 -2
- package/dist/cdn/{LQKHGIXO.js → LV5GG4KG.js} +2 -2
- package/dist/cdn/{6JIAN4EB.js → M4G5BT2E.js} +2 -2
- package/dist/cdn/O5MI43R3.js +6 -0
- package/dist/cdn/{XOXI7KQN.js → P5L22JWW.js} +2 -2
- package/dist/cdn/{QFWBH3U2.js → PI3TDXYV.js} +2 -2
- package/dist/cdn/{FQP72TZH.js → PMGGAZSF.js} +2 -2
- package/dist/cdn/{D5B4XO32.js → Q5GRZVLA.js} +2 -2
- package/dist/cdn/{4BKDN7AJ.js → U3XLNPGW.js} +2 -2
- package/dist/cdn/{ZHEJLKZX.js → UFFBFDYM.js} +2 -2
- package/dist/cdn/{4JWSHGI3.js → VL7UTIRF.js} +1 -1
- package/dist/cdn/{XULCWMYE.js → WD4CZF2P.js} +2 -2
- package/dist/cdn/{IHQXGVXR.js → XNR7IV6X.js} +2 -2
- package/dist/cdn/{4KXPB47L.js → XV373V66.js} +2 -2
- package/dist/cdn/{UROLRFUN.js → YFSPJOU4.js} +2 -2
- package/dist/cdn/{ZZIAB76W.js → ZJXE6HWP.js} +2 -2
- package/dist/cdn/{RTUKNJRX.js → ZYYIAOK3.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/5GP65UDI.js +0 -4
- package/dist/cdn/I54YR7UU.js +0 -6
- package/dist/cdn/ODYS7BCT.js +0 -134
- package/dist/cdn/SQPT22F4.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,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 d from"./
|
|
3
|
+
v5.0.0-next.137 */
|
|
4
|
+
import d from"./3GN2ULHI.js";import{a as e,b as i}from"./P5L22JWW.js";import c from"./J4W33PXP.js";import"./VL7UTIRF.js";import"./2YU5J7GR.js";import{p as s,t as a}from"./O5MI43R3.js";import b from"./PI3TDXYV.js";import"./C2KQ57RK.js";import"./JEJTPF54.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.
|
|
4
|
-
import{a as $,c as k}from"./
|
|
3
|
+
v5.0.0-next.137 */
|
|
4
|
+
import{a as $,c as k}from"./2YU5J7GR.js";import{a as C,b as L,c as m,d as f,e as P,f as O,i as g,j as v,l as w,u as N}from"./O5MI43R3.js";var _=t=>(...s)=>{let o=f(),e=new t(...s),r=e.exports;m(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),P(e);let a=[e.component,...o].reverse();return v(a,i=>i===void 0?void 0:j(e,i,r),r)},j=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(u=>{if(u.has(o)){let x=n[o];x!==t.exports&&l.W(t,x)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?O(()=>{n[o]=t.exports}):n[o]=t.exports)})};var z="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),M=new Set(z),h="en",U={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},F=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return b[r]??(b[r]=A(t,e)),await b[r]},b={},A=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return g("error","intl",`An unknown error occurred while fetching localization strings at ${o}`,{detail:{error:e}}),{}}return t===h?{}:await A(h,s)},y=t=>{let s=k(t,"lang",globalThis.navigator?.language||h);return{lang:s,t9nLocale:T(s)}},T=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=U[r]??r,M.has(r)?r:o?T(e):h},D=(t,s,o,e)=>{let r,n=()=>K(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(a=>{g("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(n),$(t,["lang"],n)},K=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=y(t),n=`${s}/${o}/t9n`,i=o===null?{}:await F(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var W=t=>I(void 0,t);var E=class extends w{constructor(s,o){super(s);let e=this.exports;try{L(this.component);let r=o(this.component,this),n=this.exports!==e;if(C(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},I=_(E);var S=t=>(s={})=>W((o,e)=>{let r=y(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>D(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let u=p.componentLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??=u),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=V(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),V=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{t[e]!==void 0&&(typeof r=="object"?o[e]=V(t[e],r):o[e]=r??t[e])}),o};var ct=S(N);export{ct as a};
|
|
@@ -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.137 */
|
|
4
|
+
import"./JEJTPF54.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.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.137 */
|
|
4
|
+
import"./JEJTPF54.js";var e=`You are a knowledgeable GIS expert.
|
|
5
5
|
|
|
6
6
|
You are given a Feature Service description and title.
|
|
7
7
|
|