simpo-component-library 1.4.280 → 1.4.281
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/esm2022/lib/components/hover-elements/hover-elements.component.mjs +3 -3
- package/esm2022/lib/directive/wrap-containers.directive.mjs +31 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +6 -3
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +6 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +14 -5
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +50 -23
- package/esm2022/lib/ecommerce/sections/whislist/whislist.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/blog-list/blog-list.component.mjs +3 -3
- package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +114 -44
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/wrap-containers.directive.d.ts +14 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +1 -0
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +1 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -0
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +2 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +5 -1
- 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/package.json +1 -1
- package/simpo-component-library-1.4.281.tgz +0 -0
- package/simpo-component-library-1.4.278.tgz +0 -0
- package/simpo-component-library-1.4.280.tgz +0 -0
@@ -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
|
+
}
|
@@ -45,6 +45,7 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
45
45
|
onLocationSelected(location: any): void;
|
46
46
|
onAutocompleteSelected(result: any): void;
|
47
47
|
addressSelected(index: number): void;
|
48
|
+
goToHome(): void;
|
48
49
|
updateAddress(): void;
|
49
50
|
validateMobile(event: KeyboardEvent): void;
|
50
51
|
validateName(event: KeyboardEvent): void;
|
@@ -60,11 +60,13 @@ export declare class ProductDescComponent extends BaseSection {
|
|
60
60
|
getProductByCollection(): void;
|
61
61
|
changeProduct(product: Product): void;
|
62
62
|
getKeyByIdx(property: any, index: number): string;
|
63
|
+
isVarientAvailable(): boolean;
|
63
64
|
private getVarientQuantity;
|
64
65
|
private isVarientPresentInWishtlist;
|
65
66
|
get isItemOutOfStock(): boolean;
|
66
67
|
get currency(): string;
|
67
68
|
get isItemLowStock(): boolean;
|
69
|
+
get isMobile(): boolean;
|
68
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
69
71
|
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>;
|
70
72
|
}
|
@@ -7,6 +7,7 @@ import { RestService } from "../../../services/rest.service";
|
|
7
7
|
import { StorageServiceService } from '../../../services/storage.service';
|
8
8
|
import { User } from '../../styles/user.modal';
|
9
9
|
import { MatDialog } from '@angular/material/dialog';
|
10
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
11
|
import { CookieService } from 'ngx-cookie-service';
|
11
12
|
import { MessageService } from 'primeng/api';
|
12
13
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
@@ -19,9 +20,10 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
19
20
|
private readonly storageService;
|
20
21
|
private readonly cartService;
|
21
22
|
private readonly matDialog;
|
23
|
+
private readonly matBottomSheet;
|
22
24
|
private readonly cookieService;
|
23
25
|
private readonly messageService;
|
24
|
-
constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, cookieService: CookieService, messageService: MessageService);
|
26
|
+
constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService);
|
25
27
|
data?: UserProfileModal;
|
26
28
|
index?: number;
|
27
29
|
edit?: boolean;
|
@@ -54,6 +56,8 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
54
56
|
goToHome(): void;
|
55
57
|
editAddress(index: number): void;
|
56
58
|
deleteAddress(index: number): void;
|
59
|
+
screenWidth: number;
|
60
|
+
getScreenSize(event?: any): void;
|
57
61
|
editProfile(): void;
|
58
62
|
logout(): void;
|
59
63
|
private saveProfile;
|
@@ -15,6 +15,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
15
15
|
constructor(_eventService: EventsService);
|
16
16
|
ngOnInit(): void;
|
17
17
|
get canMergeNavbar(): boolean | undefined;
|
18
|
+
get isBorderlessImage(): boolean | undefined;
|
18
19
|
editSection(): void;
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
20
21
|
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; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|