simpo-component-library 1.6.0 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) 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/constants/business.constant.mjs +1 -1
  4. package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
  5. package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
  6. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  7. package/esm2022/lib/directive/color.directive.mjs +1 -1
  8. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  9. package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
  10. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  11. package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
  12. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  13. package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
  14. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  15. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  16. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  17. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  18. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +3 -3
  19. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  20. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  21. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  22. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  23. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  24. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  25. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +14 -8
  26. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  27. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  28. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  29. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  30. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  31. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  32. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  33. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  34. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +8 -4
  35. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  36. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  37. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  38. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  39. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +6 -3
  40. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  41. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  43. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +8 -4
  44. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  45. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -3
  46. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  48. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  49. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  50. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  51. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  52. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  53. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  54. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  55. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  57. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  58. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  59. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  60. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  61. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  62. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  63. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  64. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  65. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  66. package/esm2022/lib/elements/index.mjs +1 -1
  67. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  68. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  69. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  70. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  71. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  72. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  73. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  74. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  75. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  76. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  77. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  78. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  79. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  80. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  81. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  82. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  83. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  84. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  85. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  86. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  87. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  88. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  89. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  90. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  91. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  92. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  93. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  94. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  95. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  96. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  97. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  98. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  99. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  100. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  101. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  102. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  103. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  104. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  105. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  106. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  107. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  108. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  109. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  110. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  111. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  112. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  113. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  114. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  115. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  116. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  117. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  118. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  119. package/esm2022/lib/services/cart.service.mjs +1 -1
  120. package/esm2022/lib/services/endUser.service.mjs +1 -1
  121. package/esm2022/lib/services/rest.service.mjs +1 -1
  122. package/esm2022/lib/services/sanitizeHtml.mjs +4 -1
  123. package/esm2022/lib/services/storage.service.mjs +1 -1
  124. package/esm2022/lib/styles/index.mjs +1 -1
  125. package/esm2022/lib/styles/style.model.mjs +1 -1
  126. package/esm2022/lib/styles/types.mjs +1 -1
  127. package/esm2022/public-api.mjs +1 -1
  128. package/fesm2022/simpo-component-library.mjs +131 -109
  129. package/fesm2022/simpo-component-library.mjs.map +1 -1
  130. package/lib/ecommerce/sections/cart/cart.component.d.ts +3 -2
  131. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
  132. package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +1 -0
  133. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -0
  134. package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +2 -1
  135. package/package.json +1 -1
  136. package/simpo-component-library-1.6.1.tgz +0 -0
  137. package/simpo-component-library-1.6.2.tgz +0 -0
@@ -30,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
30
30
  type: Input,
31
31
  args: ['simpoSticky']
32
32
  }] } });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3N0aWNreS1kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTdELE1BQU0sT0FBTyxvQkFBb0I7SUFHL0IsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBRyxDQUFDO0lBRXRDLFdBQVc7UUFDVCxJQUFJLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNuQixJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsV0FBVyxDQUFDLFVBQVUsRUFBRSxPQUFPLENBQUMsQ0FBQztZQUM3RCx5REFBeUQ7WUFDekQsSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLFdBQVcsQ0FBQyxTQUFTLEVBQUUsTUFBTSxDQUFDLENBQUE7UUFDOUQsQ0FBQzthQUFNLENBQUM7WUFDSixJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsV0FBVyxDQUFDLFVBQVUsRUFBRSxVQUFVLENBQUMsQ0FBQztZQUNoRSx5REFBeUQ7UUFDN0QsQ0FBQztJQUNILENBQUM7SUFFRCxXQUFXO0lBQ1gsQ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xhdGl2ZVwiKTtcclxuICAgICAgICAvLyB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJ0b3BcIiwgXCIwcHhcIik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpe1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -106,4 +106,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
106
106
  type: Input,
107
107
  args: ['simpoTextBackgroundDirective']
108
108
  }] } });
109
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1iYWNrZ3JvdW5kLWRpcmVjdGl2ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2RpcmVjdGl2ZS90ZXh0LWJhY2tncm91bmQtZGlyZWN0aXZlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBYSxNQUFNLGVBQWUsQ0FBQzs7O0FBU3hFLE1BQU0sT0FBTyxnQ0FBZ0M7SUFHM0MsWUFBb0IsRUFBYyxFQUN4QixZQUEyQjtRQURqQixPQUFFLEdBQUYsRUFBRSxDQUFZO1FBQ3hCLGlCQUFZLEdBQVosWUFBWSxDQUFlO1FBQ25DLElBQUksQ0FBQyx5QkFBeUIsRUFBRSxDQUFBO0lBQ2xDLENBQUM7SUFFRCxXQUFXO1FBQ1QsSUFBSSxJQUFJLENBQUMsdUJBQXVCLEVBQUUsQ0FBQztZQUNqQyxJQUFJLE9BQU8sR0FBRyxJQUFJLENBQUMsdUJBQXVCLEVBQUUsTUFBTSxHQUFHLEdBQUcsQ0FBQztZQUN6RCxJQUFJLEdBQUcsR0FBRyxJQUFJLEN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9IDAuNTtcclxuXHJcbiAgICAvLyBDaG9vc2UgY29udHJhc3RpbmcgY29sb3IgYmFzZWQgb24gbHVtaW5hbmNlXHJcbiAgICByZXR1cm4gbHVtaW5hbmNlID4gdGhyZXNob2xkID8gJ2JsYWNrJyA6ICd3aGl0ZSc7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
@@ -56,4 +56,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
56
56
  }], type: [{
57
57
  type: Input
58
58
  }] } });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1zaXplLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3RleHQtc2l6ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFhLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7QUFTdEQsTUFBTSxPQUFPLGlCQUFpQjtJQUc1QixZQUFvQixZQUEyQixFQUNyQyxFQUFjO1FBREosaUJBQVksR0FBWixZQUFZLENBQWU7UUFDckMsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUNwQixDQUFDO0lBRUwsV0FBVztRQUNULElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQTtJQUN0QixDQUFDO0lBRUQsV0FBVztRQUNULElBQUksQ0FBQyxvQkFBb0IsRUFBRSxXQUFXLEVBQUUsQ0FBQTtJQUMxQyxDQUFDO0lBRUQsYUFBYTtRQUVYLElBQUcsSUFBSSxDQUFDLElBQUksS0FBSyxTQUFTLEVBQUUsQ0FBQztZQUMzQixJQUFJ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cy5hcHBseUZvbnRTaXplKCk7XHJcbiAgICAgIH1cclxuICAgIH0pXHJcbiAgfVxyXG5cclxuICByZW1vdmVIZWFkaW5nQ2xhc3MoKXtcclxuICAgIGZvcihsZXQgdmFsdWVzIG9mIE9iamVjdC52YWx1ZXMoZm9udFNpemUuaGVhZGluZykpIHtcclxuICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUodmFsdWVzKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHJlbW92ZURlc2NDbGFzcygpe1xyXG4gICAgZm9yKGxldCB2YWx1ZXMgb2YgT2JqZWN0LnZhbHVlcyhmb250U2l6ZS5kZXNjKSkge1xyXG4gICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LnJlbW92ZSh2YWx1ZXMpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -28,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
28
28
  }], ctorParameters: () => [{ type: i1.EventsService }, { type: i0.ElementRef }], propDecorators: { simpoWrapContainer: [{
29
29
  type: Input
30
30
  }] } });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcC1jb250YWluZXJzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3dyYXAtY29udGFpbmVycy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU83RCxNQUFNLE9BQU8sbUJBQW1CO0lBRTlCLFlBQ1UsWUFBMkIsRUFDM0IsRUFBYztRQURkLGlCQ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CB7IEV2ZW50c1NlcnZpY2UgfSBmcm9tICcuLi9zZXJ2aWNlcy9ldmVudHMuc2VydmljZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ1tzaW1wb1dyYXBDb250YWluZXJdJyxcclxuICBzdGFuZGFsb25lOiB0cnVlXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTaW1wb1dyYXBDb21udGFpbmVyIHtcclxuICBASW5wdXQoKSBzaW1wb1dyYXBDb250YWluZXI/OiBcIlJPV1wiIHwgXCJDT0xVTU5cIiA9IFwiQ09MVU1OXCI7XHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwcml2YXRlIGV2ZW50U2VydmljZTogRXZlbnRzU2VydmljZSxcclxuICAgIHByaXZhdGUgZWw6IEVsZW1lbnRSZWZcclxuICApIHsgfVxyXG5cclxuICBuZ09uQ2hhbmdlcygpe1xyXG4gICAgdGhpcy53cmFwQ29udGVudCgpO1xyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKXtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgd3JhcENvbnRlbnQoKTogdm9pZCB7XHJcbiAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJmbGV4LXdyYXBcIiwgdGhpcy5zaW1wb1dyYXBDb250YWluZXIgPT0gXCJST1dcIiA/ICdub3dyYXAnIDogJ3dyYXAnKTtcclxuICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5zdHlsZS5zZXRQcm9wZXJ0eShcIm92ZXJmbG93LXhcIiwgdGhpcy5zaW1wb1dyYXBDb250YWluZXIgPT0gXCJST1dcIiA/ICdhdXRvJyA6ICdoaWRkZW4nKTtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==
@@ -256,7 +256,7 @@ export class AddressComponent extends BaseSection {
256
256
  return window.innerWidth <= 475;
257
257
  }
258
258
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AddressComponent, deps: [{ token: i0.NgZone }, { token: i1.RestService }, { token: i2.MatDialog }, { token: i3.MatBottomSheet }, { token: i4.Router }, { token: i5.StorageServiceService }, { token: i6.EventsService }, { token: MAT_DIALOG_DATA, optional: true }, { token: i2.MatDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
259
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AddressComponent, isStandalone: true, selector: "simpo-address", inputs: { responseData: "responseData", data: "data", index: "index", edit: "edit", delete: "delete", isCart: "isCart" }, outputs: { selectedAddress: "selectedAddress" }, providers: [], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" >\n <div class=\"header\">\n <div class=\"new-address-header\">\n <mat-icon (click)=\"goToProfile()\" *ngIf=\"!isCart\">keyboard_arrow_left</mat-icon>\n <h3>{{isCart ? 'Shipping To' : 'New Address'}}</h3>\n </div>\n <span class=\"add-address\" *ngIf=\"!addNewAddress\" (click)=\"addNewAddress = true\">+ add address</span>\n </div>\n <ng-container *ngIf=\"addNewAddress\">\n <!-- <p (click)=\"getCurrentLocation()\" class=\"d-flex align-items-center\" style=\"cursor: pointer;\">\n <mat-icon>my_location</mat-icon>\n <span>Take my current location</span>\n </p> -->\n <div class=\"forms d-flex flex-wrap\">\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Name</div>\n <input type=\"text\" placeholder=\"Enter name\" [(ngModel)]=\"address.receiverName\" (keydown)=\"validateName($event)\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Mobile</div>\n <input type=\"text\" placeholder=\"Enter mobile\" [(ngModel)]=\"address.receiverPhone\" (keydown)=\"validateMobile($event)\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Email</div>\n <input type=\"text\" placeholder=\"Enter email\" [(ngModel)]=\"address.receiverEmail\">\n </div>\n <div class=\"form-control-full-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address</div>\n <input type=\"text\" placeholder=\"Enter address\" matGoogleMapsAutocomplete\n (onAutocompleteSelected)=\"onAutocompleteSelected($event)\"\n (onLocationSelected)=\"onLocationSelected($event)\" [(ngModel)]=\"address.addressLine1\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Locality</div>\n <input type=\"text\" placeholder=\"Enter locality\" [(ngModel)]=\"address.localityName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label\" [style.color]=\"data?.styles?.background?.accentColor\">Landmark</div>\n <input type=\"text\" placeholder=\"Enter landmark\" [(ngModel)]=\"address.landmark\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Pincode</div>\n <input type=\"text\" placeholder=\"Enter pincode\" [(ngModel)]=\"address.zipCode\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">City</div>\n <input type=\"text\" placeholder=\"Enter city\" [(ngModel)]=\"address.cityName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">State</div>\n <input type=\"text\" placeholder=\"Enter state\" [(ngModel)]=\"address.stateName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address Type</div>\n <div class=\"d-flex\">\n <ng-container *ngFor=\"let address of addessType\">\n <span class=\"address-type\" (click)=\"checkAddressType(address)\" [ngClass]=\"{'active-address': address.status}\">{{address.key}}</span>\n </ng-container>\n </div>\n </div>\n </div>\n </ng-container>\n <div class=\"address-list\" *ngIf=\"!addNewAddress\">\n <ng-container *ngFor=\"let address of addressList; let idx = index\">\n <div class=\"address\" (click)=\"addressSelected(idx)\" [ngClass]=\"{'selected-address': selectedAddressIdx == idx}\">\n <div class=\"address-left\">\n <div class=\"top\">\n <span class=\"fw-bold mr-2\">{{address?.receiverName}}</span>\n <span class=\"address-type\">{{address?.addressType}}</span>\n </div>\n <div class=\"address-det\">{{address.addressLine1}}</div>\n <div class=\"phone\">\n <span>Phone:</span>\n <span class=\"address-phone\">{{address.receiverPhone}}</span>\n </div>\n </div>\n <div class=\"address-right\"></div>\n </div>\n </ng-container>\n </div>\n <div class=\"action-btn\" *ngIf=\"addNewAddress\">\n <div class=\"error-message\">\n <span *ngIf=\"address.receiverPhone?.length != 10 && address.receiverPhone?.length\">*Mobile number is invalid</span>\n <span *ngIf=\"!isEmailValid\">*Email is invalid</span>\n </div>\n <button [disabled]=\"\n !address.receiverName || \n !address.receiverPhone ||\n address.receiverPhone?.length != 10 ||\n !isEmailValid || \n !address.addressLine1 || \n !address.localityName || \n !address.zipCode || \n !address.cityName ||\n !address.stateName || \n !address.addressType || isLoading\n \" (click)=\"updateAddress()\">{{isLoading ? 'Loading' : 'Update'}}</button>\n </div>\n</section>\n\n\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>", styles: [".address-sec{padding:20px;position:relative}.address-sec .header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}.new-address-header{display:flex;align-items:center}.mat-icon{cursor:pointer;margin-right:5px}.action-btn{margin-left:auto;bottom:-20px;position:relative;right:0;display:flex;flex-direction:column;align-items:flex-end}.action-btn button{background-color:#0267c1;color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{background-color:#0267c1!important;color:#fff!important}.forms{gap:10px;justify-content:space-between}.form-control-group,.form-control-full-group{width:48%}:is(.form-control-group,.form-control-full-group) input{width:100%;padding:10px;border-radius:3px;border:1.5px solid lightgray}.form-control-full-group{width:100%!important}.address-type{width:150px;padding:10px;background-color:#d3d3d35c;color:#000;text-align:center;border-radius:5px;margin:0 5px;cursor:pointer}.address{display:flex;padding:15px;border-radius:5px;box-shadow:0 1px 1px #0000,0 1px 1px #00000030;border:1px solid #d3d3d3b1}.address-list{display:flex;flex-direction:column;gap:10px;height:500px;overflow-y:auto}.address-list .address-left{width:80%}.address-list .address-right{width:20%}.address-list .address-phone{margin-left:10px}.address-list .address-type{background-color:#d3d3d34a;padding:5px 10px;text-align:center;border-radius:5px;margin-left:15px}.address-list .address-det{margin:10px 0}.add-address{color:#0267c1;cursor:pointer;font-weight:600}.address-active{background-color:#0267c1;color:#fff}.selected-address{border:2px solid #0267C1!important}.error-message{color:tomato;display:flex;flex-direction:column;width:100%}@media only screen and (max-width: 475px){.address-list{height:fit-content;max-height:230px}.forms{flex-direction:column}.form-control-group{width:100%}.label{padding-bottom:10px}.address-type-options{position:relative;right:4px}.action-btn{position:relative;bottom:0;top:19px;right:0}.action-btn button{width:100%!important}.address-type{padding:10px 27px}.address-sec{padding:20px 4px}}button:disabled{background-color:#d3d3d3!important}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatBottomSheetModule }, { kind: "component", type: DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "component", type: HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }] }); }
259
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AddressComponent, isStandalone: true, selector: "simpo-address", inputs: { responseData: "responseData", data: "data", index: "index", edit: "edit", delete: "delete", isCart: "isCart" }, outputs: { selectedAddress: "selectedAddress" }, providers: [], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" >\r\n <div class=\"header\">\r\n <div class=\"new-address-header\">\r\n <mat-icon (click)=\"goToProfile()\" *ngIf=\"!isCart\">keyboard_arrow_left</mat-icon>\r\n <h3>{{isCart ? 'Shipping To' : 'New Address'}}</h3>\r\n </div>\r\n <span class=\"add-address\" *ngIf=\"!addNewAddress\" (click)=\"addNewAddress = true\">+ add address</span>\r\n </div>\r\n <ng-container *ngIf=\"addNewAddress\">\r\n <!-- <p (click)=\"getCurrentLocation()\" class=\"d-flex align-items-center\" style=\"cursor: pointer;\">\r\n <mat-icon>my_location</mat-icon>\r\n <span>Take my current location</span>\r\n </p> -->\r\n <div class=\"forms d-flex flex-wrap\">\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Name</div>\r\n <input type=\"text\" placeholder=\"Enter name\" [(ngModel)]=\"address.receiverName\" (keydown)=\"validateName($event)\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Mobile</div>\r\n <input type=\"text\" placeholder=\"Enter mobile\" [(ngModel)]=\"address.receiverPhone\" (keydown)=\"validateMobile($event)\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Email</div>\r\n <input type=\"text\" placeholder=\"Enter email\" [(ngModel)]=\"address.receiverEmail\">\r\n </div>\r\n <div class=\"form-control-full-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address</div>\r\n <input type=\"text\" placeholder=\"Enter address\" matGoogleMapsAutocomplete\r\n (onAutocompleteSelected)=\"onAutocompleteSelected($event)\"\r\n (onLocationSelected)=\"onLocationSelected($event)\" [(ngModel)]=\"address.addressLine1\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Locality</div>\r\n <input type=\"text\" placeholder=\"Enter locality\" [(ngModel)]=\"address.localityName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label\" [style.color]=\"data?.styles?.background?.accentColor\">Landmark</div>\r\n <input type=\"text\" placeholder=\"Enter landmark\" [(ngModel)]=\"address.landmark\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Pincode</div>\r\n <input type=\"text\" placeholder=\"Enter pincode\" [(ngModel)]=\"address.zipCode\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">City</div>\r\n <input type=\"text\" placeholder=\"Enter city\" [(ngModel)]=\"address.cityName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">State</div>\r\n <input type=\"text\" placeholder=\"Enter state\" [(ngModel)]=\"address.stateName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address Type</div>\r\n <div class=\"d-flex\">\r\n <ng-container *ngFor=\"let address of addessType\">\r\n <span class=\"address-type\" (click)=\"checkAddressType(address)\" [ngClass]=\"{'active-address': address.status}\">{{address.key}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"address-list\" *ngIf=\"!addNewAddress\">\r\n <ng-container *ngFor=\"let address of addressList; let idx = index\">\r\n <div class=\"address\" (click)=\"addressSelected(idx)\" [ngClass]=\"{'selected-address': selectedAddressIdx == idx}\">\r\n <div class=\"address-left\">\r\n <div class=\"top\">\r\n <span class=\"fw-bold mr-2\">{{address?.receiverName}}</span>\r\n <span class=\"address-type\">{{address?.addressType}}</span>\r\n </div>\r\n <div class=\"address-det\">{{address.addressLine1}}</div>\r\n <div class=\"phone\">\r\n <span>Phone:</span>\r\n <span class=\"address-phone\">{{address.receiverPhone}}</span>\r\n </div>\r\n </div>\r\n <div class=\"address-right\"></div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"action-btn\" *ngIf=\"addNewAddress\">\r\n <div class=\"error-message\">\r\n <span *ngIf=\"address.receiverPhone?.length != 10 && address.receiverPhone?.length\">*Mobile number is invalid</span>\r\n <span *ngIf=\"!isEmailValid\">*Email is invalid</span>\r\n </div>\r\n <button [disabled]=\"\r\n !address.receiverName || \r\n !address.receiverPhone ||\r\n address.receiverPhone?.length != 10 ||\r\n !isEmailValid || \r\n !address.addressLine1 || \r\n !address.localityName || \r\n !address.zipCode || \r\n !address.cityName ||\r\n !address.stateName || \r\n !address.addressType || isLoading\r\n \" (click)=\"updateAddress()\">{{isLoading ? 'Loading' : 'Update'}}</button>\r\n </div>\r\n</section>\r\n\r\n\r\n<div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n</div>\r\n<div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n</div>", styles: [".address-sec{padding:20px;position:relative}.address-sec .header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}.new-address-header{display:flex;align-items:center}.mat-icon{cursor:pointer;margin-right:5px}.action-btn{margin-left:auto;bottom:-20px;position:relative;right:0;display:flex;flex-direction:column;align-items:flex-end}.action-btn button{background-color:#0267c1;color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{background-color:#0267c1!important;color:#fff!important}.forms{gap:10px;justify-content:space-between}.form-control-group,.form-control-full-group{width:48%}:is(.form-control-group,.form-control-full-group) input{width:100%;padding:10px;border-radius:3px;border:1.5px solid lightgray}.form-control-full-group{width:100%!important}.address-type{width:150px;padding:10px;background-color:#d3d3d35c;color:#000;text-align:center;border-radius:5px;margin:0 5px;cursor:pointer}.address{display:flex;padding:15px;border-radius:5px;box-shadow:0 1px 1px #0000,0 1px 1px #00000030;border:1px solid #d3d3d3b1}.address-list{display:flex;flex-direction:column;gap:10px;height:500px;overflow-y:auto}.address-list .address-left{width:80%}.address-list .address-right{width:20%}.address-list .address-phone{margin-left:10px}.address-list .address-type{background-color:#d3d3d34a;padding:5px 10px;text-align:center;border-radius:5px;margin-left:15px}.address-list .address-det{margin:10px 0}.add-address{color:#0267c1;cursor:pointer;font-weight:600}.address-active{background-color:#0267c1;color:#fff}.selected-address{border:2px solid #0267C1!important}.error-message{color:tomato;display:flex;flex-direction:column;width:100%}@media only screen and (max-width: 475px){.address-list{height:fit-content;max-height:230px}.forms{flex-direction:column}.form-control-group{width:100%}.label{padding-bottom:10px}.address-type-options{position:relative;right:4px}.action-btn{position:relative;bottom:0;top:19px;right:0}.action-btn button{width:100%!important}.address-type{padding:10px 27px}.address-sec{padding:20px 4px}}button:disabled{background-color:#d3d3d3!important}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatBottomSheetModule }, { kind: "component", type: DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "component", type: HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }] }); }
260
260
  }
261
261
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AddressComponent, decorators: [{
262
262
  type: Component,
@@ -269,7 +269,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
269
269
  MatBottomSheetModule,
270
270
  DeleteHoverElementComponent,
271
271
  HoverElementsComponent
272
- ], providers: [], template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" >\n <div class=\"header\">\n <div class=\"new-address-header\">\n <mat-icon (click)=\"goToProfile()\" *ngIf=\"!isCart\">keyboard_arrow_left</mat-icon>\n <h3>{{isCart ? 'Shipping To' : 'New Address'}}</h3>\n </div>\n <span class=\"add-address\" *ngIf=\"!addNewAddress\" (click)=\"addNewAddress = true\">+ add address</span>\n </div>\n <ng-container *ngIf=\"addNewAddress\">\n <!-- <p (click)=\"getCurrentLocation()\" class=\"d-flex align-items-center\" style=\"cursor: pointer;\">\n <mat-icon>my_location</mat-icon>\n <span>Take my current location</span>\n </p> -->\n <div class=\"forms d-flex flex-wrap\">\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Name</div>\n <input type=\"text\" placeholder=\"Enter name\" [(ngModel)]=\"address.receiverName\" (keydown)=\"validateName($event)\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Mobile</div>\n <input type=\"text\" placeholder=\"Enter mobile\" [(ngModel)]=\"address.receiverPhone\" (keydown)=\"validateMobile($event)\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Email</div>\n <input type=\"text\" placeholder=\"Enter email\" [(ngModel)]=\"address.receiverEmail\">\n </div>\n <div class=\"form-control-full-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address</div>\n <input type=\"text\" placeholder=\"Enter address\" matGoogleMapsAutocomplete\n (onAutocompleteSelected)=\"onAutocompleteSelected($event)\"\n (onLocationSelected)=\"onLocationSelected($event)\" [(ngModel)]=\"address.addressLine1\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Locality</div>\n <input type=\"text\" placeholder=\"Enter locality\" [(ngModel)]=\"address.localityName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label\" [style.color]=\"data?.styles?.background?.accentColor\">Landmark</div>\n <input type=\"text\" placeholder=\"Enter landmark\" [(ngModel)]=\"address.landmark\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Pincode</div>\n <input type=\"text\" placeholder=\"Enter pincode\" [(ngModel)]=\"address.zipCode\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">City</div>\n <input type=\"text\" placeholder=\"Enter city\" [(ngModel)]=\"address.cityName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">State</div>\n <input type=\"text\" placeholder=\"Enter state\" [(ngModel)]=\"address.stateName\">\n </div>\n <div class=\"form-control-group\">\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address Type</div>\n <div class=\"d-flex\">\n <ng-container *ngFor=\"let address of addessType\">\n <span class=\"address-type\" (click)=\"checkAddressType(address)\" [ngClass]=\"{'active-address': address.status}\">{{address.key}}</span>\n </ng-container>\n </div>\n </div>\n </div>\n </ng-container>\n <div class=\"address-list\" *ngIf=\"!addNewAddress\">\n <ng-container *ngFor=\"let address of addressList; let idx = index\">\n <div class=\"address\" (click)=\"addressSelected(idx)\" [ngClass]=\"{'selected-address': selectedAddressIdx == idx}\">\n <div class=\"address-left\">\n <div class=\"top\">\n <span class=\"fw-bold mr-2\">{{address?.receiverName}}</span>\n <span class=\"address-type\">{{address?.addressType}}</span>\n </div>\n <div class=\"address-det\">{{address.addressLine1}}</div>\n <div class=\"phone\">\n <span>Phone:</span>\n <span class=\"address-phone\">{{address.receiverPhone}}</span>\n </div>\n </div>\n <div class=\"address-right\"></div>\n </div>\n </ng-container>\n </div>\n <div class=\"action-btn\" *ngIf=\"addNewAddress\">\n <div class=\"error-message\">\n <span *ngIf=\"address.receiverPhone?.length != 10 && address.receiverPhone?.length\">*Mobile number is invalid</span>\n <span *ngIf=\"!isEmailValid\">*Email is invalid</span>\n </div>\n <button [disabled]=\"\n !address.receiverName || \n !address.receiverPhone ||\n address.receiverPhone?.length != 10 ||\n !isEmailValid || \n !address.addressLine1 || \n !address.localityName || \n !address.zipCode || \n !address.cityName ||\n !address.stateName || \n !address.addressType || isLoading\n \" (click)=\"updateAddress()\">{{isLoading ? 'Loading' : 'Update'}}</button>\n </div>\n</section>\n\n\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>", styles: [".address-sec{padding:20px;position:relative}.address-sec .header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}.new-address-header{display:flex;align-items:center}.mat-icon{cursor:pointer;margin-right:5px}.action-btn{margin-left:auto;bottom:-20px;position:relative;right:0;display:flex;flex-direction:column;align-items:flex-end}.action-btn button{background-color:#0267c1;color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{background-color:#0267c1!important;color:#fff!important}.forms{gap:10px;justify-content:space-between}.form-control-group,.form-control-full-group{width:48%}:is(.form-control-group,.form-control-full-group) input{width:100%;padding:10px;border-radius:3px;border:1.5px solid lightgray}.form-control-full-group{width:100%!important}.address-type{width:150px;padding:10px;background-color:#d3d3d35c;color:#000;text-align:center;border-radius:5px;margin:0 5px;cursor:pointer}.address{display:flex;padding:15px;border-radius:5px;box-shadow:0 1px 1px #0000,0 1px 1px #00000030;border:1px solid #d3d3d3b1}.address-list{display:flex;flex-direction:column;gap:10px;height:500px;overflow-y:auto}.address-list .address-left{width:80%}.address-list .address-right{width:20%}.address-list .address-phone{margin-left:10px}.address-list .address-type{background-color:#d3d3d34a;padding:5px 10px;text-align:center;border-radius:5px;margin-left:15px}.address-list .address-det{margin:10px 0}.add-address{color:#0267c1;cursor:pointer;font-weight:600}.address-active{background-color:#0267c1;color:#fff}.selected-address{border:2px solid #0267C1!important}.error-message{color:tomato;display:flex;flex-direction:column;width:100%}@media only screen and (max-width: 475px){.address-list{height:fit-content;max-height:230px}.forms{flex-direction:column}.form-control-group{width:100%}.label{padding-bottom:10px}.address-type-options{position:relative;right:4px}.action-btn{position:relative;bottom:0;top:19px;right:0}.action-btn button{width:100%!important}.address-type{padding:10px 27px}.address-sec{padding:20px 4px}}button:disabled{background-color:#d3d3d3!important}\n"] }]
272
+ ], providers: [], template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" >\r\n <div class=\"header\">\r\n <div class=\"new-address-header\">\r\n <mat-icon (click)=\"goToProfile()\" *ngIf=\"!isCart\">keyboard_arrow_left</mat-icon>\r\n <h3>{{isCart ? 'Shipping To' : 'New Address'}}</h3>\r\n </div>\r\n <span class=\"add-address\" *ngIf=\"!addNewAddress\" (click)=\"addNewAddress = true\">+ add address</span>\r\n </div>\r\n <ng-container *ngIf=\"addNewAddress\">\r\n <!-- <p (click)=\"getCurrentLocation()\" class=\"d-flex align-items-center\" style=\"cursor: pointer;\">\r\n <mat-icon>my_location</mat-icon>\r\n <span>Take my current location</span>\r\n </p> -->\r\n <div class=\"forms d-flex flex-wrap\">\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Name</div>\r\n <input type=\"text\" placeholder=\"Enter name\" [(ngModel)]=\"address.receiverName\" (keydown)=\"validateName($event)\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Mobile</div>\r\n <input type=\"text\" placeholder=\"Enter mobile\" [(ngModel)]=\"address.receiverPhone\" (keydown)=\"validateMobile($event)\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Email</div>\r\n <input type=\"text\" placeholder=\"Enter email\" [(ngModel)]=\"address.receiverEmail\">\r\n </div>\r\n <div class=\"form-control-full-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address</div>\r\n <input type=\"text\" placeholder=\"Enter address\" matGoogleMapsAutocomplete\r\n (onAutocompleteSelected)=\"onAutocompleteSelected($event)\"\r\n (onLocationSelected)=\"onLocationSelected($event)\" [(ngModel)]=\"address.addressLine1\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Locality</div>\r\n <input type=\"text\" placeholder=\"Enter locality\" [(ngModel)]=\"address.localityName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label\" [style.color]=\"data?.styles?.background?.accentColor\">Landmark</div>\r\n <input type=\"text\" placeholder=\"Enter landmark\" [(ngModel)]=\"address.landmark\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Pincode</div>\r\n <input type=\"text\" placeholder=\"Enter pincode\" [(ngModel)]=\"address.zipCode\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">City</div>\r\n <input type=\"text\" placeholder=\"Enter city\" [(ngModel)]=\"address.cityName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">State</div>\r\n <input type=\"text\" placeholder=\"Enter state\" [(ngModel)]=\"address.stateName\">\r\n </div>\r\n <div class=\"form-control-group\">\r\n <div class=\"label required\" [style.color]=\"data?.styles?.background?.accentColor\">Address Type</div>\r\n <div class=\"d-flex\">\r\n <ng-container *ngFor=\"let address of addessType\">\r\n <span class=\"address-type\" (click)=\"checkAddressType(address)\" [ngClass]=\"{'active-address': address.status}\">{{address.key}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"address-list\" *ngIf=\"!addNewAddress\">\r\n <ng-container *ngFor=\"let address of addressList; let idx = index\">\r\n <div class=\"address\" (click)=\"addressSelected(idx)\" [ngClass]=\"{'selected-address': selectedAddressIdx == idx}\">\r\n <div class=\"address-left\">\r\n <div class=\"top\">\r\n <span class=\"fw-bold mr-2\">{{address?.receiverName}}</span>\r\n <span class=\"address-type\">{{address?.addressType}}</span>\r\n </div>\r\n <div class=\"address-det\">{{address.addressLine1}}</div>\r\n <div class=\"phone\">\r\n <span>Phone:</span>\r\n <span class=\"address-phone\">{{address.receiverPhone}}</span>\r\n </div>\r\n </div>\r\n <div class=\"address-right\"></div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n <div class=\"action-btn\" *ngIf=\"addNewAddress\">\r\n <div class=\"error-message\">\r\n <span *ngIf=\"address.receiverPhone?.length != 10 && address.receiverPhone?.length\">*Mobile number is invalid</span>\r\n <span *ngIf=\"!isEmailValid\">*Email is invalid</span>\r\n </div>\r\n <button [disabled]=\"\r\n !address.receiverName || \r\n !address.receiverPhone ||\r\n address.receiverPhone?.length != 10 ||\r\n !isEmailValid || \r\n !address.addressLine1 || \r\n !address.localityName || \r\n !address.zipCode || \r\n !address.cityName ||\r\n !address.stateName || \r\n !address.addressType || isLoading\r\n \" (click)=\"updateAddress()\">{{isLoading ? 'Loading' : 'Update'}}</button>\r\n </div>\r\n</section>\r\n\r\n\r\n<div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n</div>\r\n<div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n</div>", styles: [".address-sec{padding:20px;position:relative}.address-sec .header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:20px}.new-address-header{display:flex;align-items:center}.mat-icon{cursor:pointer;margin-right:5px}.action-btn{margin-left:auto;bottom:-20px;position:relative;right:0;display:flex;flex-direction:column;align-items:flex-end}.action-btn button{background-color:#0267c1;color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{background-color:#0267c1!important;color:#fff!important}.forms{gap:10px;justify-content:space-between}.form-control-group,.form-control-full-group{width:48%}:is(.form-control-group,.form-control-full-group) input{width:100%;padding:10px;border-radius:3px;border:1.5px solid lightgray}.form-control-full-group{width:100%!important}.address-type{width:150px;padding:10px;background-color:#d3d3d35c;color:#000;text-align:center;border-radius:5px;margin:0 5px;cursor:pointer}.address{display:flex;padding:15px;border-radius:5px;box-shadow:0 1px 1px #0000,0 1px 1px #00000030;border:1px solid #d3d3d3b1}.address-list{display:flex;flex-direction:column;gap:10px;height:500px;overflow-y:auto}.address-list .address-left{width:80%}.address-list .address-right{width:20%}.address-list .address-phone{margin-left:10px}.address-list .address-type{background-color:#d3d3d34a;padding:5px 10px;text-align:center;border-radius:5px;margin-left:15px}.address-list .address-det{margin:10px 0}.add-address{color:#0267c1;cursor:pointer;font-weight:600}.address-active{background-color:#0267c1;color:#fff}.selected-address{border:2px solid #0267C1!important}.error-message{color:tomato;display:flex;flex-direction:column;width:100%}@media only screen and (max-width: 475px){.address-list{height:fit-content;max-height:230px}.forms{flex-direction:column}.form-control-group{width:100%}.label{padding-bottom:10px}.address-type-options{position:relative;right:4px}.action-btn{position:relative;bottom:0;top:19px;right:0}.action-btn button{width:100%!important}.address-type{padding:10px 27px}.address-sec{padding:20px 4px}}button:disabled{background-color:#d3d3d3!important}\n"] }]
273
273
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.RestService }, { type: i2.MatDialog }, { type: i3.MatBottomSheet }, { type: i4.Router }, { type: i5.StorageServiceService }, { type: i6.EventsService }, { type: undefined, decorators: [{
274
274
  type: Optional
275
275
  }, {
@@ -292,4 +292,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
292
292
  }], isCart: [{
293
293
  type: Input
294
294
  }] } });
295
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2Vjb21tZXJjZS9zZWN0aW9ucy9hZGRyZXNzL2FkZHJlc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYWRkcmVzcy9hZGRyZXNzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWtCLEtBQUssRUFBNEIsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25JLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQzdGLE9BQU8sRUFBRSxlQUFlLEVBQWEsZUFBZSxFQUFnQixNQUFNLDBCQUEwQixDQUFDO0FBS3JHLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUNyRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0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ICAgcmVzdWx0c1swXS5hZGRyZXNzX2NvbXBvbmVudHMuZm9yRWFjaCgoY29tcG9uZW50OiBhbnkpID0+IHtcclxuICAgICAgICAgICAgY29uc3QgdHlwZXMgPSBjb21wb25lbnQudHlwZXM7XHJcbiAgICAgICAgICAgIGlmICh0eXBlcy5pbmNsdWRlcyhcImxvY2FsaXR5XCIpKSB7XHJcbiAgICAgICAgICAgICAgLy8gdGhpcy5jaXR5ID0gY29tcG9uZW50LmxvbmdfbmFtZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBpZiAodHlwZXMuaW5jbHVkZXMoXCJhZG1pbmlzdHJhdGl2ZV9hcmVhX2xldmVsXzFcIikpIHtcclxuICAgICAgICAgICAgICAvLyB0aGlzLnN0YXRlID0gY29tcG9uZW50LmxvbmdfbmFtZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBpZiAodHlwZXMuaW5jbHVkZXMoXCJjb3VudHJ5XCIpKSB7XHJcbiAgICAgICAgICAgICAgLy8gdGhpcy5zZWxlY3RlZENvdW50cnkgPSBjb21wb25lbnQubG9uZ19uYW1lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGlmICh0eXBlcy5pbmNsdWRlcyhcInBvc3RhbF9jb2RlXCIpKSB7XHJcbiAgICAgICAgICAgICAgLy8gdGhpcy56aXAgPSBjb21wb25lbnQubG9uZ19uYW1lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICB9KTtcclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgfVxyXG4gIG9uTG9jYXRpb25TZWxlY3RlZChsb2NhdGlvbjogYW55KSB7XHJcbiAgICBcclxuICAgIHRoaXMubGF0aXR1dGUgPSBsb2NhdGlvbi5sYXRpdHVkZTtcclxuICAgIHRoaXMubG9uZ2l0dXRlID0gbG9jYXRpb24ubG9uZ2l0dWRlO1xyXG4gICAgICAvLyB0aGlzLnNldFBvc2l0aW9uKCk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