simpo-component-library 3.6.319 → 3.6.320

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 (72) 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/set-dynamic-background.directive.mjs +2 -2
  4. package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
  5. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +19 -3
  6. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
  7. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
  8. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +193 -14
  9. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
  10. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
  11. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +179 -22
  12. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
  13. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -24
  14. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -4
  15. package/esm2022/lib/elements/index.mjs +2 -2
  16. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +7 -27
  17. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  18. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -5
  19. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  20. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -6
  21. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  22. package/esm2022/lib/sections/header-section/header-section.component.mjs +15 -3
  23. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  24. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  25. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
  26. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
  27. package/esm2022/lib/sections/service-section/service-section.component.mjs +9 -12
  28. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  29. package/esm2022/lib/services/rest.service.mjs +80 -7
  30. package/esm2022/lib/services/storage.service.mjs +8 -1
  31. package/esm2022/lib/styles/index.mjs +2 -1
  32. package/esm2022/lib/styles/style.model.mjs +1 -1
  33. package/esm2022/public-api.mjs +3 -1
  34. package/fesm2022/simpo-component-library.mjs +1653 -642
  35. package/fesm2022/simpo-component-library.mjs.map +1 -1
  36. package/lib/directive/background-directive.d.ts +1 -1
  37. package/lib/directive/button-directive.directive.d.ts +1 -1
  38. package/lib/directive/color.directive.d.ts +1 -1
  39. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
  40. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  41. package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
  42. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
  43. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  44. package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
  45. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +35 -3
  46. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
  47. package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
  48. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
  49. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
  50. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +19 -2
  51. package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
  52. package/lib/elements/below-image-card/below-image-card.component.d.ts +0 -2
  53. package/lib/elements/image-editor/image-editor.component.d.ts +0 -2
  54. package/lib/elements/link-editor/link-editor.component.d.ts +3 -7
  55. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  56. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  57. package/lib/sections/contact-us/contact-us.component.d.ts +1 -2
  58. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  59. package/lib/sections/header-section/header-section.component.d.ts +4 -1
  60. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  61. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  62. package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
  63. package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
  64. package/lib/sections/service-section/service-section.model.d.ts +1 -2
  65. package/lib/services/rest.service.d.ts +18 -2
  66. package/lib/services/storage.service.d.ts +2 -0
  67. package/lib/styles/index.d.ts +2 -1
  68. package/lib/styles/style.model.d.ts +0 -7
  69. package/package.json +1 -1
  70. package/public-api.d.ts +2 -0
  71. package/simpo-component-library-3.6.320.tgz +0 -0
  72. package/simpo-component-library-3.6.319.tgz +0 -0
@@ -1,4 +1,4 @@
1
- import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
1
+ import { ActionModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
2
2
  export interface ServiceSectionModal {
3
3
  id: string;
4
4
  sectionType: string;
@@ -25,7 +25,6 @@ export interface ServiceStylesModel extends StylesModel, CardStyles {
25
25
  export interface ServiceItemModal {
26
26
  image: Image;
27
27
  icon: Icon;
28
- background: BackgroundModel;
29
28
  inputText: InputTextModel[];
30
29
  button: Button;
31
30
  }
@@ -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",
@@ -65,7 +65,6 @@ export interface BackgroundModel {
65
65
  secondaryColor: string;
66
66
  backgroundGradientDirection: GRADIENT_DIRECTION;
67
67
  backgroundAnimation?: BACKGROUND_ANIMATION;
68
- showBackground?: boolean;
69
68
  }
70
69
  export interface AnimationModel {
71
70
  type: ANIMATION_DIRECTION;
@@ -101,8 +100,6 @@ export interface Button {
101
100
  redirectionUrl: string;
102
101
  pageId: string;
103
102
  newTab: boolean;
104
- showIcon?: boolean;
105
- icon?: Icon | any;
106
103
  }
107
104
  export interface NavbarButton {
108
105
  label: string;
@@ -178,10 +175,6 @@ export interface Icon {
178
175
  color: string;
179
176
  showBackground?: boolean;
180
177
  backgroundColor?: string;
181
- backgroundType?: BACKGROUND_TYPE;
182
- secondaryColor?: string;
183
- backgroundGradientDirection?: GRADIENT_DIRECTION;
184
- iconPosition?: 'left' | 'right';
185
178
  }
186
179
  export interface ButtonStyleModel {
187
180
  type: BUTTON_TYPE;
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.320",
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