simpo-component-library 3.8.19 → 3.8.20
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 +88 -3
- package/esm2022/lib/services/rest.service.mjs +6 -1
- package/fesm2022/simpo-component-library.mjs +92 -2
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +17 -0
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.8.20.tgz +0 -0
- package/simpo-component-library-3.8.19.tgz +0 -0
|
@@ -102,6 +102,18 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
|
|
|
102
102
|
onGalleryTouchStart(e: TouchEvent): void;
|
|
103
103
|
onGalleryTouchEnd(e: TouchEvent): void;
|
|
104
104
|
varientLoading: boolean;
|
|
105
|
+
/** Groups the product's materials by type into card view-models for the "Product details" section. */
|
|
106
|
+
get materialSpecCards(): {
|
|
107
|
+
type: string;
|
|
108
|
+
icon: string;
|
|
109
|
+
rows: {
|
|
110
|
+
label: string;
|
|
111
|
+
value: string;
|
|
112
|
+
}[];
|
|
113
|
+
}[];
|
|
114
|
+
private isGramUnit;
|
|
115
|
+
private isCaratUnit;
|
|
116
|
+
private isPieceUnit;
|
|
105
117
|
recentViewItemList: Product[];
|
|
106
118
|
getRelatedProducts(): void;
|
|
107
119
|
selectVarient(key: string, value: string): void;
|
|
@@ -182,6 +194,11 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
|
|
|
182
194
|
getEcommerceConfigs(): void;
|
|
183
195
|
appointmentSettings: any;
|
|
184
196
|
getAppointmentSettings(): void;
|
|
197
|
+
returnPolicy: any;
|
|
198
|
+
careMaintenancePolicy: any;
|
|
199
|
+
packageContentsPolicy: any;
|
|
200
|
+
private loadPolicySection;
|
|
201
|
+
getPolicySections(): void;
|
|
185
202
|
locate: boolean;
|
|
186
203
|
/**
|
|
187
204
|
* "Schedule Video Call" behaves exactly like Try at Home: adds the current product directly to
|
|
@@ -28,6 +28,7 @@ export declare class RestService implements OnDestroy {
|
|
|
28
28
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
|
29
29
|
getAllCategoriesByBusinessId(payload: any): Observable<Object>;
|
|
30
30
|
getBlogCategories(businessId: string): Observable<any>;
|
|
31
|
+
getPolicyByCategory(businessId: string, category: string): Observable<Object>;
|
|
31
32
|
getBlogsByCategory(businessId: string, categoryId: string): Observable<Object>;
|
|
32
33
|
getPopularBlogs(businessId: string, size?: number, categoryId?: string, categoryName?: string): Observable<Object>;
|
|
33
34
|
incrementBlogVisit(blogId: string): Observable<Object>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|