simpo-component-library 3.6.125 → 3.6.127
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/ecommerce/sections/address/address.component.mjs +28 -10
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +6 -6
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +10 -5
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +2 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +5 -5
- package/fesm2022/simpo-component-library.mjs +54 -33
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +5 -2
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.127.tgz +0 -0
- package/simpo-component-library-3.6.125.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
13
13
|
constructor(elementRef: ElementRef);
|
14
14
|
ngOnChanges(changes: SimpleChanges): void;
|
15
15
|
handleMoneyInput(event: any): void;
|
16
|
-
get getTextColor(): "#
|
16
|
+
get getTextColor(): "#FFF" | "#000";
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
18
18
|
padZero(str: string, length: number): string;
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
@@ -7,6 +7,7 @@ import { AddressDetails } from '../../styles/user.modal';
|
|
7
7
|
import { EventsService } from '../../../services/events.service';
|
8
8
|
import BaseSection from '../../../sections/BaseSection';
|
9
9
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
10
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
10
11
|
import * as i0 from "@angular/core";
|
11
12
|
export declare class AddressComponent extends BaseSection implements OnInit, OnChanges {
|
12
13
|
private readonly ngZone;
|
@@ -16,6 +17,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
16
17
|
private readonly router;
|
17
18
|
private readonly storageService;
|
18
19
|
private readonly _eventService;
|
20
|
+
private snackBar;
|
19
21
|
matData: any;
|
20
22
|
matDialogRef: MatDialogRef<AddressComponent>;
|
21
23
|
responseData: any;
|
@@ -28,7 +30,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
28
30
|
selectedAddressIdx: number;
|
29
31
|
styles: any;
|
30
32
|
selectedAddress: EventEmitter<number>;
|
31
|
-
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
33
|
+
constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, snackBar: MatSnackBar, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
|
32
34
|
address: AddressDetails;
|
33
35
|
isCart: boolean;
|
34
36
|
editIndex: number;
|
@@ -60,9 +62,10 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
60
62
|
updateAddress(): void;
|
61
63
|
validateMobile(event: KeyboardEvent): void;
|
62
64
|
validateName(event: KeyboardEvent): void;
|
65
|
+
validatePincode(): boolean;
|
63
66
|
editSection(): void;
|
64
67
|
get isEmailValid(): boolean;
|
65
68
|
get isMobile(): boolean;
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
67
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
68
71
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
58
58
|
validateNumber(event: KeyboardEvent): void;
|
59
59
|
validateOTP(event: KeyboardEvent): void;
|
60
60
|
checkStrength(): void;
|
61
|
-
getStrengthColor(index: number): "
|
61
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
62
62
|
get isEmailValid(): boolean;
|
63
63
|
get isPasswordValid(): boolean;
|
64
64
|
get isMobile(): boolean;
|
@@ -105,7 +105,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
105
105
|
languages: string[];
|
106
106
|
selectedLang: string;
|
107
107
|
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
108
|
-
onFindInStore(): void;
|
108
|
+
onFindInStore(id: string): void;
|
109
109
|
onBookAppointment(): void;
|
110
110
|
isDetails: boolean;
|
111
111
|
pincode: any;
|
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
|
|
28
28
|
buttonStyles: any;
|
29
29
|
changeButtonStyle(): void;
|
30
30
|
backgroundType: string[];
|
31
|
-
setBorderRadius(): "0px" | "
|
31
|
+
setBorderRadius(): "0px" | "99px" | "7px";
|
32
32
|
setBorder(): string;
|
33
33
|
setColor(): any;
|
34
34
|
setBackground(): any;
|
package/package.json
CHANGED
Binary file
|
Binary file
|