simpo-component-library 3.6.731 → 3.6.733

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 (30) hide show
  1. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +4 -6
  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 +25 -29
  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 +1 -2
  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/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  10. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +10 -4
  11. package/esm2022/lib/services/rest.service.mjs +2 -14
  12. package/esm2022/lib/styles/index.mjs +3 -3
  13. package/fesm2022/simpo-component-library.mjs +197 -210
  14. package/fesm2022/simpo-component-library.mjs.map +1 -1
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +4 -2
  16. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  17. package/lib/ecommerce/styles/product.modal.d.ts +0 -1
  18. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  19. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  20. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  21. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  22. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  23. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
  24. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  25. package/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.d.ts +2 -0
  26. package/lib/services/rest.service.d.ts +0 -1
  27. package/lib/styles/index.d.ts +2 -2
  28. package/package.json +1 -1
  29. package/simpo-component-library-3.6.733.tgz +0 -0
  30. package/simpo-component-library-3.6.731.tgz +0 -0
@@ -14,6 +14,7 @@ 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';
17
18
  import * as i0 from "@angular/core";
18
19
  export declare class ProductDescComponent extends BaseSection {
19
20
  private platformId;
@@ -29,6 +30,7 @@ export declare class ProductDescComponent extends BaseSection {
29
30
  private readonly bottomSheet;
30
31
  private renderer;
31
32
  private matDialog;
33
+ private analyticsService;
32
34
  reviewComponent: CustomerReviewComponent;
33
35
  aboveHeight: ElementRef<HTMLDivElement>;
34
36
  container: ElementRef<HTMLDivElement>;
@@ -52,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
52
54
  showReview: boolean;
53
55
  selectedReview: any;
54
56
  currentImageIndex: number;
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);
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);
56
58
  buttonId?: string;
57
59
  button?: ButtonModel;
58
60
  styles?: ProductDescStylesModal;
@@ -119,7 +121,7 @@ export declare class ProductDescComponent extends BaseSection {
119
121
  getTextColor(color: any): "#000000" | "#ffffff";
120
122
  languages: string[];
121
123
  selectedLang: string;
122
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
124
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
123
125
  onFindInStore(id: string): void;
124
126
  onBookAppointment(): void;
125
127
  isDetails: boolean;
@@ -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(product: Product): void;
132
+ proceedToProductDesc(productId: any): void;
133
133
  ringSizes: {
134
134
  size: string;
135
135
  status: boolean;
@@ -4,7 +4,6 @@ export declare class Product {
4
4
  businessId: string;
5
5
  storeId: string[];
6
6
  name: string;
7
- slugifiedName: string;
8
7
  itemCategorisation: ItemCategorisation;
9
8
  itemInventory: ItemInventory;
10
9
  itemStatus: string;
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
31
31
  changeButtonStyle(): void;
32
32
  getContrastTextColor(backgroundHex: any): void;
33
33
  backgroundType: string[];
34
- setBorderRadius(): "0px" | "99px" | "7px";
34
+ setBorderRadius(): "0px" | "7px" | "99px";
35
35
  setBorder(): string;
36
36
  setColor(): any;
37
37
  setBackground(): any;
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
15
15
  editSection(): void;
16
16
  getButtonId(): string;
17
17
  redirectTo(data: any): void;
18
- getClass(): "col-4" | "col-12" | "col-5";
18
+ getClass(): "col-12" | "col-4" | "col-5";
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
20
20
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
21
21
  }
@@ -33,8 +33,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
33
33
  get stylesLayout(): LayOutModel;
34
34
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
35
35
  get getBackgroundColor(): BackgroundModel;
36
- get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
37
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
36
+ get getBackgroundOpacity(): "0.5" | "0.7" | "0" | "0.6" | "0.8" | "1";
37
+ opacityValue(value: OverlayValue): "0.5" | "0.7" | "0.6" | "0.8" | "1";
38
38
  editSection(): void;
39
39
  getScreenSize(): number;
40
40
  getSectionMinHeight(): string;
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
25
25
  get canMergeNavbar(): boolean | undefined;
26
26
  get isBorderlessImage(): boolean | undefined;
27
27
  get getPositionLayout(): PositionLayoutModal;
28
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "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>;
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
23
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,8 +23,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
- get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "6s" | "5s";
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDuration(): "3s" | "6s" | "5s" | "4s" | logoSpeed.Normal;
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-4" | "col-12" | "col-6" | "col-3";
26
+ getClass(): "col-12" | "col-6" | "col-4" | "col-3";
27
27
  getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -15,8 +15,10 @@ export declare class TestimonialFullwidthComponent extends BaseSection {
15
15
  TextPosition: typeof TextPosition;
16
16
  content?: TestimonialFullwidthContentModel;
17
17
  style?: TestimonialFullwidthStylesModel;
18
+ screenWidth: any;
18
19
  constructor(_eventService: EventsService);
19
20
  ngOnInit(): void;
21
+ getScreenSize(): void;
20
22
  get stylesLayout(): LayOutModel;
21
23
  editSection(): void;
22
24
  getListItemLength(): number;
@@ -33,7 +33,6 @@ 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>;
37
36
  getCollectionByIds(collectionIds: string[]): Observable<any>;
38
37
  getAllCategories(): Observable<any>;
39
38
  getAllCollections(): Observable<any>;
@@ -23,8 +23,8 @@ export interface Screen {
23
23
  'min-height': 'calc(95vh - 0px)';
24
24
  }
25
25
  export declare enum BANNERALIGNMENT {
26
- left = "flex-lg-row",
27
- right = "flex-lg-row-reverse",
26
+ left = "flex-lg-row-reverse",
27
+ right = "flex-lg-row",
28
28
  top = "flex-column",
29
29
  bottom = "flex-column-reverse"
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.731",
3
+ "version": "3.6.733",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file