simpo-component-library 3.6.110 → 3.6.113

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 (223) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +5 -5
  3. package/esm2022/lib/components/document/document.component.mjs +5 -5
  4. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +4 -4
  5. package/esm2022/lib/components/image-loading/image-loading.component.mjs +5 -5
  6. package/esm2022/lib/components/index.mjs +5 -5
  7. package/esm2022/lib/components/input-fields/input-fields.component.mjs +4 -4
  8. package/esm2022/lib/components/payment-details/payment-details.component.mjs +5 -5
  9. package/esm2022/lib/components/trasport-availability/trasport-availability.component.mjs +4 -4
  10. package/esm2022/lib/constants/business.constant.mjs +1 -1
  11. package/esm2022/lib/directive/alignment.directive.mjs +4 -4
  12. package/esm2022/lib/directive/animation-directive.mjs +4 -4
  13. package/esm2022/lib/directive/background-directive.mjs +4 -4
  14. package/esm2022/lib/directive/banner-content-fit-directive.mjs +4 -4
  15. package/esm2022/lib/directive/blur-content.directive.mjs +4 -4
  16. package/esm2022/lib/directive/border-directive.mjs +4 -4
  17. package/esm2022/lib/directive/borderlessImage.directive.mjs +4 -4
  18. package/esm2022/lib/directive/button-directive.directive.mjs +4 -4
  19. package/esm2022/lib/directive/button-editor.directive.mjs +7 -7
  20. package/esm2022/lib/directive/color.directive.mjs +4 -4
  21. package/esm2022/lib/directive/column-directive.directive.mjs +4 -4
  22. package/esm2022/lib/directive/container-alignment.directive.mjs +4 -4
  23. package/esm2022/lib/directive/container-fir.directive.mjs +4 -4
  24. package/esm2022/lib/directive/content-alignment-directive.mjs +4 -4
  25. package/esm2022/lib/directive/content-fit-directive.mjs +4 -4
  26. package/esm2022/lib/directive/content-title-spacing.directive.mjs +4 -4
  27. package/esm2022/lib/directive/contenteditable.directive.mjs +4 -4
  28. package/esm2022/lib/directive/corner-directive.mjs +4 -4
  29. package/esm2022/lib/directive/footer-layout-directive.mjs +4 -4
  30. package/esm2022/lib/directive/height.directive.mjs +4 -4
  31. package/esm2022/lib/directive/hover-animation.directive.mjs +4 -4
  32. package/esm2022/lib/directive/hover-element-directive.mjs +4 -4
  33. package/esm2022/lib/directive/hoverborder.directive.mjs +4 -4
  34. package/esm2022/lib/directive/image-container.directive.mjs +4 -4
  35. package/esm2022/lib/directive/image-directive.directive.mjs +4 -4
  36. package/esm2022/lib/directive/image-editor.directive.mjs +4 -4
  37. package/esm2022/lib/directive/image-position.directive.mjs +4 -4
  38. package/esm2022/lib/directive/overlay-directive.mjs +4 -4
  39. package/esm2022/lib/directive/position-layout-directive.directive.mjs +4 -4
  40. package/esm2022/lib/directive/removeCarousel-directive.mjs +4 -4
  41. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +4 -4
  42. package/esm2022/lib/directive/spacing-around.directive.mjs +8 -5
  43. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +4 -4
  44. package/esm2022/lib/directive/spacing.directive.mjs +4 -4
  45. package/esm2022/lib/directive/sticky-directive.mjs +4 -4
  46. package/esm2022/lib/directive/text-background-directive.directive.mjs +4 -4
  47. package/esm2022/lib/directive/text-size.directive.mjs +4 -4
  48. package/esm2022/lib/directive/translate-onhover.directive.mjs +4 -4
  49. package/esm2022/lib/directive/wrap-containers.directive.mjs +4 -4
  50. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +51 -45
  51. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +5 -5
  52. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +5 -5
  53. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +32 -8
  55. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +5 -5
  57. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  58. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +5 -5
  59. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  60. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +5 -5
  61. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  62. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +5 -5
  63. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  64. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +6 -6
  65. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +5 -5
  66. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  67. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +5 -5
  68. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +6 -6
  69. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
  70. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +5 -5
  71. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +5 -5
  72. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +5 -5
  73. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  74. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +221 -11
  75. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  76. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +6 -6
  77. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  78. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -5
  79. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +5 -5
  80. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +9 -13
  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 +5 -5
  83. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  84. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +5 -5
  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 +2 -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 -5
  97. package/esm2022/lib/elements/address-list/address-list.component.mjs +98 -0
  98. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +5 -5
  99. package/esm2022/lib/elements/button/button.component.mjs +5 -5
  100. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  101. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +5 -5
  102. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +5 -5
  103. package/esm2022/lib/elements/editor-service.service.mjs +4 -4
  104. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +5 -5
  105. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +5 -5
  106. package/esm2022/lib/elements/index.mjs +5 -5
  107. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +5 -5
  108. package/esm2022/lib/elements/media-selector/media-selector.component.mjs +5 -5
  109. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +4 -4
  110. package/esm2022/lib/elements/portfolio/portfolio.component.mjs +5 -5
  111. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +5 -5
  112. package/esm2022/lib/elements/property/property.component.mjs +5 -5
  113. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -5
  114. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +4 -4
  115. package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +5 -5
  116. package/esm2022/lib/elements/text/text.component.mjs +5 -5
  117. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +5 -5
  118. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +5 -5
  119. package/esm2022/lib/pipes/amount.pipe.mjs +4 -4
  120. package/esm2022/lib/pipes/gender.pipe.mjs +4 -4
  121. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  122. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +5 -5
  123. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +5 -5
  124. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  125. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +5 -5
  126. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  127. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +5 -5
  128. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +4 -4
  129. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +5 -5
  130. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  131. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +4 -4
  132. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +5 -5
  133. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  134. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +4 -4
  135. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -5
  136. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  137. package/esm2022/lib/sections/features-section/features-section.component.mjs +5 -5
  138. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  139. package/esm2022/lib/sections/footer/footer.component.mjs +5 -5
  140. package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
  141. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +4 -4
  142. package/esm2022/lib/sections/header-section/header-section.component.mjs +5 -5
  143. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  144. package/esm2022/lib/sections/header-text/header-text.component.mjs +5 -5
  145. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  146. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +5 -5
  147. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  148. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +5 -5
  149. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  150. package/esm2022/lib/sections/image-section/image-section.component.mjs +5 -5
  151. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  152. package/esm2022/lib/sections/location-section/location-section.component.mjs +5 -5
  153. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  154. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +4 -4
  155. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +5 -5
  156. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  157. package/esm2022/lib/sections/moving-text/moving-text.component.mjs +5 -5
  158. package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
  159. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
  160. package/esm2022/lib/sections/new-services/new-services.component.mjs +5 -5
  161. package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
  162. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +5 -5
  163. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
  164. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +5 -5
  165. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  166. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -5
  167. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  168. package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -5
  169. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  170. package/esm2022/lib/sections/property-component/property-component.component.mjs +5 -5
  171. package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
  172. package/esm2022/lib/sections/property-list/property-list.component.mjs +5 -5
  173. package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
  174. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +5 -5
  175. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  176. package/esm2022/lib/sections/registration-form/registration-form.component.mjs +6 -6
  177. package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
  178. package/esm2022/lib/sections/service-section/service-section.component.mjs +5 -5
  179. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  180. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +5 -5
  181. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +5 -5
  182. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  183. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +5 -5
  184. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  185. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +5 -5
  186. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  187. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +5 -5
  188. package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
  189. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +4 -4
  190. package/esm2022/lib/sections/text-section/text-section.component.mjs +4 -4
  191. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  192. package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +5 -5
  193. package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
  194. package/esm2022/lib/sections/video-section/video-section.component.mjs +5 -5
  195. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  196. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +5 -5
  197. package/esm2022/lib/services/cart.service.mjs +4 -4
  198. package/esm2022/lib/services/endUser.service.mjs +4 -4
  199. package/esm2022/lib/services/events.service.mjs +4 -4
  200. package/esm2022/lib/services/image-upload-service.service.mjs +4 -4
  201. package/esm2022/lib/services/rest.service.mjs +14 -4
  202. package/esm2022/lib/services/sanitizeHtml.mjs +4 -4
  203. package/esm2022/lib/services/storage.service.mjs +4 -4
  204. package/esm2022/lib/styles/index.mjs +1 -1
  205. package/esm2022/lib/styles/style.model.mjs +1 -1
  206. package/esm2022/lib/styles/types.mjs +1 -1
  207. package/esm2022/lib/tokens/api-token.mjs +1 -1
  208. package/esm2022/public-api.mjs +1 -1
  209. package/fesm2022/simpo-component-library.mjs +899 -567
  210. package/fesm2022/simpo-component-library.mjs.map +1 -1
  211. package/lib/ecommerce/sections/address/address.component.d.ts +1 -1
  212. package/lib/ecommerce/sections/cart/cart.component.d.ts +6 -1
  213. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +33 -1
  214. package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +5 -0
  215. package/lib/ecommerce/styles/product.modal.d.ts +1 -0
  216. package/lib/ecommerce/styles/user.modal.d.ts +1 -0
  217. package/lib/elements/address-list/address-list.component.d.ts +27 -0
  218. package/lib/sections/logo-showcase/logo-showcase.modal.d.ts +1 -1
  219. package/lib/services/rest.service.d.ts +3 -0
  220. package/package.json +1 -1
  221. package/simpo-component-library-3.6.113.tgz +0 -0
  222. package/src/lib/styles/global-styles.css +223 -204
  223. package/simpo-component-library-3.6.110.tgz +0 -0
@@ -31,7 +31,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
31
31
  constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
32
32
  address: AddressDetails;
33
33
  isCart: boolean;
34
- private editIndex;
34
+ editIndex: number;
35
35
  private latitute;
36
36
  private longitute;
37
37
  addNewAddress: boolean;
@@ -7,6 +7,7 @@ import { ActivatedRoute, Router } from '@angular/router';
7
7
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
8
8
  import { RestService } from "../../../services/rest.service";
9
9
  import { StorageServiceService } from '../../../services/storage.service';
10
+ import { AddressDetails } from '../../styles/user.modal';
10
11
  import { OrderedItems } from '../../styles/OrderedItems.modal';
11
12
  import { MessageService } from 'primeng/api';
12
13
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
@@ -49,6 +50,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
49
50
  private userDetails;
50
51
  private USER_CART_ITEMS;
51
52
  selectedAddressIdx: number;
53
+ defaultAddress?: AddressDetails;
52
54
  enteredCouponCode: string;
53
55
  couponList: Coupon[];
54
56
  cartInfo: any;
@@ -58,6 +60,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
58
60
  ngOnInit(): void;
59
61
  ngOnDestroy(): void;
60
62
  updateUserCart(): void;
63
+ getDefaultAddress(): void;
61
64
  get stylesLayout(): LayOutModel;
62
65
  mergeOrderItems(syncedItems: any[]): void;
63
66
  getCouponList(): void;
@@ -83,9 +86,11 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
83
86
  applyCoupon(coupon: Coupon): void;
84
87
  calculateCart(response: any): void;
85
88
  getTaxAmount(): number;
86
- get getAddressList(): import("../../styles/user.modal").AddressDetails[];
89
+ get getAddressList(): AddressDetails[];
87
90
  get isMobile(): boolean;
88
91
  get currency(): string;
92
+ changeAddress(): void;
93
+ addAddress(): void;
89
94
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
90
95
  static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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; }; }, {}, never, never, true, never>;
91
96
  }
@@ -1,3 +1,4 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
1
2
  import { ProductDescModal, ProductDescStylesModal } from './product-desc.modal';
2
3
  import { ItemImage, ItemVariant, Product } from '../../styles/product.modal';
3
4
  import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
@@ -25,7 +26,9 @@ export declare class ProductDescComponent extends BaseSection {
25
26
  private readonly metaTagService;
26
27
  private readonly titleService;
27
28
  private readonly bottomSheet;
29
+ private renderer;
28
30
  reviewComponent: CustomerReviewComponent;
31
+ d2: ElementRef;
29
32
  data?: ProductDescModal;
30
33
  responseData: Product;
31
34
  index?: number;
@@ -42,7 +45,7 @@ export declare class ProductDescComponent extends BaseSection {
42
45
  productReview: number;
43
46
  totalReview: number;
44
47
  showReview: boolean;
45
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
48
+ 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);
46
49
  buttonId?: string;
47
50
  button?: ButtonModel;
48
51
  styles?: ProductDescStylesModal;
@@ -63,6 +66,7 @@ export declare class ProductDescComponent extends BaseSection {
63
66
  routeToHome(): void;
64
67
  screenWidth: any;
65
68
  getScreenSize(): void;
69
+ scroll(e: WheelEvent): void;
66
70
  currentImg: any;
67
71
  changeImg(url: any): void;
68
72
  getKeys(varient: Object): string[];
@@ -93,6 +97,34 @@ export declare class ProductDescComponent extends BaseSection {
93
97
  isPriceBreakup: boolean;
94
98
  togglePriceBreakDown(): void;
95
99
  getDifference(sellingPrice: any, mrp: any): number;
100
+ getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
101
+ getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
102
+ getTextColor(color: any): "#ffffff" | "#000000";
103
+ languages: string[];
104
+ selectedLang: string;
105
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
106
+ onFindInStore(): void;
107
+ onBookAppointment(): void;
108
+ isDetails: boolean;
109
+ pincode: any;
110
+ storeDetails: any;
111
+ getStoreDetails(): void;
112
+ brandPromises: any[];
113
+ ecomConfigs: any;
114
+ getEcommerceConfigs(): void;
115
+ locate: boolean;
116
+ otherLanguage: string;
117
+ videoCallPayload: any;
118
+ validationErrors: any;
119
+ isSubmitting: boolean;
120
+ scheduled: boolean;
121
+ scheduleVideoCall(): void;
122
+ resetValidationErrors(): void;
123
+ resetForm(): void;
124
+ onInputChange(field: any): void;
125
+ closeModal(): void;
126
+ getButtonId(index: number): string;
127
+ getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
96
128
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
97
129
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
98
130
  }
@@ -1,6 +1,8 @@
1
1
  import { FooterSocialLinkModel } from "../../../sections/footer-section/footer-section.modal";
2
2
  import { AnimationModel, BackgroundModel, DeviderModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
3
3
  import { ActionModel } from '../../../styles/style.model';
4
+ import { Corners } from "../../.././styles/index";
5
+ import { GRID_STYLE } from "../../../styles/types";
4
6
  export interface ProductDescModal {
5
7
  id: string;
6
8
  sectionType: string;
@@ -16,6 +18,9 @@ export interface ProductDescStylesModal {
16
18
  maximumProduct: number;
17
19
  direction: "ROW" | "COLUMN";
18
20
  devider: DeviderModel;
21
+ corners: Corners;
22
+ gridStyle: GRID_STYLE;
23
+ customization: GRID_STYLE;
19
24
  }
20
25
  export interface ProductDescContentModal {
21
26
  button: string;
@@ -31,6 +31,7 @@ export declare class Product {
31
31
  availableOnCod: boolean;
32
32
  brief: string;
33
33
  jewelryPriceBreakup: any;
34
+ configs: any;
34
35
  constructor(json?: {
35
36
  [key: string]: any;
36
37
  });
@@ -30,6 +30,7 @@ export interface AddressDetails {
30
30
  zipCode: string;
31
31
  addressType: ADDRESS_TYPE | null;
32
32
  geolocation: Geolocation;
33
+ default: boolean;
33
34
  }
34
35
  export interface Geolocation {
35
36
  latitude: number;
@@ -0,0 +1,27 @@
1
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
+ import { AddressDetails } from '../../ecommerce/styles/user.modal';
3
+ import { StorageServiceService } from '../../services/storage.service';
4
+ import { RestService } from '../../services/rest.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AddressListComponent {
7
+ private readonly matDialog;
8
+ data: any;
9
+ dialogRef: MatDialogRef<AddressListComponent>;
10
+ private readonly storageService;
11
+ private readonly restService;
12
+ constructor(matDialog: MatDialog, data: any, dialogRef: MatDialogRef<AddressListComponent>, storageService: StorageServiceService, restService: RestService);
13
+ addressList: any[];
14
+ defaultAddressIndex: number;
15
+ defaultAddress: any;
16
+ selectedAddressIndex: any;
17
+ isLoading: boolean;
18
+ deleteLoading: boolean;
19
+ ngOnInit(): void;
20
+ addOrEditAddress(editIndex: number, address?: AddressDetails): void;
21
+ closeDialog(): void;
22
+ markAddressAsDefault(): void;
23
+ deleteAddress(index: number): void;
24
+ updateUserAddress(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddressListComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddressListComponent, "simpo-address-list", never, {}, {}, never, never, true, never>;
27
+ }
@@ -20,7 +20,7 @@ export interface Display extends DisplaySection {
20
20
  }
21
21
  export interface LogoShowcaseItemModel {
22
22
  image: Image;
23
- inputText: InputTextModel;
23
+ inputText: InputTextModel[];
24
24
  }
25
25
  export interface LogoShowcaseStylesModel extends StylesModel {
26
26
  positionLayout: PositionLayoutModal;
@@ -88,6 +88,9 @@ export declare class RestService implements OnDestroy {
88
88
  getAllComponentCategories(): Observable<Object>;
89
89
  getTemplate(): Observable<Object>;
90
90
  getImageLibrary(): Observable<Object>;
91
+ getEcommerceConfigs(): Observable<Object>;
92
+ postVideoCallDetails(payload: any): Observable<Object>;
93
+ getStoreLocatorDetails(pincode: any): Observable<Object>;
91
94
  saveImagesToBusinessLibrary(mediaRequest: any): Observable<Object>;
92
95
  regenerateText(request: any): Observable<Object>;
93
96
  getFieldsToDisplay(fieldsList: any[]): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.110",
3
+ "version": "3.6.113",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -1,204 +1,223 @@
1
- :root {
2
- --primary-font-family: 'mulish';
3
- --primary-bg-color: linear-gradient(345deg, #230860 0%, #00b6ff 100%);
4
- --primary-color: white;
5
- }
6
-
7
- .add-section {
8
- position: absolute !important;
9
- width: 40%;
10
- top: 0;
11
- left: 0 !important;
12
- height: 100vh;
13
- background-color: transparent !important;
14
- box-shadow: none !important;
15
- animation: slideInLeft 0.5s ease-in-out forwards;
16
- }
17
-
18
- .add-section.closing {
19
- animation: slideOutLeft 0.5 s ease-in-out forwards;
20
- }
21
-
22
- @keyframes slideInLeft {
23
- from {
24
- transform: translateX(-100%);
25
- opacity: 0;
26
- }
27
-
28
- to {
29
- transform: translateX(0);
30
- opacity: 1;
31
- }
32
- }
33
-
34
- @keyframes slideOutLeft {
35
- from {
36
- transform: translateX(0);
37
- opacity: 1;
38
- }
39
-
40
- to {
41
- transform: translateX(-100%);
42
- /* Close to the left side */
43
- opacity: 0;
44
- }
45
- }
46
-
47
-
48
- @media screen and (min-width: 1280px) {
49
- .content-side {
50
- h1 {
51
- font-size: 72px !important;
52
- line-height: 80px !important;
53
- }
54
-
55
- h2 {
56
- font-size: 48px !important;
57
- line-height: 56px !important;
58
- }
59
-
60
- h3 {
61
- font-size: 32px !important;
62
- line-height: 40px !important;
63
- }
64
-
65
- h4 {
66
- font-size: 24px !important;
67
- line-height: 36px !important;
68
- }
69
-
70
- h5 {
71
- font-size: 18px !important;
72
- line-height: 28px !important;
73
- }
74
-
75
- p {
76
- font-size: 16px !important;
77
- line-height: 21px !important;
78
- }
79
- }
80
-
81
- }
82
-
83
- @media screen and (min-width: 768px) {
84
- .content-side {
85
- h1 {
86
- font-size: 46px;
87
- line-height: 54px;
88
- }
89
-
90
- h2 {
91
- font-size: 35px;
92
- line-height: 42px;
93
- }
94
-
95
- h3 {
96
- font-size: 28px;
97
- line-height: 36px;
98
- }
99
-
100
- h4 {
101
- font-size: 18px;
102
- line-height: 26px;
103
- }
104
-
105
- h5 {
106
- font-size: 16px;
107
- line-height: 24px;
108
- }
109
-
110
- p {
111
- font-size: 14px;
112
- line-height: 21px;
113
- }
114
- }
115
-
116
- }
117
-
118
- .content-side {
119
- h1 {
120
- font-size: 36px;
121
- line-height: 42px;
122
- }
123
-
124
- h2 {
125
- font-size: 30px;
126
- line-height: 36px;
127
- }
128
-
129
- h3 {
130
- font-size: 24px;
131
- line-height: 32px;
132
- }
133
-
134
- h4 {
135
- font-size: 18px;
136
- line-height: 26px;
137
- }
138
-
139
- h5 {
140
- font-size: 16px;
141
- line-height: 24px;
142
- }
143
-
144
- p {
145
- font-size: 14px;
146
- line-height: 21px;
147
- }
148
- }
149
-
150
- .link-editor {
151
- height: 100vh;
152
- width: 28vw;
153
- position: absolute !important;
154
- top: 0;
155
- left: 0 !important;
156
- animation: slideInLeft 0.5s ease-in-out forwards;
157
- }
158
-
159
- @media screen and (max-width : 475px) {
160
- .link-editor {
161
- width: 100% !important;
162
- }
163
-
164
- .link-editor {
165
- width: 100% !important;
166
- max-width: 100% !important;
167
- }
168
-
169
- .media-selector {
170
- width: 100% !important;
171
- max-width: 100% !important;
172
- }
173
-
174
- .add-section{
175
- width: 100% !important;
176
- max-width: 100% !important;
177
- }
178
-
179
- }
180
-
181
- .mat-mdc-form-field-subscript-wrapper {
182
- display: none;
183
- }
184
-
185
- .media-selector {
186
- position: absolute !important;
187
- top: 0 !important;
188
- left: 0 !important;
189
- width: 60%;
190
- height: 100vh;
191
- animation: slideInLeft 0.5s ease-in-out forwards;
192
- }
193
-
194
- .appointment-form{
195
- @media only screen and (max-width: 500px){
196
- margin: auto !important;
197
- height: 65vh !important;
198
- width: 95vw !important;
199
- }
200
- }
201
-
202
- .hover-effect:hover {
203
- box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
204
- }
1
+ :root {
2
+ --primary-font-family: 'mulish';
3
+ --primary-bg-color: linear-gradient(345deg, #230860 0%, #00b6ff 100%);
4
+ --primary-color: white;
5
+ }
6
+
7
+ .add-section {
8
+ position: absolute !important;
9
+ width: 40%;
10
+ top: 0;
11
+ left: 0 !important;
12
+ height: 100vh;
13
+ background-color: transparent !important;
14
+ box-shadow: none !important;
15
+ animation: slideInLeft 0.5s ease-in-out forwards;
16
+ }
17
+
18
+ .add-section.closing {
19
+ animation: slideOutLeft 0.5 s ease-in-out forwards;
20
+ }
21
+
22
+ @keyframes slideInLeft {
23
+ from {
24
+ transform: translateX(-100%);
25
+ opacity: 0;
26
+ }
27
+
28
+ to {
29
+ transform: translateX(0);
30
+ opacity: 1;
31
+ }
32
+ }
33
+
34
+ @keyframes slideOutLeft {
35
+ from {
36
+ transform: translateX(0);
37
+ opacity: 1;
38
+ }
39
+
40
+ to {
41
+ transform: translateX(-100%);
42
+ /* Close to the left side */
43
+ opacity: 0;
44
+ }
45
+ }
46
+
47
+
48
+ @media screen and (min-width: 1280px) {
49
+ .content-side {
50
+ h1 {
51
+ font-size: 72px !important;
52
+ line-height: 80px !important;
53
+ }
54
+
55
+ h2 {
56
+ font-size: 48px !important;
57
+ line-height: 56px !important;
58
+ }
59
+
60
+ h3 {
61
+ font-size: 32px !important;
62
+ line-height: 40px !important;
63
+ }
64
+
65
+ h4 {
66
+ font-size: 24px !important;
67
+ line-height: 36px !important;
68
+ }
69
+
70
+ h5 {
71
+ font-size: 18px !important;
72
+ line-height: 28px !important;
73
+ }
74
+
75
+ p {
76
+ font-size: 16px !important;
77
+ line-height: 21px !important;
78
+ }
79
+ }
80
+
81
+ }
82
+
83
+ @media screen and (min-width: 768px) {
84
+ .content-side {
85
+ h1 {
86
+ font-size: 46px;
87
+ line-height: 54px;
88
+ }
89
+
90
+ h2 {
91
+ font-size: 35px;
92
+ line-height: 42px;
93
+ }
94
+
95
+ h3 {
96
+ font-size: 28px;
97
+ line-height: 36px;
98
+ }
99
+
100
+ h4 {
101
+ font-size: 18px;
102
+ line-height: 26px;
103
+ }
104
+
105
+ h5 {
106
+ font-size: 16px;
107
+ line-height: 24px;
108
+ }
109
+
110
+ p {
111
+ font-size: 14px;
112
+ line-height: 21px;
113
+ }
114
+ }
115
+
116
+ }
117
+
118
+ .content-side {
119
+ h1 {
120
+ font-size: 36px;
121
+ line-height: 42px;
122
+ }
123
+
124
+ h2 {
125
+ font-size: 30px;
126
+ line-height: 36px;
127
+ }
128
+
129
+ h3 {
130
+ font-size: 24px;
131
+ line-height: 32px;
132
+ }
133
+
134
+ h4 {
135
+ font-size: 18px;
136
+ line-height: 26px;
137
+ }
138
+
139
+ h5 {
140
+ font-size: 16px;
141
+ line-height: 24px;
142
+ }
143
+
144
+ p {
145
+ font-size: 14px;
146
+ line-height: 21px;
147
+ }
148
+ }
149
+
150
+ .link-editor {
151
+ height: 100vh;
152
+ width: 28vw;
153
+ position: absolute !important;
154
+ top: 0;
155
+ left: 0 !important;
156
+ animation: slideInLeft 0.5s ease-in-out forwards;
157
+ }
158
+
159
+ @media screen and (max-width : 475px) {
160
+ .link-editor {
161
+ width: 100% !important;
162
+ }
163
+
164
+ .link-editor {
165
+ width: 100% !important;
166
+ max-width: 100% !important;
167
+ }
168
+
169
+ .sidepanel-class {
170
+ max-width: 100vw !important;
171
+ }
172
+
173
+ .address-class {
174
+ width: 100vw;
175
+ }
176
+
177
+ .media-selector {
178
+ width: 100% !important;
179
+ max-width: 100% !important;
180
+ }
181
+
182
+ .add-section {
183
+ width: 100% !important;
184
+ max-width: 100% !important;
185
+ }
186
+
187
+ }
188
+
189
+ .mat-mdc-form-field-subscript-wrapper {
190
+ display: none;
191
+ }
192
+
193
+ .media-selector {
194
+ position: absolute !important;
195
+ top: 0 !important;
196
+ left: 0 !important;
197
+ width: 60%;
198
+ height: 100vh;
199
+ animation: slideInLeft 0.5s ease-in-out forwards;
200
+ }
201
+
202
+ .appointment-form {
203
+ @media only screen and (max-width: 500px) {
204
+ margin: auto !important;
205
+ height: 65vh !important;
206
+ width: 95vw !important;
207
+ }
208
+ }
209
+
210
+ .hover-effect:hover {
211
+ box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
212
+ }
213
+
214
+ .address-class {
215
+ width: 100vw;
216
+ }
217
+
218
+ .sidepanel-class {
219
+ position: absolute !important;
220
+ right: 0px;
221
+ top: 0px;
222
+ height: 100vh;
223
+ }
Binary file