simpo-component-library 3.6.938 → 3.6.939
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/elements/booking-cart-groups/booking-cart-groups.component.mjs +38 -15
- package/fesm2022/simpo-component-library.mjs +2765 -2741
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/elements/booking-cart-groups/booking-cart-groups.component.d.ts +8 -4
- package/package.json +1 -1
- package/simpo-component-library-3.6.939.tgz +0 -0
- package/simpo-component-library-3.6.938.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { BookingProductCartService, BookingCartMode } from '../../services/booking-product-cart.service';
|
|
5
5
|
import { StorageServiceService } from '../../services/storage.service';
|
|
@@ -8,6 +8,9 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
interface BookingCartGroup {
|
|
9
9
|
mode: BookingCartMode;
|
|
10
10
|
title: string;
|
|
11
|
+
meta: string;
|
|
12
|
+
itemNote: string;
|
|
13
|
+
colorClass: 'bcg-mode-home' | 'bcg-mode-video';
|
|
11
14
|
items: OrderedItems[];
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
@@ -20,21 +23,22 @@ interface BookingCartGroup {
|
|
|
20
23
|
export declare class BookingCartGroupsComponent implements OnInit {
|
|
21
24
|
private readonly bookingProductCartService;
|
|
22
25
|
private readonly storageService;
|
|
23
|
-
private readonly matDialog;
|
|
24
26
|
private readonly router;
|
|
25
27
|
private readonly dialogRef;
|
|
26
28
|
groups: BookingCartGroup[];
|
|
27
29
|
loading: boolean;
|
|
28
|
-
constructor(bookingProductCartService: BookingProductCartService, storageService: StorageServiceService,
|
|
30
|
+
constructor(bookingProductCartService: BookingProductCartService, storageService: StorageServiceService, router: Router, dialogRef: MatDialogRef<BookingCartGroupsComponent>);
|
|
29
31
|
ngOnInit(): void;
|
|
32
|
+
private buildGroup;
|
|
30
33
|
load(): Promise<void>;
|
|
31
34
|
get isEmpty(): boolean;
|
|
32
35
|
get dialogRefPresent(): boolean;
|
|
36
|
+
get drawerSubline(): string;
|
|
33
37
|
removeItem(group: BookingCartGroup, item: OrderedItems): Promise<void>;
|
|
34
38
|
close(): void;
|
|
35
39
|
browse(): void;
|
|
36
40
|
continueBooking(group: BookingCartGroup): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookingCartGroupsComponent, [null, null, null,
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BookingCartGroupsComponent, [null, null, null, { optional: true; }]>;
|
|
38
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<BookingCartGroupsComponent, "simpo-booking-cart-groups", never, {}, {}, never, never, true, never>;
|
|
39
43
|
}
|
|
40
44
|
export {};
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|