simpo-component-library 1.5.47 → 1.5.50
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 +3 -3
- package/esm2022/lib/directive/content-fit-directive.mjs +1 -1
- package/esm2022/lib/directive/content-title-spacing.directive.mjs +4 -1
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +13 -7
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -4
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +9 -2
- package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
- package/esm2022/lib/styles/index.mjs +4 -3
- package/esm2022/lib/styles/types.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +2493 -2473
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/content-title-spacing.directive.d.ts +2 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +5 -3
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/styles/index.d.ts +2 -1
- package/lib/styles/types.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.5.48.tgz +0 -0
- package/simpo-component-library-1.5.50.tgz +0 -0
- package/simpo-component-library-1.5.47.tgz +0 -0
@@ -4,7 +4,7 @@ import BaseSection from '../../../sections/BaseSection';
|
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
5
5
|
import { CartService } from '../../../services/cart.service';
|
6
6
|
import { Router } from '@angular/router';
|
7
|
-
import { MatDialog } from '@angular/material/dialog';
|
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
10
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
@@ -20,6 +20,7 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
20
20
|
private readonly storageService;
|
21
21
|
private readonly messageService;
|
22
22
|
private readonly bottomSheet;
|
23
|
+
dialogRef: MatDialogRef<CartComponent>;
|
23
24
|
data?: CartSectionModal;
|
24
25
|
responseData?: any;
|
25
26
|
index?: number;
|
@@ -28,7 +29,7 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
28
29
|
isLoading: boolean;
|
29
30
|
styles?: CartSectionStylesModel;
|
30
31
|
currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
|
31
|
-
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet);
|
32
|
+
constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet, dialogRef: MatDialogRef<CartComponent>);
|
32
33
|
private userDetails;
|
33
34
|
private USER_CART_ITEMS;
|
34
35
|
selectedAddressIdx: number;
|
@@ -47,9 +48,10 @@ export declare class CartComponent extends BaseSection implements OnInit {
|
|
47
48
|
isItemOutOfStock(product: OrderedItems): boolean;
|
48
49
|
getKeys(object: Object): string[];
|
49
50
|
editSection(): void;
|
51
|
+
closeWindow(): void;
|
50
52
|
get getAddressList(): import("../../styles/user.modal").AddressDetails[];
|
51
53
|
get isMobile(): boolean;
|
52
54
|
get currency(): string;
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent,
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
54
56
|
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>;
|
55
57
|
}
|
@@ -22,7 +22,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
22
22
|
constructor(platformId: Object, router: Router, restService: RestService, _eventService: EventsService);
|
23
23
|
ngOnInit(): void;
|
24
24
|
getSliceParameters(): number[];
|
25
|
-
redirectToListPage(category:
|
25
|
+
redirectToListPage(category: any): void;
|
26
26
|
getAllCategoriesByCollectionId(): void;
|
27
27
|
editSection(): void;
|
28
28
|
get stylesLayout(): LayOutModel;
|
@@ -22,7 +22,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
22
22
|
ngOnInit(): void;
|
23
23
|
getSliceParameters(): number[];
|
24
24
|
getCollectionsIds(): void;
|
25
|
-
redirectToListPage(collection:
|
25
|
+
redirectToListPage(collection: any): void;
|
26
26
|
get stylesLayout(): LayOutModel;
|
27
27
|
editSection(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
@@ -3,7 +3,7 @@ import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStyle
|
|
3
3
|
import { Product, ItemVariant } from '../../styles/product.modal';
|
4
4
|
import { EventsService } from '.././../../services/events.service';
|
5
5
|
import BaseSection from '../../../sections/BaseSection';
|
6
|
-
import { ButtonModel } from '../../../styles/style.model';
|
6
|
+
import { ButtonModel, LayOutModel } 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';
|
@@ -57,6 +57,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
57
57
|
get isMobile(): boolean;
|
58
58
|
private getVarientQuantity;
|
59
59
|
private isVarientPresentInWishtlist;
|
60
|
+
get stylesLayout(): LayOutModel;
|
60
61
|
editSection(): void;
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
62
63
|
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>;
|
@@ -23,8 +23,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
23
23
|
get stylesLayout(): LayOutModel;
|
24
24
|
get getBlurValue(): OverlayValue | undefined;
|
25
25
|
get getBackgroundColor(): BackgroundModel;
|
26
|
-
get getBackgroundOpacity(): "0" | "0.
|
27
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
26
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
27
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
28
|
editSection(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
|
@@ -23,7 +23,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
23
23
|
get canMergeNavbar(): boolean | undefined;
|
24
24
|
get isBorderlessImage(): boolean | undefined;
|
25
25
|
get getPositionLayout(): PositionLayoutModal;
|
26
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
26
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
27
27
|
editSection(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", 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>;
|
package/lib/styles/index.d.ts
CHANGED
package/lib/styles/types.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export type SPACING_TYPE = 'none' | 'small' | 'medium' | 'large';
|
1
|
+
export type SPACING_TYPE = 'none' | 'small' | 'medium' | 'large' | 'remove';
|
2
2
|
export type ALIGN = 'left' | 'center' | 'right';
|
3
3
|
export type LAYOUTPOSITION = 'left' | 'right' | 'top' | 'bottom';
|
4
4
|
export type CONTENTPOSITION = 'image center' | 'image top' | 'image bottom';
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|