simpo-component-library 3.6.197 → 3.6.198
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/order-details/order-details.component.mjs +47 -12
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +15 -3
- package/esm2022/lib/services/rest.service.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +57 -11
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +5 -2
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +5 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.198.tgz +0 -0
- package/simpo-component-library-3.6.197.tgz +0 -0
@@ -4,12 +4,14 @@ import { ProfileStylesModal } from '../user-profile/user-profile.modal';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
5
5
|
import { RestService } from '../../../services/rest.service';
|
6
6
|
import { MessageService } from 'primeng/api';
|
7
|
+
import { ImageUplaodService } from '../../../services/image-upload-service.service';
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class OrderDetailsComponent implements OnInit {
|
9
10
|
private readonly _eventService;
|
10
11
|
private storageService;
|
11
12
|
private restService;
|
12
13
|
private messageService;
|
14
|
+
private imageUploadService;
|
13
15
|
responseData?: any;
|
14
16
|
data?: any;
|
15
17
|
index?: number;
|
@@ -20,7 +22,7 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
20
22
|
goBackEmitter: EventEmitter<void>;
|
21
23
|
isLoading: boolean;
|
22
24
|
styles?: ProfileStylesModal;
|
23
|
-
constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
|
25
|
+
constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService, imageUploadService: ImageUplaodService);
|
24
26
|
orderTimiline: any;
|
25
27
|
ngOnInit(): void;
|
26
28
|
private getIcon;
|
@@ -35,13 +37,14 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
35
37
|
get orderAddress(): string;
|
36
38
|
trackOrder(): void;
|
37
39
|
productReview: number;
|
38
|
-
submitReview(item: any): void
|
40
|
+
submitReview(item: any): Promise<void>;
|
39
41
|
sectionsVisible: {
|
40
42
|
billDetails: boolean;
|
41
43
|
deliveryDetails: boolean;
|
42
44
|
timeline: boolean;
|
43
45
|
};
|
44
46
|
toggleSection(section: keyof typeof this.sectionsVisible): void;
|
47
|
+
uploadImage(ev: any, item: any): void;
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
|
46
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", 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; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
|
47
50
|
}
|
@@ -47,6 +47,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
47
47
|
productReview: number;
|
48
48
|
totalReview: number;
|
49
49
|
showReview: boolean;
|
50
|
+
selectedReview: any;
|
51
|
+
currentImageIndex: number;
|
50
52
|
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
|
51
53
|
buttonId?: string;
|
52
54
|
button?: ButtonModel;
|
@@ -109,7 +111,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
109
111
|
getTextColor(color: any): "#000000" | "#ffffff";
|
110
112
|
languages: string[];
|
111
113
|
selectedLang: string;
|
112
|
-
getClass(map: any): "col-
|
114
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
113
115
|
onFindInStore(id: string): void;
|
114
116
|
onBookAppointment(): void;
|
115
117
|
isDetails: boolean;
|
@@ -143,6 +145,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
143
145
|
loadMoreReviews(): void;
|
144
146
|
getReviews(productId: string): void;
|
145
147
|
getPercentage(rating: number): string;
|
148
|
+
getRGBA(bgColor: any, opacity: number): any;
|
149
|
+
showDetailReview(review: any): void;
|
146
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
147
151
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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>;
|
148
152
|
}
|
@@ -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-4" | "col-
|
18
|
+
getClass(): "col-4" | "col-3" | "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
|
}
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
26
|
+
getClass(): "col-6" | "col-4" | "col-3" | "col-12";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
28
28
|
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>;
|
29
29
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|