import{a as b}from"./chunk-VZISVRHZ.js";import{b as l}from"./chunk-B47LJMRU.js";import{b as T}from"./chunk-233YH2CI.js";import"./chunk-TS5XAMXE.js";import"./chunk-EHV5JSNA.js";import"./chunk-5VEBEOBK.js";import"./chunk-S2V6IA2C.js";import"./chunk-QG2WC3H3.js";import"./chunk-6KEUYGBO.js";import"./chunk-ZBEJAM5I.js";import"./chunk-N2PQ6HLD.js";import"./chunk-RYOTKPRJ.js";import"./chunk-ORQ34GH7.js";import"./chunk-DZT3OJCU.js";import"./chunk-7SMWJ3GR.js";import"./chunk-P2NRYBYH.js";import"./chunk-M7AISLOK.js";import"./chunk-URVBFPQY.js";import"./chunk-OP2OM2NB.js";import"./chunk-YFKO2YMD.js";import"./chunk-KMX5PVQZ.js";import"./chunk-H7ZIYAN2.js";import{b as r,c as h}from"./chunk-D5M6Y5VI.js";import"./chunk-PFQHIQUX.js";import"./chunk-3CODJNWE.js";import"./chunk-HJB5ICMZ.js";import"./chunk-QU4JA34D.js";import"./chunk-TAYSHZWB.js";import"./chunk-GDIYNKGM.js";import"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import{a as d}from"./chunk-ZZVJWSMI.js";import"./chunk-CX23ZL4L.js";import"./chunk-EP2DJHVF.js";import"./chunk-ZVZZ3QVR.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-KHAMQZND.js";import"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import"./chunk-NMCXU7N6.js";import{Ba as c,Bc as v,Eb as a,Jc as u,Rb as f,bc as S,cc as y,dc as g,ha as m,v as p,va as n}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";var C=(()=>{let t=class t{constructor(){this.uiService=n(d),this.dashboardService=n(b),this.branchType=h(this.uiService.branchType),this.subsystemsFilter=a(""),this.subsystemsPageSize=a(100),this.subsystemsPageNum=a(0),this.subsystemsFilter$=r(this.subsystemsFilter),this.subsystems=p([this.subsystemsFilter$,r(this.subsystemsPageSize),r(this.subsystemsPageNum)]).pipe(m(([e,s,o])=>this.dashboardService.getSubsystemsPaginated(e,o,s,l.NAME))),this.subsystemsCount=this.subsystemsFilter$.pipe(m(e=>this.dashboardService.getSubsystemsCount(e)))}createSubsystem(e){this.dashboardService.createSubsystem(e).subscribe()}updateSubsystem(e){this.dashboardService.updateArtifact(e).subscribe()}updateSubsystemFilter(e){this.subsystemsFilter.set(e)}updateSubsystemsPage(e){this.subsystemsPageNum.set(e.pageIndex),this.subsystemsPageSize.set(e.pageSize)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=c({type:t,selectors:[["osee-subsystems-list"]],standalone:!0,features:[u],decls:0,vars:0,template:function(s,o){},encapsulation:2,changeDetection:0});let i=t;return i})();var P=(()=>{let t=class t{constructor(){this.uiService=n(d),this.dashboardService=n(b),this.branchType=h(this.uiService.branchType),this.teamsFilter=a(""),this.teamsPageSize=a(100),this.teamsPageNum=a(0),this.teamsFilter$=r(this.teamsFilter),this.teams=p([this.teamsFilter$,r(this.teamsPageSize),r(this.teamsPageNum)]).pipe(m(([e,s,o])=>this.dashboardService.getTeamsPaginated(e,o,s,l.NAME))),this.teamsCount=this.teamsFilter$.pipe(m(e=>this.dashboardService.getTeamsCount(e)))}createTeam(e){this.dashboardService.createTeam(e).subscribe()}updateTeam(e){this.dashboardService.updateArtifact(e).subscribe()}updateTeamFilter(e){this.teamsFilter.set(e)}updateTeamsPage(e){this.teamsPageNum.set(e.pageIndex),this.teamsPageSize.set(e.pageSize)}};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=c({type:t,selectors:[["osee-teams-list"]],standalone:!0,features:[u],decls:0,vars:0,template:function(s,o){},encapsulation:2,changeDetection:0});let i=t;return i})();var J=(()=>{let t=class t{};t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=c({type:t,selectors:[["osee-ci-admin"]],standalone:!0,features:[u],decls:5,vars:2,consts:[[3,"actionButton","ciSetSelector"],[1,"tw-p-4"]],template:function(s,o){s&1&&(g(0,"osee-ci-dashboard-controls",0)(1,"osee-subsystems-list")(2,"osee-teams-list"),S(3,"div",1),v(4,"Subsystem and Team tables are coming soon!"),y()),s&2&&f("actionButton",!0)("ciSetSelector",!1)},dependencies:[T,C,P],encapsulation:2});let i=t;return i})();export{J as default};
