@cbm-common/cbm-types 0.0.46 → 0.0.48
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/lib/components/relationship-movements/animations.d.ts +2 -0
- package/lib/components/relationship-movements/relationship-movements.d.ts +58 -0
- package/lib/components/relationship-movements/relationship-movements.model.d.ts +26 -0
- package/lib/remotes/components.remote.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DestroyRef, ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { CbmBankMovementsModel } from '../../domain/models/bank-movements.domain.model';
|
|
3
|
+
import { CbmBankMovementsRepository } from '../../domain/repositories/bank-movements.domain.repository';
|
|
4
|
+
import { CbmNotificationService } from '../../remotes/services.remote';
|
|
5
|
+
import { CbmRelationShipMovementsModel, TStatus } from './relationship-movements.model';
|
|
6
|
+
interface IModuleAttribbutes {
|
|
7
|
+
collection_origin_name: string;
|
|
8
|
+
collection_origin_id: string;
|
|
9
|
+
event_module: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class CbmRelationshipMovementsComponent implements OnInit {
|
|
12
|
+
private notificationService;
|
|
13
|
+
private bankMovementRepository;
|
|
14
|
+
private destroyRef;
|
|
15
|
+
private render2;
|
|
16
|
+
tittleText: import("@angular/core").InputSignal<string>;
|
|
17
|
+
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
18
|
+
modalId: import("@angular/core").InputSignal<string>;
|
|
19
|
+
bankId: import("@angular/core").InputSignal<string>;
|
|
20
|
+
operationNumber: import("@angular/core").InputSignal<string>;
|
|
21
|
+
methodsGet: import("@angular/core").InputSignal<CbmRelationShipMovementsModel.TMethodsGet>;
|
|
22
|
+
open: import("@angular/core").OutputEmitterRef<void>;
|
|
23
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
24
|
+
redirectTo: import("@angular/core").OutputEmitterRef<IModuleAttribbutes>;
|
|
25
|
+
modalRef: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
26
|
+
moduleAtributesResponse: import("@angular/core").WritableSignal<IModuleAttribbutes | null>;
|
|
27
|
+
operationNumbers: import("@angular/core").WritableSignal<CbmBankMovementsModel.ValidationOperationResponse.Data | null>;
|
|
28
|
+
statusOfFetchOperations: import("@angular/core").WritableSignal<TStatus>;
|
|
29
|
+
getData: import("@angular/core").WritableSignal<{
|
|
30
|
+
created_at: number;
|
|
31
|
+
date: number;
|
|
32
|
+
document_number: string;
|
|
33
|
+
document_nomenclature: string;
|
|
34
|
+
financials_bank_name: string;
|
|
35
|
+
financials_bank_account_number: string;
|
|
36
|
+
client_business_name: string;
|
|
37
|
+
client_document_number: string;
|
|
38
|
+
total_clients?: number;
|
|
39
|
+
operation_number: string;
|
|
40
|
+
movement_number: string;
|
|
41
|
+
beneficiary: string;
|
|
42
|
+
total: number;
|
|
43
|
+
} | null>;
|
|
44
|
+
constructor(notificationService: CbmNotificationService, bankMovementRepository: CbmBankMovementsRepository, destroyRef: DestroyRef, render2: Renderer2);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
openModal(): void;
|
|
47
|
+
closeModal(): void;
|
|
48
|
+
onDialogClick(event: Event, dialog: HTMLDialogElement): void;
|
|
49
|
+
handleCloseDialog(dialog: HTMLDialogElement): void;
|
|
50
|
+
makeInitialRequests(): void;
|
|
51
|
+
fetchOperations(): void;
|
|
52
|
+
getOne(collectionName: string, id: string): void;
|
|
53
|
+
getArrayLength<T>(obj: any, property: string, config?: CbmRelationShipMovementsModel.IConfigMethods): number | undefined;
|
|
54
|
+
getPropertyValue<T>(obj: any, property: string, config: CbmRelationShipMovementsModel.IConfigMethods): T;
|
|
55
|
+
private animationModal;
|
|
56
|
+
redirectToModule(): void;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare namespace CbmRelationShipMovementsModel {
|
|
2
|
+
interface IObjectAlias {
|
|
3
|
+
created_at?: string | string[];
|
|
4
|
+
date?: string | string[];
|
|
5
|
+
document_number?: string | string[];
|
|
6
|
+
document_nomenclature?: string | string[];
|
|
7
|
+
financials_bank_name?: string | string[];
|
|
8
|
+
financials_bank_account_number?: string | string[];
|
|
9
|
+
client_business_name?: string | string[];
|
|
10
|
+
client_document_number?: string | string[];
|
|
11
|
+
operation_number?: string | string[];
|
|
12
|
+
movement_number?: string | string[];
|
|
13
|
+
beneficiary?: string | string[];
|
|
14
|
+
total?: string | string[];
|
|
15
|
+
}
|
|
16
|
+
export interface IConfigMethods {
|
|
17
|
+
repository: any;
|
|
18
|
+
methodName?: string;
|
|
19
|
+
objectAlias?: IObjectAlias;
|
|
20
|
+
}
|
|
21
|
+
export type TMethodsGet = {
|
|
22
|
+
[key: string]: IConfigMethods;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
25
|
+
}
|
|
26
|
+
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
@@ -18,3 +18,4 @@ export { CbmAvailabilityBoardComponent } from '../components/availability-board/
|
|
|
18
18
|
export { CbmRelationshipMapComponent } from '../components/relationship-map/relationship-map';
|
|
19
19
|
export { CbmAddProviderComponent } from '../components/add-provider/add-provider';
|
|
20
20
|
export { CbmTimelineComponent } from '../components/timeline/timeline';
|
|
21
|
+
export { CbmRelationshipMovementsComponent } from '../components/relationship-movements/relationship-movements';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -356,3 +356,7 @@ export * from './lib/domain/models/sales-pending-document.domain.model';
|
|
|
356
356
|
//#region transactions purchase repository
|
|
357
357
|
export * from './lib/domain/repositories/transactions-purchase.domain.repository';
|
|
358
358
|
export * from './lib/domain/models/transactions-purchases.domain.model';
|
|
359
|
+
|
|
360
|
+
//#region relationship movements repository
|
|
361
|
+
export * from './lib/components/relationship-movements/relationship-movements';
|
|
362
|
+
export * from './lib/components/relationship-movements/relationship-movements.model';
|