simpo-component-library 3.6.999 → 3.7.1

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 (271) 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 +1 -1
  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/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/video-directive.directive.mjs +1 -1
  40. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  41. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
  44. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  45. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +3 -3
  46. package/esm2022/lib/ecommerce/sections/brands-with-image-background-columns/brands-with-image-background-columns.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  48. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  49. package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +7 -5
  50. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  53. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  55. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
  57. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
  58. package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.component.mjs +3 -3
  59. package/esm2022/lib/ecommerce/sections/featured-brand/featured-brand.modal.mjs +1 -1
  60. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +5 -5
  61. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +5 -5
  63. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  64. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  65. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  66. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +5 -5
  67. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  68. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  69. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  70. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
  71. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  72. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  73. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +19 -5
  74. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  75. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +229 -15
  76. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  77. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +3 -3
  78. package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +1 -1
  79. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +1 -1
  80. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
  81. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  82. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  83. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
  84. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
  85. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  86. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  87. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  88. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  89. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  90. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  91. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  92. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  93. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  94. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  95. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  96. package/esm2022/lib/ecommerce/styles/Brand.modal.mjs +1 -1
  97. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +2 -1
  98. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  99. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  100. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  101. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  102. package/esm2022/lib/ecommerce/styles/category.modal.mjs +2 -1
  103. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  104. package/esm2022/lib/ecommerce/styles/product.modal.mjs +11 -1
  105. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  106. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  107. package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
  108. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  109. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  110. package/esm2022/lib/elements/booking-cart-groups/booking-cart-groups.component.mjs +3 -3
  111. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  112. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  113. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  114. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  115. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  116. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  117. package/esm2022/lib/elements/index.mjs +1 -1
  118. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  119. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  120. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  121. package/esm2022/lib/elements/my-bookings/my-bookings.component.mjs +13 -3
  122. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  123. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  124. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  125. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  126. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  127. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  128. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +7 -7
  129. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  130. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  131. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  132. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  133. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  134. package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +8 -5
  135. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  136. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  137. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  138. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  139. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  140. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  141. package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
  142. package/esm2022/lib/sections/brand-story-section/brand-story-section.modal.mjs +1 -1
  143. package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
  144. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  145. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  146. package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
  147. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +3 -3
  148. package/esm2022/lib/sections/countdown-banner/countdown-banner.component.model.mjs +1 -1
  149. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
  150. package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +1 -1
  151. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  152. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  153. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
  154. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +1 -1
  155. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  156. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  157. package/esm2022/lib/sections/footer/footer.component.mjs +10 -7
  158. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  159. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +3 -3
  160. package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.modal.mjs +1 -1
  161. package/esm2022/lib/sections/header-section/header-section.component.mjs +12 -7
  162. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  163. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  164. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  165. package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
  166. package/esm2022/lib/sections/image-background/image-background/image-background.component.model.mjs +1 -1
  167. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  168. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  169. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
  170. package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.model.mjs +1 -1
  171. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  172. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  173. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  174. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  175. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  176. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  177. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  178. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  179. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
  180. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  181. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  182. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  183. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  184. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  185. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  186. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
  187. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
  188. package/esm2022/lib/sections/overlapping-image/overlapping-image.component.modal.mjs +1 -1
  189. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  190. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  191. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  192. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  193. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  194. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  195. package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
  196. package/esm2022/lib/sections/product-info-section/product-info-section.component.modal.mjs +1 -1
  197. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  198. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  199. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  200. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  201. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  202. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  203. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  204. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  205. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
  206. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
  207. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  208. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  209. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  210. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  211. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  212. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  213. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  214. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
  215. package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +1 -1
  216. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  217. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  218. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
  219. package/esm2022/lib/sections/testimonial-slider/testimonial-slider.model.mjs +1 -1
  220. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  221. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  222. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  223. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  224. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  225. package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
  226. package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
  227. package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
  228. package/esm2022/lib/sections/video-grid-section/video-grid-section.model.mjs +1 -1
  229. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  230. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  231. package/esm2022/lib/sections/video-showcase/video-showcase.component.mjs +3 -3
  232. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +1 -1
  233. package/esm2022/lib/services/analytics.service.mjs +1 -1
  234. package/esm2022/lib/services/booking-product-cart.service.mjs +1 -1
  235. package/esm2022/lib/services/cart.service.mjs +1 -1
  236. package/esm2022/lib/services/endUser.service.mjs +1 -1
  237. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  238. package/esm2022/lib/services/rest.service.mjs +38 -4
  239. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  240. package/esm2022/lib/services/storage.service.mjs +1 -1
  241. package/esm2022/lib/styles/gradient-extension.mjs +1 -1
  242. package/esm2022/lib/styles/index.mjs +1 -1
  243. package/esm2022/lib/styles/style.model.mjs +1 -1
  244. package/esm2022/lib/styles/text-size.extension.mjs +1 -1
  245. package/esm2022/lib/styles/types.mjs +1 -1
  246. package/esm2022/lib/tokens/api-token.mjs +1 -1
  247. package/esm2022/lib/utils/list-route.util.mjs +56 -0
  248. package/esm2022/public-api.mjs +1 -1
  249. package/fesm2022/simpo-component-library.mjs +598 -254
  250. package/fesm2022/simpo-component-library.mjs.map +1 -1
  251. package/lib/ecommerce/sections/featured-brand/featured-brand.component.d.ts +1 -1
  252. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  253. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  254. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  255. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +5 -1
  256. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +42 -1
  257. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  258. package/lib/ecommerce/styles/Collection.modal.d.ts +1 -0
  259. package/lib/ecommerce/styles/category.modal.d.ts +1 -0
  260. package/lib/ecommerce/styles/product.modal.d.ts +42 -0
  261. package/lib/elements/my-bookings/my-bookings.component.d.ts +3 -0
  262. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
  263. package/lib/sections/footer/footer.component.d.ts +2 -2
  264. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  265. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  266. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  267. package/lib/services/rest.service.d.ts +8 -2
  268. package/lib/utils/list-route.util.d.ts +21 -0
  269. package/package.json +1 -1
  270. package/simpo-component-library-3.7.001.tgz +0 -0
  271. package/simpo-component-library-3.6.999.tgz +0 -0
@@ -36,7 +36,7 @@ export declare class FeaturedBrandComponent extends BaseSection {
36
36
  get getDirection(): "ROW" | "COLUMN" | undefined;
37
37
  get stylesLayout(): LayOutModel;
38
38
  get isMobile(): boolean;
39
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
39
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedBrandComponent, never>;
41
41
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedBrandComponent, "simpo-featured-brand", 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>;
42
42
  }
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
40
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  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>;
43
43
  }
@@ -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
  }
@@ -81,6 +81,10 @@ export declare class ProductDescComponent extends BaseSection {
81
81
  ngOnInit(): void;
82
82
  ngAfterViewInit(): void;
83
83
  varientLoading: boolean;
84
+ get customFieldSpecs(): {
85
+ label: string;
86
+ value: string;
87
+ }[];
84
88
  recentViewItemList: Product[];
85
89
  getRelatedProducts(): void;
86
90
  selectVarient(key: string, value: string): void;
@@ -127,7 +131,7 @@ export declare class ProductDescComponent extends BaseSection {
127
131
  getHeaderColor(type: string): string;
128
132
  formatItemCode(code: any): string | null;
129
133
  getTextColor(color: any): "#000000" | "#ffffff";
130
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
134
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
131
135
  onFindInStore(id: string): void;
132
136
  onBookAppointment(): void;
133
137
  isDetails: boolean;
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy, ElementRef, Renderer2 } from '@angular/core';
2
- import { ItemVariant, Product } from '../../styles/product.modal';
2
+ import { FilterDef, FilterGroup, ItemVariant, Product } from '../../styles/product.modal';
3
3
  import BaseSection from '../../../sections/BaseSection';
4
4
  import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
5
5
  import { EventsService } from '../../../services/events.service';
@@ -20,6 +20,7 @@ interface BaseModel {
20
20
  id: string;
21
21
  imgUrl: string;
22
22
  status: boolean;
23
+ slug?: string;
23
24
  }
24
25
  interface RatingFilterOption {
25
26
  label: string;
@@ -76,6 +77,24 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
76
77
  name: string;
77
78
  value: string;
78
79
  }[];
80
+ private readonly SYSTEM_FILTER_IDS;
81
+ private readonly BUILT_IN_SORTS;
82
+ customFilterGroups: FilterGroup[];
83
+ customChoiceSelections: {
84
+ [identifier: string]: string[];
85
+ };
86
+ customRangeSelections: {
87
+ [identifier: string]: {
88
+ min: string;
89
+ max: string;
90
+ };
91
+ };
92
+ customGroupCollapsed: {
93
+ [key: string]: boolean;
94
+ };
95
+ private filterOptionsKey;
96
+ urlCategorySlugs: string[];
97
+ urlCollectionSlugs: string[];
79
98
  screenWidth: number;
80
99
  filterList: any[];
81
100
  styles?: ProductListStylesModal;
@@ -113,6 +132,23 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
113
132
  raiseLead(): void;
114
133
  priceRangeFlag: boolean;
115
134
  filterItemList(): void;
135
+ private get customSearchOptions();
136
+ private loadFilterOptions;
137
+ isCustomChoiceSelected(identifier: string, value: string): boolean;
138
+ toggleCustomChoice(filter: FilterDef, value: string): void;
139
+ customRange(identifier: string): {
140
+ min: string;
141
+ max: string;
142
+ };
143
+ setCustomRange(identifier: string, edge: 'min' | 'max', value: string | number | null): void;
144
+ get selectedCustomChips(): {
145
+ id: string;
146
+ name: string;
147
+ type: string;
148
+ identifier: string;
149
+ value?: string;
150
+ }[];
151
+ get displayChips(): any[];
116
152
  dynamicPriceRange(minPrice: number, maxPrice: number): void;
117
153
  selectOption(filter: any, event: MouseEvent): void;
118
154
  getSelectedName(): string;
@@ -128,6 +164,11 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
128
164
  ngOnInit(): void;
129
165
  fetchAnalytics(): void;
130
166
  getCategoriesAndCollection(): void;
167
+ private listsLoaded;
168
+ private lastListPath;
169
+ private listPathSubscription?;
170
+ private currentListPath;
171
+ private resolveListRouteParams;
131
172
  get selectedCategoryCollectionChips(): {
132
173
  id: string;
133
174
  name: string;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -4,6 +4,7 @@ export declare class Collection extends BaseCollection {
4
4
  collectionName: string;
5
5
  featuredCollection: boolean;
6
6
  itemIds: string[];
7
+ slugName: string;
7
8
  constructor(json?: {
8
9
  [key: string]: any;
9
10
  });
@@ -3,6 +3,7 @@ export declare class Category extends BaseCollection {
3
3
  categoryId: string;
4
4
  categoryName: string;
5
5
  featuredCategory: boolean;
6
+ slugName: string;
6
7
  constructor(json?: {
7
8
  [key: string]: any;
8
9
  });
@@ -38,6 +38,9 @@ export declare class Product {
38
38
  tags: string[];
39
39
  jewelryPriceBreakup: any;
40
40
  configs: any;
41
+ customFieldValues: {
42
+ [identifier: string]: any;
43
+ };
41
44
  constructor(json?: {
42
45
  [key: string]: any;
43
46
  });
@@ -105,10 +108,49 @@ export interface ItemVariant {
105
108
  variantImages: ItemImage[];
106
109
  itemPacks: ItemPack[];
107
110
  properties: any;
111
+ options?: ItemVariantOption[];
108
112
  itemVariantPrice: ItemVariantPrice;
109
113
  itemInventory: ItemInventory2;
110
114
  itemStatus: string;
111
115
  }
116
+ export interface ItemVariantOption {
117
+ name: string;
118
+ value: string;
119
+ }
120
+ export interface FilterChoice {
121
+ value: string;
122
+ label: string;
123
+ count: number;
124
+ }
125
+ export interface FilterDef {
126
+ identifier: string;
127
+ label: string;
128
+ type: string;
129
+ control: 'MULTI_SELECT' | 'SELECT' | 'RANGE' | 'BOOLEAN' | 'LOOKUP' | string;
130
+ choices: FilterChoice[];
131
+ min?: number | null;
132
+ max?: number | null;
133
+ }
134
+ export interface FilterGroup {
135
+ key: string;
136
+ label: string;
137
+ filters: FilterDef[];
138
+ }
139
+ export interface SortOption {
140
+ key: string;
141
+ label: string;
142
+ }
143
+ export interface FilterOptions {
144
+ sorts: SortOption[];
145
+ groups: FilterGroup[];
146
+ filters: FilterDef[];
147
+ }
148
+ export interface CustomFieldFilter {
149
+ identifier: string;
150
+ values?: string[];
151
+ min?: string;
152
+ max?: string;
153
+ }
112
154
  export interface ItemPack {
113
155
  itemPackId: string;
114
156
  packName: string;
@@ -69,6 +69,7 @@ export declare class MyBookingsComponent implements OnInit {
69
69
  profTab: 'upcoming' | 'past';
70
70
  loading: boolean;
71
71
  cancelling: boolean;
72
+ cancelConfirmOpen: boolean;
72
73
  private allBookings;
73
74
  upcoming: BookingRow[];
74
75
  past: BookingRow[];
@@ -132,6 +133,8 @@ export declare class MyBookingsComponent implements OnInit {
132
133
  selectReschTime(time: string): void;
133
134
  get reschInvalid(): boolean;
134
135
  confirmReschedule(): void;
136
+ openCancelConfirm(): void;
137
+ closeCancelConfirm(): void;
135
138
  cancelBooking(): void;
136
139
  static ɵfac: i0.ɵɵFactoryDeclaration<MyBookingsComponent, never>;
137
140
  static ɵcmp: i0.ɵɵComponentDeclaration<MyBookingsComponent, "simpo-my-bookings", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
@@ -32,7 +32,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
32
32
  get stylesLayout(): LayOutModel;
33
33
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
34
34
  get getBackgroundColor(): BackgroundModel;
35
- get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
35
+ get getBackgroundOpacity(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
36
36
  opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
37
37
  editSection(): void;
38
38
  getScreenSize(): number;
@@ -38,8 +38,8 @@ export declare class FooterComponent extends BaseSection {
38
38
  navigateToHome(): void;
39
39
  popularSearchedCategories: any[];
40
40
  getPopularSearches(): void;
41
- redirectToCollection(collectionName: string, categoryName: string): void;
42
- redirectToCategory(categoryName: string): void;
41
+ redirectToCollection(collection: any, category: any): void;
42
+ redirectToCategory(category: any): void;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
44
44
  static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
45
45
  }
@@ -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;
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-4" | "col-12" | "col-6" | "col-3";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
27
27
  getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -3,7 +3,7 @@ import { OnDestroy } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { Review } from '../ecommerce/styles/review.modal';
5
5
  import { DeviceInfo } from '../ecommerce/styles/user.modal';
6
- import { checkItemAlreadyAdded, syncItemToServerDBRequest } from '../ecommerce/styles/product.modal';
6
+ import { checkItemAlreadyAdded, CustomFieldFilter, FilterOptions, syncItemToServerDBRequest } from '../ecommerce/styles/product.modal';
7
7
  import { CookieService } from 'ngx-cookie-service';
8
8
  import { StorageLike } from '../services/storage-like';
9
9
  import * as i0 from "@angular/core";
@@ -42,7 +42,13 @@ export declare class RestService implements OnDestroy {
42
42
  getAllCategories(): Observable<any>;
43
43
  getAllCollections(): Observable<any>;
44
44
  getAllBrands(): Observable<any>;
45
- getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, minRating: number, maxRating: number, sortBy: string, pageNo: number, size: number, brandIds?: string[]): Observable<{
45
+ getFilterOptions(categoryId?: string | null, collectionId?: string | null, categorySlugName?: string | null, collectionSlugName?: string | null): Observable<FilterOptions>;
46
+ getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, minRating: number, maxRating: number, sortBy: string, pageNo: number, size: number, brandIds?: string[], extra?: {
47
+ customFieldFilters?: CustomFieldFilter[];
48
+ sortDirection?: 'asc' | 'desc';
49
+ categorySlugName?: string[];
50
+ collectionSlugName?: string[];
51
+ }): Observable<{
46
52
  count: any;
47
53
  minPrice: any;
48
54
  maxPrice: any;
@@ -0,0 +1,21 @@
1
+ interface Sluggable {
2
+ slugName?: string | null;
3
+ categoryName?: string | null;
4
+ collectionName?: string | null;
5
+ refName?: string | null;
6
+ name?: string | null;
7
+ }
8
+ export declare function slugFromName(name?: string | null): string;
9
+ export declare function listSlug(item?: Sluggable | string | null): string;
10
+ /** Commands for `router.navigate`, e.g. `['/list', 'mens-wear', 'summer-wear']`. */
11
+ export declare function listPath(target: {
12
+ category?: Sluggable | string | null;
13
+ collection?: Sluggable | string | null;
14
+ }): string[];
15
+ /**
16
+ * Slug segments of a list page pathname, at most `[category, collection]`.
17
+ * `/list/mens-wear/summer-wear` and a host route that serves the list at the root,
18
+ * `/mens-wear/summer-wear`, both give `['mens-wear', 'summer-wear']`.
19
+ */
20
+ export declare function parseListPath(pathname: string): string[];
21
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.999",
3
+ "version": "3.7.001",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file