simpo-component-library 1.4.4 → 1.4.6
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/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +25 -15
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +41 -0
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +54 -16
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +106 -30
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +5 -2
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +13 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +11 -1
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.6.tgz +0 -0
- package/simpo-component-library-1.3.15.tgz +0 -0
- package/simpo-component-library-1.4.3.tgz +0 -0
- package/simpo-component-library-1.4.4.tgz +0 -0
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
3
|
import { RestService } from '../../../services/rest.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AuthenticateUserComponent implements OnInit {
|
|
6
|
+
matData: any;
|
|
5
7
|
private readonly restService;
|
|
8
|
+
private readonly dialogRef;
|
|
6
9
|
data?: any;
|
|
7
10
|
responseData?: any;
|
|
8
11
|
otpString: string;
|
|
9
12
|
screen: 'LOGIN' | 'OTP';
|
|
10
13
|
mobile: string | null;
|
|
11
14
|
countryCode: string | null;
|
|
12
|
-
constructor(restService: RestService);
|
|
15
|
+
constructor(matData: any, restService: RestService, dialogRef: MatDialogRef<AuthenticateUserComponent>);
|
|
13
16
|
styles: any;
|
|
14
17
|
ngOnInit(): void;
|
|
15
18
|
move(event: any, idx: number): void;
|
|
@@ -19,6 +22,6 @@ export declare class AuthenticateUserComponent implements OnInit {
|
|
|
19
22
|
verifyOTP(): void;
|
|
20
23
|
resendOTP(): void;
|
|
21
24
|
get isMobile(): boolean;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent,
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, { optional: true; }]>;
|
|
23
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
27
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OrderDetailsComponent implements OnInit {
|
|
4
|
+
responseData?: any;
|
|
5
|
+
data?: any;
|
|
6
|
+
index?: number;
|
|
7
|
+
edit?: boolean;
|
|
8
|
+
delete?: boolean;
|
|
9
|
+
orderTimiline: any;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ResponseData, Tabs } from './user-profile.modal';
|
|
3
2
|
import { UserDetails } from '../../styles/cart.modal';
|
|
3
|
+
import { ResponseData, Tabs } from './user-profile.modal';
|
|
4
4
|
import { OrderItem } from '../../styles/order.modal';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class UserProfileComponent implements OnInit {
|
|
8
|
+
private readonly router;
|
|
9
|
+
constructor(router: Router);
|
|
7
10
|
responseData?: ResponseData;
|
|
8
11
|
data?: any;
|
|
9
12
|
index?: number;
|
|
10
13
|
edit?: boolean;
|
|
11
14
|
delete?: boolean;
|
|
15
|
+
button: any;
|
|
12
16
|
selectedSidePanelTab: string | null;
|
|
13
17
|
userDetails: UserDetails | null;
|
|
18
|
+
addressList: any;
|
|
14
19
|
sidePanelList: Tabs[];
|
|
15
20
|
tabs: Tabs[];
|
|
16
21
|
orderList: OrderItem[];
|
|
17
22
|
ngOnInit(): void;
|
|
23
|
+
goToPanel(panel: any): void;
|
|
24
|
+
goBack(): void;
|
|
25
|
+
goToDetails(order: any): void;
|
|
26
|
+
goToHome(): void;
|
|
18
27
|
selectTab(tab: Tabs): void;
|
|
19
28
|
toggleSidepanelTab(tab: Tabs): void;
|
|
20
29
|
get getUserDetails(): UserDetails | null;
|
|
30
|
+
get isMobile(): boolean;
|
|
21
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
|
22
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
33
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|