simpo-component-library 3.8.21 → 3.8.22
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 +57 -4
- package/esm2022/lib/ecommerce/sections/passbook-redemption/passbook-redemption.component.mjs +28 -14
- package/esm2022/lib/elements/add-section/add-section.component.mjs +8 -6
- package/fesm2022/simpo-component-library.mjs +86 -18
- 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/cart/cart.component.d.ts +9 -0
- package/lib/ecommerce/sections/featured-brand/featured-brand.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/passbook-redemption/passbook-redemption.component.d.ts +7 -2
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.8.22.tgz +0 -0
- package/simpo-component-library-3.8.21.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;
|
|
@@ -189,6 +189,15 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
189
189
|
isPointsRedeeming: boolean;
|
|
190
190
|
redemptionPoints: any;
|
|
191
191
|
checkAppInstalled(): void;
|
|
192
|
+
passbookAppInstalled: boolean;
|
|
193
|
+
isLoggedInForSchemes: boolean;
|
|
194
|
+
jewellerySchemes: any[];
|
|
195
|
+
jewellerySchemesLoaded: boolean;
|
|
196
|
+
get hasAnyJewellerySchemes(): boolean;
|
|
197
|
+
get jewellerySchemeAvailableAmount(): number;
|
|
198
|
+
checkPassbookAppInstalled(): void;
|
|
199
|
+
loadJewellerySchemesForCart(): void;
|
|
200
|
+
goToLoginForSchemes(): void;
|
|
192
201
|
totalSavingAmt: number;
|
|
193
202
|
totalSavingPoints: number;
|
|
194
203
|
pointsConverted: number;
|
|
@@ -36,7 +36,7 @@ export declare class FeaturedBrandComponent extends BaseSection {
|
|
|
36
36
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
37
37
|
get stylesLayout(): LayOutModel;
|
|
38
38
|
get isMobile(): boolean;
|
|
39
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
39
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedBrandComponent, never>;
|
|
41
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedBrandComponent, "simpo-featured-brand", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
42
|
}
|
|
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
|
37
37
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
38
38
|
get stylesLayout(): LayOutModel;
|
|
39
39
|
get isMobile(): boolean;
|
|
40
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
40
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
43
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
35
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
35
|
getColor(color: any): "#000000" | "#ffffff";
|
|
36
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
36
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
3
4
|
import { RestService } from '../../../services/rest.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class PassbookRedemptionComponent implements OnInit {
|
|
@@ -8,8 +9,10 @@ export declare class PassbookRedemptionComponent implements OnInit {
|
|
|
8
9
|
businessId: string;
|
|
9
10
|
userId: string;
|
|
10
11
|
cartTotal: number;
|
|
12
|
+
preloadedSchemes?: any[];
|
|
11
13
|
};
|
|
12
14
|
private readonly restService;
|
|
15
|
+
private readonly router;
|
|
13
16
|
step: 'list' | 'otp';
|
|
14
17
|
loading: boolean;
|
|
15
18
|
schemes: any[];
|
|
@@ -21,15 +24,17 @@ export declare class PassbookRedemptionComponent implements OnInit {
|
|
|
21
24
|
businessId: string;
|
|
22
25
|
userId: string;
|
|
23
26
|
cartTotal: number;
|
|
24
|
-
|
|
27
|
+
preloadedSchemes?: any[];
|
|
28
|
+
}, restService: RestService, router: Router);
|
|
25
29
|
ngOnInit(): void;
|
|
26
30
|
loadEligibleSchemes(): void;
|
|
27
31
|
selectScheme(scheme: any): void;
|
|
32
|
+
goToAllSchemes(): void;
|
|
28
33
|
get appliedAmount(): number;
|
|
29
34
|
sendOtp(): void;
|
|
30
35
|
goBackToList(): void;
|
|
31
36
|
close(): void;
|
|
32
37
|
confirm(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PassbookRedemptionComponent,
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassbookRedemptionComponent, [null, null, null, { optional: true; }]>;
|
|
34
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<PassbookRedemptionComponent, "simpo-passbook-redemption", never, {}, {}, never, never, true, never>;
|
|
35
40
|
}
|
|
@@ -32,7 +32,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
32
32
|
get stylesLayout(): LayOutModel;
|
|
33
33
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
34
34
|
get getBackgroundColor(): BackgroundModel;
|
|
35
|
-
get getBackgroundOpacity(): "
|
|
35
|
+
get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
36
36
|
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
37
37
|
editSection(): void;
|
|
38
38
|
getScreenSize(): number;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
26
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent(): import("simpo-component-library").ALIGN | "
|
|
26
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|