simpo-component-library 3.6.932 → 3.6.934

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 (263) 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/deprecated-section/deprecated-section.component.mjs +32 -0
  4. package/esm2022/lib/components/document/document.component.mjs +3 -3
  5. package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
  6. package/esm2022/lib/components/payment-details/payment-details.component.mjs +3 -3
  7. package/esm2022/lib/constants/business.constant.mjs +1 -1
  8. package/esm2022/lib/directive/alignment.directive.mjs +1 -1
  9. package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
  10. package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
  11. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  12. package/esm2022/lib/directive/button-editor.directive.mjs +1 -1
  13. package/esm2022/lib/directive/color.directive.mjs +1 -1
  14. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  15. package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
  16. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  17. package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
  18. package/esm2022/lib/directive/contenteditable.directive.mjs +1 -1
  19. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  20. package/esm2022/lib/directive/height.directive.mjs +1 -1
  21. package/esm2022/lib/directive/hover-animation.directive.mjs +1 -1
  22. package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
  23. package/esm2022/lib/directive/icon-directive.directive.mjs +1 -1
  24. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  25. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  26. package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
  27. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  28. package/esm2022/lib/directive/letters-only.directive.mjs +1 -1
  29. package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
  30. package/esm2022/lib/directive/numbers-only.directive.mjs +1 -1
  31. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  32. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +1 -1
  33. package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
  34. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
  35. package/esm2022/lib/directive/spacing.directive.mjs +1 -1
  36. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  37. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  38. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  39. package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -1
  40. package/esm2022/lib/directive/video-directive.directive.mjs +1 -1
  41. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  42. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  44. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +15 -3
  45. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  46. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +3 -3
  49. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  50. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  51. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  52. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  53. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  54. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  55. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
  56. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
  57. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  58. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  59. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  60. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  61. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  63. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  64. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  65. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  66. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  67. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
  68. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  69. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  70. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +54 -36
  71. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  72. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +42 -36
  73. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  74. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +3 -3
  75. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +1 -1
  76. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +1 -1
  77. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
  78. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  79. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  80. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  81. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
  82. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  83. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  84. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  85. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  86. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  87. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  88. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  89. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  90. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  91. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  92. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  93. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  94. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  95. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  96. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  97. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  98. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  99. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  100. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  101. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  102. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  103. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  104. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  105. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  106. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  107. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  108. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  109. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  110. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  111. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  112. package/esm2022/lib/elements/index.mjs +1 -1
  113. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  114. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  115. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  116. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  117. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  118. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  119. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +31 -22
  120. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  121. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  122. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  123. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +9 -9
  124. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  125. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  126. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  127. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  128. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  129. package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +320 -268
  130. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  131. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  132. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  133. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  134. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  135. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  136. package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
  137. package/esm2022/lib/sections/brand-story-section/brand-story-section.modal.mjs +1 -1
  138. package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
  139. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  140. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  141. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
  142. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +3 -3
  143. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.model.mjs +1 -1
  144. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  145. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +1 -1
  146. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  147. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  148. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
  149. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +1 -1
  150. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  151. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  152. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  153. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  154. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +3 -3
  155. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.modal.mjs +1 -1
  156. package/esm2022/lib/sections/header-section/header-section.component.mjs +17 -3
  157. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  158. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  159. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  160. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
  161. package/esm2022/lib/sections/image-background/image-background/image-background.component.model.mjs +1 -1
  162. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  163. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  164. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
  165. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.model.mjs +1 -1
  166. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  167. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  168. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  169. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  170. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  171. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  172. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  173. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  174. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
  175. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  176. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  177. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  178. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  179. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  180. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  181. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
  182. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
  183. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.modal.mjs +1 -1
  184. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  185. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  186. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  187. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  188. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  189. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  190. package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
  191. package/esm2022/lib/sections/product-info-section/product-info-section.component.modal.mjs +1 -1
  192. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  193. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  194. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  195. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  196. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  197. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  198. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  199. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  200. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
  201. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
  202. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  203. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  204. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  205. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  206. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  207. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  208. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  209. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
  210. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +1 -1
  211. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  212. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  213. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
  214. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.model.mjs +1 -1
  215. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  216. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  217. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  218. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  219. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  220. package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
  221. package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
  222. package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
  223. package/esm2022/lib/sections/video-grid-section/video-grid-section.model.mjs +1 -1
  224. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  225. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  226. package/esm2022/lib/sections/video-showcase/video-showcase.component.mjs +3 -3
  227. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  228. package/esm2022/lib/services/analytics.service.mjs +1 -1
  229. package/esm2022/lib/services/booking-product-cart.service.mjs +60 -0
  230. package/esm2022/lib/services/cart.service.mjs +1 -1
  231. package/esm2022/lib/services/endUser.service.mjs +1 -1
  232. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  233. package/esm2022/lib/services/rest.service.mjs +15 -6
  234. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  235. package/esm2022/lib/services/storage.service.mjs +48 -3
  236. package/esm2022/lib/styles/gradient-extension.mjs +1 -1
  237. package/esm2022/lib/styles/index.mjs +1 -1
  238. package/esm2022/lib/styles/style.model.mjs +1 -1
  239. package/esm2022/lib/styles/text-size.extension.mjs +1 -1
  240. package/esm2022/lib/styles/types.mjs +1 -1
  241. package/esm2022/lib/tokens/api-token.mjs +1 -1
  242. package/esm2022/public-api.mjs +2 -3
  243. package/fesm2022/simpo-component-library.mjs +6579 -7315
  244. package/fesm2022/simpo-component-library.mjs.map +1 -1
  245. package/lib/components/deprecated-section/deprecated-section.component.d.ts +19 -0
  246. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +9 -1
  247. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +6 -2
  248. package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +3 -3
  249. package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +55 -23
  250. package/lib/sections/header-section/header-section.component.d.ts +5 -0
  251. package/lib/services/booking-product-cart.service.d.ts +26 -0
  252. package/lib/services/rest.service.d.ts +5 -2
  253. package/lib/services/storage.service.d.ts +13 -0
  254. package/package.json +1 -1
  255. package/public-api.d.ts +1 -2
  256. package/simpo-component-library-3.6.934.tgz +0 -0
  257. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +0 -199
  258. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +0 -2
  259. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +0 -866
  260. package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +0 -70
  261. package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +0 -14
  262. package/lib/sections/appointment-form/appointment-form.component.d.ts +0 -117
  263. package/simpo-component-library-3.6.932.tgz +0 -0
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Stands in for a section type that's been retired (currently: the old 'appointment' and
4
+ * 'appointmentBooking' sectionTypes, superseded by AppointmentBookingComponent's
5
+ * 'bookAppointment' sectionType). A business's already-published site JSON may still reference a
6
+ * retired sectionType with no migration path from this codebase - repointing the registry to
7
+ * this stub instead of removing the entry avoids silently dropping or breaking that section on a
8
+ * live site.
9
+ */
10
+ export declare class DeprecatedSectionComponent {
11
+ data?: any;
12
+ index?: number;
13
+ edit?: boolean;
14
+ delete?: boolean;
15
+ customClass?: string;
16
+ nextComponentColor?: any;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedSectionComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeprecatedSectionComponent, "simpo-deprecated-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -15,6 +15,7 @@ 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
17
  import { AnalyticsService } from '../../../services/analytics.service';
18
+ import { BookingProductCartService } from '../../../services/booking-product-cart.service';
18
19
  import * as i0 from "@angular/core";
19
20
  export declare class ProductDescComponent extends BaseSection {
20
21
  private platformId;
@@ -31,6 +32,7 @@ export declare class ProductDescComponent extends BaseSection {
31
32
  private renderer;
32
33
  private matDialog;
33
34
  private analyticsService;
35
+ private readonly bookingProductCartService;
34
36
  reviewComponent: CustomerReviewComponent;
35
37
  aboveHeight: ElementRef<HTMLDivElement>;
36
38
  container: ElementRef<HTMLDivElement>;
@@ -54,7 +56,7 @@ export declare class ProductDescComponent extends BaseSection {
54
56
  showReview: boolean;
55
57
  selectedReview: any;
56
58
  currentImageIndex: number;
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);
59
+ 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, bookingProductCartService: BookingProductCartService);
58
60
  buttonId?: string;
59
61
  button?: ButtonModel;
60
62
  styles?: ProductDescStylesModal;
@@ -154,6 +156,12 @@ export declare class ProductDescComponent extends BaseSection {
154
156
  matCloseDialog(): void;
155
157
  closeDialog(): void;
156
158
  getRatings(noofratings: any): any;
159
+ /**
160
+ * "Try at Home" now feeds the new Home Visit booking flow (BookingGroup.productLines,
161
+ * submitted directly at hold time) rather than the old ecommerce TRIAL_CART/HomeAppointments
162
+ * flow being retired — see appointment_service's design doc. Opens the real booking wizard
163
+ * pre-seeded with this product instead of navigating to the old trial-cart checkout page.
164
+ */
157
165
  addToTrialCart(): void;
158
166
  reviewsData: any[];
159
167
  ratingCounts: any;
@@ -10,6 +10,7 @@ import { StorageServiceService } from '../../../services/storage.service';
10
10
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
11
11
  import { MatDialog } from '@angular/material/dialog';
12
12
  import { CartService } from '../../../services/cart.service';
13
+ import { BookingProductCartService } from '../../../services/booking-product-cart.service';
13
14
  import { MenuItem, MessageService } from 'primeng/api';
14
15
  import { ProductCardTheme } from '../../../styles/index';
15
16
  import { AnalyticsService } from '../../../services/analytics.service';
@@ -39,6 +40,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
39
40
  private readonly messageService;
40
41
  private renderer;
41
42
  private readonly analyticsService;
43
+ private readonly bookingProductCartService;
42
44
  responseData?: Product[];
43
45
  data?: ProductListModal;
44
46
  index?: number;
@@ -92,7 +94,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
92
94
  listScrollContainer: ElementRef<HTMLDivElement>;
93
95
  getScreenSize(): void;
94
96
  onWindowScroll(event: Event): void;
95
- 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);
97
+ 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, bookingProductCartService: BookingProductCartService);
96
98
  get stylesLayout(): LayOutModel;
97
99
  isOpen: boolean;
98
100
  toggleDropdown(): void;
@@ -220,9 +222,11 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
220
222
  materialCollapsed: boolean;
221
223
  metalCollapsed: boolean;
222
224
  ringStyleCollapsed: boolean;
225
+ /** Feeds the new Home Visit booking flow directly (BookingGroup.productLines) rather than the retiring TRIAL_CART. */
223
226
  addToTrialCart(product: Product): Promise<void>;
224
227
  productName: string;
225
- openDialogBox(template: TemplateRef<HTMLDivElement>, productName: any): void;
228
+ videoCallProduct: Product | null;
229
+ openDialogBox(template: TemplateRef<HTMLDivElement>, productName: any, product?: Product): void;
226
230
  matCloseDialog(): void;
227
231
  otherLanguage: string;
228
232
  videoCallPayload: any;
@@ -1,15 +1,15 @@
1
1
  import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
3
  import { MessageService } from 'primeng/api';
4
- import { RestService } from '../../services/rest.service';
4
+ import { BookingProductCartService } from '../../services/booking-product-cart.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ScheduleVideoCallComponent implements OnInit {
7
7
  private readonly dialogRef;
8
8
  private matDialog;
9
9
  private readonly messageService;
10
- private readonly restService;
10
+ private readonly bookingProductCartService;
11
11
  responseData: any;
12
- constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService, restService: RestService, responseData: any);
12
+ constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService, bookingProductCartService: BookingProductCartService, responseData: any);
13
13
  ngOnInit(): void;
14
14
  selectedProducts: any[];
15
15
  languages: string[];
@@ -1,16 +1,42 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
1
3
  import { RestService } from '../../../../services/rest.service';
2
4
  import { EventsService } from '../../../../services/events.service';
3
5
  import { Router } from '@angular/router';
4
6
  import { BannerContentModel, BannerSectionModel } from '../../appointment-form.model';
5
7
  import { BackgroundModel, BannerStylesModel } from '../../../../styles/style.model';
6
8
  import { MessageService } from 'primeng/api';
9
+ import { BookingProductCartService } from '../../../../services/booking-product-cart.service';
10
+ import { StorageServiceService } from '../../../../services/storage.service';
7
11
  import * as i0 from "@angular/core";
8
- export declare class AppointmentBookingComponent {
12
+ type BookingMode = 'STORE_VISIT' | 'HOME_VISIT' | 'VIDEO_CALL';
13
+ interface ResolvedLine {
14
+ services: {
15
+ id: string;
16
+ name: string;
17
+ }[];
18
+ totalDurationMinutes: number;
19
+ staffId?: string;
20
+ staffName?: string;
21
+ candidateStaffPool?: {
22
+ id: string;
23
+ name: string;
24
+ }[];
25
+ selectedStaffId?: string;
26
+ selectedStaffName?: string;
27
+ slots: any[];
28
+ selectedSlot?: any;
29
+ slotsLoading?: boolean;
30
+ }
31
+ export declare class AppointmentBookingComponent implements OnInit {
9
32
  private restService;
10
33
  private _eventService;
11
34
  private readonly router;
12
35
  private readonly messageService;
13
- constructor(restService: RestService, _eventService: EventsService, router: Router, messageService: MessageService);
36
+ private readonly bookingProductCartService;
37
+ private readonly storageService;
38
+ private readonly dialogRef;
39
+ constructor(restService: RestService, _eventService: EventsService, router: Router, messageService: MessageService, bookingProductCartService: BookingProductCartService, storageService: StorageServiceService, dialogRef: MatDialogRef<AppointmentBookingComponent>);
14
40
  data?: BannerSectionModel;
15
41
  index?: number;
16
42
  content?: BannerContentModel;
@@ -18,6 +44,11 @@ export declare class AppointmentBookingComponent {
18
44
  delete?: boolean;
19
45
  customClass?: string;
20
46
  nextComponentColor?: BackgroundModel;
47
+ /** Lets a launching dialog (e.g. the video-call product picker) carry over name/phone already collected, so the customer isn't asked twice. */
48
+ prefillContact?: {
49
+ name?: string;
50
+ phoneNumber?: string;
51
+ };
21
52
  styles?: BannerStylesModel;
22
53
  ngOnInit(): void;
23
54
  screenWidth: number;
@@ -36,54 +67,55 @@ export declare class AppointmentBookingComponent {
36
67
  barWidth: string;
37
68
  showCancellationPolicy: boolean;
38
69
  showReducingPolicy: boolean;
39
- selectedService: any;
70
+ selectedMode: BookingMode;
71
+ modePinned: boolean;
72
+ cartServices: any[];
73
+ resolvedLines: ResolvedLine[];
74
+ resolvingCart: boolean;
75
+ productCartItems: any[];
40
76
  selectedLocation: any;
41
- homeAddress: string;
77
+ homeVisitAddress: any;
42
78
  instructions: string;
43
79
  Object: ObjectConstructor;
44
80
  showCalendar: boolean;
45
81
  selectedDate: Date | null;
46
82
  selectedDateStr: string;
47
- userDetails: {
48
- name: string;
49
- email: string;
50
- mobileNumber: string;
51
- };
83
+ bookingGroup: any;
52
84
  dateFilter: (d: Date | null) => boolean;
53
85
  toggleCalendar(event?: Event): void;
54
86
  onDateSelected(date: any): void;
55
87
  private formatDate;
88
+ private toIsoDate;
89
+ selectMode(mode: BookingMode): void;
90
+ loadProductCartForMode(): Promise<void>;
56
91
  selectService(service: any): void;
57
92
  selectLocation(location: any): void;
58
- selectedStaff: any;
59
- selectStaff(staff: any): void;
60
93
  nextStep(): void;
61
94
  previousStep(): void;
62
95
  serviceData: any[];
63
96
  getAllServices(): void;
64
97
  locationData: any[];
65
98
  getAllLocations(): void;
66
- staffPayload: any;
99
+ goToDateSelection(): void;
67
100
  staffSearchQuery: string;
68
101
  get filteredStaff(): any[];
69
102
  staffData: any[];
70
- getAllStaff(): void;
103
+ resolveCart(): void;
104
+ getAllStaffForProductOnlyLine(): void;
105
+ selectStaffForProductOnlyLine(staff: any): void;
106
+ selectStaffForLine(line: ResolvedLine, staff: any): void;
107
+ fetchAllLineSlots(): void;
108
+ selectSlotForLine(line: ResolvedLine, slot: any): void;
71
109
  convertTo24Hour(time: string): string;
72
- slotsPayload: any;
73
- locationTiming: any[];
74
110
  loader: boolean;
75
- getAvailableSlots(): void;
76
111
  isProcessing: boolean;
77
- selectedTime: any;
78
- selectTimeSlot(time: any): void;
79
112
  termsAndConditions: boolean;
80
113
  checkRequiredValues(): void;
81
114
  appointmentPayload: any;
82
- checkPayment(): void;
83
115
  apiStatus: boolean;
84
- createAppointment(): void;
85
- paymentBookingAppointment(): void;
116
+ confirmBooking(): void;
86
117
  goBack(): void;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, [null, null, null, null, null, null, { optional: true; }]>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "prefillContact": { "alias": "prefillContact"; "required": false; }; }, {}, never, never, true, never>;
89
120
  }
121
+ export {};
@@ -70,6 +70,11 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
70
70
  ngOnDestroy(): void;
71
71
  passbookAppStatus: boolean;
72
72
  checkPassbookApp(): void;
73
+ /** Login/signup for a non-ecommerce header also needs to show for a business with only the
74
+ * Appointment app installed (booking now requires login) - mirrors checkPassbookApp() exactly,
75
+ * reusing the same generic "is app installed" check already used for Passbook. */
76
+ appointmentAppStatus: boolean;
77
+ checkAppointmentApp(): void;
73
78
  showSearchBarMobile: boolean;
74
79
  showDropdownDesktopSearch: boolean;
75
80
  isNavbarOpen: boolean;
@@ -0,0 +1,26 @@
1
+ import { OrderedItems } from '../ecommerce/styles/OrderedItems.modal';
2
+ import { Product } from '../ecommerce/styles/product.modal';
3
+ import { StorageServiceService } from './storage.service';
4
+ import * as i0 from "@angular/core";
5
+ export type BookingCartMode = 'HOME_VISIT' | 'VIDEO_CALL';
6
+ /**
7
+ * The product-side cart for Home Visit / Video Call bookings. Deliberately simpler than
8
+ * CartService's TRIAL_CART handling — the new group/cart booking API takes product lines
9
+ * directly in the `hold` request body, so there's no server-side cart to keep in sync with for
10
+ * either logged-in or anonymous users. Everything here is local-only (IndexedDB via
11
+ * StorageServiceService), for both user types alike.
12
+ */
13
+ export declare class BookingProductCartService {
14
+ private readonly storageService;
15
+ constructor(storageService: StorageServiceService);
16
+ addItem(mode: BookingCartMode, product: Product, variantId?: string): Promise<void>;
17
+ /** For callers that already have an OrderedItems-shaped record (e.g. from an existing cart) rather than a raw Product. */
18
+ addOrderedItem(mode: BookingCartMode, item: OrderedItems): Promise<void>;
19
+ removeItem(mode: BookingCartMode, variantId: string): Promise<void>;
20
+ getItems(mode: BookingCartMode): Promise<OrderedItems[]>;
21
+ clear(mode: BookingCartMode): Promise<void>;
22
+ /** Renames varientId -> variantId and computes totalPrice, matching BookingGroupRequest.productLines' shape. */
23
+ toProductLine(item: OrderedItems): any;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookingProductCartService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<BookingProductCartService>;
26
+ }
@@ -121,8 +121,11 @@ export declare class RestService implements OnDestroy {
121
121
  getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
122
122
  getFieldsToDisplay(fieldsList: any[]): any;
123
123
  getBookingSlots(payload: any): Observable<Object>;
124
- bookAppointmentV2(payload: any): Observable<Object>;
125
- paymentForAppointment(payload: any): Observable<Object>;
124
+ resolveCart(payload: any): Observable<Object>;
125
+ holdBooking(payload: any): Observable<Object>;
126
+ getBookingGroup(groupId: string): Observable<Object>;
127
+ generatePaymentToken(groupId: string): Observable<Object>;
128
+ completeBookingGroup(groupId: string): Observable<Object>;
126
129
  generateToken(bId: any, userId: any): Observable<Object>;
127
130
  getAllEnrolledSchemes(payload: any): Observable<Object>;
128
131
  enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
@@ -28,6 +28,14 @@ export declare class StorageServiceService {
28
28
  favouriteCollectionName: string;
29
29
  trialCartCollectionName: string;
30
30
  userCollectionName: string;
31
+ /**
32
+ * One bucket per booking mode (Home Visit / Video Call), local-only, no server sync - unlike
33
+ * TRIAL_CART, the new group/cart booking API takes product lines directly in the hold request,
34
+ * so there's no server-side cart to keep these in sync with. Kept separate from each other so
35
+ * a customer can hold a pending cart for each mode at once.
36
+ */
37
+ homeVisitCartCollectionName: string;
38
+ videoCallCartCollectionName: string;
31
39
  database: IDBDatabase;
32
40
  cartCollectionRef: IDBObjectStore | null;
33
41
  favouriteCollectionRef: IDBObjectStore | null;
@@ -54,6 +62,11 @@ export declare class StorageServiceService {
54
62
  clearUserCart(): IDBRequest<undefined>;
55
63
  clearTrialCart(): IDBRequest<undefined>;
56
64
  removeProductFromTrialCart(productId: string): IDBRequest<undefined>;
65
+ private bookingCartStoreName;
66
+ getBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL'): Promise<IDBRequest<OrderedItems[]>>;
67
+ addProductToBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL', product: OrderedItems): Promise<IDBRequest<IDBValidKey>>;
68
+ removeProductFromBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL', productId: string): Promise<IDBRequest<undefined>>;
69
+ clearBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL'): Promise<IDBRequest<undefined>>;
57
70
  setUser(user: User): User;
58
71
  getUser(): User | null;
59
72
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.932",
3
+ "version": "3.6.934",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -32,7 +32,7 @@ export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.compon
32
32
  export * from './lib/sections/logo-showcase/logo-showcase.component';
33
33
  export * from './lib/sections/banner-carousel/banner-carousel.component';
34
34
  export * from './lib/sections/carousel-banner/carousel-banner.component';
35
- export * from './lib/sections/appointment-form/appointment-form.component';
35
+ export * from './lib/components/deprecated-section/deprecated-section.component';
36
36
  export * from './lib/sections/testimonial-video/testimonial-video.component';
37
37
  export * from './lib/sections/logo-gallery/logo-gallery.component';
38
38
  export * from './lib/sections/registration-form/registration-form.component';
@@ -72,7 +72,6 @@ export * from './lib/ecommerce/sections/store-list/store-list.component';
72
72
  export * from './lib/ecommerce/sections/store-page/store-page.component';
73
73
  export * from './lib/ecommerce/sections/enrollment-form/enrollment-form.component';
74
74
  export * from './lib/ecommerce/sections/returns-calculator/returns-calculator.component';
75
- export * from './lib/ecommerce/sections/book-appointment/book-appointment.component';
76
75
  export * from './lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component';
77
76
  export * from './lib/sections/video-grid-section/video-grid-section.component';
78
77
  export * from './lib/ecommerce/sections/refer-earn/refer-earn.component';