simpo-component-library 3.6.120 → 3.6.122

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 (41) hide show
  1. package/esm2022/lib/directive/button-directive.directive.mjs +4 -4
  2. package/esm2022/lib/directive/button-editor.directive.mjs +4 -1
  3. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +26 -11
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +37 -15
  5. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +133 -0
  6. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +2 -0
  7. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +109 -0
  8. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +2 -0
  9. package/esm2022/lib/sections/header-section/header-section.component.mjs +34 -9
  10. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +106 -0
  11. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +2 -0
  12. package/esm2022/lib/services/rest.service.mjs +23 -1
  13. package/esm2022/public-api.mjs +4 -1
  14. package/fesm2022/simpo-component-library.mjs +558 -196
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  17. package/lib/directive/background-directive.d.ts +1 -1
  18. package/lib/directive/button-directive.directive.d.ts +1 -1
  19. package/lib/directive/color.directive.d.ts +1 -1
  20. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  21. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  22. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +5 -1
  23. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +8 -4
  24. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +36 -0
  25. package/lib/ecommerce/sections/store-list/store-list.modal.d.ts +11 -0
  26. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +26 -0
  27. package/lib/ecommerce/sections/store-page/store-page.model.d.ts +11 -0
  28. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  29. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  30. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  31. package/lib/sections/header-section/header-section.component.d.ts +12 -2
  32. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  33. package/lib/sections/news-letter-component/news-letter-component.component.d.ts +26 -0
  34. package/lib/sections/news-letter-component/news-letter.modal.d.ts +19 -0
  35. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  36. package/lib/services/rest.service.d.ts +4 -0
  37. package/package.json +1 -1
  38. package/public-api.d.ts +3 -0
  39. package/simpo-component-library-3.6.122.tgz +0 -0
  40. package/src/lib/styles/global-styles.css +19 -1
  41. package/simpo-component-library-3.6.120.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;
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
16
16
  applyButtonStyleChanges(): void;
17
17
  applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
18
18
  applyButtonShape(style: ButtonStyleModel): void;
19
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
20
20
  buttonStyleSubscription?: Subscription;
21
21
  buttonStyleChangeCheck(): void;
22
22
  changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
58
58
  validateNumber(event: KeyboardEvent): void;
59
59
  validateOTP(event: KeyboardEvent): void;
60
60
  checkStrength(): void;
61
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
61
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
62
62
  get isEmailValid(): boolean;
63
63
  get isPasswordValid(): boolean;
64
64
  get isMobile(): boolean;
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
30
30
  get getDirection(): "ROW" | "COLUMN" | undefined;
31
31
  get isMobile(): boolean;
32
32
  editSection(): void;
33
- getColor(color: any): "#ffffff" | "#000000";
33
+ getColor(color: any): "#000000" | "#ffffff";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
@@ -1,9 +1,11 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { EventsService } from '../../../services/events.service';
3
3
  import { ProfileStylesModal } from '../user-profile/user-profile.modal';
4
+ import { StorageServiceService } from '../../../services/storage.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class OrderDetailsComponent implements OnInit {
6
7
  private readonly _eventService;
8
+ private storageService;
7
9
  responseData?: any;
8
10
  data?: any;
9
11
  index?: number;
@@ -14,7 +16,7 @@ export declare class OrderDetailsComponent implements OnInit {
14
16
  goBackEmitter: EventEmitter<void>;
15
17
  isLoading: boolean;
16
18
  styles?: ProfileStylesModal;
17
- constructor(_eventService: EventsService);
19
+ constructor(_eventService: EventsService, storageService: StorageServiceService);
18
20
  orderTimiline: any;
19
21
  ngOnInit(): void;
20
22
  private getIcon;
@@ -28,6 +30,8 @@ export declare class OrderDetailsComponent implements OnInit {
28
30
  get canCancelOrder(): boolean;
29
31
  get orderAddress(): string;
30
32
  trackOrder(): void;
33
+ productReview: number;
34
+ submitReview(item: any): void;
31
35
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
32
36
  static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", never, { "responseData": { "alias": "responseData"; "required": false; }; "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; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
33
37
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
1
+ import { ElementRef, Renderer2, TemplateRef } from '@angular/core';
2
2
  import { ProductDescModal, ProductDescStylesModal } from './product-desc.modal';
3
3
  import { ItemImage, ItemVariant, Product } from '../../styles/product.modal';
4
4
  import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
@@ -11,6 +11,7 @@ import { FeaturedProductModal } from '../featured-products/featured-products.mod
11
11
  import { StorageServiceService } from '../../../services/storage.service';
12
12
  import { MenuItem, MessageService } from 'primeng/api';
13
13
  import { Meta, Title } from '@angular/platform-browser';
14
+ import { MatDialog } from '@angular/material/dialog';
14
15
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
15
16
  import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
16
17
  import * as i0 from "@angular/core";
@@ -27,6 +28,7 @@ export declare class ProductDescComponent extends BaseSection {
27
28
  private readonly titleService;
28
29
  private readonly bottomSheet;
29
30
  private renderer;
31
+ private matDialog;
30
32
  reviewComponent: CustomerReviewComponent;
31
33
  d2: ElementRef;
32
34
  data?: ProductDescModal;
@@ -45,7 +47,7 @@ export declare class ProductDescComponent extends BaseSection {
45
47
  productReview: number;
46
48
  totalReview: number;
47
49
  showReview: boolean;
48
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2);
50
+ constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
49
51
  buttonId?: string;
50
52
  button?: ButtonModel;
51
53
  styles?: ProductDescStylesModal;
@@ -99,10 +101,10 @@ export declare class ProductDescComponent extends BaseSection {
99
101
  getDifference(sellingPrice: any, mrp: any): number;
100
102
  getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
101
103
  getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
102
- getTextColor(color: any): "#ffffff" | "#000000";
104
+ getTextColor(color: any): "#000000" | "#ffffff";
103
105
  languages: string[];
104
106
  selectedLang: string;
105
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
107
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
106
108
  onFindInStore(): void;
107
109
  onBookAppointment(): void;
108
110
  isDetails: boolean;
@@ -125,6 +127,8 @@ export declare class ProductDescComponent extends BaseSection {
125
127
  closeModal(): void;
126
128
  getButtonId(index: number): string;
127
129
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
130
+ opendailogbox(template: TemplateRef<HTMLDivElement>): void;
131
+ closeDialog(): void;
128
132
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
129
133
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
130
134
  }
@@ -0,0 +1,36 @@
1
+ import BaseSection from '../../../sections/BaseSection';
2
+ import { StoreListModal, StoreListStyleModel } from './store-list.modal';
3
+ import { RestService } from '../../../services/rest.service';
4
+ import { Router } from '@angular/router';
5
+ import * as i0 from "@angular/core";
6
+ export declare class StoreListComponent extends BaseSection {
7
+ private restService;
8
+ private router;
9
+ data?: StoreListModal;
10
+ edit?: boolean;
11
+ customClass?: string;
12
+ delete?: boolean;
13
+ index?: number;
14
+ pageNo: number;
15
+ isLoading: boolean;
16
+ cardSize: number;
17
+ styles?: StoreListStyleModel;
18
+ constructor(restService: RestService, router: Router);
19
+ ngOnInit(): void;
20
+ storesList: any;
21
+ pincode: any;
22
+ storePayload: any;
23
+ getDataWithPincode(): void;
24
+ showMessage: boolean;
25
+ totalCount: number;
26
+ submit: boolean;
27
+ loader: boolean;
28
+ error: boolean;
29
+ getStoreDetails(): void;
30
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
31
+ openWhatsapp(phone: string): void;
32
+ viewStore(storeId: string): void;
33
+ getTime(storeHours: any, type: string): any;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<StoreListComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<StoreListComponent, "simpo-store-list", 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>;
36
+ }
@@ -0,0 +1,11 @@
1
+ import { ActionModel, BannerStylesModel } from "../../../styles/style.model";
2
+ export interface StoreListModal {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: {};
7
+ styles: StoreListStyleModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface StoreListStyleModel extends BannerStylesModel {
11
+ }
@@ -0,0 +1,26 @@
1
+ import BaseSection from '../../../sections/BaseSection';
2
+ import { StorePageStyleModel, StorePageModal } from './store-page.model';
3
+ import { RestService } from '../../../services/rest.service';
4
+ import { ActivatedRoute } from '@angular/router';
5
+ import * as i0 from "@angular/core";
6
+ export declare class StorePageComponent extends BaseSection {
7
+ private restService;
8
+ private activeRoute;
9
+ data?: StorePageModal;
10
+ edit?: boolean;
11
+ customClass?: string;
12
+ delete?: boolean;
13
+ index?: number;
14
+ styles?: StorePageStyleModel;
15
+ constructor(restService: RestService, activeRoute: ActivatedRoute);
16
+ ngOnInit(): void;
17
+ storeData: any;
18
+ getStoreDetails(storeId: string): void;
19
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
+ getTime(storeHours: any, type: string): any;
21
+ removeUnderScore(text: string): string;
22
+ openWhatsapp(phone: string): void;
23
+ dialNumber(phone: string): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<StorePageComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<StorePageComponent, "simpo-store-page", 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>;
26
+ }
@@ -0,0 +1,11 @@
1
+ import { ActionModel, BannerStylesModel } from "../../../styles/style.model";
2
+ export interface StorePageModal {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: {};
7
+ styles: StorePageStyleModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface StorePageStyleModel extends BannerStylesModel {
11
+ }
@@ -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(): "99px" | "0px" | "7px";
32
32
  setBorder(): string;
33
33
  setColor(): any;
34
34
  setBackground(): any;
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
27
27
  get spacingLayout(): SpacingModel;
28
28
  get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
29
  get fitLayout(): import("simpo-component-library").FIT | undefined;
30
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
33
33
  }
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
28
28
  editSection(): void;
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
33
  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>;
34
34
  }
@@ -7,6 +7,7 @@ import { MatDialog } from '@angular/material/dialog';
7
7
  import { StorageServiceService } from '../../services/storage.service';
8
8
  import { Header_Type, ProductCardTheme } from '../../styles/index';
9
9
  import { MovingTextModal } from '../moving-text/moving-text.modal';
10
+ import { RestService } from '../../services/rest.service';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class HeaderSectionComponent implements OnInit {
12
13
  private readonly _eventService;
@@ -14,6 +15,7 @@ export declare class HeaderSectionComponent implements OnInit {
14
15
  private readonly activatedRoute;
15
16
  private readonly matDialog;
16
17
  private readonly storageService;
18
+ private restService;
17
19
  data?: HeaderSectionModel;
18
20
  nextComponent: any;
19
21
  index?: number;
@@ -29,7 +31,7 @@ export declare class HeaderSectionComponent implements OnInit {
29
31
  theme: typeof ProductCardTheme;
30
32
  HeaderStyling: typeof Header_Type;
31
33
  parentHeight: number;
32
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService);
34
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService);
33
35
  searchProducts(): void;
34
36
  goToFav(): void;
35
37
  get stylesLayout(): LayOutModel;
@@ -71,7 +73,15 @@ export declare class HeaderSectionComponent implements OnInit {
71
73
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
72
74
  get getNavbarButton(): any[];
73
75
  isScrolled: boolean;
74
- setColor(): "#ffffff" | "#000000";
76
+ setColor(): "#000000" | "#ffffff";
77
+ showList: boolean;
78
+ showCollections: boolean;
79
+ categoryList: any;
80
+ collectionList: any;
81
+ selectedCategory: any;
82
+ getCategoriesHeader(): void;
83
+ Object: ObjectConstructor;
84
+ applyFilterToList(obj: any, type: any): void;
75
85
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
76
86
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
77
87
  }
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
22
22
  private transitionToNext;
23
23
  isItemVisible(index: number): boolean;
24
24
  getItemClass(index: number): string;
25
- getTextColor(bgColor: string): "#ffffff" | "#000000";
25
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -0,0 +1,26 @@
1
+ import BaseSection from '../BaseSection';
2
+ import { NewsLetterContentModel, NewsLetterModal, NewsLetterStylesModel } from './news-letter.modal';
3
+ import { LayOutModel } from '../../styles/style.model';
4
+ import { RestService } from '../../services/rest.service';
5
+ import { MatSnackBar } from '@angular/material/snack-bar';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NewsLetterComponentComponent extends BaseSection {
8
+ private restservice;
9
+ private snackBar;
10
+ index?: number;
11
+ edit?: boolean;
12
+ delete?: boolean;
13
+ data?: NewsLetterModal;
14
+ styles?: NewsLetterStylesModel;
15
+ content?: NewsLetterContentModel;
16
+ constructor(restservice: RestService, snackBar: MatSnackBar);
17
+ ngOnInit(): void;
18
+ email: string;
19
+ error: boolean;
20
+ postNewsLetter(): void;
21
+ get stylesLayout(): LayOutModel;
22
+ getButtonId(index: number): string;
23
+ getButtonStyle(index: number): import("../../styles/style.model").ButtonStyleModel | undefined;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewsLetterComponentComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewsLetterComponentComponent, "simpo-news-letter-component", never, { "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
@@ -0,0 +1,19 @@
1
+ import { ActionModel, InputTextModel, Image, BannerStylesModel, DisplaySection } from './../../styles/style.model';
2
+ export interface NewsLetterModal {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: NewsLetterContentModel;
7
+ styles: NewsLetterStylesModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface NewsLetterContentModel {
11
+ inputText: InputTextModel[];
12
+ image: ImageModel;
13
+ display: DisplaySection;
14
+ }
15
+ export interface ImageModel extends Image {
16
+ showImage: boolean;
17
+ }
18
+ export interface NewsLetterStylesModel extends BannerStylesModel {
19
+ }
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#ffffff" | "#000000";
21
+ getTextColor(): "#000000" | "#ffffff";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
@@ -93,6 +93,10 @@ export declare class RestService implements OnDestroy {
93
93
  getStoreLocatorDetails(pincode: any): Observable<Object>;
94
94
  saveImagesToBusinessLibrary(mediaRequest: any): Observable<Object>;
95
95
  regenerateText(request: any): Observable<Object>;
96
+ getCategoriesHeaderData(): Observable<Object>;
97
+ getAllStores(payload: any): Observable<Object>;
98
+ getStoreById(storeId: string): Observable<Object>;
99
+ postNewsLetter(email: any): Observable<Object>;
96
100
  getFieldsToDisplay(fieldsList: any[]): any;
97
101
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
98
102
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.120",
3
+ "version": "3.6.122",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -41,6 +41,7 @@ export * from './lib/sections/header-section/header-section.component';
41
41
  export * from './lib/sections/new-testimonials/new-testimonials.component';
42
42
  export * from './lib/sections/new-services/new-services.component';
43
43
  export * from './lib/sections/moving-text/moving-text.component';
44
+ export * from './lib/sections/news-letter-component/news-letter-component.component';
44
45
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
45
46
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
46
47
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
@@ -58,6 +59,8 @@ export * from './lib/ecommerce/sections/featured-category/featured-collection.co
58
59
  export * from './lib/ecommerce/sections/customer-review/customer-review.component';
59
60
  export * from './lib/ecommerce/sections/authentication-required/authentication-required.component';
60
61
  export * from './lib/ecommerce/sections/new-collection/new-collection.component';
62
+ export * from './lib/ecommerce/sections/store-list/store-list.component';
63
+ export * from './lib/ecommerce/sections/store-page/store-page.component';
61
64
  export * from './lib/services/events.service';
62
65
  export * from './lib/services/endUser.service';
63
66
  export * from './lib/services/sanitizeHtml';
@@ -183,8 +183,9 @@
183
183
  width: 100% !important;
184
184
  max-width: 100% !important;
185
185
  }
186
+
186
187
  .address-class {
187
- width: 100vw;
188
+ width: 100vw;
188
189
  }
189
190
 
190
191
  }
@@ -213,9 +214,26 @@
213
214
  .hover-effect:hover {
214
215
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
215
216
  }
217
+
216
218
  .sidepanel-class {
217
219
  position: absolute !important;
218
220
  right: 0px;
219
221
  top: 0px;
220
222
  height: 100vh;
223
+ }
224
+
225
+ .video-call-dialog {
226
+ width: 55% !important;
227
+ height: 75vh !important;
228
+ border-radius: 18px !important;
229
+
230
+ .mat-mdc-dialog-surface {
231
+ border-radius: 22px !important;
232
+ }
233
+ }
234
+
235
+ .scroll-container-store {
236
+ .cdk-virtual-scroll-content-wrapper {
237
+ position: unset !important;
238
+ }
221
239
  }
Binary file