@cbm-common/cbm-types 0.0.321 → 0.0.323

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.
@@ -1,6 +1,7 @@
1
1
  import { AvailabilityBoardModel } from './availability-board.model';
2
2
  import { ValueColumnCompModel } from './models/value-column.model';
3
3
  import { ConfigService } from './services/config.service';
4
+ import { CbmNotificationService } from '../../domain/services/notification/notification.service';
4
5
  interface ReservationMovedEvent {
5
6
  booking_id: string;
6
7
  old_room: string;
@@ -8,7 +9,8 @@ interface ReservationMovedEvent {
8
9
  }
9
10
  export declare class CbmAvailabilityBoardComponent {
10
11
  private readonly configService;
11
- constructor(configService: ConfigService);
12
+ private readonly notification;
13
+ constructor(configService: ConfigService, notification: CbmNotificationService);
12
14
  private readonly elementRef;
13
15
  reservationMoved: import("@angular/core").OutputEmitterRef<ReservationMovedEvent>;
14
16
  draggingReservation: import("@angular/core").WritableSignal<any>;
@@ -21,6 +23,9 @@ export declare class CbmAvailabilityBoardComponent {
21
23
  private currentRow;
22
24
  private startMouseX;
23
25
  private startMouseY;
26
+ private readonly DRAG_THRESHOLD;
27
+ private mouseDown;
28
+ private dragStarted;
24
29
  private draggedHtmlElement;
25
30
  timelineRange: import("@angular/core").WritableSignal<Date[]>;
26
31
  protected timeline: import("@angular/core").WritableSignal<AvailabilityBoardModel.DateRange[]>;
@@ -33,6 +38,7 @@ export declare class CbmAvailabilityBoardComponent {
33
38
  protected titleColumn: import("@angular/core").Signal<string>;
34
39
  protected loadingState: import("@angular/core").Signal<boolean>;
35
40
  protected totalColumns: import("@angular/core").Signal<number>;
41
+ protected timelineColumnStarts: import("@angular/core").Signal<number[]>;
36
42
  protected setGridColumns: (repeat: number, maxFirst?: string) => string;
37
43
  protected setGridRows: (repeat: number) => string;
38
44
  protected setSpan: (span: number) => string;
@@ -53,6 +59,7 @@ export declare class CbmAvailabilityBoardComponent {
53
59
  };
54
60
  startDragReservation(event: MouseEvent, reservation: any, row: number): void;
55
61
  onMouseMove(event: MouseEvent): void;
62
+ private getRowFromPointerY;
56
63
  onMouseUp(): void;
57
64
  isToday(date: Date): boolean;
58
65
  isEqualDate(date1: Date, date2: Date): boolean;
@@ -6,6 +6,7 @@ type TLocalStorageKey = CbmAuthReactiveModel.TLocalStorageKey;
6
6
  export declare class CbmAuthReactiveService {
7
7
  private readonly authService;
8
8
  private readonly router;
9
+ private routesWithoutTokenValidation;
9
10
  constructor(authService: CbmAuthService, router: Router);
10
11
  setToken: Subject<[CbmAuthReactiveModel.TLocalStorageKey, string | null]>;
11
12
  private userTokenData;
@@ -22,5 +23,7 @@ export declare class CbmAuthReactiveService {
22
23
  private loadTokensFromStorage;
23
24
  private decodeToken;
24
25
  logout(): void;
26
+ private isRouteWithoutTokenValidation;
27
+ private normalizeRoute;
25
28
  }
26
29
  export {};
@@ -31,4 +31,6 @@ export declare class CbmWebSocketService {
31
31
  }>(): Observable<T>;
32
32
  onConnectError<T = string>(): Observable<T>;
33
33
  initPingPong(intervalMs?: number): void;
34
+ joinCustomerCreditCompany(): void;
35
+ refreshCustomerCreditCompany(): Observable<any>;
34
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.321",
3
+ "version": "0.0.323",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {