simpo-component-library 3.6.915 → 3.6.916

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 (26) hide show
  1. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -60
  2. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +52 -54
  3. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +1 -56
  4. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +6 -6
  5. package/esm2022/lib/services/rest.service.mjs +4 -17
  6. package/esm2022/lib/tokens/api-token.mjs +2 -2
  7. package/fesm2022/simpo-component-library.mjs +64 -189
  8. package/fesm2022/simpo-component-library.mjs.map +1 -1
  9. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  10. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  11. package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -1
  12. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  13. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  14. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -2
  16. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  17. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
  18. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  19. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  20. package/lib/sections/logo-showcase/logo-showcase.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 +1 -5
  23. package/lib/tokens/api-token.d.ts +0 -1
  24. package/package.json +1 -1
  25. package/simpo-component-library-3.6.916.tgz +0 -0
  26. package/simpo-component-library-3.6.915.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;
@@ -94,7 +94,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
94
94
  validateNumber(event: KeyboardEvent): void;
95
95
  validateOTP(event: KeyboardEvent): void;
96
96
  checkStrength(): void;
97
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
97
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
98
98
  emailDebounceTimer: any;
99
99
  onEmailChange(): void;
100
100
  emailCheck: boolean;
@@ -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
  }
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
40
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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>;
43
43
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-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>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  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>;
39
39
  }
@@ -127,7 +127,7 @@ export declare class ProductDescComponent extends BaseSection {
127
127
  getTextColor(color: any): "#000000" | "#ffffff";
128
128
  languages: string[];
129
129
  selectedLang: string;
130
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
130
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
131
131
  onFindInStore(id: string): void;
132
132
  onBookAppointment(): void;
133
133
  isDetails: boolean;
@@ -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
  }
@@ -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>;
@@ -32,7 +32,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
32
32
  get stylesLayout(): LayOutModel;
33
33
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
34
34
  get getBackgroundColor(): BackgroundModel;
35
- get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
35
+ get getBackgroundOpacity(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
36
36
  opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
37
37
  editSection(): void;
38
38
  getScreenSize(): number;
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -26,7 +26,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
26
26
  get originalItemsLength(): number;
27
27
  trackByIndex(index: number): number;
28
28
  get stylesLayout(): LayOutModel;
29
- get animationDuration(): "18s" | "13s" | "10s" | "7s" | "5s" | logoSpeed.Normal;
29
+ get animationDuration(): "25s" | "20s" | "15s" | "10s" | "8s" | logoSpeed.Normal;
30
30
  get animationDirection(): "reverse" | "normal" | logoDirection.Left;
31
31
  get isMobile(): boolean;
32
32
  get getPositionLayout(): PositionLayoutModal;
@@ -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>;
@@ -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.915",
3
+ "version": "3.6.916",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file