simpo-component-library 1.6.95 → 1.6.97
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +51 -15
- 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-category/featured-collection.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +11 -4
- package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +4 -4
- package/esm2022/lib/styles/index.mjs +7 -1
- package/fesm2022/simpo-component-library.mjs +87 -38
- package/fesm2022/simpo-component-library.mjs.map +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/authenticate-user/authenticate-user.component.d.ts +6 -0
- 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/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/navbar-section/navbar-section.component.d.ts +4 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +2 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +1 -1
- package/lib/styles/index.d.ts +5 -0
- package/package.json +1 -1
- package/simpo-component-library-1.6.97.tgz +0 -0
- package/simpo-component-library-1.6.95.tgz +0 -0
@@ -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
|
}
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
15
15
|
applyButtonStyleChanges(): void;
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
18
|
-
getTextColor(bgColor: string): "#
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
19
19
|
buttonStyleSubscription?: Subscription;
|
20
20
|
buttonStyleChangeCheck(): void;
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): 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
|
}
|
@@ -49,10 +49,16 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
|
|
49
49
|
Password: string | null;
|
50
50
|
confirmPass: string | null;
|
51
51
|
newPassword: string | null;
|
52
|
+
businessId: string | null;
|
52
53
|
buttonLoading: boolean;
|
53
54
|
constructor(matData: any, bottomsheetData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService);
|
54
55
|
styles: any;
|
55
56
|
ngOnInit(): void;
|
57
|
+
openSignup(): void;
|
58
|
+
openLogin(): void;
|
59
|
+
passScreen(): void;
|
60
|
+
emailValid: boolean;
|
61
|
+
isEmailValid(email: string | null): void;
|
56
62
|
move(event: any, idx: number): void;
|
57
63
|
close(): void;
|
58
64
|
goBack(): void;
|
@@ -24,8 +24,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
25
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
26
26
|
get getBackgroundColor(): BackgroundModel;
|
27
|
-
get getBackgroundOpacity(): "0" | "0.
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
27
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
31
31
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
24
24
|
get canMergeNavbar(): boolean | undefined;
|
25
25
|
get isBorderlessImage(): boolean | undefined;
|
26
26
|
get getPositionLayout(): PositionLayoutModal;
|
27
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
27
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
28
|
editSection(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
30
30
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
19
|
get canMergeNavbar(): boolean | undefined;
|
20
|
-
get getBackgroundOpacity(): "
|
21
|
-
opacityValue(value: OverlayValue): "
|
20
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
21
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
22
22
|
editSection(): void;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
24
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", 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; }; }, {}, never, never, true, never>;
|
@@ -7,7 +7,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
7
7
|
import { CookieService } from 'ngx-cookie-service';
|
8
8
|
import { StorageServiceService } from '../../services/storage.service';
|
9
9
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
|
-
import { ProductCardTheme } from '../../styles/index';
|
10
|
+
import { HEADER_STYLING, ProductCardTheme } from '../../styles/index';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
export declare class NavbarSectionComponent implements OnInit {
|
13
13
|
private readonly _eventService;
|
@@ -30,6 +30,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
30
30
|
color: string;
|
31
31
|
searchText: string;
|
32
32
|
theme: typeof ProductCardTheme;
|
33
|
+
HeaderStyling: typeof HEADER_STYLING;
|
33
34
|
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService);
|
34
35
|
searchProducts(): void;
|
35
36
|
goToFav(): void;
|
@@ -59,6 +60,8 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
59
60
|
get canShowMobileFooter(): boolean;
|
60
61
|
get showMobileHomeIcon(): boolean;
|
61
62
|
get getCartItemsCount(): number;
|
63
|
+
get getHeaderStyling(): HEADER_STYLING | undefined;
|
64
|
+
get isMobile(): boolean;
|
62
65
|
getKeys(object: any): string[];
|
63
66
|
getValues(object: any): unknown[];
|
64
67
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HeaderButtonStyle, ProductCardTheme } from "./../../styles/index";
|
1
|
+
import { HEADER_STYLING, HeaderButtonStyle, ProductCardTheme } from "./../../styles/index";
|
2
2
|
import { BackgroundModel, HeaderButtonStyleModel, InputTextModel, NavbarButton } from "../../styles/style.model";
|
3
3
|
import { FooterLayoutModel, FooterLogoModel, FooterSocialLinkModel } from "../footer-section/footer-section.modal";
|
4
4
|
import { ActionModel } from "../../styles/style.model";
|
@@ -26,5 +26,6 @@ export interface HeaderStyleModel {
|
|
26
26
|
sticky?: boolean;
|
27
27
|
navigationStyle: HeaderButtonStyle;
|
28
28
|
navbarButtonStyle: HeaderButtonStyleModel;
|
29
|
+
styling: HEADER_STYLING;
|
29
30
|
theme: ProductCardTheme;
|
30
31
|
}
|
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
16
16
|
style?: PricingSectionStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
|
-
getTextColor(): "#
|
19
|
+
getTextColor(): "#000000" | "#ffffff";
|
20
20
|
get headingSpace(): SPACING;
|
21
21
|
editSection(): void;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
@@ -54,7 +54,7 @@ export declare class RestService implements OnDestroy {
|
|
54
54
|
getLocationByPinCode(pincode: string): Observable<PincodeLocation>;
|
55
55
|
getLocationByPinCodeInternational(pincode: string): Observable<Object>;
|
56
56
|
createPassword(payload: any): Observable<Object>;
|
57
|
-
verifySignupOTP(
|
57
|
+
verifySignupOTP(payload: any): Observable<Object>;
|
58
58
|
signinPassword(passData: any): Observable<Object>;
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
60
60
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/lib/styles/index.d.ts
CHANGED
@@ -69,6 +69,11 @@ export declare const animation: {
|
|
69
69
|
fast: string;
|
70
70
|
};
|
71
71
|
};
|
72
|
+
export declare enum HEADER_STYLING {
|
73
|
+
LOGO_LEFT__MENU_RIGHT = "LOGO_LEFT__MENU_RIGHT",
|
74
|
+
LOGO_CENTER__MENU_LEFT = "LOGO_CENTER__MENU_LEFT",
|
75
|
+
LOGO_RIGHT__MENU_LEFT = "LOGO_RIGHT__MENU_LEFT"
|
76
|
+
}
|
72
77
|
export declare enum TEXT_SIZE {
|
73
78
|
Small = "Small",
|
74
79
|
Medium = "Medium",
|
package/package.json
CHANGED
Binary file
|
Binary file
|