simpo-component-library 3.5.46 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +4 -4
- package/esm2022/lib/components/document/document.component.mjs +4 -4
- package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +5 -5
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +5 -5
- package/esm2022/lib/components/index.mjs +5 -5
- package/esm2022/lib/components/input-fields/input-fields.component.mjs +4 -4
- package/esm2022/lib/components/payment-details/payment-details.component.mjs +103 -18
- package/esm2022/lib/components/trasport-availability/trasport-availability.component.mjs +36 -0
- package/esm2022/lib/directive/alignment.directive.mjs +23 -0
- package/esm2022/lib/directive/animation-directive.mjs +4 -4
- package/esm2022/lib/directive/background-directive.mjs +133 -8
- package/esm2022/lib/directive/banner-content-fit-directive.mjs +4 -4
- package/esm2022/lib/directive/blur-content.directive.mjs +4 -4
- package/esm2022/lib/directive/border-directive.mjs +5 -5
- package/esm2022/lib/directive/borderlessImage.directive.mjs +7 -4
- package/esm2022/lib/directive/button-directive.directive.mjs +74 -19
- package/esm2022/lib/directive/button-editor.directive.mjs +24 -6
- package/esm2022/lib/directive/color.directive.mjs +4 -4
- package/esm2022/lib/directive/column-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/container-alignment.directive.mjs +4 -4
- package/esm2022/lib/directive/container-fir.directive.mjs +4 -4
- package/esm2022/lib/directive/content-alignment-directive.mjs +4 -4
- package/esm2022/lib/directive/content-fit-directive.mjs +4 -4
- package/esm2022/lib/directive/content-title-spacing.directive.mjs +7 -7
- package/esm2022/lib/directive/contenteditable.directive.mjs +4 -4
- package/esm2022/lib/directive/corner-directive.mjs +4 -4
- package/esm2022/lib/directive/footer-layout-directive.mjs +4 -4
- package/esm2022/lib/directive/height.directive.mjs +29 -0
- package/esm2022/lib/directive/hover-animation.directive.mjs +14 -5
- package/esm2022/lib/directive/hover-element-directive.mjs +4 -4
- package/esm2022/lib/directive/hoverborder.directive.mjs +4 -4
- package/esm2022/lib/directive/image-container.directive.mjs +4 -4
- package/esm2022/lib/directive/image-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/image-editor.directive.mjs +27 -7
- package/esm2022/lib/directive/image-position.directive.mjs +4 -4
- package/esm2022/lib/directive/overlay-directive.mjs +4 -4
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/removeCarousel-directive.mjs +4 -4
- package/esm2022/lib/directive/set-dynamic-background.directive.mjs +66 -0
- package/esm2022/lib/directive/spacing-around.directive.mjs +42 -5
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +8 -4
- package/esm2022/lib/directive/spacing.directive.mjs +29 -0
- package/esm2022/lib/directive/sticky-directive.mjs +5 -5
- package/esm2022/lib/directive/text-background-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/text-size.directive.mjs +4 -4
- package/esm2022/lib/directive/translate-onhover.directive.mjs +47 -0
- package/esm2022/lib/directive/wrap-containers.directive.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +97 -60
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +129 -15
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +199 -0
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +216 -40
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +405 -0
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +8 -6
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +9 -7
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +44 -9
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +144 -0
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +100 -12
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +390 -17
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +627 -143
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +95 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +57 -0
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +36 -0
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +51 -6
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +157 -0
- package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +120 -0
- package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +7 -6
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +67 -17
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +18 -13
- package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +5 -3
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +22 -1
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +3 -1
- package/esm2022/lib/elements/add-section/add-section.component.mjs +5 -6
- package/esm2022/lib/elements/address-list/address-list.component.mjs +98 -0
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +15 -10
- package/esm2022/lib/elements/button/button.component.mjs +4 -4
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +5 -5
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +10 -6
- package/esm2022/lib/elements/editor-service.service.mjs +34 -5
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +4 -4
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +148 -16
- package/esm2022/lib/elements/index.mjs +5 -5
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +109 -11
- package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +94 -0
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +4 -4
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +4 -5
- package/esm2022/lib/elements/portfolio/portfolio.component.mjs +4 -4
- package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +80 -0
- package/esm2022/lib/elements/property/property.component.mjs +4 -4
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +187 -0
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -5
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +4 -4
- package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +4 -4
- package/esm2022/lib/elements/text/text.component.mjs +4 -4
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +74 -29
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +5 -5
- package/esm2022/lib/pipes/amount.pipe.mjs +4 -4
- package/esm2022/lib/pipes/gender.pipe.mjs +8 -4
- package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +5 -5
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +166 -100
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +8 -34
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +54 -19
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +8 -27
- package/esm2022/lib/sections/blog-list/blog-list.component.mjs +4 -4
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +10 -9
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +1 -1
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +8 -6
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +39 -9
- package/esm2022/lib/sections/contact-us/contact-us.modal.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +6 -6
- package/esm2022/lib/sections/features-section/features-section.component.mjs +8 -6
- package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
- package/esm2022/lib/sections/footer/footer.component.mjs +8 -11
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +4 -4
- package/esm2022/lib/sections/header-section/header-section.component.mjs +93 -14
- package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
- package/esm2022/lib/sections/header-text/header-text.component.mjs +5 -5
- package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +14 -24
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +11 -6
- package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +14 -7
- package/esm2022/lib/sections/location-section/location-section.component.mjs +4 -4
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +11 -6
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +11 -5
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +61 -52
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
- package/esm2022/lib/sections/new-services/new-services.component.mjs +6 -6
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +14 -8
- package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +108 -0
- package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +2 -0
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +30 -6
- package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +14 -6
- package/esm2022/lib/sections/process-section/process-section.component.mjs +8 -5
- package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
- package/esm2022/lib/sections/property-component/property-component.component.mjs +4 -4
- package/esm2022/lib/sections/property-list/property-list.component.mjs +4 -4
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +8 -6
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +27 -12
- package/esm2022/lib/sections/service-section/service-section.component.mjs +6 -6
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +4 -4
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +4 -4
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +8 -5
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +20 -5
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +4 -4
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +5 -19
- package/esm2022/lib/sections/text-section/text-section.component.mjs +5 -23
- package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +4 -4
- package/esm2022/lib/sections/video-section/video-section.component.mjs +18 -18
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +4 -4
- package/esm2022/lib/services/cart.service.mjs +41 -38
- package/esm2022/lib/services/endUser.service.mjs +4 -4
- package/esm2022/lib/services/events.service.mjs +5 -11
- package/esm2022/lib/services/image-upload-service.service.mjs +10 -7
- package/esm2022/lib/services/rest.service.mjs +127 -70
- package/esm2022/lib/services/sanitizeHtml.mjs +4 -4
- package/esm2022/lib/services/storage.service.mjs +30 -47
- package/esm2022/lib/styles/index.mjs +2 -1
- package/esm2022/lib/styles/style.model.mjs +3 -2
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +12 -1
- package/fesm2022/simpo-component-library.mjs +6122 -2119
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/payment-details/payment-details.component.d.ts +6 -0
- package/lib/components/trasport-availability/trasport-availability.component.d.ts +14 -0
- package/lib/directive/alignment.directive.d.ts +11 -0
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +3 -1
- package/lib/directive/button-editor.directive.d.ts +6 -2
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/directive/height.directive.d.ts +11 -0
- package/lib/directive/image-editor.directive.d.ts +6 -1
- package/lib/directive/set-dynamic-background.directive.d.ts +14 -0
- package/lib/directive/spacing-around.directive.d.ts +7 -2
- package/lib/directive/spacing.directive.d.ts +12 -0
- package/lib/directive/translate-onhover.directive.d.ts +11 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +11 -3
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +23 -5
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +70 -0
- package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +14 -0
- package/lib/ecommerce/sections/cart/cart.component.d.ts +35 -3
- package/lib/ecommerce/sections/enrollment-form/enrollment-form.component.d.ts +54 -0
- package/lib/ecommerce/sections/enrollment-form/enrollment-form.model.d.ts +29 -0
- package/lib/ecommerce/sections/featured-category/featured-category.modal.d.ts +2 -0
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +6 -1
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +6 -2
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +36 -0
- package/lib/ecommerce/sections/new-collection/new-collection.modal.d.ts +23 -0
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +18 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +61 -2
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +5 -0
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +110 -17
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +31 -0
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.model.d.ts +14 -0
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +16 -0
- package/lib/ecommerce/sections/scheme-selection/scheme-selection.component.d.ts +18 -0
- package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +6 -1
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +43 -0
- package/lib/ecommerce/sections/store-list/store-list.modal.d.ts +11 -0
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +27 -0
- package/lib/ecommerce/sections/store-page/store-page.model.d.ts +11 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +10 -1
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +4 -1
- package/lib/ecommerce/styles/Collection.modal.d.ts +1 -0
- package/lib/ecommerce/styles/product.modal.d.ts +19 -0
- package/lib/ecommerce/styles/user.modal.d.ts +3 -0
- package/lib/elements/address-list/address-list.component.d.ts +27 -0
- package/lib/elements/below-image-card/below-image-card.component.d.ts +3 -0
- package/lib/elements/covering-image-card/covering-image-card.component.d.ts +3 -0
- package/lib/elements/editor-service.service.d.ts +4 -0
- package/lib/elements/image-editor/image-editor.component.d.ts +29 -3
- package/lib/elements/link-editor/link-editor.component.d.ts +13 -1
- package/lib/elements/list-home-appointment/list-home-appointment.component.d.ts +27 -0
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +21 -0
- package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +33 -0
- package/lib/elements/text-editor/text-editor.component.d.ts +3 -0
- package/lib/sections/appointment-form/appointment-form.component.d.ts +11 -4
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +8 -1
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +1 -0
- package/lib/sections/contact-us/contact-us.component.d.ts +2 -1
- package/lib/sections/contact-us/contact-us.modal.d.ts +5 -1
- package/lib/sections/features-section/features-section.model.d.ts +2 -0
- package/lib/sections/header-section/header-section.component.d.ts +27 -2
- package/lib/sections/header-section/header-section.model.d.ts +5 -1
- package/lib/sections/header-text/header-text.model.d.ts +2 -1
- package/lib/sections/image-carousel-section/image-carousel-section.component.d.ts +2 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -0
- package/lib/sections/image-grid-section/image-grid-section.model.d.ts +3 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -1
- package/lib/sections/logo-gallery/logo-gallery.component.d.ts +2 -1
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +3 -1
- package/lib/sections/logo-showcase/logo-showcase.modal.d.ts +11 -2
- package/lib/sections/moving-text/moving-text.component.d.ts +11 -9
- package/lib/sections/new-testimonials/new-testimonials.component.d.ts +2 -1
- package/lib/sections/news-letter-component/news-letter-component.component.d.ts +26 -0
- package/lib/sections/news-letter-component/news-letter.modal.d.ts +19 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +3 -1
- package/lib/sections/pricing-section/pricing-section.modal.d.ts +3 -0
- package/lib/sections/process-modern/process-modern.component.d.ts +2 -0
- package/lib/sections/process-section/process-section.component.d.ts +1 -0
- package/lib/sections/process-section/process-section.modal.d.ts +2 -0
- package/lib/sections/service-section/service-section.model.d.ts +2 -0
- package/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.d.ts +1 -0
- package/lib/sections/testimonial-section/testimonial-section.component.d.ts +1 -0
- package/lib/sections/video-section/video-section.component.d.ts +4 -3
- package/lib/sections/video-section/video-section.model.d.ts +1 -1
- package/lib/services/cart.service.d.ts +1 -6
- package/lib/services/events.service.d.ts +1 -6
- package/lib/services/rest.service.d.ts +29 -18
- package/lib/services/storage.service.d.ts +6 -5
- package/lib/styles/index.d.ts +2 -1
- package/lib/styles/style.model.d.ts +11 -1
- package/lib/styles/types.d.ts +10 -3
- package/package.json +1 -1
- package/public-api.d.ts +11 -0
- package/simpo-component-library-3.6.2.tgz +0 -0
- package/src/lib/styles/global-styles.css +61 -1
- package/simpo-component-library-3.5.46.tgz +0 -0
|
@@ -42,11 +42,17 @@ export declare class PaymentDetailsComponent {
|
|
|
42
42
|
addingTransportFee(): void;
|
|
43
43
|
removeTrasportFee(): void;
|
|
44
44
|
onCheckboxChange(item: any, event: any): void;
|
|
45
|
+
addingTransportRequest(): void;
|
|
45
46
|
getPickupTime(item: any): Date | null;
|
|
46
47
|
getDroptime(item: any): Date | null;
|
|
47
48
|
changeTransportTermValue(item: any): void;
|
|
48
49
|
addSingleStop(ev: any, item: any): void;
|
|
49
50
|
calculateTotalAmountV2(cal: number, value: any): void;
|
|
51
|
+
listAllKits: any;
|
|
52
|
+
getAllKits(): void;
|
|
53
|
+
addRemoveKit(item: any, ev: any): void;
|
|
54
|
+
changePaymentStatus(item: any): void;
|
|
55
|
+
hasActiveKits(): boolean;
|
|
50
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentDetailsComponent, never>;
|
|
51
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentDetailsComponent, "simpo-payment-details", never, { "admissionData": { "alias": "admissionData"; "required": false; }; "subscriptionsData": { "alias": "subscriptionsData"; "required": false; }; "termPaymentList": { "alias": "termPaymentList"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
58
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TrasportAvailabilityComponent {
|
|
5
|
+
dialogRef: MatDialogRef<TrasportAvailabilityComponent>;
|
|
6
|
+
data: any;
|
|
7
|
+
private snackBar;
|
|
8
|
+
constructor(dialogRef: MatDialogRef<TrasportAvailabilityComponent>, data: any, snackBar: MatSnackBar);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
close(): void;
|
|
11
|
+
sendRequest(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrasportAvailabilityComponent, [null, { optional: true; }, null]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrasportAvailabilityComponent, "simpo-trasport-availability", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { ALIGN } from '../styles/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AlignmentDirective implements OnChanges {
|
|
5
|
+
private el;
|
|
6
|
+
alignment?: ALIGN;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlignmentDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlignmentDirective, "[simpoAlignment]", never, { "alignment": { "alias": "simpoAlignment"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
|
14
|
-
getTextColor(bgColor: string): "#
|
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -16,10 +16,12 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
16
16
|
applyButtonStyleChanges(): void;
|
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
19
|
-
getTextColor(bgColor: string): "#
|
|
19
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
20
20
|
buttonStyleSubscription?: Subscription;
|
|
21
21
|
buttonStyleChangeCheck(): void;
|
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
|
23
|
+
onHover(): void;
|
|
24
|
+
onLeave(): void;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirectiveDirective, never>;
|
|
24
26
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirectiveDirective, "[simpoButtonDirective]", never, { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "color": { "alias": "color"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { Button } from '../styles/style.model';
|
|
2
|
+
import { BackgroundModel, Button, ButtonStyleModel } from '../styles/style.model';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ButtonEditorDirective {
|
|
@@ -7,6 +7,10 @@ export declare class ButtonEditorDirective {
|
|
|
7
7
|
private matDialog;
|
|
8
8
|
appButtonEditor: boolean;
|
|
9
9
|
buttonData?: Button;
|
|
10
|
+
buttonStyle?: ButtonStyleModel;
|
|
11
|
+
backgroundInfo?: BackgroundModel;
|
|
12
|
+
sectionId?: string;
|
|
13
|
+
buttonId: string;
|
|
10
14
|
private mouseEnterSub?;
|
|
11
15
|
private mouseLeaveSub?;
|
|
12
16
|
private clickSub?;
|
|
@@ -18,5 +22,5 @@ export declare class ButtonEditorDirective {
|
|
|
18
22
|
private cleanup;
|
|
19
23
|
ngOnDestroy(): void;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonEditorDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonEditorDirective, "button[appButtonEditor]", never, { "appButtonEditor": { "alias": "appButtonEditor"; "required": false; }; "buttonData": { "alias": "buttonData"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonEditorDirective, "button[appButtonEditor]", never, { "appButtonEditor": { "alias": "appButtonEditor"; "required": false; }; "buttonData": { "alias": "buttonData"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
26
|
}
|
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
applyColor(): void;
|
|
14
14
|
bgColorChangeCheck(): void;
|
|
15
|
-
getTextColor(): "#
|
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { FIT } from '../styles/types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HeightDirective implements OnChanges {
|
|
5
|
+
private el;
|
|
6
|
+
fit?: FIT;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeightDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HeightDirective, "[simpoHeight]", never, { "fit": { "alias": "simpoHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Image } from '../styles/style.model';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { EventsService } from '../services/events.service';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class ImageEditorDirective implements OnInit, OnDestroy {
|
|
6
8
|
private el;
|
|
7
9
|
private matDialog;
|
|
10
|
+
private _eventService;
|
|
11
|
+
private router;
|
|
8
12
|
appImageEditor: boolean;
|
|
9
13
|
imageData?: Image;
|
|
10
14
|
sectionId?: string;
|
|
@@ -12,12 +16,13 @@ export declare class ImageEditorDirective implements OnInit, OnDestroy {
|
|
|
12
16
|
private mouseLeaveSub?;
|
|
13
17
|
private clickSub?;
|
|
14
18
|
private readonly HIGHLIGHT_BORDER;
|
|
15
|
-
constructor(el: ElementRef, matDialog: MatDialog);
|
|
19
|
+
constructor(el: ElementRef, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
|
16
20
|
ngOnInit(): void;
|
|
17
21
|
ngOnChanges(): void;
|
|
18
22
|
private setupEventListeners;
|
|
19
23
|
private cleanup;
|
|
20
24
|
ngOnDestroy(): void;
|
|
25
|
+
redirectTo(): void;
|
|
21
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorDirective, never>;
|
|
22
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageEditorDirective, "img[appImageEditor]", never, { "appImageEditor": { "alias": "appImageEditor"; "required": false; }; "imageData": { "alias": "imageData"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
28
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SetDynamicBackgroundDirective {
|
|
4
|
+
private el;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
showBackground: boolean;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
private getContrastingColor;
|
|
10
|
+
lightenColor(r: number, g: number, b: number, factor: number): string;
|
|
11
|
+
darkenColor(r: number, g: number, b: number, factor: number): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SetDynamicBackgroundDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SetDynamicBackgroundDirective, "[simpoSetDynamicBackground]", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "showBackground": { "alias": "simpoSetDynamicBackground"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { LayOutModel } from '../styles/style.model';
|
|
2
|
+
import { BackgroundModel, LayOutModel } from '../styles/style.model';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { EventsService } from '../services/events.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,12 +7,17 @@ export declare class SpacingAroundDirective {
|
|
|
7
7
|
private el;
|
|
8
8
|
private eventService;
|
|
9
9
|
layout?: LayOutModel;
|
|
10
|
+
backgroundInfo?: BackgroundModel;
|
|
10
11
|
constructor(el: ElementRef, eventService: EventsService);
|
|
12
|
+
private childDiv?;
|
|
11
13
|
ngOnChanges(): void;
|
|
12
14
|
ngOnDestroy(): void;
|
|
13
15
|
changeAroundSpacing(): void;
|
|
14
16
|
positionLayoutSubscription?: Subscription;
|
|
15
17
|
positionLayoutChangeCheck(): void;
|
|
18
|
+
getBorderColor(bgColor: string): string;
|
|
19
|
+
lightenColor(r: number, g: number, b: number, factor: number): string;
|
|
20
|
+
darkenColor(r: number, g: number, b: number, factor: number): string;
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpacingAroundDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingAroundDirective, "[spacingAround]", never, { "layout": { "alias": "spacingAround"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingAroundDirective, "[spacingAround]", never, { "layout": { "alias": "spacingAround"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
23
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { SpacingModel } from '../styles/style.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpacingDirective implements OnChanges {
|
|
5
|
+
private el;
|
|
6
|
+
spacing?: SpacingModel;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
private applySpacing;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpacingDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingDirective, "[simpoSpacing]", never, { "spacing": { "alias": "simpoSpacing"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslateOnhoverDirective {
|
|
4
|
+
private el;
|
|
5
|
+
translateOnHover?: boolean;
|
|
6
|
+
constructor(el: ElementRef);
|
|
7
|
+
ngOnChanges(): void;
|
|
8
|
+
setTranslate(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateOnhoverDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslateOnhoverDirective, "[simpoTranslateOnhover]", never, { "translateOnHover": { "alias": "simpoTranslateOnhover"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -7,6 +7,7 @@ import { AddressDetails } from '../../styles/user.modal';
|
|
|
7
7
|
import { EventsService } from '../../../services/events.service';
|
|
8
8
|
import BaseSection from '../../../sections/BaseSection';
|
|
9
9
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
10
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class AddressComponent extends BaseSection implements OnInit, OnChanges {
|
|
12
13
|
private readonly ngZone;
|
|
@@ -16,6 +17,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
|
16
17
|
private readonly router;
|
|
17
18
|
private readonly storageService;
|
|
18
19
|
private readonly _eventService;
|
|
20
|
+
private snackBar;
|
|
19
21
|
matData: any;
|
|
20
22
|
matDialogRef: MatDialogRef<AddressComponent>;
|
|
21
23
|
responseData: any;
|
|
@@ -28,10 +30,10 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
|
28
30
|
selectedAddressIdx: number;
|
|
29
31
|
styles: any;
|
|
30
32
|
selectedAddress: EventEmitter<number>;
|
|
31
|
-
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
|
33
|
+
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, snackBar: MatSnackBar, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
|
32
34
|
address: AddressDetails;
|
|
33
35
|
isCart: boolean;
|
|
34
|
-
|
|
36
|
+
editIndex: number;
|
|
35
37
|
private latitute;
|
|
36
38
|
private longitute;
|
|
37
39
|
addNewAddress: boolean;
|
|
@@ -60,9 +62,15 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
|
60
62
|
updateAddress(): void;
|
|
61
63
|
validateMobile(event: KeyboardEvent): void;
|
|
62
64
|
validateName(event: KeyboardEvent): void;
|
|
65
|
+
validatePincode(): boolean;
|
|
63
66
|
editSection(): void;
|
|
64
67
|
get isEmailValid(): boolean;
|
|
65
68
|
get isMobile(): boolean;
|
|
66
|
-
|
|
69
|
+
setAddress(key: any): void;
|
|
70
|
+
debounceTimer: any;
|
|
71
|
+
validateForm(fieldType: string): void;
|
|
72
|
+
validater(fieldType: any): void;
|
|
73
|
+
validateObject: any;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
67
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
|
68
76
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { RestService } from '../../../services/rest.service';
|
|
2
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
4
|
import { MessageService } from 'primeng/api';
|
|
@@ -15,6 +16,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
15
16
|
private readonly storageService;
|
|
16
17
|
private readonly matDialog;
|
|
17
18
|
private readonly activatedRoute;
|
|
19
|
+
private elementRef;
|
|
18
20
|
private readonly dialogRef;
|
|
19
21
|
private readonly bottomsheetRef;
|
|
20
22
|
data?: AuthenticationModel;
|
|
@@ -41,10 +43,12 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
41
43
|
type: string;
|
|
42
44
|
active: boolean;
|
|
43
45
|
}[];
|
|
44
|
-
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
|
|
46
|
+
constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, elementRef: ElementRef, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
|
|
45
47
|
signUpEnabled: any;
|
|
46
48
|
proceedToCheckout: boolean;
|
|
49
|
+
proceedToEnrollment: boolean;
|
|
47
50
|
ngOnInit(): void;
|
|
51
|
+
ngAfterViewInit(): void;
|
|
48
52
|
loginType: "PASSWORD" | "OTP";
|
|
49
53
|
close(): void;
|
|
50
54
|
login(): void;
|
|
@@ -58,12 +62,26 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
58
62
|
validateNumber(event: KeyboardEvent): void;
|
|
59
63
|
validateOTP(event: KeyboardEvent): void;
|
|
60
64
|
checkStrength(): void;
|
|
61
|
-
getStrengthColor(index: number): "
|
|
62
|
-
|
|
63
|
-
|
|
65
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
|
66
|
+
emailDebounceTimer: any;
|
|
67
|
+
onEmailChange(): void;
|
|
68
|
+
emailCheck: boolean;
|
|
69
|
+
isEmailValid(): boolean;
|
|
70
|
+
passwordDebounceTimer: any;
|
|
71
|
+
onPasswordChange(): void;
|
|
72
|
+
passwordCheck: boolean;
|
|
73
|
+
isPasswordValid(): boolean;
|
|
74
|
+
mobileDebounceTimer: any;
|
|
75
|
+
onMobileChange(): void;
|
|
76
|
+
mobileCheck: boolean;
|
|
77
|
+
mobileNumberValid(): boolean;
|
|
64
78
|
get isMobile(): boolean;
|
|
65
79
|
get stylesLayout(): LayOutModel;
|
|
66
80
|
get accentColor(): string;
|
|
67
|
-
|
|
81
|
+
private hexToRgba;
|
|
82
|
+
setup3DEffects(): void;
|
|
83
|
+
showPassword: boolean;
|
|
84
|
+
syncTrialCartToServerDB(userId: string): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
68
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
69
87
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
|
3
|
+
import { RestService } from '../../../services/rest.service';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
|
|
6
|
+
import BaseSection from '../../../sections/BaseSection';
|
|
7
|
+
import { MessageService } from 'primeng/api';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BookAppointmentComponent extends BaseSection implements OnInit {
|
|
10
|
+
private readonly storageService;
|
|
11
|
+
private readonly restService;
|
|
12
|
+
private router;
|
|
13
|
+
private readonly messageService;
|
|
14
|
+
data?: BookAppointmentSectionModal;
|
|
15
|
+
index?: number;
|
|
16
|
+
edit?: boolean;
|
|
17
|
+
delete?: boolean;
|
|
18
|
+
customClass?: string;
|
|
19
|
+
timeSlots: string[];
|
|
20
|
+
customerDetails: {
|
|
21
|
+
date: string;
|
|
22
|
+
time: string;
|
|
23
|
+
addressDetails: {
|
|
24
|
+
receiverName: string;
|
|
25
|
+
receiverPhone: string;
|
|
26
|
+
receiverEmail: string;
|
|
27
|
+
addressLine1: string;
|
|
28
|
+
stateName: string;
|
|
29
|
+
cityName: string;
|
|
30
|
+
zipCode: string;
|
|
31
|
+
};
|
|
32
|
+
userId: string;
|
|
33
|
+
businessId: string | null;
|
|
34
|
+
};
|
|
35
|
+
designs: {
|
|
36
|
+
id: number;
|
|
37
|
+
name: string;
|
|
38
|
+
price: string;
|
|
39
|
+
selected: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
weekDays: {
|
|
42
|
+
dateWithMonth: string;
|
|
43
|
+
day: string;
|
|
44
|
+
date: number;
|
|
45
|
+
}[];
|
|
46
|
+
trialCartItem: any[];
|
|
47
|
+
styles?: BookAppointmentStylesModel;
|
|
48
|
+
loader: boolean;
|
|
49
|
+
constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
|
|
50
|
+
ngOnInit(): void;
|
|
51
|
+
checkAvailability(day: any): void;
|
|
52
|
+
getTrialCart(): void;
|
|
53
|
+
getTrialCartIndexDBData(): void;
|
|
54
|
+
getNextSevenDays(): void;
|
|
55
|
+
toggleDesign(id: number): void;
|
|
56
|
+
getSelectedDesigns(): {
|
|
57
|
+
id: number;
|
|
58
|
+
name: string;
|
|
59
|
+
price: string;
|
|
60
|
+
selected: boolean;
|
|
61
|
+
}[];
|
|
62
|
+
get isValid(): boolean;
|
|
63
|
+
bookAppointment(): void;
|
|
64
|
+
selectTime(time: any): void;
|
|
65
|
+
getKeys(object: Object): string[];
|
|
66
|
+
addMoreDesign(): void;
|
|
67
|
+
get isMobile(): boolean;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BookAppointmentComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BookAppointmentComponent, "simpo-book-appointment", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
|
|
2
|
+
import { ActionModel } from '../../../styles/style.model';
|
|
3
|
+
export interface BookAppointmentSectionModal {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
styles: BookAppointmentStylesModel;
|
|
8
|
+
action: ActionModel;
|
|
9
|
+
}
|
|
10
|
+
export interface BookAppointmentStylesModel {
|
|
11
|
+
layout: LayOutModel;
|
|
12
|
+
background: BackgroundModel;
|
|
13
|
+
animation: AnimationModel;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { CartSectionModal, CartSectionStylesModel } from './cart.modal';
|
|
3
3
|
import BaseSection from '../../../sections/BaseSection';
|
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
|
@@ -7,10 +7,12 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
7
7
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
8
8
|
import { RestService } from "../../../services/rest.service";
|
|
9
9
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
10
|
+
import { AddressDetails } from '../../styles/user.modal';
|
|
10
11
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
|
11
12
|
import { MessageService } from 'primeng/api';
|
|
12
13
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
13
14
|
import { Subscription } from 'rxjs';
|
|
15
|
+
import { LayOutModel } from '../../../styles/style.model';
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
15
17
|
interface Coupon {
|
|
16
18
|
discountType: string;
|
|
@@ -44,17 +46,33 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
44
46
|
isLoading: boolean;
|
|
45
47
|
styles?: CartSectionStylesModel;
|
|
46
48
|
currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
|
|
49
|
+
cartType: 'SHOPPING' | 'TRIAL';
|
|
50
|
+
d2: ElementRef;
|
|
47
51
|
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet, activatedRoute: ActivatedRoute, matDialogData: any, dialogRef: MatDialogRef<CartComponent>);
|
|
52
|
+
quantity: number[];
|
|
48
53
|
private userDetails;
|
|
49
54
|
private USER_CART_ITEMS;
|
|
50
55
|
selectedAddressIdx: number;
|
|
56
|
+
defaultAddress?: AddressDetails;
|
|
51
57
|
enteredCouponCode: string;
|
|
52
58
|
couponList: Coupon[];
|
|
59
|
+
trialCartItem: OrderedItems[] | null;
|
|
60
|
+
selectMatureScheme: boolean;
|
|
53
61
|
cartInfo: any;
|
|
54
62
|
loadingSubscription?: Subscription;
|
|
63
|
+
subIndustryName: string;
|
|
64
|
+
isJewellery: boolean;
|
|
65
|
+
selectedRedemption: boolean;
|
|
55
66
|
ngOnInit(): void;
|
|
67
|
+
schemeList: any[];
|
|
68
|
+
getSchemeDetails(): void;
|
|
56
69
|
ngOnDestroy(): void;
|
|
70
|
+
onToggleChange(): void;
|
|
71
|
+
getTrialCart(): void;
|
|
72
|
+
getTrialCartIndexDBData(): void;
|
|
57
73
|
updateUserCart(): void;
|
|
74
|
+
getDefaultAddress(): void;
|
|
75
|
+
get stylesLayout(): LayOutModel;
|
|
58
76
|
mergeOrderItems(syncedItems: any[]): void;
|
|
59
77
|
getCouponList(): void;
|
|
60
78
|
removeCoupon(event: MouseEvent): void;
|
|
@@ -65,7 +83,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
65
83
|
removeItem(item: OrderedItems): void;
|
|
66
84
|
private moveItemToWishlist;
|
|
67
85
|
private removeItemFromCart;
|
|
68
|
-
addToCart(item: OrderedItems,
|
|
86
|
+
addToCart(item: OrderedItems, quantity: number): void;
|
|
69
87
|
proceedToPayment(): Promise<void>;
|
|
70
88
|
addressSelected(index: number): void;
|
|
71
89
|
isItemOutOfStock(product: OrderedItems): boolean;
|
|
@@ -79,9 +97,23 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
79
97
|
applyCoupon(coupon: Coupon): void;
|
|
80
98
|
calculateCart(response: any): void;
|
|
81
99
|
getTaxAmount(): number;
|
|
82
|
-
get getAddressList():
|
|
100
|
+
get getAddressList(): AddressDetails[];
|
|
83
101
|
get isMobile(): boolean;
|
|
84
102
|
get currency(): string;
|
|
103
|
+
changeAddress(): void;
|
|
104
|
+
addAddress(): void;
|
|
105
|
+
scroll(e: WheelEvent): void;
|
|
106
|
+
selectedRedmpationData: any;
|
|
107
|
+
selectScheme(): void;
|
|
108
|
+
scheduleVideoCall(items: any): void;
|
|
109
|
+
getButtonId(index: number): string;
|
|
110
|
+
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
111
|
+
changeQuantity(event: any, item: OrderedItems): void;
|
|
112
|
+
removeTrialItem(item: OrderedItems): void;
|
|
113
|
+
bookAppointment(): void;
|
|
114
|
+
showReedemError: boolean;
|
|
115
|
+
vaildAmount: number;
|
|
116
|
+
redeemScheme(scheme: any, action: boolean): void;
|
|
85
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
86
118
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
87
119
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import BaseSection from '../../../sections/BaseSection';
|
|
2
|
+
import { RestService } from '../../../services/rest.service';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { EnrollmentFormModel, EnrollmentFormStyleModel } from './enrollment-form.model';
|
|
5
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EnrollmentFormComponent extends BaseSection {
|
|
8
|
+
private restService;
|
|
9
|
+
private activeRoute;
|
|
10
|
+
private readonly storageService;
|
|
11
|
+
private router;
|
|
12
|
+
data?: EnrollmentFormModel;
|
|
13
|
+
edit?: boolean;
|
|
14
|
+
customClass?: string;
|
|
15
|
+
delete?: boolean;
|
|
16
|
+
index?: number;
|
|
17
|
+
styles?: EnrollmentFormStyleModel;
|
|
18
|
+
constructor(restService: RestService, activeRoute: ActivatedRoute, storageService: StorageServiceService, router: Router);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
checkUserLoggedIn(): void;
|
|
21
|
+
page: 'ENROLLMENT' | 'PAYMENT';
|
|
22
|
+
enrollementPayload: any;
|
|
23
|
+
schemesData: any;
|
|
24
|
+
selectedScheme: any;
|
|
25
|
+
getSchemes(): void;
|
|
26
|
+
storeData: any;
|
|
27
|
+
selectedStore: any;
|
|
28
|
+
getAllStores(): void;
|
|
29
|
+
staffData: any;
|
|
30
|
+
getStaffById(): void;
|
|
31
|
+
stateData: any;
|
|
32
|
+
getAllState(): void;
|
|
33
|
+
cityData: any;
|
|
34
|
+
getCityByStateId(): void;
|
|
35
|
+
setMonthlyInstallmentAmount(): void;
|
|
36
|
+
storeSlabs: any;
|
|
37
|
+
getStoreSlabs(): void;
|
|
38
|
+
validator: boolean;
|
|
39
|
+
createEnrollment(): void;
|
|
40
|
+
success(): void;
|
|
41
|
+
result: any;
|
|
42
|
+
showResult: boolean;
|
|
43
|
+
isProcessing: boolean;
|
|
44
|
+
simulatePayment(type: 'success' | 'failure'): void;
|
|
45
|
+
getButtonId(index: number): string;
|
|
46
|
+
getButtonStyle(index: number): import("simpo-component-library").ButtonStyleModel | undefined;
|
|
47
|
+
getButtonContent(index: number): import("simpo-component-library").Button | undefined;
|
|
48
|
+
debounceTimer: any;
|
|
49
|
+
validateForm(fieldType: string): void;
|
|
50
|
+
validObject: any;
|
|
51
|
+
validater(fieldType: string): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnrollmentFormComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EnrollmentFormComponent, "simpo-enrollment-form", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { InputTextModel, PositionLayoutModal, StylesModel, Image } from "../../../styles/style.model";
|
|
2
|
+
import { CONTENT_BACKGROUND } from "../../../styles/types";
|
|
3
|
+
import { ActionModel } from "../../../styles/style.model";
|
|
4
|
+
import { Corners } from "./../../../styles/index";
|
|
5
|
+
export interface EnrollmentFormModel {
|
|
6
|
+
id: string;
|
|
7
|
+
sectionType: string;
|
|
8
|
+
sectionName: string;
|
|
9
|
+
content: EnrollmentFormContentModel;
|
|
10
|
+
styles: EnrollmentFormStyleModel;
|
|
11
|
+
action: ActionModel;
|
|
12
|
+
}
|
|
13
|
+
export interface EnrollmentFormStyleModel extends StylesModel {
|
|
14
|
+
positionLayout: PositionLayoutModal;
|
|
15
|
+
inputOpacity: number;
|
|
16
|
+
corners: Corners;
|
|
17
|
+
contentBackground: {
|
|
18
|
+
display: boolean;
|
|
19
|
+
style: CONTENT_BACKGROUND;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface EnrollmentFormContentModel {
|
|
23
|
+
headingText: string;
|
|
24
|
+
inputText: InputTextModel[];
|
|
25
|
+
image: ImageModel;
|
|
26
|
+
}
|
|
27
|
+
export interface ImageModel extends Image {
|
|
28
|
+
showImage: boolean;
|
|
29
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InputTextModel, StylesModel } from "../../../styles/style.model";
|
|
2
|
+
import { Corners } from "../../.././styles/index";
|
|
2
3
|
import { Display } from "../featured-products/featured-products.modal";
|
|
3
4
|
export interface FeaturedCategoryModal {
|
|
4
5
|
id: string;
|
|
@@ -18,4 +19,5 @@ export interface FeaturedCategoryStylesModel extends StylesModel {
|
|
|
18
19
|
direction: "ROW" | "COLUMN";
|
|
19
20
|
containerHeight: number;
|
|
20
21
|
containerWidth: number;
|
|
22
|
+
corners: Corners;
|
|
21
23
|
}
|
|
@@ -3,7 +3,7 @@ import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStyle
|
|
|
3
3
|
import { Product, ItemVariant } from '../../styles/product.modal';
|
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
|
5
5
|
import BaseSection from '../../../sections/BaseSection';
|
|
6
|
-
import { BackgroundModel, ButtonModel, LayOutModel } from '../../../styles/style.model';
|
|
6
|
+
import { BackgroundModel, ButtonModel, LayOutModel, PositionLayoutModal } from '../../../styles/style.model';
|
|
7
7
|
import { RestService } from '../../../services/rest.service';
|
|
8
8
|
import { Router } from '@angular/router';
|
|
9
9
|
import { CartService } from '../../../services/cart.service';
|
|
@@ -68,6 +68,11 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
|
68
68
|
get stylesLayout(): LayOutModel;
|
|
69
69
|
proceedToProductList(): void;
|
|
70
70
|
editSection(): void;
|
|
71
|
+
get getPositionLayout(): PositionLayoutModal;
|
|
72
|
+
getBtnId(index: number): string;
|
|
73
|
+
getBtnStyle(index: number): any;
|
|
74
|
+
getBtnData(index: number): any;
|
|
75
|
+
redirectTo(data: any): void;
|
|
71
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
|
72
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, { "changeDetailProduct": "changeDetailProduct"; }, never, never, true, never>;
|
|
73
78
|
}
|