simpo-component-library 3.6.446 → 3.6.448

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 (250) 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 +2 -2
  25. package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
  26. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  27. package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
  28. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  29. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +1 -1
  30. package/esm2022/lib/directive/spacing-around.directive.mjs +3 -3
  31. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +4 -4
  32. package/esm2022/lib/directive/spacing.directive.mjs +1 -1
  33. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  34. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  35. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  36. package/esm2022/lib/directive/translate-onhover.directive.mjs +3 -3
  37. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  38. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  39. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  40. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -19
  41. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  42. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +1 -1
  44. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  45. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  46. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  49. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  50. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
  53. package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  55. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  57. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  58. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  59. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  60. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  61. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  63. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  64. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  65. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  66. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  67. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  68. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  69. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  70. package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +18 -227
  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 +14 -193
  73. package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
  74. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  75. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  76. package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
  77. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  78. package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
  79. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  80. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +22 -179
  81. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  82. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +31 -90
  83. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  84. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  85. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  86. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  87. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  88. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  89. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  90. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  91. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  92. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  93. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  94. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  95. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  96. package/esm2022/lib/elements/add-section/add-section.component.mjs +5 -15
  97. package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
  98. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  99. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  100. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  101. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  102. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  103. package/esm2022/lib/elements/editor-service.service.mjs +6 -29
  104. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  105. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -3
  106. package/esm2022/lib/elements/index.mjs +1 -1
  107. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
  108. package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
  109. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
  110. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  111. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
  112. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
  113. package/esm2022/lib/elements/property/property.component.mjs +3 -3
  114. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +3 -3
  115. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  116. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
  117. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  118. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  119. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  120. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  121. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  122. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  123. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  124. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  125. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  126. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  127. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  128. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  129. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +13 -3
  130. package/esm2022/lib/sections/banner-section/banner-section.model.mjs +1 -1
  131. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +4 -4
  132. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  133. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  134. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  135. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  136. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  137. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  138. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  139. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  140. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  141. package/esm2022/lib/sections/header-section/header-section.component.mjs +39 -35
  142. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  143. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  144. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  145. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  146. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  147. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  148. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  149. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  150. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  151. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  152. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  153. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  154. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  155. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
  156. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  157. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  158. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  159. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  160. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  161. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  162. package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
  163. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  164. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  165. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  166. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  167. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  168. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  169. package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
  170. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  171. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  172. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  173. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  174. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  175. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
  176. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  177. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  178. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  179. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  180. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  181. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  182. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  183. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  184. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  185. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  186. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
  187. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  188. package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
  189. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  190. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
  191. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  192. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  193. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  194. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  195. package/esm2022/lib/services/cart.service.mjs +1 -1
  196. package/esm2022/lib/services/endUser.service.mjs +1 -1
  197. package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
  198. package/esm2022/lib/services/rest.service.mjs +10 -102
  199. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  200. package/esm2022/lib/services/storage.service.mjs +35 -59
  201. package/esm2022/lib/styles/index.mjs +1 -2
  202. package/esm2022/lib/styles/style.model.mjs +1 -1
  203. package/esm2022/lib/styles/types.mjs +1 -1
  204. package/esm2022/lib/tokens/api-token.mjs +1 -1
  205. package/esm2022/public-api.mjs +1 -5
  206. package/fesm2022/simpo-component-library.mjs +438 -1563
  207. package/fesm2022/simpo-component-library.mjs.map +1 -1
  208. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -2
  209. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  210. package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +3 -41
  211. package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +3 -35
  212. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +2 -19
  213. package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +0 -4
  214. package/lib/elements/editor-service.service.d.ts +1 -4
  215. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  216. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  217. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  218. package/lib/sections/banner-section/banner-section.component.d.ts +4 -1
  219. package/lib/sections/banner-section/banner-section.model.d.ts +2 -1
  220. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  221. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  222. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  223. package/lib/sections/header-section/header-section.component.d.ts +1 -6
  224. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  225. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  226. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  227. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  228. package/lib/services/rest.service.d.ts +2 -21
  229. package/lib/services/storage.service.d.ts +1 -4
  230. package/lib/styles/index.d.ts +1 -2
  231. package/lib/styles/style.model.d.ts +5 -0
  232. package/package.json +1 -1
  233. package/public-api.d.ts +0 -4
  234. package/simpo-component-library-3.6.448.tgz +0 -0
  235. package/src/lib/styles/global-styles.css +272 -272
  236. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +0 -37
  237. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +0 -108
  238. package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +0 -2
  239. package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +0 -265
  240. package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +0 -2
  241. package/esm2022/lib/services/local-storage.token.mjs +0 -23
  242. package/esm2022/lib/services/storage-like.mjs +0 -2
  243. package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +0 -14
  244. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +0 -28
  245. package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +0 -21
  246. package/lib/sections/scheme-detail/scheme-detail.component.d.ts +0 -68
  247. package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +0 -17
  248. package/lib/services/local-storage.token.d.ts +0 -3
  249. package/lib/services/storage-like.d.ts +0 -8
  250. package/simpo-component-library-3.6.446.tgz +0 -0
@@ -1,108 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import BaseSection from '../../../sections/BaseSection';
3
- import { CommonModule, NgFor, NgIf } from '@angular/common';
4
- import { HoverDirective } from '../../../directive/hover-element-directive';
5
- import { SimpoComponentModule } from '../../../components';
6
- import { TextEditorComponent } from '../../../elements/text-editor/text-editor.component';
7
- import { SpacingHorizontalDirective } from '../../../directive/spacing-horizontal.directive';
8
- import { BackgroundDirective } from '../../../directive/background-directive';
9
- import { SpacingDirective } from '../../../directive/spacing.directive';
10
- import { SpacingAroundDirective } from '../../../directive/spacing-around.directive';
11
- import { AnimationDirective } from '../../../directive/animation-directive';
12
- import { CornerDirective } from '../../../directive/corner-directive';
13
- import { ImageDirectiveDirective } from '../../../directive/image-directive.directive';
14
- import { ContentFitDirective } from '../../../directive/content-fit-directive';
15
- import { ColorDirective } from '../../../directive/color.directive';
16
- import * as i0 from "@angular/core";
17
- import * as i1 from "../../../services/rest.service";
18
- import * as i2 from "@angular/router";
19
- import * as i3 from "@angular/common";
20
- import * as i4 from "../../../components/hover-elements/hover-elements.component";
21
- import * as i5 from "../../../components/delete-hover-element/delete-hover-element.component";
22
- export class SchemesComponent extends BaseSection {
23
- constructor(restService, router) {
24
- super();
25
- this.restService = restService;
26
- this.router = router;
27
- }
28
- ngOnInit() {
29
- this.getAllSchemes();
30
- this.content = this.data?.content;
31
- this.styles = this.data?.styles;
32
- }
33
- getAllSchemes() {
34
- const payload = {
35
- businessIds: [
36
- localStorage.getItem('businessId') ?? ""
37
- ]
38
- };
39
- this.restService.getAllEnrolledSchemes(payload).subscribe((response) => {
40
- this.schemes = response?.data?.data;
41
- }, (error) => {
42
- console.error('Error fetching schemes:', error);
43
- });
44
- }
45
- get getInputText() {
46
- return this.content?.inputText[0]?.value ?? "";
47
- }
48
- get stylesLayout() {
49
- return { ...this.styles?.layout };
50
- }
51
- get spacingLayout() {
52
- return { ...this.styles?.layout?.spacing };
53
- }
54
- getParentClass() {
55
- if (this.styles?.direction == 'ROW')
56
- return 'overflow-scroll flex-nowrap';
57
- else
58
- return '';
59
- }
60
- getClass(index) {
61
- if (window.innerWidth < 475) {
62
- return 'col-12';
63
- }
64
- if (this.styles?.direction == 'ROW') {
65
- return 'col-6 mb-2';
66
- }
67
- else {
68
- if (this.schemes?.length % 2 != 0 && index == this.schemes?.length - 1)
69
- return 'col-12 mb-2';
70
- return 'col-6';
71
- }
72
- }
73
- showSchemeDetails(scheme) {
74
- console.log(scheme.id);
75
- this.router.navigate(['/scheme-detail'], { queryParams: { schemeId: scheme?.id } });
76
- }
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SchemesComponent, deps: [{ token: i1.RestService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
78
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SchemesComponent, isStandalone: true, selector: "simpo-schemes", inputs: { data: "data", edit: "edit", delete: "delete", index: "index" }, usesInheritance: true, ngImport: i0, template: "<div class=\"total-container\" simpoHover (hovering)=\"showEditTabs($event)\">\n <div [id]=\"data?.id\" [spacingAround]=\"stylesLayout\">\n <div class=\"d-flex flex-column\" [simpoBackground]=\"styles?.background\" [spacingHorizontal]=\"stylesLayout\"\n [id]=\"data?.id\" [simpoSpacing]=\"spacingLayout\">\n <simpo-text-editor [(value)]=\"getInputText\" [editable]=\"edit || false\"></simpo-text-editor>\n <div class=\"row mt-2\" [simpoAnimation]=\"styles?.animation\" [class]=\"getParentClass()\" [id]=\"data?.id\" [simpoLayout]=\"stylesLayout\">\n <ng-container *ngFor=\"let scheme of schemes; let i = index\">\n <div class=\"d-flex flex-column\" [class]=\"getClass(i)\" (click)=\"showSchemeDetails(scheme)\">\n <img [src]=\"scheme?.imgUrls[0]\" [id]=\"data?.id\" alt=\"Scheme Image\" [simpoCorner]=\"styles?.corners\" [simpoImageDirective]=\"styles?.image\">\n <ng-container *ngIf=\"content?.display?.showText\">\n <div class=\"scheme-text mt-2 fw-bold fs-18\" [style.color]=\"styles?.background?.accentColor\">{{scheme?.schemeName ?? \"\"}}</div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\n </div>\n <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\n </div>\n</div>", styles: [".hover_effect{position:unset;width:100%;height:100%}.total-container{position:relative}.flex-nowrap{flex-wrap:nowrap!important}.fs-18{font-size:18px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i4.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i5.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "component", type: TextEditorComponent, selector: "simpo-text-editor", inputs: ["value", "editable", "sectionId", "label"], outputs: ["valueChange"] }, { kind: "directive", type: SpacingHorizontalDirective, selector: "[spacingHorizontal]", inputs: ["spacingHorizontal", "isHeader"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: SpacingDirective, selector: "[simpoSpacing]", inputs: ["simpoSpacing"] }, { kind: "directive", type: SpacingAroundDirective, selector: "[spacingAround]", inputs: ["spacingAround", "backgroundInfo"] }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }] }); }
79
- }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SchemesComponent, decorators: [{
81
- type: Component,
82
- args: [{ selector: 'simpo-schemes', standalone: true, imports: [
83
- CommonModule,
84
- NgFor,
85
- NgIf,
86
- HoverDirective,
87
- SimpoComponentModule,
88
- TextEditorComponent,
89
- SpacingHorizontalDirective,
90
- BackgroundDirective,
91
- SpacingDirective,
92
- SpacingAroundDirective,
93
- AnimationDirective,
94
- CornerDirective,
95
- ImageDirectiveDirective,
96
- ContentFitDirective,
97
- ColorDirective
98
- ], template: "<div class=\"total-container\" simpoHover (hovering)=\"showEditTabs($event)\">\n <div [id]=\"data?.id\" [spacingAround]=\"stylesLayout\">\n <div class=\"d-flex flex-column\" [simpoBackground]=\"styles?.background\" [spacingHorizontal]=\"stylesLayout\"\n [id]=\"data?.id\" [simpoSpacing]=\"spacingLayout\">\n <simpo-text-editor [(value)]=\"getInputText\" [editable]=\"edit || false\"></simpo-text-editor>\n <div class=\"row mt-2\" [simpoAnimation]=\"styles?.animation\" [class]=\"getParentClass()\" [id]=\"data?.id\" [simpoLayout]=\"stylesLayout\">\n <ng-container *ngFor=\"let scheme of schemes; let i = index\">\n <div class=\"d-flex flex-column\" [class]=\"getClass(i)\" (click)=\"showSchemeDetails(scheme)\">\n <img [src]=\"scheme?.imgUrls[0]\" [id]=\"data?.id\" alt=\"Scheme Image\" [simpoCorner]=\"styles?.corners\" [simpoImageDirective]=\"styles?.image\">\n <ng-container *ngIf=\"content?.display?.showText\">\n <div class=\"scheme-text mt-2 fw-bold fs-18\" [style.color]=\"styles?.background?.accentColor\">{{scheme?.schemeName ?? \"\"}}</div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\n </div>\n <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\n </div>\n</div>", styles: [".hover_effect{position:unset;width:100%;height:100%}.total-container{position:relative}.flex-nowrap{flex-wrap:nowrap!important}.fs-18{font-size:18px}\n"] }]
99
- }], ctorParameters: () => [{ type: i1.RestService }, { type: i2.Router }], propDecorators: { data: [{
100
- type: Input
101
- }], edit: [{
102
- type: Input
103
- }], delete: [{
104
- type: Input
105
- }], index: [{
106
- type: Input
107
- }] } });
108
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1lcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2Vjb21tZXJjZS9zZWN0aW9ucy9zY2hlbWVzL3NjaGVtZXMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc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