1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e7e0efa8-4228-5257-9c5d-516079cfb157")}catch(e){}}(); 3import{a as oe}from"./chunk-26SYKFVS.js";import{a as ie}from"./chunk-7T26GH3D.js";import{a as Y}from"./chunk-HBBPILXZ.js";import{a as U}from"./chunk-VI55F4GV.js";import{a as j,b as Q,c as W}from"./chunk-O4MIZDZV.js";import{c as q,d as G,f as J,g as X,h as Z,i as ee,m as te}from"./chunk-OEBYQOZQ.js";import{a as z}from"./chunk-DTVYZXLL.js";import"./chunk-EGRHWZRV.js";import"./chunk-AEFCGZDR.js";import"./chunk-PG24UY6T.js";import{h as H,o as $}from"./chunk-Q2AAPIJW.js";import"./chunk-N3XAQERL.js";import"./chunk-SMEXCY7N.js";import"./chunk-OLWNQ56K.js";import{u as F}from"./chunk-2EJUDOC2.js";import"./chunk-5N24KAUJ.js";import"./chunk-LUXEXRXP.js";import"./chunk-X75RVMAN.js";import"./chunk-OB6AVIQO.js";import"./chunk-SW6HEAXC.js";import"./chunk-ISLLQDDO.js";import"./chunk-T7DV56X4.js";import"./chunk-HQXT23Q7.js";import"./chunk-52LY6XWQ.js";import{b as V}from"./chunk-HIYFEG2A.js";import{ia as O,ra as N}from"./chunk-ZTFBZWIC.js";import"./chunk-2XDXZVNV.js";import"./chunk-3UE6VT7A.js";import"./chunk-26FJGFK4.js";import"./chunk-UQB2UR2R.js";import"./chunk-CRWPLPHS.js";import"./chunk-HHLGP36B.js";import"./chunk-YT5CTFGT.js";import{B as M,C as B,x as L}from"./chunk-FSWAVY5I.js";import"./chunk-RVT7MIN3.js";import{Ac as C,Bc as b,Gc as A,H as T,Ib as c,Kb as m,Pb as d,Qb as n,Rb as a,Sb as u,Wb as D,Xb as g,Xc as I,Zb as E,_a as i,bc as w,ca as l,dc as s,g as S,ja as v,ka as h,nc as K,ob as x,sc as f,ua as P,ub as R,xa as y,zc as k}from"./chunk-XU36RA2M.js";var ae=e=>({recordkeeper:e});function le(e,p){e&1&&u(0,"th")}function se(e,p){if(e&1&&(n(0,"a",9),f(1," Invite Plan Sponsor "),a()),e&2){let t=s().$implicit;d("routerLink","/"+t.url+"/invite/plan-sponsor")("queryParams",A(2,ae,t.identifier))}}function pe(e,p){if(e&1){let t=E();n(0,"button",11),w("click",function(){v(t);let r=s().$implicit,_=s(2);return h(_.createPlanSponsor(r))}),n(1,"span",12),f(2,"Create Plan Sponsor"),a()()}}function ce(e,p){if(e&1&&(n(0,"td",8),c(1,se,2,4,"a",9),c(2,pe,3,0,"button",10),a()),e&2){s(2);let t=b(10),o=b(11);i(),m(o?1:-1),i(),m(t?2:-1)}}function me(e,p){e&1&&(D(0,5),R(1,le,1,0,"th",6)(2,ce,3,2,"td",7),g())}var ze=(()=>{class e{constructor(){this.tableDataSource=te({request:N.recordKeepers,computation:t=>this.recordKeeperService.addConfigsToRecordKeeperResponses(t),errorMessage:"Failed to load recordkeepers",sortFields:["display_name","ref_code"],useLocalStorage:z.RECORD_KEEPER_TABLE,useQueryParams:!0}),this.isThirdPartyAdmin=P(!1),this.canCreatePlanSponsor=oe(),this.canInvitePlanSponsor=ie(),this.visibleColumns=I(()=>{let t=["display_name","ref_code"];return this.canCreatePlanSponsor()&&t.push("actions"),t}),this.router=l(M),this.route=l(L),this.recordKeeperService=l(O),this.planSponsorService=l($),this.permissionService=l(H),y(()=>S(this,null,function*(){let{thirdPartyEntityIds:t}=yield this.permissionService.getPermissionAccessLevels("INVITE_USER_ONBOARDING");t.length>0&&this.isThirdPartyAdmin.set(!0)}))}createPlanSponsor(t){this.planSponsorService.openPlanSponsorModal(t)?.onClose.pipe(T(o=>o?.id)).subscribe(o=>{this.router.navigate([`/${t.url}/plan-sponsor/${o.id}`],{relativeTo:this.route})})}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=x({type:e,selectors:[["pay-record-keeper-table"]],decls:13,vars:6,consts:[["table",""],[3,"table"],["resizableColumns","","showCurrentPageReport","","skeletonHeight","35px",3,"columnOrder","dataSource"],["name","display_name","headerText","Recordkeeper","fullWidth","","sortable",""],["name","ref_code","headerText","URL","sortable",""],["payTableColumnDef","actions"],[4,"payTableHeaderCellDef"],["class","flex gap-2",4,"payTableCellDef"],[1,"flex","gap-2"],["piButton","","size","sm","outline","",1,"text-bold","no-underline",3,"routerLink","queryParams"],["piButton","","id","createPlanSponsorButton","size","sm","outline",""],["piButton","","id","createPlanSponsorButton","size","sm","outline","",3,"click"],[1,"text-bold"]],template:function(o,r){if(o&1&&(n(0,"pay-table-view")(1,"pay-table-view-title")(2,"h3"),f(3,"Recordkeepers"),a()(),n(4,"pay-table-view-actions"),u(5,"pay-table-search-input",1),a(),n(6,"pay-table",2,0),u(8,"pay-table-text-column",3)(9,"pay-table-text-column",4),k(10)(11),c(12,me,3,0,"ng-container",5),a()()),o&2){let _=K(7);i(5),d("table",_),i(),d("columnOrder",r.visibleColumns())("dataSource",r.tableDataSource),i(4);let ne=C(r.canCreatePlanSponsor());i();let re=C(r.canInvitePlanSponsor()&&!r.isThirdPartyAdmin());i(),m(ne||re?12:-1)}},dependencies:[V,ee,q,X,J,G,Z,Y,j,Q,W,B,U,F],encapsulation:2})}}return e})();export{ze as RecordKeeperTableComponent}; 4//# sourceMappingURL=chunk-5N6F7SQE.js.map 5 6//# debugId=e7e0efa8-4228-5257-9c5d-516079cfb157
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.