simpo-component-library 3.6.653 → 3.6.655

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 (217) 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 +5 -4
  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 +63 -171
  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 +148 -479
  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 +3 -37
  68. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  69. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +1 -1
  70. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
  71. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
  72. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  73. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  74. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  75. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
  76. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  77. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  78. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  79. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  80. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  81. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  82. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +1 -1
  83. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  84. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  85. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  86. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  87. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  88. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  89. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  90. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  91. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  92. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  93. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  94. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  95. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  96. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  97. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  98. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  99. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  100. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  101. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  102. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  103. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  104. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  105. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  106. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  107. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +1 -1
  108. package/esm2022/lib/elements/index.mjs +1 -1
  109. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  110. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  111. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  112. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  113. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +3 -3
  114. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -6
  115. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  116. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  117. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  118. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  119. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  120. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  121. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  122. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  123. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
  124. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  125. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  126. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
  127. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +1 -1
  128. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  129. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
  130. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  131. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  132. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +2 -2
  133. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
  134. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  135. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  136. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  137. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  138. package/esm2022/lib/sections/footer/footer.component.mjs +1 -1
  139. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  140. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
  141. package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
  142. package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
  143. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  144. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +2 -2
  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 +2 -2
  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/navbar-section/navbar-section.component.mjs +2 -2
  158. package/esm2022/lib/sections/new-services/new-services.component.mjs +4 -4
  159. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  160. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +4 -4
  161. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  162. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  163. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
  164. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +2 -2
  165. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
  166. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  167. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  168. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  169. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  170. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  171. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  172. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  173. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  174. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  175. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  176. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  177. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  178. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  179. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
  180. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
  181. package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
  182. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  183. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  184. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  185. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  186. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  187. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  188. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  189. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  190. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  191. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  192. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +2 -2
  193. package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
  194. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  195. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  196. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  197. package/esm2022/lib/sections/video-section/video-section.component.mjs +1 -1
  198. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  199. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +1 -1
  200. package/esm2022/lib/services/endUser.service.mjs +1 -1
  201. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  202. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  203. package/esm2022/lib/styles/types.mjs +1 -1
  204. package/esm2022/lib/tokens/api-token.mjs +1 -1
  205. package/fesm2022/simpo-component-library.mjs +360 -823
  206. package/fesm2022/simpo-component-library.mjs.map +1 -1
  207. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  208. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  209. package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +21 -29
  210. package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +3 -38
  211. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +26 -105
  212. package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +18 -27
  213. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -4
  214. package/lib/elements/simpo-button/simpo-button.component.d.ts +1 -2
  215. package/package.json +1 -1
  216. package/simpo-component-library-3.6.655.tgz +0 -0
  217. package/simpo-component-library-3.6.653.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#000" | "#FFF";
16
+ get getTextColor(): "#FFF" | "#000";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -81,7 +81,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
81
81
  validateNumber(event: KeyboardEvent): void;
82
82
  validateOTP(event: KeyboardEvent): void;
83
83
  checkStrength(): void;
84
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
84
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
85
85
  emailDebounceTimer: any;
86
86
  onEmailChange(): void;
87
87
  emailCheck: boolean;
@@ -1,25 +1,21 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { MessageService } from 'primeng/api';
4
2
  import { StorageServiceService } from '../../../services/storage.service';
5
3
  import { RestService } from '../../../services/rest.service';
6
- import { AppointmentFieldModel, BookAppointmentContentModel, BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
4
+ import { Router } from '@angular/router';
5
+ import { BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
7
6
  import BaseSection from '../../../sections/BaseSection';
8
- import { LayOutModel } from '../../../styles/style.model';
7
+ import { MessageService } from 'primeng/api';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class BookAppointmentComponent extends BaseSection implements OnInit {
11
10
  private readonly storageService;
12
11
  private readonly restService;
13
- private readonly router;
12
+ private router;
14
13
  private readonly messageService;
15
14
  data?: BookAppointmentSectionModal;
16
15
  index?: number;
17
16
  edit?: boolean;
18
17
  delete?: boolean;
19
18
  customClass?: string;
20
- content?: BookAppointmentContentModel;
21
- styles?: BookAppointmentStylesModel;
22
- defaultTimeSlots: string[];
23
19
  timeSlots: string[];
24
20
  customerDetails: {
25
21
  date: string;
@@ -34,43 +30,39 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
34
30
  zipCode: string;
35
31
  };
36
32
  userId: string;
37
- businessId: string;
33
+ businessId: string | null;
38
34
  };
35
+ designs: {
36
+ id: number;
37
+ name: string;
38
+ price: string;
39
+ selected: boolean;
40
+ }[];
39
41
  weekDays: {
40
42
  dateWithMonth: string;
41
43
  day: string;
42
44
  date: number;
43
45
  }[];
44
46
  trialCartItem: any[];
47
+ styles?: BookAppointmentStylesModel;
45
48
  loader: boolean;
46
- screenWidth: number;
47
49
  constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
48
50
  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
- }[];
66
51
  checkAvailability(day: any): void;
67
52
  getTrialCart(): void;
68
53
  getTrialCartIndexDBData(): void;
69
54
  getNextSevenDays(): void;
55
+ toggleDesign(id: number): void;
56
+ getSelectedDesigns(): {
57
+ id: number;
58
+ name: string;
59
+ price: string;
60
+ selected: boolean;
61
+ }[];
70
62
  get isValid(): boolean;
71
63
  bookAppointment(): void;
72
- selectTime(time: string): void;
73
- getKeys(object: any): string[];
64
+ selectTime(time: any): void;
65
+ getKeys(object: Object): string[];
74
66
  addMoreDesign(): void;
75
67
  get isMobile(): boolean;
76
68
  static ɵfac: i0.ɵɵFactoryDeclaration<BookAppointmentComponent, never>;
@@ -1,49 +1,14 @@
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";
1
+ import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
2
+ import { ActionModel } from '../../../styles/style.model';
4
3
  export interface BookAppointmentSectionModal {
5
4
  id: string;
6
5
  sectionType: string;
7
6
  sectionName: string;
8
- content: BookAppointmentContentModel;
9
7
  styles: BookAppointmentStylesModel;
10
8
  action: ActionModel;
11
9
  }
12
- export interface BookAppointmentStylesModel extends StylesModel {
10
+ export interface BookAppointmentStylesModel {
13
11
  layout: LayOutModel;
14
- positionLayout?: PositionLayoutModal;
15
12
  background: BackgroundModel;
16
13
  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
- }[];
49
14
  }
@@ -54,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
54
54
  showReview: boolean;
55
55
  selectedReview: any;
56
56
  currentImageIndex: number;
57
- content: any;
57
+ 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);
58
58
  buttonId?: string;
59
59
  button?: ButtonModel;
60
60
  styles?: ProductDescStylesModal;
@@ -70,39 +70,10 @@ export declare class ProductDescComponent extends BaseSection {
70
70
  isPinCode: boolean;
71
71
  toShowInJewellery: boolean;
72
72
  IsEcommerce: boolean;
73
- varientLoading: boolean;
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
73
  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
74
  ngAfterViewInit(): void;
75
+ varientLoading: boolean;
76
+ recentViewItemList: Product[];
106
77
  getRelatedProducts(): void;
107
78
  selectVarient(key: string, value: string): void;
108
79
  raiseLead(): void;
@@ -111,7 +82,9 @@ export declare class ProductDescComponent extends BaseSection {
111
82
  getTrialCartIndexDBData(): void;
112
83
  shareProduct(): void;
113
84
  routeToHome(): void;
85
+ screenWidth: any;
114
86
  getScreenSize(): void;
87
+ currentImg: any;
115
88
  changeImg(url: any): void;
116
89
  getKeys(varient: Object): string[];
117
90
  goToCart(): void;
@@ -124,6 +97,8 @@ export declare class ProductDescComponent extends BaseSection {
124
97
  changeProduct(product: Product): void;
125
98
  getKeyByIdx(property: any, index: number): string;
126
99
  isVarientAvailable(varient: any): boolean;
100
+ reviewTitle: string;
101
+ reviewDescription: string;
127
102
  addProductReview(): void;
128
103
  private getVarientQuantity;
129
104
  private isVarientPresentInWishtlist;
@@ -134,17 +109,32 @@ export declare class ProductDescComponent extends BaseSection {
134
109
  get isMobile(): boolean;
135
110
  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";
136
111
  getPricePerGram(price: any, materialType: string): any;
112
+ isDescriptionCollapsed: boolean;
137
113
  toggleDescription(): void;
114
+ isPriceBreakup: boolean;
138
115
  togglePriceBreakDown(): void;
139
116
  getDifference(sellingPrice: any, mrp: any): number;
140
- getBackgroundColor(type: string): "rgba(255,255,255,0.08)" | "rgba(0,0,0,0.03)";
117
+ getBackgroundColor(type: string): string;
141
118
  getHeaderColor(type: string): string;
142
119
  getTextColor(color: any): "#000000" | "#ffffff";
120
+ languages: string[];
121
+ selectedLang: string;
143
122
  getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
144
123
  onFindInStore(id: string): void;
145
124
  onBookAppointment(): void;
125
+ isDetails: boolean;
126
+ pincode: any;
127
+ storeDetails: any;
146
128
  getStoreDetails(): void;
129
+ brandPromises: any[];
130
+ ecomConfigs: any;
147
131
  getEcommerceConfigs(): void;
132
+ locate: boolean;
133
+ otherLanguage: string;
134
+ videoCallPayload: any;
135
+ validationErrors: any;
136
+ isSubmitting: boolean;
137
+ scheduled: boolean;
148
138
  scheduleVideoCall(): void;
149
139
  resetValidationErrors(): void;
150
140
  resetForm(): void;
@@ -157,6 +147,9 @@ export declare class ProductDescComponent extends BaseSection {
157
147
  closeDialog(): void;
158
148
  getRatings(noofratings: any): any;
159
149
  addToTrialCart(): void;
150
+ reviewsData: any[];
151
+ ratingCounts: any;
152
+ pageNumber: number;
160
153
  loadMoreReviews(): void;
161
154
  getReviews(productId: string): void;
162
155
  getPercentage(rating: number): string;
@@ -164,78 +157,6 @@ export declare class ProductDescComponent extends BaseSection {
164
157
  showDetailReview(review: any): void;
165
158
  get stylesLayout(): LayOutModel;
166
159
  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;
239
160
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
240
161
  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>;
241
162
  }
@@ -1,38 +1,29 @@
1
- import { ActionModel, BackgroundModel, InputTextModel, LayOutModel, StylesModel, AnimationModel } from "../../../styles/style.model";
2
- import { Corners } from "../../../styles/index";
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";
3
6
  export interface ProductDescModal {
4
7
  id: string;
5
8
  sectionType: string;
6
9
  sectionName: string;
7
- content: ProductDescContentModel;
10
+ content: ProductDescContentModal;
8
11
  styles: ProductDescStylesModal;
9
12
  action: ActionModel;
10
13
  }
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 {
14
+ export interface ProductDescStylesModal {
29
15
  layout: LayOutModel;
30
16
  background: BackgroundModel;
31
17
  animation: AnimationModel;
32
- maximumProduct?: number;
33
- direction?: string;
34
- corners?: Corners;
35
- gridStyle?: string;
36
- customization?: string;
37
- theme?: string;
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[];
38
29
  }
@@ -204,10 +204,7 @@ export declare class ProductListComponent extends BaseSection {
204
204
  closeModal(): void;
205
205
  languages: string[];
206
206
  selectedLang: string;
207
- getTextColor(color: string | undefined | null): "#000000" | "#ffffff";
208
- getAverageColor(color1: string, color2: string): string;
209
- getSectionBackgroundColor(): string;
210
- get sectionTextColor(): string;
207
+ getTextColor(color: any): "#000000" | "#ffffff";
211
208
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
212
209
  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>;
213
210
  }
@@ -10,12 +10,11 @@ export declare class SimpoButtonComponent {
10
10
  sectionId?: string;
11
11
  edit?: boolean;
12
12
  backgroundInfo?: BackgroundModel;
13
- isFullWidth: boolean;
14
13
  disabled?: boolean;
15
14
  loading?: boolean;
16
15
  constructor(_eventService: EventsService);
17
16
  ngOnInit(): void;
18
17
  redirectTo(): void;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, 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>;
19
+ 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; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
21
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.653",
3
+ "version": "3.6.655",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file