simpo-component-library 3.6.444 → 3.6.446

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 (223) 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 -1
  23. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  24. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  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 +1 -1
  30. package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
  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 +3 -3
  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 +3 -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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +7 -15
  74. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  75. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  76. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
  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 +3 -3
  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 +3 -3
  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 +29 -6
  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 -3
  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 +4 -4
  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 +25 -41
  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 +3 -3
  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 +3 -3
  178. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
  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.model.mjs +1 -1
  191. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  192. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  193. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  194. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  195. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  196. package/esm2022/lib/services/cart.service.mjs +1 -1
  197. package/esm2022/lib/services/endUser.service.mjs +1 -1
  198. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  199. package/esm2022/lib/services/local-storage.token.mjs +23 -0
  200. package/esm2022/lib/services/rest.service.mjs +27 -8
  201. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  202. package/esm2022/lib/services/storage-like.mjs +2 -0
  203. package/esm2022/lib/services/storage.service.mjs +52 -35
  204. package/esm2022/lib/styles/index.mjs +1 -1
  205. package/esm2022/lib/styles/style.model.mjs +1 -1
  206. package/esm2022/lib/styles/types.mjs +1 -1
  207. package/esm2022/lib/tokens/api-token.mjs +1 -1
  208. package/esm2022/public-api.mjs +3 -1
  209. package/fesm2022/simpo-component-library.mjs +328 -265
  210. package/fesm2022/simpo-component-library.mjs.map +1 -1
  211. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  212. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +1 -3
  213. package/lib/elements/editor-service.service.d.ts +4 -1
  214. package/lib/sections/header-section/header-section.component.d.ts +3 -1
  215. package/lib/services/local-storage.token.d.ts +3 -0
  216. package/lib/services/rest.service.d.ts +4 -1
  217. package/lib/services/storage-like.d.ts +8 -0
  218. package/lib/services/storage.service.d.ts +2 -1
  219. package/package.json +1 -1
  220. package/public-api.d.ts +2 -0
  221. package/simpo-component-library-3.6.446.tgz +0 -0
  222. package/src/lib/styles/global-styles.css +272 -272
  223. package/simpo-component-library-3.6.444.tgz +0 -0
@@ -26,7 +26,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
26
26
  styles?: AuthenticationStylesModel;
27
27
  button?: ButtonModel;
28
28
  buttonId: string;
29
- currentPage: 'LOGIN' | 'SIGNUP' | 'FORGOT_PASSWORD';
29
+ currentPage: 'LOGIN' | 'SIGNUP';
30
30
  private mobileTimer;
31
31
  email: string;
32
32
  mobile: string;
@@ -4,7 +4,6 @@ import { RestService } from '.././../../services/rest.service';
4
4
  import { MatDialog } from '@angular/material/dialog';
5
5
  import { EventsService } from '.././../../services/events.service';
6
6
  import { Router } from '@angular/router';
7
- import { MatSnackBar } from '@angular/material/snack-bar';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class SchemeDetailsComponent implements OnInit {
10
9
  private storageService;
@@ -12,14 +11,13 @@ export declare class SchemeDetailsComponent implements OnInit {
12
11
  private matDialog;
13
12
  private readonly _eventService;
14
13
  private readonly router;
15
- private snackBar;
16
14
  schemeDetails: any;
17
15
  data: any;
18
16
  metalPrice: any;
19
17
  gotoSchemeOverview: EventEmitter<void>;
20
18
  showChargesTemplate: TemplateRef<HTMLDivElement>;
21
19
  slabListTemplate: TemplateRef<HTMLDivElement>;
22
- constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router, snackBar: MatSnackBar);
20
+ constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
23
21
  ngOnInit(): void;
24
22
  styles: any;
25
23
  screenWidth: any;
@@ -1,15 +1,18 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
+ import { StorageLike } from '../services/storage-like';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class ElementServiceService {
4
5
  private http;
5
6
  private BASE_URL;
6
7
  private CMIS_URL;
7
- constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string);
8
+ private storage;
9
+ constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string, storage: StorageLike);
8
10
  openSocialBrand(componentName: any, height: any, width: any, data: any): void;
9
11
  getComponentApi(businessType?: 'STATIC' | 'E_COMMERCE'): import("rxjs").Observable<Object>;
10
12
  regenerateText(request: any): import("rxjs").Observable<Object>;
11
13
  getImageLibrary(): import("rxjs").Observable<Object>;
12
14
  saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
15
+ private safeParse;
13
16
  getTemplate(): import("rxjs").Observable<Object>;
14
17
  getAllVehicleTypes(data: any): import("rxjs").Observable<Object>;
15
18
  getAllCombos(data: any): import("rxjs").Observable<Object>;
@@ -8,6 +8,7 @@ import { StorageServiceService } from '../../services/storage.service';
8
8
  import { Header_Type, ProductCardTheme } from '../../styles/index';
9
9
  import { MovingTextModal } from '../moving-text/moving-text.modal';
10
10
  import { RestService } from '../../services/rest.service';
11
+ import { StorageLike } from '../../services/storage-like';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class HeaderSectionComponent implements OnInit {
13
14
  private readonly _eventService;
@@ -17,6 +18,7 @@ export declare class HeaderSectionComponent implements OnInit {
17
18
  private readonly storageService;
18
19
  private restService;
19
20
  private eventService;
21
+ private storage;
20
22
  data?: HeaderSectionModel;
21
23
  nextComponent: any;
22
24
  index?: number;
@@ -33,7 +35,7 @@ export declare class HeaderSectionComponent implements OnInit {
33
35
  theme: typeof ProductCardTheme;
34
36
  HeaderStyling: typeof Header_Type;
35
37
  parentHeight: number;
36
- constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService);
38
+ constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
37
39
  searchChangeTimeout: any;
38
40
  waitBeforeSearch(): void;
39
41
  searchProducts(): void;
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { StorageLike } from './storage-like';
3
+ export declare const LOCAL_STORAGE: InjectionToken<StorageLike>;
@@ -5,6 +5,7 @@ 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
7
  import { CookieService } from "ngx-cookie-service";
8
+ import { StorageLike } from '../services/storage-like';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class RestService implements OnDestroy {
10
11
  private readonly http;
@@ -12,11 +13,12 @@ export declare class RestService implements OnDestroy {
12
13
  private ECOMMERCE_URL;
13
14
  private CMIS_URL;
14
15
  private readonly cookieService;
16
+ private storage;
15
17
  private environmentTypeSubscriber;
16
18
  businessDetails: any;
17
19
  subIndustryName: any;
18
20
  isJewellery: boolean;
19
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService);
21
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike);
20
22
  orraBaseUrl: string;
21
23
  passBookUrl: string;
22
24
  getBusinessDetails(): void;
@@ -81,6 +83,7 @@ export declare class RestService implements OnDestroy {
81
83
  getLeadById(leadId: any): Observable<Object>;
82
84
  getRegistrationList(payload: any): Observable<Object>;
83
85
  getAllComponentCategories(): Observable<Object>;
86
+ private safeParse;
84
87
  getTemplate(): Observable<Object>;
85
88
  getEcommerceConfigs(): Observable<Object>;
86
89
  postVideoCallDetails(payload: any): Observable<Object>;
@@ -0,0 +1,8 @@
1
+ export interface StorageLike {
2
+ length: number;
3
+ clear(): void;
4
+ getItem(key: string): string | null;
5
+ key(index: number): string | null;
6
+ removeItem(key: string): void;
7
+ setItem(key: string, value: string): void;
8
+ }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.444",
3
+ "version": "3.6.446",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -70,6 +70,8 @@ export * from './lib/services/events.service';
70
70
  export * from './lib/services/endUser.service';
71
71
  export * from './lib/services/sanitizeHtml';
72
72
  export * from './lib/tokens/api-token';
73
+ export * from './lib/services/storage-like';
74
+ export * from './lib/services/local-storage.token';
73
75
  export * from './lib/directive/animation-directive';
74
76
  export * from './lib/directive/background-directive';
75
77
  export * from './lib/directive/banner-content-fit-directive';