simpo-component-library 3.7.9 → 3.8.0
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/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +14 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +6 -8
- package/fesm2022/simpo-component-library.mjs +20 -12
- 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/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +4 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +0 -2
- package/package.json +1 -1
- package/simpo-component-library-3.8.0.tgz +0 -0
- package/simpo-component-library-3.7.9.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;
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
97
97
|
validateNumber(event: KeyboardEvent): void;
|
|
98
98
|
validateOTP(event: KeyboardEvent): void;
|
|
99
99
|
checkStrength(): void;
|
|
100
|
-
getStrengthColor(index: number): "
|
|
100
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
|
101
101
|
emailDebounceTimer: any;
|
|
102
102
|
onEmailChange(): void;
|
|
103
103
|
emailCheck: boolean;
|
|
@@ -27,6 +27,10 @@ export declare class CheckoutComponent extends BaseSection {
|
|
|
27
27
|
eta: string | null;
|
|
28
28
|
} | null;
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
+
/** Runs once at init (in case a saved address with a pincode was already passed in), and again
|
|
31
|
+
* from the pincode input's (ngModelChange) - at init time there's usually no pincode yet, since
|
|
32
|
+
* the shopper hasn't typed their address into this page's own form. */
|
|
33
|
+
onDeliveryPincodeChange(): void;
|
|
30
34
|
fetchLiveDeliveryEstimate(): void;
|
|
31
35
|
placeOrder(): void;
|
|
32
36
|
editSection(): void;
|
|
@@ -137,8 +137,6 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
137
137
|
isDetails: boolean;
|
|
138
138
|
pincode: any;
|
|
139
139
|
storeDetails: any;
|
|
140
|
-
deliveryPincode: any;
|
|
141
|
-
isDeliveryPinCode: boolean;
|
|
142
140
|
checkingDeliveryEstimate: boolean;
|
|
143
141
|
deliveryEstimateChecked: boolean;
|
|
144
142
|
deliveryEstimate: {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|