simpo-component-library 3.6.952 → 3.6.953

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.
@@ -149,8 +149,14 @@ export declare class ProductDescComponent extends BaseSection {
149
149
  addVideoCallCurrent(): void;
150
150
  continueVideoCallBooking(): void;
151
151
  closeModal(): void;
152
- getButtonId(index: number): string;
153
- getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
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;
154
160
  getRatings(noofratings: any): any;
155
161
  /**
156
162
  * "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.952",
3
+ "version": "3.6.953",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file