@whoz-oss/coday-client 0.220.0 → 0.221.0
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/browser/{chunk-VEJ7WOTG.js → chunk-245FSNUP.js} +1 -1
- package/browser/chunk-26FFFP6M.js +1 -0
- package/browser/chunk-2JFW66QF.js +1 -0
- package/browser/{chunk-ZUHPSVJI.js → chunk-2MSURPPU.js} +1 -1
- package/browser/{chunk-XC3I4AWV.js → chunk-32WVX5ZP.js} +1 -1
- package/browser/{chunk-CQMVBNBQ.js → chunk-37R4PWRM.js} +1 -1
- package/browser/{chunk-66JGZWOM.js → chunk-3I6ZJMCS.js} +1 -1
- package/browser/{chunk-SKBT6DBT.js → chunk-3ZLLFAXF.js} +1 -1
- package/browser/{chunk-2K6TMGVY.js → chunk-4LLQHQ72.js} +1 -1
- package/browser/{chunk-4OZEACGW.js → chunk-4ZQC632F.js} +1 -1
- package/browser/{chunk-6WEPMSFL.js → chunk-5YICJPG4.js} +1 -1
- package/browser/{chunk-MV2EB7ZU.js → chunk-6JGMDWHO.js} +1 -1
- package/browser/{chunk-2PNAJMT3.js → chunk-6L7NNQJK.js} +1 -1
- package/browser/{chunk-JZNKFELS.js → chunk-6QVHTXNY.js} +1 -1
- package/browser/chunk-6WGVBQKC.js +1 -0
- package/browser/{chunk-24QOKK6F.js → chunk-73TUA3JE.js} +1 -1
- package/browser/{chunk-BZ7URUNM.js → chunk-7EDSHFWH.js} +1 -1
- package/browser/{chunk-R6RFNQXI.js → chunk-7WF5A3H7.js} +1 -1
- package/browser/{chunk-3NQ3WSD6.js → chunk-7ZT4AOIS.js} +1 -1
- package/browser/{chunk-V7NUXN3R.js → chunk-A7WS3RLV.js} +1 -1
- package/browser/{chunk-BZD44TVX.js → chunk-AE2KD4A7.js} +1 -1
- package/browser/chunk-AE74H57T.js +1 -0
- package/browser/{chunk-NAHXPRXR.js → chunk-AEGHERYH.js} +1 -1
- package/browser/{chunk-OPSHMM4H.js → chunk-B46LXCLF.js} +1 -1
- package/browser/{chunk-GDZOBNVN.js → chunk-BCOH5IGB.js} +1 -1
- package/browser/{chunk-G7AYL55H.js → chunk-BLH76GUG.js} +1 -1
- package/browser/{chunk-SU4RJNAW.js → chunk-BOKUHMXQ.js} +1 -1
- package/browser/chunk-CG7JPH7I.js +1 -0
- package/browser/{chunk-Z6RFJ6L3.js → chunk-DDWYQORF.js} +1 -1
- package/browser/chunk-DJW5YEVF.js +1 -0
- package/browser/{chunk-UDEMKCGK.js → chunk-DVUB4DDV.js} +1 -1
- package/browser/{chunk-2LJ5KJSM.js → chunk-F2SDHNCX.js} +6 -6
- package/browser/{chunk-U5L2OULZ.js → chunk-F4DLZWDY.js} +1 -1
- package/browser/{chunk-KX2SBQGE.js → chunk-FLOWHF2Q.js} +1 -1
- package/browser/chunk-FYW22VB6.js +1 -0
- package/browser/{chunk-PWB3PMMP.js → chunk-GE5IABDA.js} +1 -1
- package/browser/chunk-GNOCAZPC.js +1 -0
- package/browser/{chunk-NCFBQG5D.js → chunk-H2FHPYWP.js} +1 -1
- package/browser/chunk-HEO22D4L.js +1 -0
- package/browser/{chunk-4TH4ERQY.js → chunk-I2FVKUBH.js} +1 -1
- package/browser/{chunk-6V56ZA7X.js → chunk-IZLOFLQI.js} +1 -1
- package/browser/{chunk-LN55MSDV.js → chunk-JF3TWRKD.js} +1 -1
- package/browser/{chunk-SO6H32XQ.js → chunk-JFRIGSWA.js} +1 -1
- package/browser/{chunk-OETBTCGG.js → chunk-JM5SK7RJ.js} +1 -1
- package/browser/{chunk-Q2AMNPUD.js → chunk-JMGIKNHE.js} +1 -1
- package/browser/{chunk-7EHCV7WH.js → chunk-JQYJDI3L.js} +1 -1
- package/browser/{chunk-G5DFEIWC.js → chunk-K5ALWDTN.js} +1 -1
- package/browser/chunk-KJ5SIUGY.js +5 -0
- package/browser/{chunk-X7C5YFTO.js → chunk-KRZMF2CT.js} +1 -1
- package/browser/{chunk-P6FB27NC.js → chunk-KVRSWZ37.js} +1 -1
- package/browser/{chunk-OB7XCFGZ.js → chunk-KYYUJJ6W.js} +1 -1
- package/browser/{chunk-34BTCCLM.js → chunk-L2CXQ5ZG.js} +1 -1
- package/browser/{chunk-SFHAQYFT.js → chunk-LQXAXQDW.js} +1 -1
- package/browser/{chunk-3DMSIXFU.js → chunk-LVMHNPNL.js} +1 -1
- package/browser/{chunk-O2R7P65K.js → chunk-MLVWHS7Q.js} +1 -1
- package/browser/{chunk-EBAEYY2S.js → chunk-MWPKXBXJ.js} +1 -1
- package/browser/{chunk-P4GNUQZT.js → chunk-MZT6I3S3.js} +1 -1
- package/browser/{chunk-RXRBDGVY.js → chunk-N4H6RBJP.js} +1 -1
- package/browser/{chunk-CGNJQWBH.js → chunk-NCHQXF4S.js} +1 -1
- package/browser/{chunk-J5W3AZMJ.js → chunk-NCQPF2YO.js} +1 -1
- package/browser/chunk-NPW3WIRW.js +1 -0
- package/browser/{chunk-JBI5WDPK.js → chunk-O2RHZQBE.js} +1 -1
- package/browser/{chunk-Z46CAQIL.js → chunk-O4EHMHGS.js} +1 -1
- package/browser/{chunk-RTIVYXZO.js → chunk-OK32ENYP.js} +1 -1
- package/browser/{chunk-PNVMTTHR.js → chunk-OWANJEQU.js} +1 -1
- package/browser/{chunk-C2XSJPYF.js → chunk-OX7PDXEA.js} +1 -1
- package/browser/{chunk-5CGB5NAW.js → chunk-PBFPI55X.js} +1 -1
- package/browser/{chunk-2Y5JVJQU.js → chunk-PIVEZFIL.js} +1 -1
- package/browser/chunk-PJ3HC56D.js +1 -0
- package/browser/{chunk-GF3EMWCA.js → chunk-Q2M4W42M.js} +1 -1
- package/browser/{chunk-HF5B4U3Q.js → chunk-QA6XH3LQ.js} +1 -1
- package/browser/{chunk-SA5ZJKKF.js → chunk-QHD6RKEP.js} +1 -1
- package/browser/{chunk-67BZXGWU.js → chunk-QINOZGE3.js} +1 -1
- package/browser/{chunk-CNI3G2X3.js → chunk-QV6OOSC2.js} +1 -1
- package/browser/{chunk-QCDV42EK.js → chunk-R7YB3V2E.js} +1 -1
- package/browser/{chunk-BZS55WHS.js → chunk-RX6XVTR7.js} +1 -1
- package/browser/{chunk-W62KNARA.js → chunk-S2AP7DX6.js} +1 -1
- package/browser/chunk-S5GYRWWO.js +1 -0
- package/browser/{chunk-OWSH6KVW.js → chunk-S5XVTDPO.js} +1 -1
- package/browser/{chunk-IRW4FVEN.js → chunk-SDAXOB46.js} +1 -1
- package/browser/chunk-SFK3JOTF.js +1 -0
- package/browser/{chunk-YGSTXCW4.js → chunk-UTUTCLZV.js} +1 -1
- package/browser/{chunk-UU7EP36X.js → chunk-VKFTA4MX.js} +1 -1
- package/browser/{chunk-WIYSZEOD.js → chunk-VR3I4RKJ.js} +1 -1
- package/browser/chunk-VURRJ77W.js +1 -0
- package/browser/{chunk-Q6JKTADC.js → chunk-WIVM4HFF.js} +1 -1
- package/browser/chunk-WO2Z5JMW.js +1 -0
- package/browser/{chunk-KD3BJ52V.js → chunk-WUU4G5YQ.js} +1 -1
- package/browser/{chunk-BJM7MKOH.js → chunk-X7WD62KI.js} +1 -1
- package/browser/{chunk-64F56SX7.js → chunk-XEXRIFJE.js} +1 -1
- package/browser/chunk-XLY3EKFY.js +1 -0
- package/browser/{chunk-KYHDDGML.js → chunk-YC3HFWKP.js} +1 -1
- package/browser/{chunk-CA4E6QDU.js → chunk-Z43UATKA.js} +1 -1
- package/browser/chunk-ZB3LDCY3.js +1 -0
- package/browser/{chunk-EGCAPAB4.js → chunk-ZKS4VKDZ.js} +1 -1
- package/browser/index.html +1 -1
- package/browser/{main-HWNV4D4D.js → main-AXQXT3DL.js} +1 -1
- package/package.json +1 -1
- package/browser/chunk-5NLXR4MK.js +0 -5
- package/browser/chunk-7PIT6THG.js +0 -1
- package/browser/chunk-7WUO5KJA.js +0 -1
- package/browser/chunk-APUP4V4X.js +0 -1
- package/browser/chunk-GDWZ2TMN.js +0 -1
- package/browser/chunk-JY2JVRRR.js +0 -1
- package/browser/chunk-K66GXZVK.js +0 -1
- package/browser/chunk-KNPRX3H3.js +0 -1
- package/browser/chunk-LC4SU6EB.js +0 -1
- package/browser/chunk-M3ZTJBEP.js +0 -1
- package/browser/chunk-NHXL5GKK.js +0 -1
- package/browser/chunk-OT2DXF3I.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Oe}from"./chunk-24QOKK6F.js";import{a as Se,b as Ie}from"./chunk-K66GXZVK.js";import{a as ke}from"./chunk-Q6JKTADC.js";import{a as K}from"./chunk-J5W3AZMJ.js";import{a as $,b as ee,c as te,d as ne,e as oe,f as ae,g as re,h as ie,i as me,j as de,k as ce,l as se,m as le,n as ge,o as fe,p as he,q as ue,r as Ce,s as be,t as _e,u as ve}from"./chunk-4OZEACGW.js";import{a as pe}from"./chunk-XC3I4AWV.js";import{a as Q,b as X,c as Z}from"./chunk-NCFBQG5D.js";import"./chunk-O2R7P65K.js";import{a as xe}from"./chunk-SA5ZJKKF.js";import"./chunk-64F56SX7.js";import{a as H}from"./chunk-R6RFNQXI.js";import{a as Y,b as q,c as J}from"./chunk-7EHCV7WH.js";import{a as Pe,b as Me}from"./chunk-M3ZTJBEP.js";import{a as Ae,b as ye}from"./chunk-Q2AMNPUD.js";import{k as F}from"./chunk-GDZOBNVN.js";import"./chunk-WIYSZEOD.js";import{c as w}from"./chunk-P4GNUQZT.js";import{r as T}from"./chunk-2LJ5KJSM.js";import"./chunk-EBAEYY2S.js";import"./chunk-BZ7URUNM.js";import{a as E}from"./chunk-SKBT6DBT.js";import"./chunk-GF3EMWCA.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-OPSHMM4H.js";import{Bb as O,Db as p,Fb as C,Ka as d,Rb as S,Tb as r,Ub as x,Wa as f,ca as g,ga as A,ha as y,lb as s,lc as I,ma as P,mb as l,rb as _,sb as n,ta as b,tb as o,ub as u,vb as M,wb as k,xb as v}from"./chunk-5NLXR4MK.js";var t=()=>!0;var Ee=[{path:"",loadComponent:()=>import("./chunk-GDWZ2TMN.js").then(e=>e.AgentosShellComponent),children:[{path:"home",canActivate:[t],loadComponent:()=>import("./chunk-KNPRX3H3.js").then(e=>e.CaseShellComponent)},{path:"",loadComponent:()=>import("./chunk-7WUO5KJA.js").then(e=>e.LayoutComponent),children:[{path:"namespaces/new",canActivate:[t],loadComponent:()=>import("./chunk-MV2EB7ZU.js").then(e=>e.NamespaceFormComponent)},{path:"namespaces/:namespaceId/edit",canActivate:[t],loadComponent:()=>import("./chunk-MV2EB7ZU.js").then(e=>e.NamespaceFormComponent)},{path:"namespaces",canActivate:[t],loadComponent:()=>import("./chunk-OT2DXF3I.js").then(e=>e.NamespaceListComponent)},{path:"admin",canActivate:[t],loadComponent:()=>import("./chunk-LC4SU6EB.js").then(e=>e.AdminHomeComponent)},{path:"admin/users/new",canActivate:[t],loadComponent:()=>import("./chunk-APUP4V4X.js").then(e=>e.UserFormComponent)},{path:"admin/users/:userId/edit",canActivate:[t],loadComponent:()=>import("./chunk-APUP4V4X.js").then(e=>e.UserFormComponent)},{path:"admin/users",canActivate:[t],loadComponent:()=>import("./chunk-JY2JVRRR.js").then(e=>e.UserListComponent)},{path:"admin/integration-configs/new",canActivate:[t],loadComponent:()=>import("./chunk-3DMSIXFU.js").then(e=>e.IntegrationFormComponent)},{path:"admin/integration-configs/:integrationId/edit",canActivate:[t],loadComponent:()=>import("./chunk-3DMSIXFU.js").then(e=>e.IntegrationFormComponent)},{path:"admin/integration-configs",canActivate:[t],loadComponent:()=>import("./chunk-Z46CAQIL.js").then(e=>e.PlatformIntegrationConfigsComponent)},{path:"admin/prompts/new",canActivate:[t],loadComponent:()=>import("./chunk-G7AYL55H.js").then(e=>e.PromptFormComponent)},{path:"admin/prompts/:promptId/edit",canActivate:[t],loadComponent:()=>import("./chunk-G7AYL55H.js").then(e=>e.PromptFormComponent)},{path:"admin/prompts",canActivate:[t],loadComponent:()=>import("./chunk-SU4RJNAW.js").then(e=>e.PlatformPromptsComponent)},{path:"admin/ai-providers/new",canActivate:[t],loadComponent:()=>import("./chunk-OB7XCFGZ.js").then(e=>e.AiProviderFormComponent)},{path:"admin/ai-providers/:aiProviderId/edit",canActivate:[t],loadComponent:()=>import("./chunk-OB7XCFGZ.js").then(e=>e.AiProviderFormComponent)},{path:"admin/ai-providers",canActivate:[t],loadComponent:()=>import("./chunk-3NQ3WSD6.js").then(e=>e.PlatformAiProvidersComponent)},{path:"admin/ai-models/new",canActivate:[t],loadComponent:()=>import("./chunk-CNI3G2X3.js").then(e=>e.AiModelFormComponent)},{path:"admin/ai-models/:modelId/edit",canActivate:[t],loadComponent:()=>import("./chunk-CNI3G2X3.js").then(e=>e.AiModelFormComponent)},{path:"admin/ai-models",canActivate:[t],loadComponent:()=>import("./chunk-PWB3PMMP.js").then(e=>e.PlatformAiModelsComponent)},{path:"admin/agent-configs/new",canActivate:[t],loadComponent:()=>import("./chunk-67BZXGWU.js").then(e=>e.AgentConfigFormComponent)},{path:"admin/agent-configs/:agentConfigId/edit",canActivate:[t],loadComponent:()=>import("./chunk-67BZXGWU.js").then(e=>e.AgentConfigFormComponent)},{path:"admin/agent-configs/:agentConfigId/inspect",canActivate:[t],loadComponent:()=>import("./chunk-VEJ7WOTG.js").then(e=>e.AgentConfigInspectComponent)},{path:"admin/agent-configs",canActivate:[t],loadComponent:()=>import("./chunk-HF5B4U3Q.js").then(e=>e.PlatformAgentConfigsComponent)},{path:"me",canActivate:[t],loadComponent:()=>import("./chunk-ZUHPSVJI.js").then(e=>e.UserProfileComponent)},{path:"user",canActivate:[t],loadComponent:()=>import("./chunk-ZUHPSVJI.js").then(e=>e.UserProfileComponent)},{path:":namespaceId/integrations/new",canActivate:[t],loadComponent:()=>import("./chunk-3DMSIXFU.js").then(e=>e.IntegrationFormComponent)},{path:":namespaceId/integrations/:integrationId/edit",canActivate:[t],loadComponent:()=>import("./chunk-3DMSIXFU.js").then(e=>e.IntegrationFormComponent)},{path:":namespaceId/integrations",canActivate:[t],loadComponent:()=>import("./chunk-RTIVYXZO.js").then(e=>e.IntegrationsAllScopesComponent)},{path:":namespaceId/ai-providers/new",canActivate:[t],loadComponent:()=>import("./chunk-OB7XCFGZ.js").then(e=>e.AiProviderFormComponent)},{path:":namespaceId/ai-providers/:aiProviderId/edit",canActivate:[t],loadComponent:()=>import("./chunk-OB7XCFGZ.js").then(e=>e.AiProviderFormComponent)},{path:":namespaceId/ai-providers",canActivate:[t],loadComponent:()=>import("./chunk-6V56ZA7X.js").then(e=>e.AiProvidersAllScopesComponent)},{path:":namespaceId/ai-models/new",canActivate:[t],loadComponent:()=>import("./chunk-CNI3G2X3.js").then(e=>e.AiModelFormComponent)},{path:":namespaceId/ai-models/:modelId/edit",canActivate:[t],loadComponent:()=>import("./chunk-CNI3G2X3.js").then(e=>e.AiModelFormComponent)},{path:":namespaceId/ai-models",canActivate:[t],loadComponent:()=>import("./chunk-OETBTCGG.js").then(e=>e.NamespaceAiModelsComponent)},{path:":namespaceId/prompts/new",canActivate:[t],loadComponent:()=>import("./chunk-G7AYL55H.js").then(e=>e.PromptFormComponent)},{path:":namespaceId/prompts/:promptId/edit",canActivate:[t],loadComponent:()=>import("./chunk-G7AYL55H.js").then(e=>e.PromptFormComponent)},{path:":namespaceId/prompts",canActivate:[t],loadComponent:()=>import("./chunk-YGSTXCW4.js").then(e=>e.NamespacePromptsComponent)},{path:":namespaceId/agent-configs/new",canActivate:[t],loadComponent:()=>import("./chunk-67BZXGWU.js").then(e=>e.AgentConfigFormComponent)},{path:":namespaceId/agent-configs/:agentConfigId/edit",canActivate:[t],loadComponent:()=>import("./chunk-67BZXGWU.js").then(e=>e.AgentConfigFormComponent)},{path:":namespaceId/agent-configs/:agentConfigId/inspect",canActivate:[t],loadComponent:()=>import("./chunk-VEJ7WOTG.js").then(e=>e.AgentConfigInspectComponent)},{path:":namespaceId/agent-configs",canActivate:[t],loadComponent:()=>import("./chunk-CQMVBNBQ.js").then(e=>e.NamespaceAgentConfigsComponent)},{path:"",redirectTo:"namespaces",pathMatch:"full"}]}]}];function B(e,i){e&1&&v(0,"span",1)}function R(e,i){e&1&&v(0,"span",2)}function j(e,i){e&1&&v(0,"span",3)}var h=class e{pluginService=g(F);online=b(null);ngOnInit(){this.pluginService.getAllPlugins().subscribe({next:()=>this.online.set(!0),error:()=>this.online.set(!1)})}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=f({type:e,selectors:[["agentos-backend-status"]],decls:4,vars:1,consts:[[1,"backend-status"],["title","AgentOS online",1,"dot","dot--online"],["title","AgentOS offline",1,"dot","dot--offline"],["title","Checking\u2026",1,"dot","dot--checking"]],template:function(a,m){if(a&1&&(M(0,"div",0),s(1,B,1,0,"span",1)(2,R,1,0,"span",2)(3,j,1,0,"span",3),k()),a&2){let c;d(),l((c=m.online())===!0?1:c===!1?2:3)}},styles:[".backend-status[_ngcontent-%COMP%]{display:flex;align-items:center}.dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dot--online[_ngcontent-%COMP%]{background:var(--color-success, #34c759)}.dot--offline[_ngcontent-%COMP%]{background:var(--color-error, #ff3b30)}.dot--checking[_ngcontent-%COMP%]{background:var(--color-text-secondary, #6e6e73);opacity:.5;animation:_ngcontent-%COMP%_pulse 1.2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%,to{opacity:.5}50%{opacity:1}}"]})};function L(e,i){if(e&1){let a=O();n(0,"button",9),p("click",function(){A(a);let c=C();return y(c.navigateToAdmin())}),n(1,"span",10),r(2,"\u2699\uFE0F"),o()()}}function G(e,i){if(e&1&&(n(0,"span",7),r(1),o()),e&2){let a=C();d(),x(a.userInitials)}}function V(e,i){e&1&&(n(0,"span",8),r(1,"\u25EF"),o())}var z=class e{router=g(w);userState=g(H);destroyRef=g(P);currentUser=this.userState.currentUser;navigateHome(){this.router.navigate(["/agentos/home"])}isAdmin=I(()=>this.userState.currentUser()?.isAdmin===!0);navigateToAdmin(){this.router.navigate(["/agentos/admin"])}ngOnInit(){this.currentUser()||this.userState.loadMe().pipe(E(this.destroyRef)).subscribe()}get userInitials(){let i=this.currentUser();if(!i)return"";let a=i.firstname?.[0]??"",m=i.lastname?.[0]??"";return(a+m).toUpperCase()||i.email?.[0]?.toUpperCase()||"?"}get isOnProfilePage(){return this.router.url.startsWith("/agentos/me")}toggleProfile(){this.isOnProfilePage?window.history.length>1?window.history.back():this.router.navigate(["/agentos"]):this.router.navigate(["/agentos/me"])}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=f({type:e,selectors:[["agentos-header"]],decls:11,vars:5,consts:[[1,"header"],["type","button","title","Home",1,"header__brand",3,"click"],["src","CODAY-Logo.png","alt","Coday",1,"header__logo-img"],[1,"header__logo-text"],[1,"header__nav"],["type","button","title","Admin",1,"header__admin-btn"],["type","button",1,"header__user-btn",3,"click","title"],[1,"header__user-initials"],[1,"header__user-icon"],["type","button","title","Admin",1,"header__admin-btn",3,"click"],[1,"header__admin-icon"]],template:function(a,m){a&1&&(n(0,"header",0)(1,"button",1),p("click",function(){return m.navigateHome()}),u(2,"img",2),n(3,"span",3),r(4,"Coday"),o()(),n(5,"nav",4),u(6,"agentos-backend-status"),s(7,L,3,0,"button",5),n(8,"button",6),p("click",function(){return m.toggleProfile()}),s(9,G,2,1,"span",7)(10,V,2,0,"span",8),o()()()),a&2&&(d(7),l(m.isAdmin()?7:-1),d(),S("header__user-btn--active",m.isOnProfilePage),_("title",m.isOnProfilePage?"Back":"My profile"),d(),l(m.userInitials?9:10))},dependencies:[h],styles:[".header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;height:56px;background:var(--glass-bg, rgba(255, 255, 255, .72));border-bottom:1px solid var(--glass-border, rgba(255, 255, 255, .18));backdrop-filter:var(--glass-backdrop-blur, blur(20px));-webkit-backdrop-filter:var(--glass-backdrop-blur, blur(20px));position:sticky;top:0;z-index:100}.header__brand[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:none;border:none;padding:0;cursor:pointer;border-radius:6px;transition:opacity .15s ease}.header__brand[_ngcontent-%COMP%]:hover{opacity:.7}.header__logo-img[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain}.header__logo-text[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;letter-spacing:-.01em;color:var(--color-text, #1d1d1f)}.header__nav[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.header__admin-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--color-border, rgba(0, 0, 0, .1));background:var(--color-bg-secondary, rgba(0, 0, 0, .04));cursor:pointer;transition:background .15s ease,border-color .15s ease;padding:0;font-family:inherit;font-size:1rem;line-height:1}.header__admin-btn[_ngcontent-%COMP%]:hover{background:var(--color-bg-hover, rgba(0, 0, 0, .08));border-color:var(--color-primary, #007aff)}.header__admin-icon[_ngcontent-%COMP%]{font-size:1rem;line-height:1}.header__user-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--color-border, rgba(0, 0, 0, .1));background:var(--color-bg-secondary, rgba(0, 0, 0, .04));cursor:pointer;transition:background .15s ease,border-color .15s ease;padding:0;font-family:inherit}.header__user-btn[_ngcontent-%COMP%]:hover{background:var(--color-bg-hover, rgba(0, 0, 0, .08));border-color:var(--color-primary, #007aff)}.header__user-btn--active[_ngcontent-%COMP%]{background:var(--color-primary, #007aff);border-color:var(--color-primary, #007aff)}.header__user-btn--active[_ngcontent-%COMP%] .header__user-initials[_ngcontent-%COMP%], .header__user-btn--active[_ngcontent-%COMP%] .header__user-icon[_ngcontent-%COMP%]{color:#fff}.header__user-initials[_ngcontent-%COMP%]{font-size:.75rem;font-weight:600;color:var(--color-text, #1d1d1f);line-height:1;letter-spacing:.02em}.header__user-icon[_ngcontent-%COMP%]{font-size:1rem;color:var(--color-text-secondary, #6e6e73);line-height:1}"]})};function W(e,i){if(e&1&&(n(0,"p",11),r(1," Last action: "),n(2,"strong"),r(3),o()()),e&2){let a=C();d(3),x(a.lastAction())}}var D=class e{lastAction=b(null);onSend(){this.lastAction.set("send")}onStop(){this.lastAction.set("stop")}onAttach(){this.lastAction.set("attach")}static \u0275fac=function(a){return new(a||e)};static \u0275cmp=f({type:e,selectors:[["agentos-hello"]],decls:35,vars:2,consts:[[1,"hello-agentos"],[1,"card"],[1,"badge"],[1,"principles"],[1,"demo"],[1,"demo-label"],[1,"demo-buttons"],["icon","send","variant","primary","title","Send",3,"action"],["icon","stop","variant","danger","title","Stop",3,"action"],["icon","attach_file","variant","default","title","Attach",3,"action"],["icon","mic","variant","default","title","Record",3,"action","disabled"],[1,"demo-feedback"]],template:function(a,m){a&1&&(n(0,"div",0)(1,"div",1)(2,"div",2),r(3,"AgentOS UI"),o(),n(4,"h1"),r(5,"Hello AgentOS"),o(),n(6,"p"),r(7," This component lives in "),n(8,"code"),r(9,"libs/agentos-ui"),o(),r(10," \u2014 isolated from Coday internals, ready to be published as "),n(11,"code"),r(12,"@whoz-oss/agentos-ui"),o(),r(13,". "),o(),u(14,"agentos-backend-status"),n(15,"ul",3)(16,"li"),r(17,"\u2726 No imports from Coday app"),o(),n(18,"li"),r(19,"\u2726 CSS custom properties as host contract"),o(),n(20,"li"),r(21,"\u2726 Standalone Angular components"),o(),n(22,"li"),r(23,"\u2726 Signals-first reactive state"),o()(),n(24,"div",4)(25,"p",5),r(26,"ds-icon-button from "),n(27,"code"),r(28,"@whoz-oss/design-system"),o()(),n(29,"div",6)(30,"ds-icon-button",7),p("action",function(){return m.onSend()}),o(),n(31,"ds-icon-button",8),p("action",function(){return m.onStop()}),o(),n(32,"ds-icon-button",9),p("action",function(){return m.onAttach()}),o(),n(33,"ds-icon-button",10),p("action",function(){return m.onAttach()}),o()(),s(34,W,4,1,"p",11),o()()()),a&2&&(d(33),_("disabled",!0),d(),l(m.lastAction()?34:-1))},dependencies:[T,h],styles:['@charset "UTF-8";.hello-agentos[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem}.card[_ngcontent-%COMP%]{background:var(--glass-bg, rgba(255, 255, 255, .72));border:1px solid var(--glass-border, rgba(255, 255, 255, .18));box-shadow:var(--glass-shadow, 0 8px 32px 0 rgba(31, 38, 135, .15));backdrop-filter:var(--glass-backdrop-blur, blur(20px));-webkit-backdrop-filter:var(--glass-backdrop-blur, blur(20px));border-radius:20px;padding:3rem;max-width:480px;width:100%;text-align:center}.badge[_ngcontent-%COMP%]{display:inline-block;background:var(--color-primary, #007aff);color:var(--color-text-inverse, #ffffff);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:.25rem .75rem;border-radius:100px;margin-bottom:1.5rem}h1[_ngcontent-%COMP%]{color:var(--color-text, #1d1d1f);font-size:2rem;font-weight:700;margin:0 0 1rem;letter-spacing:-.02em}p[_ngcontent-%COMP%]{color:var(--color-text-secondary, #6e6e73);line-height:1.6;margin:0 0 1.5rem}p[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background:var(--color-code-bg, rgba(142, 142, 147, .12));color:var(--color-code-text, #ff375f);padding:.125rem .375rem;border-radius:6px;font-size:.875em;border:1px solid var(--color-border, rgba(0, 0, 0, .1))}.principles[_ngcontent-%COMP%]{list-style:none;margin:0 0 1.5rem;padding:0;text-align:left;display:flex;flex-direction:column;gap:.5rem}.principles[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:var(--color-text-secondary, #6e6e73);font-size:.9rem;padding:.5rem .75rem;background:var(--color-bg-hover, rgba(0, 0, 0, .04));border-radius:8px;border:1px solid var(--color-border-light, rgba(40, 40, 40, .08))}.demo[_ngcontent-%COMP%]{border-top:1px solid var(--color-border-light, rgba(40, 40, 40, .08));padding-top:1.25rem}.demo[_ngcontent-%COMP%] .demo-label[_ngcontent-%COMP%]{color:var(--color-text-secondary, #6e6e73);font-size:.8rem;margin:0 0 .75rem}.demo[_ngcontent-%COMP%] .demo-label[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{background:var(--color-code-bg, rgba(142, 142, 147, .12));color:var(--color-code-text, #ff375f);padding:.125rem .375rem;border-radius:6px;font-size:.875em;border:1px solid var(--color-border, rgba(0, 0, 0, .1))}.demo[_ngcontent-%COMP%] .demo-buttons[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;justify-content:center;padding:.75rem;background:var(--color-bg-hover, rgba(0, 0, 0, .04));border-radius:12px;border:1px solid var(--color-border-light, rgba(40, 40, 40, .08))}.demo[_ngcontent-%COMP%] .demo-feedback[_ngcontent-%COMP%]{margin:.75rem 0 0;font-size:.85rem;color:var(--color-text-secondary, #6e6e73)}.demo[_ngcontent-%COMP%] .demo-feedback[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--color-primary, #007aff)}']})};export{Ee as AGENTOS_ROUTES,Ae as ActionCardChipsDirective,ye as ActionCardComponent,K as AgentosShellComponent,q as AgentosThemeService,X as AgentosUserPreferencesService,h as BackendStatusComponent,ue as CaseChatComponent,_e as CaseDrawerComponent,Ce as CaseHomeComponent,be as CaseItemComponent,ve as CaseShellComponent,Q as ENTER_KEY_BEHAVIORS,se as ExchangeContentViewerComponent,fe as ExchangeDrawerComponent,ge as ExchangeFileListComponent,le as ExchangeItemComponent,he as ExchangeShellComponent,$ as ExchangeStateService,z as HeaderComponent,D as HelloAgentosComponent,xe as LayoutComponent,ee as MAX_VIEWABLE_SIZE,pe as MarkdownPipe,Pe as NamespaceItemComponent,Me as NamespaceListComponent,Y as THEME_MODES,J as THEME_PORT,Z as USER_PREFERENCES_PORT,ke as UserAdminStateService,Oe as UserFormComponent,Se as UserItemComponent,Ie as UserListComponent,H as UserStateService,t as agentosReadyGuard,me as canViewFile,ae as detectFormat,ce as exchangeMutationScope,oe as formatDate,ne as formatSize,te as getFileIcon,re as isFormatViewable,ie as isViewable,de as reindentJson};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-SA5ZJKKF.js";import"./chunk-64F56SX7.js";import"./chunk-R6RFNQXI.js";import"./chunk-7EHCV7WH.js";import"./chunk-GDZOBNVN.js";import"./chunk-P4GNUQZT.js";import"./chunk-5NLXR4MK.js";export{a as LayoutComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-24QOKK6F.js";import"./chunk-Q6JKTADC.js";import"./chunk-R6RFNQXI.js";import"./chunk-GDZOBNVN.js";import"./chunk-P4GNUQZT.js";import"./chunk-SKBT6DBT.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-5NLXR4MK.js";export{a as UserFormComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-J5W3AZMJ.js";import"./chunk-7EHCV7WH.js";import"./chunk-P4GNUQZT.js";import"./chunk-5NLXR4MK.js";export{a as AgentosShellComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-K66GXZVK.js";import"./chunk-Q6JKTADC.js";import"./chunk-GDZOBNVN.js";import"./chunk-P4GNUQZT.js";import"./chunk-2LJ5KJSM.js";import"./chunk-EBAEYY2S.js";import"./chunk-BZ7URUNM.js";import"./chunk-SKBT6DBT.js";import"./chunk-GF3EMWCA.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-OPSHMM4H.js";import"./chunk-5NLXR4MK.js";export{a as UserListComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as k}from"./chunk-Q6JKTADC.js";import{c as T}from"./chunk-P4GNUQZT.js";import{r as D,x as L,y as E}from"./chunk-2LJ5KJSM.js";import{a as U}from"./chunk-SKBT6DBT.js";import{Bb as w,Db as a,Fb as m,Ka as l,Pb as R,Tb as v,Ub as C,Wa as c,ab as I,ca as p,ga as y,ha as b,ic as M,lb as _,lc as S,ma as x,mb as g,oc as h,pc as q,rb as u,sb as s,tb as o}from"./chunk-5NLXR4MK.js";function O(i,e){if(i&1&&(s(0,"span",3),v(1),o()),i&2){let t=m();l(),C(t.subtitle)}}var f=class i{user=q.required();editRequested=h();deleteRequested=h();menuItems=[{key:"edit",label:"Edit user",icon:"edit"},{key:"delete",label:"Delete user",icon:"delete",variant:"danger"}];get displayName(){let{firstname:e,lastname:t,email:n}=this.user();return[e,t].filter(Boolean).join(" ")||n||"\u2014"}get subtitle(){return this.user().email??this.user().externalId??""}onMenuAction(e){switch(e){case"edit":this.editRequested.emit(this.user());break;case"delete":confirm(`Delete user "${this.displayName}"?`)&&this.deleteRequested.emit(this.user());break}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=c({type:i,selectors:[["agentos-user-item"]],inputs:{user:[1,"user"]},outputs:{editRequested:"editRequested",deleteRequested:"deleteRequested"},decls:7,vars:3,consts:[["role","listitem",1,"user-item"],[1,"user-item__body"],[1,"user-item__name"],[1,"user-item__subtitle"],[1,"user-item__actions"],[3,"itemSelected","items"]],template:function(t,n){t&1&&(s(0,"div",0)(1,"div",1)(2,"span",2),v(3),o(),_(4,O,2,1,"span",3),o(),s(5,"div",4)(6,"ds-kebab-menu",5),a("itemSelected",function(d){return n.onMenuAction(d)}),o()()()),t&2&&(l(3),C(n.displayName),l(),g(n.subtitle?4:-1),l(2),u("items",n.menuItems))},dependencies:[E],styles:[".user-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;width:100%;padding:1rem 1.25rem;background:var(--color-bg-secondary, rgba(255, 255, 255, .7));border:1px solid var(--color-border, rgba(0, 0, 0, .1));border-radius:12px;box-sizing:border-box;overflow:hidden;position:relative}.user-item__body[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.user-item__name[_ngcontent-%COMP%]{font-size:.9375rem;font-weight:600;color:var(--color-text, #1d1d1f);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-item__subtitle[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--color-text-secondary, #6e6e73);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-item__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;flex-shrink:0}"],changeDetection:0})};function P(i,e){if(i&1){let t=w();s(0,"agentos-user-item",4),a("editRequested",function(r){y(t);let d=m(2);return b(d.navigateToEdit(r))})("deleteRequested",function(r){y(t);let d=m(2);return b(d.deleteUser(r))}),o()}i&2&&u("user",e)}function V(i,e){if(i&1&&_(0,P,1,1,"agentos-user-item",3),i&2){let t,n=e.$implicit,r=m();g((t=r.resolveUser(n.id))?0:-1,t)}}var A=class i{router=p(T);destroyRef=p(x);userAdminState=p(k);isLoading=this.userAdminState.isLoading;userItems=S(()=>this.userAdminState.users().map(e=>({id:e.id??"",name:[e.firstname,e.lastname].filter(Boolean).join(" ")||e.email||"\u2014",description:e.email})));get usersById(){return new Map(this.userAdminState.users().map(e=>[e.id??"",e]))}ngOnInit(){this.userAdminState.loadAll().pipe(U(this.destroyRef)).subscribe()}goBack(){this.router.navigate(["/agentos","admin"])}navigateToCreate(){this.router.navigate(["/agentos/admin/users/new"])}navigateToEdit(e){this.router.navigate(["/agentos/admin/users",e.id??"","edit"])}deleteUser(e){this.userAdminState.deleteUser(e.id??"").pipe(U(this.destroyRef)).subscribe()}resolveUser(e){return this.usersById.get(e)??null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=c({type:i,selectors:[["agentos-user-list"]],decls:4,vars:3,consts:[["userItemTpl",""],["title","Users","emptyMessage","No users found.","cardMinWidth","320px",3,"createRequested","items","showCreate","itemTemplate"],["toolbar-start","","icon","arrow_back","title","Back",3,"action"],[3,"user"],[3,"editRequested","deleteRequested","user"]],template:function(t,n){if(t&1&&(s(0,"ds-entity-list",1),a("createRequested",function(){return n.navigateToCreate()}),s(1,"ds-icon-button",2),a("action",function(){return n.goBack()}),o()(),I(2,V,1,1,"ng-template",null,0,M)),t&2){let r=R(3);u("items",n.userItems())("showCreate",!0)("itemTemplate",r)}},dependencies:[L,f,D],encapsulation:2,changeDetection:0})};export{f as a,A as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as a}from"./chunk-4OZEACGW.js";import"./chunk-XC3I4AWV.js";import"./chunk-NCFBQG5D.js";import"./chunk-O2R7P65K.js";import"./chunk-64F56SX7.js";import"./chunk-R6RFNQXI.js";import"./chunk-7EHCV7WH.js";import"./chunk-GDZOBNVN.js";import"./chunk-WIYSZEOD.js";import"./chunk-P4GNUQZT.js";import"./chunk-2LJ5KJSM.js";import"./chunk-EBAEYY2S.js";import"./chunk-BZ7URUNM.js";import"./chunk-SKBT6DBT.js";import"./chunk-GF3EMWCA.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-OPSHMM4H.js";import"./chunk-5NLXR4MK.js";export{a as CaseShellComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as y}from"./chunk-Q2AMNPUD.js";import{c as k}from"./chunk-P4GNUQZT.js";import"./chunk-2LJ5KJSM.js";import"./chunk-EBAEYY2S.js";import"./chunk-BZ7URUNM.js";import"./chunk-SKBT6DBT.js";import"./chunk-GF3EMWCA.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-OPSHMM4H.js";import{Bb as h,Db as _,Fb as u,Ka as d,Tb as o,Wa as l,ca as m,ga as s,ha as c,pb as p,qb as g,rb as f,sb as a,tb as i}from"./chunk-5NLXR4MK.js";var M=(t,n)=>n.key;function P(t,n){if(t&1){let e=h();a(0,"agentos-action-card",6),_("nameClicked",function(){let v=s(e).$implicit,x=u();return c(x.navigateTo(v.path))}),i()}if(t&2){let e=n.$implicit;f("name",e.name)("mark",e.mark)("markIsEmoji",!0)("description",e.description)("clickable",!0)}}var C=class t{router=m(k);sections=[{key:"users",mark:"\u{1F464}",name:"Users",description:"Manage all platform users and their admin rights.",path:"/agentos/admin/users"},{key:"agents",mark:"\u{1F916}",name:"Platform agents",description:"Manage agent configs shared across all namespaces.",path:"/agentos/admin/agent-configs"},{key:"integrations",mark:"\u{1F517}",name:"Platform integrations",description:"Manage integration configs shared across all namespaces.",path:"/agentos/admin/integration-configs"},{key:"ai-providers",mark:"\u{1F9E0}",name:"Platform AI providers",description:"Manage AI provider configs shared across all namespaces.",path:"/agentos/admin/ai-providers"},{key:"ai-models",mark:"\u2728",name:"Platform AI models",description:"Manage AI model configs shared across all namespaces.",path:"/agentos/admin/ai-models"},{key:"prompts",mark:"\u{1F4C4}",name:"Platform prompts",description:"Manage prompts shared across all namespaces.",path:"/agentos/admin/prompts"}];navigateTo(n){this.router.navigate([n])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=l({type:t,selectors:[["agentos-admin-home"]],decls:9,vars:0,consts:[[1,"admin-home"],[1,"admin-home__header"],[1,"admin-home__title"],[1,"admin-home__subtitle"],[1,"admin-home__sections"],[3,"name","mark","markIsEmoji","description","clickable"],[3,"nameClicked","name","mark","markIsEmoji","description","clickable"]],template:function(e,r){e&1&&(a(0,"div",0)(1,"header",1)(2,"h1",2),o(3,"Administration"),i(),a(4,"p",3),o(5,"Platform-level settings, visible to super-admins only."),i()(),a(6,"nav",4),p(7,P,1,5,"agentos-action-card",5,M),i()()),e&2&&(d(7),g(r.sections))},dependencies:[y],styles:[".admin-home[_ngcontent-%COMP%]{max-width:860px;margin:0 auto;padding:2rem 1rem;display:flex;flex-direction:column;gap:2rem}.admin-home__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.375rem}.admin-home__title[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;color:var(--color-text);font-family:Inter,sans-serif}.admin-home__subtitle[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-size:.8125rem;font-weight:400;line-height:1.4;color:var(--color-text-secondary, #6e6e73)}.admin-home__sections[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.admin-home__sections[_ngcontent-%COMP%] agentos-action-card[_ngcontent-%COMP%]{--ac-height: 120px}"],changeDetection:0})};export{C as AdminHomeComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as O,b as U}from"./chunk-Q2AMNPUD.js";import{i as G}from"./chunk-GDZOBNVN.js";import{c as j}from"./chunk-P4GNUQZT.js";import{r as F,x as z}from"./chunk-2LJ5KJSM.js";import{a as b}from"./chunk-SKBT6DBT.js";import{Bb as f,Db as d,Fb as r,Jc as H,Ka as D,Pb as L,S as V,Tb as _,Wa as N,ab as A,bc as M,ca as v,ec as E,fc as P,ga as m,ha as c,i as I,ia as u,ic as $,ja as C,lb as x,ma as S,mb as w,oc as l,pc as B,rb as h,sb as a,t as T,ta as y,tb as s,ub as g,yb as k,zb as q}from"./chunk-5NLXR4MK.js";var Q=()=>[];function X(p,n){if(p&1){let e=f();k(0,1),a(1,"span",2),_(2,"Delete?"),s(),a(3,"ds-icon-button",3),d("action",function(){m(e);let t=r();return c(t.onDeleteConfirmed())}),s(),a(4,"ds-icon-button",4),d("action",function(){m(e);let t=r();return c(t.onDeleteCancelled())}),s(),q()}}function Y(p,n){if(p&1){let e=f();k(0,1),a(1,"button",5),d("click",function(){m(e);let t=r();return c(t.onIntegrations())}),u(),a(2,"svg",6),g(3,"path",7)(4,"path",8),s(),_(5," Integrations "),s(),C(),a(6,"button",5),d("click",function(){m(e);let t=r();return c(t.onAiProviders())}),u(),a(7,"svg",6),g(8,"rect",9)(9,"rect",10)(10,"path",11),s(),_(11," AI Providers "),s(),C(),a(12,"button",5),d("click",function(){m(e);let t=r();return c(t.onAiModels())}),u(),a(13,"svg",6),g(14,"path",12),s(),_(15," AI Models "),s(),C(),a(16,"button",5),d("click",function(){m(e);let t=r();return c(t.onAgentConfigs())}),u(),a(17,"svg",6),g(18,"path",13)(19,"circle",14)(20,"circle",15),s(),_(21," Agent Configs "),s(),C(),a(22,"button",5),d("click",function(){m(e);let t=r();return c(t.onPrompts())}),u(),a(23,"svg",6),g(24,"path",16)(25,"path",17)(26,"path",18),s(),_(27," Prompts "),s(),q()}}var R=class p{namespace=B.required();selected=l();editRequested=l();integrationsRequested=l();aiProvidersRequested=l();aiModelsRequested=l();agentConfigsRequested=l();promptsRequested=l();deleteRequested=l();pendingDelete=y(!1);menuItems=[{key:"edit",label:"Edit namespace"},{key:"separator",label:"",variant:"separator"},{key:"delete",label:"Delete namespace",variant:"danger"}];onSelect(){this.selected.emit(this.namespace())}onIntegrations(){this.integrationsRequested.emit(this.namespace())}onAiProviders(){this.aiProvidersRequested.emit(this.namespace())}onAiModels(){this.aiModelsRequested.emit(this.namespace())}onAgentConfigs(){this.agentConfigsRequested.emit(this.namespace())}onPrompts(){this.promptsRequested.emit(this.namespace())}onMenuAction(n){switch(n){case"edit":this.editRequested.emit(this.namespace());break;case"delete":this.pendingDelete.set(!0);break}}onDeleteConfirmed(){this.pendingDelete.set(!1),this.deleteRequested.emit(this.namespace())}onDeleteCancelled(){this.pendingDelete.set(!1)}static \u0275fac=function(e){return new(e||p)};static \u0275cmp=N({type:p,selectors:[["agentos-namespace-item"]],inputs:{namespace:[1,"namespace"]},outputs:{selected:"selected",editRequested:"editRequested",integrationsRequested:"integrationsRequested",aiProvidersRequested:"aiProvidersRequested",aiModelsRequested:"aiModelsRequested",agentConfigsRequested:"agentConfigsRequested",promptsRequested:"promptsRequested",deleteRequested:"deleteRequested"},decls:3,vars:4,consts:[[3,"nameClicked","menuAction","name","menuItems"],["agentosCardChips",""],[1,"ns-confirm-label"],["icon","check","variant","danger","title","Confirm deletion",3,"action"],["icon","close","title","Cancel",3,"action"],["type","button",1,"ac-chip",3,"click"],["width","13","height","13","viewBox","0 0 24 24","fill","none","aria-hidden","true"],["d","M8 2v4M16 2v4M6 8h12v3a6 6 0 01-12 0V8z","stroke","currentColor","stroke-width","1.6","stroke-linecap","round","stroke-linejoin","round"],["d","M12 17v3","stroke","currentColor","stroke-width","1.6","stroke-linecap","round"],["x","7","y","7","width","10","height","10","rx","1.5","stroke","currentColor","stroke-width","1.6"],["x","10","y","10","width","4","height","4","rx","0.5","stroke","currentColor","stroke-width","1.4"],["d","M9 2v3M12 2v3M15 2v3M9 19v3M12 19v3M15 19v3M2 9h3M2 12h3M2 15h3M19 9h3M19 12h3M19 15h3","stroke","currentColor","stroke-width","1.4","stroke-linecap","round"],["d","M12 3l1.8 5.6L19 10l-5.2 1.6L12 17l-1.8-5.4L5 10l5.2-1.4L12 3z","stroke","currentColor","stroke-width","1.5","stroke-linejoin","round"],["d","M4 7h9M17 7h3M4 17h3M11 17h9","stroke","currentColor","stroke-width","1.6","stroke-linecap","round"],["cx","13","cy","7","r","2.2","stroke","currentColor","stroke-width","1.6"],["cx","8","cy","17","r","2.2","stroke","currentColor","stroke-width","1.6"],["d","M7 3h7l4 4v14a1 1 0 01-1 1H7a1 1 0 01-1-1V4a1 1 0 011-1z","stroke","currentColor","stroke-width","1.6","stroke-linejoin","round"],["d","M14 3v4h4","stroke","currentColor","stroke-width","1.6","stroke-linejoin","round"],["d","M9 13h6M9 17h6","stroke","currentColor","stroke-width","1.4","stroke-linecap","round"]],template:function(e,i){e&1&&(a(0,"agentos-action-card",0),d("nameClicked",function(){return i.onSelect()})("menuAction",function(o){return i.onMenuAction(o)}),x(1,X,5,0,"ng-container",1)(2,Y,28,0,"ng-container",1),s()),e&2&&(h("name",i.namespace().name)("menuItems",i.pendingDelete()?M(3,Q):i.menuItems),D(),w(i.pendingDelete()?1:2))},dependencies:[U,O,F],styles:[".ns-confirm-label[_ngcontent-%COMP%]{font:500 12px Inter,sans-serif;color:var(--color-error, #a5140a);white-space:nowrap;align-self:center}"],changeDetection:0})};var Z=()=>[];function ee(p,n){if(p&1){let e=f();a(0,"agentos-namespace-item",3),d("selected",function(t){m(e);let o=r(2);return c(o.navigateToHome(t.id??""))})("editRequested",function(t){m(e);let o=r(2);return c(o.navigateToEdit(t))})("deleteRequested",function(t){m(e);let o=r(2);return c(o.deleteNamespace(t))})("integrationsRequested",function(t){m(e);let o=r(2);return c(o.openIntegrations(t))})("aiProvidersRequested",function(t){m(e);let o=r(2);return c(o.openAiProviders(t))})("aiModelsRequested",function(t){m(e);let o=r(2);return c(o.openAiModels(t))})("agentConfigsRequested",function(t){m(e);let o=r(2);return c(o.openAgentConfigs(t))})("promptsRequested",function(t){m(e);let o=r(2);return c(o.openPrompts(t))}),s()}p&2&&h("namespace",n)}function te(p,n){if(p&1&&x(0,ee,1,1,"agentos-namespace-item",2),p&2){let e,i=n.$implicit,t=r();w((e=t.namespacesById().get(i.id))?0:-1,e)}}var W=class p{router=v(j);namespaceController=v(G);destroyRef=v(S);refresh$=new I(void 0);namespaces$=this.refresh$.pipe(V(()=>this.namespaceController.listAllNamespace()));namespaceItems$=this.namespaces$.pipe(T(n=>n.map(e=>({id:e.id??"",name:e.name,description:e.description,badges:e.defaultAgentName?[{label:e.defaultAgentName,variant:"info"}]:void 0}))));namespacesById=y(new Map);constructor(){this.namespaces$.pipe(b(this.destroyRef)).subscribe(n=>{this.namespacesById.set(new Map(n.map(e=>[e.id??"",e])))})}navigateToHome(n){this.router.navigate(["/agentos/home"],{queryParams:{ns:n}})}navigateToCreate(){this.router.navigate(["/agentos/namespaces/new"])}navigateToEdit(n){this.router.navigate(["/agentos/namespaces",n.id??"","edit"])}openIntegrations(n){this.router.navigate(["/agentos",n.id,"integrations"])}openAiProviders(n){this.router.navigate(["/agentos",n.id,"ai-providers"])}openAiModels(n){this.router.navigate(["/agentos",n.id,"ai-models"])}openAgentConfigs(n){this.router.navigate(["/agentos",n.id,"agent-configs"])}openPrompts(n){this.router.navigate(["/agentos",n.id,"prompts"])}deleteNamespace(n){this.namespaceController.deleteNamespace(n.id??"").pipe(b(this.destroyRef)).subscribe(()=>this.refresh$.next())}static \u0275fac=function(e){return new(e||p)};static \u0275cmp=N({type:p,selectors:[["agentos-namespace-list"]],decls:4,vars:6,consts:[["namespaceItemTpl",""],["title","Namespaces","emptyMessage","No namespaces yet. Create one to get started.","cardMinWidth","400px",3,"itemSelected","createRequested","items","showCreate","itemTemplate"],[3,"namespace"],[3,"selected","editRequested","deleteRequested","integrationsRequested","aiProvidersRequested","aiModelsRequested","agentConfigsRequested","promptsRequested","namespace"]],template:function(e,i){if(e&1&&(a(0,"ds-entity-list",1),E(1,"async"),d("itemSelected",function(o){return i.navigateToHome(o)})("createRequested",function(){return i.navigateToCreate()}),s(),A(2,te,1,1,"ng-template",null,0,$)),e&2){let t=L(3);h("items",P(1,3,i.namespaceItems$)??M(5,Z))("showCreate",!0)("itemTemplate",t)}},dependencies:[R,z,H],encapsulation:2,changeDetection:0})};export{R as a,W as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"./chunk-CA4E6QDU.js";import"./chunk-P4GNUQZT.js";import"./chunk-5NLXR4MK.js";export{a as OAUTH_CALLBACK_STORAGE_KEY,b as OAuthCallbackComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-M3ZTJBEP.js";import"./chunk-Q2AMNPUD.js";import"./chunk-GDZOBNVN.js";import"./chunk-P4GNUQZT.js";import"./chunk-2LJ5KJSM.js";import"./chunk-EBAEYY2S.js";import"./chunk-BZ7URUNM.js";import"./chunk-SKBT6DBT.js";import"./chunk-GF3EMWCA.js";import"./chunk-Z6RFJ6L3.js";import"./chunk-OPSHMM4H.js";import"./chunk-5NLXR4MK.js";export{a as NamespaceListComponent};
|