@cbm-common/cbm-types 0.0.121 → 0.0.123

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.
@@ -0,0 +1,9 @@
1
+ import { CbmClientBranchModel, CbmClientModel } from '@cbm-common/cbm-types';
2
+ export declare class CbmClientCardComponent {
3
+ client: import("@angular/core").InputSignal<Partial<CbmClientModel.GetOneResponse.Data> | null>;
4
+ contact: import("@angular/core").InputSignal<Partial<CbmClientModel.GetOneResponse.Data.Contact> | null>;
5
+ client_branch: import("@angular/core").InputSignal<Partial<CbmClientBranchModel.ListResponse.Data> | null>;
6
+ protected readonly clientData: import("@angular/core").Signal<Partial<CbmClientModel.GetOneResponse.Data> | null>;
7
+ protected readonly contactData: import("@angular/core").Signal<Partial<CbmClientModel.GetOneResponse.Data.Contact> | null>;
8
+ protected readonly clientBranchData: import("@angular/core").Signal<Partial<CbmClientBranchModel.ListResponse.Data> | null>;
9
+ }
@@ -1,18 +1,18 @@
1
1
  import { DestroyRef, OnInit } from '@angular/core';
2
2
  import { FormControl, FormGroup } from '@angular/forms';
3
- import { PaginatedListService } from '@cbm-common/data-access';
4
- import { CbmRoomModel } from '../../domain/models/room.domain.model';
5
- import { CbmRoomRepository } from '../../domain/repositories/room.domain.repository';
6
- import { ItemDetails } from '../item-details/item-details';
7
- import { FoliosModal } from './folios-modal/folios-modal';
8
- import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.model';
9
3
  import { CbmClientModel, CbmPriceListModel } from '@cbm-common/cbm-types';
4
+ import { PaginatedListService } from '@cbm-common/data-access';
10
5
  import { CbmCostCenterModel } from '../../domain/models/cost-center.domain.model';
11
6
  import { STATE } from '../../domain/models/general.domain.model';
7
+ import { CbmRoomModel } from '../../domain/models/room.domain.model';
8
+ import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.model';
12
9
  import { CbmChargeRepository } from '../../domain/repositories/charge.domain.repository';
13
- import { CbmNotificationService } from '../../remotes/services.remote';
10
+ import { CbmRoomRepository } from '../../domain/repositories/room.domain.repository';
14
11
  import { CbmSalesAccountRepository } from '../../domain/repositories/sales-account.domain.repository';
15
12
  import { CbmAuthService } from '../../domain/services/auth/auth.service';
13
+ import { CbmNotificationService } from '../../remotes/services.remote';
14
+ import { ItemDetails } from '../item-details/item-details';
15
+ import { FoliosModal } from './folios-modal/folios-modal';
16
16
  export declare class CbmPmsAddCharge implements OnInit {
17
17
  private readonly destroyRef;
18
18
  private readonly roomRepository;
@@ -25,6 +25,8 @@ export declare class CbmPmsAddCharge implements OnInit {
25
25
  service_type: FormControl<number | null>;
26
26
  charge_type: FormControl<number | null>;
27
27
  room: FormControl<Partial<CbmRoomModel.RoomStateResponse.Items> | null>;
28
+ order: FormControl<string>;
29
+ tiket: FormControl<string>;
28
30
  }>;
29
31
  protected rooms$: PaginatedListService<CbmRoomModel.RoomStateResponse, CbmRoomModel.RoomStateParams, CbmRoomModel.RoomStateResponse.Items[]>;
30
32
  protected foliosRoomId: import("@angular/core").WritableSignal<string | null>;
@@ -1,9 +1,12 @@
1
1
  import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
2
3
  import { CbmRecordDetailMetadataModel } from './types';
3
4
  export declare class CbmRecordDetailMetadataComponent implements OnChanges, OnInit {
4
5
  private elementRef;
5
6
  private renderer2;
6
- constructor(elementRef: ElementRef, renderer2: Renderer2);
7
+ private router;
8
+ private route;
9
+ constructor(elementRef: ElementRef, renderer2: Renderer2, router: Router, route: ActivatedRoute);
7
10
  metadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.metadata | null>;
8
11
  additionalMetadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.additionalMetadata[] | undefined>;
9
12
  options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
@@ -17,6 +17,7 @@ export declare namespace CbmRecordDetailMetadataModel {
17
17
  reverse_reason_process?: string;
18
18
  reverse_commentary?: string;
19
19
  return?: boolean;
20
+ queryParams?: any;
20
21
  color_state?: 'info' | 'warning' | 'danger' | 'primary' | 'secondary' | 'success';
21
22
  state?: string;
22
23
  badge_text?: string;
@@ -9,8 +9,8 @@ export declare namespace CbmChargeModel {
9
9
  company_logo: string;
10
10
  type_service: string;
11
11
  type_charges: string;
12
- num_vale: string;
13
- num_command: string;
12
+ num_vale?: string;
13
+ num_command?: string;
14
14
  room_id: string;
15
15
  room_name: string;
16
16
  sales_account_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.121",
3
+ "version": "0.0.123",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {
package/public-api.d.ts CHANGED
@@ -469,4 +469,10 @@ export * from './lib/domain/repositories/down-payment.domain.repository';
469
469
  export * from './lib/domain/models/down-payment.domain.model';
470
470
 
471
471
  //#region global state service
472
- export * from './lib/domain/services/global-state.domain.service';
472
+ export * from './lib/domain/services/global-state.domain.service';
473
+
474
+ //#region pms add charge component
475
+ export * from './lib/components/pms-add-charge/pms-add-charge';
476
+
477
+ //#region client card component
478
+ export * from './lib/components/client-card/client-card.component';
@@ -1,3 +0,0 @@
1
- import { Router } from "@angular/router";
2
- import { CbmAuthService } from "../../domain/services/auth/auth.service";
3
- export declare function authFactory(router: Router): CbmAuthService;
@@ -1,4 +0,0 @@
1
- import { ApplicationRef } from "@angular/core";
2
- import { Router } from "@angular/router";
3
- import { CbmWebSocketService } from "../../domain/services/web-socket/web-socket.service";
4
- export declare function webSocketFactory(appRef: ApplicationRef, router: Router): CbmWebSocketService;
@@ -1,3 +0,0 @@
1
- export * from "../domain/services/notification/notification.service";
2
- export * from "./services/auth.service";
3
- export * from "./services/web-socket.service";