simpo-component-library 3.6.931 → 3.6.934
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/README.md +24 -24
- package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
- package/esm2022/lib/components/deprecated-section/deprecated-section.component.mjs +32 -0
- package/esm2022/lib/components/document/document.component.mjs +3 -3
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
- package/esm2022/lib/components/payment-details/payment-details.component.mjs +3 -3
- package/esm2022/lib/constants/business.constant.mjs +1 -1
- package/esm2022/lib/directive/alignment.directive.mjs +1 -1
- package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
- package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
- package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/button-editor.directive.mjs +1 -1
- package/esm2022/lib/directive/color.directive.mjs +1 -1
- package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
- package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
- package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
- package/esm2022/lib/directive/contenteditable.directive.mjs +1 -1
- package/esm2022/lib/directive/corner-directive.mjs +1 -1
- package/esm2022/lib/directive/height.directive.mjs +1 -1
- package/esm2022/lib/directive/hover-animation.directive.mjs +1 -1
- package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
- package/esm2022/lib/directive/icon-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/image-container.directive.mjs +1 -1
- package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/image-editor.directive.mjs +1 -1
- package/esm2022/lib/directive/image-position.directive.mjs +1 -1
- package/esm2022/lib/directive/letters-only.directive.mjs +1 -1
- package/esm2022/lib/directive/merge-header.directive.mjs +1 -1
- package/esm2022/lib/directive/numbers-only.directive.mjs +1 -1
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/set-dynamic-background.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing-around.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing.directive.mjs +1 -1
- package/esm2022/lib/directive/sticky-directive.mjs +1 -1
- package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/text-size.directive.mjs +1 -1
- package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -1
- package/esm2022/lib/directive/video-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +15 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +54 -36
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +42 -36
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-list/store-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-page/store-page.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/elements/add-section/add-section.component.mjs +3 -3
- package/esm2022/lib/elements/address-list/address-list.component.mjs +3 -3
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.component.mjs +3 -3
- package/esm2022/lib/elements/button/button.model.mjs +1 -1
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/editor-service.service.mjs +1 -1
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
- package/esm2022/lib/elements/index.mjs +1 -1
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
- package/esm2022/lib/elements/list-home-appointment/list-home-appointment.component.mjs +3 -3
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/elements/portfolio/portfolio.component.mjs +3 -3
- package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +3 -3
- package/esm2022/lib/elements/property/property.component.mjs +3 -3
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +31 -22
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
- package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +3 -3
- package/esm2022/lib/elements/text/text.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +9 -9
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
- package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
- package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
- package/esm2022/lib/sections/BaseSection.mjs +1 -1
- package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +320 -268
- package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
- package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
- package/esm2022/lib/sections/brand-story-section/brand-story-section.component.mjs +3 -3
- package/esm2022/lib/sections/brand-story-section/brand-story-section.modal.mjs +1 -1
- package/esm2022/lib/sections/button-grid-section/button-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
- package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
- package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +3 -3
- package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +3 -3
- package/esm2022/lib/sections/countdown-banner/countdown-banner.component.model.mjs +1 -1
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +1 -1
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
- package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +3 -3
- package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +1 -1
- package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
- package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
- package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
- package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.component.mjs +3 -3
- package/esm2022/lib/sections/four-features-centered-image/four-features-centered-image.modal.mjs +1 -1
- package/esm2022/lib/sections/header-section/header-section.component.mjs +17 -3
- package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
- package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
- package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
- package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +3 -3
- package/esm2022/lib/sections/image-background/image-background/image-background.component.model.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-hotspot/image-grid-hotspot.model.mjs +1 -1
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
- package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
- package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +3 -3
- package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
- package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
- package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
- package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
- package/esm2022/lib/sections/news-letter-component/news-letter.modal.mjs +1 -1
- package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +3 -3
- package/esm2022/lib/sections/overlapping-image/overlapping-image.component.modal.mjs +1 -1
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
- package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
- package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
- package/esm2022/lib/sections/product-info-section/product-info-section.component.mjs +3 -3
- package/esm2022/lib/sections/product-info-section/product-info-section.component.modal.mjs +1 -1
- package/esm2022/lib/sections/property-component/property-component.component.mjs +3 -3
- package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
- package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
- package/esm2022/lib/sections/property-list/property-list.modal.mjs +1 -1
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +3 -3
- package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +3 -3
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +1 -1
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-masonry/testimonial-masonry.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-slider/testimonial-slider.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-slider/testimonial-slider.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
- package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
- package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +3 -3
- package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/video-grid-section/video-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-showcase/video-showcase.component.mjs +3 -3
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
- package/esm2022/lib/services/analytics.service.mjs +6 -4
- package/esm2022/lib/services/booking-product-cart.service.mjs +60 -0
- package/esm2022/lib/services/cart.service.mjs +1 -1
- package/esm2022/lib/services/endUser.service.mjs +1 -1
- package/esm2022/lib/services/image-upload-service.service.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +15 -6
- package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
- package/esm2022/lib/services/storage.service.mjs +48 -3
- package/esm2022/lib/styles/gradient-extension.mjs +1 -1
- package/esm2022/lib/styles/index.mjs +1 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/text-size.extension.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/lib/tokens/api-token.mjs +1 -1
- package/esm2022/public-api.mjs +2 -3
- package/fesm2022/simpo-component-library.mjs +6710 -7444
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/deprecated-section/deprecated-section.component.d.ts +19 -0
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +10 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +6 -2
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +3 -3
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +55 -23
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/faq-columns-cards/faq-columns-cards.component.d.ts +1 -1
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +5 -0
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
- package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
- package/lib/services/booking-product-cart.service.d.ts +26 -0
- package/lib/services/rest.service.d.ts +5 -2
- package/lib/services/storage.service.d.ts +13 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -2
- package/simpo-component-library-3.6.934.tgz +0 -0
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +0 -199
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +0 -2
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +0 -866
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +0 -70
- package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +0 -14
- package/lib/sections/appointment-form/appointment-form.component.d.ts +0 -117
- package/simpo-component-library-3.6.931.tgz +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Stands in for a section type that's been retired (currently: the old 'appointment' and
|
|
4
|
+
* 'appointmentBooking' sectionTypes, superseded by AppointmentBookingComponent's
|
|
5
|
+
* 'bookAppointment' sectionType). A business's already-published site JSON may still reference a
|
|
6
|
+
* retired sectionType with no migration path from this codebase - repointing the registry to
|
|
7
|
+
* this stub instead of removing the entry avoids silently dropping or breaking that section on a
|
|
8
|
+
* live site.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DeprecatedSectionComponent {
|
|
11
|
+
data?: any;
|
|
12
|
+
index?: number;
|
|
13
|
+
edit?: boolean;
|
|
14
|
+
delete?: boolean;
|
|
15
|
+
customClass?: string;
|
|
16
|
+
nextComponentColor?: any;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeprecatedSectionComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeprecatedSectionComponent, "simpo-deprecated-section", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
|
13
13
|
constructor(elementRef: ElementRef);
|
|
14
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
15
|
handleMoneyInput(event: any): void;
|
|
16
|
-
get getTextColor(): "#
|
|
16
|
+
get getTextColor(): "#FFF" | "#000";
|
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
|
18
18
|
padZero(str: string, length: number): string;
|
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
96
96
|
validateNumber(event: KeyboardEvent): void;
|
|
97
97
|
validateOTP(event: KeyboardEvent): void;
|
|
98
98
|
checkStrength(): void;
|
|
99
|
-
getStrengthColor(index: number): "
|
|
99
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
|
100
100
|
emailDebounceTimer: any;
|
|
101
101
|
onEmailChange(): void;
|
|
102
102
|
emailCheck: boolean;
|
|
@@ -15,6 +15,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
15
15
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
16
16
|
import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
|
|
17
17
|
import { AnalyticsService } from '../../../services/analytics.service';
|
|
18
|
+
import { BookingProductCartService } from '../../../services/booking-product-cart.service';
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
export declare class ProductDescComponent extends BaseSection {
|
|
20
21
|
private platformId;
|
|
@@ -31,6 +32,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
31
32
|
private renderer;
|
|
32
33
|
private matDialog;
|
|
33
34
|
private analyticsService;
|
|
35
|
+
private readonly bookingProductCartService;
|
|
34
36
|
reviewComponent: CustomerReviewComponent;
|
|
35
37
|
aboveHeight: ElementRef<HTMLDivElement>;
|
|
36
38
|
container: ElementRef<HTMLDivElement>;
|
|
@@ -54,7 +56,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
54
56
|
showReview: boolean;
|
|
55
57
|
selectedReview: any;
|
|
56
58
|
currentImageIndex: number;
|
|
57
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog, analyticsService: AnalyticsService);
|
|
59
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog, analyticsService: AnalyticsService, bookingProductCartService: BookingProductCartService);
|
|
58
60
|
buttonId?: string;
|
|
59
61
|
button?: ButtonModel;
|
|
60
62
|
styles?: ProductDescStylesModal;
|
|
@@ -127,7 +129,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
127
129
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
128
130
|
languages: string[];
|
|
129
131
|
selectedLang: string;
|
|
130
|
-
getClass(map: any): "col-
|
|
132
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
|
131
133
|
onFindInStore(id: string): void;
|
|
132
134
|
onBookAppointment(): void;
|
|
133
135
|
isDetails: boolean;
|
|
@@ -154,6 +156,12 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
154
156
|
matCloseDialog(): void;
|
|
155
157
|
closeDialog(): void;
|
|
156
158
|
getRatings(noofratings: any): any;
|
|
159
|
+
/**
|
|
160
|
+
* "Try at Home" now feeds the new Home Visit booking flow (BookingGroup.productLines,
|
|
161
|
+
* submitted directly at hold time) rather than the old ecommerce TRIAL_CART/HomeAppointments
|
|
162
|
+
* flow being retired — see appointment_service's design doc. Opens the real booking wizard
|
|
163
|
+
* pre-seeded with this product instead of navigating to the old trial-cart checkout page.
|
|
164
|
+
*/
|
|
157
165
|
addToTrialCart(): void;
|
|
158
166
|
reviewsData: any[];
|
|
159
167
|
ratingCounts: any;
|
|
@@ -10,6 +10,7 @@ import { StorageServiceService } from '../../../services/storage.service';
|
|
|
10
10
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
11
11
|
import { MatDialog } from '@angular/material/dialog';
|
|
12
12
|
import { CartService } from '../../../services/cart.service';
|
|
13
|
+
import { BookingProductCartService } from '../../../services/booking-product-cart.service';
|
|
13
14
|
import { MenuItem, MessageService } from 'primeng/api';
|
|
14
15
|
import { ProductCardTheme } from '../../../styles/index';
|
|
15
16
|
import { AnalyticsService } from '../../../services/analytics.service';
|
|
@@ -39,6 +40,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
39
40
|
private readonly messageService;
|
|
40
41
|
private renderer;
|
|
41
42
|
private readonly analyticsService;
|
|
43
|
+
private readonly bookingProductCartService;
|
|
42
44
|
responseData?: Product[];
|
|
43
45
|
data?: ProductListModal;
|
|
44
46
|
index?: number;
|
|
@@ -92,7 +94,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
92
94
|
listScrollContainer: ElementRef<HTMLDivElement>;
|
|
93
95
|
getScreenSize(): void;
|
|
94
96
|
onWindowScroll(event: Event): void;
|
|
95
|
-
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2, analyticsService: AnalyticsService);
|
|
97
|
+
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2, analyticsService: AnalyticsService, bookingProductCartService: BookingProductCartService);
|
|
96
98
|
get stylesLayout(): LayOutModel;
|
|
97
99
|
isOpen: boolean;
|
|
98
100
|
toggleDropdown(): void;
|
|
@@ -220,9 +222,11 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
220
222
|
materialCollapsed: boolean;
|
|
221
223
|
metalCollapsed: boolean;
|
|
222
224
|
ringStyleCollapsed: boolean;
|
|
225
|
+
/** Feeds the new Home Visit booking flow directly (BookingGroup.productLines) rather than the retiring TRIAL_CART. */
|
|
223
226
|
addToTrialCart(product: Product): Promise<void>;
|
|
224
227
|
productName: string;
|
|
225
|
-
|
|
228
|
+
videoCallProduct: Product | null;
|
|
229
|
+
openDialogBox(template: TemplateRef<HTMLDivElement>, productName: any, product?: Product): void;
|
|
226
230
|
matCloseDialog(): void;
|
|
227
231
|
otherLanguage: string;
|
|
228
232
|
videoCallPayload: any;
|
|
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
|
|
|
21
21
|
get stylesLayout(): LayOutModel;
|
|
22
22
|
get spacingLayout(): SpacingModel;
|
|
23
23
|
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
|
24
|
-
getClass(index: number): "col-
|
|
24
|
+
getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
|
|
25
25
|
showSchemeDetails(scheme: any): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { MessageService } from 'primeng/api';
|
|
4
|
-
import {
|
|
4
|
+
import { BookingProductCartService } from '../../services/booking-product-cart.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ScheduleVideoCallComponent implements OnInit {
|
|
7
7
|
private readonly dialogRef;
|
|
8
8
|
private matDialog;
|
|
9
9
|
private readonly messageService;
|
|
10
|
-
private readonly
|
|
10
|
+
private readonly bookingProductCartService;
|
|
11
11
|
responseData: any;
|
|
12
|
-
constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService,
|
|
12
|
+
constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService, bookingProductCartService: BookingProductCartService, responseData: any);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
selectedProducts: any[];
|
|
15
15
|
languages: string[];
|
|
@@ -1,16 +1,42 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
1
3
|
import { RestService } from '../../../../services/rest.service';
|
|
2
4
|
import { EventsService } from '../../../../services/events.service';
|
|
3
5
|
import { Router } from '@angular/router';
|
|
4
6
|
import { BannerContentModel, BannerSectionModel } from '../../appointment-form.model';
|
|
5
7
|
import { BackgroundModel, BannerStylesModel } from '../../../../styles/style.model';
|
|
6
8
|
import { MessageService } from 'primeng/api';
|
|
9
|
+
import { BookingProductCartService } from '../../../../services/booking-product-cart.service';
|
|
10
|
+
import { StorageServiceService } from '../../../../services/storage.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
12
|
+
type BookingMode = 'STORE_VISIT' | 'HOME_VISIT' | 'VIDEO_CALL';
|
|
13
|
+
interface ResolvedLine {
|
|
14
|
+
services: {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}[];
|
|
18
|
+
totalDurationMinutes: number;
|
|
19
|
+
staffId?: string;
|
|
20
|
+
staffName?: string;
|
|
21
|
+
candidateStaffPool?: {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}[];
|
|
25
|
+
selectedStaffId?: string;
|
|
26
|
+
selectedStaffName?: string;
|
|
27
|
+
slots: any[];
|
|
28
|
+
selectedSlot?: any;
|
|
29
|
+
slotsLoading?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare class AppointmentBookingComponent implements OnInit {
|
|
9
32
|
private restService;
|
|
10
33
|
private _eventService;
|
|
11
34
|
private readonly router;
|
|
12
35
|
private readonly messageService;
|
|
13
|
-
|
|
36
|
+
private readonly bookingProductCartService;
|
|
37
|
+
private readonly storageService;
|
|
38
|
+
private readonly dialogRef;
|
|
39
|
+
constructor(restService: RestService, _eventService: EventsService, router: Router, messageService: MessageService, bookingProductCartService: BookingProductCartService, storageService: StorageServiceService, dialogRef: MatDialogRef<AppointmentBookingComponent>);
|
|
14
40
|
data?: BannerSectionModel;
|
|
15
41
|
index?: number;
|
|
16
42
|
content?: BannerContentModel;
|
|
@@ -18,6 +44,11 @@ export declare class AppointmentBookingComponent {
|
|
|
18
44
|
delete?: boolean;
|
|
19
45
|
customClass?: string;
|
|
20
46
|
nextComponentColor?: BackgroundModel;
|
|
47
|
+
/** Lets a launching dialog (e.g. the video-call product picker) carry over name/phone already collected, so the customer isn't asked twice. */
|
|
48
|
+
prefillContact?: {
|
|
49
|
+
name?: string;
|
|
50
|
+
phoneNumber?: string;
|
|
51
|
+
};
|
|
21
52
|
styles?: BannerStylesModel;
|
|
22
53
|
ngOnInit(): void;
|
|
23
54
|
screenWidth: number;
|
|
@@ -36,54 +67,55 @@ export declare class AppointmentBookingComponent {
|
|
|
36
67
|
barWidth: string;
|
|
37
68
|
showCancellationPolicy: boolean;
|
|
38
69
|
showReducingPolicy: boolean;
|
|
39
|
-
|
|
70
|
+
selectedMode: BookingMode;
|
|
71
|
+
modePinned: boolean;
|
|
72
|
+
cartServices: any[];
|
|
73
|
+
resolvedLines: ResolvedLine[];
|
|
74
|
+
resolvingCart: boolean;
|
|
75
|
+
productCartItems: any[];
|
|
40
76
|
selectedLocation: any;
|
|
41
|
-
|
|
77
|
+
homeVisitAddress: any;
|
|
42
78
|
instructions: string;
|
|
43
79
|
Object: ObjectConstructor;
|
|
44
80
|
showCalendar: boolean;
|
|
45
81
|
selectedDate: Date | null;
|
|
46
82
|
selectedDateStr: string;
|
|
47
|
-
|
|
48
|
-
name: string;
|
|
49
|
-
email: string;
|
|
50
|
-
mobileNumber: string;
|
|
51
|
-
};
|
|
83
|
+
bookingGroup: any;
|
|
52
84
|
dateFilter: (d: Date | null) => boolean;
|
|
53
85
|
toggleCalendar(event?: Event): void;
|
|
54
86
|
onDateSelected(date: any): void;
|
|
55
87
|
private formatDate;
|
|
88
|
+
private toIsoDate;
|
|
89
|
+
selectMode(mode: BookingMode): void;
|
|
90
|
+
loadProductCartForMode(): Promise<void>;
|
|
56
91
|
selectService(service: any): void;
|
|
57
92
|
selectLocation(location: any): void;
|
|
58
|
-
selectedStaff: any;
|
|
59
|
-
selectStaff(staff: any): void;
|
|
60
93
|
nextStep(): void;
|
|
61
94
|
previousStep(): void;
|
|
62
95
|
serviceData: any[];
|
|
63
96
|
getAllServices(): void;
|
|
64
97
|
locationData: any[];
|
|
65
98
|
getAllLocations(): void;
|
|
66
|
-
|
|
99
|
+
goToDateSelection(): void;
|
|
67
100
|
staffSearchQuery: string;
|
|
68
101
|
get filteredStaff(): any[];
|
|
69
102
|
staffData: any[];
|
|
70
|
-
|
|
103
|
+
resolveCart(): void;
|
|
104
|
+
getAllStaffForProductOnlyLine(): void;
|
|
105
|
+
selectStaffForProductOnlyLine(staff: any): void;
|
|
106
|
+
selectStaffForLine(line: ResolvedLine, staff: any): void;
|
|
107
|
+
fetchAllLineSlots(): void;
|
|
108
|
+
selectSlotForLine(line: ResolvedLine, slot: any): void;
|
|
71
109
|
convertTo24Hour(time: string): string;
|
|
72
|
-
slotsPayload: any;
|
|
73
|
-
locationTiming: any[];
|
|
74
110
|
loader: boolean;
|
|
75
|
-
getAvailableSlots(): void;
|
|
76
111
|
isProcessing: boolean;
|
|
77
|
-
selectedTime: any;
|
|
78
|
-
selectTimeSlot(time: any): void;
|
|
79
112
|
termsAndConditions: boolean;
|
|
80
113
|
checkRequiredValues(): void;
|
|
81
114
|
appointmentPayload: any;
|
|
82
|
-
checkPayment(): void;
|
|
83
115
|
apiStatus: boolean;
|
|
84
|
-
|
|
85
|
-
paymentBookingAppointment(): void;
|
|
116
|
+
confirmBooking(): void;
|
|
86
117
|
goBack(): void;
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent,
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "prefillContact": { "alias": "prefillContact"; "required": false; }; }, {}, never, never, true, never>;
|
|
89
120
|
}
|
|
121
|
+
export {};
|
|
@@ -32,8 +32,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
32
32
|
get stylesLayout(): LayOutModel;
|
|
33
33
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
34
34
|
get getBackgroundColor(): BackgroundModel;
|
|
35
|
-
get getBackgroundOpacity(): "
|
|
36
|
-
opacityValue(value: OverlayValue): "1" | "0.
|
|
35
|
+
get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
36
|
+
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
37
37
|
editSection(): void;
|
|
38
38
|
getScreenSize(): number;
|
|
39
39
|
getSectionMinHeight(): string;
|
|
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
|
25
25
|
get canMergeNavbar(): boolean | undefined;
|
|
26
26
|
get isBorderlessImage(): boolean | undefined;
|
|
27
27
|
get getPositionLayout(): PositionLayoutModal;
|
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
|
29
29
|
editSection(): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -31,7 +31,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit, O
|
|
|
31
31
|
shouldShowDropdown(field: any): boolean;
|
|
32
32
|
getCardStyle(): {};
|
|
33
33
|
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
34
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
|
34
|
+
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
36
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
37
|
}
|
|
@@ -17,7 +17,7 @@ export declare class FaqColumnsCardsComponent extends BaseSection {
|
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
get headingSpace(): SPACING;
|
|
19
19
|
get stylesLayout(): LayOutModel;
|
|
20
|
-
getLayout(): "justify-content-start" | "justify-content-
|
|
20
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqColumnsCardsComponent, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqColumnsCardsComponent, "simpo-faq-columns-cards", never, { "data": { "alias": "data"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
|
|
|
23
23
|
toggleContent(idx: number): void;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getScreenSize(): void;
|
|
26
|
-
getLayout(): "justify-content-start" | "justify-content-
|
|
26
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
|
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -70,6 +70,11 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
|
|
|
70
70
|
ngOnDestroy(): void;
|
|
71
71
|
passbookAppStatus: boolean;
|
|
72
72
|
checkPassbookApp(): void;
|
|
73
|
+
/** Login/signup for a non-ecommerce header also needs to show for a business with only the
|
|
74
|
+
* Appointment app installed (booking now requires login) - mirrors checkPassbookApp() exactly,
|
|
75
|
+
* reusing the same generic "is app installed" check already used for Passbook. */
|
|
76
|
+
appointmentAppStatus: boolean;
|
|
77
|
+
checkAppointmentApp(): void;
|
|
73
78
|
showSearchBarMobile: boolean;
|
|
74
79
|
showDropdownDesktopSearch: boolean;
|
|
75
80
|
isNavbarOpen: boolean;
|
|
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
|
20
20
|
constructor(_eventService: EventsService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
|
23
|
-
get getBackgroundOpacity(): "1" | "0.
|
|
23
|
+
get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
|
24
24
|
get stylesLayout(): LayOutModel;
|
|
25
|
-
opacityValue(value: OverlayValue): "1" | "0.
|
|
25
|
+
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
|
26
26
|
editSection(): void;
|
|
27
27
|
redirectTo(): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
|
@@ -26,8 +26,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
|
26
26
|
get originalItemsLength(): number;
|
|
27
27
|
trackByIndex(index: number): number;
|
|
28
28
|
get stylesLayout(): LayOutModel;
|
|
29
|
-
get animationDuration(): "
|
|
30
|
-
get animationDirection(): "reverse" | "normal"
|
|
29
|
+
get animationDuration(): "8s" | logoSpeed.Normal | "25s" | "20s" | "15s" | "10s";
|
|
30
|
+
get animationDirection(): logoDirection.Left | "reverse" | "normal";
|
|
31
31
|
get isMobile(): boolean;
|
|
32
32
|
get getPositionLayout(): PositionLayoutModal;
|
|
33
33
|
screenWidth: number;
|
|
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
|
|
|
24
24
|
idx: number;
|
|
25
25
|
getImageData(): import("../../styles/style.model").Image | undefined;
|
|
26
26
|
getImageUrl(): string | undefined;
|
|
27
|
-
getImageType(): "
|
|
27
|
+
getImageType(): "Image" | "Video";
|
|
28
28
|
getLength(): number;
|
|
29
29
|
editSection(): void;
|
|
30
30
|
stopPropagation(event: any): void;
|
|
@@ -23,8 +23,8 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
redirectTo(data: any): void;
|
|
26
|
-
getClass(): "col-
|
|
27
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
|
26
|
+
getClass(): "col-4" | "col-12" | "col-6" | "col-3";
|
|
27
|
+
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OrderedItems } from '../ecommerce/styles/OrderedItems.modal';
|
|
2
|
+
import { Product } from '../ecommerce/styles/product.modal';
|
|
3
|
+
import { StorageServiceService } from './storage.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type BookingCartMode = 'HOME_VISIT' | 'VIDEO_CALL';
|
|
6
|
+
/**
|
|
7
|
+
* The product-side cart for Home Visit / Video Call bookings. Deliberately simpler than
|
|
8
|
+
* CartService's TRIAL_CART handling — the new group/cart booking API takes product lines
|
|
9
|
+
* directly in the `hold` request body, so there's no server-side cart to keep in sync with for
|
|
10
|
+
* either logged-in or anonymous users. Everything here is local-only (IndexedDB via
|
|
11
|
+
* StorageServiceService), for both user types alike.
|
|
12
|
+
*/
|
|
13
|
+
export declare class BookingProductCartService {
|
|
14
|
+
private readonly storageService;
|
|
15
|
+
constructor(storageService: StorageServiceService);
|
|
16
|
+
addItem(mode: BookingCartMode, product: Product, variantId?: string): Promise<void>;
|
|
17
|
+
/** For callers that already have an OrderedItems-shaped record (e.g. from an existing cart) rather than a raw Product. */
|
|
18
|
+
addOrderedItem(mode: BookingCartMode, item: OrderedItems): Promise<void>;
|
|
19
|
+
removeItem(mode: BookingCartMode, variantId: string): Promise<void>;
|
|
20
|
+
getItems(mode: BookingCartMode): Promise<OrderedItems[]>;
|
|
21
|
+
clear(mode: BookingCartMode): Promise<void>;
|
|
22
|
+
/** Renames varientId -> variantId and computes totalPrice, matching BookingGroupRequest.productLines' shape. */
|
|
23
|
+
toProductLine(item: OrderedItems): any;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BookingProductCartService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BookingProductCartService>;
|
|
26
|
+
}
|
|
@@ -121,8 +121,11 @@ export declare class RestService implements OnDestroy {
|
|
|
121
121
|
getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
|
|
122
122
|
getFieldsToDisplay(fieldsList: any[]): any;
|
|
123
123
|
getBookingSlots(payload: any): Observable<Object>;
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
resolveCart(payload: any): Observable<Object>;
|
|
125
|
+
holdBooking(payload: any): Observable<Object>;
|
|
126
|
+
getBookingGroup(groupId: string): Observable<Object>;
|
|
127
|
+
generatePaymentToken(groupId: string): Observable<Object>;
|
|
128
|
+
completeBookingGroup(groupId: string): Observable<Object>;
|
|
126
129
|
generateToken(bId: any, userId: any): Observable<Object>;
|
|
127
130
|
getAllEnrolledSchemes(payload: any): Observable<Object>;
|
|
128
131
|
enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
|
|
@@ -28,6 +28,14 @@ export declare class StorageServiceService {
|
|
|
28
28
|
favouriteCollectionName: string;
|
|
29
29
|
trialCartCollectionName: string;
|
|
30
30
|
userCollectionName: string;
|
|
31
|
+
/**
|
|
32
|
+
* One bucket per booking mode (Home Visit / Video Call), local-only, no server sync - unlike
|
|
33
|
+
* TRIAL_CART, the new group/cart booking API takes product lines directly in the hold request,
|
|
34
|
+
* so there's no server-side cart to keep these in sync with. Kept separate from each other so
|
|
35
|
+
* a customer can hold a pending cart for each mode at once.
|
|
36
|
+
*/
|
|
37
|
+
homeVisitCartCollectionName: string;
|
|
38
|
+
videoCallCartCollectionName: string;
|
|
31
39
|
database: IDBDatabase;
|
|
32
40
|
cartCollectionRef: IDBObjectStore | null;
|
|
33
41
|
favouriteCollectionRef: IDBObjectStore | null;
|
|
@@ -54,6 +62,11 @@ export declare class StorageServiceService {
|
|
|
54
62
|
clearUserCart(): IDBRequest<undefined>;
|
|
55
63
|
clearTrialCart(): IDBRequest<undefined>;
|
|
56
64
|
removeProductFromTrialCart(productId: string): IDBRequest<undefined>;
|
|
65
|
+
private bookingCartStoreName;
|
|
66
|
+
getBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL'): Promise<IDBRequest<OrderedItems[]>>;
|
|
67
|
+
addProductToBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL', product: OrderedItems): Promise<IDBRequest<IDBValidKey>>;
|
|
68
|
+
removeProductFromBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL', productId: string): Promise<IDBRequest<undefined>>;
|
|
69
|
+
clearBookingCart(mode: 'HOME_VISIT' | 'VIDEO_CALL'): Promise<IDBRequest<undefined>>;
|
|
57
70
|
setUser(user: User): User;
|
|
58
71
|
getUser(): User | null;
|
|
59
72
|
/**
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.compon
|
|
|
32
32
|
export * from './lib/sections/logo-showcase/logo-showcase.component';
|
|
33
33
|
export * from './lib/sections/banner-carousel/banner-carousel.component';
|
|
34
34
|
export * from './lib/sections/carousel-banner/carousel-banner.component';
|
|
35
|
-
export * from './lib/
|
|
35
|
+
export * from './lib/components/deprecated-section/deprecated-section.component';
|
|
36
36
|
export * from './lib/sections/testimonial-video/testimonial-video.component';
|
|
37
37
|
export * from './lib/sections/logo-gallery/logo-gallery.component';
|
|
38
38
|
export * from './lib/sections/registration-form/registration-form.component';
|
|
@@ -72,7 +72,6 @@ export * from './lib/ecommerce/sections/store-list/store-list.component';
|
|
|
72
72
|
export * from './lib/ecommerce/sections/store-page/store-page.component';
|
|
73
73
|
export * from './lib/ecommerce/sections/enrollment-form/enrollment-form.component';
|
|
74
74
|
export * from './lib/ecommerce/sections/returns-calculator/returns-calculator.component';
|
|
75
|
-
export * from './lib/ecommerce/sections/book-appointment/book-appointment.component';
|
|
76
75
|
export * from './lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component';
|
|
77
76
|
export * from './lib/sections/video-grid-section/video-grid-section.component';
|
|
78
77
|
export * from './lib/ecommerce/sections/refer-earn/refer-earn.component';
|
|
Binary file
|