PageSourceSearch

https://rnit.ai/chunk-WO4TQLZB.js

js rnit.ai collected 2026-10-05 13:39:56 UTC 4,287 bytes, 1 lines download raw bytes

1import{a as O}from"./chunk-WBVIOXIL.js";import{d as y,i as C,q as _}from"./chunk-MTSH7OXU.js";import{a as E,b as p,d as N,e as P,h as M,j as T,k as D,p as L,r as R,t as U}from"./chunk-ZMWWO2MO.js";import{i as I}from"./chunk-XZSLNSBH.js";import"./chunk-BNPU7GOL.js";import{e as w,j as x}from"./chunk-DHIEAY5Z.js";import"./chunk-6APOFJ4B.js";import{j as b,l as F,p as h}from"./chunk-N3EIUOPJ.js";import{Bb as d,Hc as S,Ib as f,Nb as u,Vb as s,bc as e,cc as t,dc as l,lc as v,mc as c,vb as a,xc as n,zc as g}from"./chunk-SQY7VHMP.js";var B=i=>({"is-invalid":i});function G(i,m){if(i&1&&(e(0,"div"),n(1),t()),i&2){let r=c(2);a(),g(" ",r.allMsgs.REQUIRED_FIELD," ")}}function j(i,m){i&1&&l(0,"div")}function z(i,m){if(i&1&&(e(0,"div",23),u(1,G,2,1,"div",24)(2,j,1,0,"div",24),t()),i&2){let r=c();a(),s("ngIf",r.pageForm.controls.username.errors.required),a(),s("ngIf",r.pageForm.controls.username.errors.pattern)}}var k=class i{constructor(m,r,o,V){this.formBuilder=m;this.ngxService=r;this.toasterService=o;this.commonService=V}formBuilder;ngxService;toasterService;commonService;pageForm;isFormSubmitted=!1;allMsgs=C;globalFunctions=_;currentYear=new Date().getFullYear();ngOnInit(){this.createFormControl()}createFormControl(){this.isFormSubmitted=!1,this.pageForm=this.formBuilder.group({username:["",[p.required]],password:["",[p.required,p.minLength(6)]]})}onSubmit(){if(this.isFormSubmitted=!0,this.pageForm.valid){this.isFormSubmitted=!1;let m=this.pageForm.getRawValue(),r={username:m?.username,password:m?.password};this.ngxService.start(),this.commonService.sendDetails(r).subscribe(o=>{this.ngxService.stop(),o?.status==1?this.toasterService.showSuccessMessage(o?.message):this.toasterService.showInfoMessage(o?.message)})}}static \u0275fac=function(r){return new(r||i)(d(R),d(y),d(I),d(O))};static \u0275cmp=f({type:i,selectors:[["app-forgot-password"]],decls:34,vars:6,consts:[[1,"login"],[1,"left-login-set","bg-white"],[1,"text-center","my-4","bg-white"],["ngOptimizedImage","","src","/images/forgot_pwd.png","alt","forgot_pwd",1,"img-fluid"],[1,"right-login-set"],[1,"login-inner","p-3","p-md-5"],[3,"ngSubmit","formGroup"],["ngOptimizedImage","","src","/images/logo.png","alt","logo",1,"img-fluid"],[1,"mt-5","mb-0","fweight-600"],[1,"fw-normal","mb-3"],[1,"form-group","mb-3","input-m4"],["for","username"],[1,"input-m4-sup1"],["ngOptimizedImage","","src","/images/mail.png","alt","mail"],["type","username","id","username","formControlName","username","maxlength","100","autocomplete","off","placeholder","Enter your username",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["ngOptimizedImage","","src","/images/chat_bubble.png","alt","chat_bubble"],["type","username","id","username","placeholder","12358",1,"form-control","rounded-0"],[1,"text-center","mt-3"],["type","button",1,"border-0","btn","color5"],["type","submit",1,"border-0","mt-3","bg-c4","rounded-1","text-dark","text-decoration-none","w-100","text-center","p-2","fw-medium"],["routerLink","/login","type","button",1,"mt-3","bg-white","border-m2","rounded-1","text-dark","text-decoration-none","w-100","text-center","p-2","fw-medium"],[1,"powered-by"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(r,o){r&1&&(e(0,"div",0)(1,"div",1)(2,"div",2),l(3,"img",3),t()(),e(4,"div",4)(5,"div",5)(6,"form",6),v("ngSubmit",function(){return o.onSubmit()}),l(7,"img",7),e(8,"h3",8),n(9,"Forgot Password"),t(),e(10,"h6",9),n(11,"Reset Your Password with Ease"),t(),e(12,"div",10)(13,"label",11),n(14,"Enter your official username"),t(),e(15,"div",12),l(16,"img",13)(17,"input",14),u(18,z,3,2,"div",15),t()(),e(19,"div",10)(20,"label",11),n(21,"Enter the OTP sent to your WhatsApp number ending in ***55"),t(),e(22,"div",12),l(23,"img",16)(24,"input",17),t()(),e(25,"div",18)(26,"button",19),n(27,"Resend"),t()(),e(28,"button",20),n(29," Verify "),t(),e(30,"button",21),n(31," Back to Signin "),t()()(),e(32,"p",22),n(33),t()()()),r&2&&(a(6),s("formGroup",o.pageForm),a(11),s("ngClass",S(4,B,o.isFormSubmitted&&o.pageForm.controls.username.errors)),a(),s("ngIf",o.isFormSubmitted&&o.pageForm.controls.username.errors),a(15),g("Copyright \xA9 ",o.currentYear," RNIT Solutions & Services Ltd."))},dependencies:[x,w,h,b,F,U,M,E,N,P,L,T,D],encapsulation:2})};export{k as ForgotPasswordComponent};

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.