simpo-component-library 3.7.1 → 3.7.4
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 +3 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +56 -17
- package/esm2022/lib/services/rest.service.mjs +25 -24
- package/fesm2022/simpo-component-library.mjs +81 -41
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- 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/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +4 -0
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- 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/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +6 -1
- package/package.json +1 -1
- package/simpo-component-library-3.7.004.tgz +0 -0
- package/simpo-component-library-3.7.001.tgz +0 -0
|
@@ -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
|
}
|
|
@@ -131,7 +131,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
131
131
|
getHeaderColor(type: string): string;
|
|
132
132
|
formatItemCode(code: any): string | null;
|
|
133
133
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
134
|
-
getClass(map: any): "col-
|
|
134
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
|
135
135
|
onFindInStore(id: string): void;
|
|
136
136
|
onBookAppointment(): void;
|
|
137
137
|
isDetails: boolean;
|
|
@@ -134,6 +134,10 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
134
134
|
filterItemList(): void;
|
|
135
135
|
private get customSearchOptions();
|
|
136
136
|
private loadFilterOptions;
|
|
137
|
+
apiFilterIds: Set<string>;
|
|
138
|
+
isApiFilter(identifier: string): boolean;
|
|
139
|
+
private systemList;
|
|
140
|
+
private isSystemListFilter;
|
|
137
141
|
isCustomChoiceSelected(identifier: string, value: string): boolean;
|
|
138
142
|
toggleCustomChoice(filter: FilterDef, value: string): void;
|
|
139
143
|
customRange(identifier: string): {
|
|
@@ -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-12" | "col-6" | "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>;
|
|
@@ -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;
|
|
@@ -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-4" | "col-12" | "col-6" | "col-3";
|
|
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>;
|
|
@@ -42,7 +42,12 @@ export declare class RestService implements OnDestroy {
|
|
|
42
42
|
getAllCategories(): Observable<any>;
|
|
43
43
|
getAllCollections(): Observable<any>;
|
|
44
44
|
getAllBrands(): Observable<any>;
|
|
45
|
-
getFilterOptions(
|
|
45
|
+
getFilterOptions(scope?: {
|
|
46
|
+
categoryIds?: string[];
|
|
47
|
+
collectionIds?: string[];
|
|
48
|
+
categorySlugNames?: string[];
|
|
49
|
+
collectionSlugNames?: string[];
|
|
50
|
+
}): Observable<FilterOptions>;
|
|
46
51
|
getFilteredProduct(collectionIds: string[], categoryIds: string[], searchText: string, minPrice: number, maxPrice: number, minRating: number, maxRating: number, sortBy: string, pageNo: number, size: number, brandIds?: string[], extra?: {
|
|
47
52
|
customFieldFilters?: CustomFieldFilter[];
|
|
48
53
|
sortDirection?: 'asc' | 'desc';
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|