simpo-component-library 3.6.952 → 3.6.954
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 +44 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +38 -3
- package/fesm2022/simpo-component-library.mjs +79 -4
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +14 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +12 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.954.tgz +0 -0
- package/simpo-component-library-3.6.952.tgz +0 -0
|
@@ -79,6 +79,20 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
|
|
|
79
79
|
k: string;
|
|
80
80
|
v: string;
|
|
81
81
|
}[];
|
|
82
|
+
subStep: 'date' | 'time' | 'details';
|
|
83
|
+
get subSteps(): {
|
|
84
|
+
num: number;
|
|
85
|
+
active: boolean;
|
|
86
|
+
go: () => void;
|
|
87
|
+
key: string;
|
|
88
|
+
label: string;
|
|
89
|
+
locked: boolean;
|
|
90
|
+
}[];
|
|
91
|
+
get subBackOff(): boolean;
|
|
92
|
+
get subNextOff(): boolean;
|
|
93
|
+
subBack(): void;
|
|
94
|
+
subNext(): void;
|
|
95
|
+
get subChosenLabel(): string;
|
|
82
96
|
get bannerTitle(): string;
|
|
83
97
|
get bannerDesc(): string;
|
|
84
98
|
get homeVisitCharge(): number;
|
|
@@ -151,6 +151,18 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
151
151
|
closeModal(): void;
|
|
152
152
|
getButtonId(index: number): string;
|
|
153
153
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
154
|
+
/** Finds a button by a fixed, namespaced id rather than array position - unlike Add to
|
|
155
|
+
* Cart/Buy Now (index 0) and Find in Store (index 1), a new button can't safely claim "the next
|
|
156
|
+
* index" because every business's product-desc section is cloned from one shared server-side
|
|
157
|
+
* template that already carries a vestigial 3rd "View All" button on some businesses' saved
|
|
158
|
+
* content. Matching by a never-before-used id string means a fresh button is created only when
|
|
159
|
+
* one genuinely doesn't exist yet, and it's always created with a fully-populated `styles`
|
|
160
|
+
* object (see ButtonEditorComponent's falsy-styles handling) so editing it always saves. */
|
|
161
|
+
private getOrCreateNamedButton;
|
|
162
|
+
getScheduleVideoCallButtonId(): string;
|
|
163
|
+
getScheduleVideoCallButtonStyle(): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
164
|
+
getTryAtHomeButtonId(): string;
|
|
165
|
+
getTryAtHomeButtonStyle(): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
154
166
|
getRatings(noofratings: any): any;
|
|
155
167
|
/**
|
|
156
168
|
* "Try at Home" feeds the Home Visit booking flow (BookingGroup.productLines, submitted
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|