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-5PHJ4VOK.js
import{a as u}from"./chunk-ILLDEPHH.js";import{e as v}from"./chunk-K3YFDFGL.js";import"./chunk-WA2UGD5L.js";import"./chunk-BT37DHWM.js";import{Hd as S,Sb as d,Tb as e,Ub as t,Vb as n,cc as m,fb as l,tc as i,yb as p}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";var E=class c{routes=u;password=[!1];togglePassword(o){this.password[o]=!this.password[o]}static \u0275fac=function(s){return new(s||c)};static \u0275cmp=p({type:c,selectors:[["app-security-settings"]],decls:403,vars:10,consts:[[1,"row"],[1,"col-xl-3","theiaStickySidebar"],[1,"card"],[1,"card-body"],[1,"d-flex","flex-column","list-group","settings-list"],[1,"d-inline-flex","align-items-center","rounded","py-2","px-3",3,"routerLink"],[1,"d-inline-flex","align-items-center","rounded","active","py-2","px-3",3,"routerLink"],[1,"ti","ti-arrow-badge-right","me-2"],[1,"col-xl-9"],[1,"border-bottom","mb-3","pb-3"],[1,"d-flex","justify-content-between","align-items-center","flex-wrap","border-bottom","mb-3"],[1,"mb-3"],[1,"fw-medium","mb-1"],[1,"d-flex","align-items-center"],[1,"mb-0","me-2","pe-2","border-end"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#change-password",1,"btn","btn-dark","btn-sm"],["href","javascript:void(0);",1,"btn","btn-dark","btn-sm"],[1,"fw-medium","d-flex","align-items-center","mb-1"],[1,"badge","badge-xs","ms-2","bg-outline-success","rounded-pill","d-flex","align-items-center"],[1,"ti","ti-point-filled"],[1,"form-check","form-check-md","form-switch","me-2"],["type","checkbox","role","switch",1,"form-check-input","me-2"],[1,"ti","ti-discount-check-filled","text-success","ms-2"],["href","javascript:void(0);",1,"btn","btn-outline-light","border","btn-sm","me-2"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#change-phone",1,"btn","btn-dark","btn-sm"],["href","javascript:void(0);",1,"btn","btn-outline-light","btn-sm","border","me-2"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#change-email",1,"btn","btn-dark","btn-sm"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#device_management",1,"btn","btn-dark","btn-sm"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#account_activity",1,"btn","btn-dark","btn-sm"],[1,"d-flex","justify-content-between","align-items-center","flex-wrap","row-gap-3"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#del-account",1,"btn","btn-dark","btn-sm"],["id","change-password",1,"modal","fade","custom-modal"],[1,"modal-dialog","modal-dialog-centered"],[1,"modal-content","doctor-profile"],[1,"modal-header","d-flex","align-items-center","justify-content-between","border-bottom"],[1,"modal-title"],["href","javascript:void(0);","data-bs-dismiss","modal","aria-label","Close"],[1,"ti","ti-circle-x-filled","fs-20"],[1,"modal-body","p-4"],[1,"form-label"],[1,"text-danger"],[1,"pass-group"],["type","password",1,"pass-input","form-control",3,"type"],[1,"ti","toggle-password","ti-eye-off",3,"click"],[1,"modal-footer","border-top"],[1,"acc-submit"],["href","javascript:void(0);","data-bs-dismiss","modal",1,"btn","btn-light","me-2"],["type","submit",1,"btn","btn-primary"],["id","change-email",1,"modal","fade","custom-modal"],[1,"wallet-add"],["type","email",1,"form-control"],["id","change-phone",1,"modal","fade","custom-modal"],["id","phone","name","phone","type","text","placeholder","Enter Phone Number",1,"form-control","form-control-lg","group_formcontrol"],["id","phone1","name","phone","type","text","placeholder","Enter Phone Number",1,"form-control","form-control-lg","group_formcontrol"],["type","submit",1,"btn","btn-dark"],["id","device_management",1,"modal","fade","custom-modal"],[1,"modal-dialog","modal-dialog-centered","modal-lg"],[1,"modal-content"],[1,"modal-body"],[1,"table"],[1,"thead-light"],[1,"ti","ti-trash","text-gray-6"],["id","account_activity",1,"modal","fade","custom-modal"],[1,"badge","badge-sm","badge-success"],[1,"ti","ti-point-filled","me-1"],["id","del-account",1,"modal","fade","custom-modal"],[1,"modal-footer"]],template:function(s,a){s&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"a",5),i(6,"Profile Settings"),t(),e(7,"a",6),n(8,"i",7),i(9,"Security Settings"),t(),e(10,"a",5),i(11,"Notifications"),t(),e(12,"a",5),i(13,"Connected Apps"),t()()()()(),e(14,"div",8)(15,"div",2)(16,"div",3)(17,"div",9)(18,"h4"),i(19,"Security Settings"),t()(),e(20,"div")(21,"div",10)(22,"div",11)(23,"h5",12),i(24,"Password"),t(),e(25,"div",13)(26,"p",14),i(27,"Set a unique password to protect the account"),t(),e(28,"p"),i(29,"Last Changed 03 Jan 2024, 09:00 AM"),t()()(),e(30,"div",11)(31,"a",15),i(32,"Change Pasword"),t()()(),e(33,"div",10)(34,"div",11)(35,"h5",12),i(36,"Two Factor Authentication"),t(),e(37,"p"),i(38,"Receive codes via SMS or email every time you login"),t()(),e(39,"div",11)(40,"a",16),i(41,"Enable"),t()()(),e(42,"div",10)(43,"div",11)(44,"h5",17),i(45," Google Authentication "),e(46,"span",18),n(47,"i",19),i(48,"Connected "),t()(),e(49,"p"),i(50,"Connect to Google"),t()(),e(51,"div",11)(52,"div",20),n(53,"input",21),t()()(),e(54,"div",10)(55,"div",11)(56,"h5",17),i(57,"Phone Number Verification "),e(58,"span"),n(59,"i",22),t()(),e(60,"div",13)(61,"p",14),i(62,"The Phone Number associated with the account"),t(),e(63,"p"),i(64,"Verified Mobile Number : +99264710583"),t()()(),e(65,"div",11)(66,"a",23),i(67,"Remove"),t(),e(68,"a",24),i(69,"Change "),t()()(),e(70,"div",10)(71,"div",11)(72,"h5",17),i(73,"Email Verification "),e(74,"span"),n(75,"i",22),t()(),e(76,"div",13)(77,"p",14),i(78,"The email address associated with the account"),t(),e(79,"p"),i(80,"Verified Email : [email protected]"),t()()(),e(81,"div",11)(82,"a",25),i(83,"Remove"),t(),e(84,"a",26),i(85,"Change "),t()()(),e(86,"div",10)(87,"div",11)(88,"h5",12),i(89,"Device Management"),t(),e(90,"p"),i(91,"The devices associated with the account"),t()(),e(92,"div",11)(93,"a",27),i(94,"Manage"),t()()(),e(95,"div",10)(96,"div",11)(97,"h5",12),i(98,"Account Activity"),t(),e(99,"p"),i(100,"The activities of the account"),t()(),e(101,"div",11)(102,"a",28),i(103,"View"),t()()(),e(104,"div",10)(105,"div",11)(106,"h5",12),i(107,"Deactivate Account"),t(),e(108,"p"),i(109,"This will shutdown your account. Your account will be reactive when you sign in again"),t()(),e(110,"div",11)(111,"a",16),i(112,"Deactivate"),t()()(),e(113,"div",29)(114,"div")(115,"h5",12),i(116,"Delete Account"),t(),e(117,"p"),i(118,"Your account will be permanently deleted"),t()(),e(119,"div")(120,"a",30),i(121,"Delete"),t()()()()()()()(),e(122,"div",31)(123,"div",32)(124,"div",33)(125,"div",34)(126,"h5",35),i(127,"Change Password"),t(),e(128,"a",36),n(129,"i",37),t()(),e(130,"div",38)(131,"form")(132,"div",11)(133,"label",39),i(134,"Current Password "),e(135,"span",40),i(136,"*"),t()(),e(137,"div",41),n(138,"input",42),e(139,"span",43),m("click",function(){return a.togglePassword(0)}),t()()(),e(140,"div",11)(141,"label",39),i(142,"Current Password"),e(143,"span",40),i(144,"*"),t()(),e(145,"div",41),n(146,"input",42),e(147,"span",43),m("click",function(){return a.togglePassword(1)}),t()()(),e(148,"div",11)(149,"label",39),i(150,"Confirm New Password"),e(151,"span",40),i(152,"*"),t()(),e(153,"div",41),n(154,"input",42),e(155,"span",43),m("click",function(){return a.togglePassword(2)}),t()()()()(),e(156,"div",44)(157,"div",45)(158,"a",46),i(159,"Cancel"),t(),e(160,"button",47),i(161,"Save"),t()()()()()(),e(162,"div",48)(163,"div",32)(164,"div",33)(165,"div",34)(166,"h5",35),i(167,"Change Email"),t(),e(168,"a",36),n(169,"i",37),t()(),e(170,"div",38)(171,"form")(172,"div",49)(173,"div",11)(174,"label",39),i(175,"Current Email Address"),t(),n(176,"input",50),t(),e(177,"div",11)(178,"label",39),i(179,"New Email Address "),e(180,"span",40),i(181,"*"),t()(),n(182,"input",50),t(),e(183,"div",11)(184,"label",39),i(185,"Confirm New Password"),e(186,"span",40),i(187,"*"),t()(),e(188,"div",41),n(189,"input",42),e(190,"span",43),m("click",function(){return a.togglePassword(3)}),t()()()()()(),e(191,"div",44)(192,"div",45)(193,"a",46),i(194,"Cancel"),t(),e(195,"button",47),i(196,"Save Change"),t()()()()()(),e(197,"div",51)(198,"div",32)(199,"div",33)(200,"div",34)(201,"h5",35),i(202,"Change Phone Number"),t(),e(203,"a",36),n(204,"i",37),t()(),e(205,"div",38)(206,"form")(207,"div",49)(208,"div",11)(209,"label",39),i(210,"Current Phone Number"),t(),n(211,"input",52),t(),e(212,"div",11)(213,"label",39),i(214,"New Phone Number "),e(215,"span",40),i(216,"*"),t()(),n(217,"input",53),t(),e(218,"div",11)(219,"label",39),i(220,"Confirm New Password"),e(221,"span",40),i(222,"*"),t()(),e(223,"div",41),n(224,"input",42),e(225,"span",43),m("click",function(){return a.togglePassword(4)}),t()()()()()(),e(226,"div",44)(227,"div",45)(228,"a",46),i(229,"Cancel"),t(),e(230,"button",54),i(231,"Change Number"),t()()()()()(),e(232,"div",55)(233,"div",56)(234,"div",57)(235,"div",34)(236,"h5",35),i(237,"Device Management"),t(),e(238,"a",36),n(239,"i",37),t()(),e(240,"div",58)(241,"div",59)(242,"table",59)(243,"thead",60)(244,"tr")(245,"th"),i(246,"Device"),t(),e(247,"th"),i(248,"Date"),t(),e(249,"th"),i(250,"Location"),t(),e(251,"th"),i(252,"IP Address"),t(),n(253,"th"),t()(),e(254,"tbody")(255,"tr")(256,"td"),i(257,"Chrome - Windows"),t(),e(258,"td"),i(259,"15 May 2025, 10:30 AM"),t(),e(260,"td"),i(261,"New York / USA"),t(),e(262,"td"),i(263,"232.222.12.72"),t(),e(264,"td")(265,"span"),n(266,"i",61),t()()(),e(267,"tr")(268,"td"),i(269,"Safari Macos"),t(),e(270,"td"),i(271,"10 Apr 2025, 05:15 PM"),t(),e(272,"td"),i(273,"New York / USA"),t(),e(274,"td"),i(275,"224.111.12.75"),t(),e(276,"td")(277,"span"),n(278,"i",61),t()()(),e(279,"tr")(280,"td"),i(281,"Firefox Windows"),t(),e(282,"td"),i(283,"15 Mar 2025, 02:40 PM"),t(),e(284,"td"),i(285,"New York / USA"),t(),e(286,"td"),i(287,"111.222.13.28"),t(),e(288,"td")(289,"span"),n(290,"i",61),t()()(),e(291,"tr")(292,"td"),i(293,"Safari Macos"),t(),e(294,"td"),i(295,"15 May 2025, 10:30 AM"),t(),e(296,"td"),i(297,"New York / USA"),t(),e(298,"td"),i(299,"333.555.10.54"),t(),e(300,"td")(301,"span"),n(302,"i",61),t()()()()()()()()()(),e(303,"div",62)(304,"div",56)(305,"div",57)(306,"div",34)(307,"h5",35),i(308,"Account Activity"),t(),e(309,"a",36),n(310,"i",37),t()(),e(311,"div",58)(312,"div",59)(313,"table",59)(314,"thead",60)(315,"tr")(316,"th"),i(317,"Device"),t(),e(318,"th"),i(319,"Date"),t(),e(320,"th"),i(321,"Location"),t(),e(322,"th"),i(323,"IP Address"),t(),n(324,"th"),t()(),e(325,"tbody")(326,"tr")(327,"td"),i(328,"Chrome - Windows"),t(),e(329,"td"),i(330,"15 May 2025, 10:30 AM"),t(),e(331,"td"),i(332,"New York / USA"),t(),e(333,"td"),i(334,"232.222.12.72"),t(),e(335,"td")(336,"span",63),n(337,"i",64),i(338,"connect"),t()()(),e(339,"tr")(340,"td"),i(341,"Safari Macos"),t(),e(342,"td"),i(343,"10 Apr 2025, 05:15 PM"),t(),e(344,"td"),i(345,"New York / USA"),t(),e(346,"td"),i(347,"224.111.12.75"),t(),e(348,"td")(349,"span",63),n(350,"i",64),i(351,"connect"),t()()(),e(352,"tr")(353,"td"),i(354,"Firefox Windows"),t(),e(355,"td"),i(356,"15 Mar 2025, 02:40 PM"),t(),e(357,"td"),i(358,"New York / USA"),t(),e(359,"td"),i(360,"111.222.13.28"),t(),e(361,"td")(362,"span",63),n(363,"i",64),i(364,"connect"),t()()(),e(365,"tr")(366,"td"),i(367,"Safari Macos"),t(),e(368,"td"),i(369,"15 May 2025, 10:30 AM"),t(),e(370,"td"),i(371,"New York / USA"),t(),e(372,"td"),i(373,"333.555.10.54"),t(),e(374,"td")(375,"span",63),n(376,"i",64),i(377,"connect"),t()()()()()()()()()(),e(378,"div",65)(379,"div",32)(380,"div",57)(381,"div",34)(382,"h5",35),i(383,"Delete Account"),t(),e(384,"a",36),n(385,"i",37),t()(),e(386,"form")(387,"div",58)(388,"p",11),i(389,"Are you sure you want to delete This Account? To delete your account, Type your password."),t(),e(390,"div",11)(391,"label",39),i(392,"Confirm New Password"),e(393,"span",40),i(394,"*"),t()(),e(395,"div",41),n(396,"input",42),e(397,"span",43),m("click",function(){return a.togglePassword(5)}),t()()()(),e(398,"div",66)(399,"a",46),i(400,"Cancel"),t(),e(401,"button",47),i(402,"Delete Account"),t()()()()()()),s&2&&(l(5),d("routerLink",a.routes.profileSettings),l(2),d("routerLink",a.routes.securitySettings),l(3),d("routerLink",a.routes.notificationSettings),l(2),d("routerLink",a.routes.connectedApps),l(126),d("type",a.password[0]?"text":"password"),l(8),d("type",a.password[1]?"text":"password"),l(8),d("type",a.password[2]?"text":"password"),l(35),d("type",a.password[3]?"text":"password"),l(35),d("type",a.password[4]?"text":"password"),l(172),d("type",a.password[5]?"text":"password"))},dependencies:[S,v],encapsulation:2})};export{E as SecuritySettingsComponent};