simpo-component-library 3.6.325 → 3.6.327

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 (76) 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 +8 -5
  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/cart/cart.component.mjs +4 -4
  7. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  8. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
  9. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
  10. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +193 -14
  11. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
  12. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
  13. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +179 -22
  14. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
  15. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +24 -3
  16. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +4 -4
  17. package/esm2022/lib/elements/index.mjs +2 -2
  18. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +27 -7
  19. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  20. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
  21. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
  22. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  23. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  24. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  25. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
  26. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  27. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  28. package/esm2022/lib/sections/header-section/header-section.component.mjs +48 -17
  29. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +13 -4
  30. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  31. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
  32. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
  33. package/esm2022/lib/sections/service-section/service-section.component.mjs +12 -9
  34. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  35. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  36. package/esm2022/lib/services/rest.service.mjs +80 -7
  37. package/esm2022/lib/services/storage.service.mjs +59 -35
  38. package/esm2022/lib/styles/index.mjs +2 -1
  39. package/esm2022/lib/styles/style.model.mjs +1 -1
  40. package/esm2022/public-api.mjs +3 -1
  41. package/fesm2022/simpo-component-library.mjs +2140 -1013
  42. package/fesm2022/simpo-component-library.mjs.map +1 -1
  43. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
  44. package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
  45. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  46. package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
  47. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +35 -3
  48. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
  49. package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
  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 +2 -0
  53. package/lib/elements/image-editor/image-editor.component.d.ts +2 -0
  54. package/lib/elements/link-editor/link-editor.component.d.ts +7 -3
  55. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  56. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  57. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  58. package/lib/sections/contact-us/contact-us.component.d.ts +1 -0
  59. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  60. package/lib/sections/header-section/header-section.component.d.ts +4 -2
  61. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  62. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -1
  63. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  64. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  65. package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
  66. package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
  67. package/lib/sections/service-section/service-section.model.d.ts +2 -1
  68. package/lib/services/rest.service.d.ts +18 -2
  69. package/lib/services/storage.service.d.ts +4 -1
  70. package/lib/styles/index.d.ts +2 -1
  71. package/lib/styles/style.model.d.ts +7 -0
  72. package/package.json +1 -1
  73. package/public-api.d.ts +2 -0
  74. package/simpo-component-library-3.6.327.tgz +0 -0
  75. package/src/lib/styles/global-styles.css +9 -0
  76. package/simpo-component-library-3.6.325.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
  }
@@ -10,7 +10,8 @@ export declare class StorageServiceService {
10
10
  private readonly cookieService;
11
11
  private readonly restService;
12
12
  private router;
13
- constructor(eventService: EventsService, cookieService: CookieService, restService: RestService, router: Router);
13
+ private platformId;
14
+ constructor(eventService: EventsService, cookieService: CookieService, restService: RestService, router: Router, platformId: Object);
14
15
  private totalCartItems;
15
16
  get getTotalCartItems(): number;
16
17
  databaseName: string;
@@ -25,6 +26,8 @@ export declare class StorageServiceService {
25
26
  userCollectionRef: IDBObjectStore | null;
26
27
  trialCartCollectionRef: IDBObjectStore | null;
27
28
  createDataBase(): Promise<void>;
29
+ setToken(token: any): void;
30
+ getToken(): void;
28
31
  updateAllData(): void;
29
32
  mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
30
33
  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,6 +65,7 @@ export interface BackgroundModel {
65
65
  secondaryColor: string;
66
66
  backgroundGradientDirection: GRADIENT_DIRECTION;
67
67
  backgroundAnimation?: BACKGROUND_ANIMATION;
68
+ showBackground?: boolean;
68
69
  }
69
70
  export interface AnimationModel {
70
71
  type: ANIMATION_DIRECTION;
@@ -100,6 +101,8 @@ export interface Button {
100
101
  redirectionUrl: string;
101
102
  pageId: string;
102
103
  newTab: boolean;
104
+ showIcon?: boolean;
105
+ icon?: Icon | any;
103
106
  }
104
107
  export interface NavbarButton {
105
108
  label: string;
@@ -175,6 +178,10 @@ export interface Icon {
175
178
  color: string;
176
179
  showBackground?: boolean;
177
180
  backgroundColor?: string;
181
+ backgroundType?: BACKGROUND_TYPE;
182
+ secondaryColor?: string;
183
+ backgroundGradientDirection?: GRADIENT_DIRECTION;
184
+ iconPosition?: 'left' | 'right';
178
185
  }
179
186
  export interface ButtonStyleModel {
180
187
  type: BUTTON_TYPE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.325",
3
+ "version": "3.6.327",
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';
@@ -14,6 +14,15 @@
14
14
  box-shadow: none !important;
15
15
  animation: slideInLeft 0.5s ease-in-out forwards;
16
16
  }
17
+ .dropdown-menu {
18
+ .dropdown-item {
19
+ border-bottom: unset !important;
20
+ font-family: var(--website-font-family) !important;
21
+ }
22
+ .dropdown-item:active{
23
+ background-color: transparent !important;
24
+ }
25
+ }
17
26
 
18
27
  .add-section.closing {
19
28
  animation: slideOutLeft 0.5 s ease-in-out forwards;
Binary file