valtech-components 4.0.95 → 4.0.97

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.
@@ -0,0 +1,7 @@
1
+ export interface VerifyViewMetadata {
2
+ email: string;
3
+ code: string;
4
+ purpose?: 'email';
5
+ showCard?: boolean;
6
+ redirectOnSuccess?: string;
7
+ }
@@ -0,0 +1,26 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { VerifyViewMetadata } from './types';
3
+ import * as i0 from "@angular/core";
4
+ type VerifyState = 'verifying' | 'success' | 'error';
5
+ export declare class VerifyViewComponent implements OnInit {
6
+ props: VerifyViewMetadata;
7
+ readonly onSuccess: import("@angular/core").OutputEmitterRef<void>;
8
+ private auth;
9
+ private router;
10
+ private i18n;
11
+ readonly state: import("@angular/core").WritableSignal<VerifyState>;
12
+ readonly errorMessage: import("@angular/core").WritableSignal<string>;
13
+ readonly resendSent: import("@angular/core").WritableSignal<boolean>;
14
+ readonly resending: import("@angular/core").WritableSignal<boolean>;
15
+ readonly maskedEmail: () => string;
16
+ constructor();
17
+ ngOnInit(): void;
18
+ t(key: string): string;
19
+ private runVerify;
20
+ onContinue(): void;
21
+ onResend(): Promise<void>;
22
+ private resolveErrorMessage;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<VerifyViewComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<VerifyViewComponent, "val-verify-view", never, { "props": { "alias": "props"; "required": false; }; }, { "onSuccess": "onSuccess"; }, never, never, true, never>;
25
+ }
26
+ export {};
@@ -0,0 +1,2 @@
1
+ import { LanguagesContent } from '../../../services/i18n/types';
2
+ export declare const VERIFY_VIEW_I18N: LanguagesContent;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.95";
5
+ export declare const VERSION = "4.0.97";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.95",
3
+ "version": "4.0.97",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"
package/public-api.d.ts CHANGED
@@ -385,6 +385,8 @@ export * from './lib/services/image';
385
385
  export * from './lib/services/ads';
386
386
  export * from './lib/components/molecules/ad-slot/ad-slot.component';
387
387
  export * from './lib/services/content';
388
+ export * from './lib/components/organisms/verify-view/verify-view.component';
389
+ export * from './lib/components/organisms/verify-view/types';
388
390
  export * from './lib/services/content-platform';
389
391
  export * from './lib/services/feedback';
390
392
  export * from './lib/services/whatsapp';