simpo-component-library 3.6.953 → 3.6.956

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.
@@ -79,6 +79,23 @@ 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
+ trackBySubStepKey(_: number, s: {
94
+ key: string;
95
+ }): string;
96
+ subBack(): void;
97
+ subNext(): void;
98
+ get subChosenLabel(): string;
82
99
  get bannerTitle(): string;
83
100
  get bannerDesc(): string;
84
101
  get homeVisitCharge(): number;
@@ -149,14 +149,20 @@ export declare class ProductDescComponent extends BaseSection {
149
149
  addVideoCallCurrent(): void;
150
150
  continueVideoCallBooking(): void;
151
151
  closeModal(): void;
152
- /** Lazily creates a ButtonModel at this index if the section's saved content predates that
153
- * button existing (e.g. "Schedule a Video Call"/"Try at HOME" were added to this template after
154
- * some businesses already had this section on their page - their saved `action.buttons` array
155
- * is too short). Mutates the array in place so it becomes permanent once the page is next
156
- * saved, fixing the slot for good - not just a display workaround. */
157
- private ensureButton;
158
- getButtonId(index: number, defaultLabel?: string, defaultBackground?: string): string;
159
- getButtonStyle(index: number, defaultLabel?: string, defaultBackground?: string): import("../../../styles/style.model").ButtonStyleModel | undefined;
152
+ getButtonId(index: number): string;
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;
160
166
  getRatings(noofratings: any): any;
161
167
  /**
162
168
  * "Try at Home" feeds the Home Visit booking flow (BookingGroup.productLines, submitted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.953",
3
+ "version": "3.6.956",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file