simpo-component-library 1.4.280 → 1.4.281

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +3 -3
  2. package/esm2022/lib/directive/wrap-containers.directive.mjs +31 -0
  3. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +6 -3
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  5. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +6 -4
  7. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  8. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +14 -5
  9. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  10. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  11. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +50 -23
  13. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  14. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +9 -4
  15. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.model.mjs +1 -1
  16. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  17. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  18. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  19. package/fesm2022/simpo-component-library.mjs +114 -44
  20. package/fesm2022/simpo-component-library.mjs.map +1 -1
  21. package/lib/directive/wrap-containers.directive.d.ts +14 -0
  22. package/lib/ecommerce/sections/address/address.component.d.ts +1 -0
  23. package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +1 -0
  24. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -0
  25. package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +2 -0
  26. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +5 -1
  27. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -0
  28. package/lib/sections/banner-grid-section/banner-grid-section.model.d.ts +1 -0
  29. package/package.json +1 -1
  30. package/simpo-component-library-1.4.281.tgz +0 -0
  31. package/simpo-component-library-1.4.278.tgz +0 -0
  32. package/simpo-component-library-1.4.280.tgz +0 -0
@@ -0,0 +1,14 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { EventsService } from '../services/events.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SimpoWrapComntainer {
5
+ private eventService;
6
+ private el;
7
+ simpoWrapContainer?: "ROW" | "COLUMN";
8
+ constructor(eventService: EventsService, el: ElementRef);
9
+ ngOnChanges(): void;
10
+ ngOnDestroy(): void;
11
+ private wrapContent;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpoWrapComntainer, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoWrapComntainer, "[simpoWrapContainer]", never, { "simpoWrapContainer": { "alias": "simpoWrapContainer"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -45,6 +45,7 @@ export declare class AddressComponent implements OnInit, OnChanges {
45
45
  onLocationSelected(location: any): void;
46
46
  onAutocompleteSelected(result: any): void;
47
47
  addressSelected(index: number): void;
48
+ goToHome(): void;
48
49
  updateAddress(): void;
49
50
  validateMobile(event: KeyboardEvent): void;
50
51
  validateName(event: KeyboardEvent): void;
@@ -28,4 +28,5 @@ export interface FeaturedProductStylesModel extends StylesModel {
28
28
  maximumProduct: number;
29
29
  elementInRow: number;
30
30
  mobileColumn: number;
31
+ direction: "ROW" | "COLUMN";
31
32
  }
@@ -60,11 +60,13 @@ export declare class ProductDescComponent extends BaseSection {
60
60
  getProductByCollection(): void;
61
61
  changeProduct(product: Product): void;
62
62
  getKeyByIdx(property: any, index: number): string;
63
+ isVarientAvailable(): boolean;
63
64
  private getVarientQuantity;
64
65
  private isVarientPresentInWishtlist;
65
66
  get isItemOutOfStock(): boolean;
66
67
  get currency(): string;
67
68
  get isItemLowStock(): boolean;
69
+ get isMobile(): boolean;
68
70
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
69
71
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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; }; }, {}, never, never, true, never>;
70
72
  }
@@ -12,6 +12,8 @@ export interface ProductDescStylesModal {
12
12
  layout: LayOutModel;
13
13
  background: BackgroundModel;
14
14
  animation: AnimationModel;
15
+ maximumProduct: number;
16
+ direction: "ROW" | "COLUMN";
15
17
  }
16
18
  export interface ProductDescContentModal {
17
19
  button: string;
@@ -7,6 +7,7 @@ import { RestService } from "../../../services/rest.service";
7
7
  import { StorageServiceService } from '../../../services/storage.service';
8
8
  import { User } from '../../styles/user.modal';
9
9
  import { MatDialog } from '@angular/material/dialog';
10
+ import { MatBottomSheet } from '@angular/material/bottom-sheet';
10
11
  import { CookieService } from 'ngx-cookie-service';
11
12
  import { MessageService } from 'primeng/api';
12
13
  import { OrderedItems } from '../../styles/OrderedItems.modal';
@@ -19,9 +20,10 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
19
20
  private readonly storageService;
20
21
  private readonly cartService;
21
22
  private readonly matDialog;
23
+ private readonly matBottomSheet;
22
24
  private readonly cookieService;
23
25
  private readonly messageService;
24
- constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, cookieService: CookieService, messageService: MessageService);
26
+ constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService);
25
27
  data?: UserProfileModal;
26
28
  index?: number;
27
29
  edit?: boolean;
@@ -54,6 +56,8 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
54
56
  goToHome(): void;
55
57
  editAddress(index: number): void;
56
58
  deleteAddress(index: number): void;
59
+ screenWidth: number;
60
+ getScreenSize(event?: any): void;
57
61
  editProfile(): void;
58
62
  logout(): void;
59
63
  private saveProfile;
@@ -15,6 +15,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
15
15
  constructor(_eventService: EventsService);
16
16
  ngOnInit(): void;
17
17
  get canMergeNavbar(): boolean | undefined;
18
+ get isBorderlessImage(): boolean | undefined;
18
19
  editSection(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
20
21
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -20,6 +20,7 @@ export interface BannerGridStylesModel extends StylesModel {
20
20
  merge?: boolean;
21
21
  contentAlignment: AlignContent;
22
22
  positionLayout: PositionLayoutModal;
23
+ borderLessImage: boolean;
23
24
  }
24
25
  export interface BannerGridItemModel {
25
26
  image: Image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.280",
3
+ "version": "1.4.281",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file