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.
@@ -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(): "#000" | "#FFF";
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;
@@ -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): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.7.9",
3
+ "version": "3.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file