@rxap/ngx-material-authentication 16.0.1-dev.0
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.
- package/CHANGELOG.md +8 -0
- package/LICENSE +621 -0
- package/LICENSE.md +621 -0
- package/README.md +21 -0
- package/esm2022/index.mjs +22 -0
- package/esm2022/lib/authentication-container/authentication-container.component.mjs +14 -0
- package/esm2022/lib/fade-animation.mjs +14 -0
- package/esm2022/lib/loading/loading.component.mjs +39 -0
- package/esm2022/lib/login/login.component.mjs +113 -0
- package/esm2022/lib/login/login.form.mjs +113 -0
- package/esm2022/lib/login/request-reset-password.method.mjs +14 -0
- package/esm2022/lib/login/sign-in-with-email-and-password.method.mjs +14 -0
- package/esm2022/lib/reset-password/reset-password.component.mjs +60 -0
- package/esm2022/lib/reset-password/reset-password.form.mjs +121 -0
- package/esm2022/lib/reset-password/set-new-password-with-reset-token.method.mjs +14 -0
- package/esm2022/lib/routes.mjs +36 -0
- package/esm2022/rxap-ngx-material-authentication.mjs +5 -0
- package/fesm2022/rxap-ngx-material-authentication.mjs +498 -0
- package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -0
- package/index.d.ts +11 -0
- package/lib/authentication-container/authentication-container.component.d.ts +5 -0
- package/lib/fade-animation.d.ts +1 -0
- package/lib/loading/loading.component.d.ts +15 -0
- package/lib/login/login.component.d.ts +14 -0
- package/lib/login/login.form.d.ts +43 -0
- package/lib/login/request-reset-password.method.d.ts +10 -0
- package/lib/login/sign-in-with-email-and-password.method.d.ts +12 -0
- package/lib/reset-password/reset-password.component.d.ts +5 -0
- package/lib/reset-password/reset-password.form.d.ts +35 -0
- package/lib/reset-password/set-new-password-with-reset-token.method.d.ts +11 -0
- package/lib/routes.d.ts +2 -0
- package/package.json +66 -0
- package/theme.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rxap-ngx-material-authentication.mjs","sources":["../../../../../../packages/angular/material/authentication/src/lib/fade-animation.ts","../../../../../../packages/angular/material/authentication/src/lib/reset-password/set-new-password-with-reset-token.method.ts","../../../../../../packages/angular/material/authentication/src/lib/reset-password/reset-password.form.ts","../../../../../../packages/angular/material/authentication/src/lib/reset-password/reset-password.component.ts","../../../../../../packages/angular/material/authentication/src/lib/reset-password/reset-password.component.html","../../../../../../packages/angular/material/authentication/src/lib/login/sign-in-with-email-and-password.method.ts","../../../../../../packages/angular/material/authentication/src/lib/login/login.form.ts","../../../../../../packages/angular/material/authentication/src/lib/login/request-reset-password.method.ts","../../../../../../packages/angular/material/authentication/src/lib/login/login.component.ts","../../../../../../packages/angular/material/authentication/src/lib/login/login.component.html","../../../../../../packages/angular/material/authentication/src/lib/loading/loading.component.ts","../../../../../../packages/angular/material/authentication/src/lib/loading/loading.component.html","../../../../../../packages/angular/material/authentication/src/lib/authentication-container/authentication-container.component.ts","../../../../../../packages/angular/material/authentication/src/lib/authentication-container/authentication-container.component.html","../../../../../../packages/angular/material/authentication/src/lib/routes.ts","../../../../../../packages/angular/material/authentication/src/index.ts","../../../../../../packages/angular/material/authentication/src/rxap-ngx-material-authentication.ts"],"sourcesContent":["// the fade-in/fade-out animation.\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const fadeAnimation = trigger('fadeAnimation', [\n\n // the \"in\" style determines the \"resting\" state of the element when it is visible.\n state('in', style({ opacity: 1 })),\n\n // fade in when created. this could also be written as transition('void => *')\n transition(':enter', [\n style({ opacity: 0 }),\n animate(300),\n ]),\n\n // fade out when destroyed. this could also be written as transition('void => *')\n transition(\n ':leave',\n animate(300, style({ opacity: 0 })),\n ),\n]);\n","import { Injectable } from '@angular/core';\nimport { Method } from '@rxap/pattern';\n\nexport interface SetNewPasswordWithResetTokenMethodParameters {\n password: string;\n token: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class SetNewPasswordWithResetTokenMethod implements Method {\n\n public call(parameters: SetNewPasswordWithResetTokenMethodParameters): Promise<void> {\n throw new Error('Method not implemented.');\n }\n\n}\n","import {\n Inject,\n Injectable,\n INJECTOR,\n Injector,\n Provider,\n} from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport {\n ActivatedRoute,\n Router,\n} from '@angular/router';\nimport {\n ControlSetValue,\n ControlValidator,\n FormSubmitMethod,\n FormType,\n RXAP_FORM_DEFINITION,\n RXAP_FORM_DEFINITION_BUILDER,\n RXAP_FORM_SUBMIT_METHOD,\n RxapForm,\n RxapFormBuilder,\n RxapFormControl,\n RxapFormGroup,\n UseFormControl,\n} from '@rxap/forms';\nimport { firstValueFrom } from 'rxjs';\nimport {\n map,\n switchMap,\n take,\n tap,\n} from 'rxjs/operators';\nimport { SetNewPasswordWithResetTokenMethod } from './set-new-password-with-reset-token.method';\n\nexport const RXAP_RESET_PASSWORD_FORM = 'rxap-reset-password';\n\n@Injectable()\nexport class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {\n constructor(\n @Inject(ActivatedRoute)\n private readonly route: ActivatedRoute,\n private readonly setNewPasswordWithResetTokenMethod: SetNewPasswordWithResetTokenMethod,\n @Inject(MatSnackBar)\n private readonly snackBar: MatSnackBar,\n @Inject(Router)\n private readonly router: Router,\n ) {\n }\n\n public call(value: { password: string }): boolean | Promise<boolean> {\n return firstValueFrom(this.route.params\n .pipe(\n take(1),\n map((params) => params['token']),\n switchMap((token) =>\n this.setNewPasswordWithResetTokenMethod.call({\n password: value.password,\n token,\n }),\n ),\n tap(\n {\n error: () => {\n this.snackBar.open('Password reset failed.', undefined, {\n duration: 3500,\n });\n },\n next: () => {\n this.snackBar.open('Password reset was successful.', undefined, {\n duration: 3500,\n });\n return this.router.navigate([ '/' ]);\n },\n },\n ),\n map(() => true),\n ));\n }\n}\n\nexport interface IResetPasswordForm {\n password: string;\n passwordRepeat: string;\n}\n\n@RxapForm({\n id: RXAP_RESET_PASSWORD_FORM,\n})\n@Injectable()\nexport class ResetPasswordForm implements FormType<IResetPasswordForm> {\n public rxapFormGroup!: RxapFormGroup;\n\n @UseFormControl({\n validators: [ Validators.required ],\n })\n public password!: RxapFormControl;\n\n @UseFormControl({\n validators: [ Validators.required ],\n })\n public passwordRepeat!: RxapFormControl;\n\n @ControlValidator('passwordRepeat')\n public passwordEqual(control: RxapFormControl) {\n if (this.password.value === null || control.value === null) {\n return null;\n }\n if (this.password.value !== control.value) {\n return { equal: 'passwords are not equal' };\n }\n return null;\n }\n\n @ControlSetValue('password')\n public resetRepeat() {\n this.passwordRepeat.reset();\n }\n}\n\nexport const ResetPasswordFormProviders: Provider[] = [\n ResetPasswordForm,\n {\n provide: RXAP_FORM_DEFINITION_BUILDER,\n useFactory: (injector: Injector) =>\n new RxapFormBuilder<IResetPasswordForm>(ResetPasswordForm, injector),\n deps: [ INJECTOR ],\n },\n {\n provide: RXAP_FORM_DEFINITION,\n useFactory: (builder: RxapFormBuilder<IResetPasswordForm>) =>\n builder.build(),\n deps: [ RXAP_FORM_DEFINITION_BUILDER ],\n },\n {\n provide: RXAP_FORM_SUBMIT_METHOD,\n useClass: ResetPasswordFormSubmitMethod,\n },\n];\n","import { NgIf } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport {\n ErrorStateMatcher,\n ShowOnDirtyErrorStateMatcher,\n} from '@angular/material/core';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport {\n FormControlMarkDirtyDirective,\n FormDirective,\n FormSubmitFailedDirective,\n FormSubmittingDirective,\n} from '@rxap/forms';\nimport { ControlErrorDirective } from '@rxap/material-form-system';\nimport { fadeAnimation } from '../fade-animation';\nimport { ResetPasswordFormProviders } from './reset-password.form';\n\n@Component({\n selector: 'rxap-reset-password',\n templateUrl: './reset-password.component.html',\n styleUrls: [ './reset-password.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n ResetPasswordFormProviders,\n {\n provide: ErrorStateMatcher,\n useClass: ShowOnDirtyErrorStateMatcher,\n },\n ],\n animations: [\n fadeAnimation,\n ],\n standalone: true,\n imports: [\n ReactiveFormsModule,\n FormDirective,\n MatIconModule,\n MatFormFieldModule,\n MatInputModule,\n NgIf,\n MatButtonModule,\n FormControlMarkDirtyDirective,\n FormSubmitFailedDirective,\n FormSubmittingDirective,\n MatProgressBarModule,\n MatSnackBarModule,\n ControlErrorDirective,\n ],\n})\nexport class ResetPasswordComponent {\n}\n","<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col items-center justify-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header grow-0 flex flex-col items-center justify-center\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">vpn_key</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-4\">\n\n <div class=\"flex flex-col\">\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>New password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'text'\" *ngIf=\"passwordInput.type === 'password'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordInput.type = 'password'\" *ngIf=\"passwordInput.type === 'text'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Repeat password</mat-label>\n <input #passwordRepeatInput\n formControlName=\"passwordRepeat\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password again\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key 'equal'\">\n Entered password are <strong>not equal</strong>\n </mat-error>\n <button (click)=\"passwordRepeatInput.type = 'text'\"\n *ngIf=\"passwordRepeatInput.type === 'password'\"\n mat-icon-button\n matSuffix\n tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordRepeatInput.type = 'password'\"\n *ngIf=\"passwordRepeatInput.type === 'text'\"\n mat-icon-button\n matSuffix\n tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">\n <ng-container i18n>Reset password</ng-container>\n </button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" class=\"flex flex-row items-center justify-center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n\n</form>\n","import { Injectable } from '@angular/core';\nimport { Method } from '@rxap/pattern';\n\nexport interface SignInWithEmailAndPasswordMethodParameters {\n email: string;\n password: string;\n remember?: boolean;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class SignInWithEmailAndPasswordMethod implements Method {\n\n call(parameters: SignInWithEmailAndPasswordMethodParameters): Promise<void> {\n throw new Error('Method not implemented.');\n }\n\n}\n","import {\n Inject,\n Injectable,\n INJECTOR,\n Injector,\n Provider,\n} from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { ConfigService } from '@rxap/config';\nimport {\n FormSubmitMethod,\n FormSubmitSuccessfulMethod,\n FormType,\n RXAP_FORM_DEFINITION,\n RXAP_FORM_DEFINITION_BUILDER,\n RXAP_FORM_SUBMIT_METHOD,\n RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD,\n RxapForm,\n RxapFormBuilder,\n RxapFormControl,\n RxapFormGroup,\n UseFormControl,\n} from '@rxap/forms';\nimport { RxapOnInit } from '@rxap/utilities';\nimport { SignInWithEmailAndPasswordMethod } from './sign-in-with-email-and-password.method';\n\nexport interface ILoginForm {\n email: string;\n password: string;\n}\n\n@RxapForm({\n id: 'rxap-login',\n}) @Injectable()\nexport class LoginForm implements FormType<ILoginForm>, RxapOnInit {\n public rxapFormGroup!: RxapFormGroup;\n\n public loading = true;\n public loginFailed = false;\n\n @UseFormControl({\n validators: [ Validators.required, Validators.email ],\n })\n public email!: RxapFormControl<string>;\n\n @UseFormControl({\n validators: [ Validators.required ],\n })\n public password!: RxapFormControl;\n\n @UseFormControl({\n state: true,\n })\n public remember!: RxapFormControl;\n\n constructor(public readonly config: ConfigService<any>) {\n }\n\n public rxapOnInit() {\n const email = this.config.get<string>('authentication.default.email');\n if (email) {\n this.email.setValue(email);\n }\n const password = this.config.get<string>('authentication.default.password');\n if (password) {\n this.password.setValue(password);\n }\n }\n}\n\n@Injectable()\nexport class LoginFormSubmitMethod implements FormSubmitMethod<any> {\n constructor(private readonly signInWithEmailAndPasswordMethod: SignInWithEmailAndPasswordMethod) {\n }\n\n public call(value: {\n email: string;\n password: string;\n remember: boolean;\n }): Promise<any> {\n return this.signInWithEmailAndPasswordMethod.call({\n email: value.email,\n password: value.password,\n remember: value.remember,\n });\n }\n}\n\n@Injectable()\nexport class LoginFormSubmitSuccessful\n implements FormSubmitSuccessfulMethod<any> {\n constructor(\n @Inject(Router)\n private readonly router: Router,\n ) {\n }\n\n public call(): Promise<any> {\n console.debug('Login was successful. Navigate to application root');\n return this.router.navigate([ '/' ]);\n }\n}\n\nexport const LoginFormProviders: Provider[] = [\n LoginForm,\n {\n provide: RXAP_FORM_DEFINITION_BUILDER,\n useFactory: (injector: Injector) =>\n new RxapFormBuilder<ILoginForm>(LoginForm, injector),\n deps: [ INJECTOR ],\n },\n {\n provide: RXAP_FORM_DEFINITION,\n useFactory: (builder: RxapFormBuilder) => builder.build(),\n deps: [ RXAP_FORM_DEFINITION_BUILDER ],\n },\n {\n provide: RXAP_FORM_SUBMIT_METHOD,\n useClass: LoginFormSubmitMethod,\n },\n {\n provide: RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD,\n useClass: LoginFormSubmitSuccessful,\n },\n];\n","import { Injectable } from '@angular/core';\nimport { Method } from '@rxap/pattern';\n\nexport interface RequestResetPasswordMethodParameters {\n email: string;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class RequestResetPasswordMethod implements Method {\n\n call(parameters: RequestResetPasswordMethodParameters): any {\n throw new Error('Method not implemented.');\n }\n\n}\n","import {\n AsyncPipe,\n NgIf,\n} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Inject,\n} from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport {\n ErrorStateMatcher,\n ShowOnDirtyErrorStateMatcher,\n} from '@angular/material/core';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport {\n MatSnackBar,\n MatSnackBarModule,\n} from '@angular/material/snack-bar';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { RxapAuthenticationService } from '@rxap/authentication';\nimport {\n FormControlMarkDirtyDirective,\n FormDirective,\n FormSubmitFailedDirective,\n FormSubmittingDirective,\n} from '@rxap/forms';\nimport { ControlErrorDirective } from '@rxap/material-form-system';\nimport { ToggleSubject } from '@rxap/rxjs';\nimport { fadeAnimation } from '../fade-animation';\nimport { LoginFormProviders } from './login.form';\nimport { RequestResetPasswordMethod } from './request-reset-password.method';\n\n@Component({\n selector: 'rxap-login',\n templateUrl: './login.component.html',\n styleUrls: [ './login.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n LoginFormProviders,\n {\n provide: ErrorStateMatcher,\n useClass: ShowOnDirtyErrorStateMatcher,\n },\n ],\n animations: [\n fadeAnimation,\n ],\n standalone: true,\n imports: [\n ReactiveFormsModule,\n FormDirective,\n MatIconModule,\n MatFormFieldModule,\n MatInputModule,\n NgIf,\n MatButtonModule,\n MatCheckboxModule,\n MatTooltipModule,\n MatProgressSpinnerModule,\n FormControlMarkDirtyDirective,\n FormSubmitFailedDirective,\n FormSubmittingDirective,\n MatProgressBarModule,\n AsyncPipe,\n MatSnackBarModule,\n ControlErrorDirective,\n ],\n})\nexport class LoginComponent {\n\n public readonly requestingPasswordReset$ = new ToggleSubject();\n\n private readonly requestPasswordResetMethod = inject(RequestResetPasswordMethod);\n\n constructor(\n @Inject(RxapAuthenticationService)\n private readonly authentication: RxapAuthenticationService,\n @Inject(MatSnackBar)\n private readonly snackBar: MatSnackBar,\n ) {\n }\n\n public async requestPasswordReset(email: string) {\n this.requestingPasswordReset$.enable();\n try {\n const result = await this.requestPasswordResetMethod.call({ email });\n\n if (!result) {\n this.snackBar.open(\n 'The password reset request result is falsy',\n undefined,\n {\n duration: 5000,\n panelClass: 'error',\n },\n );\n } else {\n this.snackBar.open(\n 'The password reset request was successful',\n undefined,\n {\n duration: 3000,\n },\n );\n }\n\n } catch (e: any) {\n this.snackBar.open(\n e.message,\n undefined,\n {\n duration: 3000,\n panelClass: 'error',\n },\n );\n } finally {\n this.requestingPasswordReset$.disable();\n }\n\n }\n}\n","<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col justify-center items-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header flex flex-col items-center justify-center grow-0\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-8\">\n\n <div class=\"flex flex-col\">\n\n <mat-form-field class=\"email-input\">\n <mat-icon inline matPrefix>email</mat-icon>\n <mat-label i18n>Email</mat-label>\n <input formControlName=\"email\"\n i18n-placeholder\n matInput\n name=\"email\"\n placeholder=\"Enter your email address\"\n type=\"email\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key 'email'\">\n Please enter a valid email address\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n i18n-placeholder\n matInput\n name=\"password\"\n placeholder=\"Enter your password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'test'\" *ngIf=\"passwordInput.type === 'password'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordInput.type = 'password'\" *ngIf=\"passwordInput.type === 'text'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"sub-controls flex flex-row flex-wrap justify-between items-center gap-4\">\n\n <mat-checkbox class=\"remember-input grow-0\" formControlName=\"remember\">Remember me</mat-checkbox>\n\n <div [matTooltipDisabled]=\"form.control.controls['email'].valid\"\n class=\"grow-0\"\n matTooltip=\"Please enter a valid email address\"\n matTooltipPosition=\"above\">\n <button (click)=\"requestPasswordReset(form.value.email)\"\n [disabled]=\"!form.value.email || form.control.controls['email'].hasError('email')\"\n color=\"accent\"\n mat-button\n type=\"button\">\n <span class=\"flex flex-row justify-between items-center gap-2\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" [diameter]=\"15\"\n mode=\"indeterminate\"></mat-progress-spinner>\n <span class=\"grow-0\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div class=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">Login</button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" class=\"flex flex-row justify-center items-center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n\n</form>\n","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { Router } from '@angular/router';\nimport { RxapAuthenticationService } from '@rxap/authentication';\nimport { Subscription } from 'rxjs';\nimport {\n filter,\n tap,\n} from 'rxjs/operators';\n\n@Component({\n selector: 'rxap-auth-loading',\n templateUrl: './loading.component.html',\n styleUrls: [ './loading.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ MatProgressBarModule ],\n})\nexport class LoadingComponent implements OnInit, OnDestroy {\n public subscription?: Subscription;\n\n constructor(\n @Inject(RxapAuthenticationService)\n public readonly authentication: RxapAuthenticationService,\n @Inject(Router)\n public readonly router: Router,\n ) {\n }\n\n public ngOnInit(): void {\n // TODO : remove the concept of isAuthenticated$\n if (this.authentication.isAuthenticated$) {\n this.subscription = this.authentication.isAuthenticated$\n .pipe(\n filter((isAuthenticated) => isAuthenticated !== null),\n tap(() => this.router.navigate([ '/', 'authentication', 'login' ])),\n )\n .subscribe();\n }\n }\n\n public ngOnDestroy(): void {\n this.subscription?.unsubscribe();\n }\n}\n","<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n","import { Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'rxap-authentication-container',\n templateUrl: './authentication-container.component.html',\n styleUrls: [ './authentication-container.component.scss' ],\n standalone: true,\n imports: [\n RouterOutlet,\n ],\n})\nexport class AuthenticationContainerComponent {\n\n}\n","<div class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet></router-outlet>\n <ng-content></ng-content>\n\n</div>\n","import { Routes } from '@angular/router';\nimport { RxapAuthenticationGuard } from '@rxap/authentication';\nimport { AuthenticationContainerComponent } from './authentication-container/authentication-container.component';\nimport { LoadingComponent } from './loading/loading.component';\nimport { LoginComponent } from './login/login.component';\nimport { ResetPasswordComponent } from './reset-password/reset-password.component';\n\nexport const AUTHENTICATION_ROUTE: Routes = [\n {\n path: '',\n component: AuthenticationContainerComponent,\n children: [\n {\n canActivate: [ RxapAuthenticationGuard ],\n path: 'login',\n component: LoginComponent,\n },\n {\n canActivate: [ RxapAuthenticationGuard ],\n path: 'reset-password/:token',\n component: ResetPasswordComponent,\n },\n {\n path: 'loading',\n component: LoadingComponent,\n },\n {\n path: '**',\n redirectTo: 'login',\n },\n ],\n },\n {\n path: '**',\n redirectTo: '',\n },\n];\n","// region reset-password\nexport * from './lib/reset-password/reset-password.component';\nexport * from './lib/reset-password/reset-password.form';\nexport * from './lib/reset-password/set-new-password-with-reset-token.method';\n// endregion\n\n// region login\nexport * from './lib/login/login.component';\nexport * from './lib/login/login.form';\nexport * from './lib/login/request-reset-password.method';\nexport * from './lib/login/sign-in-with-email-and-password.method';\n// endregion\n\n// region loading\nexport * from './lib/loading/loading.component';\n// endregion\n\n// region authentication-container\nexport * from './lib/authentication-container/authentication-container.component';\n// endregion\n\n// region \nexport * from './lib/fade-animation';\nexport * from './lib/routes';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.SetNewPasswordWithResetTokenMethod","i2","i3","i1","i2.SignIn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AA;AACE,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,UAAU,EAAE,OAAO;AACpB,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,UAAU,EAAE,EAAE;AACf,KAAA;;;ACnCH;AAwBA;;ACxBA;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './lib/reset-password/reset-password.component';
|
|
2
|
+
export * from './lib/reset-password/reset-password.form';
|
|
3
|
+
export * from './lib/reset-password/set-new-password-with-reset-token.method';
|
|
4
|
+
export * from './lib/login/login.component';
|
|
5
|
+
export * from './lib/login/login.form';
|
|
6
|
+
export * from './lib/login/request-reset-password.method';
|
|
7
|
+
export * from './lib/login/sign-in-with-email-and-password.method';
|
|
8
|
+
export * from './lib/loading/loading.component';
|
|
9
|
+
export * from './lib/authentication-container/authentication-container.component';
|
|
10
|
+
export * from './lib/fade-animation';
|
|
11
|
+
export * from './lib/routes';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AuthenticationContainerComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationContainerComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationContainerComponent, "rxap-authentication-container", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const fadeAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LoadingComponent implements OnInit, OnDestroy {
|
|
7
|
+
readonly authentication: RxapAuthenticationService;
|
|
8
|
+
readonly router: Router;
|
|
9
|
+
subscription?: Subscription;
|
|
10
|
+
constructor(authentication: RxapAuthenticationService, router: Router);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "rxap-auth-loading", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
+
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
3
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LoginComponent {
|
|
6
|
+
private readonly authentication;
|
|
7
|
+
private readonly snackBar;
|
|
8
|
+
readonly requestingPasswordReset$: ToggleSubject;
|
|
9
|
+
private readonly requestPasswordResetMethod;
|
|
10
|
+
constructor(authentication: RxapAuthenticationService, snackBar: MatSnackBar);
|
|
11
|
+
requestPasswordReset(email: string): Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "rxap-login", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ConfigService } from '@rxap/config';
|
|
4
|
+
import { FormSubmitMethod, FormSubmitSuccessfulMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
|
|
5
|
+
import { RxapOnInit } from '@rxap/utilities';
|
|
6
|
+
import { SignInWithEmailAndPasswordMethod } from './sign-in-with-email-and-password.method';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface ILoginForm {
|
|
9
|
+
email: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class LoginForm implements FormType<ILoginForm>, RxapOnInit {
|
|
13
|
+
readonly config: ConfigService<any>;
|
|
14
|
+
rxapFormGroup: RxapFormGroup;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
loginFailed: boolean;
|
|
17
|
+
email: RxapFormControl<string>;
|
|
18
|
+
password: RxapFormControl;
|
|
19
|
+
remember: RxapFormControl;
|
|
20
|
+
constructor(config: ConfigService<any>);
|
|
21
|
+
rxapOnInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginForm, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoginForm>;
|
|
24
|
+
}
|
|
25
|
+
export declare class LoginFormSubmitMethod implements FormSubmitMethod<any> {
|
|
26
|
+
private readonly signInWithEmailAndPasswordMethod;
|
|
27
|
+
constructor(signInWithEmailAndPasswordMethod: SignInWithEmailAndPasswordMethod);
|
|
28
|
+
call(value: {
|
|
29
|
+
email: string;
|
|
30
|
+
password: string;
|
|
31
|
+
remember: boolean;
|
|
32
|
+
}): Promise<any>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitMethod, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitMethod>;
|
|
35
|
+
}
|
|
36
|
+
export declare class LoginFormSubmitSuccessful implements FormSubmitSuccessfulMethod<any> {
|
|
37
|
+
private readonly router;
|
|
38
|
+
constructor(router: Router);
|
|
39
|
+
call(): Promise<any>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitSuccessful, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitSuccessful>;
|
|
42
|
+
}
|
|
43
|
+
export declare const LoginFormProviders: Provider[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Method } from '@rxap/pattern';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface RequestResetPasswordMethodParameters {
|
|
4
|
+
email: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class RequestResetPasswordMethod implements Method {
|
|
7
|
+
call(parameters: RequestResetPasswordMethodParameters): any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResetPasswordMethod, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequestResetPasswordMethod>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Method } from '@rxap/pattern';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SignInWithEmailAndPasswordMethodParameters {
|
|
4
|
+
email: string;
|
|
5
|
+
password: string;
|
|
6
|
+
remember?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class SignInWithEmailAndPasswordMethod implements Method {
|
|
9
|
+
call(parameters: SignInWithEmailAndPasswordMethodParameters): Promise<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignInWithEmailAndPasswordMethod, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SignInWithEmailAndPasswordMethod>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ResetPasswordComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "rxap-reset-password", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { FormSubmitMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
|
|
5
|
+
import { SetNewPasswordWithResetTokenMethod } from './set-new-password-with-reset-token.method';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
|
|
8
|
+
export declare class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {
|
|
9
|
+
private readonly route;
|
|
10
|
+
private readonly setNewPasswordWithResetTokenMethod;
|
|
11
|
+
private readonly snackBar;
|
|
12
|
+
private readonly router;
|
|
13
|
+
constructor(route: ActivatedRoute, setNewPasswordWithResetTokenMethod: SetNewPasswordWithResetTokenMethod, snackBar: MatSnackBar, router: Router);
|
|
14
|
+
call(value: {
|
|
15
|
+
password: string;
|
|
16
|
+
}): boolean | Promise<boolean>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordFormSubmitMethod, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordFormSubmitMethod>;
|
|
19
|
+
}
|
|
20
|
+
export interface IResetPasswordForm {
|
|
21
|
+
password: string;
|
|
22
|
+
passwordRepeat: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class ResetPasswordForm implements FormType<IResetPasswordForm> {
|
|
25
|
+
rxapFormGroup: RxapFormGroup;
|
|
26
|
+
password: RxapFormControl;
|
|
27
|
+
passwordRepeat: RxapFormControl;
|
|
28
|
+
passwordEqual(control: RxapFormControl): {
|
|
29
|
+
equal: string;
|
|
30
|
+
} | null;
|
|
31
|
+
resetRepeat(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordForm, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordForm>;
|
|
34
|
+
}
|
|
35
|
+
export declare const ResetPasswordFormProviders: Provider[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Method } from '@rxap/pattern';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SetNewPasswordWithResetTokenMethodParameters {
|
|
4
|
+
password: string;
|
|
5
|
+
token: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class SetNewPasswordWithResetTokenMethod implements Method {
|
|
8
|
+
call(parameters: SetNewPasswordWithResetTokenMethodParameters): Promise<void>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SetNewPasswordWithResetTokenMethod, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SetNewPasswordWithResetTokenMethod>;
|
|
11
|
+
}
|
package/lib/routes.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "16.0.1-dev.0",
|
|
3
|
+
"name": "@rxap/ngx-material-authentication",
|
|
4
|
+
"license": "GPL-3.0-or-later",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"tslib": "^2.3.0"
|
|
7
|
+
},
|
|
8
|
+
"peerDependencies": {
|
|
9
|
+
"@angular/animations": "^16.1.4",
|
|
10
|
+
"@angular/common": "^16.1.4",
|
|
11
|
+
"@angular/core": "^16.1.4",
|
|
12
|
+
"@angular/forms": "^16.1.4",
|
|
13
|
+
"@angular/material": "^16.1.4",
|
|
14
|
+
"@angular/router": "^16.1.4",
|
|
15
|
+
"@rxap/authentication": "*",
|
|
16
|
+
"@rxap/config": "*",
|
|
17
|
+
"@rxap/forms": "*",
|
|
18
|
+
"@rxap/material-form-system": "*",
|
|
19
|
+
"@rxap/pattern": "*",
|
|
20
|
+
"@rxap/rxjs": "*",
|
|
21
|
+
"@rxap/utilities": "*",
|
|
22
|
+
"rxjs": "^7.8.1"
|
|
23
|
+
},
|
|
24
|
+
"author": {
|
|
25
|
+
"name": "Merzough Münker",
|
|
26
|
+
"email": "mmuenker@digitaix.com"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
30
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/material/authentication",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"angular",
|
|
35
|
+
"angular-material-authentication",
|
|
36
|
+
"material",
|
|
37
|
+
"ngx",
|
|
38
|
+
"packages",
|
|
39
|
+
"rxap"
|
|
40
|
+
],
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public",
|
|
43
|
+
"directory": "../../../../dist/packages/angular/material/authentication"
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
48
|
+
"directory": "packages/angular/material/authentication"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"gitHead": "5a14eaf7ebc3011ea44a24d560481234b65ea82f",
|
|
52
|
+
"module": "fesm2022/rxap-ngx-material-authentication.mjs",
|
|
53
|
+
"typings": "index.d.ts",
|
|
54
|
+
"exports": {
|
|
55
|
+
"./package.json": {
|
|
56
|
+
"default": "./package.json"
|
|
57
|
+
},
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./index.d.ts",
|
|
60
|
+
"esm2022": "./esm2022/rxap-ngx-material-authentication.mjs",
|
|
61
|
+
"esm": "./esm2022/rxap-ngx-material-authentication.mjs",
|
|
62
|
+
"default": "./fesm2022/rxap-ngx-material-authentication.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./theme": "./theme.css"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/theme.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.w-full{width:100%}.grow-0{flex-grow:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.p-10{padding:2.5rem}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|