@rolatech/angular-account 20.3.0-beta.2 → 20.3.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ import { ActivatedRoute, Router, NavigationStart, ROUTES } from '@angular/router
8
8
  import { filter } from 'rxjs';
9
9
  import { AuthService, AUTH_METHODS, AuthMethod, AuthUserService, AuthGuard, UnauthorizedComponent, ForbiddenComponent } from '@rolatech/angular-auth';
10
10
  import { MatSnackBar } from '@angular/material/snack-bar';
11
- import { AngularComponentsModule, BaseComponent, TabsComponent, TabComponent } from '@rolatech/angular-components';
11
+ import { AngularComponentsModule, BaseComponent, TabsComponent, TabComponent, SpinnerComponent } from '@rolatech/angular-components';
12
12
  import * as i1 from '@angular/forms';
13
13
  import { FormBuilder, Validators, FormsModule } from '@angular/forms';
14
14
  import { DomSanitizer } from '@angular/platform-browser';
@@ -471,12 +471,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
471
471
  args: [{ selector: 'rolatech-account-password-reset', imports: [FormsModule, MatInputModule, CommonModule, MatButtonModule], encapsulation: ViewEncapsulation.None, template: "<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (invalidToken) {\n <div>\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Link invalid or expired</div>\n <div class=\"text-md ml-2\" i18n>\n To reset your password, return to the login page and select \"Forgot?\" to send a new email.\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n </div>\n </div>\n\n } @else {\n <div class=\"flex flex-col py-6 lg:w-1/2 lg:pr-4\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Reset password</div>\n <div class=\"text-md ml-2\" i18n>Enter your new password.</div>\n </div>\n <div class=\"lg:w-1/2 lg:pl-4\">\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"password\" required type=\"password\" />\n </mat-form-field>\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"newPassword\" required type=\"password\" />\n </mat-form-field>\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"resetPassword()\" class=\"w-[128px]\" i18n>Reset</button>\n </div>\n </div>\n }\n </div>\n</div>\n", styles: ["rolatech-account-password-reset{height:100%;color:var(--rt-text-primary, #0f0f0f);background:var(--rt-signin-background)}@media(max-width:600px){rolatech-account-password-reset{background:var(--rt-signin-inner-background)}}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{transition:background-color 0s 600000s,color 0s 600000s!important}mat-form-field{width:100%}\n"] }]
472
472
  }] });
473
473
 
474
+ class EmailVerificationComponent {
475
+ constructor() {
476
+ this.route = inject(ActivatedRoute);
477
+ this.authService = inject(AuthService);
478
+ this.authUserService = inject(AuthUserService);
479
+ this.environment = inject(APP_CONFIG);
480
+ this.loading = true;
481
+ this.verified = false;
482
+ this.invalid = false;
483
+ this.message = '';
484
+ this.signInUrl = '';
485
+ this.continueUrl = '';
486
+ }
487
+ ngOnInit() {
488
+ this.signInUrl = `${this.environment.accountsUrl}/signin`;
489
+ this.continueUrl = this.environment.myaccountUrl || this.environment.accountsUrl || '/';
490
+ const token = this.route.snapshot.queryParamMap.get('token') ?? this.route.snapshot.paramMap.get('id') ?? '';
491
+ if (!token) {
492
+ this.finish(false, 'Email verification token is missing.');
493
+ return;
494
+ }
495
+ this.authUserService.verifyEmailByToken(token).subscribe({
496
+ next: (verified) => {
497
+ this.finish(verified, verified ? 'Your email address has been verified successfully.' : 'This email verification link is invalid or expired.');
498
+ if (verified) {
499
+ this.authService.ensureLoaded(true).subscribe({
500
+ error: () => undefined,
501
+ });
502
+ }
503
+ },
504
+ error: (error) => {
505
+ this.finish(false, error?.message || 'This email verification link is invalid or expired.');
506
+ },
507
+ });
508
+ }
509
+ finish(verified, message) {
510
+ this.loading = false;
511
+ this.verified = verified;
512
+ this.invalid = !verified;
513
+ this.message = message;
514
+ }
515
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EmailVerificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
516
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: EmailVerificationComponent, isStandalone: true, selector: "rolatech-account-email-verification", ngImport: i0, template: "<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (loading) {\n <div class=\"flex min-h-[280px] flex-col items-center justify-center gap-4 text-center\">\n <rolatech-spinner></rolatech-spinner>\n <div class=\"text-2xl font-medium\">Verifying your email</div>\n <div class=\"text-sm text-(--rt-text-secondary)\">Please wait while we confirm this verification link.</div>\n </div>\n } @else if (verified) {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Email verified</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"continueUrl\">Continue</a>\n <a mat-button [href]=\"signInUrl\">Sign in</a>\n </div>\n </div>\n } @else {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Link invalid or expired</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"signInUrl\">Sign in</a>\n <a mat-button [href]=\"continueUrl\">Back</a>\n </div>\n </div>\n }\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: SpinnerComponent, selector: "rolatech-spinner", inputs: ["title"] }] }); }
517
+ }
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EmailVerificationComponent, decorators: [{
519
+ type: Component,
520
+ args: [{ imports: [CommonModule, MatButtonModule, SpinnerComponent], selector: 'rolatech-account-email-verification', template: "<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (loading) {\n <div class=\"flex min-h-[280px] flex-col items-center justify-center gap-4 text-center\">\n <rolatech-spinner></rolatech-spinner>\n <div class=\"text-2xl font-medium\">Verifying your email</div>\n <div class=\"text-sm text-(--rt-text-secondary)\">Please wait while we confirm this verification link.</div>\n </div>\n } @else if (verified) {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Email verified</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"continueUrl\">Continue</a>\n <a mat-button [href]=\"signInUrl\">Sign in</a>\n </div>\n </div>\n } @else {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Link invalid or expired</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"signInUrl\">Sign in</a>\n <a mat-button [href]=\"continueUrl\">Back</a>\n </div>\n </div>\n }\n </div>\n</div>\n" }]
521
+ }] });
522
+
523
+ var emailVerification_component = /*#__PURE__*/Object.freeze({
524
+ __proto__: null,
525
+ EmailVerificationComponent: EmailVerificationComponent
526
+ });
527
+
474
528
  const accountRoutes = [
475
529
  {
476
530
  path: '',
477
531
  pathMatch: 'full',
478
532
  redirectTo: 'signin',
479
533
  },
534
+ {
535
+ path: 'account/verification/email',
536
+ component: EmailVerificationComponent,
537
+ data: { title: 'Email Verification' },
538
+ },
539
+ {
540
+ path: 'email-verification/:id',
541
+ component: EmailVerificationComponent,
542
+ data: { title: 'Email Verification' },
543
+ },
480
544
  { path: 'signin', canActivate: [AuthGuard], component: SigninComponent, data: { title: 'Signin' } },
481
545
  {
482
546
  path: 'signin/forgot',
@@ -523,7 +587,7 @@ const myaccountRoutes = [
523
587
  { path: 'email', loadComponent: () => import('./rolatech-angular-account-email.component-Cd6D18OJ.mjs').then((c) => c.EmailComponent) },
524
588
  {
525
589
  path: 'email-verification/:id',
526
- loadComponent: () => import('./rolatech-angular-account-email-verification.component-CRy2G-Eq.mjs').then((c) => c.EmailVerificationComponent),
590
+ loadComponent: () => Promise.resolve().then(function () { return emailVerification_component; }).then((c) => c.EmailVerificationComponent),
527
591
  },
528
592
  { path: 'phone', loadComponent: () => import('./rolatech-angular-account-phone.component-BqL6hZKc.mjs').then((c) => c.PhoneComponent) },
529
593
  {
@@ -557,5 +621,5 @@ function provideAngularAuthRoutes() {
557
621
  * Generated bundle index. Do not edit.
558
622
  */
559
623
 
560
- export { TopbarLoginComponent, accountRoutes, myaccountRoutes, provideAngularAuthRoutes };
624
+ export { EmailVerificationComponent, TopbarLoginComponent, accountRoutes, myaccountRoutes, provideAngularAuthRoutes };
561
625
  //# sourceMappingURL=rolatech-angular-account.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rolatech-angular-account.mjs","sources":["../../../../packages/angular-account/src/lib/components/topbar-login/topbar-login.component.ts","../../../../packages/angular-account/src/lib/components/topbar-login/topbar-login.component.html","../../../../packages/angular-account/src/lib/components/logout/logout.component.ts","../../../../packages/angular-account/src/lib/components/logout/logout.component.html","../../../../packages/angular-account/src/lib/services/wechat-login.service.ts","../../../../packages/angular-account/src/lib/pages/accounts/signin/signin.component.ts","../../../../packages/angular-account/src/lib/pages/accounts/signin/signin.component.html","../../../../packages/angular-account/src/lib/pages/accounts/signup/signup.component.ts","../../../../packages/angular-account/src/lib/pages/accounts/signup/signup.component.html","../../../../packages/angular-account/src/lib/pages/accounts/forgot/forgot.ts","../../../../packages/angular-account/src/lib/pages/accounts/forgot/forgot.html","../../../../packages/angular-account/src/lib/pages/accounts/password-reset/password-reset.ts","../../../../packages/angular-account/src/lib/pages/accounts/password-reset/password-reset.html","../../../../packages/angular-account/src/lib/account.routes.ts","../../../../packages/angular-account/src/lib/myaccount.routes.ts","../../../../packages/angular-account/src/provider.ts","../../../../packages/angular-account/src/rolatech-angular-account.ts"],"sourcesContent":["import { Component, OnDestroy, OnInit, PLATFORM_ID, ViewEncapsulation, inject, input } from '@angular/core';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { APP_CONFIG } from '@rolatech/angular-common';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n NavigationEnd,\n Router,\n Event,\n NavigationStart,\n NavigationCancel,\n NavigationError,\n ActivatedRoute,\n Route,\n} from '@angular/router';\nimport { filter, Subscription } from 'rxjs';\ntype NavigationEvent = NavigationStart | NavigationEnd | NavigationCancel | NavigationError;\n\n@Component({\n selector: 'rolatech-account-topbar-login',\n imports: [CommonModule, MatButtonModule],\n templateUrl: './topbar-login.component.html',\n styleUrl: './topbar-login.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class TopbarLoginComponent implements OnInit, OnDestroy {\n environment = inject(APP_CONFIG);\n platformId = inject(PLATFORM_ID);\n route = inject(ActivatedRoute);\n router = inject(Router);\n private routerSubscription: Subscription | undefined;\n\n service = input('www');\n signinUrl = '';\n signupUrl = this.environment.accountsUrl + '/signup';\n logoutUrl = this.environment.accountsUrl + `/logout?service=${this.service()}`;\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.signinUrl = `${this.environment.accountsUrl}/signin?continue=` + window.location.href;\n this.signupUrl = `${this.environment.accountsUrl}/signup?continue=` + window.location.href;\n this.logoutUrl = this.environment.accountsUrl + `/logout?service=${this.service()}&continue=` + window.location.origin;\n }\n\n this.routerSubscription = this.router.events\n .pipe(filter((event: Event): event is NavigationEvent => event instanceof NavigationStart))\n .subscribe((event) => {\n this.signinUrl = `${this.environment.accountsUrl}/signin?continue=` + window.location.origin + event.url;\n this.signupUrl = `${this.environment.accountsUrl}/signup?continue=` + window.location.href + event.url;\n\n // this.checkRouteGuard(event.url);\n\n const currentUrl = this.router.url; // Get the current URL\n const matchedRoute = this.findRouteConfig(currentUrl);\n\n if (matchedRoute) {\n console.log('Matched Route Config:', matchedRoute);\n } else {\n console.log('No matching route found.');\n }\n });\n }\n ngOnDestroy() {\n this.routerSubscription?.unsubscribe();\n }\n // checkRouteGuard(url: string): void {\n // // const route = this.router.config.find((r) => r.path === routePath);\n // const route = this.router.config.find((r: any) => this.matchRoute(url, r.path));\n\n // if (route) {\n // if (route.canActivate && route.canActivate.length > 0) {\n // console.log(`Route \"${url}\" has canActivate guards:`, route.canActivate);\n // } else {\n // console.log(`Route \"${url}\" does not have canActivate guards.`);\n // }\n // } else {\n // console.log(`Route \"${url}\" not found.`);\n // }\n // }\n // matchRoute(url: string, routePath: string): boolean {\n // // Strip leading/trailing slashes from URL and routePath and compare\n // return url.replace(/^\\/|\\/$/g, '') === routePath.replace(/^\\/|\\/$/g, '');\n // }\n findRouteConfig(url: string): Route | undefined {\n return this.router.config.find((route) => this.matchRoute(route, url));\n }\n\n // Helper function to check if a route matches the current URL\n matchRoute(route: Route, url: string): boolean {\n const path = route.path?.split('/').join('');\n const urlSegment = url.split('/').join('');\n return path === urlSegment;\n }\n}\n","<div class=\"flex items-center\">\n <a mat-stroked-button class=\"mr-2 max-h-9 md:max-h-10\" [href]=\"signinUrl\"><span i18n>Sign in</span></a>\n <a mat-flat-button class=\"max-h-9 md:max-h-10\" [href]=\"signupUrl\"><span i18n>Sign up</span></a>\n</div>\n","import { isPlatformBrowser } from '@angular/common';\nimport { Component, inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { APP_CONFIG, AngularCommonModule } from '@rolatech/angular-common';\nimport { AngularComponentsModule } from '@rolatech/angular-components';\nimport { map, take } from 'rxjs';\n\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule],\n selector: 'rolatech-account-logout',\n templateUrl: './logout.component.html',\n styleUrls: ['./logout.component.scss'],\n})\nexport class LogoutComponent implements OnInit {\n service = '';\n continue = '';\n environment = inject(APP_CONFIG);\n platformId = inject(PLATFORM_ID);\n route = inject(ActivatedRoute);\n router = inject(Router);\n authService = inject(AuthService);\n snackBar = inject(MatSnackBar);\n\n ngOnInit(): void {\n this.service = this.route.snapshot.queryParams['service'] || 'www';\n this.continue = this.route.snapshot.queryParams['continue'] || '/';\n if (isPlatformBrowser(this.platformId)) {\n this.logout();\n }\n }\n logout() {\n this.authService.logout().subscribe({\n next: (res) => {\n // this.router.navigate(['/signin'], {\n // queryParams: { continue: this.continue },\n // });\n // this.router.navigate([this.continue]);\n // this.router.navigateByUrl(this.continue);\n window.location.href = this.continue;\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n}\n","<p>Please waiting...</p>\n","import { Directive, EventEmitter, Injectable, output } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\n@Directive()\nexport class WeChatLoginService {\n onWeChatLogin = new EventEmitter<any>();\n\n constructor() {}\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport { Component, effect, HostListener, inject, OnInit, signal, ViewEncapsulation } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';\nimport { AngularCommonModule, APP_CONFIG } from '@rolatech/angular-common';\nimport { AngularComponentsModule, BaseComponent, TabComponent, TabsComponent } from '@rolatech/angular-components';\nimport { AUTH_METHODS, AuthMethod, AuthService, AuthUserService } from '@rolatech/angular-auth';\nimport { WeChatLoginService } from '../../../services/wechat-login.service';\n\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule, TabsComponent, TabComponent],\n selector: 'rolatech-account-signin',\n templateUrl: './signin.component.html',\n styleUrls: ['./signin.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SigninComponent extends BaseComponent implements OnInit {\n environment = inject(APP_CONFIG);\n authMethods = inject(AUTH_METHODS);\n hasPassword = this.authMethods.includes(AuthMethod.Password);\n hasOTP = this.authMethods.includes(AuthMethod.OTP);\n hasWeChat = this.authMethods.includes(AuthMethod.WeChat);\n hasGoogle = this.authMethods.includes(AuthMethod.Google);\n formBuilder = inject(FormBuilder);\n authService = inject(AuthService);\n authUserService = inject(AuthUserService);\n wechtLoginService = inject(WeChatLoginService);\n sanitizer = inject(DomSanitizer);\n passrodForm!: FormGroup;\n codeForm!: FormGroup;\n continue = '';\n signUpUrl = '';\n forGotUrl = '';\n tabIndex = signal(0);\n countDown = false;\n countDownTime = 60;\n showButtonText = `Send`;\n appid = 'this.environment.wechat.appId';\n state = 'add';\n isLoading = false;\n urlSafe: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl('');\n baseUrl = 'https://open.weixin.qq.com/connect/qrconnect';\n @HostListener('window:message', ['$event'])\n onLogin(event: any): void {\n if (\n event.origin !== window.location.origin ||\n /react-devtools/gi.test(event.data.source) ||\n /angular-devtools/gi.test(event.data.source)\n ) {\n return;\n }\n if (event.origin === this.environment.accountsUrl && event.data.code === 200) {\n window.location.href = this.continue === this.environment.accountsUrl ? this.environment.myaccountUrl : this.continue;\n }\n }\n constructor() {\n super();\n effect(() => {\n const index = this.tabIndex();\n if (index === 0) {\n if (this.codeForm) {\n this.codeForm.reset();\n }\n }\n if (index === 1) {\n if (this.passrodForm) {\n this.passrodForm.reset();\n }\n }\n if (index === 2) {\n this.isLoading = true;\n if (this.codeForm && this.passrodForm) {\n this.codeForm.reset();\n this.passrodForm.reset();\n }\n this.wechat();\n }\n });\n }\n ngOnInit(): void {\n this.titleService.setTitle('Sign in');\n if (this.hasPassword) {\n this.passrodForm = this.formBuilder.group({\n // account: [null, [Validators.required, Validators.pattern('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$')]],\n account: [null, [Validators.required]],\n password: [null, [Validators.required, Validators.minLength(6)]],\n });\n }\n if (this.hasOTP) {\n this.codeForm = this.formBuilder.group({\n phone: [null, [Validators.required, Validators.pattern('1(3|4|5|6|7|8|9)\\\\d{9}')]],\n code: [null, Validators.required],\n });\n }\n this.route.queryParams.subscribe((params) => {\n this.continue = params['continue'] || '/'; // Default to home if no continue param\n const decodedUrl = decodeURIComponent(this.continue);\n this.signUpUrl = this.continue ? `signup?continue=${decodedUrl}` : 'signup';\n this.forGotUrl = 'signin/forgot';\n });\n // this.continue = this.route.snapshot.queryParams['continue'];\n // if (this.continue) {\n // const decodedUrl = decodeURIComponent(this.continue);\n // this.signUpUrl = this.continue ? `signup?continue=${decodedUrl}` : 'signup';\n // }\n }\n get form() {\n return this.tabIndex() === 0 ? this.passrodForm.controls : this.codeForm.controls;\n }\n sendSMSCode() {\n const phoneControl = this.codeForm.get('phone');\n if (!phoneControl?.valid) {\n return;\n }\n const phone = phoneControl.value;\n this.countDown = true;\n const start = setInterval(() => {\n if (this.countDownTime >= 0) {\n this.showButtonText = $localize`${this.countDownTime--}s resend`;\n } else {\n clearInterval(start);\n this.showButtonText = $localize`Resend`;\n this.countDown = false;\n this.countDownTime = 60;\n }\n }, 1000);\n\n this.authUserService.sendSMSCode('+86', phone).subscribe({\n next: (res) => {\n this.snackBarService.open('Success');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n login() {\n let data = {};\n if (this.tabIndex() === 0) {\n if (!this.passrodForm.valid) {\n return;\n }\n data = {\n account: this.form['account'].value,\n password: this.form['password'].value,\n };\n }\n if (this.tabIndex() === 1) {\n if (!this.codeForm.valid) {\n return;\n }\n data = {\n phone: this.form['phone'].value,\n code: this.form['code'].value,\n };\n }\n\n this.authService.login(data).subscribe({\n next: () => {\n if (isPlatformBrowser(this.platformId)) {\n window.location.href = this.continue === this.environment.accountsUrl ? this.environment.myaccountUrl : this.continue;\n }\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n wechat() {\n // const redirectUri = 'https://accounts.pinxiaoke.cn/login?continue';\n const redirectUri = `${window.location.origin}/login?continue`;\n const encodedURI = encodeURI(redirectUri);\n const src = `${this.baseUrl}?appid=${this.appid}&response_type=code&self_redirect=true&scope=snsapi_login&stylelite=1&redirect_uri=${encodedURI}&state=${this.state}#wechat_redirect`;\n this.urlSafe = this.sanitizer.bypassSecurityTrustResourceUrl(src);\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n\n <div class=\"flex flex-col justify-between lg:w-1/2\">\n <div class=\"flex flex-col py-6\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Sign in</div>\n <div class=\"text-md ml-2\" i18n>Use your {{ environment.name }} Account</div>\n </div>\n <!-- <div>\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"forGotUrl\" i18n>Forgot?</a>\n </div> -->\n </div>\n <div class=\"lg:w-1/2\">\n <rolatech-tabs [(select)]=\"tabIndex\">\n @if (hasPassword) {\n <rolatech-tab label=\"Password\"></rolatech-tab>\n }\n @if (hasOTP) {\n <rolatech-tab label=\"OTP\"></rolatech-tab>\n }\n @if (hasWeChat) {\n <rolatech-tab label=\"WeChat\"></rolatech-tab>\n }\n </rolatech-tabs>\n <!-- content -->\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n @if (tabIndex() === 0) {\n <form [formGroup]=\"passrodForm\" class=\"flex flex-col\">\n @if (hasPassword) {\n <mat-form-field>\n <mat-label i18n> Email/Username </mat-label>\n <input matInput formControlName=\"account\" required />\n @if (passrodForm.controls['account'].touched && passrodForm.controls['account'].invalid) {\n <mat-error>\n @if (passrodForm.controls['account'].errors?.['required']) {\n <span i18n>Email is required</span>\n }\n @if (passrodForm.controls['account'].errors?.['pattern']) {\n <span i18n>Invalid email</span>\n }\n </mat-error>\n }\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label i18n> Password </mat-label>\n <input autocomplete matInput formControlName=\"password\" type=\"password\" />\n @if (passrodForm.controls['password'].touched && passrodForm.controls['password'].invalid) {\n <mat-error>\n @if (passrodForm.controls['password'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (passrodForm.controls['password'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </form>\n }\n @if (tabIndex() === 1) {\n <form [formGroup]=\"codeForm\" class=\"flex flex-col\">\n @if (hasOTP) {\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Phone </mat-label>\n <input autocomplete matInput formControlName=\"phone\" required />\n @if (codeForm.controls['phone'].touched && codeForm.controls['phone'].invalid) {\n <mat-error>\n @if (codeForm.controls['phone'].errors?.['required']) {\n <span i18n> Phone required</span>\n }\n @if (codeForm.controls['phone'].errors?.['pattern']) {\n <span i18n> Phone invalid </span>\n }\n </mat-error>\n }\n </mat-form-field>\n <div class=\"flex justify-between items-center\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Code </mat-label>\n <input matInput formControlName=\"code\" required />\n @if (codeForm.controls['code'].touched && codeForm.controls['code'].invalid) {\n <mat-error>\n @if (codeForm.controls['code'].errors?.['required']) {\n <span i18n>Code required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <button\n mat-flat-button\n (click)=\"sendSMSCode()\"\n [disabled]=\"countDown\"\n class=\"max-w-[128px] text-white text-center\"\n >\n <span i18n>{{ showButtonText }}</span>\n </button>\n </div>\n }\n </form>\n }\n @if (tabIndex() === 2) {\n <div class=\"w-[190px] h-[190px] ml-[56px]\">\n <iframe [src]=\"urlSafe\" class=\"w-full h-full inline\" scrolling=\"no\" frameBorder=\"no\" #iframe></iframe>\n </div>\n }\n </div>\n <!-- actions -->\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signUpUrl\" i18n>Create account</a>\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"forGotUrl\" i18n>Forgot?</a>\n <button mat-flat-button (click)=\"login()\" class=\"w-[128px]\" i18n>Sign in</button>\n </div>\n </div>\n </div>\n</div>\n","import { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { AngularCommonModule, APP_CONFIG, WINDOW } from '@rolatech/angular-common';\nimport { AngularComponentsModule, BaseComponent } from '@rolatech/angular-components';\nimport { AuthService, AuthUserService } from '@rolatech/angular-auth';\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule],\n selector: 'rolatech-account-signup',\n templateUrl: './signup.component.html',\n styleUrls: ['./signup.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SignupComponent extends BaseComponent implements OnInit {\n environment = inject(APP_CONFIG);\n authService = inject(AuthService);\n authUserService = inject(AuthUserService);\n formBuilder = inject(FormBuilder);\n window = inject(WINDOW);\n signupForm!: FormGroup;\n continue = '/';\n signInUrl = '';\n usePhone = false\n countDown = false;\n countDownTime = 60;\n showButtonText = 'Send';\n\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signupForm = this.formBuilder.group({\n firstName: [null, Validators.required],\n lastName: [null, Validators.required],\n email: [null, [Validators.required, Validators.pattern('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$')]],\n password: [null, [Validators.required, Validators.minLength(6)]],\n rePassword: [null, [Validators.required, Validators.minLength(6)]],\n });\n // this.signupForm = this.formBuilder.group({\n // name: [null, Validators.required],\n // phone: [null, [Validators.required, Validators.pattern('1(3|4|5|6|7|8|9)\\\\d{9}')]],\n // code: [null, [Validators.required, Validators.minLength(6)]],\n // password: [null, [Validators.required, Validators.minLength(6)]],\n // rePassword: [null, [Validators.required, Validators.minLength(6)]],\n // });\n\n this.continue = this.route.snapshot.queryParams['continue'] || '/';\n const decodedUrl = decodeURIComponent(this.continue);\n this.signInUrl = `signin?continue=${decodedUrl}`;\n }\n sendSMSCode() {\n const phoneControl = this.signupForm.get('phone');\n if (!phoneControl?.valid) {\n return;\n }\n const phone = phoneControl.value;\n this.countDown = true;\n const start = setInterval(() => {\n if (this.countDownTime >= 0) {\n this.showButtonText = `${this.countDownTime--}s resend`;\n } else {\n clearInterval(start);\n this.showButtonText = 'Resend';\n this.countDown = false;\n this.countDownTime = 60;\n }\n }, 1000);\n this.authUserService.sendSMSCode('+86', phone).subscribe({\n next: (res) => {\n this.snackBarService.open('Success');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n submit() {\n if (!this.signupForm.valid) {\n return;\n }\n this.authService.signup(this.signupForm.value).subscribe({\n next: (res) => {\n console.log(res);\n this.window.location.href = this.continue ? this.continue : this.environment.myaccountUrl;\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full md:h-auto justify-start md:justify-between p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n <div class=\"flex flex-col py-6\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Create your {{ environment.name }} account</div>\n <div class=\"text-md ml-2\" i18n>Sign up, Get more.</div>\n </div>\n <div class=\"min-w-[320px]\">\n <form [formGroup]=\"signupForm\" (submit)=\"submit()\" class=\"flex flex-col\">\n @if (usePhone) {\n <!-- name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Name </mat-label>\n <input matInput formControlName=\"name\" required />\n @if (signupForm.controls['name'].touched && signupForm.controls['name'].invalid) {\n <mat-error>\n @if (signupForm.controls['name'].errors?.['required']) {\n <span i18n>Name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- phone -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Phone </mat-label>\n <input matInput formControlName=\"phone\" required />\n @if (signupForm.controls['phone'].touched && signupForm.controls['phone'].invalid) {\n <mat-error>\n @if (signupForm.controls['phone'].errors?.['required']) {\n <span i18n>Phone is required</span>\n }\n @if (signupForm.controls['phone'].errors?.['pattern']) {\n <span i18n>Invalid Phone </span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- phone code -->\n <div class=\"flex justify-between items-center gap-3\">\n <mat-form-field appearance=\"fill\" class=\"w-full\">\n <mat-label i18n> Code </mat-label>\n <input matInput type=\"text\" formControlName=\"code\" autocomplete=\"new-password\" required />\n @if (signupForm.controls['code'].touched && signupForm.controls['code'].invalid) {\n <mat-error>\n @if (signupForm.controls['code'].errors?.['required']) {\n <span i18n>Code is required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <button mat-button (click)=\"sendSMSCode()\" [disabled]=\"countDown\" class=\"w-[128px] text-white text-center\">\n <span>{{ showButtonText }}</span>\n </button>\n </div>\n }\n <div class=\"flex flex-col md:flex-row gap-3 items-center\">\n <!--First name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Fist name </mat-label>\n <input matInput formControlName=\"firstName\" required />\n @if (signupForm.controls['firstName'].touched && signupForm.controls['firstName'].invalid) {\n <mat-error>\n @if (signupForm.controls['firstName'].errors?.['required']) {\n <span i18n>First name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- Last name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Last name </mat-label>\n <input matInput formControlName=\"lastName\" required />\n @if (signupForm.controls['lastName'].touched && signupForm.controls['lastName'].invalid) {\n <mat-error>\n @if (signupForm.controls['lastName'].errors?.['required']) {\n <span i18n>Last name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </div>\n <!-- Email account -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Email </mat-label>\n <input matInput formControlName=\"email\" required />\n @if (signupForm.controls['email'].touched && signupForm.controls['email'].invalid) {\n <mat-error>\n @if (signupForm.controls['email'].errors?.['required']) {\n <span i18n>Email is required</span>\n }\n @if (signupForm.controls['email'].errors?.['pattern']) {\n <span i18n>Invalid email</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- Password -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput formControlName=\"password\" type=\"password\" autocomplete=\"password\" />\n @if (signupForm.controls['password'].touched && signupForm.controls['password'].invalid) {\n <mat-error>\n @if (signupForm.controls['password'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (signupForm.controls['password'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <!-- password confirm -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput formControlName=\"rePassword\" type=\"password\" autocomplete=\"rePassword\" />\n @if (signupForm.controls['rePassword'].touched && signupForm.controls['rePassword'].invalid) {\n <mat-error>\n @if (signupForm.controls['rePassword'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (signupForm.controls['rePassword'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </form>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a mat-button [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"submit()\" class=\"w-[128px]\" i18n>Sign up</button>\n </div>\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatInputModule } from '@angular/material/input';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { BaseComponent } from '@rolatech/angular-components';\n\n@Component({\n selector: 'rolatech-account-forgot',\n imports: [FormsModule, MatInputModule, CommonModule, MatButtonModule],\n templateUrl: './forgot.html',\n styleUrl: './forgot.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class Forgot extends BaseComponent implements OnInit {\n authService = inject(AuthService);\n email = '';\n signInUrl = '';\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signInUrl = `signin`;\n }\n send() {\n this.authService.requestPasswordReset(this.email).subscribe({\n next: () => {\n this.snackBarService.open('Password reset link sent.');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n <div class=\"flex flex-col py-6 lg:w-1/2 lg:pr-4\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Reset password</div>\n <div class=\"text-md ml-2\" i18n>Enter your email, password reset link will send to this email.</div>\n </div>\n <div class=\"lg:w-1/2 lg:pl-4\">\n <!-- content -->\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Email </mat-label>\n <input matInput [(ngModel)]=\"email\" />\n </mat-form-field>\n </div>\n <!-- actions -->\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <!-- <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signUpUrl\" i18n>Sign in</a> -->\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"send()\" class=\"w-[128px]\" i18n>Send</button>\n </div>\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatInputModule } from '@angular/material/input';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { BaseComponent } from '@rolatech/angular-components';\n\n@Component({\n selector: 'rolatech-account-password-reset',\n imports: [FormsModule, MatInputModule, CommonModule, MatButtonModule],\n templateUrl: './password-reset.html',\n styleUrl: './password-reset.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PasswordReset extends BaseComponent implements OnInit {\n authService = inject(AuthService);\n invalidToken = false;\n signInUrl = '';\n token = '';\n password = '';\n newPassword = '';\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signInUrl = `signin`;\n const token = this.route.snapshot.queryParams['token'] ?? undefined;\n if (token) {\n this.authService.validatePasswordRestToken(token).subscribe({\n next: (res) => {\n this.token = token;\n },\n error: (error) => {\n console.log(error);\n this.invalidToken = true;\n },\n });\n }\n }\n resetPassword() {\n if (this.password !== this.newPassword) {\n this.snackBarService.open('Password not match');\n return;\n }\n if (this.password.length < 8) {\n this.snackBarService.open('Password too weak');\n return;\n }\n this.authService.resetPassword({ token: this.token, newPassword: this.newPassword }).subscribe({\n next: (res) => {\n this.snackBarService.open('Password reset');\n this.router.navigateByUrl('/signin');\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (invalidToken) {\n <div>\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Link invalid or expired</div>\n <div class=\"text-md ml-2\" i18n>\n To reset your password, return to the login page and select \"Forgot?\" to send a new email.\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n </div>\n </div>\n\n } @else {\n <div class=\"flex flex-col py-6 lg:w-1/2 lg:pr-4\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Reset password</div>\n <div class=\"text-md ml-2\" i18n>Enter your new password.</div>\n </div>\n <div class=\"lg:w-1/2 lg:pl-4\">\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"password\" required type=\"password\" />\n </mat-form-field>\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"newPassword\" required type=\"password\" />\n </mat-form-field>\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"resetPassword()\" class=\"w-[128px]\" i18n>Reset</button>\n </div>\n </div>\n }\n </div>\n</div>\n","import { Routes } from '@angular/router';\nimport { AuthGuard, ForbiddenComponent, UnauthorizedComponent } from '@rolatech/angular-auth';\nimport { LogoutComponent } from './components/logout/logout.component';\nimport { SigninComponent } from './pages/accounts/signin/signin.component';\nimport { SignupComponent } from './pages/accounts/signup/signup.component';\nimport { Forgot } from './pages/accounts/forgot/forgot';\nimport { PasswordReset } from './pages/accounts/password-reset/password-reset';\n\nexport const accountRoutes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n redirectTo: 'signin',\n },\n { path: 'signin', canActivate: [AuthGuard], component: SigninComponent, data: { title: 'Signin' } },\n {\n path: 'signin/forgot',\n component: Forgot,\n data: { title: 'Forgot Password' },\n },\n { path: 'signup', component: SignupComponent, data: { title: 'Signup' } },\n { path: 'logout', component: LogoutComponent },\n // { path: 'login', loadChildren: () => import('./components/login/login.routes') },\n {\n path: 'reset-password',\n component: PasswordReset,\n data: { title: 'Password Reset' },\n },\n\n {\n path: 'unauthorized',\n component: UnauthorizedComponent,\n },\n {\n path: 'forbidden',\n component: ForbiddenComponent,\n },\n];\n","import { Routes } from '@angular/router';\n\nexport const myaccountRoutes: Routes = [\n {\n path: '',\n loadComponent: () => import('./pages/myaccount/home/home.component').then((c) => c.HomeComponent),\n data: { title: '首页' },\n },\n {\n path: 'personal-info',\n loadComponent: () => import('./pages/myaccount/personal-info/info.component').then((c) => c.InfoComponent),\n },\n {\n path: 'profile',\n loadComponent: () => import('./pages/myaccount/personal-info/profile/profile.component').then((c) => c.ProfileComponent),\n },\n {\n path: 'username',\n loadComponent: () => import('./pages/myaccount/personal-info/username/username.component').then((c) => c.UsernameComponent),\n },\n { path: 'gender', loadComponent: () => import('./pages/myaccount/gender/gender.component').then((c) => c.GenderComponent) },\n { path: 'email', loadComponent: () => import('./pages/myaccount/email/email.component').then((c) => c.EmailComponent) },\n {\n path: 'email-verification/:id',\n loadComponent: () =>\n import('./pages/myaccount/email-verification/email-verification.component').then((c) => c.EmailVerificationComponent),\n },\n { path: 'phone', loadComponent: () => import('./pages/myaccount/phone/phone.component').then((c) => c.PhoneComponent) },\n\n {\n path: 'address',\n loadChildren: () => import('./pages/myaccount/address/address.routes').then((r) => r.addressRoutes),\n },\n\n {\n path: 'security',\n loadChildren: () => import('./pages/myaccount/security/security.routes'),\n data: { title: 'Security' },\n },\n {\n path: 'notifications',\n loadChildren: () => import('@rolatech/angular-notification').then((m) => m.notificationRoutes),\n data: { title: 'Notifications' },\n },\n];\n","import { EnvironmentProviders, Provider, makeEnvironmentProviders } from '@angular/core';\nimport { ROUTES } from '@angular/router';\nimport { accountRoutes } from './lib/account.routes';\n\nexport function provideAngularAuthRoutes(): EnvironmentProviders {\n const provider: Provider[] = [\n {\n provide: ROUTES,\n useValue: accountRoutes,\n multi: true,\n },\n ];\n return makeEnvironmentProviders(provider);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;MAwBa,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;AAChC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAGvB,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,mDAAC;QACtB,IAAA,CAAA,SAAS,GAAG,EAAE;QACd,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,SAAS;AACpD,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,CAAA,gBAAA,EAAmB,IAAI,CAAC,OAAO,EAAE,EAAE;AAyD/E,IAAA;IAxDC,QAAQ,GAAA;AACN,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACtC,YAAA,IAAI,CAAC,SAAS,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAA,iBAAA,CAAmB,GAAG,MAAM,CAAC,QA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IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE;AACjC,KAAA;;;SCvCa,wBAAwB,GAAA;AACtC,IAAA,MAAM,QAAQ,GAAe;AAC3B,QAAA;AACE,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,QAAQ,EAAE,aAAa;AACvB,YAAA,KAAK,EAAE,IAAI;AACZ,SAAA;KACF;AACD,IAAA,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAC3C;;ACbA;;AAEG;;;;"}
1
+ {"version":3,"file":"rolatech-angular-account.mjs","sources":["../../../../packages/angular-account/src/lib/components/topbar-login/topbar-login.component.ts","../../../../packages/angular-account/src/lib/components/topbar-login/topbar-login.component.html","../../../../packages/angular-account/src/lib/components/logout/logout.component.ts","../../../../packages/angular-account/src/lib/components/logout/logout.component.html","../../../../packages/angular-account/src/lib/services/wechat-login.service.ts","../../../../packages/angular-account/src/lib/pages/accounts/signin/signin.component.ts","../../../../packages/angular-account/src/lib/pages/accounts/signin/signin.component.html","../../../../packages/angular-account/src/lib/pages/accounts/signup/signup.component.ts","../../../../packages/angular-account/src/lib/pages/accounts/signup/signup.component.html","../../../../packages/angular-account/src/lib/pages/accounts/forgot/forgot.ts","../../../../packages/angular-account/src/lib/pages/accounts/forgot/forgot.html","../../../../packages/angular-account/src/lib/pages/accounts/password-reset/password-reset.ts","../../../../packages/angular-account/src/lib/pages/accounts/password-reset/password-reset.html","../../../../packages/angular-account/src/lib/pages/myaccount/email-verification/email-verification.component.ts","../../../../packages/angular-account/src/lib/pages/myaccount/email-verification/email-verification.component.html","../../../../packages/angular-account/src/lib/account.routes.ts","../../../../packages/angular-account/src/lib/myaccount.routes.ts","../../../../packages/angular-account/src/provider.ts","../../../../packages/angular-account/src/rolatech-angular-account.ts"],"sourcesContent":["import { Component, OnDestroy, OnInit, PLATFORM_ID, ViewEncapsulation, inject, input } from '@angular/core';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { APP_CONFIG } from '@rolatech/angular-common';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n NavigationEnd,\n Router,\n Event,\n NavigationStart,\n NavigationCancel,\n NavigationError,\n ActivatedRoute,\n Route,\n} from '@angular/router';\nimport { filter, Subscription } from 'rxjs';\ntype NavigationEvent = NavigationStart | NavigationEnd | NavigationCancel | NavigationError;\n\n@Component({\n selector: 'rolatech-account-topbar-login',\n imports: [CommonModule, MatButtonModule],\n templateUrl: './topbar-login.component.html',\n styleUrl: './topbar-login.component.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class TopbarLoginComponent implements OnInit, OnDestroy {\n environment = inject(APP_CONFIG);\n platformId = inject(PLATFORM_ID);\n route = inject(ActivatedRoute);\n router = inject(Router);\n private routerSubscription: Subscription | undefined;\n\n service = input('www');\n signinUrl = '';\n signupUrl = this.environment.accountsUrl + '/signup';\n logoutUrl = this.environment.accountsUrl + `/logout?service=${this.service()}`;\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.signinUrl = `${this.environment.accountsUrl}/signin?continue=` + window.location.href;\n this.signupUrl = `${this.environment.accountsUrl}/signup?continue=` + window.location.href;\n this.logoutUrl = this.environment.accountsUrl + `/logout?service=${this.service()}&continue=` + window.location.origin;\n }\n\n this.routerSubscription = this.router.events\n .pipe(filter((event: Event): event is NavigationEvent => event instanceof NavigationStart))\n .subscribe((event) => {\n this.signinUrl = `${this.environment.accountsUrl}/signin?continue=` + window.location.origin + event.url;\n this.signupUrl = `${this.environment.accountsUrl}/signup?continue=` + window.location.href + event.url;\n\n // this.checkRouteGuard(event.url);\n\n const currentUrl = this.router.url; // Get the current URL\n const matchedRoute = this.findRouteConfig(currentUrl);\n\n if (matchedRoute) {\n console.log('Matched Route Config:', matchedRoute);\n } else {\n console.log('No matching route found.');\n }\n });\n }\n ngOnDestroy() {\n this.routerSubscription?.unsubscribe();\n }\n // checkRouteGuard(url: string): void {\n // // const route = this.router.config.find((r) => r.path === routePath);\n // const route = this.router.config.find((r: any) => this.matchRoute(url, r.path));\n\n // if (route) {\n // if (route.canActivate && route.canActivate.length > 0) {\n // console.log(`Route \"${url}\" has canActivate guards:`, route.canActivate);\n // } else {\n // console.log(`Route \"${url}\" does not have canActivate guards.`);\n // }\n // } else {\n // console.log(`Route \"${url}\" not found.`);\n // }\n // }\n // matchRoute(url: string, routePath: string): boolean {\n // // Strip leading/trailing slashes from URL and routePath and compare\n // return url.replace(/^\\/|\\/$/g, '') === routePath.replace(/^\\/|\\/$/g, '');\n // }\n findRouteConfig(url: string): Route | undefined {\n return this.router.config.find((route) => this.matchRoute(route, url));\n }\n\n // Helper function to check if a route matches the current URL\n matchRoute(route: Route, url: string): boolean {\n const path = route.path?.split('/').join('');\n const urlSegment = url.split('/').join('');\n return path === urlSegment;\n }\n}\n","<div class=\"flex items-center\">\n <a mat-stroked-button class=\"mr-2 max-h-9 md:max-h-10\" [href]=\"signinUrl\"><span i18n>Sign in</span></a>\n <a mat-flat-button class=\"max-h-9 md:max-h-10\" [href]=\"signupUrl\"><span i18n>Sign up</span></a>\n</div>\n","import { isPlatformBrowser } from '@angular/common';\nimport { Component, inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { APP_CONFIG, AngularCommonModule } from '@rolatech/angular-common';\nimport { AngularComponentsModule } from '@rolatech/angular-components';\nimport { map, take } from 'rxjs';\n\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule],\n selector: 'rolatech-account-logout',\n templateUrl: './logout.component.html',\n styleUrls: ['./logout.component.scss'],\n})\nexport class LogoutComponent implements OnInit {\n service = '';\n continue = '';\n environment = inject(APP_CONFIG);\n platformId = inject(PLATFORM_ID);\n route = inject(ActivatedRoute);\n router = inject(Router);\n authService = inject(AuthService);\n snackBar = inject(MatSnackBar);\n\n ngOnInit(): void {\n this.service = this.route.snapshot.queryParams['service'] || 'www';\n this.continue = this.route.snapshot.queryParams['continue'] || '/';\n if (isPlatformBrowser(this.platformId)) {\n this.logout();\n }\n }\n logout() {\n this.authService.logout().subscribe({\n next: (res) => {\n // this.router.navigate(['/signin'], {\n // queryParams: { continue: this.continue },\n // });\n // this.router.navigate([this.continue]);\n // this.router.navigateByUrl(this.continue);\n window.location.href = this.continue;\n },\n error: (error) => {\n this.snackBar.open(error.message);\n },\n });\n }\n}\n","<p>Please waiting...</p>\n","import { Directive, EventEmitter, Injectable, output } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\n@Directive()\nexport class WeChatLoginService {\n onWeChatLogin = new EventEmitter<any>();\n\n constructor() {}\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport { Component, effect, HostListener, inject, OnInit, signal, ViewEncapsulation } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';\nimport { AngularCommonModule, APP_CONFIG } from '@rolatech/angular-common';\nimport { AngularComponentsModule, BaseComponent, TabComponent, TabsComponent } from '@rolatech/angular-components';\nimport { AUTH_METHODS, AuthMethod, AuthService, AuthUserService } from '@rolatech/angular-auth';\nimport { WeChatLoginService } from '../../../services/wechat-login.service';\n\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule, TabsComponent, TabComponent],\n selector: 'rolatech-account-signin',\n templateUrl: './signin.component.html',\n styleUrls: ['./signin.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SigninComponent extends BaseComponent implements OnInit {\n environment = inject(APP_CONFIG);\n authMethods = inject(AUTH_METHODS);\n hasPassword = this.authMethods.includes(AuthMethod.Password);\n hasOTP = this.authMethods.includes(AuthMethod.OTP);\n hasWeChat = this.authMethods.includes(AuthMethod.WeChat);\n hasGoogle = this.authMethods.includes(AuthMethod.Google);\n formBuilder = inject(FormBuilder);\n authService = inject(AuthService);\n authUserService = inject(AuthUserService);\n wechtLoginService = inject(WeChatLoginService);\n sanitizer = inject(DomSanitizer);\n passrodForm!: FormGroup;\n codeForm!: FormGroup;\n continue = '';\n signUpUrl = '';\n forGotUrl = '';\n tabIndex = signal(0);\n countDown = false;\n countDownTime = 60;\n showButtonText = `Send`;\n appid = 'this.environment.wechat.appId';\n state = 'add';\n isLoading = false;\n urlSafe: SafeResourceUrl = this.sanitizer.bypassSecurityTrustResourceUrl('');\n baseUrl = 'https://open.weixin.qq.com/connect/qrconnect';\n @HostListener('window:message', ['$event'])\n onLogin(event: any): void {\n if (\n event.origin !== window.location.origin ||\n /react-devtools/gi.test(event.data.source) ||\n /angular-devtools/gi.test(event.data.source)\n ) {\n return;\n }\n if (event.origin === this.environment.accountsUrl && event.data.code === 200) {\n window.location.href = this.continue === this.environment.accountsUrl ? this.environment.myaccountUrl : this.continue;\n }\n }\n constructor() {\n super();\n effect(() => {\n const index = this.tabIndex();\n if (index === 0) {\n if (this.codeForm) {\n this.codeForm.reset();\n }\n }\n if (index === 1) {\n if (this.passrodForm) {\n this.passrodForm.reset();\n }\n }\n if (index === 2) {\n this.isLoading = true;\n if (this.codeForm && this.passrodForm) {\n this.codeForm.reset();\n this.passrodForm.reset();\n }\n this.wechat();\n }\n });\n }\n ngOnInit(): void {\n this.titleService.setTitle('Sign in');\n if (this.hasPassword) {\n this.passrodForm = this.formBuilder.group({\n // account: [null, [Validators.required, Validators.pattern('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$')]],\n account: [null, [Validators.required]],\n password: [null, [Validators.required, Validators.minLength(6)]],\n });\n }\n if (this.hasOTP) {\n this.codeForm = this.formBuilder.group({\n phone: [null, [Validators.required, Validators.pattern('1(3|4|5|6|7|8|9)\\\\d{9}')]],\n code: [null, Validators.required],\n });\n }\n this.route.queryParams.subscribe((params) => {\n this.continue = params['continue'] || '/'; // Default to home if no continue param\n const decodedUrl = decodeURIComponent(this.continue);\n this.signUpUrl = this.continue ? `signup?continue=${decodedUrl}` : 'signup';\n this.forGotUrl = 'signin/forgot';\n });\n // this.continue = this.route.snapshot.queryParams['continue'];\n // if (this.continue) {\n // const decodedUrl = decodeURIComponent(this.continue);\n // this.signUpUrl = this.continue ? `signup?continue=${decodedUrl}` : 'signup';\n // }\n }\n get form() {\n return this.tabIndex() === 0 ? this.passrodForm.controls : this.codeForm.controls;\n }\n sendSMSCode() {\n const phoneControl = this.codeForm.get('phone');\n if (!phoneControl?.valid) {\n return;\n }\n const phone = phoneControl.value;\n this.countDown = true;\n const start = setInterval(() => {\n if (this.countDownTime >= 0) {\n this.showButtonText = $localize`${this.countDownTime--}s resend`;\n } else {\n clearInterval(start);\n this.showButtonText = $localize`Resend`;\n this.countDown = false;\n this.countDownTime = 60;\n }\n }, 1000);\n\n this.authUserService.sendSMSCode('+86', phone).subscribe({\n next: (res) => {\n this.snackBarService.open('Success');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n login() {\n let data = {};\n if (this.tabIndex() === 0) {\n if (!this.passrodForm.valid) {\n return;\n }\n data = {\n account: this.form['account'].value,\n password: this.form['password'].value,\n };\n }\n if (this.tabIndex() === 1) {\n if (!this.codeForm.valid) {\n return;\n }\n data = {\n phone: this.form['phone'].value,\n code: this.form['code'].value,\n };\n }\n\n this.authService.login(data).subscribe({\n next: () => {\n if (isPlatformBrowser(this.platformId)) {\n window.location.href = this.continue === this.environment.accountsUrl ? this.environment.myaccountUrl : this.continue;\n }\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n wechat() {\n // const redirectUri = 'https://accounts.pinxiaoke.cn/login?continue';\n const redirectUri = `${window.location.origin}/login?continue`;\n const encodedURI = encodeURI(redirectUri);\n const src = `${this.baseUrl}?appid=${this.appid}&response_type=code&self_redirect=true&scope=snsapi_login&stylelite=1&redirect_uri=${encodedURI}&state=${this.state}#wechat_redirect`;\n this.urlSafe = this.sanitizer.bypassSecurityTrustResourceUrl(src);\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n\n <div class=\"flex flex-col justify-between lg:w-1/2\">\n <div class=\"flex flex-col py-6\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Sign in</div>\n <div class=\"text-md ml-2\" i18n>Use your {{ environment.name }} Account</div>\n </div>\n <!-- <div>\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"forGotUrl\" i18n>Forgot?</a>\n </div> -->\n </div>\n <div class=\"lg:w-1/2\">\n <rolatech-tabs [(select)]=\"tabIndex\">\n @if (hasPassword) {\n <rolatech-tab label=\"Password\"></rolatech-tab>\n }\n @if (hasOTP) {\n <rolatech-tab label=\"OTP\"></rolatech-tab>\n }\n @if (hasWeChat) {\n <rolatech-tab label=\"WeChat\"></rolatech-tab>\n }\n </rolatech-tabs>\n <!-- content -->\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n @if (tabIndex() === 0) {\n <form [formGroup]=\"passrodForm\" class=\"flex flex-col\">\n @if (hasPassword) {\n <mat-form-field>\n <mat-label i18n> Email/Username </mat-label>\n <input matInput formControlName=\"account\" required />\n @if (passrodForm.controls['account'].touched && passrodForm.controls['account'].invalid) {\n <mat-error>\n @if (passrodForm.controls['account'].errors?.['required']) {\n <span i18n>Email is required</span>\n }\n @if (passrodForm.controls['account'].errors?.['pattern']) {\n <span i18n>Invalid email</span>\n }\n </mat-error>\n }\n </mat-form-field>\n }\n <mat-form-field>\n <mat-label i18n> Password </mat-label>\n <input autocomplete matInput formControlName=\"password\" type=\"password\" />\n @if (passrodForm.controls['password'].touched && passrodForm.controls['password'].invalid) {\n <mat-error>\n @if (passrodForm.controls['password'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (passrodForm.controls['password'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </form>\n }\n @if (tabIndex() === 1) {\n <form [formGroup]=\"codeForm\" class=\"flex flex-col\">\n @if (hasOTP) {\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Phone </mat-label>\n <input autocomplete matInput formControlName=\"phone\" required />\n @if (codeForm.controls['phone'].touched && codeForm.controls['phone'].invalid) {\n <mat-error>\n @if (codeForm.controls['phone'].errors?.['required']) {\n <span i18n> Phone required</span>\n }\n @if (codeForm.controls['phone'].errors?.['pattern']) {\n <span i18n> Phone invalid </span>\n }\n </mat-error>\n }\n </mat-form-field>\n <div class=\"flex justify-between items-center\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Code </mat-label>\n <input matInput formControlName=\"code\" required />\n @if (codeForm.controls['code'].touched && codeForm.controls['code'].invalid) {\n <mat-error>\n @if (codeForm.controls['code'].errors?.['required']) {\n <span i18n>Code required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <button\n mat-flat-button\n (click)=\"sendSMSCode()\"\n [disabled]=\"countDown\"\n class=\"max-w-[128px] text-white text-center\"\n >\n <span i18n>{{ showButtonText }}</span>\n </button>\n </div>\n }\n </form>\n }\n @if (tabIndex() === 2) {\n <div class=\"w-[190px] h-[190px] ml-[56px]\">\n <iframe [src]=\"urlSafe\" class=\"w-full h-full inline\" scrolling=\"no\" frameBorder=\"no\" #iframe></iframe>\n </div>\n }\n </div>\n <!-- actions -->\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signUpUrl\" i18n>Create account</a>\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"forGotUrl\" i18n>Forgot?</a>\n <button mat-flat-button (click)=\"login()\" class=\"w-[128px]\" i18n>Sign in</button>\n </div>\n </div>\n </div>\n</div>\n","import { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { AngularCommonModule, APP_CONFIG, WINDOW } from '@rolatech/angular-common';\nimport { AngularComponentsModule, BaseComponent } from '@rolatech/angular-components';\nimport { AuthService, AuthUserService } from '@rolatech/angular-auth';\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule],\n selector: 'rolatech-account-signup',\n templateUrl: './signup.component.html',\n styleUrls: ['./signup.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SignupComponent extends BaseComponent implements OnInit {\n environment = inject(APP_CONFIG);\n authService = inject(AuthService);\n authUserService = inject(AuthUserService);\n formBuilder = inject(FormBuilder);\n window = inject(WINDOW);\n signupForm!: FormGroup;\n continue = '/';\n signInUrl = '';\n usePhone = false\n countDown = false;\n countDownTime = 60;\n showButtonText = 'Send';\n\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signupForm = this.formBuilder.group({\n firstName: [null, Validators.required],\n lastName: [null, Validators.required],\n email: [null, [Validators.required, Validators.pattern('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$')]],\n password: [null, [Validators.required, Validators.minLength(6)]],\n rePassword: [null, [Validators.required, Validators.minLength(6)]],\n });\n // this.signupForm = this.formBuilder.group({\n // name: [null, Validators.required],\n // phone: [null, [Validators.required, Validators.pattern('1(3|4|5|6|7|8|9)\\\\d{9}')]],\n // code: [null, [Validators.required, Validators.minLength(6)]],\n // password: [null, [Validators.required, Validators.minLength(6)]],\n // rePassword: [null, [Validators.required, Validators.minLength(6)]],\n // });\n\n this.continue = this.route.snapshot.queryParams['continue'] || '/';\n const decodedUrl = decodeURIComponent(this.continue);\n this.signInUrl = `signin?continue=${decodedUrl}`;\n }\n sendSMSCode() {\n const phoneControl = this.signupForm.get('phone');\n if (!phoneControl?.valid) {\n return;\n }\n const phone = phoneControl.value;\n this.countDown = true;\n const start = setInterval(() => {\n if (this.countDownTime >= 0) {\n this.showButtonText = `${this.countDownTime--}s resend`;\n } else {\n clearInterval(start);\n this.showButtonText = 'Resend';\n this.countDown = false;\n this.countDownTime = 60;\n }\n }, 1000);\n this.authUserService.sendSMSCode('+86', phone).subscribe({\n next: (res) => {\n this.snackBarService.open('Success');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n submit() {\n if (!this.signupForm.valid) {\n return;\n }\n this.authService.signup(this.signupForm.value).subscribe({\n next: (res) => {\n console.log(res);\n this.window.location.href = this.continue ? this.continue : this.environment.myaccountUrl;\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full md:h-auto justify-start md:justify-between p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n <div class=\"flex flex-col py-6\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Create your {{ environment.name }} account</div>\n <div class=\"text-md ml-2\" i18n>Sign up, Get more.</div>\n </div>\n <div class=\"min-w-[320px]\">\n <form [formGroup]=\"signupForm\" (submit)=\"submit()\" class=\"flex flex-col\">\n @if (usePhone) {\n <!-- name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Name </mat-label>\n <input matInput formControlName=\"name\" required />\n @if (signupForm.controls['name'].touched && signupForm.controls['name'].invalid) {\n <mat-error>\n @if (signupForm.controls['name'].errors?.['required']) {\n <span i18n>Name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- phone -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Phone </mat-label>\n <input matInput formControlName=\"phone\" required />\n @if (signupForm.controls['phone'].touched && signupForm.controls['phone'].invalid) {\n <mat-error>\n @if (signupForm.controls['phone'].errors?.['required']) {\n <span i18n>Phone is required</span>\n }\n @if (signupForm.controls['phone'].errors?.['pattern']) {\n <span i18n>Invalid Phone </span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- phone code -->\n <div class=\"flex justify-between items-center gap-3\">\n <mat-form-field appearance=\"fill\" class=\"w-full\">\n <mat-label i18n> Code </mat-label>\n <input matInput type=\"text\" formControlName=\"code\" autocomplete=\"new-password\" required />\n @if (signupForm.controls['code'].touched && signupForm.controls['code'].invalid) {\n <mat-error>\n @if (signupForm.controls['code'].errors?.['required']) {\n <span i18n>Code is required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <button mat-button (click)=\"sendSMSCode()\" [disabled]=\"countDown\" class=\"w-[128px] text-white text-center\">\n <span>{{ showButtonText }}</span>\n </button>\n </div>\n }\n <div class=\"flex flex-col md:flex-row gap-3 items-center\">\n <!--First name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Fist name </mat-label>\n <input matInput formControlName=\"firstName\" required />\n @if (signupForm.controls['firstName'].touched && signupForm.controls['firstName'].invalid) {\n <mat-error>\n @if (signupForm.controls['firstName'].errors?.['required']) {\n <span i18n>First name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- Last name -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Last name </mat-label>\n <input matInput formControlName=\"lastName\" required />\n @if (signupForm.controls['lastName'].touched && signupForm.controls['lastName'].invalid) {\n <mat-error>\n @if (signupForm.controls['lastName'].errors?.['required']) {\n <span i18n>Last name required</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </div>\n <!-- Email account -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Email </mat-label>\n <input matInput formControlName=\"email\" required />\n @if (signupForm.controls['email'].touched && signupForm.controls['email'].invalid) {\n <mat-error>\n @if (signupForm.controls['email'].errors?.['required']) {\n <span i18n>Email is required</span>\n }\n @if (signupForm.controls['email'].errors?.['pattern']) {\n <span i18n>Invalid email</span>\n }\n </mat-error>\n }\n </mat-form-field>\n <!-- Password -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput formControlName=\"password\" type=\"password\" autocomplete=\"password\" />\n @if (signupForm.controls['password'].touched && signupForm.controls['password'].invalid) {\n <mat-error>\n @if (signupForm.controls['password'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (signupForm.controls['password'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n\n <!-- password confirm -->\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput formControlName=\"rePassword\" type=\"password\" autocomplete=\"rePassword\" />\n @if (signupForm.controls['rePassword'].touched && signupForm.controls['rePassword'].invalid) {\n <mat-error>\n @if (signupForm.controls['rePassword'].errors?.['required']) {\n <span i18n>Password required</span>\n }\n @if (signupForm.controls['rePassword'].errors?.['minlength']) {\n <span i18n>Password too short</span>\n }\n </mat-error>\n }\n </mat-form-field>\n </form>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a mat-button [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"submit()\" class=\"w-[128px]\" i18n>Sign up</button>\n </div>\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatInputModule } from '@angular/material/input';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { BaseComponent } from '@rolatech/angular-components';\n\n@Component({\n selector: 'rolatech-account-forgot',\n imports: [FormsModule, MatInputModule, CommonModule, MatButtonModule],\n templateUrl: './forgot.html',\n styleUrl: './forgot.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class Forgot extends BaseComponent implements OnInit {\n authService = inject(AuthService);\n email = '';\n signInUrl = '';\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signInUrl = `signin`;\n }\n send() {\n this.authService.requestPasswordReset(this.email).subscribe({\n next: () => {\n this.snackBarService.open('Password reset link sent.');\n },\n error: (error) => {\n this.snackBarService.open(error.message);\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n <!-- header -->\n <div class=\"flex flex-col py-6 lg:w-1/2 lg:pr-4\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Reset password</div>\n <div class=\"text-md ml-2\" i18n>Enter your email, password reset link will send to this email.</div>\n </div>\n <div class=\"lg:w-1/2 lg:pl-4\">\n <!-- content -->\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Email </mat-label>\n <input matInput [(ngModel)]=\"email\" />\n </mat-form-field>\n </div>\n <!-- actions -->\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <!-- <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signUpUrl\" i18n>Sign in</a> -->\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"send()\" class=\"w-[128px]\" i18n>Send</button>\n </div>\n </div>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, inject, OnInit, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatInputModule } from '@angular/material/input';\nimport { AuthService } from '@rolatech/angular-auth';\nimport { BaseComponent } from '@rolatech/angular-components';\n\n@Component({\n selector: 'rolatech-account-password-reset',\n imports: [FormsModule, MatInputModule, CommonModule, MatButtonModule],\n templateUrl: './password-reset.html',\n styleUrl: './password-reset.scss',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PasswordReset extends BaseComponent implements OnInit {\n authService = inject(AuthService);\n invalidToken = false;\n signInUrl = '';\n token = '';\n password = '';\n newPassword = '';\n ngOnInit(): void {\n this.titleService.setTitle('Sign up');\n this.signInUrl = `signin`;\n const token = this.route.snapshot.queryParams['token'] ?? undefined;\n if (token) {\n this.authService.validatePasswordRestToken(token).subscribe({\n next: (res) => {\n this.token = token;\n },\n error: (error) => {\n console.log(error);\n this.invalidToken = true;\n },\n });\n }\n }\n resetPassword() {\n if (this.password !== this.newPassword) {\n this.snackBarService.open('Password not match');\n return;\n }\n if (this.password.length < 8) {\n this.snackBarService.open('Password too weak');\n return;\n }\n this.authService.resetPassword({ token: this.token, newPassword: this.newPassword }).subscribe({\n next: (res) => {\n this.snackBarService.open('Password reset');\n this.router.navigateByUrl('/signin');\n },\n });\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col lg:flex-row md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (invalidToken) {\n <div>\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Link invalid or expired</div>\n <div class=\"text-md ml-2\" i18n>\n To reset your password, return to the login page and select \"Forgot?\" to send a new email.\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n </div>\n </div>\n\n } @else {\n <div class=\"flex flex-col py-6 lg:w-1/2 lg:pr-4\">\n <div class=\"text-3xl font-medium mb-3 ml-2\" i18n>Reset password</div>\n <div class=\"text-md ml-2\" i18n>Enter your new password.</div>\n </div>\n <div class=\"lg:w-1/2 lg:pl-4\">\n <div class=\"pt-6 min-w-[320px] min-h-[214px]\">\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"password\" required type=\"password\" />\n </mat-form-field>\n <mat-form-field appearance=\"fill\">\n <mat-label i18n> Password </mat-label>\n <input matInput [(ngModel)]=\"newPassword\" required type=\"password\" />\n </mat-form-field>\n </div>\n <div class=\"flex justify-between items-center py-3 pl-2\">\n <a class=\"underline underline-offset-4 text-sm text-(--rt-brand-color)\" [href]=\"signInUrl\" i18n>Sign in</a>\n <button mat-flat-button (click)=\"resetPassword()\" class=\"w-[128px]\" i18n>Reset</button>\n </div>\n </div>\n }\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { Component, inject, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { MatButtonModule } from '@angular/material/button';\nimport { AuthService, AuthUserService } from '@rolatech/angular-auth';\nimport { APP_CONFIG } from '@rolatech/angular-common';\nimport { SpinnerComponent } from '@rolatech/angular-components';\n\n@Component({\n imports: [CommonModule, MatButtonModule, SpinnerComponent],\n selector: 'rolatech-account-email-verification',\n templateUrl: './email-verification.component.html',\n styleUrls: ['./email-verification.component.scss'],\n})\nexport class EmailVerificationComponent implements OnInit {\n private readonly route = inject(ActivatedRoute);\n private readonly authService = inject(AuthService);\n private readonly authUserService = inject(AuthUserService);\n private readonly environment = inject(APP_CONFIG);\n\n loading = true;\n verified = false;\n invalid = false;\n message = '';\n signInUrl = '';\n continueUrl = '';\n\n ngOnInit(): void {\n this.signInUrl = `${this.environment.accountsUrl}/signin`;\n this.continueUrl = this.environment.myaccountUrl || this.environment.accountsUrl || '/';\n\n const token = this.route.snapshot.queryParamMap.get('token') ?? this.route.snapshot.paramMap.get('id') ?? '';\n if (!token) {\n this.finish(false, 'Email verification token is missing.');\n return;\n }\n\n this.authUserService.verifyEmailByToken(token).subscribe({\n next: (verified) => {\n this.finish(\n verified,\n verified ? 'Your email address has been verified successfully.' : 'This email verification link is invalid or expired.',\n );\n\n if (verified) {\n this.authService.ensureLoaded(true).subscribe({\n error: () => undefined,\n });\n }\n },\n error: (error) => {\n this.finish(false, error?.message || 'This email verification link is invalid or expired.');\n },\n });\n }\n\n private finish(verified: boolean, message: string): void {\n this.loading = false;\n this.verified = verified;\n this.invalid = !verified;\n this.message = message;\n }\n}\n","<div class=\"h-full flex items-start sm:items-center sm:justify-center\">\n <div\n class=\"w-full h-full justify-start md:h-auto p-6 lg:p-11 rounded-xl bg-(--rt-signin-inner-background) flex flex-col md:justify-between xl:w-[1000px] lg:w-[900px] md:w-[600px]\"\n >\n @if (loading) {\n <div class=\"flex min-h-[280px] flex-col items-center justify-center gap-4 text-center\">\n <rolatech-spinner></rolatech-spinner>\n <div class=\"text-2xl font-medium\">Verifying your email</div>\n <div class=\"text-sm text-(--rt-text-secondary)\">Please wait while we confirm this verification link.</div>\n </div>\n } @else if (verified) {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Email verified</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"continueUrl\">Continue</a>\n <a mat-button [href]=\"signInUrl\">Sign in</a>\n </div>\n </div>\n } @else {\n <div class=\"flex flex-col gap-6\">\n <div>\n <div class=\"text-3xl font-medium mb-3\">Link invalid or expired</div>\n <div class=\"text-md text-(--rt-text-secondary)\">{{ message }}</div>\n </div>\n\n <div class=\"flex flex-wrap items-center gap-3\">\n <a mat-flat-button [href]=\"signInUrl\">Sign in</a>\n <a mat-button [href]=\"continueUrl\">Back</a>\n </div>\n </div>\n }\n </div>\n</div>\n","import { Routes } from '@angular/router';\nimport { AuthGuard, ForbiddenComponent, UnauthorizedComponent } from '@rolatech/angular-auth';\nimport { LogoutComponent } from './components/logout/logout.component';\nimport { SigninComponent } from './pages/accounts/signin/signin.component';\nimport { SignupComponent } from './pages/accounts/signup/signup.component';\nimport { Forgot } from './pages/accounts/forgot/forgot';\nimport { PasswordReset } from './pages/accounts/password-reset/password-reset';\nimport { EmailVerificationComponent } from './pages/myaccount/email-verification/email-verification.component';\n\nexport const accountRoutes: Routes = [\n {\n path: '',\n pathMatch: 'full',\n redirectTo: 'signin',\n },\n {\n path: 'account/verification/email',\n component: EmailVerificationComponent,\n data: { title: 'Email Verification' },\n },\n {\n path: 'email-verification/:id',\n component: EmailVerificationComponent,\n data: { title: 'Email Verification' },\n },\n { path: 'signin', canActivate: [AuthGuard], component: SigninComponent, data: { title: 'Signin' } },\n {\n path: 'signin/forgot',\n component: Forgot,\n data: { title: 'Forgot Password' },\n },\n { path: 'signup', component: SignupComponent, data: { title: 'Signup' } },\n { path: 'logout', component: LogoutComponent },\n // { path: 'login', loadChildren: () => import('./components/login/login.routes') },\n {\n path: 'reset-password',\n component: PasswordReset,\n data: { title: 'Password Reset' },\n },\n\n {\n path: 'unauthorized',\n component: UnauthorizedComponent,\n },\n {\n path: 'forbidden',\n component: ForbiddenComponent,\n },\n];\n","import { Routes } from '@angular/router';\n\nexport const myaccountRoutes: Routes = [\n {\n path: '',\n loadComponent: () => import('./pages/myaccount/home/home.component').then((c) => c.HomeComponent),\n data: { title: '首页' },\n },\n {\n path: 'personal-info',\n loadComponent: () => import('./pages/myaccount/personal-info/info.component').then((c) => c.InfoComponent),\n },\n {\n path: 'profile',\n loadComponent: () => import('./pages/myaccount/personal-info/profile/profile.component').then((c) => c.ProfileComponent),\n },\n {\n path: 'username',\n loadComponent: () => import('./pages/myaccount/personal-info/username/username.component').then((c) => c.UsernameComponent),\n },\n { path: 'gender', loadComponent: () => import('./pages/myaccount/gender/gender.component').then((c) => c.GenderComponent) },\n { path: 'email', loadComponent: () => import('./pages/myaccount/email/email.component').then((c) => c.EmailComponent) },\n {\n path: 'email-verification/:id',\n loadComponent: () =>\n import('./pages/myaccount/email-verification/email-verification.component').then((c) => c.EmailVerificationComponent),\n },\n { path: 'phone', loadComponent: () => import('./pages/myaccount/phone/phone.component').then((c) => c.PhoneComponent) },\n\n {\n path: 'address',\n loadChildren: () => import('./pages/myaccount/address/address.routes').then((r) => r.addressRoutes),\n },\n\n {\n path: 'security',\n loadChildren: () => import('./pages/myaccount/security/security.routes'),\n data: { title: 'Security' },\n },\n {\n path: 'notifications',\n loadChildren: () => import('@rolatech/angular-notification').then((m) => m.notificationRoutes),\n data: { title: 'Notifications' },\n },\n];\n","import { EnvironmentProviders, Provider, makeEnvironmentProviders } from '@angular/core';\nimport { ROUTES } from '@angular/router';\nimport { accountRoutes } from './lib/account.routes';\n\nexport function provideAngularAuthRoutes(): EnvironmentProviders {\n const provider: Provider[] = [\n {\n provide: ROUTES,\n useValue: accountRoutes,\n multi: true,\n },\n ];\n return makeEnvironmentProviders(provider);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;MAwBa,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;AAChC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAGvB,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,mDAAC;QACtB,IAAA,CAAA,SAAS,GAAG,EAAE;QACd,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,SAAS;AACpD,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,CAAA,gBAAA,EAAmB,IAAI,CAAC,OAAO,EAAE,EAAE;AAyD/E,IAAA;IAxDC,QAAQ,GAAA;AACN,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACtC,YAAA,IAAI,CAAC,SAAS,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAA,iBAAA,CAAmB,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI;AAC1F,YAAA,IAAI,CAAC,SAAS,GAAG,CAAA,EAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAA,iBAAA,CAAmB,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI;YAC1F,IAAI,CAAC,SAAS,GAAG,I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U,EAAE;AAC5B,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,YAAY,EAAE,MAAM,OAAO,gCAAgC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,CAAC;AAC9F,QAAA,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE;AACjC,KAAA;;;SCvCa,wBAAwB,GAAA;AACtC,IAAA,MAAM,QAAQ,GAAe;AAC3B,QAAA;AACE,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,QAAQ,EAAE,aAAa;AACvB,YAAA,KAAK,EAAE,IAAI;AACZ,SAAA;KACF;AACD,IAAA,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAC3C;;ACbA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolatech/angular-account",
3
- "version": "20.3.0-beta.2",
3
+ "version": "20.3.0-beta.3",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/core": "^20.0.0",
@@ -12,11 +12,11 @@
12
12
  "qrcode": "^1.5.4"
13
13
  },
14
14
  "dependencies": {
15
- "@rolatech/angular-common": "20.3.0-beta.2",
16
- "@rolatech/angular-components": "20.3.0-beta.2",
17
- "@rolatech/angular-services": "20.3.0-beta.2",
18
- "@rolatech/angular-auth": "20.3.0-beta.2",
19
- "@rolatech/angular-notification": "20.3.0-beta.2",
15
+ "@rolatech/angular-common": "20.3.0-beta.3",
16
+ "@rolatech/angular-components": "20.3.0-beta.3",
17
+ "@rolatech/angular-services": "20.3.0-beta.3",
18
+ "@rolatech/angular-auth": "20.3.0-beta.3",
19
+ "@rolatech/angular-notification": "20.3.0-beta.3",
20
20
  "tslib": "^2.3.0"
21
21
  },
22
22
  "sideEffects": false,
@@ -24,6 +24,23 @@ declare const accountRoutes: Routes;
24
24
 
25
25
  declare const myaccountRoutes: Routes;
26
26
 
27
+ declare class EmailVerificationComponent implements OnInit {
28
+ private readonly route;
29
+ private readonly authService;
30
+ private readonly authUserService;
31
+ private readonly environment;
32
+ loading: boolean;
33
+ verified: boolean;
34
+ invalid: boolean;
35
+ message: string;
36
+ signInUrl: string;
37
+ continueUrl: string;
38
+ ngOnInit(): void;
39
+ private finish;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmailVerificationComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmailVerificationComponent, "rolatech-account-email-verification", never, {}, {}, never, never, true, never>;
42
+ }
43
+
27
44
  declare function provideAngularAuthRoutes(): EnvironmentProviders;
28
45
 
29
- export { TopbarLoginComponent, accountRoutes, myaccountRoutes, provideAngularAuthRoutes };
46
+ export { EmailVerificationComponent, TopbarLoginComponent, accountRoutes, myaccountRoutes, provideAngularAuthRoutes };
@@ -1,29 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component } from '@angular/core';
3
- import { AngularCommonModule } from '@rolatech/angular-common';
4
- import { BaseComponent, AngularComponentsModule } from '@rolatech/angular-components';
5
-
6
- class EmailVerificationComponent extends BaseComponent {
7
- ngOnInit() {
8
- this.show();
9
- }
10
- show() {
11
- const options = {
12
- title: '确认删除吗',
13
- message: 'CONFIRM.DOWNLOAD.JOB.MESSAGE',
14
- cancelText: 'Cancel',
15
- confirmText: '确认',
16
- };
17
- this.dialogService.open(options);
18
- this.dialogService.confirmed().subscribe((confirmed) => { });
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EmailVerificationComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: EmailVerificationComponent, isStandalone: true, selector: "rolatech-account-email-verification", usesInheritance: true, ngImport: i0, template: "<div class=\"p-3\">Email verification</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: AngularCommonModule }, { kind: "ngmodule", type: AngularComponentsModule }] }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: EmailVerificationComponent, decorators: [{
24
- type: Component,
25
- args: [{ imports: [AngularCommonModule, AngularComponentsModule], selector: 'rolatech-account-email-verification', template: "<div class=\"p-3\">Email verification</div>\n" }]
26
- }] });
27
-
28
- export { EmailVerificationComponent };
29
- //# sourceMappingURL=rolatech-angular-account-email-verification.component-CRy2G-Eq.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rolatech-angular-account-email-verification.component-CRy2G-Eq.mjs","sources":["../../../../packages/angular-account/src/lib/pages/myaccount/email-verification/email-verification.component.ts","../../../../packages/angular-account/src/lib/pages/myaccount/email-verification/email-verification.component.html"],"sourcesContent":["import { Component, inject, OnInit } from '@angular/core';\nimport { AngularCommonModule } from '@rolatech/angular-common';\nimport { AngularComponentsModule, BaseComponent } from '@rolatech/angular-components';\n\n@Component({\n imports: [AngularCommonModule, AngularComponentsModule],\n selector: 'rolatech-account-email-verification',\n templateUrl: './email-verification.component.html',\n styleUrls: ['./email-verification.component.scss'],\n})\nexport class EmailVerificationComponent extends BaseComponent implements OnInit {\n ngOnInit(): void {\n this.show();\n }\n show() {\n const options = {\n title: '确认删除吗',\n message: 'CONFIRM.DOWNLOAD.JOB.MESSAGE',\n cancelText: 'Cancel',\n confirmText: '确认',\n };\n this.dialogService.open(options);\n this.dialogService.confirmed().subscribe((confirmed) => {});\n }\n}\n","<div class=\"p-3\">Email verification</div>\n"],"names":[],"mappings":";;;;;AAUM,MAAO,0BAA2B,SAAQ,aAAa,CAAA;IAC3D,QAAQ,GAAA;QACN,IAAI,CAAC,IAAI,EAAE;IACb;IACA,IAAI,GAAA;AACF,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,OAAO,EAAE,8BAA8B;AACvC,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,WAAW,EAAE,IAAI;SAClB;AACD,QAAA,IAAI,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