Repository navigation
Expand file tree
/
Copy pathchunk-Q22PEWPL.js
More file actions
1 lines (1 loc) · 14.9 KB
/
Copy pathchunk-Q22PEWPL.js
File metadata and controls
1 lines (1 loc) · 14.9 KB
1
import{I as S,Qa as M,R as X,S as q,Sa as R,T as I,U as O,u as T}from"./chunk-GU7FRFWB.js";import{Ab as C,Bb as z,Ia as m,La as g,Ob as f,Pb as b,Vb as y,Wb as k,cc as v,gc as r,ha as l,ib as d,id as Q,jc as D,kc as w,la as i,lc as x,md as s,nb as A,sa as c,ta as p,tb as u,uc as _,vc as j,ya as h}from"./chunk-GUHHCQYK.js";var N={intro:[{path:"docs/introduce/en",label:"Ant Design X of Angular",language:"en",order:0,hidden:!1,description:"An enterprise-class Angular UI component library based on Ant Design, all components are open source and free to use under MIT license.An enterprise-c...",experimental:!1},{path:"docs/introduce/zh",label:"Ant Design X of Angular",language:"zh",order:0,hidden:!1,description:"ng-zorro-x \u662F\u9075\u5FAA Ant Design \u8BBE\u8BA1\u89C4\u8303\u7684 Angular UI \u7EC4\u4EF6\u5E93\uFF0C\u4E3B\u8981\u7528\u4E8E\u7814\u53D1\u4F01\u4E1A\u7EA7\u4E2D\u540E\u53F0\u4EA7\u54C1\u3002\u5168\u90E8\u4EE3\u7801\u5F00\u6E90\u5E76\u9075\u5FAA MIT \u534F\u8BAE\uFF0C\u4EFB\u4F55\u4F01\u4E1A\u3001\u7EC4\u7EC7\u53CA\u4E2A\u4EBA\u5747\u53EF\u514D\u8D39\u4F7F\u7528\u3002\u63D0\u70BC\u81EA\u4F01\u4E1A\u7EA7\u4E2D\u540E\u53F0\u4EA7\u54C1\u7684\u4EA4\u4E92\u8BED\u8A00\u548C\u89C6\u89C9\u98CE\u683C\u3002\u5F00\u7BB1\u5373\u7528\u7684\u9AD8\u8D28\u91CF Angular \u7EC4\u4EF6\u5E93\uFF0C\u4E0E Angular \u4FDD...",experimental:!1},{path:"docs/dangerous-api-key/en",label:"dangerouslyApiKey Explanation",language:"en",order:1,hidden:!1,description:"Please read this carefully, as it is important!!! We provide the dangerouslyApiKey option in XAgent and XRequest. Here is a detailed explanation of it...",experimental:!1},{path:"docs/dangerous-api-key/zh",label:"dangerouslyApiKey \u8BF4\u660E",language:"zh",order:1,hidden:!1,description:"\u8BF7\u8BA4\u771F\u9605\u8BFB\uFF0C\u8FD9\u5F88\u91CD\u8981 !!! \u6211\u4EEC\u5728 XAgent \u3001 XRequest \u91CC\u63D0\u4F9B\u4E86 dangerouslyApiKey \u8FD9\u91CC\u5BF9\u5176\u505A\u4E00\u4E2A\u8BE6\u7EC6\u7684\u8BF4\u660E\u3002\u542F\u7528\u6B64 dangerouslyApiKey \u9009\u9879\u53EF\u80FD\u4F1A\u5F88\u5371\u9669\uFF0C\u56E0\u4E3A\u5B83\u4F1A\u5728\u5BA2\u6237\u7AEF\u4EE3\u7801\u4E2D\u66B4\u9732\u60A8\u7684\u79D8\u5BC6 API \u51ED\u636E\u3002Web \u6D4F\u89C8\u5668\u672C\u8D28\u4E0A\u4E0D\u5982\u670D\u52A1\u5668\u73AF\u5883\u5B89\u5168\uFF0C\u4EFB...",experimental:!1},{path:"docs/changelog/en",label:"Change Log",language:"en",order:2,hidden:!1,description:"ng-zorro-x strictly follows Semantic Versioning 2.0.0.Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bu...",experimental:!1},{path:"docs/changelog/zh",label:"\u66F4\u65B0\u65E5\u5FD7",language:"zh",order:2,hidden:!1,description:"ng-zorro-x \u4E25\u683C\u9075\u5FAA Semantic Versioning 2.0.0 \u8BED\u4E49\u5316\u7248\u672C\u89C4\u8303\u3002\u4FEE\u8BA2\u7248\u672C\u53F7\uFF1A\u6BCF\u5468\u672B\u4F1A\u8FDB\u884C\u65E5\u5E38 bugfix \u66F4\u65B0\u3002\uFF08\u5982\u679C\u6709\u7D27\u6025\u7684 bugfix\uFF0C\u5219\u4EFB\u4F55\u65F6\u5019\u90FD\u53EF\u53D1\u5E03\uFF09\u6B21\u7248\u672C\u53F7\uFF1A\u6BCF\u6708\u53D1\u5E03\u4E00\u4E2A\u5E26\u6709\u65B0\u7279\u6027\u7684\u5411\u4E0B\u517C\u5BB9\u7684\u7248\u672C\u3002\u4E3B\u7248\u672C\u53F7\uFF1A\u542B\u6709\u7834\u574F\u6027\u66F4\u65B0\u548C\u65B0\u7279\u6027\uFF0C\u4E0D\u5728\u53D1\u5E03\u5468\u671F\u5185\u3002",experimental:!1}],components:[{name:"\u901A\u7528",language:"zh",children:[{label:"Bubble",path:"components/bubble/zh",zh:"\u5BF9\u8BDD\u6C14\u6CE1",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*rHIYQIL1X-QAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u5BF9\u8BDD\u6C14\u6CE1\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u804A\u5929\u7684\u6C14\u6CE1\u7EC4\u4EF6\u3002"},{label:"Conversations",path:"components/conversations/zh",zh:"\u7BA1\u7406\u5BF9\u8BDD",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*Oj-bTbVXtpQAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u7BA1\u7406\u5BF9\u8BDD\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u627F\u8F7D\u7528\u6237\u4FA7\u53D1\u9001\u7684\u5386\u53F2\u5BF9\u8BDD\u5217\u8868\u3002"}],experimentalChildren:[]},{name:"Common",language:"en",children:[{label:"Bubble",path:"components/bubble/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*rHIYQIL1X-QAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Bubble Component, A bubble component for chat."},{label:"Conversations",path:"components/conversations/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*Oj-bTbVXtpQAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Conversations Component, Used to manage and view the conversation list"}],experimentalChildren:[]},{name:"Wake",language:"en",children:[{label:"Prompts",path:"components/prompts/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UfhXRamlAf0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Prompts Component, Display a predefined set of questions or suggestion."},{label:"Welcome",path:"components/welcome/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*sSjhQ6q2-Z0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Welcome Component, Clearly convey the scope of intent and expected functionality to the user."}],experimentalChildren:[]},{name:"\u8868\u8FBE",language:"zh",children:[{label:"Attachments",path:"components/attachments/zh",zh:"\u8F93\u5165\u9644\u4EF6",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*5l2oSKBXatAAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u8F93\u5165\u9644\u4EF6\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u5C55\u793A\u4E00\u7EC4\u9644\u4EF6\u4FE1\u606F\u96C6\u5408\u3002"},{label:"Sender",path:"components/sender/zh",zh:"\u8F93\u5165\u6846",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*OwTOS6wqFIsAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u8F93\u5165\u6846\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u804A\u5929\u7684\u8F93\u5165\u6846\u7EC4\u4EF6\u3002"},{label:"Suggestion",path:"components/suggestion/zh",zh:"\u5FEB\u6377\u6307\u4EE4",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*4vEeSJ2e9xgAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u5FEB\u6377\u6307\u4EE4\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u7ED9\u4E88\u7528\u6237\u5FEB\u6377\u63D0\u793A\u7684\u7EC4\u4EF6"}],experimentalChildren:[]},{name:"Express",language:"en",children:[{label:"Attachments",path:"components/attachments/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*5l2oSKBXatAAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Attachments Component, Display the collection of attachment information."},{label:"Sender",path:"components/sender/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*OwTOS6wqFIsAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Sender Component, A input component for chat."},{label:"Suggestion",path:"components/suggestion/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*4vEeSJ2e9xgAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Suggestion Component, A suggestion component for chat."}],experimentalChildren:[]},{name:"\u786E\u8BA4",language:"zh",children:[{label:"ThoughtChain",path:"components/thought-chain/zh",zh:"\u601D\u7EF4\u94FE",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*sSjhQ6q2-Z0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u601D\u7EF4\u94FE\u7EC4\u4EF6\uFF0C\u601D\u7EF4\u94FE\u7EC4\u4EF6\u7528\u4E8E\u53EF\u89C6\u5316\u548C\u8FFD\u8E2A Agent \u5BF9 Actions \u548C Tools \u7684\u8C03\u7528\u94FE\u3002"}],experimentalChildren:[]},{name:"Confirm",language:"en",children:[{label:"ThoughtChain",path:"components/thought-chain/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*sSjhQ6q2-Z0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular ThoughtChain Component, The ThoughtChain component is used to visualize and track the call chain of Actions and Tools invoked by an Agent."}],experimentalChildren:[]},{name:"\u53CD\u9988",language:"zh",children:[{label:"Actions",path:"components/actions/zh",zh:"\u64CD\u4F5C\u5217\u8868",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*1ysXSqEnAckAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u64CD\u4F5C\u5217\u8868\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u5FEB\u901F\u914D\u7F6E\u4E00\u4E9B AI \u573A\u666F\u4E0B\u6240\u9700\u8981\u7684\u64CD\u4F5C\u6309\u94AE/\u529F\u80FD\u3002"}],experimentalChildren:[]},{name:"Feedback",language:"en",children:[{label:"Actions",path:"components/actions/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*1ysXSqEnAckAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular Actions Component, Used for quickly configuring required action buttons or features in some AI scenarios."}],experimentalChildren:[]},{name:"\u5524\u9192",language:"zh",children:[{label:"Prompts",path:"components/prompts/zh",zh:"\u63D0\u793A\u96C6",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UfhXRamlAf0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u63D0\u793A\u96C6\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u663E\u793A\u4E00\u7EC4\u4E0E\u5F53\u524D\u4E0A\u4E0B\u6587\u76F8\u5173\u7684\u9884\u5B9A\u4E49\u7684\u95EE\u9898\u6216\u5EFA\u8BAE\u3002"},{label:"Welcome",path:"components/welcome/zh",zh:"\u6B22\u8FCE",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*sSjhQ6q2-Z0AAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u6B22\u8FCE\u7EC4\u4EF6\uFF0C\u6E05\u6670\u4F20\u8FBE\u7ED9\u7528\u6237\u53EF\u5B9E\u73B0\u7684\u610F\u56FE\u8303\u56F4\u548C\u9884\u671F\u529F\u80FD\u3002"}],experimentalChildren:[]},{name:"\u5DE5\u5177",language:"zh",children:[{label:"XAgent",path:"components/x-agent/zh",zh:"\u6A21\u578B\u8C03\u5EA6",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*IjD1QqSI99MAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u6A21\u578B\u8C03\u5EA6\u7EC4\u4EF6\uFF0C\u7528\u4E8E\u6A21\u578B\u8C03\u5EA6\u7684 Agent \u5BF9\u8C61"},{label:"XChat",path:"components/x-chat/zh",zh:"\u6570\u636E\u7BA1\u7406",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*pJrtTaf-bWAAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u6570\u636E\u7BA1\u7406\u7EC4\u4EF6\uFF0C\u914D\u5408 XAgent \u8FDB\u884C\u5BF9\u8BDD\u6570\u636E\u7BA1\u7406\u3002"},{label:"XRequest",path:"components/x-request/zh",zh:"\u8BF7\u6C42",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*22A2Qqn7OrEAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u8BF7\u6C42\u7EC4\u4EF6\uFF0C\u5411 LLM \u53D1\u8D77\u8BF7\u6C42"},{label:"XStream",path:"components/x-stream/zh",zh:"\u6D41",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*OD9kTJOmGdsAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular \u6D41\u7EC4\u4EF6\uFF0C\u8F6C\u6362\u53EF\u8BFB\u6570\u636E\u6D41"}],experimentalChildren:[]},{name:"Tools",language:"en",children:[{label:"XAgent",path:"components/x-agent/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*IjD1QqSI99MAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular XAgent Component, Used for model scheduling with Agent."},{label:"XChat",path:"components/x-chat/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*pJrtTaf-bWAAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular XChat Component, Work with agent hook for data management."},{label:"XRequest",path:"components/x-request/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*22A2Qqn7OrEAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular XRequest Component, Fetch request for LLMs"},{label:"XStream",path:"components/x-stream/en",zh:"",cover:"https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*OD9kTJOmGdsAAAAAAAAAAAAADgCCAQ/original",tag:"",description:"Angular XStream Component, Transform binary stream."}],experimentalChildren:[]}]},U=[{path:"components/actions",loadChildren:()=>import("./chunk-4IEJ2XKF.js")},{path:"components/attachments",loadChildren:()=>import("./chunk-CCLBSV4M.js")},{path:"components/bubble",loadChildren:()=>import("./chunk-2BU3FPQ4.js")},{path:"components/conversations",loadChildren:()=>import("./chunk-XDYJAW4C.js")},{path:"components/prompts",loadChildren:()=>import("./chunk-Y7GDBIVG.js")},{path:"components/sender",loadChildren:()=>import("./chunk-FF73GHK7.js")},{path:"components/suggestion",loadChildren:()=>import("./chunk-GBFXZT6H.js")},{path:"components/thought-chain",loadChildren:()=>import("./chunk-YGMYNCAR.js")},{path:"components/welcome",loadChildren:()=>import("./chunk-PZ64ZVNG.js")},{path:"components/x-agent",loadChildren:()=>import("./chunk-UMNAAKBN.js")},{path:"components/x-chat",loadChildren:()=>import("./chunk-J7LWPQBA.js")},{path:"components/x-request",loadChildren:()=>import("./chunk-2GPJMVSU.js")},{path:"components/x-stream",loadChildren:()=>import("./chunk-LOCUSBCX.js")}];var P=["*"];function E(o,L){if(o&1){let n=v();y(0,"nz-icon",1),r("click",function(e){c(n);let a=D();return p(a.closeTag(e))}),k()}}var B=(()=>{class o{cdr=i(Q);renderer=i(u);el=i(g).nativeElement;directionality=i(T);destroyRef=i(h);nzMode="default";nzColor;nzChecked=!1;nzBordered=!0;nzOnClose=new A;nzCheckedChange=new A;dir="ltr";isPresetColor=!1;updateCheckedStatus(){this.nzMode==="checkable"&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(n){this.nzOnClose.emit(n),n.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.el),this.el)}clearPresetColor(){let n=new RegExp(`(ant-tag-(?:${[...q,...X].join("|")}))`,"g"),t=this.el.classList.toString(),e=[],a=n.exec(t);for(;a!==null;)e.push(a[1]),a=n.exec(t);this.el.classList.remove(...e)}setPresetColor(){this.clearPresetColor(),this.nzColor?this.isPresetColor=I(this.nzColor)||O(this.nzColor):this.isPresetColor=!1,this.isPresetColor&&this.el.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){this.directionality.change?.pipe(S(this.destroyRef)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(n){let{nzColor:t}=n;t&&this.setPresetColor()}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=C({type:o,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:12,hostBindings:function(t,e){t&1&&r("click",function(){return e.updateCheckedStatus()}),t&2&&(_("background-color",e.isPresetColor?"":e.nzColor),j("ant-tag-has-color",e.nzColor&&!e.isPresetColor)("ant-tag-checkable",e.nzMode==="checkable")("ant-tag-checkable-checked",e.nzChecked)("ant-tag-rtl",e.dir==="rtl")("ant-tag-borderless",!e.nzBordered))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:[2,"nzChecked","nzChecked",s],nzBordered:[2,"nzBordered","nzBordered",s]},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[m],ngContentSelectors:P,decls:2,vars:1,consts:[["nzType","close","tabindex","-1",1,"ant-tag-close-icon"],["nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(t,e){t&1&&(w(),x(0),f(1,E,1,0,"nz-icon",0)),t&2&&(d(),b(e.nzMode==="closeable"?1:-1))},dependencies:[R,M],encapsulation:2,changeDetection:0})}return o})(),ae=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=z({type:o});static \u0275inj=l({imports:[B]})}return o})();export{N as a,U as b,B as c,ae as d};