simpo-component-library 3.6.314 → 3.6.316

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 (229) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
  3. package/esm2022/lib/components/document/document.component.mjs +3 -3
  4. package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
  5. package/esm2022/lib/components/payment-details/payment-details.component.mjs +3 -3
  6. package/esm2022/lib/constants/business.constant.mjs +1 -1
  7. package/esm2022/lib/directive/alignment.directive.mjs +1 -1
  8. package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
  9. package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
  10. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  11. package/esm2022/lib/directive/button-editor.directive.mjs +1 -1
  12. package/esm2022/lib/directive/color.directive.mjs +1 -1
  13. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  14. package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
  15. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  16. package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
  17. package/esm2022/lib/directive/contenteditable.directive.mjs +1 -1
  18. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  19. package/esm2022/lib/directive/height.directive.mjs +1 -1
  20. package/esm2022/lib/directive/hover-animation.directive.mjs +1 -1
  21. package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
  22. package/esm2022/lib/directive/icon-directive.directive.mjs +1 -2
  23. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  24. package/esm2022/lib/directive/image-directive.directive.mjs +2 -2
  25. package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
  26. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  27. package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
  28. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  29. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +7 -4
  30. package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
  31. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
  32. package/esm2022/lib/directive/spacing.directive.mjs +1 -1
  33. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  34. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  35. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  36. package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -1
  37. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  38. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  39. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  40. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +19 -3
  41. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  42. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +1 -1
  44. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +4 -4
  45. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  46. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  49. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  50. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
  53. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  55. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  57. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  58. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  59. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  60. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  61. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  63. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  64. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
  65. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  66. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  67. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  68. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  69. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  70. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  71. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
  72. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
  73. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +181 -14
  74. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  75. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
  76. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
  77. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  78. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  79. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  80. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  81. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  82. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  83. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +178 -22
  84. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  85. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
  86. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  87. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  88. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  89. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  90. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  91. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  92. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  93. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  94. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  95. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  96. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  97. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  98. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  99. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  100. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  101. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  102. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  103. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  104. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  105. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  106. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  107. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  108. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -4
  109. package/esm2022/lib/elements/index.mjs +1 -1
  110. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  111. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  112. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  113. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  114. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  115. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  116. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +3 -3
  117. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  118. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  119. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  120. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  121. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  122. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  123. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  124. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  125. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  126. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  127. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  128. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  129. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  130. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  131. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  132. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  133. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  134. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  135. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  136. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  137. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  138. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  139. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  140. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  141. package/esm2022/lib/sections/header-section/header-section.component.mjs +15 -3
  142. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  143. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  144. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  145. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  146. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  147. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  148. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  149. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  150. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  151. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  152. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  153. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  154. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  155. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +8 -25
  156. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  157. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  158. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  159. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  160. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  161. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  162. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
  163. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  164. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  165. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  166. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  167. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  168. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  169. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  170. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  171. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  172. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  173. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  174. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  175. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  176. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  177. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
  178. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
  179. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  180. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  181. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  182. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  183. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  184. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  185. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  186. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  187. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  188. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  189. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  190. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  191. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  192. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  193. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  194. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  195. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  196. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  197. package/esm2022/lib/services/cart.service.mjs +1 -1
  198. package/esm2022/lib/services/endUser.service.mjs +1 -1
  199. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  200. package/esm2022/lib/services/rest.service.mjs +81 -8
  201. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  202. package/esm2022/lib/services/storage.service.mjs +8 -1
  203. package/esm2022/lib/styles/index.mjs +2 -1
  204. package/esm2022/lib/styles/style.model.mjs +1 -1
  205. package/esm2022/lib/styles/types.mjs +1 -1
  206. package/esm2022/lib/tokens/api-token.mjs +1 -1
  207. package/esm2022/public-api.mjs +3 -1
  208. package/fesm2022/simpo-component-library.mjs +1345 -320
  209. package/fesm2022/simpo-component-library.mjs.map +1 -1
  210. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -0
  211. package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
  212. package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
  213. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +33 -3
  214. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
  215. package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
  216. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +19 -2
  217. package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
  218. package/lib/sections/header-section/header-section.component.d.ts +3 -0
  219. package/lib/sections/moving-text/moving-text.component.d.ts +1 -2
  220. package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
  221. package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
  222. package/lib/services/rest.service.d.ts +18 -2
  223. package/lib/services/storage.service.d.ts +2 -0
  224. package/lib/styles/index.d.ts +2 -1
  225. package/package.json +1 -1
  226. package/public-api.d.ts +2 -0
  227. package/simpo-component-library-3.6.316.tgz +0 -0
  228. package/src/lib/styles/global-styles.css +272 -263
  229. package/simpo-component-library-3.6.314.tgz +0 -0
@@ -48,6 +48,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
48
48
  proceedToCheckout: boolean;
49
49
  proceedToEnrollment: boolean;
50
50
  tryAtHome: boolean;
51
+ navigateToSchemeDetails: boolean;
51
52
  ngOnInit(): void;
52
53
  ngAfterViewInit(): void;
53
54
  loginType: "PASSWORD" | "OTP";
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { StorageServiceService } from '../../../services/storage.service';
3
+ import { RestService } from '../../../services/rest.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PassbookTransactionsComponent implements OnInit {
6
+ private storageService;
7
+ private restService;
8
+ constructor(storageService: StorageServiceService, restService: RestService);
9
+ ngOnInit(): void;
10
+ getAllTransactions(): void;
11
+ allTransactions: any[];
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PassbookTransactionsComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<PassbookTransactionsComponent, "simpo-passbook-transactions", never, {}, {}, never, never, true, never>;
14
+ }
@@ -1,10 +1,23 @@
1
+ import { TemplateRef } from '@angular/core';
1
2
  import BaseSection from '../../../sections/BaseSection';
2
3
  import { ReturnsCalculatorModel, ReturnsCalculatorStyleModel } from './returns-calculator.model';
3
4
  import { LayOutModel } from '../../../styles/style.model';
4
5
  import { EventsService } from '.././../../services/events.service';
6
+ import { RestService } from '../../../services/rest.service';
7
+ import { StorageServiceService } from '../../../services/storage.service';
8
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
9
+ import { Router } from '@angular/router';
10
+ import { MessageService } from 'primeng/api';
5
11
  import * as i0 from "@angular/core";
6
12
  export declare class ReturnsCalculatorComponent extends BaseSection {
7
13
  private readonly _eventService;
14
+ private restService;
15
+ private matDialog;
16
+ private storageService;
17
+ private readonly router;
18
+ private readonly messageService;
19
+ showChargesTemplate: TemplateRef<HTMLDivElement>;
20
+ dialogRef: MatDialogRef<any>;
8
21
  data?: ReturnsCalculatorModel;
9
22
  edit?: boolean;
10
23
  customClass?: string;
@@ -15,10 +28,23 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
15
28
  monthlyAmount: number;
16
29
  maxAmount: number;
17
30
  minAmount: number;
18
- constructor(_eventService: EventsService);
31
+ metalPrice: any;
32
+ purchasedGram: number;
33
+ currentGoldRate: number;
34
+ termsAndCondition: boolean;
35
+ constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, router: Router, messageService: MessageService);
19
36
  ngOnInit(): void;
20
- onSchemeChange(): void;
37
+ maturityCount: number;
38
+ enrolledScheme: any;
39
+ selectedStore: any;
40
+ selectedStaff: any;
41
+ stores: any[];
42
+ staffMembers: any[];
43
+ onSchemeChange(scheme: any): void;
44
+ benefitAmount: number;
21
45
  onAmountChange(): void;
46
+ getStaffList(): void;
47
+ setMonthlyAmount(amount: number): void;
22
48
  get individualContribution(): number;
23
49
  get orraBonus(): number;
24
50
  get totalRedemptionValue(): number;
@@ -28,7 +54,19 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
28
54
  getButtonId(index: number): string;
29
55
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
30
56
  getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
31
- redirectTo(data: any): void;
57
+ redirectTo(scheme: any): void;
58
+ closeDialog(action: 'SUCCESS' | 'FAIL'): void;
59
+ storeCharges: any;
60
+ enrollButtonLoader: boolean;
61
+ enrollScheme(scheme: any): void;
62
+ continuePayment(payload: any): void;
63
+ allSchemes: any[];
64
+ getEnrolledSchemes(): void;
65
+ installmentOptions: number[];
66
+ openCashfreeSdk(sessionId: string): void;
67
+ getMetalPrice(): void;
68
+ get isMobile(): boolean;
69
+ goToTermsAndCondition(): void;
32
70
  static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
33
71
  static ɵcmp: i0.ɵɵComponentDeclaration<ReturnsCalculatorComponent, "simpo-returns-calculator", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
34
72
  }
@@ -1,16 +1,46 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
+ import { StorageServiceService } from '.././../../services/storage.service';
3
+ import { RestService } from '.././../../services/rest.service';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import { EventsService } from '.././../../services/events.service';
6
+ import { Router } from '@angular/router';
2
7
  import * as i0 from "@angular/core";
3
8
  export declare class SchemeDetailsComponent implements OnInit {
9
+ private storageService;
10
+ private restService;
11
+ private matDialog;
12
+ private readonly _eventService;
13
+ private readonly router;
4
14
  schemeDetails: any;
15
+ data: any;
16
+ metalPrice: any;
5
17
  gotoSchemeOverview: EventEmitter<void>;
6
- constructor();
18
+ showChargesTemplate: TemplateRef<HTMLDivElement>;
19
+ slabListTemplate: TemplateRef<HTMLDivElement>;
20
+ constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
7
21
  ngOnInit(): void;
22
+ styles: any;
8
23
  screenWidth: any;
24
+ redeemRequestLoader: boolean;
25
+ paidMonth: number;
9
26
  getScreenSize(event?: any): void;
10
27
  paymentData: any[];
11
28
  getPaymentScheme(): void;
12
29
  getDueDate(paymentDate: string | Date): number | null;
30
+ storeCharges: any;
31
+ closeDialog(): void;
32
+ paymentLoader: boolean;
33
+ payDuePayment(passBook: any): void;
34
+ continuePayment(payload: any): void;
35
+ openCashfreeSdk(sessionId: string): void;
36
+ showBenefitSlab(): void;
37
+ getAllSchemes(): void;
38
+ confirmBtnLoader: boolean;
39
+ confirmRequest(): void;
40
+ slabDetails: any[];
41
+ getvalidSlabList(): void;
13
42
  goBack(): void;
43
+ calculateEnrollmentFee(): void;
14
44
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; "data": { "alias": "data"; "required": false; }; "metalPrice": { "alias": "metalPrice"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
16
46
  }
@@ -0,0 +1,28 @@
1
+ import { SchemesComponentModel, SchemesContentModel, SchemesStylesModel } from './schemes.component.model';
2
+ import BaseSection from '../../../sections/BaseSection';
3
+ import { RestService } from '../../../services/rest.service';
4
+ import { LayOutModel, SpacingModel } from '../../../styles/style.model';
5
+ import { Router } from '@angular/router';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SchemesComponent extends BaseSection {
8
+ private restService;
9
+ private router;
10
+ data?: SchemesComponentModel;
11
+ edit?: boolean;
12
+ delete?: boolean;
13
+ index?: number;
14
+ content?: SchemesContentModel;
15
+ styles?: SchemesStylesModel;
16
+ constructor(restService: RestService, router: Router);
17
+ ngOnInit(): void;
18
+ schemes: any;
19
+ getAllSchemes(): void;
20
+ get getInputText(): string;
21
+ get stylesLayout(): LayOutModel;
22
+ get spacingLayout(): SpacingModel;
23
+ getParentClass(): "" | "overflow-scroll flex-nowrap";
24
+ getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
25
+ showSchemeDetails(scheme: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
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>;
28
+ }
@@ -0,0 +1,21 @@
1
+ import { Corners } from "../../../styles";
2
+ import { AnimationModel, BackgroundModel, DisplaySection, ImageStyle, InputTextModel, LayOutModel } from "../../../styles/style.model";
3
+ export interface SchemesComponentModel {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ content: SchemesContentModel;
8
+ styles: SchemesStylesModel;
9
+ }
10
+ export interface SchemesContentModel {
11
+ display: DisplaySection;
12
+ inputText: InputTextModel[];
13
+ }
14
+ export interface SchemesStylesModel {
15
+ layout: LayOutModel;
16
+ background: BackgroundModel;
17
+ direction: "ROW" | "COLUMN";
18
+ corners: Corners;
19
+ image: ImageStyle;
20
+ animation: AnimationModel;
21
+ }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import BaseSection from '../../../sections/BaseSection';
3
3
  import { EventsService } from '.././../../services/events.service';
4
4
  import { ProfileContentModal, ProfileStylesModal, Tabs, UserProfileModal } from './user-profile.modal';
@@ -26,6 +26,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
26
26
  private readonly messageService;
27
27
  private route;
28
28
  constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService, route: ActivatedRoute);
29
+ showChargesTemplate: TemplateRef<HTMLDivElement>;
29
30
  data?: UserProfileModal;
30
31
  index?: number;
31
32
  edit?: boolean;
@@ -39,17 +40,32 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
39
40
  addressList: any;
40
41
  orderDetailsData: any;
41
42
  schemeDetails: any;
43
+ storeListing: any[];
44
+ metalPrice: any;
42
45
  sidePanelList: Tabs[];
43
46
  tabs: Tabs[];
44
47
  orderList: OrderedItems[];
45
48
  wishlistData: OrderedItems[];
49
+ storeId: any;
46
50
  ngOnInit(): void;
51
+ checkPassbookApp(): void;
52
+ closeDialog(): void;
53
+ storeCharges: any;
54
+ payDueLoader: boolean;
55
+ payDue(payment: any): void;
56
+ continuePayment(payload: any): void;
57
+ openCashfreeSdk(sessionId: string): void;
58
+ overAllDues: any[];
59
+ getAllPassbookDues(): void;
60
+ getAllStores(): void;
47
61
  ecomConfigs: any;
48
62
  getEcommerceConfigs(): void;
49
63
  getUserOrderDetails(): void;
50
- passbookSummary: any;
64
+ totalSavings: number;
65
+ totalAccumulatedGold: number;
51
66
  userEnrollments: any[];
52
67
  paymentData: any[];
68
+ totalSchemes: any[];
53
69
  getAllSchemes(): void;
54
70
  getUserWislistDetails(): void;
55
71
  deleteFromWhislist(product: OrderedItems): void;
@@ -83,6 +99,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
83
99
  private convertHEX;
84
100
  get currency(): string;
85
101
  getOrderedItems(order: any): any;
102
+ changeStore(ev: any): void;
86
103
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
87
104
  static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", never, { "data": { "alias": "data"; "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>;
88
105
  }
@@ -22,14 +22,18 @@ export declare class VerifyComponent extends BaseSection implements OnInit {
22
22
  styles?: VerifyPaymentStylesModel;
23
23
  content?: VerifyPaymentContentModel;
24
24
  private userDetails;
25
+ paymentStatus: 'SUCCESS' | 'FAILED' | 'ONGOING';
25
26
  constructor(restService: RestService, router: Router, storageService: StorageServiceService, messageService: MessageService, _eventService: EventsService);
26
27
  loadingText: string;
27
28
  private API_COUNT;
28
29
  private MAX_API_COUNT;
30
+ private PASSBOOK_API_COUNT;
31
+ private MAX_PASSBOOK_API_COUNT;
29
32
  ngOnInit(): void;
30
33
  get getImageUrl(): string | undefined;
31
34
  get isMobile(): boolean;
32
35
  checkPaymentStatus(): void;
36
+ checkPassbookPaymentStatus(): void;
33
37
  editSection(): void;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
35
39
  static ɵcmp: i0.ɵɵComponentDeclaration<VerifyComponent, "simpo-verify-payment", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
@@ -51,6 +51,8 @@ export declare class HeaderSectionComponent implements OnInit {
51
51
  differ: any;
52
52
  ngOnInit(): void;
53
53
  ngAfterViewInit(): void;
54
+ passbookAppStatus: boolean;
55
+ checkPassbookApp(): void;
54
56
  showSearchBarMobile: boolean;
55
57
  isNavbarOpen: boolean;
56
58
  screenWidth: number;
@@ -105,6 +107,7 @@ export declare class HeaderSectionComponent implements OnInit {
105
107
  getRGBA(bgColor: any, opacity: number): any;
106
108
  showCategoryMobileHeader(): boolean;
107
109
  byMetalAndStone: any;
110
+ navigateLogin(): void;
108
111
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
109
112
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
110
113
  }
@@ -3,7 +3,6 @@ import { EventsService } from '../../services/events.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MovingTextComponent extends BaseSection {
5
5
  private _eventService;
6
- private platformId;
7
6
  data?: any;
8
7
  edit?: boolean;
9
8
  delete?: boolean;
@@ -16,7 +15,7 @@ export declare class MovingTextComponent extends BaseSection {
16
15
  private interval;
17
16
  private animationDuration;
18
17
  private displayDuration;
19
- constructor(_eventService: EventsService, platformId: Object);
18
+ constructor(_eventService: EventsService);
20
19
  ngOnInit(): void;
21
20
  ngOnDestroy(): void;
22
21
  startAnimationCycle(): void;
@@ -0,0 +1,68 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { SchemeDetailModal } from './scheme-detail.modal';
3
+ import { LayOutModel } from '../../styles/style.model';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { RestService } from '../../services/rest.service';
6
+ import { StorageServiceService } from '../../services/storage.service';
7
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
8
+ import { EventsService } from '../../services/events.service';
9
+ import { MessageService } from 'primeng/api';
10
+ import * as i0 from "@angular/core";
11
+ export declare class SchemeDetailComponent {
12
+ private activeRoute;
13
+ private restService;
14
+ private storageService;
15
+ private matDialog;
16
+ private readonly router;
17
+ private readonly _eventService;
18
+ private readonly messageService;
19
+ data: SchemeDetailModal | null;
20
+ index?: number;
21
+ edit?: boolean;
22
+ showChargesTemplate: TemplateRef<HTMLDivElement>;
23
+ dialogRef: MatDialogRef<any>;
24
+ scrollToTermsAndCondition: boolean;
25
+ constructor(activeRoute: ActivatedRoute, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog, router: Router, _eventService: EventsService, messageService: MessageService);
26
+ ngOnInit(): void;
27
+ getKeys(obj: any): string[];
28
+ Object: ObjectConstructor;
29
+ styles: any;
30
+ selectedStore: any;
31
+ selectedStaff: any;
32
+ stores: any[];
33
+ staffMembers: any[];
34
+ minAmount: number;
35
+ maxAmount: number;
36
+ monthlyAmount: number;
37
+ installmentOptions: any[];
38
+ schemeDetails: any;
39
+ maturityCount: number;
40
+ benefitAmount: number;
41
+ metalPrice: any;
42
+ purchasedGram: number;
43
+ currentGoldRate: number;
44
+ termsAndCondition: boolean;
45
+ get stylesLayout(): LayOutModel;
46
+ enrollButtonLoader: boolean;
47
+ getButtonData(index: number): import("../../styles/style.model").Button | undefined;
48
+ getButtonId(index: number): string;
49
+ getButtonStyle(index: number): import("../../styles/style.model").ButtonStyleModel | undefined;
50
+ get getInputText(): string;
51
+ screenWidth: number;
52
+ getScreenSize(event?: any): void;
53
+ getStaffList(): void;
54
+ onAmountChange(): void;
55
+ setMonthlyAmount(amount: any): void;
56
+ faqList: any[];
57
+ getSchemeDetails(schemeId: any): void;
58
+ enrollScheme(scheme: any): void;
59
+ closeDialog(action: 'SUCCESS' | 'FAIL'): void;
60
+ storeCharges: any;
61
+ continuePayment(payload: any): void;
62
+ openCashfreeSdk(sessionId: string): void;
63
+ getMetalPrice(): void;
64
+ get isMobile(): boolean;
65
+ scrollDown(): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailComponent, "simpo-scheme-detail", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
68
+ }
@@ -0,0 +1,17 @@
1
+ import { BackgroundModel, InputTextModel, LayOutModel } from "../../styles/style.model";
2
+ import { ActionModel } from '../../styles/style.model';
3
+ export interface SchemeDetailModal {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ content: SchemeDetailContentModal;
8
+ styles: SchemeDetailStylesModal;
9
+ action: ActionModel;
10
+ }
11
+ export interface SchemeDetailStylesModal {
12
+ layout: LayOutModel;
13
+ background: BackgroundModel;
14
+ }
15
+ export interface SchemeDetailContentModal {
16
+ inputText: InputTextModel[];
17
+ }
@@ -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.314",
3
+ "version": "3.6.316",
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';