simpo-component-library 3.6.701 → 3.6.703

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 (27) hide show
  1. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +138 -30
  2. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +21 -6
  3. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +13 -4
  5. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +19 -3
  6. package/esm2022/lib/sections/footer/footer.component.mjs +19 -5
  7. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  8. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  9. package/esm2022/lib/services/rest.service.mjs +7 -3
  10. package/fesm2022/simpo-component-library.mjs +208 -43
  11. package/fesm2022/simpo-component-library.mjs.map +1 -1
  12. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  13. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  14. package/lib/ecommerce/sections/cart/cart.component.d.ts +16 -0
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  16. package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +6 -2
  17. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  18. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +4 -2
  19. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  20. package/lib/sections/footer/footer.component.d.ts +4 -1
  21. package/lib/sections/footer/footer.modal.d.ts +5 -0
  22. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  23. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  24. package/lib/services/rest.service.d.ts +2 -1
  25. package/package.json +1 -1
  26. package/simpo-component-library-3.6.703.tgz +0 -0
  27. package/simpo-component-library-3.6.701.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(): "#FFF" | "#000";
16
+ get getTextColor(): "#000" | "#FFF";
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): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
85
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "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
  proceedToPayment(): Promise<void>;
92
93
  addressSelected(index: number): void;
93
94
  isItemOutOfStock(product: OrderedItems): boolean;
@@ -96,6 +97,20 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
96
97
  closeWindow(): void;
97
98
  couponDialogRef: MatDialogRef<unknown> | null;
98
99
  openDialog(container: any): void;
100
+ listRedemptionCoupons: any;
101
+ appliedVoucher: any;
102
+ redemptionType: "COUPONS" | "VOUCHERS";
103
+ redemptionCouponType: "REWARDS" | "DISCOUNTS";
104
+ selectedVoucherId: any;
105
+ selectedVoucherAmount: any;
106
+ selectedVoucherCode: any;
107
+ listRedemptionVouchers: any;
108
+ selectedVoucherPercentage: any;
109
+ percentageReduced: any;
110
+ couponValueType: string;
111
+ addRedemptionCoupon(container: any): void;
112
+ applyRedemptionCoupon(voucher: any): void;
113
+ removeRedemptionCoupon(event?: Event): void;
99
114
  searchIfApplicable(): void;
100
115
  closeDialogRef(): void;
101
116
  applyCoupon(coupon: Coupon): void;
@@ -133,6 +148,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
133
148
  pointsConverted: number;
134
149
  usedPoints: any;
135
150
  getRedeemPoints(): void;
151
+ onPointsRedeemingChange(event: Event): void;
136
152
  get getRemainingPoints(): number;
137
153
  get getRemainingRupees(): any;
138
154
  paymentWithCompletePoints(): void;
@@ -119,7 +119,7 @@ export declare class ProductDescComponent extends BaseSection {
119
119
  getTextColor(color: any): "#000000" | "#ffffff";
120
120
  languages: string[];
121
121
  selectedLang: string;
122
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
122
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
123
123
  onFindInStore(id: string): void;
124
124
  onBookAppointment(): void;
125
125
  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-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>;
@@ -25,10 +25,12 @@ 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" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
29
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
28
+ get getBackgroundOpacity(): "0" | "1" | "0.5" | "0.6" | "0.7" | "0.8";
29
+ opacityValue(value: OverlayValue): "1" | "0.5" | "0.6" | "0.7" | "0.8";
30
30
  editSection(): void;
31
31
  getScreenSize(): number;
32
+ getSectionMinHeight(): string;
33
+ getImagePosition(image: any): string;
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
33
35
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
34
36
  }
@@ -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" | "0.5" | "0.7" | "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>;
@@ -35,7 +35,10 @@ export declare class FooterComponent extends BaseSection {
35
35
  redirectToPage(pageData: any): void;
36
36
  createNewLink(folderIndex: number): void;
37
37
  createNewFolder(): void;
38
- goToHome(): void;
38
+ navigateToHome(): void;
39
+ popularSearchedCategories: any[];
40
+ getPopularSearches(): void;
41
+ redirectToCollection(collectionName: string, categoryName: string): void;
39
42
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
40
43
  static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
41
44
  }
@@ -28,6 +28,11 @@ export interface FooterContentModel {
28
28
  socialLinks: FooterSocialLinkModel;
29
29
  displayBranding: boolean;
30
30
  folder: FolderModel[];
31
+ popularSearches: boolean;
32
+ textDescription: {
33
+ display: boolean;
34
+ content: string;
35
+ };
31
36
  }
32
37
  export interface FooterLogoModel {
33
38
  isImage: boolean;
@@ -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(): "1" | "0.5" | "0.7" | "0.3" | "0.2";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "1" | "0.5" | "0.7" | "0.3" | "0.2";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -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-6" | "col-4" | "col-3" | "col-12";
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,7 +130,7 @@ 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): Observable<Object>;
133
+ getRedeemPoints(bId: any, userId: any, evetType: string, orderValue: any, rewardPoints: boolean): Observable<Object>;
134
134
  paymentWithCompletePoints(cartId: any, data: any): Observable<Object>;
135
135
  getAllPassbookDues(bId: any, userId: any): Observable<Object>;
136
136
  getToken(): string;
@@ -141,6 +141,7 @@ export declare class RestService implements OnDestroy {
141
141
  getAppointmentPaymentStatus(orderId: any): Observable<Object>;
142
142
  getOtpForLogin(payload: any): Observable<Object>;
143
143
  flush(eventsToSend: any): void;
144
+ getPopularSearches(): Observable<Object>;
144
145
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
145
146
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
146
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.701",
3
+ "version": "3.6.703",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file