simpo-component-library 1.7.8 → 1.7.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. package/esm2022/lib/directive/image-directive.directive.mjs +5 -3
  2. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -5
  3. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +10 -61
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +4 -6
  5. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  6. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  7. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -1
  8. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  9. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  10. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  11. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -6
  12. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  13. package/esm2022/lib/services/rest.service.mjs +3 -3
  14. package/fesm2022/simpo-component-library.mjs +36 -81
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/ecommerce/sections/address/address.component.d.ts +1 -2
  17. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +4 -27
  18. package/lib/ecommerce/sections/cart/cart.component.d.ts +1 -2
  19. package/lib/sections/navbar-section/navbar-section.component.d.ts +1 -2
  20. package/package.json +1 -1
  21. package/simpo-component-library-1.7.91.tgz +0 -0
  22. package/simpo-component-library-1.7.8.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; }; "loginData": { "alias": "loginData"; "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>;
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
  }
@@ -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
- interface AuthenticateSectionModel {
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, dialogData: any, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
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
- getBgColor(): string;
71
- adjustColor(color: string, percent: number): string;
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; }; "loginData": { "alias": "loginData"; "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>;
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; }; "loginData": { "alias": "loginData"; "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>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.7.8",
3
+ "version": "1.7.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file