simpo-component-library 3.6.161 → 3.6.163

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 (44) hide show
  1. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  2. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  3. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +2 -2
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -4
  5. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  8. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  9. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  10. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  11. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +20 -4
  13. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +31 -5
  14. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +129 -94
  15. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  16. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  17. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  18. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  19. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +4 -4
  20. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  21. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +2 -2
  22. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  23. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +12 -3
  24. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  25. package/esm2022/lib/sections/header-section/header-section.component.mjs +16 -3
  26. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  27. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  28. package/esm2022/lib/services/rest.service.mjs +4 -1
  29. package/fesm2022/simpo-component-library.mjs +248 -184
  30. package/fesm2022/simpo-component-library.mjs.map +1 -1
  31. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +6 -0
  32. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +7 -0
  33. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +22 -14
  34. package/lib/elements/text-editor/text-editor.component.d.ts +1 -0
  35. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  36. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  37. package/lib/sections/header-section/header-section.component.d.ts +3 -0
  38. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  39. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  40. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  41. package/lib/services/rest.service.d.ts +1 -0
  42. package/package.json +1 -1
  43. package/simpo-component-library-3.6.163.tgz +0 -0
  44. package/simpo-component-library-3.6.161.tgz +0 -0
@@ -36,6 +36,12 @@ export declare class OrderDetailsComponent implements OnInit {
36
36
  trackOrder(): void;
37
37
  productReview: number;
38
38
  submitReview(item: any): void;
39
+ sectionsVisible: {
40
+ billDetails: boolean;
41
+ deliveryDetails: boolean;
42
+ timeline: boolean;
43
+ };
44
+ toggleSection(section: keyof typeof this.sectionsVisible): void;
39
45
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
40
46
  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>;
41
47
  }
@@ -60,6 +60,7 @@ export declare class ProductDescComponent extends BaseSection {
60
60
  items: MenuItem[] | null;
61
61
  businessDetails: any;
62
62
  trialCartItem: any[];
63
+ isPinCode: boolean;
63
64
  ngOnInit(): void;
64
65
  varientLoading: boolean;
65
66
  recentViewItemList: Product[];
@@ -135,6 +136,12 @@ export declare class ProductDescComponent extends BaseSection {
135
136
  closeDialog(): void;
136
137
  getRatings(noofratings: any): any;
137
138
  addToTrialCart(): void;
139
+ reviewsData: any[];
140
+ ratingCounts: any;
141
+ pageNumber: number;
142
+ loadMoreReviews(): void;
143
+ getReviews(productId: string): void;
144
+ getPercentage(rating: number): string;
138
145
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
139
146
  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>;
140
147
  }
@@ -1,8 +1,9 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { ItemVariant, Product } from '../../styles/product.modal';
2
3
  import BaseSection from '../../../sections/BaseSection';
3
4
  import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
4
- import { EventsService } from '.././../../services/events.service';
5
- import { RestService } from '.././../../services/rest.service';
5
+ import { EventsService } from '../../../services/events.service';
6
+ import { RestService } from '../../../services/rest.service';
6
7
  import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
7
8
  import { ActivatedRoute, Router } from '@angular/router';
8
9
  import { StorageServiceService } from '../../../services/storage.service';
@@ -38,15 +39,12 @@ export declare class ProductListComponent extends BaseSection {
38
39
  nextComponentColor?: BackgroundModel;
39
40
  isLoading: boolean;
40
41
  apiLoading: boolean;
42
+ isListLoading: boolean;
43
+ isAllListLoaded: boolean;
41
44
  content?: ProductListContentModal;
42
45
  button?: ButtonModel;
43
46
  totalPages: number;
44
47
  scrollingValue: number;
45
- onWindowScroll(event: Event): void;
46
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
47
- items: MenuItem[] | null;
48
- private filterBottomSheetRef;
49
- private sortingDialogRef;
50
48
  pricingMin: number;
51
49
  pricingMax: number;
52
50
  sortBy: string | null;
@@ -60,7 +58,6 @@ export declare class ProductListComponent extends BaseSection {
60
58
  value: string;
61
59
  }[];
62
60
  screenWidth: number;
63
- getScreenSize(): void;
64
61
  filterList: any[];
65
62
  styles?: ProductListStylesModal;
66
63
  totalCount: number;
@@ -68,12 +65,24 @@ export declare class ProductListComponent extends BaseSection {
68
65
  size: number;
69
66
  searchTxt: string;
70
67
  theme: typeof ProductCardTheme;
68
+ items: MenuItem[] | null;
69
+ private filterBottomSheetRef;
70
+ private sortingDialogRef;
71
+ categories: BaseModel[];
72
+ collections: BaseModel[];
73
+ imageIndex: number;
74
+ listScrollContainer: ElementRef<HTMLDivElement>;
75
+ getScreenSize(): void;
76
+ onWindowScroll(event: Event): void;
77
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
78
+ handleProductListScroll(): void;
79
+ loadMoreProductsToList(): void;
71
80
  ngOnInit(): void;
72
- getButtonId(index: number): string;
73
- getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
74
81
  filterByCategoryCollectionParam(qCategories: any, qCollections: any): void;
75
82
  getAllCategories(): void;
76
83
  getAllCollections(): void;
84
+ filterItemList(): void;
85
+ updateProductCartWishlistProperties(): void;
77
86
  removeFilter(filter: any): void;
78
87
  applyProductWidth(): boolean;
79
88
  getProductWidth(): string;
@@ -85,11 +94,8 @@ export declare class ProductListComponent extends BaseSection {
85
94
  selectVarient(product: Product, varient: ItemVariant): void;
86
95
  private getVarientQuantity;
87
96
  private isVarientPresentInWishtlist;
88
- categories: BaseModel[];
89
- collections: BaseModel[];
90
97
  applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
91
98
  navigateFilter(sorting: string): void;
92
- filterItemList(): void;
93
99
  openFilter(FilterSection: any): void;
94
100
  openSorting(SortingSection: any): void;
95
101
  paginationChange(page: number): void;
@@ -100,8 +106,10 @@ export declare class ProductListComponent extends BaseSection {
100
106
  get currency(): string;
101
107
  get minSize(): number;
102
108
  getProductImages(product: any): any;
103
- imageIndex: number;
104
109
  changeImage(product: any, action: 'PREV' | 'NEXT', index: number): Promise<void>;
110
+ getButtonId(index: number): string;
111
+ getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
112
+ getElementRow(): number;
105
113
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
106
114
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
107
115
  }
@@ -44,6 +44,7 @@ export declare class TextEditorComponent {
44
44
  restoreSelection(): void;
45
45
  onPaste(event: ClipboardEvent): void;
46
46
  stripStyles(html: string): string;
47
+ getText(): string;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
48
49
  static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
49
50
  }
@@ -25,8 +25,8 @@ 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" | "0.7" | "0.5" | "0.3" | "0.2";
29
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
30
30
  editSection(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  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>;
@@ -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.2" | "0.3" | "0.5" | "0.7";
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>;
@@ -32,6 +32,8 @@ export declare class HeaderSectionComponent implements OnInit {
32
32
  HeaderStyling: typeof Header_Type;
33
33
  parentHeight: number;
34
34
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService);
35
+ searchChangeTimeout: any;
36
+ waitBeforeSearch(): void;
35
37
  searchProducts(): void;
36
38
  goToFav(): void;
37
39
  get stylesLayout(): LayOutModel;
@@ -82,6 +84,7 @@ export declare class HeaderSectionComponent implements OnInit {
82
84
  getCategoriesHeader(): void;
83
85
  Object: ObjectConstructor;
84
86
  applyFilterToList(obj: any, type: any): void;
87
+ filterByCategory(): void;
85
88
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
86
89
  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>;
87
90
  }
@@ -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.2" | "0.3" | "0.5" | "0.7";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -24,7 +24,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
26
  get animationDuration(): logoSpeed;
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
21
21
  idx: number;
22
22
  getImageData(): import("../../styles/style.model").Image | undefined;
23
23
  getImageUrl(): string | undefined;
24
- getImageType(): "Image" | "Video";
24
+ getImageType(): "Video" | "Image";
25
25
  editSection(): void;
26
26
  stopPropagation(event: any): void;
27
27
  screenWidth: any;
@@ -96,6 +96,7 @@ export declare class RestService implements OnDestroy {
96
96
  deleteItemFromCart(request: checkItemAlreadyAdded): Observable<Object>;
97
97
  bookAppointment(request: any): Observable<Object>;
98
98
  createEnrollmentScheme(enrollement: any): Observable<Object>;
99
+ getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
99
100
  getFieldsToDisplay(fieldsList: any[]): any;
100
101
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
101
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.161",
3
+ "version": "3.6.163",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file