simpo-component-library 3.6.960 → 3.6.962
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/book-appointment/book-appointment.component.mjs +12 -3
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +4 -14
- package/esm2022/lib/elements/my-bookings/my-bookings.component.mjs +6 -3
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +56 -5
- package/fesm2022/simpo-component-library.mjs +74 -21
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +3 -0
- package/lib/elements/my-bookings/my-bookings.component.d.ts +1 -0
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +13 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.962.tgz +0 -0
- package/simpo-component-library-3.6.960.tgz +0 -0
|
@@ -99,6 +99,9 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
|
|
|
99
99
|
get bannerTitle(): string;
|
|
100
100
|
get bannerDesc(): string;
|
|
101
101
|
get homeVisitCharge(): number;
|
|
102
|
+
get bookingTotal(): number;
|
|
103
|
+
get bookingPaid(): number;
|
|
104
|
+
get bookingDue(): number;
|
|
102
105
|
ngOnInit(): void;
|
|
103
106
|
loadProductCart(): Promise<void>;
|
|
104
107
|
loadBusinessSettings(): void;
|
|
@@ -84,6 +84,7 @@ export declare class MyBookingsComponent implements OnInit {
|
|
|
84
84
|
statusLabel(status: string): string;
|
|
85
85
|
statusClass(status: string): string;
|
|
86
86
|
paidLabel(b: BookingRow): string;
|
|
87
|
+
servicePriceTotal(b: BookingRow): number;
|
|
87
88
|
totalDue(b: BookingRow): number;
|
|
88
89
|
pendingAmount(b: BookingRow): number;
|
|
89
90
|
get canCancelSelected(): boolean;
|
|
@@ -67,6 +67,18 @@ export declare class AppointmentBookingComponent extends BaseSection implements
|
|
|
67
67
|
* null when unset, so the [style.--color-accent-gradient] binding removes the inline override
|
|
68
68
|
* entirely and the CSS default shows through, rather than forcing an empty value. */
|
|
69
69
|
get accentColor(): string | null;
|
|
70
|
+
get homeVisitCharge(): number;
|
|
71
|
+
/** Price for one resolved-line service, looked up from `cartServices` (the service-listing
|
|
72
|
+
* selection, which carries `priceDetails`) since `resolvedLines[].services` only carries id+name
|
|
73
|
+
* back from the slot-resolution API. */
|
|
74
|
+
servicePrice(serviceId: string): number;
|
|
75
|
+
lineServiceTotal(line: ResolvedLine): number;
|
|
76
|
+
get servicesSubtotal(): number;
|
|
77
|
+
get reviewTotal(): number;
|
|
78
|
+
get bookingTotal(): number;
|
|
79
|
+
get bookingPaid(): number;
|
|
80
|
+
get bookingDue(): number;
|
|
81
|
+
loadBusinessSettings(): void;
|
|
70
82
|
ngOnInit(): void;
|
|
71
83
|
isAdminContext: boolean;
|
|
72
84
|
resetWizard(): void;
|
|
@@ -86,6 +98,7 @@ export declare class AppointmentBookingComponent extends BaseSection implements
|
|
|
86
98
|
barWidth: string;
|
|
87
99
|
showCancellationPolicy: boolean;
|
|
88
100
|
showReducingPolicy: boolean;
|
|
101
|
+
businessSettings: any;
|
|
89
102
|
selectedMode: BookingMode;
|
|
90
103
|
modePinned: boolean;
|
|
91
104
|
cartServices: any[];
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|