simpo-component-library 3.6.932 → 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 +1 -1
- 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 +6579 -7315
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/deprecated-section/deprecated-section.component.d.ts +19 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +9 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +6 -2
- 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/header-section/header-section.component.d.ts +5 -0
- 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.932.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
|
+
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 {};
|
|
@@ -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;
|
|
@@ -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
|