simpo-component-library 3.6.169 → 3.6.171

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/enrollment-form/enrollment-form.component.mjs +135 -9
  2. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -4
  3. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +4 -4
  5. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +21 -5
  7. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +39 -4
  8. package/esm2022/lib/ecommerce/styles/user.modal.mjs +3 -1
  9. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  10. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +20 -3
  11. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  12. package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -4
  13. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +20 -3
  14. package/esm2022/lib/services/rest.service.mjs +5 -1
  15. package/fesm2022/simpo-component-library.mjs +250 -35
  16. package/fesm2022/simpo-component-library.mjs.map +1 -1
  17. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  18. package/lib/ecommerce/sections/enrollment-form/enrollment-form.component.d.ts +8 -6
  19. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
  20. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  21. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +8 -2
  22. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +6 -1
  23. package/lib/ecommerce/styles/user.modal.d.ts +2 -0
  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 -0
  26. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -0
  27. package/lib/services/rest.service.d.ts +2 -0
  28. package/package.json +1 -1
  29. package/simpo-component-library-3.6.171.tgz +0 -0
  30. package/simpo-component-library-3.6.169.tgz +0 -0
@@ -61,7 +61,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
61
61
  validateNumber(event: KeyboardEvent): void;
62
62
  validateOTP(event: KeyboardEvent): void;
63
63
  checkStrength(): void;
64
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
64
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
65
65
  emailDebounceTimer: any;
66
66
  onEmailChange(): void;
67
67
  emailCheck: boolean;
@@ -33,15 +33,17 @@ export declare class EnrollmentFormComponent extends BaseSection {
33
33
  getStoreSlabs(): void;
34
34
  createEnrollment(): void;
35
35
  success(): void;
36
- result: {
37
- type: 'success' | 'failure';
38
- title: string;
39
- message: string;
40
- iconClass: string;
41
- } | null;
36
+ result: any;
42
37
  showResult: boolean;
43
38
  isProcessing: boolean;
44
39
  simulatePayment(type: 'success' | 'failure'): void;
40
+ getButtonId(index: number): string;
41
+ getButtonStyle(index: number): import("simpo-component-library").ButtonStyleModel | undefined;
42
+ getButtonContent(index: number): import("simpo-component-library").Button | undefined;
43
+ debounceTimer: any;
44
+ validateForm(fieldType: string): void;
45
+ validObject: any;
46
+ validater(fieldType: string): void;
45
47
  static ɵfac: i0.ɵɵFactoryDeclaration<EnrollmentFormComponent, never>;
46
48
  static ɵcmp: i0.ɵɵComponentDeclaration<EnrollmentFormComponent, "simpo-enrollment-form", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
47
49
  }
@@ -72,6 +72,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
72
72
  getBtnId(index: number): string;
73
73
  getBtnStyle(index: number): any;
74
74
  getBtnData(index: number): any;
75
+ redirectTo(data: any): void;
75
76
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
76
77
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, { "changeDetailProduct": "changeDetailProduct"; }, never, never, true, never>;
77
78
  }
@@ -109,7 +109,7 @@ export declare class ProductDescComponent extends BaseSection {
109
109
  getTextColor(color: any): "#000000" | "#ffffff";
110
110
  languages: string[];
111
111
  selectedLang: string;
112
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
112
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
113
113
  onFindInStore(id: string): void;
114
114
  onBookAppointment(): void;
115
115
  isDetails: boolean;
@@ -1,5 +1,11 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
- export declare class SchemeDetailsComponent {
3
+ export declare class SchemeDetailsComponent implements OnInit {
4
+ schemeDetails: any;
5
+ gotoSchemeOverview: EventEmitter<void>;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ goBack(): void;
3
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, {}, {}, never, never, true, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
5
11
  }
@@ -36,16 +36,21 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
36
36
  userDetails: User | null;
37
37
  addressList: any;
38
38
  orderDetailsData: any;
39
+ schemeDetails: any;
39
40
  sidePanelList: Tabs[];
40
41
  tabs: Tabs[];
41
42
  orderList: OrderedItems[];
42
43
  wishlistData: OrderedItems[];
43
44
  ngOnInit(): void;
44
45
  getUserOrderDetails(): void;
46
+ passbookSummary: any;
47
+ userEnrollments: any[];
48
+ paymentData: any[];
49
+ getAllSchemes(): void;
45
50
  getUserWislistDetails(): void;
46
51
  deleteFromWhislist(product: OrderedItems): void;
47
52
  moveToCart(product: OrderedItems): void;
48
- viewSchemeDetails(): void;
53
+ viewSchemeDetails(data: any): void;
49
54
  addToFav(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
50
55
  editProfileData(type: 'MOBILE' | 'EMAIL'): Promise<void>;
51
56
  get getProductWidth(): string;
@@ -6,6 +6,8 @@ export declare class User {
6
6
  contact: Contact;
7
7
  addressDetailsList: AddressDetails[];
8
8
  deviceInfo: DeviceInfo[];
9
+ orraUserId: string;
10
+ pwcUserCode: string;
9
11
  constructor(json?: {
10
12
  [key: string]: any;
11
13
  });
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
28
28
  buttonStyles: any;
29
29
  changeButtonStyle(): void;
30
30
  backgroundType: string[];
31
- setBorderRadius(): "0px" | "99px" | "7px";
31
+ setBorderRadius(): "0px" | "7px" | "99px";
32
32
  setBorder(): string;
33
33
  setColor(): any;
34
34
  setBackground(): any;
@@ -15,6 +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-3" | "col-12" | "col-5";
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
20
21
  }
@@ -23,6 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(): void;
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
27
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>;
28
29
  }
@@ -15,11 +15,13 @@ export declare class RestService implements OnDestroy {
15
15
  subIndustryName: any;
16
16
  isJewellery: boolean;
17
17
  constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
18
+ orraBaseUrl: string;
18
19
  getBusinessDetails(): void;
19
20
  ngOnDestroy(): void;
20
21
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
21
22
  getCategoriesByCollectionId(collectionId: string): Observable<any>;
22
23
  getProductBySelectedCategory(categoryId: string): Observable<Object>;
24
+ getAllSchemes(userCode?: any): any;
23
25
  getProductDetails(productId?: string | null): Observable<any>;
24
26
  getCollectionByIds(collectionIds: string[]): Observable<any>;
25
27
  getAllCategories(): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.169",
3
+ "version": "3.6.171",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file