simpo-component-library 3.6.644 → 3.6.645

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 (228) 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/letters-only.directive.mjs +1 -1
  28. package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
  29. package/esm2022/lib/directive/numbers-only.directive.mjs +1 -1
  30. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  31. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +1 -1
  32. package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
  33. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
  34. package/esm2022/lib/directive/spacing.directive.mjs +1 -1
  35. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  36. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  37. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  38. package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -1
  39. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  40. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  41. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +170 -89
  43. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  44. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +171 -63
  45. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.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.modal.mjs +1 -1
  58. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  59. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  60. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  61. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  62. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
  63. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  64. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  65. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +494 -157
  66. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  67. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +108 -17
  68. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  69. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
  70. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
  71. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  72. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  73. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  74. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
  75. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  76. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  77. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  78. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  79. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  80. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  81. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +1 -1
  82. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  83. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  84. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  85. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  86. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  87. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  88. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  89. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  90. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  91. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  92. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  93. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  94. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  95. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  96. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  97. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  98. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  99. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  100. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  101. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  102. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  103. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  104. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  105. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  106. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +1 -1
  107. package/esm2022/lib/elements/index.mjs +1 -1
  108. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  109. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  110. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  111. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  112. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +3 -3
  113. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +12 -3
  114. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  115. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  116. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  117. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  118. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  119. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  120. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  121. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  122. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
  123. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  124. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  125. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
  126. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +1 -1
  127. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  128. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
  129. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  130. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  131. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +2 -2
  132. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
  133. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  134. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  135. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  136. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  137. package/esm2022/lib/sections/footer/footer.component.mjs +1 -1
  138. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  139. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
  140. package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
  141. package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
  142. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  143. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +2 -2
  144. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  145. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  146. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  147. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  148. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  149. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  150. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  151. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  152. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +2 -2
  153. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  154. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
  155. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  156. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +2 -2
  157. package/esm2022/lib/sections/new-services/new-services.component.mjs +4 -4
  158. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  159. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +4 -4
  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/overlapping-image/overlapping-image.component.mjs +2 -2
  164. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
  165. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  166. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  167. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  168. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  169. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  170. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  171. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  172. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  173. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  174. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  175. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  176. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  177. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  178. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
  179. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
  180. package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
  181. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  182. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  183. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  184. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  185. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  186. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  187. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  188. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  189. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  190. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  191. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +2 -2
  192. package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
  193. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  194. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  195. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  196. package/esm2022/lib/sections/video-section/video-section.component.mjs +1 -1
  197. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  198. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +1 -1
  199. package/esm2022/lib/services/analytics.service.mjs +160 -0
  200. package/esm2022/lib/services/cart.service.mjs +44 -5
  201. package/esm2022/lib/services/endUser.service.mjs +1 -1
  202. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  203. package/esm2022/lib/services/rest.service.mjs +5 -1
  204. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  205. package/esm2022/lib/styles/index.mjs +2 -2
  206. package/esm2022/lib/styles/types.mjs +1 -1
  207. package/esm2022/lib/tokens/api-token.mjs +1 -1
  208. package/fesm2022/simpo-component-library.mjs +1261 -461
  209. package/fesm2022/simpo-component-library.mjs.map +1 -1
  210. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +11 -2
  211. package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +29 -21
  212. package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +38 -3
  213. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  214. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  215. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  216. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +107 -26
  217. package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +27 -18
  218. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +10 -2
  219. package/lib/elements/simpo-button/simpo-button.component.d.ts +4 -1
  220. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  221. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  222. package/lib/services/analytics.service.d.ts +33 -0
  223. package/lib/services/cart.service.d.ts +7 -1
  224. package/lib/services/rest.service.d.ts +1 -0
  225. package/lib/styles/index.d.ts +1 -1
  226. package/package.json +1 -1
  227. package/simpo-component-library-3.6.645.tgz +0 -0
  228. package/simpo-component-library-3.6.644.tgz +0 -0
@@ -1,4 +1,5 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, QueryList } from '@angular/core';
2
+ import { FormArray, FormControl } from '@angular/forms';
2
3
  import { RestService } from '../../../services/rest.service';
3
4
  import { ActivatedRoute, Router } from '@angular/router';
4
5
  import { MessageService } from 'primeng/api';
@@ -19,7 +20,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
19
20
  private elementRef;
20
21
  private readonly dialogRef;
21
22
  private readonly bottomsheetRef;
22
- data?: AuthenticationModel;
23
+ data?: AuthenticationModel | any;
23
24
  index?: number;
24
25
  edit?: boolean;
25
26
  delete?: boolean;
@@ -31,6 +32,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
31
32
  email: string;
32
33
  mobile: string;
33
34
  otp: string;
35
+ otpControls: FormArray<FormControl<string | null>>;
34
36
  password: string;
35
37
  confPassword: string;
36
38
  userName: string;
@@ -49,8 +51,15 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
49
51
  proceedToEnrollment: boolean;
50
52
  tryAtHome: boolean;
51
53
  navigateToSchemeDetails: boolean;
54
+ inputs: QueryList<ElementRef>;
52
55
  ngOnInit(): void;
53
56
  ngAfterViewInit(): void;
57
+ onInput(index: number): void;
58
+ onKeyDown(event: KeyboardEvent, index: number): void;
59
+ getGradientDirection(direction: string | undefined): string;
60
+ get fontColor(): string;
61
+ get accentBackground(): string;
62
+ getFormOtp(): string;
54
63
  loginType: "PASSWORD" | "OTP";
55
64
  generateOtp: boolean;
56
65
  loginAuthentication(loginType: "PASSWORD" | "OTP"): void;
@@ -1,21 +1,25 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { MessageService } from 'primeng/api';
2
4
  import { StorageServiceService } from '../../../services/storage.service';
3
5
  import { RestService } from '../../../services/rest.service';
4
- import { Router } from '@angular/router';
5
- import { BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
6
+ import { AppointmentFieldModel, BookAppointmentContentModel, BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
6
7
  import BaseSection from '../../../sections/BaseSection';
7
- import { MessageService } from 'primeng/api';
8
+ import { LayOutModel } from '../../../styles/style.model';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class BookAppointmentComponent extends BaseSection implements OnInit {
10
11
  private readonly storageService;
11
12
  private readonly restService;
12
- private router;
13
+ private readonly router;
13
14
  private readonly messageService;
14
15
  data?: BookAppointmentSectionModal;
15
16
  index?: number;
16
17
  edit?: boolean;
17
18
  delete?: boolean;
18
19
  customClass?: string;
20
+ content?: BookAppointmentContentModel;
21
+ styles?: BookAppointmentStylesModel;
22
+ defaultTimeSlots: string[];
19
23
  timeSlots: string[];
20
24
  customerDetails: {
21
25
  date: string;
@@ -30,39 +34,43 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
30
34
  zipCode: string;
31
35
  };
32
36
  userId: string;
33
- businessId: string | null;
37
+ businessId: string;
34
38
  };
35
- designs: {
36
- id: number;
37
- name: string;
38
- price: string;
39
- selected: boolean;
40
- }[];
41
39
  weekDays: {
42
40
  dateWithMonth: string;
43
41
  day: string;
44
42
  date: number;
45
43
  }[];
46
44
  trialCartItem: any[];
47
- styles?: BookAppointmentStylesModel;
48
45
  loader: boolean;
46
+ screenWidth: number;
49
47
  constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
50
48
  ngOnInit(): void;
49
+ ensureDefaultContent(): void;
50
+ syncFieldInputValuesFromCustomerDetails(): void;
51
+ get stylesLayout(): LayOutModel;
52
+ getScreenSize(): void;
53
+ get appointmentFields(): AppointmentFieldModel[];
54
+ getTextByLabel(label: string, fallback?: string): string;
55
+ setTextByLabel(label: string, value: string): void;
56
+ getFieldWidth(field: AppointmentFieldModel): string;
57
+ getFieldValue(key: string): string;
58
+ updateFieldValue(field: AppointmentFieldModel, value: string): void;
59
+ isTextarea(field: AppointmentFieldModel): boolean;
60
+ isDropdown(field: AppointmentFieldModel): boolean;
61
+ getVisibleOptions(field: AppointmentFieldModel): {
62
+ label: string;
63
+ value: string;
64
+ status?: boolean;
65
+ }[];
51
66
  checkAvailability(day: any): void;
52
67
  getTrialCart(): void;
53
68
  getTrialCartIndexDBData(): void;
54
69
  getNextSevenDays(): void;
55
- toggleDesign(id: number): void;
56
- getSelectedDesigns(): {
57
- id: number;
58
- name: string;
59
- price: string;
60
- selected: boolean;
61
- }[];
62
70
  get isValid(): boolean;
63
71
  bookAppointment(): void;
64
- selectTime(time: any): void;
65
- getKeys(object: Object): string[];
72
+ selectTime(time: string): void;
73
+ getKeys(object: any): string[];
66
74
  addMoreDesign(): void;
67
75
  get isMobile(): boolean;
68
76
  static ɵfac: i0.ɵɵFactoryDeclaration<BookAppointmentComponent, never>;
@@ -1,14 +1,49 @@
1
- import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
2
- import { ActionModel } from '../../../styles/style.model';
1
+ import { ActionModel, AnimationModel, BackgroundModel, InputTextModel, LayOutModel, PositionLayoutModal, StylesModel } from "../../../styles/style.model";
2
+ import { Corners } from "../../../styles/index";
3
+ import { CONTENT_BACKGROUND } from "../../../styles/types";
3
4
  export interface BookAppointmentSectionModal {
4
5
  id: string;
5
6
  sectionType: string;
6
7
  sectionName: string;
8
+ content: BookAppointmentContentModel;
7
9
  styles: BookAppointmentStylesModel;
8
10
  action: ActionModel;
9
11
  }
10
- export interface BookAppointmentStylesModel {
12
+ export interface BookAppointmentStylesModel extends StylesModel {
11
13
  layout: LayOutModel;
14
+ positionLayout?: PositionLayoutModal;
12
15
  background: BackgroundModel;
13
16
  animation: AnimationModel;
17
+ inputOpacity?: number;
18
+ corners?: Corners;
19
+ contentBackground?: {
20
+ display: boolean;
21
+ style: CONTENT_BACKGROUND;
22
+ };
23
+ }
24
+ export interface BookAppointmentContentModel {
25
+ inputText: InputTextModel[];
26
+ appointmentField: AppointmentFieldSectionModel;
27
+ }
28
+ export interface AppointmentFieldSectionModel {
29
+ customLabel?: boolean;
30
+ button?: string;
31
+ successMessage?: string;
32
+ fields: AppointmentFieldModel[];
33
+ }
34
+ export interface AppointmentFieldModel {
35
+ key: "receiverName" | "receiverPhone" | "receiverEmail" | "addressLine1" | "stateName" | "cityName" | "zipCode";
36
+ label: string;
37
+ placeholder: string;
38
+ type: "text" | "email" | "tel" | "textarea" | "dropdown";
39
+ required: boolean;
40
+ status?: boolean;
41
+ inputValue?: string;
42
+ width?: "half" | "full";
43
+ value?: string;
44
+ options?: {
45
+ label: string;
46
+ value: string;
47
+ status?: boolean;
48
+ }[];
14
49
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get stylesLayout(): LayOutModel;
34
34
  get isMobile(): boolean;
35
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
38
38
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
39
39
  }
@@ -14,6 +14,7 @@ import { Meta, Title } from '@angular/platform-browser';
14
14
  import { MatDialog } from '@angular/material/dialog';
15
15
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
16
16
  import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
17
+ import { AnalyticsService } from '../../../services/analytics.service';
17
18
  import * as i0 from "@angular/core";
18
19
  export declare class ProductDescComponent extends BaseSection {
19
20
  private platformId;
@@ -29,6 +30,7 @@ export declare class ProductDescComponent extends BaseSection {
29
30
  private readonly bottomSheet;
30
31
  private renderer;
31
32
  private matDialog;
33
+ private analyticsService;
32
34
  reviewComponent: CustomerReviewComponent;
33
35
  aboveHeight: ElementRef<HTMLDivElement>;
34
36
  container: ElementRef<HTMLDivElement>;
@@ -52,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
52
54
  showReview: boolean;
53
55
  selectedReview: any;
54
56
  currentImageIndex: number;
55
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
57
+ content: any;
56
58
  buttonId?: string;
57
59
  button?: ButtonModel;
58
60
  styles?: ProductDescStylesModal;
@@ -68,10 +70,39 @@ export declare class ProductDescComponent extends BaseSection {
68
70
  isPinCode: boolean;
69
71
  toShowInJewellery: boolean;
70
72
  IsEcommerce: boolean;
71
- ngOnInit(): void;
72
- ngAfterViewInit(): void;
73
73
  varientLoading: boolean;
74
74
  recentViewItemList: Product[];
75
+ reviewTitle: string;
76
+ reviewDescription: string;
77
+ isDescriptionCollapsed: boolean;
78
+ isPriceBreakup: boolean;
79
+ languages: string[];
80
+ selectedLang: string;
81
+ isDetails: boolean;
82
+ pincode: any;
83
+ storeDetails: any;
84
+ brandPromises: any[];
85
+ ecomConfigs: any;
86
+ locate: boolean;
87
+ otherLanguage: string;
88
+ reviewsData: any[];
89
+ ratingCounts: any;
90
+ pageNumber: number;
91
+ screenWidth: any;
92
+ currentImg: any;
93
+ videoCallPayload: any;
94
+ validationErrors: any;
95
+ isSubmitting: boolean;
96
+ scheduled: boolean;
97
+ constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog, analyticsService: AnalyticsService);
98
+ ngOnInit(): void;
99
+ ensureDefaultContent(): void;
100
+ getTextByLabel(label: string, fallback?: string): string;
101
+ setTextByLabel(label: string, value: string): void;
102
+ get showHeading(): boolean;
103
+ get showContent(): boolean;
104
+ get showButton(): boolean;
105
+ ngAfterViewInit(): void;
75
106
  getRelatedProducts(): void;
76
107
  selectVarient(key: string, value: string): void;
77
108
  raiseLead(): void;
@@ -80,9 +111,7 @@ export declare class ProductDescComponent extends BaseSection {
80
111
  getTrialCartIndexDBData(): void;
81
112
  shareProduct(): void;
82
113
  routeToHome(): void;
83
- screenWidth: any;
84
114
  getScreenSize(): void;
85
- currentImg: any;
86
115
  changeImg(url: any): void;
87
116
  getKeys(varient: Object): string[];
88
117
  goToCart(): void;
@@ -95,8 +124,6 @@ export declare class ProductDescComponent extends BaseSection {
95
124
  changeProduct(product: Product): void;
96
125
  getKeyByIdx(property: any, index: number): string;
97
126
  isVarientAvailable(varient: any): boolean;
98
- reviewTitle: string;
99
- reviewDescription: string;
100
127
  addProductReview(): void;
101
128
  private getVarientQuantity;
102
129
  private isVarientPresentInWishtlist;
@@ -107,32 +134,17 @@ export declare class ProductDescComponent extends BaseSection {
107
134
  get isMobile(): boolean;
108
135
  getCarat(carat: any): "24 Carats" | "22 Carats" | "18 Carats" | "14 Carats" | "10 Carats" | "99.9% Pure" | "92.5% Pure" | "90% Pure" | "Very Slightly Included" | "Slightly Included";
109
136
  getPricePerGram(price: any, materialType: string): any;
110
- isDescriptionCollapsed: boolean;
111
137
  toggleDescription(): void;
112
- isPriceBreakup: boolean;
113
138
  togglePriceBreakDown(): void;
114
139
  getDifference(sellingPrice: any, mrp: any): number;
115
- getBackgroundColor(type: string): string;
140
+ getBackgroundColor(type: string): "rgba(255,255,255,0.08)" | "rgba(0,0,0,0.03)";
116
141
  getHeaderColor(type: string): string;
117
142
  getTextColor(color: any): "#000000" | "#ffffff";
118
- languages: string[];
119
- selectedLang: string;
120
143
  getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
121
144
  onFindInStore(id: string): void;
122
145
  onBookAppointment(): void;
123
- isDetails: boolean;
124
- pincode: any;
125
- storeDetails: any;
126
146
  getStoreDetails(): void;
127
- brandPromises: any[];
128
- ecomConfigs: any;
129
147
  getEcommerceConfigs(): void;
130
- locate: boolean;
131
- otherLanguage: string;
132
- videoCallPayload: any;
133
- validationErrors: any;
134
- isSubmitting: boolean;
135
- scheduled: boolean;
136
148
  scheduleVideoCall(): void;
137
149
  resetValidationErrors(): void;
138
150
  resetForm(): void;
@@ -145,9 +157,6 @@ export declare class ProductDescComponent extends BaseSection {
145
157
  closeDialog(): void;
146
158
  getRatings(noofratings: any): any;
147
159
  addToTrialCart(): void;
148
- reviewsData: any[];
149
- ratingCounts: any;
150
- pageNumber: number;
151
160
  loadMoreReviews(): void;
152
161
  getReviews(productId: string): void;
153
162
  getPercentage(rating: number): string;
@@ -155,6 +164,78 @@ export declare class ProductDescComponent extends BaseSection {
155
164
  showDetailReview(review: any): void;
156
165
  get stylesLayout(): LayOutModel;
157
166
  getDateAfterxDays(): Date;
167
+ getEffectiveBackgroundColor(): string;
168
+ getAdaptiveTextColor(): string;
169
+ getAdaptiveMutedTextColor(): string;
170
+ getAdaptiveBorderColor(): string;
171
+ getReadableTextColor(color: string): string;
172
+ getAverageColor(color1: string, color2: string): string;
173
+ hexToRgb(hex: string): {
174
+ r: number;
175
+ g: number;
176
+ b: number;
177
+ } | null;
178
+ rgbToHex(r: number, g: number, b: number): string;
179
+ getTryAtHomeActionButton(): ButtonModel | {
180
+ content: {
181
+ linkType: "Page";
182
+ label: string;
183
+ redirectionUrl: string;
184
+ pageId: string;
185
+ newTab: false;
186
+ };
187
+ styles: {
188
+ type: "Solid";
189
+ shape: "Pill";
190
+ };
191
+ id: string;
192
+ };
193
+ getTryAtHomeButtonContent(): {
194
+ label: string;
195
+ linkType: import("../../../styles/index").RedirectionLinkType;
196
+ redirectionUrl: string;
197
+ pageId: string;
198
+ newTab: boolean;
199
+ showIcon?: boolean;
200
+ icon?: import("../../../styles/style.model").Icon | any;
201
+ } | {
202
+ label: string;
203
+ linkType: "Page";
204
+ redirectionUrl: string;
205
+ pageId: string;
206
+ newTab: false;
207
+ };
208
+ getTryAtHomeBookedButtonContent(): {
209
+ label: string;
210
+ linkType: import("../../../styles/index").RedirectionLinkType;
211
+ redirectionUrl: string;
212
+ pageId: string;
213
+ newTab: boolean;
214
+ showIcon?: boolean;
215
+ icon?: import("../../../styles/style.model").Icon | any;
216
+ } | {
217
+ label: string;
218
+ linkType: "Page";
219
+ redirectionUrl: string;
220
+ pageId: string;
221
+ newTab: false;
222
+ };
223
+ getTryAtHomeButtonStyle(): import("../../../styles/style.model").ButtonStyleModel | {
224
+ type: "Solid";
225
+ shape: "Pill";
226
+ };
227
+ getTryAtHomeButtonId(): string;
228
+ getCurrentFavouriteIcon(): any;
229
+ getShareIcon(): any;
230
+ getCartIcon(): any;
231
+ getProductDescIconBackground(icon: any): any;
232
+ getIconBackground(icon: any): any;
233
+ getScheduleVideoCallBtnStyle(): {
234
+ background: string;
235
+ color: string;
236
+ border: string;
237
+ };
238
+ getPrimaryButtonBackground(): string;
158
239
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
159
240
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
160
241
  }
@@ -1,29 +1,38 @@
1
- import { FooterSocialLinkModel } from "../../../sections/footer-section/footer-section.modal";
2
- import { AnimationModel, BackgroundModel, DeviderModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
3
- import { ActionModel } from '../../../styles/style.model';
4
- import { Corners } from "../../.././styles/index";
5
- import { GRID_STYLE } from "../../../styles/types";
1
+ import { ActionModel, BackgroundModel, InputTextModel, LayOutModel, StylesModel, AnimationModel } from "../../../styles/style.model";
2
+ import { Corners } from "../../../styles/index";
6
3
  export interface ProductDescModal {
7
4
  id: string;
8
5
  sectionType: string;
9
6
  sectionName: string;
10
- content: ProductDescContentModal;
7
+ content: ProductDescContentModel;
11
8
  styles: ProductDescStylesModal;
12
9
  action: ActionModel;
13
10
  }
14
- export interface ProductDescStylesModal {
11
+ export interface ProductDescContentModel {
12
+ inputText: InputTextModel[];
13
+ socialLinks: {
14
+ display: boolean;
15
+ channels: {
16
+ type: string;
17
+ url: string;
18
+ link: string;
19
+ }[];
20
+ };
21
+ display: {
22
+ showHeading: boolean;
23
+ showContent: boolean;
24
+ showButton: boolean;
25
+ };
26
+ priceWithTax: boolean;
27
+ }
28
+ export interface ProductDescStylesModal extends StylesModel {
15
29
  layout: LayOutModel;
16
30
  background: BackgroundModel;
17
31
  animation: AnimationModel;
18
- maximumProduct: number;
19
- direction: "ROW" | "COLUMN";
20
- devider: DeviderModel;
21
- corners: Corners;
22
- gridStyle: GRID_STYLE;
23
- customization: GRID_STYLE;
24
- }
25
- export interface ProductDescContentModal {
26
- button: string;
27
- socialLinks: FooterSocialLinkModel;
28
- inputText: InputTextModel[];
32
+ maximumProduct?: number;
33
+ direction?: string;
34
+ corners?: Corners;
35
+ gridStyle?: string;
36
+ customization?: string;
37
+ theme?: string;
29
38
  }
@@ -12,6 +12,7 @@ import { MatDialog } from '@angular/material/dialog';
12
12
  import { CartService } from '../../../services/cart.service';
13
13
  import { MenuItem, MessageService } from 'primeng/api';
14
14
  import { ProductCardTheme } from '../../../styles/index';
15
+ import { AnalyticsService } from '../../../services/analytics.service';
15
16
  import * as i0 from "@angular/core";
16
17
  interface BaseModel {
17
18
  option: string;
@@ -31,6 +32,7 @@ export declare class ProductListComponent extends BaseSection {
31
32
  private readonly cartService;
32
33
  private readonly messageService;
33
34
  private renderer;
35
+ private readonly analyticsService;
34
36
  responseData?: Product[];
35
37
  data?: ProductListModal;
36
38
  index?: number;
@@ -69,6 +71,7 @@ export declare class ProductListComponent extends BaseSection {
69
71
  searchTxt: string;
70
72
  theme: typeof ProductCardTheme;
71
73
  items: MenuItem[] | null;
74
+ latestAnalyicsEvent: string;
72
75
  private filterBottomSheetRef;
73
76
  private sortingDialogRef;
74
77
  categories: BaseModel[];
@@ -77,7 +80,7 @@ export declare class ProductListComponent extends BaseSection {
77
80
  listScrollContainer: ElementRef<HTMLDivElement>;
78
81
  getScreenSize(): void;
79
82
  onWindowScroll(event: Event): void;
80
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2);
83
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2, analyticsService: AnalyticsService);
81
84
  get stylesLayout(): LayOutModel;
82
85
  isOpen: boolean;
83
86
  toggleDropdown(): void;
@@ -103,6 +106,8 @@ export declare class ProductListComponent extends BaseSection {
103
106
  toShowInJewellery: boolean;
104
107
  IsEcommerce: boolean;
105
108
  ngOnInit(): void;
109
+ fetchAnalytics(): void;
110
+ getCategoriesAndCollection(): void;
106
111
  get selectedCategoryCollectionChips(): {
107
112
  id: string;
108
113
  name: string;
@@ -199,7 +204,10 @@ export declare class ProductListComponent extends BaseSection {
199
204
  closeModal(): void;
200
205
  languages: string[];
201
206
  selectedLang: string;
202
- getTextColor(color: any): "#000000" | "#ffffff";
207
+ getTextColor(color: string | undefined | null): "#000000" | "#ffffff";
208
+ getAverageColor(color1: string, color2: string): string;
209
+ getSectionBackgroundColor(): string;
210
+ get sectionTextColor(): string;
203
211
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
204
212
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
205
213
  }
@@ -10,9 +10,12 @@ export declare class SimpoButtonComponent {
10
10
  sectionId?: string;
11
11
  edit?: boolean;
12
12
  backgroundInfo?: BackgroundModel;
13
+ isFullWidth: boolean;
14
+ disabled?: boolean;
15
+ loading?: boolean;
13
16
  constructor(_eventService: EventsService);
14
17
  ngOnInit(): void;
15
18
  redirectTo(): void;
16
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
18
21
  }
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -0,0 +1,33 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { StorageServiceService } from './storage.service';
3
+ import { StorageLike } from '../services/storage-like';
4
+ import { Router } from '@angular/router';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AnalyticsService {
7
+ private http;
8
+ private platformId;
9
+ private document;
10
+ private readonly storageService;
11
+ private API_URL;
12
+ private storage;
13
+ private router;
14
+ private eventQueue;
15
+ private BATCH_SIZE;
16
+ private FLUSH_INTERVAL;
17
+ private currentPage;
18
+ private currentContextMetadata;
19
+ private contextStartTime;
20
+ private contextActiveTime;
21
+ private currentEvent;
22
+ constructor(http: HttpClient, platformId: Object, document: Document, storageService: StorageServiceService, API_URL: string, storage: StorageLike, router: Router);
23
+ startNewContext(metadata: any, event: string): void;
24
+ getCurrentContext(): any;
25
+ private closeCurrentContext;
26
+ private listenToRouteChange;
27
+ trackUser(event: any, eventType: string): void;
28
+ private startAutoFlush;
29
+ private flush;
30
+ private listenToUnload;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
33
+ }
@@ -2,15 +2,20 @@ import { OrderedItems } from '../ecommerce/styles/OrderedItems.modal';
2
2
  import { Product } from '../ecommerce/styles/product.modal';
3
3
  import { RestService } from './rest.service';
4
4
  import { StorageServiceService } from './storage.service';
5
+ import { Router } from '@angular/router';
6
+ import { StorageLike } from '../services/storage-like';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare class CartService {
7
9
  private readonly storageService;
8
10
  private readonly restService;
9
- constructor(storageService: StorageServiceService, restService: RestService);
11
+ private router;
12
+ private storage;
13
+ constructor(storageService: StorageServiceService, restService: RestService, router: Router, storage: StorageLike);
10
14
  addItemFromCartPage(product: OrderedItems, userCart: any): import("rxjs").Observable<Object>;
11
15
  addItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
12
16
  removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
13
17
  addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
18
+ captureCartAnalytics(productId: string, type: 'ADD_TO_CART' | 'REMOVE_FROM_CART', variantId?: string): void;
14
19
  addItemToFavourite(product: Product, varientId?: string): void;
15
20
  addItemToTrial(product: Product, varientId?: string): Promise<boolean>;
16
21
  addItemToFavFromCart(product: OrderedItems): void;
@@ -18,6 +23,7 @@ export declare class CartService {
18
23
  removeItemFromFavourite(varientId: string): void;
19
24
  removeItemFromCart(product: Product | OrderedItems): void;
20
25
  private objectMapper;
26
+ trackUser(event: any, eventType: string): void;
21
27
  static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
22
28
  static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
23
29
  }
@@ -135,6 +135,7 @@ export declare class RestService implements OnDestroy {
135
135
  createLead(payload: any): Observable<Object>;
136
136
  getAppointmentPaymentStatus(orderId: any): Observable<Object>;
137
137
  getOtpForLogin(payload: any): Observable<Object>;
138
+ flush(eventsToSend: any): void;
138
139
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
139
140
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
140
141
  }
@@ -32,7 +32,7 @@ export declare enum SPACINGALIGN {
32
32
  large = "8rem",
33
33
  medium = "6rem",
34
34
  small = "2rem",
35
- none = "0rem",
35
+ none = "1rem",
36
36
  remove = "0rem"
37
37
  }
38
38
  export declare enum BANNERHALIGN {