simpo-component-library 1.4.265 → 1.4.270
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 +25 -14
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +4 -6
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +4 -4
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +14 -11
- package/fesm2022/simpo-component-library.mjs +80 -71
- 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 +5 -2
- package/lib/sections/navbar-section/navbar-section.component.d.ts +3 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.4.270.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
|
}
|
@@ -8,6 +8,7 @@ import { InputTextModel, StylesModel } from '../../../styles/style.model';
|
|
8
8
|
import { ActionModel } from "../../../styles/style.model";
|
9
9
|
import BaseSection from '../../../sections/BaseSection';
|
10
10
|
import { MessageService } from 'primeng/api';
|
11
|
+
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
interface AuthenticateSectionModel {
|
13
14
|
id: string;
|
@@ -21,11 +22,13 @@ interface AuthenticateContentModel {
|
|
21
22
|
}
|
22
23
|
export declare class AuthenticateUserComponent extends BaseSection implements OnInit {
|
23
24
|
matData: any;
|
25
|
+
bottomsheetData: any;
|
24
26
|
private readonly restService;
|
25
27
|
private readonly router;
|
26
28
|
private readonly matDialog;
|
27
29
|
private readonly storageService;
|
28
30
|
private readonly dialogRef;
|
31
|
+
private readonly bottomsheetRef;
|
29
32
|
private readonly _eventService;
|
30
33
|
private readonly messageService;
|
31
34
|
data?: AuthenticateSectionModel;
|
@@ -38,7 +41,7 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
|
|
38
41
|
screen: 'LOGIN' | 'OTP';
|
39
42
|
mobile: string | null;
|
40
43
|
countryCode: string | null;
|
41
|
-
constructor(matData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService);
|
44
|
+
constructor(matData: any, bottomsheetData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService);
|
42
45
|
styles: any;
|
43
46
|
ngOnInit(): void;
|
44
47
|
move(event: any, idx: number): void;
|
@@ -50,7 +53,7 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
|
|
50
53
|
resendOTP(): void;
|
51
54
|
get isMobileValid(): boolean;
|
52
55
|
get isMobile(): boolean;
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, null, null, null, { optional: true; }, null, null]>;
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, null, null]>;
|
54
57
|
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>;
|
55
58
|
}
|
56
59
|
export {};
|
@@ -6,12 +6,14 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import { MatDialog } from '@angular/material/dialog';
|
7
7
|
import { CookieService } from 'ngx-cookie-service';
|
8
8
|
import { StorageServiceService } from '../../services/storage.service';
|
9
|
+
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export declare class NavbarSectionComponent implements OnInit {
|
11
12
|
private readonly _eventService;
|
12
13
|
private readonly router;
|
13
14
|
private readonly activatedRoute;
|
14
15
|
private readonly matDialog;
|
16
|
+
private readonly bottomSheet;
|
15
17
|
private readonly cookieService;
|
16
18
|
private readonly storageService;
|
17
19
|
data?: HeaderSectionModel;
|
@@ -25,7 +27,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
25
27
|
action?: ActionModel;
|
26
28
|
color: string;
|
27
29
|
searchText: string;
|
28
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, cookieService: CookieService, storageService: StorageServiceService);
|
30
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, bottomSheet: MatBottomSheet, cookieService: CookieService, storageService: StorageServiceService);
|
29
31
|
searchProducts(): void;
|
30
32
|
goToFav(): void;
|
31
33
|
goToAccount(): void;
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
15
15
|
style?: PricingSectionStylesModel;
|
16
16
|
constructor(_eventService: EventsService);
|
17
17
|
ngOnInit(): void;
|
18
|
-
getTextColor(): "#
|
18
|
+
getTextColor(): "#000000" | "#ffffff";
|
19
19
|
get headingSpace(): SPACING;
|
20
20
|
editSection(): void;
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
package/package.json
CHANGED
Binary file
|