simpo-component-library 3.6.472 → 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 (34) 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/elements/text-editor/text-editor.component.mjs +70 -53
  12. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  13. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +4 -4
  14. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  15. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +4 -4
  16. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +7 -3
  17. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +2 -2
  18. package/esm2022/lib/services/rest.service.mjs +4 -1
  19. package/fesm2022/simpo-component-library.mjs +259 -110
  20. package/fesm2022/simpo-component-library.mjs.map +1 -1
  21. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  22. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -0
  23. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -1
  24. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -0
  25. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  26. package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +9 -1
  27. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  28. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  29. package/lib/elements/text-editor/text-editor.component.d.ts +3 -0
  30. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  31. package/lib/services/rest.service.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/simpo-component-library-3.6.474.tgz +0 -0
  34. package/simpo-component-library-3.6.472.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;
@@ -112,7 +114,7 @@ export declare class ProductDescComponent extends BaseSection {
112
114
  getTextColor(color: any): "#000000" | "#ffffff";
113
115
  languages: string[];
114
116
  selectedLang: string;
115
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
117
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
116
118
  onFindInStore(id: string): void;
117
119
  onBookAppointment(): void;
118
120
  isDetails: boolean;
@@ -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" | "col-6 mb-2" | "col-12 mb-2";
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-4" | "col-12" | "col-5" | "col-3";
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
  }
@@ -30,6 +30,9 @@ export declare class TextEditorComponent {
30
30
  showToolbar(event: MouseEvent): void;
31
31
  hideToolbar(event: MouseEvent): void;
32
32
  formatText(command: string, value?: string): void;
33
+ private setStyleWithCSS;
34
+ private toLegacyFontStep;
35
+ private normalizeFontSizeToCss;
33
36
  changeFontSize(event: any): void;
34
37
  changeColor(event: any): void;
35
38
  updateText(event: Event): void;
@@ -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-4" | "col-12" | "col-6" | "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.472",
3
+ "version": "3.6.474",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file