simpo-component-library 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +24 -24
- package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
- package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +7 -5
- package/esm2022/lib/constants/business.constant.mjs +14 -0
- package/esm2022/lib/directive/background-directive.mjs +1 -1
- package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
- package/esm2022/lib/directive/border-directive.mjs +23 -11
- package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
- package/esm2022/lib/directive/button-directive.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/corner-directive.mjs +1 -1
- package/esm2022/lib/directive/hoverborder.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-position.directive.mjs +1 -1
- package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +48 -0
- 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/wrap-containers.directive.mjs +31 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +134 -28
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +104 -39
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +296 -61
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +13 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +13 -4
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +212 -42
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +11 -2
- package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +11 -0
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +77 -10
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +13 -7
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +272 -39
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +252 -33
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +44 -17
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +300 -28
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +124 -0
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +183 -17
- 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 +11 -3
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +2 -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 +10 -1
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- 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/covering-image-card/covering-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
- package/esm2022/lib/elements/index.mjs +1 -1
- package/esm2022/lib/elements/simpo-button/simpo-button.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 +35 -0
- package/esm2022/lib/pipes/gender.pipe.mjs +36 -0
- 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/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 +9 -4
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.model.mjs +1 -1
- package/esm2022/lib/sections/banner-section/banner-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/carousel-banner/carousel-banner.component.mjs +12 -12
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +1 -1
- 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/contact-us/contact-us.component.mjs +7 -5
- 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-section/footer-section.component.mjs +3 -3
- 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-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 +3 -3
- package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +42 -18
- package/esm2022/lib/sections/navbar-section/navbar-section.model.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/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/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-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
- 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/video-section/video-section.component.mjs +11 -3
- package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
- package/esm2022/lib/services/cart.service.mjs +54 -120
- package/esm2022/lib/services/endUser.service.mjs +28 -0
- package/esm2022/lib/services/events.service.mjs +4 -1
- package/esm2022/lib/services/rest.service.mjs +58 -16
- package/esm2022/lib/services/storage.service.mjs +103 -35
- package/esm2022/lib/styles/index.mjs +8 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +2535 -729
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/hover-elements/hover-elements.component.d.ts +2 -1
- package/lib/constants/business.constant.d.ts +11 -0
- package/lib/directive/spacing-horizontal.directive.d.ts +18 -0
- package/lib/directive/wrap-containers.directive.d.ts +14 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +30 -9
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +31 -6
- package/lib/ecommerce/sections/cart/cart.component.d.ts +26 -11
- package/lib/ecommerce/sections/cart/cart.modal.d.ts +10 -1
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +2 -0
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +2 -0
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +27 -9
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +5 -1
- package/lib/ecommerce/sections/item-varient/item-varient.component.d.ts +5 -0
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +16 -2
- package/lib/ecommerce/sections/pagnination/pagnination.component.d.ts +3 -2
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +33 -4
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +4 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +39 -3
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +2 -0
- package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +11 -1
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +52 -13
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +6 -8
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +34 -0
- package/lib/ecommerce/sections/verify-payment/verify-payment.model.d.ts +23 -0
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +22 -6
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +6 -2
- package/lib/ecommerce/styles/cart.modal.d.ts +1 -0
- package/lib/ecommerce/styles/product.modal.d.ts +4 -0
- package/lib/ecommerce/styles/user.modal.d.ts +3 -3
- package/lib/pipes/amount.pipe.d.ts +7 -0
- package/lib/pipes/gender.pipe.d.ts +8 -0
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -0
- package/lib/sections/banner-grid-section/banner-grid-section.model.d.ts +1 -0
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +7 -5
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +41 -26
- package/lib/sections/navbar-section/navbar-section.component.d.ts +6 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +1 -1
- package/lib/sections/video-section/video-section.component.d.ts +4 -2
- package/lib/services/cart.service.d.ts +13 -8
- package/lib/services/endUser.service.d.ts +13 -0
- package/lib/services/events.service.d.ts +5 -2
- package/lib/services/rest.service.d.ts +16 -2
- package/lib/services/storage.service.d.ts +11 -44
- package/lib/styles/index.d.ts +6 -0
- package/lib/styles/style.model.d.ts +4 -1
- package/lib/styles/types.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/esm2022/lib/ecommerce/json/user-cart.json +0 -40
- package/esm2022/lib/ecommerce/json/user-details.json +0 -15
- package/esm2022/lib/ecommerce/json/user-favourite.json +0 -32
- package/simpo-component-library-1.5.0.tgz +0 -0
@@ -9,6 +9,7 @@ export declare class HoverElementsComponent implements OnInit {
|
|
9
9
|
index: any;
|
10
10
|
editOptions?: boolean;
|
11
11
|
isMerged: boolean;
|
12
|
+
isEcommerce: boolean;
|
12
13
|
ngOnInit(): void;
|
13
14
|
editSection(): void;
|
14
15
|
restyleSection(event: any): void;
|
@@ -19,5 +20,5 @@ export declare class HoverElementsComponent implements OnInit {
|
|
19
20
|
addSection(position: "ABOVE" | "BELOW", event: any): void;
|
20
21
|
duplicateSection(event: any): void;
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<HoverElementsComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "editOptions": { "alias": "editOptions"; "required": false; }; "isMerged": { "alias": "isMerged"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "editOptions": { "alias": "editOptions"; "required": false; }; "isMerged": { "alias": "isMerged"; "required": false; }; "isEcommerce": { "alias": "isEcommerce"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
|
23
24
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { EventsService } from '../services/events.service';
|
3
|
+
import { Subscription } from 'rxjs';
|
4
|
+
import { LayOutModel } from '../styles/style.model';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class SpacingHorizontalDirective {
|
7
|
+
private el;
|
8
|
+
private eventService;
|
9
|
+
layout?: LayOutModel;
|
10
|
+
constructor(el: ElementRef, eventService: EventsService);
|
11
|
+
ngOnChanges(): void;
|
12
|
+
ngOnDestroy(): void;
|
13
|
+
changeHorizontalSpacing(): void;
|
14
|
+
positionLayoutSubscription?: Subscription;
|
15
|
+
positionLayoutChangeCheck(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpacingHorizontalDirective, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingHorizontalDirective, "[spacingHorizontal]", never, { "layout": { "alias": "spacingHorizontal"; "required": false; }; }, {}, never, never, true, never>;
|
18
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { EventsService } from '../services/events.service';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SimpoWrapComntainer {
|
5
|
+
private eventService;
|
6
|
+
private el;
|
7
|
+
simpoWrapContainer?: "ROW" | "COLUMN";
|
8
|
+
constructor(eventService: EventsService, el: ElementRef);
|
9
|
+
ngOnChanges(): void;
|
10
|
+
ngOnDestroy(): void;
|
11
|
+
private wrapContent;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoWrapComntainer, never>;
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoWrapComntainer, "[simpoWrapContainer]", never, { "simpoWrapContainer": { "alias": "simpoWrapContainer"; "required": false; }; }, {}, never, never, true, never>;
|
14
|
+
}
|
@@ -1,29 +1,43 @@
|
|
1
|
-
import { OnInit, NgZone, OnChanges, SimpleChanges } from '@angular/core';
|
1
|
+
import { OnInit, NgZone, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
2
2
|
import { RestService } from '../../../services/rest.service';
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
3
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
4
4
|
import { Router } from '@angular/router';
|
5
5
|
import { StorageServiceService } from '../../../services/storage.service';
|
6
|
+
import { AddressDetails } from '../../styles/user.modal';
|
7
|
+
import { EventsService } from '../../../services/events.service';
|
8
|
+
import BaseSection from '../../../sections/BaseSection';
|
9
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
6
10
|
import * as i0 from "@angular/core";
|
7
|
-
export declare class AddressComponent implements OnInit, OnChanges {
|
11
|
+
export declare class AddressComponent extends BaseSection implements OnInit, OnChanges {
|
8
12
|
private readonly ngZone;
|
9
13
|
private readonly restService;
|
10
14
|
private readonly matDialog;
|
15
|
+
private readonly matBottomsheet;
|
11
16
|
private readonly router;
|
12
17
|
private readonly storageService;
|
18
|
+
private readonly _eventService;
|
19
|
+
matData: any;
|
20
|
+
matDialogRef: MatDialogRef<AddressComponent>;
|
13
21
|
responseData: any;
|
14
22
|
data: any;
|
15
|
-
|
16
|
-
|
17
|
-
|
23
|
+
index?: number;
|
24
|
+
edit?: boolean;
|
25
|
+
delete?: boolean;
|
26
|
+
addressList: any;
|
27
|
+
selectedAddressIdx: number;
|
28
|
+
selectedAddress: EventEmitter<number>;
|
29
|
+
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
30
|
+
address: AddressDetails;
|
18
31
|
isCart: boolean;
|
32
|
+
private editIndex;
|
19
33
|
private latitute;
|
20
34
|
private longitute;
|
21
35
|
addNewAddress: boolean;
|
36
|
+
isLoading: boolean;
|
22
37
|
mapCenter: google.maps.LatLngLiteral;
|
23
38
|
markerPosition: google.maps.LatLngLiteral;
|
24
39
|
markerOptions: google.maps.MarkerOptions;
|
25
40
|
private geocoder;
|
26
|
-
selectedAddressIdx: number;
|
27
41
|
addessType: {
|
28
42
|
key: string;
|
29
43
|
status: boolean;
|
@@ -39,7 +53,14 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
39
53
|
getAddress(): void;
|
40
54
|
onLocationSelected(location: any): void;
|
41
55
|
onAutocompleteSelected(result: any): void;
|
56
|
+
addressSelected(index: number): void;
|
57
|
+
goToHome(): void;
|
42
58
|
updateAddress(): void;
|
43
|
-
|
44
|
-
|
59
|
+
validateMobile(event: KeyboardEvent): void;
|
60
|
+
validateName(event: KeyboardEvent): void;
|
61
|
+
editSection(): void;
|
62
|
+
get isEmailValid(): boolean;
|
63
|
+
get isMobile(): boolean;
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", 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; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
45
66
|
}
|
@@ -4,32 +4,57 @@ import { RestService } from '../../../services/rest.service';
|
|
4
4
|
import { Router } from '@angular/router';
|
5
5
|
import { StorageServiceService } from '../../../services/storage.service';
|
6
6
|
import { EventsService } from '../../../services/events.service';
|
7
|
+
import { InputTextModel, StylesModel } from '../../../styles/style.model';
|
8
|
+
import { ActionModel } from "../../../styles/style.model";
|
9
|
+
import BaseSection from '../../../sections/BaseSection';
|
10
|
+
import { MessageService } from 'primeng/api';
|
11
|
+
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
7
12
|
import * as i0 from "@angular/core";
|
8
|
-
|
13
|
+
interface AuthenticateSectionModel {
|
14
|
+
id: string;
|
15
|
+
content: AuthenticateContentModel;
|
16
|
+
styles: StylesModel;
|
17
|
+
action: ActionModel;
|
18
|
+
type: 'STATIC' | 'E_COMMERCE';
|
19
|
+
}
|
20
|
+
interface AuthenticateContentModel {
|
21
|
+
siteName: InputTextModel;
|
22
|
+
}
|
23
|
+
export declare class AuthenticateUserComponent extends BaseSection implements OnInit {
|
9
24
|
matData: any;
|
25
|
+
bottomsheetData: any;
|
10
26
|
private readonly restService;
|
11
27
|
private readonly router;
|
12
28
|
private readonly matDialog;
|
13
29
|
private readonly storageService;
|
14
30
|
private readonly dialogRef;
|
31
|
+
private readonly bottomsheetRef;
|
15
32
|
private readonly _eventService;
|
16
|
-
|
17
|
-
|
33
|
+
private readonly messageService;
|
34
|
+
data?: AuthenticateSectionModel;
|
35
|
+
index?: number;
|
36
|
+
edit?: boolean;
|
37
|
+
delete?: boolean;
|
18
38
|
isLoading: boolean;
|
39
|
+
otpData: undefined[];
|
19
40
|
otpString: string;
|
20
41
|
screen: 'LOGIN' | 'OTP';
|
21
42
|
mobile: string | null;
|
22
43
|
countryCode: string | null;
|
23
|
-
constructor(matData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, _eventService: EventsService);
|
44
|
+
constructor(matData: any, bottomsheetData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService);
|
24
45
|
styles: any;
|
25
46
|
ngOnInit(): void;
|
26
47
|
move(event: any, idx: number): void;
|
27
48
|
close(): void;
|
28
49
|
goBack(): void;
|
50
|
+
private resetValue;
|
29
51
|
generateOTP(): void;
|
30
52
|
verifyOTP(): void;
|
53
|
+
editSection(): void;
|
31
54
|
resendOTP(): void;
|
55
|
+
get isMobileValid(): boolean;
|
32
56
|
get isMobile(): boolean;
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, null, null, null, { optional: true; }, null]>;
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
35
59
|
}
|
60
|
+
export {};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
1
2
|
import { CartSectionModal, CartSectionStylesModel } from './cart.modal';
|
2
3
|
import BaseSection from '../../../sections/BaseSection';
|
3
4
|
import { EventsService } from '.././../../services/events.service';
|
@@ -6,35 +7,49 @@ import { Router } from '@angular/router';
|
|
6
7
|
import { MatDialog } from '@angular/material/dialog';
|
7
8
|
import { RestService } from "../../../services/rest.service";
|
8
9
|
import { StorageServiceService } from '../../../services/storage.service';
|
9
|
-
import {
|
10
|
+
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
11
|
+
import { MessageService } from 'primeng/api';
|
12
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
13
|
import * as i0 from "@angular/core";
|
11
|
-
export declare class CartComponent extends BaseSection {
|
14
|
+
export declare class CartComponent extends BaseSection implements OnInit {
|
12
15
|
private readonly _eventService;
|
13
16
|
private readonly cartService;
|
14
17
|
private readonly router;
|
15
18
|
private readonly restService;
|
16
19
|
private readonly matDialog;
|
17
20
|
private readonly storageService;
|
18
|
-
private readonly
|
21
|
+
private readonly messageService;
|
22
|
+
private readonly bottomSheet;
|
19
23
|
data?: CartSectionModal;
|
20
24
|
responseData?: any;
|
21
25
|
index?: number;
|
22
26
|
edit?: boolean;
|
23
27
|
delete?: boolean;
|
24
28
|
isLoading: boolean;
|
25
|
-
selectedAddressIdx: number;
|
26
29
|
styles?: CartSectionStylesModel;
|
27
30
|
currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
|
28
|
-
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService,
|
29
|
-
private
|
31
|
+
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet);
|
32
|
+
private userDetails;
|
33
|
+
private USER_CART_ITEMS;
|
34
|
+
selectedAddressIdx: number;
|
35
|
+
cartInfo: any;
|
30
36
|
ngOnInit(): void;
|
37
|
+
getIndexDBData(): void;
|
31
38
|
proceedToCheckout(): void;
|
39
|
+
goToProductDetails(product: OrderedItems): void;
|
32
40
|
proceedToListPage(): void;
|
33
|
-
removeItem(item:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
41
|
+
removeItem(item: OrderedItems): void;
|
42
|
+
private moveItemToWishlist;
|
43
|
+
private removeItemFromCart;
|
44
|
+
addToCart(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
|
45
|
+
proceedToPayment(): Promise<void>;
|
46
|
+
addressSelected(index: number): void;
|
47
|
+
isItemOutOfStock(product: OrderedItems): boolean;
|
48
|
+
getKeys(object: Object): string[];
|
49
|
+
editSection(): void;
|
50
|
+
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
51
|
+
get isMobile(): boolean;
|
52
|
+
get currency(): string;
|
38
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, never>;
|
39
54
|
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; }; }, {}, never, never, true, never>;
|
40
55
|
}
|
@@ -1,12 +1,21 @@
|
|
1
|
+
import { InputTextModel } from "../../../styles/style.model";
|
1
2
|
import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
|
2
|
-
import { ActionModel } from '../../../styles/style.model';
|
3
|
+
import { ActionModel, Image } from '../../../styles/style.model';
|
3
4
|
export interface CartSectionModal {
|
4
5
|
id: string;
|
5
6
|
sectionType: string;
|
6
7
|
sectionName: string;
|
7
8
|
styles: CartSectionStylesModel;
|
9
|
+
content: CartContentSectionModel;
|
8
10
|
action: ActionModel;
|
9
11
|
}
|
12
|
+
export interface CartContentSectionModel {
|
13
|
+
inputText: InputTextModel[];
|
14
|
+
image: ImageModel;
|
15
|
+
}
|
16
|
+
export interface ImageModel extends Image {
|
17
|
+
showImage: boolean;
|
18
|
+
}
|
10
19
|
export interface CartSectionStylesModel {
|
11
20
|
layout: LayOutModel;
|
12
21
|
background: BackgroundModel;
|
@@ -18,6 +18,8 @@ export declare class CheckoutComponent extends BaseSection {
|
|
18
18
|
button?: ButtonModel;
|
19
19
|
ngOnInit(): void;
|
20
20
|
placeOrder(): void;
|
21
|
+
editSection(): void;
|
22
|
+
get currency(): string;
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckoutComponent, never>;
|
22
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckoutComponent, "simpo-checkout", 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; }; }, {}, never, never, true, never>;
|
23
25
|
}
|
@@ -23,6 +23,8 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
23
23
|
getSliceParameters(): number[];
|
24
24
|
redirectToListPage(category: string): void;
|
25
25
|
getAllCategories(): void;
|
26
|
+
editSection(): void;
|
27
|
+
get isMobile(): boolean;
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
27
29
|
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; }; }, {}, never, never, true, never>;
|
28
30
|
}
|
@@ -1,43 +1,61 @@
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2
2
|
import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStylesModel } from './featured-products.modal';
|
3
|
-
import { Product } from '../../styles/product.modal';
|
3
|
+
import { Product, ItemVariant } from '../../styles/product.modal';
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
5
5
|
import BaseSection from '../../../sections/BaseSection';
|
6
6
|
import { ButtonModel } from '../../../styles/style.model';
|
7
7
|
import { RestService } from '../../../services/rest.service';
|
8
8
|
import { Router } from '@angular/router';
|
9
9
|
import { CartService } from '../../../services/cart.service';
|
10
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
11
|
+
import { MessageService } from 'primeng/api';
|
12
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
13
|
import * as i0 from "@angular/core";
|
11
|
-
export declare class FeaturedProductsComponent extends BaseSection implements OnDestroy {
|
14
|
+
export declare class FeaturedProductsComponent extends BaseSection implements OnInit, OnDestroy, OnChanges {
|
12
15
|
private platformId;
|
13
16
|
private readonly _eventService;
|
14
17
|
private readonly restService;
|
15
18
|
private readonly router;
|
16
19
|
private readonly cartService;
|
17
|
-
|
20
|
+
private readonly bottomSheet;
|
21
|
+
private readonly storageService;
|
22
|
+
private readonly messageService;
|
23
|
+
data: FeaturedProductModal | null;
|
18
24
|
responseData?: Product[];
|
19
25
|
index?: number;
|
20
26
|
isRelatedProduct: boolean;
|
21
27
|
isLoading: boolean;
|
28
|
+
filterLoading: boolean;
|
22
29
|
edit?: boolean;
|
23
30
|
delete?: boolean;
|
31
|
+
changeDetailProduct: EventEmitter<Product>;
|
24
32
|
content?: FeaturedProductContentModal;
|
25
33
|
styles?: FeaturedProductStylesModel;
|
26
34
|
button?: ButtonModel;
|
27
35
|
private _eventSubscriber;
|
28
|
-
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService);
|
36
|
+
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService, bottomSheet: MatBottomSheet, storageService: StorageServiceService, messageService: MessageService);
|
29
37
|
screenWidth: number;
|
38
|
+
private USER_CART;
|
39
|
+
private USER_WISHLIST;
|
30
40
|
getScreenSize(): void;
|
31
41
|
ngOnInit(): void;
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
32
43
|
ngOnDestroy(): void;
|
33
44
|
getProductWidth(): string;
|
34
45
|
getSliceParameters(): number[];
|
35
46
|
getFeatureProduct(): void;
|
36
47
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
37
|
-
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
38
|
-
proceedToProductDesc(
|
39
|
-
isItemFav(product: Product): boolean;
|
48
|
+
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
49
|
+
proceedToProductDesc(product: Product): void;
|
40
50
|
togglePreviewImage(product: Product, idx: number): void;
|
51
|
+
isItemOutOfStock(product: Product): boolean;
|
52
|
+
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
53
|
+
selectVarient(product: Product, varient: ItemVariant): void;
|
54
|
+
get currency(): string;
|
55
|
+
get isMobile(): boolean;
|
56
|
+
private getVarientQuantity;
|
57
|
+
private isVarientPresentInWishtlist;
|
58
|
+
editSection(): void;
|
41
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, { "changeDetailProduct": "changeDetailProduct"; }, never, never, true, never>;
|
43
61
|
}
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { InputTextModel, StylesModel, ImageStyle, ActionModel } from "../../../styles/style.model";
|
2
2
|
import { Corners } from "../../.././styles/index";
|
3
|
-
export
|
3
|
+
export declare class FeaturedProductModal {
|
4
4
|
id: string;
|
5
5
|
sectionType: string;
|
6
6
|
sectionName: string;
|
7
7
|
content: FeaturedProductContentModal;
|
8
8
|
styles: FeaturedProductStylesModel;
|
9
9
|
action: ActionModel;
|
10
|
+
constructor(json?: {
|
11
|
+
[key: string]: any;
|
12
|
+
});
|
10
13
|
}
|
11
14
|
export interface FeaturedProductContentModal {
|
12
15
|
inputText: InputTextModel[];
|
@@ -25,4 +28,5 @@ export interface FeaturedProductStylesModel extends StylesModel {
|
|
25
28
|
maximumProduct: number;
|
26
29
|
elementInRow: number;
|
27
30
|
mobileColumn: number;
|
31
|
+
direction: "ROW" | "COLUMN";
|
28
32
|
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class ItemVarientComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemVarientComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemVarientComponent, "simpo-item-varient", never, {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import { EventsService } from '../../../services/events.service';
|
3
|
+
import { ProfileStylesModal } from '../user-profile/user-profile.modal';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class OrderDetailsComponent implements OnInit {
|
5
6
|
private readonly _eventService;
|
@@ -8,10 +9,23 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
8
9
|
index?: number;
|
9
10
|
edit?: boolean;
|
10
11
|
delete?: boolean;
|
12
|
+
orderDetailData: any;
|
13
|
+
goBackEmitter: EventEmitter<void>;
|
11
14
|
isLoading: boolean;
|
15
|
+
styles?: ProfileStylesModal;
|
12
16
|
constructor(_eventService: EventsService);
|
13
17
|
orderTimiline: any;
|
14
18
|
ngOnInit(): void;
|
19
|
+
private getIcon;
|
20
|
+
goBack(): void;
|
21
|
+
get getCardBGColor(): string;
|
22
|
+
get isMobile(): boolean;
|
23
|
+
getSupportingColor(bgColor: string): string;
|
24
|
+
private getComplementColor;
|
25
|
+
private convertHEX;
|
26
|
+
get currency(): string;
|
27
|
+
get canCancelOrder(): boolean;
|
28
|
+
get orderAddress(): string;
|
15
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", 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; }; }, {}, never, never, true, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", 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; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
|
17
31
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import { Router } from '@angular/router';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class PagninationComponent implements OnInit {
|
@@ -6,11 +6,12 @@ export declare class PagninationComponent implements OnInit {
|
|
6
6
|
constructor(router: Router);
|
7
7
|
totalPages: number;
|
8
8
|
currentPage: number;
|
9
|
+
paginationChange: EventEmitter<number>;
|
9
10
|
bound: number;
|
10
11
|
ngOnInit(): void;
|
11
12
|
goToNext(): void;
|
12
13
|
goToPrev(): void;
|
13
14
|
goToSelection(index: number): void;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PagninationComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagninationComponent, "simpo-pagnination", never, { "totalPages": { "alias": "totalPages"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; }, {}, never, never, true, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagninationComponent, "simpo-pagnination", never, { "totalPages": { "alias": "totalPages"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; }, { "paginationChange": "paginationChange"; }, never, never, true, never>;
|
16
17
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ProductDescModal, ProductDescStylesModal } from './product-desc.modal';
|
2
|
-
import { Product } from '../../styles/product.modal';
|
2
|
+
import { ItemImage, ItemVariant, Product } from '../../styles/product.modal';
|
3
3
|
import { ButtonModel } from '../../../styles/style.model';
|
4
4
|
import BaseSection from '../../../sections/BaseSection';
|
5
5
|
import { EventsService } from '.././../../services/events.service';
|
@@ -7,6 +7,10 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { RestService } from '../../../services/rest.service';
|
8
8
|
import { CartService } from '../../../services/cart.service';
|
9
9
|
import { FeaturedProductModal } from '../featured-products/featured-products.modal';
|
10
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
11
|
+
import { MessageService } from 'primeng/api';
|
12
|
+
import { Meta, Title } from '@angular/platform-browser';
|
13
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
14
|
import * as i0 from "@angular/core";
|
11
15
|
export declare class ProductDescComponent extends BaseSection {
|
12
16
|
private platformId;
|
@@ -15,30 +19,55 @@ export declare class ProductDescComponent extends BaseSection {
|
|
15
19
|
private readonly activatedRoute;
|
16
20
|
private readonly restService;
|
17
21
|
private readonly cartService;
|
22
|
+
private readonly storageService;
|
23
|
+
private readonly messageService;
|
24
|
+
private readonly metaTagService;
|
25
|
+
private readonly titleService;
|
26
|
+
private readonly bottomSheet;
|
18
27
|
data?: ProductDescModal;
|
19
28
|
responseData: Product;
|
20
29
|
index?: number;
|
21
30
|
edit?: boolean;
|
22
31
|
delete?: boolean;
|
23
32
|
isLoading: boolean;
|
33
|
+
featureProductData: FeaturedProductModal | null;
|
34
|
+
varients: Map<string, string[]>;
|
35
|
+
selectedVarient: Map<string, string>;
|
24
36
|
relatedProductData: Product[];
|
25
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService);
|
37
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
|
26
38
|
buttonId?: string;
|
27
39
|
button?: ButtonModel;
|
28
40
|
styles?: ProductDescStylesModal;
|
41
|
+
isItemAsFavorite: boolean;
|
42
|
+
private USER_CART;
|
43
|
+
private USER_WISHLIST;
|
44
|
+
itemImages: ItemImage[];
|
29
45
|
ngOnInit(): void;
|
46
|
+
selectVarient(key: string, value: string): void;
|
47
|
+
getItemVarient(): ItemVariant | null;
|
30
48
|
routeToHome(): void;
|
31
49
|
screenWidth: any;
|
32
50
|
getScreenSize(): void;
|
33
51
|
currentImg: any;
|
34
52
|
changeImg(url: any): void;
|
53
|
+
getKeys(varient: Object): string[];
|
54
|
+
goToCart(): void;
|
35
55
|
addToCart(type?: 'ADD' | 'SUBSTRACT'): void;
|
36
56
|
goToFilter(category: string): void;
|
37
57
|
addToFavourite(): void;
|
38
58
|
removeToFavourite(): void;
|
39
|
-
get isItemAsFavorite(): boolean;
|
40
|
-
get getFeatureProductData(): FeaturedProductModal;
|
41
59
|
getProductByCategory(): void;
|
60
|
+
getProductByCollection(): void;
|
61
|
+
changeProduct(product: Product): void;
|
62
|
+
getKeyByIdx(property: any, index: number): string;
|
63
|
+
isVarientAvailable(): boolean;
|
64
|
+
private getVarientQuantity;
|
65
|
+
private isVarientPresentInWishtlist;
|
66
|
+
editSection(): void;
|
67
|
+
get isItemOutOfStock(): boolean;
|
68
|
+
get currency(): string;
|
69
|
+
get isItemLowStock(): boolean;
|
70
|
+
get isMobile(): boolean;
|
42
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
43
72
|
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; }; }, {}, never, never, true, never>;
|
44
73
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
|
1
|
+
import { AnimationModel, BackgroundModel, InputTextModel, LayOutModel } from "../../../styles/style.model";
|
2
2
|
import { ActionModel } from '../../../styles/style.model';
|
3
3
|
export interface ProductDescModal {
|
4
4
|
id: string;
|
@@ -12,7 +12,10 @@ export interface ProductDescStylesModal {
|
|
12
12
|
layout: LayOutModel;
|
13
13
|
background: BackgroundModel;
|
14
14
|
animation: AnimationModel;
|
15
|
+
maximumProduct: number;
|
16
|
+
direction: "ROW" | "COLUMN";
|
15
17
|
}
|
16
18
|
export interface ProductDescContentModal {
|
17
19
|
button: string;
|
20
|
+
inputText: InputTextModel[];
|
18
21
|
}
|