File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-SRAT5GTL.js
import{Eb as S,Hd as h,Sb as f,Tb as t,Ub as e,Vb as n,Zb as u,_b as b,ac as x,cc as d,ec as y,fb as p,pa as c,qa as s,tc as i,vd as E,yb as v}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";function w(m,a){if(m&1){let l=x();u(0),t(1,"div",16)(2,"div",19)(3,"div",4)(4,"div",20)(5,"div",11)(6,"label",12),i(7,"Salary From"),e(),n(8,"input",13),e()(),t(9,"div",20)(10,"div",11)(11,"label",12),i(12,"Salary To"),e(),n(13,"input",13),e()(),t(14,"div",20)(15,"div",21)(16,"div",22)(17,"label",12),i(18,"Percentage"),e(),n(19,"input",13),e(),t(20,"div",23)(21,"a",24),d("click",function(){let o=c(l).index,k=y();return s(k.removeRow(o))}),n(22,"i",30),e()()()()()()(),b()}}var g=class m{formData=[];addNewRow(){this.formData.push({})}removeRow(a){this.formData.splice(a,1)}trackByIndex(a,l){return a}static \u0275fac=function(l){return new(l||m)};static \u0275cmp=v({type:m,selectors:[["app-salary-settings"]],decls:98,vars:2,consts:[[1,"card"],[1,"card-body"],[1,"border-bottom","mb-3","pb-3"],[1,"border-bottom","mb-3"],[1,"row"],[1,"col-md-4","d-flex"],[1,"card","flex-fill"],[1,"card-body","pb-1"],[1,"content-head","d-flex","justify-content-between","align-items-center","border-bottom","pb-2","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input"],[1,"mb-3"],[1,"form-label",3,"htmlFor"],["type","text",1,"form-control"],["type","checkbox","role","switch","id","flexSwitchCheckDefault2",1,"form-check-input"],["type","checkbox","role","switch","id","flexSwitchCheckDefault3",1,"form-check-input"],[1,"col-md-12"],[1,"d-flex","justify-content-between","align-items-center","border-bottom","pb-2","mb-2"],["type","checkbox","role","switch","id","flexSwitchCheckDefault4",1,"form-check-input"],[1,"add-salary-info"],[1,"col-md-4"],[1,"d-flex","align-items-center"],[1,"mb-3","flex-fill"],[1,"d-flex","align-items-center","pt-3","ms-3"],["href","javascript:void(0);",1,"avatar","avatar-md","rounded","bg-gray","add-salary-btn","text-primary",3,"click"],[1,"ti","ti-plus"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"d-flex","align-items-center","justify-content-end"],["type","button",1,"btn","btn-outline-light","border","me-3"],["type","submit",1,"btn","btn-primary"],[1,"ti","ti-trash"]],template:function(l,r){l&1&&(t(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4"),i(4,"Salary Settings"),e()(),t(5,"form")(6,"div",3),n(7,"div",4),t(8,"div",4)(9,"div",5)(10,"div",6)(11,"div",7)(12,"div",8)(13,"h5"),i(14,"DA & HRA"),e(),t(15,"div",9),n(16,"input",10),e()(),t(17,"div",11)(18,"label",12),i(19,"DA (%)"),e(),n(20,"input",13),e(),t(21,"div",11)(22,"label",12),i(23,"HRA (%)"),e(),n(24,"input",13),e()()()(),t(25,"div",5)(26,"div",6)(27,"div",7)(28,"div",8)(29,"h5"),i(30,"Provident Fund"),e(),t(31,"div",9),n(32,"input",14),e()(),t(33,"div",11)(34,"label",12),i(35,"Employee Share (%)"),e(),n(36,"input",13),e(),t(37,"div",11)(38,"label",12),i(39,"Organization Share (%)"),e(),n(40,"input",13),e()()()(),t(41,"div",5)(42,"div",6)(43,"div",7)(44,"div",8)(45,"h5"),i(46,"ESI"),e(),t(47,"div",9),n(48,"input",15),e()(),t(49,"div",11)(50,"label",12),i(51,"Employee Share (%)"),e(),n(52,"input",13),e(),t(53,"div",11)(54,"label",12),i(55,"Organization Share (%)"),e(),n(56,"input",13),e()()()()()(),t(57,"div",3)(58,"div",4)(59,"div",16)(60,"div",0)(61,"div",7)(62,"div",17)(63,"h5"),i(64,"TDS "),t(65,"span"),i(66," Annual Salary"),e()(),t(67,"div",9),n(68,"input",18),e()(),t(69,"div",4)(70,"div",16)(71,"div",19)(72,"div",4)(73,"div",20)(74,"div",11)(75,"label",12),i(76,"Salary From"),e(),n(77,"input",13),e()(),t(78,"div",20)(79,"div",11)(80,"label",12),i(81,"Salary To"),e(),n(82,"input",13),e()(),t(83,"div",20)(84,"div",21)(85,"div",22)(86,"label",12),i(87,"Percentage"),e(),n(88,"input",13),e(),t(89,"div",23)(90,"a",24),d("click",function(){return r.addNewRow()}),n(91,"i",25),e()()()()()()(),S(92,w,23,0,"ng-container",26),e()()()()()(),t(93,"div",27)(94,"button",28),i(95,"Cancel"),e(),t(96,"button",29),i(97,"Save"),e()()()()()),l&2&&(p(92),f("ngForOf",r.formData)("ngForTrackBy",r.trackByIndex))},dependencies:[h,E],encapsulation:2})};export{g as SalarySettingsComponent};