simpo-component-library 3.6.802 → 3.6.803

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.
@@ -27,12 +27,16 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
27
27
  styles?: AuthenticationStylesModel;
28
28
  button?: ButtonModel;
29
29
  buttonId: string;
30
- currentPage: 'LOGIN' | 'SIGNUP' | 'FORGOT_PASSWORD';
30
+ authScreen: 'PHONE' | 'OTP' | 'REGISTER' | 'PASSWORD';
31
31
  private mobileTimer;
32
32
  email: string;
33
33
  mobile: string;
34
+ phoneNumber: string;
34
35
  otp: string;
35
36
  otpControls: FormArray<FormControl<string | null>>;
37
+ resendCountdown: number;
38
+ private resendInterval;
39
+ isExistingUser: boolean;
36
40
  password: string;
37
41
  confPassword: string;
38
42
  userName: string;
@@ -51,9 +55,22 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
51
55
  proceedToEnrollment: boolean;
52
56
  tryAtHome: boolean;
53
57
  navigateToSchemeDetails: boolean;
58
+ currentPage: string;
54
59
  inputs: QueryList<ElementRef>;
55
60
  ngOnInit(): void;
56
61
  ngAfterViewInit(): void;
62
+ /** Sets --accent-rgb CSS variable so animated circles match the user's brand color */
63
+ private setAccentRgbVar;
64
+ get canGoBack(): boolean;
65
+ goBack(): void;
66
+ closeAuth(): void;
67
+ formatCountdown(secs: number): string;
68
+ startResendTimer(seconds?: number): void;
69
+ sendOTP(): void;
70
+ resendOTPNew(): void;
71
+ verifyOTPNew(): void;
72
+ registerUser(): void;
73
+ loginWithPassword(): void;
57
74
  onInput(index: number): void;
58
75
  onKeyDown(event: KeyboardEvent, index: number): void;
59
76
  getGradientDirection(direction: string | undefined): string;
@@ -62,13 +79,8 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
62
79
  getFormOtp(): string;
63
80
  loginType: "PASSWORD" | "OTP";
64
81
  generateOtp: boolean;
65
- loginAuthentication(loginType: "PASSWORD" | "OTP"): void;
66
82
  generatedOtp: any;
67
83
  oneTimePassword: string;
68
- otpPayload: any;
69
- getOTP(): void;
70
- regenerateOtp(payload: any): void;
71
- resendOtp(): void;
72
84
  close(): void;
73
85
  login(): void;
74
86
  endUserRefferalDetails(userId: any, referralUniqueId: any): void;
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
40
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
43
43
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
39
39
  }
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
24
24
  idx: number;
25
25
  getImageData(): import("../../styles/style.model").Image | undefined;
26
26
  getImageUrl(): string | undefined;
27
- getImageType(): "Video" | "Image";
27
+ getImageType(): "Image" | "Video";
28
28
  getLength(): number;
29
29
  editSection(): void;
30
30
  stopPropagation(event: any): void;
@@ -141,6 +141,14 @@ export declare class RestService implements OnDestroy {
141
141
  createLead(payload: any): Observable<Object>;
142
142
  getAppointmentPaymentStatus(orderId: any): Observable<Object>;
143
143
  getOtpForLogin(payload: any): Observable<Object>;
144
+ /** New OTP API: PUT /ecommerce/user/auth/send-otp
145
+ * Body: { identifier, businessId }
146
+ * Response: { data: { isExistingUser: boolean, message: string } }
147
+ */
148
+ sendOtpV2(identifier: string, businessId: string): Observable<Object>;
149
+ verifyOtpV2(payload: any): Observable<Object>;
150
+ completeSignupV2(payload: any): Observable<Object>;
151
+ loginWithPasswordNew(payload: any): Observable<Object>;
144
152
  flush(eventsToSend: any): void;
145
153
  getPopularSearches(): Observable<Object>;
146
154
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.802",
3
+ "version": "3.6.803",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file