simpo-component-library 1.7.9 → 1.7.92
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -5
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +10 -61
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +4 -6
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -5
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +20 -69
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +1 -2
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +4 -27
- package/lib/ecommerce/sections/cart/cart.component.d.ts +1 -2
- package/lib/sections/navbar-section/navbar-section.component.d.ts +1 -2
- package/package.json +1 -1
- package/simpo-component-library-1.7.92.tgz +0 -0
- package/simpo-component-library-1.7.9.tgz +0 -0
@@ -20,7 +20,6 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
20
20
|
matDialogRef: MatDialogRef<AddressComponent>;
|
21
21
|
responseData: any;
|
22
22
|
data: any;
|
23
|
-
loginData: any;
|
24
23
|
index?: number;
|
25
24
|
customClass?: string;
|
26
25
|
edit?: boolean;
|
@@ -65,5 +64,5 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
65
64
|
get isEmailValid(): boolean;
|
66
65
|
get isMobile(): boolean;
|
67
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
69
68
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -4,32 +4,15 @@ import { MessageService } from 'primeng/api';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
5
5
|
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
6
6
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
7
|
-
import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
|
8
|
-
import { ActionModel } from "../../../styles/style.model";
|
9
|
-
import BaseSection from '../../../sections/BaseSection';
|
10
7
|
import * as i0 from "@angular/core";
|
11
|
-
|
12
|
-
id: string;
|
13
|
-
styles: AuthenticateStyleModel;
|
14
|
-
action: ActionModel;
|
15
|
-
type: 'STATIC' | 'E_COMMERCE';
|
16
|
-
}
|
17
|
-
interface AuthenticateStyleModel {
|
18
|
-
background: BackgroundModel;
|
19
|
-
}
|
20
|
-
export declare class AuthenticationRequiredComponent extends BaseSection {
|
8
|
+
export declare class AuthenticationRequiredComponent {
|
21
9
|
private readonly restService;
|
22
10
|
private readonly router;
|
23
11
|
private readonly messageService;
|
24
12
|
private readonly storageService;
|
25
13
|
private readonly matDialog;
|
26
|
-
private dialogData;
|
27
14
|
private readonly dialogRef;
|
28
15
|
private readonly bottomsheetRef;
|
29
|
-
data?: AuthenticateSectionModel;
|
30
|
-
index?: number;
|
31
|
-
edit?: boolean;
|
32
|
-
delete?: boolean;
|
33
16
|
private mobileTimer;
|
34
17
|
email: string;
|
35
18
|
mobile: string;
|
@@ -46,11 +29,8 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
46
29
|
type: string;
|
47
30
|
active: boolean;
|
48
31
|
}[];
|
49
|
-
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog,
|
32
|
+
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
|
50
33
|
loginType: "PASSWORD" | "OTP";
|
51
|
-
loginButton?: ButtonModel;
|
52
|
-
signUpButton?: ButtonModel;
|
53
|
-
ngOnInit(): void;
|
54
34
|
close(): void;
|
55
35
|
login(): void;
|
56
36
|
verifyPassword(): void;
|
@@ -67,9 +47,6 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
67
47
|
get isEmailValid(): boolean;
|
68
48
|
get isPasswordValid(): boolean;
|
69
49
|
get isMobile(): boolean;
|
70
|
-
|
71
|
-
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, {}, {}, never, never, true, never>;
|
74
52
|
}
|
75
|
-
export {};
|
@@ -34,7 +34,6 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
34
34
|
matDialogData: any;
|
35
35
|
dialogRef: MatDialogRef<CartComponent>;
|
36
36
|
data?: CartSectionModal;
|
37
|
-
loginData: any;
|
38
37
|
responseData?: any;
|
39
38
|
index?: number;
|
40
39
|
edit?: boolean;
|
@@ -78,6 +77,6 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
78
77
|
get isMobile(): boolean;
|
79
78
|
get currency(): string;
|
80
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", never, { "data": { "alias": "data"; "required": false; }; "
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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; }; }, {}, never, never, true, never>;
|
82
81
|
}
|
83
82
|
export {};
|
@@ -18,7 +18,6 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
18
18
|
private readonly cookieService;
|
19
19
|
private readonly storageService;
|
20
20
|
data?: HeaderSectionModel;
|
21
|
-
loginData: any;
|
22
21
|
nextComponent: any;
|
23
22
|
index?: number;
|
24
23
|
customClass?: string;
|
@@ -68,5 +67,5 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
68
67
|
getValues(object: any): unknown[];
|
69
68
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
70
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
72
71
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|