simpo-component-library 3.6.727 → 3.6.729

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 (25) hide show
  1. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +208 -10
  2. package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +2 -2
  3. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  5. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +13 -4
  8. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +10 -3
  9. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  10. package/esm2022/lib/services/rest.service.mjs +7 -1
  11. package/fesm2022/simpo-component-library.mjs +350 -132
  12. package/fesm2022/simpo-component-library.mjs.map +1 -1
  13. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  14. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  15. package/lib/ecommerce/sections/cart/cart.component.d.ts +28 -0
  16. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  17. package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +6 -2
  18. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  19. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +1 -0
  20. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
  21. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  22. package/lib/services/rest.service.d.ts +2 -0
  23. package/package.json +1 -1
  24. package/simpo-component-library-3.6.729.tgz +0 -0
  25. package/simpo-component-library-3.6.727.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#000" | "#FFF";
16
+ get getTextColor(): "#FFF" | "#000";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -82,7 +82,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
82
82
  validateNumber(event: KeyboardEvent): void;
83
83
  validateOTP(event: KeyboardEvent): void;
84
84
  checkStrength(): void;
85
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
85
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
86
86
  emailDebounceTimer: any;
87
87
  onEmailChange(): void;
88
88
  emailCheck: boolean;
@@ -88,6 +88,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
88
88
  private moveItemToWishlist;
89
89
  private removeItemFromCart;
90
90
  addToCart(item: OrderedItems, quantity: number): void;
91
+ cartId: any;
91
92
  placeOrderLoader: boolean;
92
93
  proceedToPayment(): Promise<void>;
93
94
  addressSelected(index: number): void;
@@ -97,6 +98,20 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
97
98
  closeWindow(): void;
98
99
  couponDialogRef: MatDialogRef<unknown> | null;
99
100
  openDialog(container: any): void;
101
+ listRedemptionCoupons: any;
102
+ appliedVoucher: any;
103
+ redemptionType: "COUPONS" | "VOUCHERS";
104
+ redemptionCouponType: "REWARDS" | "DISCOUNTS";
105
+ selectedVoucherId: any;
106
+ selectedVoucherAmount: any;
107
+ selectedVoucherCode: any;
108
+ listRedemptionVouchers: any;
109
+ selectedVoucherPercentage: any;
110
+ percentageReduced: any;
111
+ couponValueType: string;
112
+ addRedemptionCoupon(container: any): void;
113
+ applyRedemptionCoupon(voucher: any): void;
114
+ removeRedemptionCoupon(event?: Event): void;
100
115
  searchIfApplicable(): void;
101
116
  closeDialogRef(): void;
102
117
  applyCoupon(coupon: Coupon): void;
@@ -125,6 +140,19 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
125
140
  getGradientDirection(direction: string | undefined): string;
126
141
  increaseQty(item: any): void;
127
142
  decreaseQty(item: any): void;
143
+ referEarnExist: boolean;
144
+ isPointsRedeeming: boolean;
145
+ redemptionPoints: any;
146
+ checkAppInstalled(): void;
147
+ totalSavingAmt: number;
148
+ totalSavingPoints: number;
149
+ pointsConverted: number;
150
+ usedPoints: any;
151
+ getRedeemPoints(): void;
152
+ onPointsRedeemingChange(event: Event): void;
153
+ get getRemainingPoints(): number;
154
+ get getRemainingRupees(): any;
155
+ paymentWithCompletePoints(): void;
128
156
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
129
157
  static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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; }; }, {}, never, never, true, never>;
130
158
  }
@@ -121,7 +121,7 @@ export declare class ProductDescComponent extends BaseSection {
121
121
  getTextColor(color: any): "#000000" | "#ffffff";
122
122
  languages: string[];
123
123
  selectedLang: string;
124
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
124
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
125
125
  onFindInStore(id: string): void;
126
126
  onBookAppointment(): void;
127
127
  isDetails: boolean;
@@ -3,11 +3,15 @@ import { LayOutModel } from '../../../styles/style.model';
3
3
  import { ProductDescStylesModal } from './refer-earn.modal';
4
4
  import { StorageServiceService } from '../../../services/storage.service';
5
5
  import { Router } from '@angular/router';
6
+ import BaseSection from '../../../sections/BaseSection';
6
7
  import * as i0 from "@angular/core";
7
- export declare class ReferEarnComponent implements OnInit {
8
+ export declare class ReferEarnComponent extends BaseSection implements OnInit {
8
9
  private readonly storageService;
9
10
  private readonly router;
10
11
  data?: any;
12
+ edit?: boolean;
13
+ delete?: boolean;
14
+ index?: number;
11
15
  styles?: ProductDescStylesModal;
12
16
  userDetail: any;
13
17
  constructor(storageService: StorageServiceService, router: Router);
@@ -21,5 +25,5 @@ export declare class ReferEarnComponent implements OnInit {
21
25
  get getName(): any;
22
26
  get getWebUrl(): string;
23
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ReferEarnComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", 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>;
25
29
  }
@@ -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-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-12" | "col-6" | "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>;
@@ -52,6 +52,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
52
52
  getMyReferralsUrl: SafeResourceUrl;
53
53
  getRewardsUrl: SafeResourceUrl;
54
54
  ngOnInit(): void;
55
+ getTotalAmtPaid(order: any): any;
55
56
  checkPassbookApp(): void;
56
57
  closeDialog(): void;
57
58
  storeCharges: any;
@@ -33,7 +33,7 @@ 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(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
36
+ get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
37
37
  opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
38
38
  editSection(): void;
39
39
  getScreenSize(): 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-6" | "col-4" | "col-3" | "col-12";
26
+ getClass(): "col-4" | "col-12" | "col-6" | "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>;
@@ -130,6 +130,8 @@ export declare class RestService implements OnDestroy {
130
130
  requestRedeemption(passbookId: any): Observable<Object>;
131
131
  PassbookAppStatus(bId: any): Observable<Object>;
132
132
  checkAppInstalled(bId: any, appName: string): Observable<Object>;
133
+ getRedeemPoints(bId: any, userId: any, evetType: string, orderValue: any, rewardPoints: boolean): Observable<Object>;
134
+ paymentWithCompletePoints(cartId: any, data: any): Observable<Object>;
133
135
  getAllPassbookDues(bId: any, userId: any): Observable<Object>;
134
136
  getToken(): string;
135
137
  getAllTransactions(payload: any): Observable<Object>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.727",
3
+ "version": "3.6.729",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file