HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-BSCX4GZ5.js
import{a as N,b as P}from"./chunk-QTISLVTV.js";import{a as D,d as I,f as F}from"./chunk-QTTEMGWW.js";import{h as k,i as M,k as R,m as L,n as V,y as T}from"./chunk-7PPOABPU.js";import{Ac as h,Eb as s,Fc as b,Hd as C,Sb as m,Tb as e,Ub as t,Vb as a,ac as S,cc as _,ec as v,fb as d,pa as u,qa as x,tc as i,vd as w,wd as y,yb as g,yc as f,zc as E}from"./chunk-AQ27DSQO.js";var O=()=>({standalone:!0});function A(n,o){n&1&&(e(0,"label",11),i(1,"Phone Number "),e(2,"span",12),i(3," *"),t()())}function B(n,o){if(n&1){let l=S();e(0,"a",69),_("click",function(){u(l);let p=v(2);return x(p.addRow())}),a(1,"i",70),t()}}function j(n,o){if(n&1){let l=S();e(0,"a",71),_("click",function(){u(l);let p=v().index,c=v();return x(c.removeRow(p))}),a(1,"i",72),t()}}function H(n,o){if(n&1&&(e(0,"div",8)(1,"div",62)(2,"div",21),s(3,A,4,0,"label",63),a(4,"input",13),t()(),e(5,"div",64)(6,"div",65)(7,"div",66)(8,"mat-select",26)(9,"mat-option",27),i(10,"Work"),t(),e(11,"mat-option",27),i(12,"Home"),t()()(),s(13,B,2,0,"a",67)(14,j,2,0,"a",68),t()()()),n&2){let l=o.index;d(3),m("ngIf",l===0),d(10),m("ngIf",l===0),d(),m("ngIf",l!==0)}}function z(n,o){n&1&&(e(0,"label",11),i(1,"Email "),e(2,"span",12),i(3," *"),t()())}function Q(n,o){if(n&1){let l=S();e(0,"a",74),_("click",function(){u(l);let p=v(2);return x(p.addRow1())}),a(1,"i",70),t()}}function U(n,o){if(n&1){let l=S();e(0,"a",71),_("click",function(){u(l);let p=v().index,c=v();return x(c.removeRow1(p))}),a(1,"i",72),t()}}function G(n,o){if(n&1&&(e(0,"div",8)(1,"div",62)(2,"div",21),s(3,z,4,0,"label",63),a(4,"input",13),t()(),e(5,"div",64)(6,"div",65)(7,"div",66)(8,"mat-select",26)(9,"mat-option",27),i(10,"Work"),t(),e(11,"mat-option",27),i(12,"Home"),t()()(),s(13,Q,2,0,"a",73)(14,U,2,0,"a",68),t()()()),n&2){let l=o.index;d(3),m("ngIf",l===0),d(10),m("ngIf",l===0),d(),m("ngIf",l!==0)}}function q(n,o){n&1&&(e(0,"label",11),i(1,"Phone Number "),e(2,"span",12),i(3," *"),t()())}function J(n,o){if(n&1){let l=S();e(0,"a",69),_("click",function(){u(l);let p=v(2);return x(p.addRow2())}),a(1,"i",70),t()}}function K(n,o){if(n&1){let l=S();e(0,"a",71),_("click",function(){u(l);let p=v().index,c=v();return x(c.removeRow2(p))}),a(1,"i",72),t()}}function X(n,o){if(n&1&&(e(0,"div",8)(1,"div",62)(2,"div",21),s(3,q,4,0,"label",63),a(4,"input",13),t()(),e(5,"div",64)(6,"div",65)(7,"div",66)(8,"mat-select",75)(9,"mat-option",27),i(10,"Work"),t(),e(11,"mat-option",27),i(12,"Home"),t()()(),s(13,J,2,0,"a",67)(14,K,2,0,"a",68),t()()()),n&2){let l=o.index;d(3),m("ngIf",l===0),d(10),m("ngIf",l===0),d(),m("ngIf",l!==0)}}function Y(n,o){n&1&&(e(0,"label",11),i(1,"Email "),e(2,"span",12),i(3," *"),t()())}function Z(n,o){if(n&1){let l=S();e(0,"a",74),_("click",function(){u(l);let p=v(2);return x(p.addRow3())}),a(1,"i",70),t()}}function $(n,o){if(n&1){let l=S();e(0,"a",71),_("click",function(){u(l);let p=v().index,c=v();return x(c.removeRow3(p))}),a(1,"i",72),t()}}function ee(n,o){if(n&1&&(e(0,"div",8)(1,"div",62)(2,"div",21),s(3,Y,4,0,"label",63),a(4,"input",13),t()(),e(5,"div",64)(6,"div",65)(7,"div",66)(8,"mat-select",75)(9,"mat-option",27),i(10,"Work"),t(),e(11,"mat-option",27),i(12,"Home"),t()()(),s(13,Z,2,0,"a",73)(14,$,2,0,"a",68),t()()()),n&2){let l=o.index;d(3),m("ngIf",l===0),d(10),m("ngIf",l===0),d(),m("ngIf",l!==0)}}var W=class n{values=["Collab","Promotion","Rated","Davis"];values1=["Vaughan Lewis"];rowappend=[{title:"",amount:""}];rowappend1=[{title:"",amount:""}];rowappend2=[{title:"",amount:""}];rowappend3=[{title:"",amount:""}];addRow(){this.rowappend.push({title:"",amount:""})}addRow1(){this.rowappend1.push({title:"",amount:""})}addRow2(){this.rowappend2.push({title:"",amount:""})}addRow3(){this.rowappend3.push({title:"",amount:""})}removeRow(o){this.rowappend.length>1&&this.rowappend.splice(o,1)}removeRow1(o){this.rowappend1.length>1&&this.rowappend1.splice(o,1)}removeRow2(o){this.rowappend2.length>1&&this.rowappend2.splice(o,1)}removeRow3(o){this.rowappend3.length>1&&this.rowappend3.splice(o,1)}static \u0275fac=function(l){return new(l||n)};static \u0275cmp=g({type:n,selectors:[["app-leads-modal"]],decls:332,vars:12,consts:[["id","add_leads",1,"modal","fade"],[1,"modal-dialog","modal-dialog-centered","modal-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close","custom-btn-close"],[1,"ti","ti-x"],[1,"modal-body","pb-0"],[1,"row"],[1,"col-md-12"],[1,"mb-3"],[1,"form-label",3,"htmlFor"],[1,"text-danger"],["type","text",1,"form-control"],[1,"d-flex","align-items-center"],[1,"form-check","me-3"],["type","radio","name","flexRadioDefault","id","flexRadioDefault1",1,"form-check-input"],["for","flexRadioDefault1",1,"form-check-label",3,"htmlFor"],[1,"form-check"],["type","radio","name","flexRadioDefault","id","flexRadioDefault2","checked","",1,"form-check-input"],["for","flexRadioDefault2",1,"form-check-label",3,"htmlFor"],[1,"input-block","mb-3"],[1,"d-flex","justify-content-between","align-items-center"],[1,"col-form-label",3,"htmlFor"],["href","javascript:void(0)","data-bs-toggle","modal","data-bs-target","#add_company",1,"add-new","text-primary"],[1,"ti","ti-plus","text-primary","me-1"],["placeholder","Select",1,"select","custom-mat-select"],["value","1"],[1,"col-md-6"],[1,"lead-phno-col"],["class","row",4,"ngFor","ngForOf"],[1,"lead-email-col"],[1,"form-control",3,"ngModelChange","ngModelOptions","ngModel","placeholder"],["rows","3",1,"form-control"],[1,"col-md-6","d-flex","align-items-center"],["type","radio","name","flexRadioDefault","id","public-id",1,"form-check-input"],["for","public-id",1,"form-check-label",3,"htmlFor"],["type","radio","name","flexRadioDefault","id","private-id","checked","",1,"form-check-input"],["for","private-id",1,"form-check-label",3,"htmlFor"],["type","radio","name","flexRadioDefault","id","people-id","checked","",1,"form-check-input"],["for","people-id",1,"form-check-label",3,"htmlFor"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-light","me-2"],["type","submit",1,"btn","btn-primary"],["id","edit_leads",1,"modal","fade"],["type","text","value","Schumm",1,"form-control"],["type","radio","name","flexRadioDefault","id","flexRadioDefault4",1,"form-check-input"],["for","flexRadioDefault4",1,"form-check-label",3,"htmlFor"],["type","radio","name","flexRadioDefault","id","flexRadioDefault30","checked","",1,"form-check-input"],["for","flexRadioDefault30",1,"form-check-label",3,"htmlFor"],["placeholder","BrightWave Innovations",1,"select","custom-mat-select"],["placeholder","Euro",1,"select","custom-mat-select"],["placeholder","Social Media",1,"select","custom-mat-select"],["placeholder","Banking",1,"select","custom-mat-select"],["placeholder","Sharon Roy",1,"select","custom-mat-select"],["type","radio","name","flexRadioDefault","id","public-id2",1,"form-check-input"],["for","public-id2",1,"form-check-label",3,"htmlFor"],["type","radio","name","flexRadioDefault","id","private-id2","checked","",1,"form-check-input"],["for","private-id2",1,"form-check-label",3,"htmlFor"],["type","radio","name","flexRadioDefault","id","people-id2","checked","",1,"form-check-input"],["for","people-id2",1,"form-check-label",3,"htmlFor"],["placeholder","Active",1,"select","custom-mat-select"],[1,"col-lg-8"],["class","form-label",3,"htmlFor",4,"ngIf"],[1,"col-lg-4","d-flex","align-items-end"],[1,"input-block","w-100","mb-3","d-flex","align-items-center"],[1,"w-100"],["href","javascript:void(0)","class","add-modal-row text-primary add-lead-phno ms-2",3,"click",4,"ngIf"],["class","avatar avatar-md rounded delete-email text-primary",3,"click",4,"ngIf"],["href","javascript:void(0)",1,"add-modal-row","text-primary","add-lead-phno","ms-2",3,"click"],[1,"ti","ti-circle-plus"],[1,"avatar","avatar-md","rounded","delete-email","text-primary",3,"click"],[1,"ti","ti-trash"],["href","javascript:void(0)","class","add-email-row text-primary add-lead-phno ms-2",3,"click",4,"ngIf"],["href","javascript:void(0)",1,"add-email-row","text-primary","add-lead-phno","ms-2",3,"click"],["placeholder","Work",1,"select","custom-mat-select"]],template:function(l,r){l&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),i(5,"Add New Lead"),t(),e(6,"button",5),a(7,"i",6),t()(),e(8,"form")(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"label",11),i(14,"Lead Name "),e(15,"span",12),i(16," *"),t()(),a(17,"input",13),t()(),e(18,"div",9)(19,"div",10)(20,"div",14)(21,"div",15),a(22,"input",16),e(23,"label",17),i(24," Person "),t()(),e(25,"div",18),a(26,"input",19),e(27,"label",20),i(28," Organization "),t()()()()(),e(29,"div",9)(30,"div",21)(31,"div",22)(32,"label",23),i(33,"Company "),e(34,"span",12),i(35," *"),t()(),e(36,"a",24),a(37,"i",25),i(38,"Add New"),t()(),e(39,"mat-select",26)(40,"mat-option",27),i(41,"Select"),t(),e(42,"mat-option",27),i(43,"BrightWave Innovations"),t(),e(44,"mat-option",27),i(45,"Stellar Dynamics"),t(),e(46,"mat-option",27),i(47,"Quantum Nexus"),t()()()(),e(48,"div",28)(49,"div",10)(50,"label",11),i(51,"Value "),e(52,"span",12),i(53," *"),t()(),a(54,"input",13),t()(),e(55,"div",28)(56,"div",10)(57,"label",11),i(58,"Currency"),e(59,"span",12),i(60," *"),t()(),e(61,"mat-select",26)(62,"mat-option",27),i(63,"Select"),t(),e(64,"mat-option",27),i(65,"USD"),t(),e(66,"mat-option",27),i(67,"Euro"),t()()()(),e(68,"div",9)(69,"div",29),s(70,H,15,3,"div",30),t()(),e(71,"div",9)(72,"div",31),s(73,G,15,3,"div",30),t()(),e(74,"div",28)(75,"div",10)(76,"label",11),i(77,"Source "),e(78,"span",12),i(79," *"),t()(),e(80,"mat-select",26)(81,"mat-option",27),i(82,"Select"),t(),e(83,"mat-option",27),i(84,"Phone Calls"),t(),e(85,"mat-option",27),i(86,"Social Media"),t(),e(87,"mat-option",27),i(88,"Referral Sites"),t()()()(),e(89,"div",28)(90,"div",10)(91,"label",11),i(92,"Industry "),e(93,"span",12),i(94," *"),t()(),e(95,"mat-select",26)(96,"mat-option",27),i(97,"Select"),t(),e(98,"mat-option",27),i(99,"Rentail Industry"),t(),e(100,"mat-option",27),i(101,"Banking"),t(),e(102,"mat-option",27),i(103,"Hotels"),t()()()(),e(104,"div",28)(105,"div",10)(106,"label",11),i(107,"Owner "),e(108,"span",12),i(109," *"),t()(),e(110,"mat-select",26)(111,"mat-option",27),i(112,"Select"),t(),e(113,"mat-option",27),i(114,"Darlee Robertson"),t(),e(115,"mat-option",27),i(116,"Sharon Roy"),t(),e(117,"mat-option",27),i(118,"Vaughan Lewis"),t()()()(),e(119,"div",28)(120,"div",10)(121,"label",11),i(122,"Tags "),e(123,"span",12),i(124," *"),t()(),e(125,"tag-input",32),h("ngModelChange",function(c){return E(r.values,c)||(r.values=c),c}),t()()(),e(126,"div",9)(127,"div",10)(128,"label",11),i(129,"Description "),e(130,"span",12),i(131," *"),t()(),a(132,"textarea",33),t()(),e(133,"div",34)(134,"div",10)(135,"label",11),i(136,"Visibility"),t(),e(137,"div",14)(138,"div",15),a(139,"input",35),e(140,"label",36),i(141," Public "),t()(),e(142,"div",15),a(143,"input",37),e(144,"label",38),i(145," Private "),t()(),e(146,"div",18),a(147,"input",39),e(148,"label",40),i(149," Select People "),t()()()()(),e(150,"div",28)(151,"div",10)(152,"label",11),i(153,"Status"),t(),e(154,"mat-select",26)(155,"mat-option",27),i(156,"Select"),t(),e(157,"mat-option",27),i(158,"Active"),t(),e(159,"mat-option",27),i(160,"Inactive"),t()()()()()(),e(161,"div",41)(162,"button",42),i(163,"Cancel"),t(),e(164,"button",43),i(165,"Add Lead"),t()()()()()(),e(166,"div",44)(167,"div",1)(168,"div",2)(169,"div",3)(170,"h4",4),i(171,"Edit Lead"),t(),e(172,"button",5),a(173,"i",6),t()(),e(174,"form")(175,"div",7)(176,"div",8)(177,"div",9)(178,"div",10)(179,"label",11),i(180,"Lead Name "),e(181,"span",12),i(182," *"),t()(),a(183,"input",45),t()(),e(184,"div",9)(185,"div",10)(186,"div",14)(187,"div",15),a(188,"input",46),e(189,"label",47),i(190," Person "),t()(),e(191,"div",18),a(192,"input",48),e(193,"label",49),i(194," Organization "),t()()()()(),e(195,"div",9)(196,"div",21)(197,"div",22)(198,"label",23),i(199,"Company "),e(200,"span",12),i(201," *"),t()(),e(202,"a",24),a(203,"i",25),i(204,"Add New"),t()(),e(205,"mat-select",50)(206,"mat-option",27),i(207,"Select"),t(),e(208,"mat-option",27),i(209,"BrightWave Innovations"),t(),e(210,"mat-option",27),i(211,"Stellar Dynamics"),t(),e(212,"mat-option",27),i(213,"Quantum Nexus"),t()()()(),e(214,"div",28)(215,"div",10)(216,"label",11),i(217,"Value "),e(218,"span",12),i(219," *"),t()(),a(220,"input",13),t()(),e(221,"div",28)(222,"div",10)(223,"label",11),i(224,"Currency"),e(225,"span",12),i(226," *"),t()(),e(227,"mat-select",51)(228,"mat-option",27),i(229,"Select"),t(),e(230,"mat-option",27),i(231,"USD"),t(),e(232,"mat-option",27),i(233,"Euro"),t()()()(),e(234,"div",9)(235,"div",29),s(236,X,15,3,"div",30),t()(),e(237,"div",9)(238,"div",31),s(239,ee,15,3,"div",30),t()(),e(240,"div",28)(241,"div",10)(242,"label",11),i(243,"Source "),e(244,"span",12),i(245," *"),t()(),e(246,"mat-select",52)(247,"mat-option",27),i(248,"Select"),t(),e(249,"mat-option",27),i(250,"Phone Calls"),t(),e(251,"mat-option",27),i(252,"Social Media"),t(),e(253,"mat-option",27),i(254,"Referral Sites"),t()()()(),e(255,"div",28)(256,"div",10)(257,"label",11),i(258,"Industry "),e(259,"span",12),i(260," *"),t()(),e(261,"mat-select",53)(262,"mat-option",27),i(263,"Select"),t(),e(264,"mat-option",27),i(265,"Rentail Industry"),t(),e(266,"mat-option",27),i(267,"Banking"),t(),e(268,"mat-option",27),i(269,"Hotels"),t()()()(),e(270,"div",28)(271,"div",10)(272,"label",11),i(273,"Owner "),e(274,"span",12),i(275," *"),t()(),e(276,"mat-select",54)(277,"mat-option",27),i(278,"Select"),t(),e(279,"mat-option",27),i(280,"Darlee Robertson"),t(),e(281,"mat-option",27),i(282,"Sharon Roy"),t(),e(283,"mat-option",27),i(284,"Vaughan Lewis"),t()()()(),e(285,"div",28)(286,"div",10)(287,"label",11),i(288,"Tags "),e(289,"span",12),i(290," *"),t()(),e(291,"tag-input",32),h("ngModelChange",function(c){return E(r.values,c)||(r.values=c),c}),t()()(),e(292,"div",9)(293,"div",10)(294,"label",11),i(295,"Description "),e(296,"span",12),i(297," *"),t()(),a(298,"textarea",33),t()(),e(299,"div",34)(300,"div",10)(301,"label",11),i(302,"Visibility"),t(),e(303,"div",14)(304,"div",15),a(305,"input",55),e(306,"label",56),i(307," Public "),t()(),e(308,"div",15),a(309,"input",57),e(310,"label",58),i(311," Private "),t()(),e(312,"div",18),a(313,"input",59),e(314,"label",60),i(315," Select People "),t()()()()(),e(316,"div",28)(317,"div",10)(318,"label",11),i(319,"Status"),t(),e(320,"mat-select",61)(321,"mat-option",27),i(322,"Select"),t(),e(323,"mat-option",27),i(324,"Active"),t(),e(325,"mat-option",27),i(326,"Inactive"),t()()()()()(),e(327,"div",41)(328,"button",42),i(329,"Cancel"),t(),e(330,"button",43),i(331,"Save"),t()()()()()()),l&2&&(d(70),m("ngForOf",r.rowappend),d(3),m("ngForOf",r.rowappend1),d(52),m("ngModelOptions",b(10,O)),f("ngModel",r.values),m("placeholder","Add new"),d(111),m("ngForOf",r.rowappend2),d(3),m("ngForOf",r.rowappend3),d(52),m("ngModelOptions",b(11,O)),f("ngModel",r.values),m("placeholder","Add new"))},dependencies:[F,I,D,T,V,k,M,L,R,C,w,y,P,N],encapsulation:2})};export{W as a};