File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-U2GQACNN.js
import{c as M}from"./chunk-NXA7GLYB.js";import{a as j}from"./chunk-PDL2MCPW.js";import{a as L}from"./chunk-VTBOPFJE.js";import{a as k}from"./chunk-YKW35LPN.js";import"./chunk-JAZSQYD7.js";import{a as I}from"./chunk-RFJHVWQO.js";import{f as D}from"./chunk-QTTEMGWW.js";import"./chunk-VZSYGL77.js";import"./chunk-KT3425N4.js";import"./chunk-L5US5TIY.js";import"./chunk-KLR3GVJ4.js";import"./chunk-ROUB2DV5.js";import"./chunk-ZRYDU45O.js";import"./chunk-D2NXOKOR.js";import"./chunk-3OLHRZ2P.js";import"./chunk-2OYBQGHU.js";import"./chunk-33OPMCTI.js";import"./chunk-OH3XPIE7.js";import"./chunk-D5XKRYC7.js";import"./chunk-PYXABXFS.js";import"./chunk-RAVHNKJU.js";import"./chunk-WT44ZQWY.js";import"./chunk-GZFJ7A3T.js";import"./chunk-3NNWUWWG.js";import"./chunk-4FNTF56S.js";import"./chunk-7PPOABPU.js";import{a as h}from"./chunk-ILLDEPHH.js";import{e as w,g as y}from"./chunk-K3YFDFGL.js";import"./chunk-WA2UGD5L.js";import"./chunk-BT37DHWM.js";import{Cc as x,Eb as f,Hd as C,Sb as d,Tb as e,Ub as t,Vb as r,Zb as b,_b as v,ab as p,fb as n,sb as c,tc as i,uc as l,ud as S,vc as g,vd as E,yb as u}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";function _(m,s){if(m&1&&(b(0),e(1,"div",30)(2,"div",18)(3,"div",31)(4,"div",32)(5,"div",33)(6,"a",34),r(7,"img",35),t(),e(8,"div",36)(9,"div",37)(10,"h6",38)(11,"a",39),i(12),t()(),e(13,"span",40),i(14),t()(),e(15,"p",41),i(16),t()()()(),e(17,"div",42)(18,"div",43)(19,"h6",44),i(20,"Applied Role"),t(),e(21,"span",45),i(22),t()(),e(23,"div",43)(24,"h6",44),i(25,"Applied Date"),t(),e(26,"span",45),i(27),t()(),e(28,"div",46)(29,"h6",44),i(30,"Status"),t(),e(31,"span",47),r(32,"i",48),i(33),t()()()()()(),v()),m&2){let a=s.$implicit;n(7),d("src",x("assets/img/users/",a.Image),p),n(5),l(a.Candidate),n(2),l(a.Cand_ID),n(2),l(a.Email),n(6),l(a.Applied_Role),n(5),l(a.Applied_Date),n(4),d("ngClass",a.Status==="Hired"?"bg-success":a.Status==="New"?"bg-purple":a.Status==="Interviewed"?"bg-info":a.Status==="Scheduled"?"bg-pink":a.Status==="Offered"?"bg-warning":"bg-danger"),n(2),g(" ",a.Status)}}var R=class m{constructor(s){this.data=s;this.breadCrumbItems=[{label:"Recruitment"},{label:"Candidates Grid",active:!0}],this.data.getCandidatesList().subscribe(a=>{this.actualData=a.data})}routes=h;actualData=[];breadCrumbItems=[];static \u0275fac=function(a){return new(a||m)(c(I))};static \u0275cmp=u({type:m,selectors:[["app-candidates-grid"]],decls:87,vars:5,consts:[[1,"content"],[1,"d-md-flex","d-block","align-items-center","justify-content-between","page-breadcrumb","mb-3"],["title","Candidates",3,"breadcrumbItems"],[1,"d-flex","my-xl-auto","right-content","align-items-center","flex-wrap"],[1,"me-2","mb-2"],[1,"d-flex","align-items-center","border","bg-white","rounded","p-1","me-2","icon-list"],[1,"btn","btn-icon","btn-sm","me-1",3,"routerLink"],[1,"ti","ti-layout-kanban"],[1,"ti","ti-list-tree"],[1,"btn","btn-icon","btn-sm","active","bg-primary","text-white",3,"routerLink"],[1,"ti","ti-layout-grid"],[1,"dropdown"],["href","javascript:void(0);","data-bs-toggle","dropdown",1,"dropdown-toggle","btn","btn-white","d-inline-flex","align-items-center"],[1,"ti","ti-file-export","me-1"],[1,"dropdown-menu","dropdown-menu-end","p-3"],["href","javascript:void(0);",1,"dropdown-item","rounded-1"],[1,"ti","ti-file-type-pdf","me-1"],[1,"ti","ti-file-type-xls","me-1"],[1,"card"],[1,"card-body","p-3"],[1,"d-flex","align-items-center","justify-content-between","flex-wrap","row-gap-3"],[1,"d-flex","align-items-center","flex-wrap","row-gap-3"],[1,"me-3"],[1,"dropdown","me-3"],[1,"row"],[4,"ngFor","ngForOf"],[1,"col-md-12"],[1,"text-center","mb-4"],["href","javascript:void(0);",1,"btn","btn-primary"],[1,"ti","ti-loader-3","me-1"],[1,"col-xxl-3","col-xl-4","col-md-6"],[1,"card-body"],[1,"d-flex","justify-content-between","align-items-start","mb-3"],[1,"d-flex","align-items-center","flex-shrink-0"],["href","javascript:void(0);","data-bs-toggle","offcanvas","data-bs-target","#candidate_details",1,"avatar","avatar-lg","avatar","rounded-circle","me-2"],["alt","img",1,"img-fluid","h-auto","w-auto",3,"src"],[1,"d-flex","flex-column"],[1,"d-flex","flex-wrap","mb-1"],[1,"fs-16","fw-semibold","me-1"],["href","javascript:void(0);","data-bs-toggle","offcanvas","data-bs-target","#candidate_details"],[1,"badge","bg-primary-transparent"],[1,"text-gray","fs-13","fw-normal"],[1,"bg-light","rounder","p-2"],[1,"d-flex","align-items-center","justify-content-between","mb-2"],[1,"text-gray","fs-14","fw-normal"],[1,"text-dark","fs-14","fw-medium"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fs-10","fw-medium","badge",3,"ngClass"],[1,"ti","ti-point-filled"]],template:function(a,o){a&1&&(e(0,"div",0)(1,"div",1),r(2,"app-breadcrumbs",2),e(3,"div",3)(4,"div",4)(5,"div",5)(6,"a",6),r(7,"i",7),t(),e(8,"a",6),r(9,"i",8),t(),e(10,"a",9),r(11,"i",10),t()()(),e(12,"div",4)(13,"div",11)(14,"a",12),r(15,"i",13),i(16,"Export "),t(),e(17,"ul",14)(18,"li")(19,"a",15),r(20,"i",16),i(21,"Export as PDF"),t()(),e(22,"li")(23,"a",15),r(24,"i",17),i(25,"Export as Excel "),t()()()()(),r(26,"app-collapse-header"),t()(),e(27,"div",18)(28,"div",19)(29,"div",20)(30,"h5"),i(31,"Candidates Grid"),t(),e(32,"div",21)(33,"div",22),r(34,"app-date-range-picker"),t(),e(35,"div",23)(36,"a",12),i(37," Role "),t(),e(38,"ul",14)(39,"li")(40,"a",15),i(41,"Accountant"),t()(),e(42,"li")(43,"a",15),i(44,"App Developer"),t()(),e(45,"li")(46,"a",15),i(47,"Technician"),t()()()(),e(48,"div",23)(49,"a",12),i(50," Select Status "),t(),e(51,"ul",14)(52,"li")(53,"a",15),i(54,"Select Status"),t()(),e(55,"li")(56,"a",15),i(57,"Active"),t()(),e(58,"li")(59,"a",15),i(60,"Inactive"),t()()()(),e(61,"div",11)(62,"a",12),i(63," Sort By : Last 7 Days "),t(),e(64,"ul",14)(65,"li")(66,"a",15),i(67,"Recently Added"),t()(),e(68,"li")(69,"a",15),i(70,"Ascending"),t()(),e(71,"li")(72,"a",15),i(73,"Desending"),t()(),e(74,"li")(75,"a",15),i(76,"Last Month"),t()(),e(77,"li")(78,"a",15),i(79,"Last 7 Days"),t()()()()()()()(),e(80,"div",24),f(81,_,34,9,"ng-container",25),e(82,"div",26)(83,"div",27)(84,"a",28),r(85,"i",29),i(86,"Load More"),t()()()()()),a&2&&(n(2),d("breadcrumbItems",o.breadCrumbItems),n(4),d("routerLink",o.routes.candidatesKanban),n(2),d("routerLink",o.routes.candidateslist),n(2),d("routerLink",o.routes.candidatesGrid),n(71),d("ngForOf",o.actualData))},dependencies:[j,k,L,y,w,C,S,E,D,M],encapsulation:2})};export{R as CandidatesGridComponent};