simpo-component-library 3.6.917 → 3.6.919

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 (47) hide show
  1. package/esm2022/lib/directive/background-directive.mjs +16 -5
  2. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -60
  3. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +58 -60
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +1 -56
  5. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  6. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  7. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
  8. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  9. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +2 -2
  10. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
  11. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +2 -2
  12. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
  13. package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +2 -2
  14. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
  15. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +2 -2
  16. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
  17. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
  18. package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
  19. package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
  20. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +2 -2
  21. package/esm2022/lib/sections/image-section/image-section.component.mjs +2 -2
  22. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +18 -8
  23. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +2 -2
  24. package/esm2022/lib/sections/new-services/new-services.component.mjs +2 -2
  25. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +2 -2
  26. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +2 -2
  27. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
  28. package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +2 -2
  29. package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
  30. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +2 -2
  31. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +2 -2
  32. package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
  33. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  34. package/esm2022/lib/services/rest.service.mjs +4 -17
  35. package/esm2022/lib/tokens/api-token.mjs +2 -2
  36. package/fesm2022/simpo-component-library.mjs +130 -233
  37. package/fesm2022/simpo-component-library.mjs.map +1 -1
  38. package/lib/directive/background-directive.d.ts +2 -1
  39. package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -1
  40. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +0 -1
  41. package/lib/elements/simpo-button/simpo-button.component.d.ts +2 -1
  42. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +4 -1
  43. package/lib/services/rest.service.d.ts +1 -5
  44. package/lib/tokens/api-token.d.ts +0 -1
  45. package/package.json +1 -1
  46. package/simpo-component-library-3.6.919.tgz +0 -0
  47. package/simpo-component-library-3.6.917.tgz +0 -0
@@ -5,10 +5,11 @@ import * as i0 from "@angular/core";
5
5
  export declare class BackgroundDirective implements OnChanges, OnDestroy {
6
6
  private el;
7
7
  private eventService;
8
+ private platformId;
8
9
  simpoBackground?: BackgroundModel;
9
10
  scrollValue?: number;
10
11
  eventEmmitter: any;
11
- constructor(el: ElementRef, eventService: EventsService);
12
+ constructor(el: ElementRef, eventService: EventsService, platformId: Object);
12
13
  ngOnDestroy(): void;
13
14
  ngOnChanges(change: SimpleChanges): void;
14
15
  /** Returns the unique video element id for this host element */
@@ -161,7 +161,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
161
161
  get getRemainingPoints(): number;
162
162
  get getRemainingRupees(): any;
163
163
  paymentWithCompletePoints(): void;
164
- getCartRecommendations(): void;
165
164
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
166
165
  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>;
167
166
  }
@@ -165,7 +165,6 @@ export declare class ProductDescComponent extends BaseSection {
165
165
  showDetailReview(review: any): void;
166
166
  get stylesLayout(): LayOutModel;
167
167
  getDateAfterxDays(): Date;
168
- getProductDescriptionRecommendations(): void;
169
168
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
170
169
  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>;
171
170
  }
@@ -13,9 +13,10 @@ export declare class SimpoButtonComponent {
13
13
  disabled?: boolean;
14
14
  loading?: boolean;
15
15
  isFullWidth?: boolean;
16
+ itemIndex?: number;
16
17
  constructor(_eventService: EventsService);
17
18
  ngOnInit(): void;
18
19
  redirectTo(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; }, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; }, {}, never, never, true, never>;
21
22
  }
@@ -22,8 +22,11 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
22
22
  isFullWidth: boolean;
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
+ get carouselItems(): import("./logo-showcase.modal").LogoShowcaseItemModel[];
26
+ get originalItemsLength(): number;
27
+ trackByIndex(index: number): number;
25
28
  get stylesLayout(): LayOutModel;
26
- get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "18s" | "6s" | "5s";
29
+ get animationDuration(): "8s" | logoSpeed.Normal | "25s" | "20s" | "15s" | "10s";
27
30
  get animationDirection(): logoDirection.Left | "reverse" | "normal";
28
31
  get isMobile(): boolean;
29
32
  get getPositionLayout(): PositionLayoutModal;
@@ -16,12 +16,11 @@ export declare class RestService implements OnDestroy {
16
16
  private storage;
17
17
  private PASSBOOK_URL;
18
18
  private APPOINTMENT_URL;
19
- private RECOMMENDATION_URL;
20
19
  private environmentTypeSubscriber;
21
20
  businessDetails: any;
22
21
  subIndustryName: any;
23
22
  isJewellery: boolean;
24
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike, PASSBOOK_URL: string, APPOINTMENT_URL: string, RECOMMENDATION_URL: string);
23
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike, PASSBOOK_URL: string, APPOINTMENT_URL: string);
25
24
  orraBaseUrl: string;
26
25
  getBusinessDetails(): void;
27
26
  ngOnDestroy(): void;
@@ -153,9 +152,6 @@ export declare class RestService implements OnDestroy {
153
152
  flush(eventsToSend: any): void;
154
153
  getPopularSearches(): Observable<Object>;
155
154
  getMenuItems(menuId: any): Observable<Object>;
156
- getHomeRecommendations(businessId: any, UserId: any): Observable<Object>;
157
- getCartRecommendations(businessId: any, UserId: any): Observable<Object>;
158
- getProductDescriptionRecommendations(businessId: any, UserId: any): Observable<Object>;
159
155
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
160
156
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
161
157
  }
@@ -5,4 +5,3 @@ export declare const CMIS_URL: InjectionToken<String>;
5
5
  export declare const BUCKET_URL: InjectionToken<String>;
6
6
  export declare const PASSBOOK_URL: InjectionToken<String>;
7
7
  export declare const APPOINTMENT_URL: InjectionToken<String>;
8
- export declare const RECOMMENDATION_URL: InjectionToken<String>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.917",
3
+ "version": "3.6.919",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file