simpo-component-library 3.6.729 → 3.6.731

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.
Files changed (23) hide show
  1. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +6 -4
  2. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
  3. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +29 -25
  4. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +9 -9
  5. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/styles/product.modal.mjs +2 -1
  7. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  8. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  9. package/esm2022/lib/services/rest.service.mjs +14 -2
  10. package/fesm2022/simpo-component-library.mjs +204 -185
  11. package/fesm2022/simpo-component-library.mjs.map +1 -1
  12. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  13. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  14. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -3
  16. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  17. package/lib/ecommerce/styles/product.modal.d.ts +1 -0
  18. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  19. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  20. package/lib/services/rest.service.d.ts +1 -0
  21. package/package.json +1 -1
  22. package/simpo-component-library-3.6.731.tgz +0 -0
  23. package/simpo-component-library-3.6.729.tgz +0 -0
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
40
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
43
43
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
35
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
39
39
  }
@@ -14,7 +14,6 @@ import { Meta, Title } from '@angular/platform-browser';
14
14
  import { MatDialog } from '@angular/material/dialog';
15
15
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
16
16
  import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
17
- import { AnalyticsService } from '../../../services/analytics.service';
18
17
  import * as i0 from "@angular/core";
19
18
  export declare class ProductDescComponent extends BaseSection {
20
19
  private platformId;
@@ -30,7 +29,6 @@ export declare class ProductDescComponent extends BaseSection {
30
29
  private readonly bottomSheet;
31
30
  private renderer;
32
31
  private matDialog;
33
- private analyticsService;
34
32
  reviewComponent: CustomerReviewComponent;
35
33
  aboveHeight: ElementRef<HTMLDivElement>;
36
34
  container: ElementRef<HTMLDivElement>;
@@ -54,7 +52,7 @@ export declare class ProductDescComponent extends BaseSection {
54
52
  showReview: boolean;
55
53
  selectedReview: any;
56
54
  currentImageIndex: number;
57
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog, analyticsService: AnalyticsService);
55
+ constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
58
56
  buttonId?: string;
59
57
  button?: ButtonModel;
60
58
  styles?: ProductDescStylesModal;
@@ -129,7 +129,7 @@ export declare class ProductListComponent extends BaseSection {
129
129
  removeFilter(filter: any): void;
130
130
  applyProductWidth(): boolean;
131
131
  getProductWidth(): string;
132
- proceedToProductDesc(productId: any): void;
132
+ proceedToProductDesc(product: Product): void;
133
133
  ringSizes: {
134
134
  size: string;
135
135
  status: boolean;
@@ -4,6 +4,7 @@ export declare class Product {
4
4
  businessId: string;
5
5
  storeId: string[];
6
6
  name: string;
7
+ slugifiedName: string;
7
8
  itemCategorisation: ItemCategorisation;
8
9
  itemInventory: ItemInventory;
9
10
  itemStatus: string;
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
26
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
26
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -33,6 +33,7 @@ export declare class RestService implements OnDestroy {
33
33
  getAllRedemptionSchemes(): Observable<Object>;
34
34
  getAllProducts(payload: any): Observable<Object>;
35
35
  getProductDetails(productId?: string | null): Observable<any>;
36
+ getProductDetailsV2(slugName?: string | null): Observable<any>;
36
37
  getCollectionByIds(collectionIds: string[]): Observable<any>;
37
38
  getAllCategories(): Observable<any>;
38
39
  getAllCollections(): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.729",
3
+ "version": "3.6.731",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file