simpo-component-library 3.6.473 → 3.6.474

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 (37) hide show
  1. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +1 -4
  2. package/esm2022/lib/directive/background-directive.mjs +6 -6
  3. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +34 -3
  4. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +7 -4
  5. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +34 -3
  6. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +34 -3
  7. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +50 -10
  8. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -1
  9. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +4 -7
  10. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  11. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  12. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +4 -4
  13. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +7 -3
  14. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +2 -2
  15. package/esm2022/lib/services/rest.service.mjs +4 -1
  16. package/fesm2022/simpo-component-library.mjs +185 -53
  17. package/fesm2022/simpo-component-library.mjs.map +1 -1
  18. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  19. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -0
  20. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -0
  21. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -0
  22. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  23. package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +9 -1
  24. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  25. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  26. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  27. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  28. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  29. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  30. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  31. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
  32. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  33. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  34. package/lib/services/rest.service.d.ts +1 -0
  35. package/package.json +1 -1
  36. package/simpo-component-library-3.6.474.tgz +0 -0
  37. package/simpo-component-library-3.6.473.tgz +0 -0
@@ -64,7 +64,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
64
64
  validateNumber(event: KeyboardEvent): void;
65
65
  validateOTP(event: KeyboardEvent): void;
66
66
  checkStrength(): void;
67
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
67
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
68
68
  emailDebounceTimer: any;
69
69
  onEmailChange(): void;
70
70
  emailCheck: boolean;
@@ -43,12 +43,14 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
43
43
  theme: typeof ProductCardTheme;
44
44
  getScreenSize(): void;
45
45
  ngAfterViewInit(): void;
46
+ IsEcommerce: boolean;
46
47
  ngOnInit(): void;
47
48
  ngOnChanges(changes: SimpleChanges): void;
48
49
  ngOnDestroy(): void;
49
50
  applyProductWidth(): boolean;
50
51
  getProductWidth(): string;
51
52
  getSliceParameters(): number[];
53
+ raiseLead(): void;
52
54
  getFeatureProduct(): void;
53
55
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
54
56
  toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
@@ -64,11 +64,13 @@ export declare class ProductDescComponent extends BaseSection {
64
64
  trialCartItem: any[];
65
65
  isPinCode: boolean;
66
66
  toShowInJewellery: boolean;
67
+ IsEcommerce: boolean;
67
68
  ngOnInit(): void;
68
69
  varientLoading: boolean;
69
70
  recentViewItemList: Product[];
70
71
  getRelatedProducts(): void;
71
72
  selectVarient(key: string, value: string): void;
73
+ raiseLead(): void;
72
74
  getItemVarient(): ItemVariant | null;
73
75
  checkItemAlreadyAddedInTrial(): void;
74
76
  getTrialCartIndexDBData(): void;
@@ -90,6 +90,7 @@ export declare class ProductListComponent extends BaseSection {
90
90
  }[];
91
91
  onPriceRangeChange(): void;
92
92
  applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
93
+ raiseLead(): void;
93
94
  filterItemList(): void;
94
95
  selectOption(filter: any, event: MouseEvent): void;
95
96
  getSelectedName(): string;
@@ -98,6 +99,7 @@ export declare class ProductListComponent extends BaseSection {
98
99
  ecomConfigs: any;
99
100
  getEcommerceConfigs(): void;
100
101
  toShowInJewellery: boolean;
102
+ IsEcommerce: boolean;
101
103
  ngOnInit(): void;
102
104
  get selectedCategoryCollectionChips(): {
103
105
  id: string;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-12" | "col-6 mb-2" | "col-12 mb-2" | "col-6";
24
+ getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", 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>;
@@ -2,11 +2,17 @@ import { OnInit } from '@angular/core';
2
2
  import { ItemVariant, Product } from '../../styles/product.modal';
3
3
  import { CartService } from '../../../services/cart.service';
4
4
  import { Router } from '@angular/router';
5
+ import { RestService } from '../../../services/rest.service';
6
+ import { MessageService } from 'primeng/api';
7
+ import { StorageServiceService } from '../../../services/storage.service';
5
8
  import * as i0 from "@angular/core";
6
9
  export declare class SmallProductListingComponent implements OnInit {
7
10
  private readonly cartService;
8
11
  private readonly router;
9
- constructor(cartService: CartService, router: Router);
12
+ private readonly restService;
13
+ private readonly storageService;
14
+ private readonly messageService;
15
+ constructor(cartService: CartService, router: Router, restService: RestService, storageService: StorageServiceService, messageService: MessageService);
10
16
  private USER_CART;
11
17
  product: Product;
12
18
  data?: any;
@@ -14,9 +20,11 @@ export declare class SmallProductListingComponent implements OnInit {
14
20
  isCategoryProductList: boolean;
15
21
  customClass?: string;
16
22
  index: number;
23
+ IsEcommerce: boolean;
17
24
  ngOnInit(): void;
18
25
  addItemToCart(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'SUBSTRACT'): void;
19
26
  removeDefault(event: PointerEvent | MouseEvent): void;
27
+ raiseLead(): void;
20
28
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
21
29
  getPercentage(product: Product): string;
22
30
  goToProductDetail(product: Product): void;
@@ -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(): void;
18
- getClass(): "col-12" | "col-4" | "col-3" | "col-5";
18
+ getClass(): "col-4" | "col-12" | "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
  }
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
25
25
  get stylesLayout(): LayOutModel;
26
26
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
+ get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
30
30
  editSection(): void;
31
31
  getScreenSize(): number;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
@@ -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.2" | "0.3" | "0.5" | "0.7" | "0";
28
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
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>;
@@ -29,7 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
31
  getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
- getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
32
+ getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
34
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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>;
35
35
  }
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
23
23
  toggleContent(idx: number): void;
24
24
  editSection(): void;
25
25
  getScreenSize(): void;
26
- getLayout(): "justify-content-start" | "justify-content-end" | "justify-content-center";
26
+ getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", 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>;
29
29
  }
@@ -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(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
23
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
25
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
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(): "6s" | "5s" | "4s" | "3s" | logoSpeed.Normal;
27
- get animationDirection(): "reverse" | "normal" | logoDirection.Left;
26
+ get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "6s" | "5s";
27
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
21
21
  idx: number;
22
22
  getImageData(): import("../../styles/style.model").Image | undefined;
23
23
  getImageUrl(): string | undefined;
24
- getImageType(): "Video" | "Image";
24
+ getImageType(): "Image" | "Video";
25
25
  editSection(): void;
26
26
  stopPropagation(event: any): void;
27
27
  screenWidth: any;
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(): void;
26
- getClass(): "col-12" | "col-6" | "col-4" | "col-3";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
28
28
  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>;
29
29
  }
@@ -123,6 +123,7 @@ export declare class RestService implements OnDestroy {
123
123
  getAllTransactions(payload: any): Observable<Object>;
124
124
  getSchemeDetails(schemeId: any): Observable<Object>;
125
125
  getMetalPrice(storeId: any): Observable<Object>;
126
+ createLead(payload: any): Observable<Object>;
126
127
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
127
128
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
128
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.473",
3
+ "version": "3.6.474",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file