simpo-component-library 1.6.80 → 1.6.81

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) 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 +15 -8
  24. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  25. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +11 -0
  26. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  27. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  28. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  29. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  30. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  31. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  32. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  33. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  34. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  35. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  36. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  37. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  38. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  39. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  40. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  41. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  44. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  45. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  46. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  47. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  48. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  49. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  50. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  52. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  53. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  54. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  55. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  56. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  57. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  58. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  59. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  60. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  61. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  63. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  64. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  65. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  66. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  67. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  68. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  69. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  70. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  71. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  72. package/esm2022/lib/elements/index.mjs +1 -1
  73. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  74. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  75. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  76. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  77. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  78. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  79. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  80. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  81. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  82. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  83. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  84. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  85. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  86. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  87. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  88. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  89. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  90. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  91. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  92. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  93. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  94. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  95. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  96. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  97. package/esm2022/lib/sections/image-section/image-section.component.mjs +15 -7
  98. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  99. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  100. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  101. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  102. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  103. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  104. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  105. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  106. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  107. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  108. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  109. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  110. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  111. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  112. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  113. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  114. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  115. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  116. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  117. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  118. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  119. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  120. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  121. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +7 -3
  122. package/esm2022/lib/sections/text-image-section/text-image-section.model.mjs +1 -1
  123. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  124. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  125. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  126. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  127. package/esm2022/lib/services/cart.service.mjs +1 -1
  128. package/esm2022/lib/services/endUser.service.mjs +1 -1
  129. package/esm2022/lib/services/rest.service.mjs +1 -1
  130. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  131. package/esm2022/lib/services/storage.service.mjs +1 -1
  132. package/esm2022/lib/styles/index.mjs +1 -1
  133. package/esm2022/lib/styles/style.model.mjs +1 -1
  134. package/esm2022/lib/styles/types.mjs +1 -1
  135. package/esm2022/public-api.mjs +2 -1
  136. package/fesm2022/simpo-component-library.mjs +144 -117
  137. package/fesm2022/simpo-component-library.mjs.map +1 -1
  138. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +5 -0
  139. package/lib/sections/image-section/image-section.component.d.ts +1 -0
  140. package/lib/sections/image-section/image-section.model.d.ts +7 -1
  141. package/lib/sections/text-image-section/text-image-section.component.d.ts +1 -0
  142. package/lib/sections/text-image-section/text-image-section.model.d.ts +2 -0
  143. package/lib/styles/style.model.d.ts +1 -0
  144. package/package.json +1 -1
  145. package/public-api.d.ts +1 -0
  146. package/simpo-component-library-1.6.81.tgz +0 -0
  147. package/simpo-component-library-1.6.80.tgz +0 -0
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
33
33
  type: Input,
34
34
  args: ['simpoSticky']
35
35
  }] } });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3N0aWNreS1kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTdELE1BQU0sT0FBTyxvQkFBb0I7SUFHL0IsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBRyxDQUFDO0lBRXRDLFdBQVc7UUFDVCxJQUFJLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNuQixJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsV0FBV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XHJcbiAgICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KFwicG9zaXRpb25cIiwgXCJyZWxhdGl2ZVwiKTtcclxuICAgICAgICAvLyB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJ0b3BcIiwgXCIwcHhcIik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpe1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1iYWNrZ3JvdW5kLWRpcmVjdGl2ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2RpcmVjdGl2ZS90ZXh0LWJhY2tncm91bmQtZGlyZWN0aXZlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBYSxNQUFNLGVBQWUsQ0FBQzs7O0FBU3hFLE1BQU0sT0FBTyxnQ0FBZ0M7SUFHM0MsWUFBb0IsRUFBYyxFQUN4QixZQUEyQjtRQURqQixPQUFFLEdBQUYsRUFBRSxDQUFZO1FBQ3hCLGlCQUFZLEdBQVosWUFBWSxDQUFlO1FBQ25DLElBQUksQ0FBQyx5QkFBeUIsRUFBRSxDQUFBO0lBQ2xDLENBQUM7SUFFRCxXQUFXO1FBQ1QsSUFBSSxJQUFJLENBQUMsdUJBQXVCLEVBQUUsQ0FBQztZQUNqQyxJQUFJLE9BQU8sR0FBRyxJQU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iAgICAvLyBEZXRlcm1pbmUgdGhyZXNob2xkIGZvciBjb2xvciBzZWxlY3Rpb25cclxuICAgIGNvbnN0IHRocmVzaG9sZCA9IDAuNTtcclxuXHJcbiAgICAvLyBDaG9vc2UgY29udHJhc3RpbmcgY29sb3IgYmFzZWQgb24gbHVtaW5hbmNlXHJcbiAgICByZXR1cm4gbHVtaW5hbmNlID4gdGhyZXNob2xkID8gJ2JsYWNrJyA6ICd3aGl0ZSc7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1zaXplLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3RleHQtc2l6ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFhLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7QUFTdEQsTUFBTSxPQUFPLGlCQUFpQjtJQUc1QixZQUFvQixZQUEyQixFQUNyQyxFQUFjO1FBREosaUJBQVksR0FBWixZQUFZLENBQWU7UUFDckMsT0FBRSxHQUFGLEVBQUUsQ0FBWTtJQUNwQixDQUFDO0lBRUwsV0FBVztRQUNULElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQTtJQUN0QixDQUFDO0lBRUQsV0FBVztRQUNULElBQUksQ0FBQyxvQkFBb0IsRUFBRSxXQUFXLEVBQUUsQ0FBQTtJQUMxQyxDQ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gICAgdGhpcy5zaXplID0gcmVzLnNpemU7XHJcbiAgICAgICAgdGhpcy50eXBlID0gcmVzLnR5cGU7XHJcbiAgICAgICAgdGhpcy5hcHBseUZvbnRTaXplKCk7XHJcbiAgICAgIH1cclxuICAgIH0pXHJcbiAgfVxyXG5cclxuICByZW1vdmVIZWFkaW5nQ2xhc3MoKXtcclxuICAgIGZvcihsZXQgdmFsdWVzIG9mIE9iamVjdC52YWx1ZXMoZm9udFNpemUuaGVhZGluZykpIHtcclxuICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUodmFsdWVzKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHJlbW92ZURlc2NDbGFzcygpe1xyXG4gICAgZm9yKGxldCB2YWx1ZXMgb2YgT2JqZWN0LnZhbHVlcyhmb250U2l6ZS5kZXNjKSkge1xyXG4gICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LnJlbW92ZSh2YWx1ZXMpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcC1jb250YWluZXJzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3dyYXAtY29udGFpbmVycy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQU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 @@ export class AddressComponent extends BaseSection {
182
182
  const userDetails = this.storageService.getUser();
183
183
  if (userDetails) {
184
184
  const addressList = userDetails?.addressDetailsList;
185
+ // if (this.matData?.editIndex) {
186
+ // this.addressList.forEach((address: any, idx: number)=> {
187
+ // if (idx == this.matData.editIndx) {
188
+ // address = this.address;
189
+ // }
190
+ // })
191
+ // } else {
192
+ // addressList.push(this.address);
193
+ // }
185
194
  if (this.matData?.editIndex) {
186
- this.addressList.forEach((address, idx) => {
187
- if (idx == this.matData.editIndx) {
188
- address = this.address;
189
- }
195
+ this.addressList = this.addressList.map((address, idx) => {
196
+ return idx === this.matData.editIndex ? this.address : address;
190
197
  });
191
198
  }
192
199
  else {
193
- addressList.push(this.address);
200
+ this.addressList.push(this.address);
194
201
  }
195
202
  const payload = {
196
203
  "userId": userDetails.userId,
@@ -259,7 +266,7 @@ export class AddressComponent extends BaseSection {
259
266
  return window.innerWidth <= 475;
260
267
  }
261
268
  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 }); }
262
- 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", customClass: "customClass", 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)\" [attr.style]=\"customClass\">\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\" [style.color]=\"styles?.background?.accentColor\" *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)\" [style.backgroundColor]=\"address.status ? data?.styles?.background?.accentColor : 'rgba(211, 211, 211, 0.362)'\" [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)\" [style.borderColor]=\"selectedAddressIdx == idx ? data?.styles?.background?.accentColor : ''\">\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 [style.backgroundColor]=\"data?.styles?.background?.accentColor\" [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{color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{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;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:2px solid transparent}.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{cursor:pointer;font-weight:600}.address-active{color:#fff}.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"] }] }); }
269
+ 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", customClass: "customClass", 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)\" [attr.style]=\"customClass\">\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\" [style.color]=\"styles?.background?.accentColor\" *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)\" [style.backgroundColor]=\"address.status ? data?.styles?.background?.accentColor : 'rgba(211, 211, 211, 0.362)'\" [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)\" [style.borderColor]=\"selectedAddressIdx == idx ? data?.styles?.background?.accentColor : ''\">\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 [style.backgroundColor]=\"data?.styles?.background?.accentColor\" [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{color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{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;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:2px solid transparent}.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{cursor:pointer;font-weight:600}.address-active{color:#fff}.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"] }] }); }
263
270
  }
264
271
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AddressComponent, decorators: [{
265
272
  type: Component,
@@ -272,7 +279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
272
279
  MatBottomSheetModule,
273
280
  DeleteHoverElementComponent,
274
281
  HoverElementsComponent
275
- ], providers: [], template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" [attr.style]=\"customClass\">\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\" [style.color]=\"styles?.background?.accentColor\" *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)\" [style.backgroundColor]=\"address.status ? data?.styles?.background?.accentColor : 'rgba(211, 211, 211, 0.362)'\" [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)\" [style.borderColor]=\"selectedAddressIdx == idx ? data?.styles?.background?.accentColor : ''\">\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 [style.backgroundColor]=\"data?.styles?.background?.accentColor\" [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{color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{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;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:2px solid transparent}.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{cursor:pointer;font-weight:600}.address-active{color:#fff}.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"] }]
282
+ ], providers: [], template: "<section class=\"address-sec\" (click)=\"editSection()\" simpoHover (hovering)=\"showEditTabs($event)\" [attr.style]=\"customClass\">\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\" [style.color]=\"styles?.background?.accentColor\" *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)\" [style.backgroundColor]=\"address.status ? data?.styles?.background?.accentColor : 'rgba(211, 211, 211, 0.362)'\" [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)\" [style.borderColor]=\"selectedAddressIdx == idx ? data?.styles?.background?.accentColor : ''\">\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 [style.backgroundColor]=\"data?.styles?.background?.accentColor\" [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{color:#fff;padding:10px;width:200px!important;border:none;border-radius:5px}.label:after{content:\"*\"}.active-address{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;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:2px solid transparent}.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{cursor:pointer;font-weight:600}.address-active{color:#fff}.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"] }]
276
283
  }], 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: [{
277
284
  type: Optional
278
285
  }, {
@@ -297,4 +304,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
297
304
  }], isCart: [{
298
305
  type: Input
299
306
  }] } });
300
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9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CB0eXBlcyA9IGNvbXBvbmVudC50eXBlcztcclxuICAgICAgICAgICAgaWYgKHR5cGVzLmluY2x1ZGVzKFwibG9jYWxpdHlcIikpIHtcclxuICAgICAgICAgICAgICAvLyB0aGlzLmNpdHkgPSBjb21wb25lbnQubG9uZ19uYW1lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGlmICh0eXBlcy5pbmNsdWRlcyhcImFkbWluaXN0cmF0aXZlX2FyZWFfbGV2ZWxfMVwiKSkge1xyXG4gICAgICAgICAgICAgIC8vIHRoaXMuc3RhdGUgPSBjb21wb25lbnQubG9uZ19uYW1lO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGlmICh0eXBlcy5pbmNsdWRlcyhcImNvdW50cnlcIikpIHtcclxuICAgICAgICAgICAgICAvLyB0aGlzLnNlbGVjdGVkQ291bnRyeSA9IGNvbXBvbmVudC5sb25nX25hbWU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgaWYgKHR5cGVzLmluY2x1ZGVzKFwicG9zdGFsX2NvZGVcIikpIHtcclxuICAgICAgICAgICAgICAvLyB0aGlzLnppcCA9IGNvbXBvbmVudC5sb25nX25hbWU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbiAgb25Mb2NhdGlvblNlbGVjdGVkKGxvY2F0aW9uOiBhbnkpIHtcclxuICAgIFxyXG4gICAgdGhpcy5sYXRpdHV0ZSA9IGxvY2F0aW9uLmxhdGl0dWRlO1xyXG4gICAgdGhpcy5sb25naXR1dGUgPSBsb2NhdGlvbi5sb25naXR1ZGU7XHJcbiAgICAgIC8vIHRoaXMuc2V0UG9zaXRpb24oKTsgIC8vIFVwZGF0ZSBtYXAgcG9zaXRpb25cclxuICAgIC8vIHRoaXMudXBkYXRlQWRkcmVzc0ZpZWxkcygpO1xyXG4gIH1cclxuICBvbk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