simpo-component-library 3.6.109 → 3.6.111
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 +5 -5
- package/esm2022/lib/components/document/document.component.mjs +5 -5
- package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +4 -4
- package/esm2022/lib/components/image-loading/image-loading.component.mjs +5 -5
- package/esm2022/lib/components/index.mjs +5 -5
- package/esm2022/lib/components/input-fields/input-fields.component.mjs +4 -4
- package/esm2022/lib/components/payment-details/payment-details.component.mjs +5 -5
- package/esm2022/lib/components/trasport-availability/trasport-availability.component.mjs +4 -4
- package/esm2022/lib/constants/business.constant.mjs +1 -1
- package/esm2022/lib/directive/alignment.directive.mjs +4 -4
- package/esm2022/lib/directive/animation-directive.mjs +4 -4
- package/esm2022/lib/directive/background-directive.mjs +4 -4
- package/esm2022/lib/directive/banner-content-fit-directive.mjs +4 -4
- package/esm2022/lib/directive/blur-content.directive.mjs +4 -4
- package/esm2022/lib/directive/border-directive.mjs +4 -4
- package/esm2022/lib/directive/borderlessImage.directive.mjs +4 -4
- package/esm2022/lib/directive/button-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/button-editor.directive.mjs +7 -7
- package/esm2022/lib/directive/color.directive.mjs +4 -4
- package/esm2022/lib/directive/column-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/container-alignment.directive.mjs +4 -4
- package/esm2022/lib/directive/container-fir.directive.mjs +4 -4
- package/esm2022/lib/directive/content-alignment-directive.mjs +4 -4
- package/esm2022/lib/directive/content-fit-directive.mjs +4 -4
- package/esm2022/lib/directive/content-title-spacing.directive.mjs +4 -4
- package/esm2022/lib/directive/contenteditable.directive.mjs +4 -4
- package/esm2022/lib/directive/corner-directive.mjs +4 -4
- package/esm2022/lib/directive/footer-layout-directive.mjs +4 -4
- package/esm2022/lib/directive/height.directive.mjs +4 -4
- package/esm2022/lib/directive/hover-animation.directive.mjs +4 -4
- package/esm2022/lib/directive/hover-element-directive.mjs +4 -4
- package/esm2022/lib/directive/hoverborder.directive.mjs +4 -4
- package/esm2022/lib/directive/image-container.directive.mjs +4 -4
- package/esm2022/lib/directive/image-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/image-editor.directive.mjs +4 -4
- package/esm2022/lib/directive/image-position.directive.mjs +4 -4
- package/esm2022/lib/directive/overlay-directive.mjs +4 -4
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/removeCarousel-directive.mjs +4 -4
- package/esm2022/lib/directive/set-dynamic-background.directive.mjs +4 -4
- package/esm2022/lib/directive/spacing-around.directive.mjs +8 -5
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +4 -4
- package/esm2022/lib/directive/spacing.directive.mjs +4 -4
- package/esm2022/lib/directive/sticky-directive.mjs +4 -4
- package/esm2022/lib/directive/text-background-directive.directive.mjs +4 -4
- package/esm2022/lib/directive/text-size.directive.mjs +4 -4
- package/esm2022/lib/directive/translate-onhover.directive.mjs +4 -4
- package/esm2022/lib/directive/wrap-containers.directive.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +51 -45
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +32 -8
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +6 -6
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +6 -6
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +5 -5
- 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 +221 -11
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +6 -6
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +9 -13
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +5 -5
- 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 +2 -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 +5 -5
- package/esm2022/lib/elements/address-list/address-list.component.mjs +98 -0
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +5 -5
- package/esm2022/lib/elements/button/button.component.mjs +5 -5
- package/esm2022/lib/elements/button/button.model.mjs +1 -1
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +5 -5
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +5 -5
- package/esm2022/lib/elements/editor-service.service.mjs +4 -4
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +5 -5
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +5 -5
- package/esm2022/lib/elements/index.mjs +5 -5
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +5 -5
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +5 -5
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +4 -4
- package/esm2022/lib/elements/portfolio/portfolio.component.mjs +5 -5
- package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +5 -5
- package/esm2022/lib/elements/property/property.component.mjs +5 -5
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -5
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +4 -4
- package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +5 -5
- package/esm2022/lib/elements/text/text.component.mjs +5 -5
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +5 -5
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +5 -5
- package/esm2022/lib/pipes/amount.pipe.mjs +4 -4
- package/esm2022/lib/pipes/gender.pipe.mjs +4 -4
- package/esm2022/lib/sections/BaseSection.mjs +1 -1
- package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +5 -5
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +5 -5
- package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +5 -5
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +5 -5
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +4 -4
- package/esm2022/lib/sections/blog-list/blog-list.component.mjs +5 -5
- package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +4 -4
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +5 -5
- package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +4 -4
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +5 -5
- package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
- package/esm2022/lib/sections/features-section/features-section.component.mjs +5 -5
- package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
- package/esm2022/lib/sections/footer/footer.component.mjs +5 -5
- package/esm2022/lib/sections/footer/footer.modal.mjs +1 -1
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +4 -4
- package/esm2022/lib/sections/header-section/header-section.component.mjs +5 -5
- package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
- package/esm2022/lib/sections/header-text/header-text.component.mjs +5 -5
- package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +5 -5
- 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 +5 -5
- package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/image-section/image-section.component.mjs +5 -5
- package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
- package/esm2022/lib/sections/location-section/location-section.component.mjs +5 -5
- package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +4 -4
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +5 -5
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +5 -5
- package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +1 -1
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
- package/esm2022/lib/sections/new-services/new-services.component.mjs +5 -5
- package/esm2022/lib/sections/new-services/new-services.model.mjs +1 -1
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +5 -5
- package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +1 -1
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +5 -5
- package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
- package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -5
- package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
- package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -5
- package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
- package/esm2022/lib/sections/property-component/property-component.component.mjs +5 -5
- package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
- package/esm2022/lib/sections/property-list/property-list.component.mjs +5 -5
- 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 +5 -5
- 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 +6 -6
- package/esm2022/lib/sections/registration-form/registrationForm.model.mjs +1 -1
- package/esm2022/lib/sections/service-section/service-section.component.mjs +5 -5
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +5 -5
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +5 -5
- package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +5 -5
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +5 -5
- package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
- package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +5 -5
- package/esm2022/lib/sections/testimonial-video/testimonial-video.model.mjs +1 -1
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +4 -4
- package/esm2022/lib/sections/text-section/text-section.component.mjs +5 -5
- package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
- package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +5 -5
- package/esm2022/lib/sections/usp-video-section/usp-video-section.model.mjs +1 -1
- package/esm2022/lib/sections/video-section/video-section.component.mjs +5 -5
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +5 -5
- package/esm2022/lib/services/cart.service.mjs +4 -4
- package/esm2022/lib/services/endUser.service.mjs +4 -4
- package/esm2022/lib/services/events.service.mjs +4 -4
- package/esm2022/lib/services/image-upload-service.service.mjs +4 -4
- package/esm2022/lib/services/rest.service.mjs +14 -4
- package/esm2022/lib/services/sanitizeHtml.mjs +4 -4
- package/esm2022/lib/services/storage.service.mjs +4 -4
- package/esm2022/lib/styles/index.mjs +1 -1
- package/esm2022/lib/styles/style.model.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 +1 -1
- package/fesm2022/simpo-component-library.mjs +900 -568
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +6 -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 +33 -1
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +5 -0
- package/lib/ecommerce/styles/product.modal.d.ts +1 -0
- package/lib/ecommerce/styles/user.modal.d.ts +1 -0
- package/lib/elements/address-list/address-list.component.d.ts +27 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -1
- package/lib/sections/logo-showcase/logo-showcase.modal.d.ts +1 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +3 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.111.tgz +0 -0
- package/src/lib/styles/global-styles.css +207 -204
- package/simpo-component-library-3.6.109.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(): "#000" | "#FFF";
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
18
18
|
padZero(str: string, length: number): string;
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
16
16
|
applyButtonStyleChanges(): void;
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
19
|
-
getTextColor(bgColor: string): "#
|
19
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
20
20
|
buttonStyleSubscription?: Subscription;
|
21
21
|
buttonStyleChangeCheck(): void;
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -31,7 +31,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
31
31
|
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
32
32
|
address: AddressDetails;
|
33
33
|
isCart: boolean;
|
34
|
-
|
34
|
+
editIndex: number;
|
35
35
|
private latitute;
|
36
36
|
private longitute;
|
37
37
|
addNewAddress: boolean;
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
58
58
|
validateNumber(event: KeyboardEvent): void;
|
59
59
|
validateOTP(event: KeyboardEvent): void;
|
60
60
|
checkStrength(): void;
|
61
|
-
getStrengthColor(index: number): "
|
61
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
62
62
|
get isEmailValid(): boolean;
|
63
63
|
get isPasswordValid(): boolean;
|
64
64
|
get isMobile(): boolean;
|
@@ -7,6 +7,7 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
8
8
|
import { RestService } from "../../../services/rest.service";
|
9
9
|
import { StorageServiceService } from '../../../services/storage.service';
|
10
|
+
import { AddressDetails } from '../../styles/user.modal';
|
10
11
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
11
12
|
import { MessageService } from 'primeng/api';
|
12
13
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
@@ -49,6 +50,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
49
50
|
private userDetails;
|
50
51
|
private USER_CART_ITEMS;
|
51
52
|
selectedAddressIdx: number;
|
53
|
+
defaultAddress?: AddressDetails;
|
52
54
|
enteredCouponCode: string;
|
53
55
|
couponList: Coupon[];
|
54
56
|
cartInfo: any;
|
@@ -58,6 +60,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
58
60
|
ngOnInit(): void;
|
59
61
|
ngOnDestroy(): void;
|
60
62
|
updateUserCart(): void;
|
63
|
+
getDefaultAddress(): void;
|
61
64
|
get stylesLayout(): LayOutModel;
|
62
65
|
mergeOrderItems(syncedItems: any[]): void;
|
63
66
|
getCouponList(): void;
|
@@ -83,9 +86,11 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
83
86
|
applyCoupon(coupon: Coupon): void;
|
84
87
|
calculateCart(response: any): void;
|
85
88
|
getTaxAmount(): number;
|
86
|
-
get getAddressList():
|
89
|
+
get getAddressList(): AddressDetails[];
|
87
90
|
get isMobile(): boolean;
|
88
91
|
get currency(): string;
|
92
|
+
changeAddress(): void;
|
93
|
+
addAddress(): void;
|
89
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
90
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
91
96
|
}
|
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
30
30
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
31
31
|
get isMobile(): boolean;
|
32
32
|
editSection(): void;
|
33
|
-
getColor(color: any): "#
|
33
|
+
getColor(color: any): "#000000" | "#ffffff";
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
35
35
|
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>;
|
36
36
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
1
2
|
import { ProductDescModal, ProductDescStylesModal } from './product-desc.modal';
|
2
3
|
import { ItemImage, ItemVariant, Product } from '../../styles/product.modal';
|
3
4
|
import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
|
@@ -25,7 +26,9 @@ export declare class ProductDescComponent extends BaseSection {
|
|
25
26
|
private readonly metaTagService;
|
26
27
|
private readonly titleService;
|
27
28
|
private readonly bottomSheet;
|
29
|
+
private renderer;
|
28
30
|
reviewComponent: CustomerReviewComponent;
|
31
|
+
d2: ElementRef;
|
29
32
|
data?: ProductDescModal;
|
30
33
|
responseData: Product;
|
31
34
|
index?: number;
|
@@ -42,7 +45,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
42
45
|
productReview: number;
|
43
46
|
totalReview: number;
|
44
47
|
showReview: boolean;
|
45
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
|
48
|
+
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);
|
46
49
|
buttonId?: string;
|
47
50
|
button?: ButtonModel;
|
48
51
|
styles?: ProductDescStylesModal;
|
@@ -63,6 +66,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
63
66
|
routeToHome(): void;
|
64
67
|
screenWidth: any;
|
65
68
|
getScreenSize(): void;
|
69
|
+
scroll(e: WheelEvent): void;
|
66
70
|
currentImg: any;
|
67
71
|
changeImg(url: any): void;
|
68
72
|
getKeys(varient: Object): string[];
|
@@ -93,6 +97,34 @@ export declare class ProductDescComponent extends BaseSection {
|
|
93
97
|
isPriceBreakup: boolean;
|
94
98
|
togglePriceBreakDown(): void;
|
95
99
|
getDifference(sellingPrice: any, mrp: any): number;
|
100
|
+
getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
|
101
|
+
getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
|
102
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
103
|
+
languages: string[];
|
104
|
+
selectedLang: string;
|
105
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
106
|
+
onFindInStore(): void;
|
107
|
+
onBookAppointment(): void;
|
108
|
+
isDetails: boolean;
|
109
|
+
pincode: any;
|
110
|
+
storeDetails: any;
|
111
|
+
getStoreDetails(): void;
|
112
|
+
brandPromises: any[];
|
113
|
+
ecomConfigs: any;
|
114
|
+
getEcommerceConfigs(): void;
|
115
|
+
locate: boolean;
|
116
|
+
otherLanguage: string;
|
117
|
+
videoCallPayload: any;
|
118
|
+
validationErrors: any;
|
119
|
+
isSubmitting: boolean;
|
120
|
+
scheduled: boolean;
|
121
|
+
scheduleVideoCall(): void;
|
122
|
+
resetValidationErrors(): void;
|
123
|
+
resetForm(): void;
|
124
|
+
onInputChange(field: any): void;
|
125
|
+
closeModal(): void;
|
126
|
+
getButtonId(index: number): string;
|
127
|
+
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
96
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
97
129
|
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>;
|
98
130
|
}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { FooterSocialLinkModel } from "../../../sections/footer-section/footer-section.modal";
|
2
2
|
import { AnimationModel, BackgroundModel, DeviderModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
|
3
3
|
import { ActionModel } from '../../../styles/style.model';
|
4
|
+
import { Corners } from "../../.././styles/index";
|
5
|
+
import { GRID_STYLE } from "../../../styles/types";
|
4
6
|
export interface ProductDescModal {
|
5
7
|
id: string;
|
6
8
|
sectionType: string;
|
@@ -16,6 +18,9 @@ export interface ProductDescStylesModal {
|
|
16
18
|
maximumProduct: number;
|
17
19
|
direction: "ROW" | "COLUMN";
|
18
20
|
devider: DeviderModel;
|
21
|
+
corners: Corners;
|
22
|
+
gridStyle: GRID_STYLE;
|
23
|
+
customization: GRID_STYLE;
|
19
24
|
}
|
20
25
|
export interface ProductDescContentModal {
|
21
26
|
button: string;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
2
|
+
import { AddressDetails } from '../../ecommerce/styles/user.modal';
|
3
|
+
import { StorageServiceService } from '../../services/storage.service';
|
4
|
+
import { RestService } from '../../services/rest.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AddressListComponent {
|
7
|
+
private readonly matDialog;
|
8
|
+
data: any;
|
9
|
+
dialogRef: MatDialogRef<AddressListComponent>;
|
10
|
+
private readonly storageService;
|
11
|
+
private readonly restService;
|
12
|
+
constructor(matDialog: MatDialog, data: any, dialogRef: MatDialogRef<AddressListComponent>, storageService: StorageServiceService, restService: RestService);
|
13
|
+
addressList: any[];
|
14
|
+
defaultAddressIndex: number;
|
15
|
+
defaultAddress: any;
|
16
|
+
selectedAddressIndex: any;
|
17
|
+
isLoading: boolean;
|
18
|
+
deleteLoading: boolean;
|
19
|
+
ngOnInit(): void;
|
20
|
+
addOrEditAddress(editIndex: number, address?: AddressDetails): void;
|
21
|
+
closeDialog(): void;
|
22
|
+
markAddressAsDefault(): void;
|
23
|
+
deleteAddress(index: number): void;
|
24
|
+
updateUserAddress(): void;
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressListComponent, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddressListComponent, "simpo-address-list", never, {}, {}, never, never, true, never>;
|
27
|
+
}
|
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
|
|
28
28
|
buttonStyles: any;
|
29
29
|
changeButtonStyle(): void;
|
30
30
|
backgroundType: string[];
|
31
|
-
setBorderRadius(): "0px" | "
|
31
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
32
32
|
setBorder(): string;
|
33
33
|
setColor(): any;
|
34
34
|
setBackground(): any;
|
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
27
27
|
get spacingLayout(): SpacingModel;
|
28
28
|
get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
|
29
29
|
get fitLayout(): import("simpo-component-library").FIT | undefined;
|
30
|
-
getTextColor(bgColor: string): "#
|
30
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
33
33
|
}
|
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
28
28
|
editSection(): void;
|
29
29
|
canShowContactField(field: any): any;
|
30
30
|
getCardStyle(): {};
|
31
|
-
getTextColor(bgColor: string): "#
|
31
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
33
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
34
34
|
}
|
@@ -71,7 +71,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
71
71
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
72
72
|
get getNavbarButton(): any[];
|
73
73
|
isScrolled: boolean;
|
74
|
-
setColor(): "#
|
74
|
+
setColor(): "#000000" | "#ffffff";
|
75
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
76
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
77
77
|
}
|
@@ -20,7 +20,7 @@ export interface Display extends DisplaySection {
|
|
20
20
|
}
|
21
21
|
export interface LogoShowcaseItemModel {
|
22
22
|
image: Image;
|
23
|
-
inputText: InputTextModel;
|
23
|
+
inputText: InputTextModel[];
|
24
24
|
}
|
25
25
|
export interface LogoShowcaseStylesModel extends StylesModel {
|
26
26
|
positionLayout: PositionLayoutModal;
|
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
|
|
22
22
|
private transitionToNext;
|
23
23
|
isItemVisible(index: number): boolean;
|
24
24
|
getItemClass(index: number): string;
|
25
|
-
getTextColor(bgColor: string): "#
|
25
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff";
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
28
28
|
}
|
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
20
|
get stylesLayout(): LayOutModel;
|
21
|
-
getTextColor(): "#
|
21
|
+
getTextColor(): "#000000" | "#ffffff";
|
22
22
|
get headingSpace(): SPACING;
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
@@ -88,6 +88,9 @@ export declare class RestService implements OnDestroy {
|
|
88
88
|
getAllComponentCategories(): Observable<Object>;
|
89
89
|
getTemplate(): Observable<Object>;
|
90
90
|
getImageLibrary(): Observable<Object>;
|
91
|
+
getEcommerceConfigs(): Observable<Object>;
|
92
|
+
postVideoCallDetails(payload: any): Observable<Object>;
|
93
|
+
getStoreLocatorDetails(pincode: any): Observable<Object>;
|
91
94
|
saveImagesToBusinessLibrary(mediaRequest: any): Observable<Object>;
|
92
95
|
regenerateText(request: any): Observable<Object>;
|
93
96
|
getFieldsToDisplay(fieldsList: any[]): any;
|
package/package.json
CHANGED
Binary file
|