simpo-component-library 1.5.0 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- 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/border-directive.mjs +23 -11
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +48 -0
- 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/featured-category/featured-category.component.mjs +13 -4
- 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/OrderedItems.modal.mjs +11 -3
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +2 -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/covering-image-card/covering-image-card.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/banner-carousel/banner-carousel.component.mjs +3 -3
- 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/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 +2 -2
- 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/features-section/features-section.component.mjs +3 -3
- 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/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/sections/location-section/location-section.component.mjs +2 -2
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
- 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/process-modern/process-modern.component.mjs +3 -3
- package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
- package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
- package/esm2022/lib/sections/service-section/service-section.component.mjs +1 -1
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +1 -1
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
- 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/video-section/video-section.component.mjs +11 -3
- 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 +2518 -712
- 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/simpo-component-library-1.5.2.tgz +0 -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
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
1
|
+
import { ElementRef, SimpleChanges } from '@angular/core';
|
2
2
|
import { videoSectionContentModel, videoSectionModel, videoSectionStyleModel } from './video-section.model';
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
3
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
4
4
|
import { EventsService } from './../../services/events.service';
|
5
5
|
import BaseSection from '../BaseSection';
|
6
6
|
import { SPACING } from '../../styles/index';
|
@@ -17,6 +17,8 @@ export declare class VideoSectionComponent extends BaseSection {
|
|
17
17
|
videoLink: string;
|
18
18
|
content?: videoSectionContentModel;
|
19
19
|
style?: videoSectionStyleModel;
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
21
|
+
safeVideoUrl: SafeResourceUrl;
|
20
22
|
ngOnInit(): void;
|
21
23
|
youTubeIdFromLink(url: string): string | undefined;
|
22
24
|
get getVideoLink(): string;
|
@@ -2,22 +2,27 @@ import { OrderedItems } from '../ecommerce/styles/OrderedItems.modal';
|
|
2
2
|
import { Product } from '../ecommerce/styles/product.modal';
|
3
3
|
import { RestService } from './rest.service';
|
4
4
|
import { StorageServiceService } from './storage.service';
|
5
|
+
import { Cart } from '../ecommerce/styles/cart.modal';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class CartService {
|
7
8
|
private readonly storageService;
|
8
9
|
private readonly restService;
|
9
10
|
constructor(storageService: StorageServiceService, restService: RestService);
|
10
|
-
addItemFromCartPage(product: OrderedItems): import("rxjs").Observable<Object>;
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
addItemFromCartPage(product: OrderedItems, userCart: any): import("rxjs").Observable<Object>;
|
12
|
+
addItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
13
|
+
removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
14
|
+
addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
|
15
|
+
addItemToFavourite(product: Product, varientId?: string): void;
|
16
|
+
addItemToFavFromCart(product: OrderedItems): void;
|
17
|
+
addOrderedItemToFavourite(orderedItem: OrderedItems): void;
|
18
|
+
removeItemFromFavourite(varientId: string): void;
|
14
19
|
removeItemFromCart(product: Product | OrderedItems): void;
|
20
|
+
getItemIdxJSON(id: string, type: 'FAVOURITE' | 'CART'): Promise<IDBRequest<any>>;
|
15
21
|
storeItemToDB(product: Product, type: 'CART' | 'WISHLIST'): void;
|
16
|
-
getItemIdxJSON(itemId: string, type: 'FAVOURITE' | 'CART'): number;
|
17
|
-
getItemByIdx(itemId: string, type: 'FAVOURITE' | 'CART'): OrderedItems | null;
|
18
22
|
private objectMapper;
|
19
|
-
|
20
|
-
|
23
|
+
storeCartDataToServer(cart: Cart): void;
|
24
|
+
clearCartItems(): void;
|
25
|
+
storeDataToServer(): void;
|
21
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
|
22
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
|
23
28
|
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
2
|
+
import { StorageServiceService } from "./storage.service";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class EndUserService implements OnInit, OnDestroy {
|
5
|
+
private readonly storageService;
|
6
|
+
constructor(storageService: StorageServiceService);
|
7
|
+
paymentStatusEvent: EventEmitter<boolean>;
|
8
|
+
private eventRef;
|
9
|
+
ngOnInit(): void;
|
10
|
+
ngOnDestroy(): void;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EndUserService, never>;
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EndUserService>;
|
13
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class EventsService {
|
3
|
+
export declare class EventsService implements OnInit {
|
4
4
|
constructor();
|
5
|
+
ngOnInit(): void;
|
5
6
|
editSection: EventEmitter<unknown>;
|
6
7
|
duplicate: EventEmitter<unknown>;
|
7
8
|
delete: EventEmitter<unknown>;
|
@@ -41,6 +42,8 @@ export declare class EventsService {
|
|
41
42
|
environmentType: EventEmitter<string>;
|
42
43
|
showLoadingScreen: EventEmitter<boolean>;
|
43
44
|
cashFreeEvent: EventEmitter<unknown>;
|
45
|
+
addressAddedIdx: EventEmitter<number>;
|
46
|
+
showBagIcon: EventEmitter<boolean>;
|
44
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
|
45
48
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
|
46
49
|
}
|
@@ -14,8 +14,18 @@ export declare class RestService implements OnDestroy {
|
|
14
14
|
getProductDetails(productId?: string | null): Observable<any>;
|
15
15
|
getAllCategories(): Observable<any>;
|
16
16
|
getAllCollections(): Observable<any>;
|
17
|
-
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<
|
18
|
-
|
17
|
+
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<{
|
18
|
+
count: any;
|
19
|
+
data: any;
|
20
|
+
}>;
|
21
|
+
getProductByCategoryId(categoryId: string): Observable<{
|
22
|
+
count: any;
|
23
|
+
data: any;
|
24
|
+
}>;
|
25
|
+
getProductByCollectionId(collectionId: string): Observable<{
|
26
|
+
count: any;
|
27
|
+
data: any;
|
28
|
+
}>;
|
19
29
|
generateOTP(mobile: string, countryCode: string): Observable<Object>;
|
20
30
|
verifyOTP(mobile: string, otp: string): Observable<Object>;
|
21
31
|
resendOTP(mobile: string, countryCode: string): Observable<Object>;
|
@@ -25,7 +35,11 @@ export declare class RestService implements OnDestroy {
|
|
25
35
|
getUserInfo(userId: string): Observable<Object>;
|
26
36
|
addUserAddress(user: any): Observable<Object>;
|
27
37
|
updateProfile(payload: any): Observable<Object>;
|
38
|
+
getUserOrders(payload: any): Observable<Object>;
|
28
39
|
toggleItemCartToFav(): void;
|
40
|
+
moveWishlistToCart(): Observable<Object>;
|
41
|
+
getUserWishlist(userId: string): Observable<Object>;
|
42
|
+
moveItemToCart(userId: string, payload: any): Observable<Object>;
|
29
43
|
createPaymentToken(payload: any): Observable<Object>;
|
30
44
|
refundPayment(orderId: string, payload: any): Observable<Object>;
|
31
45
|
checkPaymentStatus(payload: any): Observable<Object>;
|
@@ -9,6 +9,8 @@ export declare class StorageServiceService {
|
|
9
9
|
private readonly cookieService;
|
10
10
|
private readonly restService;
|
11
11
|
constructor(eventService: EventsService, cookieService: CookieService, restService: RestService);
|
12
|
+
private totalCartItems;
|
13
|
+
get getTotalCartItems(): number;
|
12
14
|
databaseName: string;
|
13
15
|
databaseVersion: number;
|
14
16
|
cartCollectionName: string;
|
@@ -20,57 +22,22 @@ export declare class StorageServiceService {
|
|
20
22
|
userCollectionRef: IDBObjectStore | null;
|
21
23
|
createDataBase(): Promise<void>;
|
22
24
|
storeDataToJSON(): Promise<void>;
|
23
|
-
calculateBillingDetails():
|
24
|
-
orderedItems: never[];
|
25
|
-
cartType: string;
|
26
|
-
billdetails: {
|
27
|
-
totalNetValue: number;
|
28
|
-
totalGrossValue: number;
|
29
|
-
totalTax: number;
|
30
|
-
totalOfferedValue: number;
|
31
|
-
deliveryCharges: number;
|
32
|
-
couponId: string;
|
33
|
-
discountAmount: number;
|
34
|
-
afterDiscountAmount: number;
|
35
|
-
taxBreakup: {
|
36
|
-
cgstValue: number;
|
37
|
-
sgstValue: number;
|
38
|
-
igstValue: number;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
userDetails: {
|
42
|
-
userId: string;
|
43
|
-
userName: string;
|
44
|
-
mobile: string;
|
45
|
-
email: string;
|
46
|
-
pinCode: string;
|
47
|
-
};
|
48
|
-
locationDetails: {
|
49
|
-
countryId: string;
|
50
|
-
cityId: string;
|
51
|
-
stateId: string;
|
52
|
-
localityId: string;
|
53
|
-
countryName: string;
|
54
|
-
cityName: string;
|
55
|
-
stateName: string;
|
56
|
-
localityName: string;
|
57
|
-
pinCode: string;
|
58
|
-
};
|
59
|
-
platform: string;
|
60
|
-
totalAmount: number;
|
61
|
-
cartId: string;
|
62
|
-
};
|
25
|
+
calculateBillingDetails(): void;
|
63
26
|
updateAllData(): void;
|
64
|
-
getUserCart(): Promise<IDBRequest<
|
27
|
+
getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
|
65
28
|
addProductToCart(product: OrderedItems): IDBRequest<IDBValidKey>;
|
29
|
+
addAllProductToWishlist(products: OrderedItems[]): IDBTransaction;
|
30
|
+
addAllProductsToCart(products: OrderedItems[]): IDBTransaction;
|
66
31
|
removeProductFromCart(productId: string): IDBRequest<undefined>;
|
67
32
|
getProductFromCart(productId: string): Promise<IDBRequest<any>>;
|
68
|
-
getUserWhishlist(): Promise<IDBRequest<
|
33
|
+
getUserWhishlist(): Promise<IDBRequest<OrderedItems[]>>;
|
69
34
|
addProductToWishlist(product: OrderedItems): IDBRequest<IDBValidKey>;
|
70
35
|
removeProductFromWishlist(productId: string): IDBRequest<undefined>;
|
71
36
|
getProductFromWishlist(productId: string): Promise<IDBRequest<any>>;
|
72
|
-
|
73
|
-
|
37
|
+
clearUserCart(): IDBRequest<undefined>;
|
38
|
+
clearUserWishlist(): IDBRequest<undefined>;
|
39
|
+
setUser(user: User): User;
|
40
|
+
getUser(): User | null;
|
74
41
|
storePaymentFor(paymentFor: string): void;
|
75
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<StorageServiceService, never>;
|
76
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<StorageServiceService>;
|
package/lib/styles/index.d.ts
CHANGED
@@ -27,6 +27,12 @@ export declare enum BANNERALIGNMENT {
|
|
27
27
|
top = "flex-lg-column",
|
28
28
|
bottom = "flex-lg-column-reverse"
|
29
29
|
}
|
30
|
+
export declare enum SPACINGALIGN {
|
31
|
+
large = "8rem",
|
32
|
+
medium = "6rem",
|
33
|
+
small = "2rem",
|
34
|
+
none = "0rem"
|
35
|
+
}
|
30
36
|
export declare enum BANNERHALIGN {
|
31
37
|
left = "justify-content-start text-start",
|
32
38
|
center = "justify-content-center text-center",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
2
|
-
import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION } from './types';
|
2
|
+
import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION, BORDER_DIRECTION } from './types';
|
3
3
|
export interface SpacingModel {
|
4
4
|
top: SPACING_TYPE;
|
5
5
|
bottom: SPACING_TYPE;
|
@@ -13,6 +13,8 @@ export interface BorderModel {
|
|
13
13
|
color: string;
|
14
14
|
type: string;
|
15
15
|
thickness: string;
|
16
|
+
direction?: BORDER_DIRECTION[];
|
17
|
+
radius?: number;
|
16
18
|
}
|
17
19
|
export interface DeviderModel {
|
18
20
|
display: boolean;
|
@@ -22,6 +24,7 @@ export interface LayOutModel {
|
|
22
24
|
fit: FIT;
|
23
25
|
headingSpacing?: SPACING;
|
24
26
|
spacing: SpacingModel;
|
27
|
+
spacingHorizontal?: SPACING_TYPE;
|
25
28
|
}
|
26
29
|
export interface BannerLayOutModel {
|
27
30
|
layoutAlignment: PositionLayoutModal;
|
package/lib/styles/types.d.ts
CHANGED
@@ -5,6 +5,7 @@ export type CONTENTPOSITION = 'image center' | 'image top' | 'image bottom';
|
|
5
5
|
export type FIT = 'content' | 'screen';
|
6
6
|
export type CARD_SIZE = 'Small' | 'Medium' | 'Large';
|
7
7
|
export type ANIMATION_DIRECTION = 'left' | 'top' | 'bottom' | 'right' | 'fadeIn' | 'zoom' | 'none';
|
8
|
+
export type BORDER_DIRECTION = "ALL" | "LEFT" | "RIGHT" | "TOP" | "BOTTOM";
|
8
9
|
export type ANIMATION_SPEED = 'slow' | 'medium' | 'fast';
|
9
10
|
export type LINK_TYPE = 'Button' | 'List Item';
|
10
11
|
export type BUTTON_TYPE = 'Solid' | 'Outline';
|
@@ -16,3 +17,4 @@ export type SOCIAL_ICON_TYPE = 'solid' | 'outline';
|
|
16
17
|
export type SITE_NAME_LOGo = 'custom' | 'same as header';
|
17
18
|
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email";
|
18
19
|
export type MAP_STYLE = 'Streets' | 'Outdoors' | 'Light' | 'Dark' | 'Satellite' | 'Satellite_street' | 'navigation_day' | 'navigation_night';
|
20
|
+
export type BANNER_TRANSITION = 'Horizontal' | 'Animated';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -38,7 +38,10 @@ export * from './lib/ecommerce/sections/checkout/checkout.component';
|
|
38
38
|
export * from './lib/ecommerce/sections/whislist/whislist.component';
|
39
39
|
export * from './lib/ecommerce/sections/user-profile/user-profile.component';
|
40
40
|
export * from './lib/ecommerce/sections/authenticate-user/authenticate-user.component';
|
41
|
+
export * from './lib/ecommerce/sections/verify-payment/verify-payment.component';
|
42
|
+
export * from './lib/ecommerce/sections/verify-payment/verify-payment.component';
|
41
43
|
export * from './lib/services/events.service';
|
44
|
+
export * from './lib/services/endUser.service';
|
42
45
|
export * from './lib/directive/animation-directive';
|
43
46
|
export * from './lib/directive/background-directive';
|
44
47
|
export * from './lib/directive/banner-content-fit-directive';
|
Binary file
|
@@ -1,40 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"orderedItems": [],
|
3
|
-
"cartType": "CART",
|
4
|
-
"billdetails": {
|
5
|
-
"totalNetValue": 0,
|
6
|
-
"totalGrossValue": 0,
|
7
|
-
"totalTax": 0,
|
8
|
-
"totalOfferedValue": 0,
|
9
|
-
"deliveryCharges": 0,
|
10
|
-
"couponId": "",
|
11
|
-
"discountAmount": 0,
|
12
|
-
"afterDiscountAmount": 0,
|
13
|
-
"taxBreakup": {
|
14
|
-
"cgstValue": 0,
|
15
|
-
"sgstValue": 0,
|
16
|
-
"igstValue": 0
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"userDetails": {
|
20
|
-
"userId": "",
|
21
|
-
"userName": "",
|
22
|
-
"mobile": "",
|
23
|
-
"email": "",
|
24
|
-
"pinCode": ""
|
25
|
-
},
|
26
|
-
"locationDetails": {
|
27
|
-
"countryId": "",
|
28
|
-
"cityId": "",
|
29
|
-
"stateId": "",
|
30
|
-
"localityId": "",
|
31
|
-
"countryName": "",
|
32
|
-
"cityName": "",
|
33
|
-
"stateName": "",
|
34
|
-
"localityName": "",
|
35
|
-
"pinCode": ""
|
36
|
-
},
|
37
|
-
"platform": "WEB",
|
38
|
-
"totalAmount": 0,
|
39
|
-
"cartId": ""
|
40
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"orderedItems": [],
|
3
|
-
"cartType": "WISHLIST",
|
4
|
-
"billdetails": {
|
5
|
-
"totalNetValue": 0,
|
6
|
-
"totalGrossValue": 0,
|
7
|
-
"totalTax": 0,
|
8
|
-
"totalOfferedValue": 0,
|
9
|
-
"deliveryCharges": 0,
|
10
|
-
"couponId": "",
|
11
|
-
"discountAmount": 0,
|
12
|
-
"afterDiscountAmount": 0,
|
13
|
-
"taxBreakup": {
|
14
|
-
"cgstValue": 0,
|
15
|
-
"sgstValue": 0,
|
16
|
-
"igstValue": 0
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"locationDetails": {
|
20
|
-
"countryId": "",
|
21
|
-
"cityId": "",
|
22
|
-
"stateId": "",
|
23
|
-
"localityId": "",
|
24
|
-
"countryName": "",
|
25
|
-
"cityName": "",
|
26
|
-
"stateName": "",
|
27
|
-
"localityName": "",
|
28
|
-
"pinCode": ""
|
29
|
-
},
|
30
|
-
"platform": "WEB",
|
31
|
-
"totalAmount": 0
|
32
|
-
}
|
Binary file
|