simpo-component-library 1.4.76 → 1.4.78

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.
@@ -4,7 +4,18 @@ import { RestService } from '../../../services/rest.service';
4
4
  import { Router } from '@angular/router';
5
5
  import { StorageServiceService } from '../../../services/storage.service';
6
6
  import { EventsService } from '../../../services/events.service';
7
+ import { InputTextModel, StylesModel } from '../../../styles/style.model';
8
+ import { ActionModel } from "../../../styles/style.model";
7
9
  import * as i0 from "@angular/core";
10
+ interface AuthenticateSectionModel {
11
+ content: AuthenticateContentModel;
12
+ styles: StylesModel;
13
+ action: ActionModel;
14
+ type: 'STATIC' | 'E_COMMERCE';
15
+ }
16
+ interface AuthenticateContentModel {
17
+ siteName: InputTextModel;
18
+ }
8
19
  export declare class AuthenticateUserComponent implements OnInit {
9
20
  matData: any;
10
21
  private readonly restService;
@@ -13,8 +24,7 @@ export declare class AuthenticateUserComponent implements OnInit {
13
24
  private readonly storageService;
14
25
  private readonly dialogRef;
15
26
  private readonly _eventService;
16
- data?: any;
17
- responseData?: any;
27
+ data?: AuthenticateSectionModel;
18
28
  isLoading: boolean;
19
29
  otpString: string;
20
30
  screen: 'LOGIN' | 'OTP';
@@ -31,5 +41,6 @@ export declare class AuthenticateUserComponent implements OnInit {
31
41
  resendOTP(): void;
32
42
  get isMobile(): boolean;
33
43
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, null, null, null, { optional: true; }, null]>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; }, {}, never, never, true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
35
45
  }
46
+ export {};
@@ -58,6 +58,8 @@ export declare class ProductListComponent extends BaseSection {
58
58
  applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
59
59
  navigateFilter(sorting: string): void;
60
60
  filterItemList(): void;
61
+ openFilter(): void;
62
+ openSorting(): void;
61
63
  get getTotalPage(): number;
62
64
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
63
65
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", 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>;
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { EventsService } from '.././../../services/events.service';
3
- import { ProfileContentModal, ProfileStylesModal, ResponseData, Tabs } from './user-profile.modal';
3
+ import { ProfileContentModal, ProfileStylesModal, Tabs, UserProfileModal } from './user-profile.modal';
4
4
  import { OrderItem } from '../../styles/order.modal';
5
5
  import { Router } from '@angular/router';
6
6
  import { RestService } from "../../../services/rest.service";
@@ -15,8 +15,7 @@ export declare class UserProfileComponent implements OnInit {
15
15
  private readonly storageService;
16
16
  private readonly matDialog;
17
17
  constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog);
18
- responseData?: ResponseData;
19
- data?: any;
18
+ data?: UserProfileModal;
20
19
  index?: number;
21
20
  edit?: boolean;
22
21
  delete?: boolean;
@@ -40,6 +39,9 @@ export declare class UserProfileComponent implements OnInit {
40
39
  goToOrderDetails(order: any): void;
41
40
  addNewAddress(): void;
42
41
  goToHome(): void;
42
+ editAddress(index: number): void;
43
+ deleteAddress(index: number): void;
44
+ private saveProfile;
43
45
  selectTab(tab: Tabs): void;
44
46
  toggleSidepanelTab(tab: Tabs): void;
45
47
  get getUserDetails(): User | null;
@@ -49,5 +51,5 @@ export declare class UserProfileComponent implements OnInit {
49
51
  private getComplementColor;
50
52
  private convertHEX;
51
53
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
52
- 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>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", 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>;
53
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.76",
3
+ "version": "1.4.78",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file
Binary file