simpo-component-library 3.6.951 → 3.6.952

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.
@@ -8,6 +8,7 @@ import { EventsService } from '../../../services/events.service';
8
8
  import { StorageServiceService } from '../../../services/storage.service';
9
9
  import { BookingProductCartService } from '../../../services/booking-product-cart.service';
10
10
  import { AddressDetails, User } from '../../styles/user.modal';
11
+ import { BackgroundModel } from '../../../styles/style.model';
11
12
  import * as i0 from "@angular/core";
12
13
  type ProductVisitMode = 'HOME_VISIT' | 'VIDEO_CALL';
13
14
  /**
@@ -35,6 +36,15 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
35
36
  edit?: boolean;
36
37
  delete?: boolean;
37
38
  customClass?: string;
39
+ /** Editor-configurable background - falls back to undefined (letting the component's own CSS
40
+ * defaults show through unchanged) for existing pages saved before this section supported
41
+ * custom colors. */
42
+ get backgroundInfo(): BackgroundModel | undefined;
43
+ /** Overrides this component's own --color-accent-gradient CSS variable (scoped to its :host,
44
+ * see book-appointment.component.css) when a business has picked a custom accent color - null
45
+ * when unset, so the [style.--color-accent-gradient] binding removes the inline override
46
+ * entirely and the CSS default shows through, rather than forcing an empty value. */
47
+ get accentColor(): string | null;
38
48
  constructor(route: ActivatedRoute, router: Router, restService: RestService, _eventService: EventsService, messageService: MessageService, storageService: StorageServiceService, bookingProductCartService: BookingProductCartService, matDialog: MatDialog);
39
49
  mode: ProductVisitMode;
40
50
  step: 'form' | 'review' | 'done';
@@ -9,6 +9,7 @@ import { MessageService } from 'primeng/api';
9
9
  import { BookingProductCartService } from '../../../../services/booking-product-cart.service';
10
10
  import { StorageServiceService } from '../../../../services/storage.service';
11
11
  import { AddressDetails, User } from '../../../../ecommerce/styles/user.modal';
12
+ import BaseSection from '../../../BaseSection';
12
13
  import * as i0 from "@angular/core";
13
14
  type BookingMode = 'STORE_VISIT' | 'HOME_VISIT' | 'VIDEO_CALL';
14
15
  interface ResolvedLine {
@@ -29,7 +30,7 @@ interface ResolvedLine {
29
30
  selectedSlot?: any;
30
31
  slotsLoading?: boolean;
31
32
  }
32
- export declare class AppointmentBookingComponent implements OnInit {
33
+ export declare class AppointmentBookingComponent extends BaseSection implements OnInit {
33
34
  private restService;
34
35
  private _eventService;
35
36
  private readonly router;
@@ -57,6 +58,15 @@ export declare class AppointmentBookingComponent implements OnInit {
57
58
  phoneNumber?: string;
58
59
  };
59
60
  styles?: BannerStylesModel;
61
+ /** Editor-configurable background - falls back to undefined (letting the component's own CSS
62
+ * defaults show through unchanged) for existing pages saved before this section supported
63
+ * custom colors. */
64
+ get backgroundInfo(): BackgroundModel | undefined;
65
+ /** Overrides this component's own --color-accent-gradient CSS variable (scoped to its :host,
66
+ * see appointment-booking.component.css) when a business has picked a custom accent color -
67
+ * null when unset, so the [style.--color-accent-gradient] binding removes the inline override
68
+ * entirely and the CSS default shows through, rather than forcing an empty value. */
69
+ get accentColor(): string | null;
60
70
  ngOnInit(): void;
61
71
  isAdminContext: boolean;
62
72
  resetWizard(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.951",
3
+ "version": "3.6.952",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file