PageSourceSearch

https://fimimall.com/chunk-AJYTQB2B.js

js fimimall.com collected 2026-10-04 10:08:37 UTC 4,469 bytes, 1 lines download raw bytes

1import{a as k}from"./chunk-ICOU2YJO.js";import{h as b}from"./chunk-TMDVTQWX.js";import"./chunk-FU5BHR3H.js";import"./chunk-QCTLCYBY.js";import{b as y,c as S}from"./chunk-P6CKTGGU.js";import{b as P,c,d as w,e as h,o as M,p as O,u as v,v as x}from"./chunk-OCWIWT7G.js";import{Lb as m,Mb as n,Nb as t,Ob as l,Vb as g,_a as d,jb as f,jc as e,od as _,pb as p,vd as C,xc as u}from"./chunk-CTTTDLIG.js";import"./chunk-6VS7ZC6N.js";var N=i=>({disabled:i}),T=(()=>{let o=class o{constructor(r){this.settingService=r,this.form=S.group({current:["",[c.required]],new:["",[c.required,c.minLength(6)]],confirm:["",[c.required]]},[y("new","confirm")])}onChange(){if(this.form.invalid)return;let r={existingPassword:this.form.value.current,newPassword:this.form.value.new};this.settingService.changePassword(r).subscribe(a=>{this.form.reset(),this.settingService.feedBackMessage.next({message:"Successfully changed password",icon:b})})}};o.\u0275fac=function(a){return new(a||o)(f(k))},o.\u0275cmp=p({type:o,selectors:[["app-password"]],decls:21,vars:5,consts:[[1,"main_content",3,"formGroup"],[1,"content"],[1,"form-floating"],["formControlName","current","placeholder","Current Password","type","password","name","old-password","autocomplete","current-password","id","current",1,"form-control"],["for","current"],["formControlName","new","placeholder","New Password","type","password","name","new-password","autocomplete","new-password","id","new",1,"form-control"],["for","new"],["formControlName","confirm","placeholder","Confirm Password","type","password","name","confirm-password","autocomplete","new-password","id","confirm",1,"form-control"],["for","confirm"],[1,"button_container"],["id","btn_save_change","type","button",3,"click","ngClass","disabled"],["id","btn_cancel","type","button"]],template:function(a,s){a&1&&(n(0,"div",0)(1,"div",1)(2,"h3"),e(3,"Change Password"),t(),n(4,"div",2),l(5,"input",3),n(6,"label",4),e(7,"Current Password"),t()(),n(8,"div",2),l(9,"input",5),n(10,"label",6),e(11,"New Password"),t()(),n(12,"div",2),l(13,"input",7),n(14,"label",8),e(15,"Confirm Password"),t()()(),n(16,"div",9)(17,"button",10),g("click",function(){return s.onChange()}),e(18," Save "),t(),n(19,"button",11),e(20,"Cancel"),t()()()),a&2&&(m("formGroup",s.form),d(17),m("ngClass",u(3,N,s.form.invalid))("disabled",s.form.invalid))},dependencies:[C,_,v,P,w,h,x,M,O],styles:[".main_content[_ngcontent-%COMP%]{position:relative;background:#fff;height:100%;width:100%;overflow:hidden;border-radius:20px 20px 0 0;padding:0 24px}.main_content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{height:100%;width:100%;padding:24px 0 80px;overflow:auto;display:flex;flex-direction:column}.main_content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:18px;margin-bottom:10px}.main_content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:roboto;font-style:normal;color:#c6c6c6}.main_content[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:360px;margin-bottom:10px}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]{display:flex;position:absolute;width:100%;align-items:center;justify-content:center;padding:10px 0;bottom:0;left:0;background:linear-gradient(180deg,#fff0,#fff)}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:first-child{margin-right:10px}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:61px;width:169px;border-radius:30px;font-family:Roboto;font-style:normal;font-weight:700;font-size:18px;line-height:21px;text-transform:uppercase}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{outline:none!important}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{outline:none!important}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   #btn_save_change[_ngcontent-%COMP%]{color:#fff;background-color:#000}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   #btn_save_change[_ngcontent-%COMP%]:disabled{background-color:#767676}.main_content[_ngcontent-%COMP%]   .button_container[_ngcontent-%COMP%]   #btn_cancel[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #000000;color:#000}"]});let i=o;return i})();export{T as PasswordComponent};

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.