simpo-component-library 3.6.535 → 3.6.537
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/product-desc/product-desc.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +28 -7
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +10 -3
- package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +45 -15
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.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 +2 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +4 -3
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +2 -2
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +2 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +3 -3
- package/lib/services/rest.service.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.537.tgz +0 -0
- package/simpo-component-library-3.6.535.tgz +0 -0
|
@@ -12,7 +12,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
12
12
|
constructor(el: ElementRef, eventService: EventsService);
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
ngOnChanges(change: SimpleChanges): void;
|
|
15
|
-
getTextColor(bgColor: string): "#
|
|
15
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
16
16
|
applyButtonStyleChanges(): void;
|
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
19
|
-
getTextColor(bgColor: string): "#
|
|
19
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
20
20
|
buttonStyleSubscription?: Subscription;
|
|
21
21
|
buttonStyleChangeCheck(): void;
|
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
applyColor(): void;
|
|
14
14
|
bgColorChangeCheck(): void;
|
|
15
|
-
getTextColor(): "#
|
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -32,7 +32,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getColor(color: any): "#
|
|
35
|
+
getColor(color: any): "#000000" | "#ffffff";
|
|
36
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>;
|
|
@@ -111,10 +111,10 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
111
111
|
getDifference(sellingPrice: any, mrp: any): number;
|
|
112
112
|
getBackgroundColor(type: string): string;
|
|
113
113
|
getHeaderColor(type: string): string;
|
|
114
|
-
getTextColor(color: any): "#
|
|
114
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
|
115
115
|
languages: string[];
|
|
116
116
|
selectedLang: string;
|
|
117
|
-
getClass(map: any): "col-
|
|
117
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
|
118
118
|
onFindInStore(id: string): void;
|
|
119
119
|
onBookAppointment(): void;
|
|
120
120
|
isDetails: boolean;
|
|
@@ -88,10 +88,12 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
88
88
|
max: number;
|
|
89
89
|
selected: boolean;
|
|
90
90
|
}[];
|
|
91
|
-
onPriceRangeChange(): void;
|
|
91
|
+
onPriceRangeChange(index?: number): void;
|
|
92
92
|
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
|
93
93
|
raiseLead(): void;
|
|
94
|
+
priceRangeFlag: boolean;
|
|
94
95
|
filterItemList(): void;
|
|
96
|
+
dynamicPriceRange(minPrice: number, maxPrice: number): void;
|
|
95
97
|
selectOption(filter: any, event: MouseEvent): void;
|
|
96
98
|
getSelectedName(): string;
|
|
97
99
|
handleProductListScroll(): void;
|
|
@@ -160,7 +162,6 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
160
162
|
private getVarientQuantity;
|
|
161
163
|
private isVarientPresentInWishtlist;
|
|
162
164
|
navigateFilter(sorting: string): void;
|
|
163
|
-
closeFilter(): void;
|
|
164
165
|
openFilter(FilterSection: any): void;
|
|
165
166
|
openSorting(SortingSection: any): void;
|
|
166
167
|
paginationChange(page: number): void;
|
|
@@ -197,7 +198,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
197
198
|
closeModal(): void;
|
|
198
199
|
languages: string[];
|
|
199
200
|
selectedLang: string;
|
|
200
|
-
getTextColor(color: any): "#
|
|
201
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
|
201
202
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
202
203
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "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>;
|
|
203
204
|
}
|
|
@@ -34,7 +34,7 @@ export declare class StoreListComponent extends BaseSection {
|
|
|
34
34
|
showState: boolean;
|
|
35
35
|
selectedState: string;
|
|
36
36
|
setStateData(stateData: any): void;
|
|
37
|
-
getTextColor(bgColor: any): "#
|
|
37
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
|
38
38
|
openWhatsapp(phone: string): void;
|
|
39
39
|
viewStore(storeId: string): void;
|
|
40
40
|
getTime(storeHours: any, type: string): any;
|
|
@@ -18,7 +18,7 @@ export declare class StorePageComponent extends BaseSection {
|
|
|
18
18
|
storeData: any;
|
|
19
19
|
loading: boolean;
|
|
20
20
|
getStoreDetails(storeId: string): void;
|
|
21
|
-
getTextColor(bgColor: any): "#
|
|
21
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
|
22
22
|
getTime(storeHours: any): string | undefined;
|
|
23
23
|
removeUnderScore(text: string): string;
|
|
24
24
|
openWhatsapp(phone: string): void;
|
|
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
|
|
|
31
31
|
changeButtonStyle(): void;
|
|
32
32
|
getContrastTextColor(backgroundHex: any): void;
|
|
33
33
|
backgroundType: string[];
|
|
34
|
-
setBorderRadius(): "0px" | "
|
|
34
|
+
setBorderRadius(): "0px" | "99px" | "7px";
|
|
35
35
|
setBorder(): string;
|
|
36
36
|
setColor(): any;
|
|
37
37
|
setBackground(): any;
|
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
|
15
15
|
editSection(): void;
|
|
16
16
|
getButtonId(): string;
|
|
17
17
|
redirectTo(): void;
|
|
18
|
-
getClass(): "col-
|
|
18
|
+
getClass(): "col-4" | "col-12" | "col-5";
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
|
27
27
|
get spacingLayout(): SpacingModel;
|
|
28
28
|
get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
|
|
29
29
|
get fitLayout(): import("simpo-component-library").FIT | undefined;
|
|
30
|
-
getTextColor(bgColor: string): "#
|
|
30
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
33
|
}
|
|
@@ -28,8 +28,8 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
|
28
28
|
editSection(): void;
|
|
29
29
|
canShowContactField(field: any): any;
|
|
30
30
|
getCardStyle(): {};
|
|
31
|
-
getTextColor(bgColor: string): "#
|
|
32
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
|
31
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
32
|
+
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
34
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "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>;
|
|
35
35
|
}
|
|
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
|
|
|
23
23
|
toggleContent(idx: number): void;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getScreenSize(): void;
|
|
26
|
-
getLayout(): "justify-content-start" | "justify-content-
|
|
26
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
|
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", never, { "data": { "alias": "data"; "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>;
|
|
29
29
|
}
|
|
@@ -86,7 +86,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
86
86
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
|
87
87
|
get getNavbarButton(): any[];
|
|
88
88
|
isScrolled: boolean;
|
|
89
|
-
setColor(): "#
|
|
89
|
+
setColor(): "#000000" | "#ffffff";
|
|
90
90
|
showList: boolean;
|
|
91
91
|
showCollections: boolean;
|
|
92
92
|
categoryList: any;
|
|
@@ -94,6 +94,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
|
94
94
|
selectedCategory: any;
|
|
95
95
|
storeAvaiable: boolean;
|
|
96
96
|
getCategoriesHeader(): void;
|
|
97
|
+
restrictInPages(): boolean;
|
|
97
98
|
schemeAvailable: boolean;
|
|
98
99
|
goToStores(): void;
|
|
99
100
|
Object: ObjectConstructor;
|
|
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
|
|
|
22
22
|
private transitionToNext;
|
|
23
23
|
isItemVisible(index: number): boolean;
|
|
24
24
|
getItemClass(index: number): string;
|
|
25
|
-
getTextColor(bgColor: string): "#
|
|
25
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff";
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -18,13 +18,13 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
18
18
|
constructor(_eventService: EventsService);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
get stylesLayout(): LayOutModel;
|
|
21
|
-
getTextColor(): "#
|
|
21
|
+
getTextColor(): "#000000" | "#ffffff";
|
|
22
22
|
get headingSpace(): SPACING;
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
redirectTo(): void;
|
|
26
|
-
getClass(): "col-
|
|
27
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
|
26
|
+
getClass(): "col-4" | "col-12" | "col-6" | "col-3";
|
|
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>;
|
|
30
30
|
}
|
|
@@ -36,6 +36,8 @@ export declare class RestService implements OnDestroy {
|
|
|
36
36
|
getAllCollections(): Observable<any>;
|
|
37
37
|
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, sortBy: string, pageNo: number, size: number): Observable<{
|
|
38
38
|
count: any;
|
|
39
|
+
minPrice: any;
|
|
40
|
+
maxPrice: any;
|
|
39
41
|
data: any;
|
|
40
42
|
}>;
|
|
41
43
|
getProductByCategoryId(categoryId: string): Observable<{
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|