simpo-component-library 3.6.725 → 3.6.727
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 +10 -208
- package/esm2022/lib/ecommerce/sections/categories-with-image-background-columns/categories-with-image-background-columns.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +2 -7
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +4 -13
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -10
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +80 -0
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.modal.mjs +2 -0
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +2 -4
- package/esm2022/lib/services/rest.service.mjs +2 -7
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +86 -248
- 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 +0 -28
- 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/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/refer-earn/refer-earn.component.d.ts +2 -6
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +0 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/faq-columns-cards/faq-columns-cards.component.d.ts +23 -0
- package/lib/sections/faq-columns-cards/faq-columns-cards.modal.d.ts +16 -0
- 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/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +0 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.6.727.tgz +0 -0
- package/simpo-component-library-3.6.725.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(): "#000" | "#FFF";
|
|
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
|
@@ -82,7 +82,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
82
82
|
validateNumber(event: KeyboardEvent): void;
|
|
83
83
|
validateOTP(event: KeyboardEvent): void;
|
|
84
84
|
checkStrength(): void;
|
|
85
|
-
getStrengthColor(index: number): "
|
|
85
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
|
86
86
|
emailDebounceTimer: any;
|
|
87
87
|
onEmailChange(): void;
|
|
88
88
|
emailCheck: boolean;
|
|
@@ -88,7 +88,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
88
88
|
private moveItemToWishlist;
|
|
89
89
|
private removeItemFromCart;
|
|
90
90
|
addToCart(item: OrderedItems, quantity: number): void;
|
|
91
|
-
cartId: any;
|
|
92
91
|
placeOrderLoader: boolean;
|
|
93
92
|
proceedToPayment(): Promise<void>;
|
|
94
93
|
addressSelected(index: number): void;
|
|
@@ -98,20 +97,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
98
97
|
closeWindow(): void;
|
|
99
98
|
couponDialogRef: MatDialogRef<unknown> | null;
|
|
100
99
|
openDialog(container: any): void;
|
|
101
|
-
listRedemptionCoupons: any;
|
|
102
|
-
appliedVoucher: any;
|
|
103
|
-
redemptionType: "COUPONS" | "VOUCHERS";
|
|
104
|
-
redemptionCouponType: "REWARDS" | "DISCOUNTS";
|
|
105
|
-
selectedVoucherId: any;
|
|
106
|
-
selectedVoucherAmount: any;
|
|
107
|
-
selectedVoucherCode: any;
|
|
108
|
-
listRedemptionVouchers: any;
|
|
109
|
-
selectedVoucherPercentage: any;
|
|
110
|
-
percentageReduced: any;
|
|
111
|
-
couponValueType: string;
|
|
112
|
-
addRedemptionCoupon(container: any): void;
|
|
113
|
-
applyRedemptionCoupon(voucher: any): void;
|
|
114
|
-
removeRedemptionCoupon(event?: Event): void;
|
|
115
100
|
searchIfApplicable(): void;
|
|
116
101
|
closeDialogRef(): void;
|
|
117
102
|
applyCoupon(coupon: Coupon): void;
|
|
@@ -140,19 +125,6 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
140
125
|
getGradientDirection(direction: string | undefined): string;
|
|
141
126
|
increaseQty(item: any): void;
|
|
142
127
|
decreaseQty(item: any): void;
|
|
143
|
-
referEarnExist: boolean;
|
|
144
|
-
isPointsRedeeming: boolean;
|
|
145
|
-
redemptionPoints: any;
|
|
146
|
-
checkAppInstalled(): void;
|
|
147
|
-
totalSavingAmt: number;
|
|
148
|
-
totalSavingPoints: number;
|
|
149
|
-
pointsConverted: number;
|
|
150
|
-
usedPoints: any;
|
|
151
|
-
getRedeemPoints(): void;
|
|
152
|
-
onPointsRedeemingChange(event: Event): void;
|
|
153
|
-
get getRemainingPoints(): number;
|
|
154
|
-
get getRemainingRupees(): any;
|
|
155
|
-
paymentWithCompletePoints(): void;
|
|
156
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
157
129
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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; }; }, {}, never, never, true, never>;
|
|
158
130
|
}
|
|
@@ -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
|
}
|
|
@@ -121,7 +121,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
121
121
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
122
122
|
languages: string[];
|
|
123
123
|
selectedLang: string;
|
|
124
|
-
getClass(map: any): "col-
|
|
124
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
|
125
125
|
onFindInStore(id: string): void;
|
|
126
126
|
onBookAppointment(): void;
|
|
127
127
|
isDetails: boolean;
|
|
@@ -3,15 +3,11 @@ import { LayOutModel } from '../../../styles/style.model';
|
|
|
3
3
|
import { ProductDescStylesModal } from './refer-earn.modal';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
5
5
|
import { Router } from '@angular/router';
|
|
6
|
-
import BaseSection from '../../../sections/BaseSection';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ReferEarnComponent
|
|
7
|
+
export declare class ReferEarnComponent implements OnInit {
|
|
9
8
|
private readonly storageService;
|
|
10
9
|
private readonly router;
|
|
11
10
|
data?: any;
|
|
12
|
-
edit?: boolean;
|
|
13
|
-
delete?: boolean;
|
|
14
|
-
index?: number;
|
|
15
11
|
styles?: ProductDescStylesModal;
|
|
16
12
|
userDetail: any;
|
|
17
13
|
constructor(storageService: StorageServiceService, router: Router);
|
|
@@ -25,5 +21,5 @@ export declare class ReferEarnComponent extends BaseSection implements OnInit {
|
|
|
25
21
|
get getName(): any;
|
|
26
22
|
get getWebUrl(): string;
|
|
27
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferEarnComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; };
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferEarnComponent, "simpo-refer-earn", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
25
|
}
|
|
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
|
|
|
21
21
|
get stylesLayout(): LayOutModel;
|
|
22
22
|
get spacingLayout(): SpacingModel;
|
|
23
23
|
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
|
24
|
-
getClass(index: number): "col-
|
|
24
|
+
getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
|
|
25
25
|
showSchemeDetails(scheme: any): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -52,7 +52,6 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
|
52
52
|
getMyReferralsUrl: SafeResourceUrl;
|
|
53
53
|
getRewardsUrl: SafeResourceUrl;
|
|
54
54
|
ngOnInit(): void;
|
|
55
|
-
getTotalAmtPaid(order: any): any;
|
|
56
55
|
checkPassbookApp(): void;
|
|
57
56
|
closeDialog(): void;
|
|
58
57
|
storeCharges: any;
|
|
@@ -33,7 +33,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
33
33
|
get stylesLayout(): LayOutModel;
|
|
34
34
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
35
35
|
get getBackgroundColor(): BackgroundModel;
|
|
36
|
-
get getBackgroundOpacity(): "
|
|
36
|
+
get getBackgroundOpacity(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
37
37
|
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
38
38
|
editSection(): void;
|
|
39
39
|
getScreenSize(): number;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FAQColumnsCardsContentModal, FAQColumnsCardsModal } from './faq-columns-cards.modal';
|
|
2
|
+
import BaseSection from '../BaseSection';
|
|
3
|
+
import { FAQStylesModel } from '../faq-section/faq-section.modal';
|
|
4
|
+
import { BackgroundModel, LayOutModel } from '../../styles/style.model';
|
|
5
|
+
import { SPACING } from '../../styles/index';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FaqColumnsCardsComponent extends BaseSection {
|
|
8
|
+
data?: FAQColumnsCardsModal;
|
|
9
|
+
customClass?: string;
|
|
10
|
+
content?: FAQColumnsCardsContentModal;
|
|
11
|
+
style?: FAQStylesModel;
|
|
12
|
+
index?: number;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
edit?: boolean;
|
|
15
|
+
nextComponentColor?: BackgroundModel;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
get headingSpace(): SPACING;
|
|
19
|
+
get stylesLayout(): LayOutModel;
|
|
20
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FaqColumnsCardsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FaqColumnsCardsComponent, "simpo-faq-columns-cards", never, { "data": { "alias": "data"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FAQStylesModel } from '../faq-section/faq-section.modal';
|
|
2
|
+
import { InputTextModel, ListItemModal } from './../../styles/style.model';
|
|
3
|
+
export interface FAQColumnsCardsModal {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: FAQColumnsCardsContentModal;
|
|
8
|
+
styles: FAQStylesModel;
|
|
9
|
+
}
|
|
10
|
+
export interface FAQColumnsCardsContentModal {
|
|
11
|
+
inputText: [InputTextModel];
|
|
12
|
+
listItem: ListItemModal<FAQItemModal>;
|
|
13
|
+
}
|
|
14
|
+
export interface FAQItemModal {
|
|
15
|
+
inputText: InputTextModel[];
|
|
16
|
+
}
|
|
@@ -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;
|
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
redirectTo(data: any): void;
|
|
26
|
-
getClass(): "col-
|
|
26
|
+
getClass(): "col-6" | "col-4" | "col-3" | "col-12";
|
|
27
27
|
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -130,8 +130,6 @@ export declare class RestService implements OnDestroy {
|
|
|
130
130
|
requestRedeemption(passbookId: any): Observable<Object>;
|
|
131
131
|
PassbookAppStatus(bId: any): Observable<Object>;
|
|
132
132
|
checkAppInstalled(bId: any, appName: string): Observable<Object>;
|
|
133
|
-
getRedeemPoints(bId: any, userId: any, evetType: string, orderValue: any, rewardPoints: boolean): Observable<Object>;
|
|
134
|
-
paymentWithCompletePoints(cartId: any, data: any): Observable<Object>;
|
|
135
133
|
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
|
136
134
|
getToken(): string;
|
|
137
135
|
getAllTransactions(payload: any): Observable<Object>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export * from './lib/sections/condensed-and-gradient/condensed-and-gradient.comp
|
|
|
77
77
|
export * from './lib/sections/four-features-centered-image/four-features-centered-image.component';
|
|
78
78
|
export * from './lib/sections/product-info-section/product-info-section.component';
|
|
79
79
|
export * from './lib/sections/button-grid-section/button-grid-section.component';
|
|
80
|
+
export * from './lib/sections/faq-columns-cards/faq-columns-cards.component';
|
|
80
81
|
export * from './lib/services/events.service';
|
|
81
82
|
export * from './lib/services/endUser.service';
|
|
82
83
|
export * from './lib/services/sanitizeHtml';
|
|
Binary file
|
|
Binary file
|