simpo-component-library 1.4.246 → 1.4.251
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +24 -4
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +15 -5
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +7 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +6 -4
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +13 -6
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +6 -4
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
- package/esm2022/lib/sections/video-section/video-section.component.mjs +11 -3
- package/esm2022/lib/services/rest.service.mjs +8 -8
- package/fesm2022/simpo-component-library.mjs +82 -36
- 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/address/address.component.d.ts +2 -0
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +5 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/video-section/video-section.component.d.ts +4 -2
- package/package.json +1 -1
- package/simpo-component-library-1.4.250.tgz +0 -0
- package/simpo-component-library-1.4.251.tgz +0 -0
- package/simpo-component-library-1.4.234.tgz +0 -0
- package/simpo-component-library-1.4.235.tgz +0 -0
- package/simpo-component-library-1.4.236.tgz +0 -0
- package/simpo-component-library-1.4.240.tgz +0 -0
- package/simpo-component-library-1.4.241.tgz +0 -0
- package/simpo-component-library-1.4.245.tgz +0 -0
- package/simpo-component-library-1.4.246.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
|
}
|
@@ -20,6 +20,7 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
20
20
|
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
21
21
|
address: any;
|
22
22
|
isCart: boolean;
|
23
|
+
private editIndex;
|
23
24
|
private latitute;
|
24
25
|
private longitute;
|
25
26
|
addNewAddress: boolean;
|
@@ -45,6 +46,7 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
45
46
|
onAutocompleteSelected(result: any): void;
|
46
47
|
addressSelected(index: number): void;
|
47
48
|
updateAddress(): void;
|
49
|
+
get isEmailValid(): boolean;
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
49
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
50
52
|
}
|
@@ -10,6 +10,7 @@ import BaseSection from '../../../sections/BaseSection';
|
|
10
10
|
import { MessageService } from 'primeng/api';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
interface AuthenticateSectionModel {
|
13
|
+
id: string;
|
13
14
|
content: AuthenticateContentModel;
|
14
15
|
styles: StylesModel;
|
15
16
|
action: ActionModel;
|
@@ -28,6 +29,9 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
|
|
28
29
|
private readonly _eventService;
|
29
30
|
private readonly messageService;
|
30
31
|
data?: AuthenticateSectionModel;
|
32
|
+
index?: number;
|
33
|
+
edit?: boolean;
|
34
|
+
delete?: boolean;
|
31
35
|
isLoading: boolean;
|
32
36
|
otpData: undefined[];
|
33
37
|
otpString: string;
|
@@ -47,6 +51,6 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
|
|
47
51
|
get isMobileValid(): boolean;
|
48
52
|
get isMobile(): boolean;
|
49
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, null, null, null, { optional: true; }, null, null]>;
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
54
|
+
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>;
|
51
55
|
}
|
52
56
|
export {};
|
@@ -52,6 +52,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
52
52
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
53
53
|
selectVarient(product: Product, varient: ItemVariant): void;
|
54
54
|
get currency(): string;
|
55
|
+
get isMobile(): boolean;
|
55
56
|
private getVarientQuantity;
|
56
57
|
private isVarientPresentInWishtlist;
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
@@ -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>;
|
@@ -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;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|