simpo-component-library 3.6.643 → 3.6.645
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/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/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 +170 -89
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +171 -63
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +1 -1
- 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.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/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 +494 -157
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +108 -17
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +76 -0
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.modal.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +3 -3
- 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.component.mjs +1 -1
- 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/image-editor/image-editor.component.mjs +1 -1
- package/esm2022/lib/elements/index.mjs +1 -1
- 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/property/property.component.mjs +3 -3
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +12 -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/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/add-new-section/add-new-section.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
- 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/banner-section/banner-section.component.mjs +2 -2
- package/esm2022/lib/sections/blog-list/blog-list.component.mjs +1 -1
- package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
- 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 +2 -2
- package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
- 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/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 +1 -1
- package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
- package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
- package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
- package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +2 -2
- 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-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 +2 -2
- 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/navbar-section/navbar-section.component.mjs +2 -2
- package/esm2022/lib/sections/new-services/new-services.component.mjs +4 -4
- package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +4 -4
- 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 +2 -2
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
- 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/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 +2 -2
- 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-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-section/testimonial-section.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-image-section/text-image-section.component.mjs +2 -2
- package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
- 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-section/video-section.component.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +1 -1
- package/esm2022/lib/services/analytics.service.mjs +160 -0
- package/esm2022/lib/services/cart.service.mjs +44 -5
- 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 +5 -1
- package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
- package/esm2022/lib/styles/index.mjs +2 -2
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/lib/tokens/api-token.mjs +1 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +1321 -462
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +12 -3
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +29 -21
- package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +38 -3
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +108 -27
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +27 -18
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +10 -2
- package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +25 -0
- package/lib/ecommerce/sections/refer-earn/refer-earn.modal.d.ts +29 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/elements/simpo-button/simpo-button.component.d.ts +4 -1
- 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/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- 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/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/analytics.service.d.ts +33 -0
- package/lib/services/cart.service.d.ts +7 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/lib/styles/index.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.6.645.tgz +0 -0
- package/simpo-component-library-3.6.643.tgz +0 -0
|
@@ -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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import { FormArray, FormControl } from '@angular/forms';
|
|
2
3
|
import { RestService } from '../../../services/rest.service';
|
|
3
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
5
|
import { MessageService } from 'primeng/api';
|
|
@@ -19,7 +20,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
19
20
|
private elementRef;
|
|
20
21
|
private readonly dialogRef;
|
|
21
22
|
private readonly bottomsheetRef;
|
|
22
|
-
data?: AuthenticationModel;
|
|
23
|
+
data?: AuthenticationModel | any;
|
|
23
24
|
index?: number;
|
|
24
25
|
edit?: boolean;
|
|
25
26
|
delete?: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
31
32
|
email: string;
|
|
32
33
|
mobile: string;
|
|
33
34
|
otp: string;
|
|
35
|
+
otpControls: FormArray<FormControl<string | null>>;
|
|
34
36
|
password: string;
|
|
35
37
|
confPassword: string;
|
|
36
38
|
userName: string;
|
|
@@ -49,8 +51,15 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
49
51
|
proceedToEnrollment: boolean;
|
|
50
52
|
tryAtHome: boolean;
|
|
51
53
|
navigateToSchemeDetails: boolean;
|
|
54
|
+
inputs: QueryList<ElementRef>;
|
|
52
55
|
ngOnInit(): void;
|
|
53
56
|
ngAfterViewInit(): void;
|
|
57
|
+
onInput(index: number): void;
|
|
58
|
+
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
59
|
+
getGradientDirection(direction: string | undefined): string;
|
|
60
|
+
get fontColor(): string;
|
|
61
|
+
get accentBackground(): string;
|
|
62
|
+
getFormOtp(): string;
|
|
54
63
|
loginType: "PASSWORD" | "OTP";
|
|
55
64
|
generateOtp: boolean;
|
|
56
65
|
loginAuthentication(loginType: "PASSWORD" | "OTP"): void;
|
|
@@ -72,7 +81,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
72
81
|
validateNumber(event: KeyboardEvent): void;
|
|
73
82
|
validateOTP(event: KeyboardEvent): void;
|
|
74
83
|
checkStrength(): void;
|
|
75
|
-
getStrengthColor(index: number): "
|
|
84
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
|
76
85
|
emailDebounceTimer: any;
|
|
77
86
|
onEmailChange(): void;
|
|
78
87
|
emailCheck: boolean;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { MessageService } from 'primeng/api';
|
|
2
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
3
5
|
import { RestService } from '../../../services/rest.service';
|
|
4
|
-
import {
|
|
5
|
-
import { BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
|
|
6
|
+
import { AppointmentFieldModel, BookAppointmentContentModel, BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
|
|
6
7
|
import BaseSection from '../../../sections/BaseSection';
|
|
7
|
-
import {
|
|
8
|
+
import { LayOutModel } from '../../../styles/style.model';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class BookAppointmentComponent extends BaseSection implements OnInit {
|
|
10
11
|
private readonly storageService;
|
|
11
12
|
private readonly restService;
|
|
12
|
-
private router;
|
|
13
|
+
private readonly router;
|
|
13
14
|
private readonly messageService;
|
|
14
15
|
data?: BookAppointmentSectionModal;
|
|
15
16
|
index?: number;
|
|
16
17
|
edit?: boolean;
|
|
17
18
|
delete?: boolean;
|
|
18
19
|
customClass?: string;
|
|
20
|
+
content?: BookAppointmentContentModel;
|
|
21
|
+
styles?: BookAppointmentStylesModel;
|
|
22
|
+
defaultTimeSlots: string[];
|
|
19
23
|
timeSlots: string[];
|
|
20
24
|
customerDetails: {
|
|
21
25
|
date: string;
|
|
@@ -30,39 +34,43 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
|
|
|
30
34
|
zipCode: string;
|
|
31
35
|
};
|
|
32
36
|
userId: string;
|
|
33
|
-
businessId: string
|
|
37
|
+
businessId: string;
|
|
34
38
|
};
|
|
35
|
-
designs: {
|
|
36
|
-
id: number;
|
|
37
|
-
name: string;
|
|
38
|
-
price: string;
|
|
39
|
-
selected: boolean;
|
|
40
|
-
}[];
|
|
41
39
|
weekDays: {
|
|
42
40
|
dateWithMonth: string;
|
|
43
41
|
day: string;
|
|
44
42
|
date: number;
|
|
45
43
|
}[];
|
|
46
44
|
trialCartItem: any[];
|
|
47
|
-
styles?: BookAppointmentStylesModel;
|
|
48
45
|
loader: boolean;
|
|
46
|
+
screenWidth: number;
|
|
49
47
|
constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
|
|
50
48
|
ngOnInit(): void;
|
|
49
|
+
ensureDefaultContent(): void;
|
|
50
|
+
syncFieldInputValuesFromCustomerDetails(): void;
|
|
51
|
+
get stylesLayout(): LayOutModel;
|
|
52
|
+
getScreenSize(): void;
|
|
53
|
+
get appointmentFields(): AppointmentFieldModel[];
|
|
54
|
+
getTextByLabel(label: string, fallback?: string): string;
|
|
55
|
+
setTextByLabel(label: string, value: string): void;
|
|
56
|
+
getFieldWidth(field: AppointmentFieldModel): string;
|
|
57
|
+
getFieldValue(key: string): string;
|
|
58
|
+
updateFieldValue(field: AppointmentFieldModel, value: string): void;
|
|
59
|
+
isTextarea(field: AppointmentFieldModel): boolean;
|
|
60
|
+
isDropdown(field: AppointmentFieldModel): boolean;
|
|
61
|
+
getVisibleOptions(field: AppointmentFieldModel): {
|
|
62
|
+
label: string;
|
|
63
|
+
value: string;
|
|
64
|
+
status?: boolean;
|
|
65
|
+
}[];
|
|
51
66
|
checkAvailability(day: any): void;
|
|
52
67
|
getTrialCart(): void;
|
|
53
68
|
getTrialCartIndexDBData(): void;
|
|
54
69
|
getNextSevenDays(): void;
|
|
55
|
-
toggleDesign(id: number): void;
|
|
56
|
-
getSelectedDesigns(): {
|
|
57
|
-
id: number;
|
|
58
|
-
name: string;
|
|
59
|
-
price: string;
|
|
60
|
-
selected: boolean;
|
|
61
|
-
}[];
|
|
62
70
|
get isValid(): boolean;
|
|
63
71
|
bookAppointment(): void;
|
|
64
|
-
selectTime(time:
|
|
65
|
-
getKeys(object:
|
|
72
|
+
selectTime(time: string): void;
|
|
73
|
+
getKeys(object: any): string[];
|
|
66
74
|
addMoreDesign(): void;
|
|
67
75
|
get isMobile(): boolean;
|
|
68
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<BookAppointmentComponent, never>;
|
|
@@ -1,14 +1,49 @@
|
|
|
1
|
-
import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
|
|
2
|
-
import {
|
|
1
|
+
import { ActionModel, AnimationModel, BackgroundModel, InputTextModel, LayOutModel, PositionLayoutModal, StylesModel } from "../../../styles/style.model";
|
|
2
|
+
import { Corners } from "../../../styles/index";
|
|
3
|
+
import { CONTENT_BACKGROUND } from "../../../styles/types";
|
|
3
4
|
export interface BookAppointmentSectionModal {
|
|
4
5
|
id: string;
|
|
5
6
|
sectionType: string;
|
|
6
7
|
sectionName: string;
|
|
8
|
+
content: BookAppointmentContentModel;
|
|
7
9
|
styles: BookAppointmentStylesModel;
|
|
8
10
|
action: ActionModel;
|
|
9
11
|
}
|
|
10
|
-
export interface BookAppointmentStylesModel {
|
|
12
|
+
export interface BookAppointmentStylesModel extends StylesModel {
|
|
11
13
|
layout: LayOutModel;
|
|
14
|
+
positionLayout?: PositionLayoutModal;
|
|
12
15
|
background: BackgroundModel;
|
|
13
16
|
animation: AnimationModel;
|
|
17
|
+
inputOpacity?: number;
|
|
18
|
+
corners?: Corners;
|
|
19
|
+
contentBackground?: {
|
|
20
|
+
display: boolean;
|
|
21
|
+
style: CONTENT_BACKGROUND;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface BookAppointmentContentModel {
|
|
25
|
+
inputText: InputTextModel[];
|
|
26
|
+
appointmentField: AppointmentFieldSectionModel;
|
|
27
|
+
}
|
|
28
|
+
export interface AppointmentFieldSectionModel {
|
|
29
|
+
customLabel?: boolean;
|
|
30
|
+
button?: string;
|
|
31
|
+
successMessage?: string;
|
|
32
|
+
fields: AppointmentFieldModel[];
|
|
33
|
+
}
|
|
34
|
+
export interface AppointmentFieldModel {
|
|
35
|
+
key: "receiverName" | "receiverPhone" | "receiverEmail" | "addressLine1" | "stateName" | "cityName" | "zipCode";
|
|
36
|
+
label: string;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
type: "text" | "email" | "tel" | "textarea" | "dropdown";
|
|
39
|
+
required: boolean;
|
|
40
|
+
status?: boolean;
|
|
41
|
+
inputValue?: string;
|
|
42
|
+
width?: "half" | "full";
|
|
43
|
+
value?: string;
|
|
44
|
+
options?: {
|
|
45
|
+
label: string;
|
|
46
|
+
value: string;
|
|
47
|
+
status?: boolean;
|
|
48
|
+
}[];
|
|
14
49
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get stylesLayout(): LayOutModel;
|
|
34
34
|
get isMobile(): boolean;
|
|
35
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
35
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
35
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
35
|
getColor(color: any): "#000000" | "#ffffff";
|
|
36
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
36
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
|
@@ -14,6 +14,7 @@ import { Meta, Title } from '@angular/platform-browser';
|
|
|
14
14
|
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
|
+
import { AnalyticsService } from '../../../services/analytics.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class ProductDescComponent extends BaseSection {
|
|
19
20
|
private platformId;
|
|
@@ -29,6 +30,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
29
30
|
private readonly bottomSheet;
|
|
30
31
|
private renderer;
|
|
31
32
|
private matDialog;
|
|
33
|
+
private analyticsService;
|
|
32
34
|
reviewComponent: CustomerReviewComponent;
|
|
33
35
|
aboveHeight: ElementRef<HTMLDivElement>;
|
|
34
36
|
container: ElementRef<HTMLDivElement>;
|
|
@@ -52,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
52
54
|
showReview: boolean;
|
|
53
55
|
selectedReview: any;
|
|
54
56
|
currentImageIndex: number;
|
|
55
|
-
|
|
57
|
+
content: any;
|
|
56
58
|
buttonId?: string;
|
|
57
59
|
button?: ButtonModel;
|
|
58
60
|
styles?: ProductDescStylesModal;
|
|
@@ -68,10 +70,39 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
68
70
|
isPinCode: boolean;
|
|
69
71
|
toShowInJewellery: boolean;
|
|
70
72
|
IsEcommerce: boolean;
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
ngAfterViewInit(): void;
|
|
73
73
|
varientLoading: boolean;
|
|
74
74
|
recentViewItemList: Product[];
|
|
75
|
+
reviewTitle: string;
|
|
76
|
+
reviewDescription: string;
|
|
77
|
+
isDescriptionCollapsed: boolean;
|
|
78
|
+
isPriceBreakup: boolean;
|
|
79
|
+
languages: string[];
|
|
80
|
+
selectedLang: string;
|
|
81
|
+
isDetails: boolean;
|
|
82
|
+
pincode: any;
|
|
83
|
+
storeDetails: any;
|
|
84
|
+
brandPromises: any[];
|
|
85
|
+
ecomConfigs: any;
|
|
86
|
+
locate: boolean;
|
|
87
|
+
otherLanguage: string;
|
|
88
|
+
reviewsData: any[];
|
|
89
|
+
ratingCounts: any;
|
|
90
|
+
pageNumber: number;
|
|
91
|
+
screenWidth: any;
|
|
92
|
+
currentImg: any;
|
|
93
|
+
videoCallPayload: any;
|
|
94
|
+
validationErrors: any;
|
|
95
|
+
isSubmitting: boolean;
|
|
96
|
+
scheduled: boolean;
|
|
97
|
+
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);
|
|
98
|
+
ngOnInit(): void;
|
|
99
|
+
ensureDefaultContent(): void;
|
|
100
|
+
getTextByLabel(label: string, fallback?: string): string;
|
|
101
|
+
setTextByLabel(label: string, value: string): void;
|
|
102
|
+
get showHeading(): boolean;
|
|
103
|
+
get showContent(): boolean;
|
|
104
|
+
get showButton(): boolean;
|
|
105
|
+
ngAfterViewInit(): void;
|
|
75
106
|
getRelatedProducts(): void;
|
|
76
107
|
selectVarient(key: string, value: string): void;
|
|
77
108
|
raiseLead(): void;
|
|
@@ -80,9 +111,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
80
111
|
getTrialCartIndexDBData(): void;
|
|
81
112
|
shareProduct(): void;
|
|
82
113
|
routeToHome(): void;
|
|
83
|
-
screenWidth: any;
|
|
84
114
|
getScreenSize(): void;
|
|
85
|
-
currentImg: any;
|
|
86
115
|
changeImg(url: any): void;
|
|
87
116
|
getKeys(varient: Object): string[];
|
|
88
117
|
goToCart(): void;
|
|
@@ -95,8 +124,6 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
95
124
|
changeProduct(product: Product): void;
|
|
96
125
|
getKeyByIdx(property: any, index: number): string;
|
|
97
126
|
isVarientAvailable(varient: any): boolean;
|
|
98
|
-
reviewTitle: string;
|
|
99
|
-
reviewDescription: string;
|
|
100
127
|
addProductReview(): void;
|
|
101
128
|
private getVarientQuantity;
|
|
102
129
|
private isVarientPresentInWishtlist;
|
|
@@ -107,32 +134,17 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
107
134
|
get isMobile(): boolean;
|
|
108
135
|
getCarat(carat: any): "24 Carats" | "22 Carats" | "18 Carats" | "14 Carats" | "10 Carats" | "99.9% Pure" | "92.5% Pure" | "90% Pure" | "Very Slightly Included" | "Slightly Included";
|
|
109
136
|
getPricePerGram(price: any, materialType: string): any;
|
|
110
|
-
isDescriptionCollapsed: boolean;
|
|
111
137
|
toggleDescription(): void;
|
|
112
|
-
isPriceBreakup: boolean;
|
|
113
138
|
togglePriceBreakDown(): void;
|
|
114
139
|
getDifference(sellingPrice: any, mrp: any): number;
|
|
115
|
-
getBackgroundColor(type: string):
|
|
140
|
+
getBackgroundColor(type: string): "rgba(255,255,255,0.08)" | "rgba(0,0,0,0.03)";
|
|
116
141
|
getHeaderColor(type: string): string;
|
|
117
142
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
118
|
-
|
|
119
|
-
selectedLang: string;
|
|
120
|
-
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
|
143
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
|
121
144
|
onFindInStore(id: string): void;
|
|
122
145
|
onBookAppointment(): void;
|
|
123
|
-
isDetails: boolean;
|
|
124
|
-
pincode: any;
|
|
125
|
-
storeDetails: any;
|
|
126
146
|
getStoreDetails(): void;
|
|
127
|
-
brandPromises: any[];
|
|
128
|
-
ecomConfigs: any;
|
|
129
147
|
getEcommerceConfigs(): void;
|
|
130
|
-
locate: boolean;
|
|
131
|
-
otherLanguage: string;
|
|
132
|
-
videoCallPayload: any;
|
|
133
|
-
validationErrors: any;
|
|
134
|
-
isSubmitting: boolean;
|
|
135
|
-
scheduled: boolean;
|
|
136
148
|
scheduleVideoCall(): void;
|
|
137
149
|
resetValidationErrors(): void;
|
|
138
150
|
resetForm(): void;
|
|
@@ -145,9 +157,6 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
145
157
|
closeDialog(): void;
|
|
146
158
|
getRatings(noofratings: any): any;
|
|
147
159
|
addToTrialCart(): void;
|
|
148
|
-
reviewsData: any[];
|
|
149
|
-
ratingCounts: any;
|
|
150
|
-
pageNumber: number;
|
|
151
160
|
loadMoreReviews(): void;
|
|
152
161
|
getReviews(productId: string): void;
|
|
153
162
|
getPercentage(rating: number): string;
|
|
@@ -155,6 +164,78 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
155
164
|
showDetailReview(review: any): void;
|
|
156
165
|
get stylesLayout(): LayOutModel;
|
|
157
166
|
getDateAfterxDays(): Date;
|
|
167
|
+
getEffectiveBackgroundColor(): string;
|
|
168
|
+
getAdaptiveTextColor(): string;
|
|
169
|
+
getAdaptiveMutedTextColor(): string;
|
|
170
|
+
getAdaptiveBorderColor(): string;
|
|
171
|
+
getReadableTextColor(color: string): string;
|
|
172
|
+
getAverageColor(color1: string, color2: string): string;
|
|
173
|
+
hexToRgb(hex: string): {
|
|
174
|
+
r: number;
|
|
175
|
+
g: number;
|
|
176
|
+
b: number;
|
|
177
|
+
} | null;
|
|
178
|
+
rgbToHex(r: number, g: number, b: number): string;
|
|
179
|
+
getTryAtHomeActionButton(): ButtonModel | {
|
|
180
|
+
content: {
|
|
181
|
+
linkType: "Page";
|
|
182
|
+
label: string;
|
|
183
|
+
redirectionUrl: string;
|
|
184
|
+
pageId: string;
|
|
185
|
+
newTab: false;
|
|
186
|
+
};
|
|
187
|
+
styles: {
|
|
188
|
+
type: "Solid";
|
|
189
|
+
shape: "Pill";
|
|
190
|
+
};
|
|
191
|
+
id: string;
|
|
192
|
+
};
|
|
193
|
+
getTryAtHomeButtonContent(): {
|
|
194
|
+
label: string;
|
|
195
|
+
linkType: import("../../../styles/index").RedirectionLinkType;
|
|
196
|
+
redirectionUrl: string;
|
|
197
|
+
pageId: string;
|
|
198
|
+
newTab: boolean;
|
|
199
|
+
showIcon?: boolean;
|
|
200
|
+
icon?: import("../../../styles/style.model").Icon | any;
|
|
201
|
+
} | {
|
|
202
|
+
label: string;
|
|
203
|
+
linkType: "Page";
|
|
204
|
+
redirectionUrl: string;
|
|
205
|
+
pageId: string;
|
|
206
|
+
newTab: false;
|
|
207
|
+
};
|
|
208
|
+
getTryAtHomeBookedButtonContent(): {
|
|
209
|
+
label: string;
|
|
210
|
+
linkType: import("../../../styles/index").RedirectionLinkType;
|
|
211
|
+
redirectionUrl: string;
|
|
212
|
+
pageId: string;
|
|
213
|
+
newTab: boolean;
|
|
214
|
+
showIcon?: boolean;
|
|
215
|
+
icon?: import("../../../styles/style.model").Icon | any;
|
|
216
|
+
} | {
|
|
217
|
+
label: string;
|
|
218
|
+
linkType: "Page";
|
|
219
|
+
redirectionUrl: string;
|
|
220
|
+
pageId: string;
|
|
221
|
+
newTab: false;
|
|
222
|
+
};
|
|
223
|
+
getTryAtHomeButtonStyle(): import("../../../styles/style.model").ButtonStyleModel | {
|
|
224
|
+
type: "Solid";
|
|
225
|
+
shape: "Pill";
|
|
226
|
+
};
|
|
227
|
+
getTryAtHomeButtonId(): string;
|
|
228
|
+
getCurrentFavouriteIcon(): any;
|
|
229
|
+
getShareIcon(): any;
|
|
230
|
+
getCartIcon(): any;
|
|
231
|
+
getProductDescIconBackground(icon: any): any;
|
|
232
|
+
getIconBackground(icon: any): any;
|
|
233
|
+
getScheduleVideoCallBtnStyle(): {
|
|
234
|
+
background: string;
|
|
235
|
+
color: string;
|
|
236
|
+
border: string;
|
|
237
|
+
};
|
|
238
|
+
getPrimaryButtonBackground(): string;
|
|
158
239
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
|
159
240
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
160
241
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ActionModel } from '../../../styles/style.model';
|
|
4
|
-
import { Corners } from "../../.././styles/index";
|
|
5
|
-
import { GRID_STYLE } from "../../../styles/types";
|
|
1
|
+
import { ActionModel, BackgroundModel, InputTextModel, LayOutModel, StylesModel, AnimationModel } from "../../../styles/style.model";
|
|
2
|
+
import { Corners } from "../../../styles/index";
|
|
6
3
|
export interface ProductDescModal {
|
|
7
4
|
id: string;
|
|
8
5
|
sectionType: string;
|
|
9
6
|
sectionName: string;
|
|
10
|
-
content:
|
|
7
|
+
content: ProductDescContentModel;
|
|
11
8
|
styles: ProductDescStylesModal;
|
|
12
9
|
action: ActionModel;
|
|
13
10
|
}
|
|
14
|
-
export interface
|
|
11
|
+
export interface ProductDescContentModel {
|
|
12
|
+
inputText: InputTextModel[];
|
|
13
|
+
socialLinks: {
|
|
14
|
+
display: boolean;
|
|
15
|
+
channels: {
|
|
16
|
+
type: string;
|
|
17
|
+
url: string;
|
|
18
|
+
link: string;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
display: {
|
|
22
|
+
showHeading: boolean;
|
|
23
|
+
showContent: boolean;
|
|
24
|
+
showButton: boolean;
|
|
25
|
+
};
|
|
26
|
+
priceWithTax: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface ProductDescStylesModal extends StylesModel {
|
|
15
29
|
layout: LayOutModel;
|
|
16
30
|
background: BackgroundModel;
|
|
17
31
|
animation: AnimationModel;
|
|
18
|
-
maximumProduct
|
|
19
|
-
direction
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export interface ProductDescContentModal {
|
|
26
|
-
button: string;
|
|
27
|
-
socialLinks: FooterSocialLinkModel;
|
|
28
|
-
inputText: InputTextModel[];
|
|
32
|
+
maximumProduct?: number;
|
|
33
|
+
direction?: string;
|
|
34
|
+
corners?: Corners;
|
|
35
|
+
gridStyle?: string;
|
|
36
|
+
customization?: string;
|
|
37
|
+
theme?: string;
|
|
29
38
|
}
|
|
@@ -12,6 +12,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
12
12
|
import { CartService } from '../../../services/cart.service';
|
|
13
13
|
import { MenuItem, MessageService } from 'primeng/api';
|
|
14
14
|
import { ProductCardTheme } from '../../../styles/index';
|
|
15
|
+
import { AnalyticsService } from '../../../services/analytics.service';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
interface BaseModel {
|
|
17
18
|
option: string;
|
|
@@ -31,6 +32,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
31
32
|
private readonly cartService;
|
|
32
33
|
private readonly messageService;
|
|
33
34
|
private renderer;
|
|
35
|
+
private readonly analyticsService;
|
|
34
36
|
responseData?: Product[];
|
|
35
37
|
data?: ProductListModal;
|
|
36
38
|
index?: number;
|
|
@@ -69,6 +71,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
69
71
|
searchTxt: string;
|
|
70
72
|
theme: typeof ProductCardTheme;
|
|
71
73
|
items: MenuItem[] | null;
|
|
74
|
+
latestAnalyicsEvent: string;
|
|
72
75
|
private filterBottomSheetRef;
|
|
73
76
|
private sortingDialogRef;
|
|
74
77
|
categories: BaseModel[];
|
|
@@ -77,7 +80,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
77
80
|
listScrollContainer: ElementRef<HTMLDivElement>;
|
|
78
81
|
getScreenSize(): void;
|
|
79
82
|
onWindowScroll(event: Event): void;
|
|
80
|
-
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2);
|
|
83
|
+
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);
|
|
81
84
|
get stylesLayout(): LayOutModel;
|
|
82
85
|
isOpen: boolean;
|
|
83
86
|
toggleDropdown(): void;
|
|
@@ -103,6 +106,8 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
103
106
|
toShowInJewellery: boolean;
|
|
104
107
|
IsEcommerce: boolean;
|
|
105
108
|
ngOnInit(): void;
|
|
109
|
+
fetchAnalytics(): void;
|
|
110
|
+
getCategoriesAndCollection(): void;
|
|
106
111
|
get selectedCategoryCollectionChips(): {
|
|
107
112
|
id: string;
|
|
108
113
|
name: string;
|
|
@@ -199,7 +204,10 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
199
204
|
closeModal(): void;
|
|
200
205
|
languages: string[];
|
|
201
206
|
selectedLang: string;
|
|
202
|
-
getTextColor(color:
|
|
207
|
+
getTextColor(color: string | undefined | null): "#000000" | "#ffffff";
|
|
208
|
+
getAverageColor(color1: string, color2: string): string;
|
|
209
|
+
getSectionBackgroundColor(): string;
|
|
210
|
+
get sectionTextColor(): string;
|
|
203
211
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
204
212
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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>;
|
|
205
213
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { LayOutModel } from '../../../styles/style.model';
|
|
3
|
+
import { ProductDescStylesModal } from './refer-earn.modal';
|
|
4
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ReferEarnComponent implements OnInit {
|
|
8
|
+
private readonly storageService;
|
|
9
|
+
private readonly router;
|
|
10
|
+
data?: any;
|
|
11
|
+
styles?: ProductDescStylesModal;
|
|
12
|
+
userDetail: any;
|
|
13
|
+
constructor(storageService: StorageServiceService, router: Router);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
get stylesLayout(): LayOutModel;
|
|
16
|
+
get isMobile(): boolean;
|
|
17
|
+
get getBusinessId(): string | null;
|
|
18
|
+
get getUserId(): any;
|
|
19
|
+
get getEmail(): any;
|
|
20
|
+
get getMobile(): any;
|
|
21
|
+
get getName(): any;
|
|
22
|
+
get getWebUrl(): string;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReferEarnComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FooterSocialLinkModel } from "../../../sections/footer-section/footer-section.modal";
|
|
2
|
+
import { AnimationModel, BackgroundModel, DeviderModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
|
|
3
|
+
import { ActionModel } from '../../../styles/style.model';
|
|
4
|
+
import { Corners } from "../../../styles/index";
|
|
5
|
+
import { GRID_STYLE } from "../../../styles/types";
|
|
6
|
+
export interface ProductDescModal {
|
|
7
|
+
id: string;
|
|
8
|
+
sectionType: string;
|
|
9
|
+
sectionName: string;
|
|
10
|
+
content: ProductDescContentModal;
|
|
11
|
+
styles: ProductDescStylesModal;
|
|
12
|
+
action: ActionModel;
|
|
13
|
+
}
|
|
14
|
+
export interface ProductDescStylesModal {
|
|
15
|
+
layout: LayOutModel;
|
|
16
|
+
background: BackgroundModel;
|
|
17
|
+
animation: AnimationModel;
|
|
18
|
+
maximumProduct: number;
|
|
19
|
+
direction: "ROW" | "COLUMN";
|
|
20
|
+
devider: DeviderModel;
|
|
21
|
+
corners: Corners;
|
|
22
|
+
gridStyle: GRID_STYLE;
|
|
23
|
+
customization: GRID_STYLE;
|
|
24
|
+
}
|
|
25
|
+
export interface ProductDescContentModal {
|
|
26
|
+
button: string;
|
|
27
|
+
socialLinks: FooterSocialLinkModel;
|
|
28
|
+
inputText: InputTextModel[];
|
|
29
|
+
}
|
|
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
|
|
|
31
31
|
changeButtonStyle(): void;
|
|
32
32
|
getContrastTextColor(backgroundHex: any): void;
|
|
33
33
|
backgroundType: string[];
|
|
34
|
-
setBorderRadius(): "0px" | "
|
|
34
|
+
setBorderRadius(): "0px" | "99px" | "7px";
|
|
35
35
|
setBorder(): string;
|
|
36
36
|
setColor(): any;
|
|
37
37
|
setBackground(): any;
|
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
|
15
15
|
editSection(): void;
|
|
16
16
|
getButtonId(): string;
|
|
17
17
|
redirectTo(data: any): void;
|
|
18
|
-
getClass(): "col-
|
|
18
|
+
getClass(): "col-4" | "col-12" | "col-5";
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -10,9 +10,12 @@ export declare class SimpoButtonComponent {
|
|
|
10
10
|
sectionId?: string;
|
|
11
11
|
edit?: boolean;
|
|
12
12
|
backgroundInfo?: BackgroundModel;
|
|
13
|
+
isFullWidth: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
13
16
|
constructor(_eventService: EventsService);
|
|
14
17
|
ngOnInit(): void;
|
|
15
18
|
redirectTo(): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "backgroundInfo": { "alias": "backgroundInfo"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
21
|
}
|