simpo-component-library 3.6.319 → 3.6.323

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 (62) hide show
  1. package/esm2022/lib/directive/icon-directive.directive.mjs +1 -2
  2. package/esm2022/lib/directive/image-directive.directive.mjs +2 -2
  3. package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
  4. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +19 -3
  5. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
  6. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
  7. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +193 -14
  8. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
  9. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
  10. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +179 -22
  11. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
  12. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  13. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
  14. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  15. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  16. package/esm2022/lib/sections/header-section/header-section.component.mjs +15 -3
  17. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +13 -4
  18. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
  19. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
  20. package/esm2022/lib/services/rest.service.mjs +80 -7
  21. package/esm2022/lib/services/storage.service.mjs +8 -1
  22. package/esm2022/lib/styles/index.mjs +2 -1
  23. package/esm2022/public-api.mjs +3 -1
  24. package/fesm2022/simpo-component-library.mjs +1223 -161
  25. package/fesm2022/simpo-component-library.mjs.map +1 -1
  26. package/lib/directive/background-directive.d.ts +1 -1
  27. package/lib/directive/button-directive.directive.d.ts +1 -1
  28. package/lib/directive/color.directive.d.ts +1 -1
  29. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
  30. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  31. package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
  32. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
  33. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  34. package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
  35. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +35 -3
  36. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
  37. package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
  38. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
  39. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
  40. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +19 -2
  41. package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
  42. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  43. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  44. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  45. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  46. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  47. package/lib/sections/contact-us/contact-us.component.d.ts +2 -2
  48. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  49. package/lib/sections/header-section/header-section.component.d.ts +4 -1
  50. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  51. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -1
  52. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  53. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  54. package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
  55. package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
  56. package/lib/services/rest.service.d.ts +18 -2
  57. package/lib/services/storage.service.d.ts +2 -0
  58. package/lib/styles/index.d.ts +2 -1
  59. package/package.json +1 -1
  60. package/public-api.d.ts +2 -0
  61. package/simpo-component-library-3.6.323.tgz +0 -0
  62. package/simpo-component-library-3.6.319.tgz +0 -0
@@ -4,24 +4,28 @@ import { Observable } from "rxjs";
4
4
  import { Review } from "../ecommerce/styles/review.modal";
5
5
  import { DeviceInfo } from "../ecommerce/styles/user.modal";
6
6
  import { checkItemAlreadyAdded, syncItemToServerDBRequest } from "../ecommerce/styles/product.modal";
7
+ import { CookieService } from "ngx-cookie-service";
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class RestService implements OnDestroy {
9
10
  private readonly http;
10
11
  private BASE_URL;
11
12
  private ECOMMERCE_URL;
12
13
  private CMIS_URL;
14
+ private readonly cookieService;
13
15
  private environmentTypeSubscriber;
14
16
  businessDetails: any;
15
17
  subIndustryName: any;
16
18
  isJewellery: boolean;
17
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
19
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService);
18
20
  orraBaseUrl: string;
21
+ passBookUrl: string;
19
22
  getBusinessDetails(): void;
20
23
  ngOnDestroy(): void;
21
24
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
22
25
  getCategoriesByCollectionId(collectionId: string): Observable<any>;
26
+ getPassbookOrderStatus(orderId: any): Observable<Object>;
23
27
  getProductBySelectedCategory(categoryId: string): Observable<Object>;
24
- getAllSchemes(userCode?: any): any;
28
+ getAllSchemes(userId?: any, storeId?: any): any;
25
29
  getAllRedemptionSchemes(): Observable<Object>;
26
30
  getProductDetails(productId?: string | null): Observable<any>;
27
31
  getCollectionByIds(collectionIds: string[]): Observable<any>;
@@ -104,6 +108,18 @@ export declare class RestService implements OnDestroy {
104
108
  redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
105
109
  getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
106
110
  getFieldsToDisplay(fieldsList: any[]): any;
111
+ generateToken(bId: any, userId: any): Observable<Object>;
112
+ getAllEnrolledSchemes(payload: any): Observable<Object>;
113
+ enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
114
+ getBenefitSlab(passbookId?: any): Observable<Object>;
115
+ getAllStaffList(): Observable<Object>;
116
+ requestRedeemption(passbookId: any): Observable<Object>;
117
+ PassbookAppStatus(bId: any): Observable<Object>;
118
+ getAllPassbookDues(bId: any, userId: any): Observable<Object>;
119
+ getToken(): string;
120
+ getAllTransactions(payload: any): Observable<Object>;
121
+ getSchemeDetails(schemeId: any): Observable<Object>;
122
+ getMetalPrice(storeId: any): Observable<Object>;
107
123
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
108
124
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
109
125
  }
@@ -25,6 +25,8 @@ export declare class StorageServiceService {
25
25
  userCollectionRef: IDBObjectStore | null;
26
26
  trialCartCollectionRef: IDBObjectStore | null;
27
27
  createDataBase(): Promise<void>;
28
+ setToken(token: any): void;
29
+ getToken(): void;
28
30
  updateAllData(): void;
29
31
  mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
30
32
  getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
@@ -168,7 +168,8 @@ export declare enum ImageRatio {
168
168
  SQUARE = "1:1",
169
169
  PORTRAIT = "2:3",
170
170
  LANDSCAPE = "3:2",
171
- WIDESCREEN = "16:9"
171
+ WIDESCREEN = "16:9",
172
+ RECTANGULAR = "16:5"
172
173
  }
173
174
  export declare enum AlignContent {
174
175
  Image_TOP = "top",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.319",
3
+ "version": "3.6.323",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -42,6 +42,8 @@ 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
44
  export * from './lib/sections/news-letter-component/news-letter-component.component';
45
+ export * from './lib/sections/scheme-detail/scheme-detail.component';
46
+ export * from './lib/ecommerce/sections/schemes/schemes.component';
45
47
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
46
48
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
47
49
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file