@cbm-common/cbm-types 0.0.13 → 0.0.14
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/package.json +1 -1
- package/public-api.d.ts +137 -0
- package/src/lib/app.config.d.ts +0 -2
- package/src/lib/app.d.ts +0 -3
- package/src/lib/app.routes.d.ts +0 -2
- package/src/lib/components/accounting-seat/accounting-seat.d.ts +0 -32
- package/src/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -13
- package/src/lib/components/accounting-seat/directives/drop-down.directive.d.ts +0 -10
- package/src/lib/components/accounting-seat/types.d.ts +0 -1
- package/src/lib/components/add-client/add-client.d.ts +0 -2
- package/src/lib/components/add-client/animations.d.ts +0 -1
- package/src/lib/components/add-client/constants.d.ts +0 -9
- package/src/lib/components/add-client/types.d.ts +0 -7
- package/src/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +0 -25
- package/src/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +0 -25
- package/src/lib/components/advanced-item-search-modal/animations.d.ts +0 -2
- package/src/lib/components/advanced-item-search-modal/constants.d.ts +0 -1
- package/src/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +0 -85
- package/src/lib/components/advanced-item-search-modal/types.d.ts +0 -7
- package/src/lib/components/attachments/animations.d.ts +0 -1
- package/src/lib/components/attachments/attachments.d.ts +0 -50
- package/src/lib/components/attachments/components/button-item/button-item.d.ts +0 -5
- package/src/lib/components/attachments/components/buttons/buttons.d.ts +0 -8
- package/src/lib/components/attachments/components/grid-view/grid-view.d.ts +0 -32
- package/src/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +0 -2
- package/src/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +0 -2
- package/src/lib/components/attachments/components/list-view/list-view.d.ts +0 -41
- package/src/lib/components/attachments/types.d.ts +0 -7
- package/src/lib/components/documents-reference/animations.d.ts +0 -1
- package/src/lib/components/documents-reference/components/add/add.d.ts +0 -112
- package/src/lib/components/documents-reference/components/delete/delete.d.ts +0 -28
- package/src/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +0 -39
- package/src/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +0 -42
- package/src/lib/components/documents-reference/documents-reference.d.ts +0 -21
- package/src/lib/components/documents-reference/types.d.ts +0 -56
- package/src/lib/components/dropzone/dropzone.d.ts +0 -17
- package/src/lib/components/empty/empty.d.ts +0 -17
- package/src/lib/components/json-modal/json-modal.d.ts +0 -14
- package/src/lib/components/modal-confirm/modal-confirm.d.ts +0 -23
- package/src/lib/components/modal-confirm/ng-content.d.ts +0 -8
- package/src/lib/components/modal-confirm/types.d.ts +0 -6
- package/src/lib/components/pagination-nav/pagination-nav.d.ts +0 -27
- package/src/lib/components/pagination-nav/pagination-nav.model.d.ts +0 -8
- package/src/lib/components/record-detail-metadata/components/options/options.d.ts +0 -13
- package/src/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -13
- package/src/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -9
- package/src/lib/components/record-detail-metadata/record-detail-metadata.d.ts +0 -21
- package/src/lib/components/record-detail-metadata/types.d.ts +0 -48
- package/src/lib/components/tree-select/tree-select.d.ts +0 -60
- package/src/lib/components/tree-select/types.d.ts +0 -8
- package/src/lib/components/user-history/components/email-history/email-history.component.d.ts +0 -66
- package/src/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +0 -13
- package/src/lib/components/user-history/components/general-history/general-history.component.d.ts +0 -58
- package/src/lib/components/user-history/components/print-history/print-history.component.d.ts +0 -58
- package/src/lib/components/user-history/components/sri-history/sri-history.component.d.ts +0 -63
- package/src/lib/components/user-history/components/tab-item/tab-item.component.d.ts +0 -7
- package/src/lib/components/user-history/components/tabs/tabs.component.d.ts +0 -7
- package/src/lib/components/user-history/constants.d.ts +0 -1
- package/src/lib/components/user-history/directives/drop-down.directive.d.ts +0 -9
- package/src/lib/components/user-history/types.d.ts +0 -14
- package/src/lib/components/user-history/user-history.d.ts +0 -30
- package/src/lib/directives/character-counter/character-counter.directive.d.ts +0 -21
- package/src/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +0 -5
- package/src/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +0 -5
- package/src/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +0 -23
- package/src/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +0 -8
- package/src/lib/directives/number-input.directive.d.ts +0 -23
- package/src/lib/directives/resize-container/resize-container.directive.d.ts +0 -20
- package/src/lib/directives/resize-container/resize-container.model.d.ts +0 -6
- package/src/lib/directives/text-input/text-input.directive.d.ts +0 -14
- package/src/lib/directives/text-input/types.d.ts +0 -1
- package/src/lib/directives/tooltip/tooltip/tooltip.d.ts +0 -9
- package/src/lib/directives/tooltip/tooltip/types.d.ts +0 -2
- package/src/lib/directives/tooltip/tooltip.directive.d.ts +0 -26
- package/src/lib/domain/models/alternative-item.domain.model.d.ts +0 -198
- package/src/lib/domain/models/bank-movements.domain.model.d.ts +0 -60
- package/src/lib/domain/models/bank.domain.model.d.ts +0 -92
- package/src/lib/domain/models/card-settlement.domain.model.d.ts +0 -260
- package/src/lib/domain/models/cash-liquidation.domain.model.d.ts +0 -319
- package/src/lib/domain/models/client-branch.domain.model.d.ts +0 -35
- package/src/lib/domain/models/client-category.domain.model.d.ts +0 -69
- package/src/lib/domain/models/client-group.domain.model.d.ts +0 -102
- package/src/lib/domain/models/client.domain.model.d.ts +0 -375
- package/src/lib/domain/models/company.domain.model.d.ts +0 -354
- package/src/lib/domain/models/contact.domain.model.d.ts +0 -28
- package/src/lib/domain/models/cost-center.domain.model.d.ts +0 -111
- package/src/lib/domain/models/deadline.domian.model.d.ts +0 -76
- package/src/lib/domain/models/document-reference.domain.model.d.ts +0 -204
- package/src/lib/domain/models/document-type.model.d.ts +0 -0
- package/src/lib/domain/models/driver.domian.model.d.ts +0 -94
- package/src/lib/domain/models/email-settings.domain.model.d.ts +0 -86
- package/src/lib/domain/models/financial-bank.domain.model.d.ts +0 -153
- package/src/lib/domain/models/group.domain.model.d.ts +0 -78
- package/src/lib/domain/models/history.domain.model.d.ts +0 -66
- package/src/lib/domain/models/item.domain.model.d.ts +0 -935
- package/src/lib/domain/models/kit.domain.model.d.ts +0 -508
- package/src/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +0 -125
- package/src/lib/domain/models/price-list.domain.model.d.ts +0 -54
- package/src/lib/domain/models/report-financials.domain.model.d.ts +0 -2165
- package/src/lib/domain/models/seat.domain.model.d.ts +0 -325
- package/src/lib/domain/models/seller.domain.model.d.ts +0 -135
- package/src/lib/domain/models/service-outsourcing.domain.model.d.ts +0 -273
- package/src/lib/domain/models/service.domain.model.d.ts +0 -314
- package/src/lib/domain/models/sri-history.domain.model.d.ts +0 -298
- package/src/lib/domain/models/upload.domain.model.d.ts +0 -117
- package/src/lib/domain/models/user.domain.model.d.ts +0 -260
- package/src/lib/domain/models/warehouse.domain.model.d.ts +0 -97
- package/src/lib/domain/repositories/alternative-item.domain.repository.d.ts +0 -17
- package/src/lib/domain/repositories/bank-movements.domain.repository.d.ts +0 -10
- package/src/lib/domain/repositories/bank.domain.repository.d.ts +0 -14
- package/src/lib/domain/repositories/card-settlement.domain.repository.d.ts +0 -12
- package/src/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +0 -13
- package/src/lib/domain/repositories/client-branch.domain.repository.d.ts +0 -8
- package/src/lib/domain/repositories/client-category.domain.repository.d.ts +0 -14
- package/src/lib/domain/repositories/client-group.domain.repository.d.ts +0 -14
- package/src/lib/domain/repositories/client.domain.repository.d.ts +0 -18
- package/src/lib/domain/repositories/company.domain.repository.d.ts +0 -16
- package/src/lib/domain/repositories/contact.domain.repository.d.ts +0 -8
- package/src/lib/domain/repositories/cost-center.domain.repository.d.ts +0 -15
- package/src/lib/domain/repositories/deadline.domain.repository.d.ts +0 -12
- package/src/lib/domain/repositories/document-reference.domain.repository.d.ts +0 -15
- package/src/lib/domain/repositories/document-type.domain.repository.d.ts +0 -2
- package/src/lib/domain/repositories/driver.domain.repository.d.ts +0 -14
- package/src/lib/domain/repositories/email-settings.domain.repository.d.ts +0 -13
- package/src/lib/domain/repositories/financial-bank.domain.repository.d.ts +0 -15
- package/src/lib/domain/repositories/group.domain.repository.d.ts +0 -9
- package/src/lib/domain/repositories/history.domain.repository.d.ts +0 -10
- package/src/lib/domain/repositories/item.domain.repository.d.ts +0 -20
- package/src/lib/domain/repositories/kit.domain.repository.d.ts +0 -18
- package/src/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +0 -12
- package/src/lib/domain/repositories/price-list.domain.repository.d.ts +0 -9
- package/src/lib/domain/repositories/report-financials.domain.repository.d.ts +0 -241
- package/src/lib/domain/repositories/seat.domain.repository.d.ts +0 -20
- package/src/lib/domain/repositories/seller.domain.repository.d.ts +0 -17
- package/src/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +0 -20
- package/src/lib/domain/repositories/service.domain.repository.d.ts +0 -20
- package/src/lib/domain/repositories/sri-history.domain.repository.d.ts +0 -9
- package/src/lib/domain/repositories/upload.domain.repository.d.ts +0 -15
- package/src/lib/domain/repositories/user.domain.repository.d.ts +0 -21
- package/src/lib/domain/repositories/warehouse.domain.repository.d.ts +0 -14
- package/src/lib/domain/services/auth/auth.model.d.ts +0 -182
- package/src/lib/domain/services/auth/auth.service.d.ts +0 -18
- package/src/lib/domain/services/notification/notification.model.d.ts +0 -15
- package/src/lib/domain/services/notification/notification.service.d.ts +0 -4
- package/src/lib/domain/services/web-socket/web-socket.model.d.ts +0 -32
- package/src/lib/domain/services/web-socket/web-socket.service.d.ts +0 -18
- package/src/lib/environments/environment.d.ts +0 -29
- package/src/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +0 -14
- package/src/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +0 -6
- package/src/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +0 -10
- package/src/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +0 -8
- package/src/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +0 -9
- package/src/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +0 -5
- package/src/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +0 -15
- package/src/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +0 -13
- package/src/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +0 -5
- package/src/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +0 -9
- package/src/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +0 -12
- package/src/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +0 -0
- package/src/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +0 -10
- package/src/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +0 -6
- package/src/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +0 -7
- package/src/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +0 -17
- package/src/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +0 -15
- package/src/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +0 -8
- package/src/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +0 -6
- package/src/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +0 -238
- package/src/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +0 -17
- package/src/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +0 -14
- package/src/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +0 -17
- package/src/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +0 -17
- package/src/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +0 -5
- package/src/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +0 -12
- package/src/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +0 -18
- package/src/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +0 -11
- package/src/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +0 -19
- package/src/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +0 -11
- package/src/lib/infrastructure/services/bank.infrasctructure.service.d.ts +0 -15
- package/src/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +0 -13
- package/src/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +0 -14
- package/src/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +0 -10
- package/src/lib/infrastructure/services/client-category.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/client-group.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/client.infrastructure.service.d.ts +0 -20
- package/src/lib/infrastructure/services/company.infrastructure.service.d.ts +0 -17
- package/src/lib/infrastructure/services/contact.infrastructure.service.d.ts +0 -10
- package/src/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/deadline.infrastructure.service.d.ts +0 -14
- package/src/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +0 -17
- package/src/lib/infrastructure/services/document-type.infrastructure.service.d.ts +0 -2
- package/src/lib/infrastructure/services/driver.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +0 -14
- package/src/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/group.infrastructure.service.d.ts +0 -11
- package/src/lib/infrastructure/services/history.infrastructure.service.d.ts +0 -11
- package/src/lib/infrastructure/services/item.infrastructure.service.d.ts +0 -21
- package/src/lib/infrastructure/services/kit.infrastructure.service.d.ts +0 -19
- package/src/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +0 -13
- package/src/lib/infrastructure/services/price-list.infrastructure.service.d.ts +0 -11
- package/src/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +0 -246
- package/src/lib/infrastructure/services/seat.infrastructure.service.d.ts +0 -21
- package/src/lib/infrastructure/services/seller.infrastructure.service.d.ts +0 -19
- package/src/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +0 -21
- package/src/lib/infrastructure/services/service.infrastructure.service.d.ts +0 -21
- package/src/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +0 -9
- package/src/lib/infrastructure/services/upload.infrastructure.service.d.ts +0 -16
- package/src/lib/infrastructure/services/user.infrastructure.service.d.ts +0 -22
- package/src/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +0 -16
- package/src/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +0 -8
- package/src/lib/remotes/components.remote.d.ts +0 -3
- package/src/lib/remotes/repositories/company.repository.d.ts +0 -3
- package/src/lib/remotes/repositories/user.repository.d.ts +0 -3
- package/src/lib/remotes/repositories.remote.d.ts +0 -2
- package/src/lib/remotes/services/auth.service.d.ts +0 -3
- package/src/lib/remotes/services/web-socket.service.d.ts +0 -4
- package/src/lib/remotes/services.remote.d.ts +0 -3
- package/src/lib/remotes/types.remote.d.ts +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormArray, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { TStatus } from '@components/accounting-seat/types';
|
|
4
|
-
import { TOptionType, CbmDocumentsReferenceModel, IAddedDocument, IListData, TLabels, ICollectionOptions, Pagination } from '@components/documents-reference/types';
|
|
5
|
-
import { CbmModalConfirmComponent } from '@components/modal-confirm/modal-confirm';
|
|
6
|
-
import { CbmDocumentReferenceModel } from '@models/document-reference.domain.model';
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from '@repositories/document-reference.domain.repository';
|
|
8
|
-
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
9
|
-
export declare class AddComponent implements OnInit {
|
|
10
|
-
private documentReferenceRepository;
|
|
11
|
-
private notificationService;
|
|
12
|
-
private destroyRef;
|
|
13
|
-
collectionId: import("@angular/core").InputSignal<string>;
|
|
14
|
-
collectionName: import("@angular/core").InputSignal<string>;
|
|
15
|
-
documentOriginName: import("@angular/core").InputSignal<string>;
|
|
16
|
-
documentOriginNumber: import("@angular/core").InputSignal<string>;
|
|
17
|
-
documentOriginDate: import("@angular/core").InputSignal<number>;
|
|
18
|
-
document_to_type: import("@angular/core").InputSignal<TOptionType>;
|
|
19
|
-
document_by_type: import("@angular/core").InputSignal<TOptionType>;
|
|
20
|
-
config_methods_to: import("@angular/core").InputSignal<CbmDocumentsReferenceModel.ConfigMethod | undefined>;
|
|
21
|
-
config_methods_by: import("@angular/core").InputSignal<CbmDocumentsReferenceModel.ConfigMethod | undefined>;
|
|
22
|
-
modalConfirm: import("@angular/core").InputSignal<CbmModalConfirmComponent>;
|
|
23
|
-
type_of_reference: import("@angular/core").InputSignal<"document_by" | "document_to">;
|
|
24
|
-
type_of_reference_data: import("@angular/core").Signal<"document_by" | "document_to">;
|
|
25
|
-
goBack: import("@angular/core").OutputEmitterRef<void>;
|
|
26
|
-
isSmallScreen: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
isFormForFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
28
|
-
statusOfFetchInternalDocuments: import("@angular/core").WritableSignal<TStatus>;
|
|
29
|
-
statusOfSaveDocuments: import("@angular/core").WritableSignal<TStatus>;
|
|
30
|
-
externalDocumentsArrayErrors: import("@angular/core").WritableSignal<ValidationErrors | null>;
|
|
31
|
-
addedDocuments: import("@angular/core").WritableSignal<IAddedDocument[]>;
|
|
32
|
-
externalDocumentErrorLocation: import("@angular/core").WritableSignal<string | null>;
|
|
33
|
-
externalDocumentErrorRowIndex: import("@angular/core").WritableSignal<number | null>;
|
|
34
|
-
statusOfFetchExistingDocuments: import("@angular/core").WritableSignal<TStatus>;
|
|
35
|
-
existingDocuments: import("@angular/core").WritableSignal<CbmDocumentReferenceModel.ListResponse.Data[]>;
|
|
36
|
-
documentData: import("@angular/core").WritableSignal<IListData[]>;
|
|
37
|
-
listData: import("@angular/core").WritableSignal<{
|
|
38
|
-
_id: string;
|
|
39
|
-
document_nomenclature: string;
|
|
40
|
-
document_number: string;
|
|
41
|
-
beneficiary_number?: string;
|
|
42
|
-
beneficiary_name: string;
|
|
43
|
-
created_at: number;
|
|
44
|
-
}[]>;
|
|
45
|
-
labelsOfCollectionNames: import("@angular/core").InputSignal<TLabels>;
|
|
46
|
-
optionsOfCollection: import("@angular/core").WritableSignal<ICollectionOptions[]>;
|
|
47
|
-
pagination: import("@angular/core").WritableSignal<Pagination>;
|
|
48
|
-
computedGoodsReceipts: import("@angular/core").Signal<IListData[]>;
|
|
49
|
-
computedData: import("@angular/core").Signal<{
|
|
50
|
-
_id: string;
|
|
51
|
-
document_nomenclature: string;
|
|
52
|
-
document_number: string;
|
|
53
|
-
beneficiary_number?: string;
|
|
54
|
-
beneficiary_name: string;
|
|
55
|
-
created_at: number;
|
|
56
|
-
}[]>;
|
|
57
|
-
types: import("@angular/core").WritableSignal<{
|
|
58
|
-
value: "internal" | "external";
|
|
59
|
-
label: string;
|
|
60
|
-
}[]>;
|
|
61
|
-
config_methods: import("@angular/core").WritableSignal<CbmDocumentsReferenceModel.ConfigMethod | undefined>;
|
|
62
|
-
now: Date;
|
|
63
|
-
formToSave: FormGroup<{
|
|
64
|
-
type: FormControl<"internal" | "external" | null>;
|
|
65
|
-
transactionType: FormControl<string | null>;
|
|
66
|
-
externalDocuments: FormArray<FormGroup<{
|
|
67
|
-
date: FormControl<string | null>;
|
|
68
|
-
documentNumber: FormControl<string | null>;
|
|
69
|
-
documentName: FormControl<string | null>;
|
|
70
|
-
}>>;
|
|
71
|
-
}>;
|
|
72
|
-
formForFilter: FormGroup<{
|
|
73
|
-
startDate: FormControl<string | null>;
|
|
74
|
-
endDate: FormControl<string | null>;
|
|
75
|
-
documentNumber: FormControl<string | null>;
|
|
76
|
-
}>;
|
|
77
|
-
constructor(documentReferenceRepository: CbmDocumentReferenceDomainRepository, notificationService: CbmNotificationService, destroyRef: DestroyRef);
|
|
78
|
-
ngOnInit(): void;
|
|
79
|
-
get typeControl(): FormControl<"internal" | "external" | null>;
|
|
80
|
-
get transactionTypeControl(): FormControl<string | null>;
|
|
81
|
-
get startDateControl(): FormControl<string | null>;
|
|
82
|
-
get endDateControl(): FormControl<string | null>;
|
|
83
|
-
get documentNumberControl(): FormControl<string | null>;
|
|
84
|
-
get externalDocumentsArray(): FormArray<FormGroup<{
|
|
85
|
-
date: FormControl<string | null>;
|
|
86
|
-
documentNumber: FormControl<string | null>;
|
|
87
|
-
documentName: FormControl<string | null>;
|
|
88
|
-
}>>;
|
|
89
|
-
groupDateControl(index: number): FormControl<string | null>;
|
|
90
|
-
groupDocumentNumberControl(index: number): FormControl<string | null>;
|
|
91
|
-
groupDocumentNameControl(index: number): FormControl<string | null>;
|
|
92
|
-
fetchExistingDocuments(): void;
|
|
93
|
-
fetchDocuments(collectionName: string, resetPagination?: boolean, event?: Event): void;
|
|
94
|
-
onGoToPage(page: number): void;
|
|
95
|
-
onNextPage(page: number): void;
|
|
96
|
-
onPreviousPage(page: number): void;
|
|
97
|
-
onPageSizeChange(size: number): void;
|
|
98
|
-
addDocument(goodsReceipt: {
|
|
99
|
-
_id: string;
|
|
100
|
-
document_nomenclature: string;
|
|
101
|
-
document_number: string;
|
|
102
|
-
beneficiary_number?: string;
|
|
103
|
-
beneficiary_name: string;
|
|
104
|
-
created_at: number;
|
|
105
|
-
}): void;
|
|
106
|
-
saveDocuments(): Promise<void>;
|
|
107
|
-
removeAddedDocument(index: number): void;
|
|
108
|
-
addExternalDocumentGroup(): void;
|
|
109
|
-
removeExternalDocumentGroup(index: number): void;
|
|
110
|
-
checkForExternalDocumentsErrors(): void;
|
|
111
|
-
getPropertyValue<T>(obj: any, property: string, config: CbmDocumentsReferenceModel.Config): T;
|
|
112
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { TLabels } from '@components/documents-reference/types';
|
|
4
|
-
import { CbmModalConfirmComponent } from '@components/modal-confirm/modal-confirm';
|
|
5
|
-
import { CbmRecordDetailMetadataModel } from '@components/record-detail-metadata/types';
|
|
6
|
-
import { CbmDocumentReferenceModel } from '@models/document-reference.domain.model';
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from '@repositories/document-reference.domain.repository';
|
|
8
|
-
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
9
|
-
export declare class DeleteComponent implements OnInit {
|
|
10
|
-
private notificationService;
|
|
11
|
-
private documentReferenceRepository;
|
|
12
|
-
private destroyRef;
|
|
13
|
-
constructor(notificationService: CbmNotificationService, documentReferenceRepository: CbmDocumentReferenceDomainRepository, destroyRef: DestroyRef);
|
|
14
|
-
loading: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
-
document: import("@angular/core").InputSignal<CbmDocumentReferenceModel.ListResponse.Data>;
|
|
16
|
-
collection_names: import("@angular/core").InputSignal<TLabels>;
|
|
17
|
-
modal_confirm: import("@angular/core").InputSignal<CbmModalConfirmComponent>;
|
|
18
|
-
documentType: import("@angular/core").InputSignal<"to" | "by">;
|
|
19
|
-
document_secuencial: () => string;
|
|
20
|
-
cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
21
|
-
metadata: import("@angular/core").Signal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
22
|
-
aditionalMetadata: import("@angular/core").Signal<CbmRecordDetailMetadataModel.additionalMetadata[]>;
|
|
23
|
-
wordConfirmationControl: FormControl<string>;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
wordConfirmationValidator(): ValidatorFn;
|
|
26
|
-
noWhitespaceValidator(): ValidatorFn;
|
|
27
|
-
delete(): Promise<void>;
|
|
28
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from '@components/accounting-seat/types';
|
|
4
|
-
import { TLabels } from '@components/documents-reference/types';
|
|
5
|
-
import { CbmModalConfirmComponent } from '@components/modal-confirm/modal-confirm';
|
|
6
|
-
import { CbmDocumentReferenceModel } from '@models/document-reference.domain.model';
|
|
7
|
-
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from '@repositories/document-reference.domain.repository';
|
|
9
|
-
export declare class ReferenceDocumentByTabComponent {
|
|
10
|
-
private documentReferenceRepository;
|
|
11
|
-
private notificationService;
|
|
12
|
-
private destroyRef;
|
|
13
|
-
dropdownMenus: import("@angular/core").Signal<readonly ElementRef<any>[]>;
|
|
14
|
-
collectionId: import("@angular/core").InputSignal<string>;
|
|
15
|
-
collectionName: import("@angular/core").InputSignal<string>;
|
|
16
|
-
labelsOfCollectionNames: import("@angular/core").InputSignal<TLabels>;
|
|
17
|
-
modal_confirm: import("@angular/core").InputSignal<CbmModalConfirmComponent>;
|
|
18
|
-
isFormForFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
-
statusOfFetchDocuments: import("@angular/core").WritableSignal<TStatus>;
|
|
20
|
-
statusOfDeleteDocument: import("@angular/core").WritableSignal<TStatus>;
|
|
21
|
-
documents: import("@angular/core").WritableSignal<CbmDocumentReferenceModel.ListResponse.Data[]>;
|
|
22
|
-
isSmallScreen: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
-
isDeleteViewVisible: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
-
documentToDelete: import("@angular/core").WritableSignal<CbmDocumentReferenceModel.ListResponse.Data | null>;
|
|
25
|
-
now: Date;
|
|
26
|
-
documentListener: () => void;
|
|
27
|
-
formForFilter: FormGroup<{
|
|
28
|
-
startDate: FormControl<string | null>;
|
|
29
|
-
endDate: FormControl<string | null>;
|
|
30
|
-
}>;
|
|
31
|
-
constructor(documentReferenceRepository: CbmDocumentReferenceDomainRepository, notificationService: CbmNotificationService, destroyRef: DestroyRef);
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngAfterViewChecked(): void;
|
|
35
|
-
fetchDocuments(): void;
|
|
36
|
-
onDropdownMenuClick(event: MouseEvent, dropdownMenu: HTMLUListElement): void;
|
|
37
|
-
onDeletePress(document: CbmDocumentReferenceModel.ListResponse.Data): void;
|
|
38
|
-
onBackPress(): void;
|
|
39
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from '@components/accounting-seat/types';
|
|
4
|
-
import { TLabels, ICollectionOptions } from '@components/documents-reference/types';
|
|
5
|
-
import { CbmModalConfirmComponent } from '@components/modal-confirm/modal-confirm';
|
|
6
|
-
import { CbmDocumentReferenceModel } from '@models/document-reference.domain.model';
|
|
7
|
-
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from '@repositories/document-reference.domain.repository';
|
|
9
|
-
export declare class ReferenceDocumentToTabComponent implements OnChanges, OnInit, AfterViewChecked {
|
|
10
|
-
private documentReferenceRepository;
|
|
11
|
-
private notificationService;
|
|
12
|
-
private destroyRef;
|
|
13
|
-
dropdownMenus: import("@angular/core").Signal<readonly ElementRef<any>[]>;
|
|
14
|
-
collectionId: import("@angular/core").InputSignal<string>;
|
|
15
|
-
collectionName: import("@angular/core").InputSignal<string>;
|
|
16
|
-
labelsOfCollectionNames: import("@angular/core").InputSignal<TLabels>;
|
|
17
|
-
filterCollection: import("@angular/core").InputSignal<string[]>;
|
|
18
|
-
modal_confirm: import("@angular/core").InputSignal<CbmModalConfirmComponent>;
|
|
19
|
-
isFormForFilterVisible: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
-
statusOfFetchDocuments: import("@angular/core").WritableSignal<TStatus>;
|
|
21
|
-
statusOfDeleteDocument: import("@angular/core").WritableSignal<TStatus>;
|
|
22
|
-
documents: import("@angular/core").WritableSignal<CbmDocumentReferenceModel.ListResponse.Data[]>;
|
|
23
|
-
isSmallScreen: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
-
isDeleteViewVisible: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
-
documentToDelete: import("@angular/core").WritableSignal<CbmDocumentReferenceModel.ListResponse.Data | null>;
|
|
26
|
-
now: Date;
|
|
27
|
-
namesOfCollections: import("@angular/core").WritableSignal<ICollectionOptions[]>;
|
|
28
|
-
documentListener: () => void;
|
|
29
|
-
formForFilter: FormGroup<{
|
|
30
|
-
collectionDestinationName: FormControl<ICollectionOptions | null>;
|
|
31
|
-
startDate: FormControl<string | null>;
|
|
32
|
-
endDate: FormControl<string | null>;
|
|
33
|
-
}>;
|
|
34
|
-
constructor(documentReferenceRepository: CbmDocumentReferenceDomainRepository, notificationService: CbmNotificationService, destroyRef: DestroyRef);
|
|
35
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngAfterViewChecked(): void;
|
|
38
|
-
fetchDocuments(): void;
|
|
39
|
-
onDropdownMenuClick(event: MouseEvent, dropdownMenu: HTMLUListElement): void;
|
|
40
|
-
onDeletePress(document: CbmDocumentReferenceModel.ListResponse.Data): void;
|
|
41
|
-
onBackPress(): void;
|
|
42
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NgSelectConfig } from '@ng-select/ng-select';
|
|
2
|
-
import { CbmModalConfirmComponent } from '@components/modal-confirm/modal-confirm';
|
|
3
|
-
import { TLabels, TOptionType, CbmDocumentsReferenceModel } from './types';
|
|
4
|
-
export declare class CbmDocumentsReferenceComponent {
|
|
5
|
-
private config;
|
|
6
|
-
collectionId: import("@angular/core").InputSignal<string>;
|
|
7
|
-
collectionName: import("@angular/core").InputSignal<string>;
|
|
8
|
-
documentOriginName: import("@angular/core").InputSignal<string>;
|
|
9
|
-
documentOriginNumber: import("@angular/core").InputSignal<string>;
|
|
10
|
-
documentOriginDate: import("@angular/core").InputSignal<number>;
|
|
11
|
-
labelsOfCollectionNames: import("@angular/core").InputSignal<TLabels>;
|
|
12
|
-
modal_confirm: import("@angular/core").InputSignal<CbmModalConfirmComponent>;
|
|
13
|
-
filterCollection: import("@angular/core").InputSignal<string[]>;
|
|
14
|
-
document_to_type: import("@angular/core").InputSignal<TOptionType>;
|
|
15
|
-
document_by_type: import("@angular/core").InputSignal<TOptionType>;
|
|
16
|
-
config_methods_to: import("@angular/core").InputSignal<CbmDocumentsReferenceModel.ConfigMethod | undefined>;
|
|
17
|
-
config_methods_by: import("@angular/core").InputSignal<CbmDocumentsReferenceModel.ConfigMethod | undefined>;
|
|
18
|
-
isAddViewVisible: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
-
tab_name: import("@angular/core").WritableSignal<"document_by" | "document_to">;
|
|
20
|
-
constructor(config: NgSelectConfig);
|
|
21
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
2
|
-
export type TLabels = {
|
|
3
|
-
[key: string]: string;
|
|
4
|
-
};
|
|
5
|
-
export type TOptionType = 'all' | 'internal' | 'external';
|
|
6
|
-
export interface Pagination {
|
|
7
|
-
page: number;
|
|
8
|
-
pages: number;
|
|
9
|
-
records: number;
|
|
10
|
-
size: number;
|
|
11
|
-
}
|
|
12
|
-
export declare const initPagination: Readonly<{
|
|
13
|
-
page: 1;
|
|
14
|
-
pages: 0;
|
|
15
|
-
records: 0;
|
|
16
|
-
size: 20;
|
|
17
|
-
}>;
|
|
18
|
-
export interface ICollectionOptions {
|
|
19
|
-
label: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IAddedDocument {
|
|
23
|
-
_id: string;
|
|
24
|
-
transaction_type: string;
|
|
25
|
-
document_number: string;
|
|
26
|
-
document_nomenclature: string;
|
|
27
|
-
beneficiary_number?: string;
|
|
28
|
-
beneficiary_name: string;
|
|
29
|
-
created_at: number;
|
|
30
|
-
}
|
|
31
|
-
export interface IListData {
|
|
32
|
-
_id: string | string[];
|
|
33
|
-
document_nomenclature: string | string[];
|
|
34
|
-
document_number: string | string[];
|
|
35
|
-
beneficiary_number?: string | string[];
|
|
36
|
-
beneficiary_name: string | string[];
|
|
37
|
-
created_at: number | number[];
|
|
38
|
-
}
|
|
39
|
-
export declare namespace CbmDocumentsReferenceModel {
|
|
40
|
-
interface IFilters {
|
|
41
|
-
date_end?: string;
|
|
42
|
-
date_begin?: string;
|
|
43
|
-
document_number?: string;
|
|
44
|
-
}
|
|
45
|
-
export interface Config {
|
|
46
|
-
repository: any;
|
|
47
|
-
method_name?: string;
|
|
48
|
-
control_pagination?: boolean;
|
|
49
|
-
filters?: IFilters;
|
|
50
|
-
list_data?: Partial<IListData>;
|
|
51
|
-
}
|
|
52
|
-
export type ConfigMethod = {
|
|
53
|
-
[key: string]: Config;
|
|
54
|
-
};
|
|
55
|
-
export {};
|
|
56
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare class CbmDropzoneComponent {
|
|
2
|
-
message: import("@angular/core").InputSignal<string | undefined>;
|
|
3
|
-
accept: import("@angular/core").InputSignal<string | undefined>;
|
|
4
|
-
files: import("@angular/core").InputSignal<File[]>;
|
|
5
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
darkMode: import("@angular/core").InputSignal<boolean>;
|
|
7
|
-
uplaodFile: import("@angular/core").OutputEmitterRef<FileList>;
|
|
8
|
-
dragover: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
-
counter: import("@angular/core").WritableSignal<number>;
|
|
10
|
-
onFileSelected(event: Event): void;
|
|
11
|
-
onDragOver(event: Event): void;
|
|
12
|
-
onDragEnter(_: Event): void;
|
|
13
|
-
onDragLeave(event: MouseEvent): void;
|
|
14
|
-
onDrop(event: DragEvent): void;
|
|
15
|
-
downloadFile(file: File): void;
|
|
16
|
-
onUploadClick(event: MouseEvent): void;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare class CbmEmptyComponent {
|
|
2
|
-
title: import("@angular/core").InputSignal<string>;
|
|
3
|
-
isMessageShown: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
message: import("@angular/core").InputSignal<string>;
|
|
5
|
-
messageStyle: import("@angular/core").InputSignal<{
|
|
6
|
-
[klass: string]: any;
|
|
7
|
-
} | null | undefined>;
|
|
8
|
-
titleStyle: import("@angular/core").InputSignal<{
|
|
9
|
-
[klass: string]: any;
|
|
10
|
-
} | null | undefined>;
|
|
11
|
-
iconStyle: import("@angular/core").InputSignal<{
|
|
12
|
-
[klass: string]: any;
|
|
13
|
-
} | null | undefined>;
|
|
14
|
-
containerStyle: import("@angular/core").InputSignal<{
|
|
15
|
-
[klass: string]: any;
|
|
16
|
-
} | null | undefined>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CbmNotificationService } from '@services/notification/notification.service';
|
|
2
|
-
export declare class CbmJsonModalComponent {
|
|
3
|
-
private notificationService;
|
|
4
|
-
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
5
|
-
json: import("@angular/core").InputSignal<object>;
|
|
6
|
-
titleText: import("@angular/core").InputSignal<string>;
|
|
7
|
-
open: import("@angular/core").OutputEmitterRef<void>;
|
|
8
|
-
close: import("@angular/core").OutputEmitterRef<void>;
|
|
9
|
-
isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
-
constructor(notificationService: CbmNotificationService);
|
|
11
|
-
openModal(): void;
|
|
12
|
-
closeModal(): void;
|
|
13
|
-
copyJSON(): void;
|
|
14
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { CbmModalConfirmModel } from './types';
|
|
4
|
-
type TPosition = 'start' | 'center' | 'end';
|
|
5
|
-
export declare class CbmModalConfirmComponent {
|
|
6
|
-
private render2;
|
|
7
|
-
private destroyRef;
|
|
8
|
-
constructor(render2: Renderer2, destroyRef: DestroyRef);
|
|
9
|
-
modalId: import("@angular/core").InputSignal<string>;
|
|
10
|
-
size: import("@angular/core").InputSignal<string>;
|
|
11
|
-
position_x: import("@angular/core").InputSignal<TPosition>;
|
|
12
|
-
position_y: import("@angular/core").InputSignal<TPosition>;
|
|
13
|
-
text_btn_confirm: import("@angular/core").InputSignal<string>;
|
|
14
|
-
text_btn_cancel: import("@angular/core").InputSignal<string>;
|
|
15
|
-
protected params: import("@angular/core").WritableSignal<CbmModalConfirmModel.ParamsForOpen>;
|
|
16
|
-
protected modalRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
17
|
-
protected contentRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
18
|
-
protected resolve$: Subject<'confirm' | 'cancel'> | null;
|
|
19
|
-
closeModal(): void;
|
|
20
|
-
private animationModal;
|
|
21
|
-
onConfirm(params: CbmModalConfirmModel.ParamsForOpen): Promise<boolean>;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OnInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
export declare class NgContentLoad implements OnInit {
|
|
3
|
-
private render2;
|
|
4
|
-
private elementRef;
|
|
5
|
-
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
-
constructor(render2: Renderer2, elementRef: ElementRef);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SimpleChanges, WritableSignal } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { CbmPaginationNavModel } from './pagination-nav.model';
|
|
4
|
-
export declare class CbmPaginationNavComponent {
|
|
5
|
-
'signal-pagination': import("@angular/core").InputSignal<WritableSignal<CbmPaginationNavModel.Paginated> | null>;
|
|
6
|
-
current: import("@angular/core").InputSignal<number>;
|
|
7
|
-
total: import("@angular/core").InputSignal<number>;
|
|
8
|
-
totalRecords: import("@angular/core").InputSignal<number>;
|
|
9
|
-
shownRecords: import("@angular/core").InputSignal<number>;
|
|
10
|
-
pageSize: import("@angular/core").InputSignal<number>;
|
|
11
|
-
darkMode: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
'change-signal': import("@angular/core").OutputEmitterRef<WritableSignal<CbmPaginationNavModel.Paginated>>;
|
|
13
|
-
goTo: import("@angular/core").OutputEmitterRef<number>;
|
|
14
|
-
next: import("@angular/core").OutputEmitterRef<number>;
|
|
15
|
-
previous: import("@angular/core").OutputEmitterRef<number>;
|
|
16
|
-
pageSizeChange: import("@angular/core").OutputEmitterRef<number>;
|
|
17
|
-
pages: WritableSignal<number[]>;
|
|
18
|
-
pageSizeControl: FormControl<string | null>;
|
|
19
|
-
private signalPagination;
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
emitPageSize(): void;
|
|
22
|
-
onGoTo(page: number): void;
|
|
23
|
-
onNext(): void;
|
|
24
|
-
onPrevious(): void;
|
|
25
|
-
private getPages;
|
|
26
|
-
onButtonClick(event: MouseEvent, rippleClass: string): void;
|
|
27
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { WritableSignal } from '@angular/core';
|
|
2
|
-
import { Router, ActivatedRoute, Params } from '@angular/router';
|
|
3
|
-
import { CbmRecordDetailMetadataModel } from '@components/record-detail-metadata/types';
|
|
4
|
-
export declare class OptionsComponent {
|
|
5
|
-
private router;
|
|
6
|
-
private route;
|
|
7
|
-
constructor(router: Router, route: ActivatedRoute);
|
|
8
|
-
metadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
9
|
-
options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
|
|
10
|
-
optionInSignals: WritableSignal<WritableSignal<CbmRecordDetailMetadataModel.options>[]>;
|
|
11
|
-
executeFunction(option: WritableSignal<CbmRecordDetailMetadataModel.options>): void;
|
|
12
|
-
navigate(routerLink?: string, queryParams?: Params): void;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
export declare class DropdownMenuDirective implements OnChanges, AfterViewInit {
|
|
3
|
-
private element;
|
|
4
|
-
private renderer2;
|
|
5
|
-
hiddenMenu: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
hiddenMenuOp: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
constructor(element: ElementRef, renderer2: Renderer2);
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
10
|
-
toggle(event: Event): void;
|
|
11
|
-
private toggleMenu;
|
|
12
|
-
initStyle(): void;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
export declare class DropdownDirective {
|
|
3
|
-
private elementRef;
|
|
4
|
-
private renderer;
|
|
5
|
-
private isOpen;
|
|
6
|
-
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
7
|
-
toggleDropdown(event: MouseEvent): void;
|
|
8
|
-
closeDropdown(event: MouseEvent): void;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { CbmRecordDetailMetadataModel } from './types';
|
|
3
|
-
export declare class CbmRecordDetailMetadataComponent implements OnChanges, OnInit {
|
|
4
|
-
private elementRef;
|
|
5
|
-
private renderer2;
|
|
6
|
-
constructor(elementRef: ElementRef, renderer2: Renderer2);
|
|
7
|
-
metadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
8
|
-
additionalMetadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.additionalMetadata[] | undefined>;
|
|
9
|
-
options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
|
|
10
|
-
optionsSignal: import("@angular/core").WritableSignal<CbmRecordDetailMetadataModel.options[]>;
|
|
11
|
-
loadCss: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
changeState(id: string, state: 'init' | 'loading' | 'success' | 'failed'): void;
|
|
15
|
-
private updateStateById;
|
|
16
|
-
private extractRelevantStyles;
|
|
17
|
-
private injectStylesIntoDocument;
|
|
18
|
-
spanText: (data: CbmRecordDetailMetadataModel.metadata) => string;
|
|
19
|
-
protected getRoundedCotentClass(): string;
|
|
20
|
-
protected getIconClass(): string;
|
|
21
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { WritableSignal } from "@angular/core";
|
|
2
|
-
export declare namespace CbmRecordDetailMetadataModel {
|
|
3
|
-
interface metadata {
|
|
4
|
-
iconClass: string;
|
|
5
|
-
title: string;
|
|
6
|
-
_id: string;
|
|
7
|
-
created_at: number;
|
|
8
|
-
created_user: string;
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
disabled_reason?: string;
|
|
11
|
-
disabled_user?: string;
|
|
12
|
-
disabled_date?: number;
|
|
13
|
-
reverse_status?: boolean;
|
|
14
|
-
reverse_date?: number;
|
|
15
|
-
reverse_user?: string;
|
|
16
|
-
reverse_reason?: string;
|
|
17
|
-
reverse_commentary?: string;
|
|
18
|
-
return?: boolean;
|
|
19
|
-
color_state?: 'info' | 'warning' | 'danger' | 'primary' | 'secondary' | 'success';
|
|
20
|
-
state?: string;
|
|
21
|
-
badge_text?: string;
|
|
22
|
-
badge_color?: 'info' | 'warning' | 'danger' | 'primary' | 'secondary' | 'success';
|
|
23
|
-
routeToReturn?: string;
|
|
24
|
-
eliminated?: boolean;
|
|
25
|
-
eliminated_by?: string;
|
|
26
|
-
eliminated_date?: number;
|
|
27
|
-
}
|
|
28
|
-
interface additionalMetadata {
|
|
29
|
-
iconClass: string;
|
|
30
|
-
property: string;
|
|
31
|
-
value: string;
|
|
32
|
-
}
|
|
33
|
-
interface options {
|
|
34
|
-
id?: string;
|
|
35
|
-
label: string;
|
|
36
|
-
labelDisabled?: string;
|
|
37
|
-
iconClass: string;
|
|
38
|
-
iconClassDisabled?: string;
|
|
39
|
-
loading?: 'init' | 'loading' | 'success' | 'failed';
|
|
40
|
-
isChangeStatus?: boolean;
|
|
41
|
-
routerLink?: string;
|
|
42
|
-
queryParams?: any;
|
|
43
|
-
hiddenOption?: boolean;
|
|
44
|
-
children?: options[];
|
|
45
|
-
function?: (op: WritableSignal<OptionsParams>) => void;
|
|
46
|
-
}
|
|
47
|
-
type OptionsParams = Omit<options, 'function' | 'children'>;
|
|
48
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { CbmTreeSelect } from './types';
|
|
5
|
-
type NodesT<T> = T | T[] | CbmTreeSelect.Node<T> | CbmTreeSelect.Node<T>[] | null;
|
|
6
|
-
export declare class CbmTreeSelectComponent<T = any> implements OnInit, ControlValueAccessor {
|
|
7
|
-
private destroyRef;
|
|
8
|
-
private elementRef;
|
|
9
|
-
defaultCompareWith: (o1: NodesT<T>, o2: NodesT<T>) => boolean;
|
|
10
|
-
onChange: (value: any) => void;
|
|
11
|
-
onTouched: () => void;
|
|
12
|
-
placeholder: import("@angular/core").InputSignal<string>;
|
|
13
|
-
options: import("@angular/core").InputSignal<CbmTreeSelect.Node<T> | CbmTreeSelect.Children<T>>;
|
|
14
|
-
isSmall: import("@angular/core").InputSignal<boolean>;
|
|
15
|
-
loading: import("@angular/core").InputSignal<boolean>;
|
|
16
|
-
compareWith: import("@angular/core").InputSignal<(o1: T, o2: T) => boolean>;
|
|
17
|
-
typeahead: import("@angular/core").InputSignal<Subject<string> | undefined>;
|
|
18
|
-
invalid: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
returnNode: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
selectedAllNode: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
multiple: import("@angular/core").InputSignal<boolean>;
|
|
22
|
-
closeOnSelected: import("@angular/core").InputSignal<boolean>;
|
|
23
|
-
bindLabel: import("@angular/core").InputSignal<string>;
|
|
24
|
-
bindId: import("@angular/core").InputSignal<string>;
|
|
25
|
-
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
-
selectedNode: import("@angular/core").WritableSignal<NodesT<T>>;
|
|
27
|
-
selectedValue: import("@angular/core").WritableSignal<NodesT<T>>;
|
|
28
|
-
isExpanded: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
-
searchValue: import("@angular/core").WritableSignal<string | null>;
|
|
30
|
-
touched: import("@angular/core").WritableSignal<boolean>;
|
|
31
|
-
inputSearchFocused: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
-
protected crytoId: `${string}-${string}-${string}-${string}-${string}`;
|
|
33
|
-
tree: import("@angular/core").Signal<CbmTreeSelect.Children<T>>;
|
|
34
|
-
searchControl: FormControl<string | null>;
|
|
35
|
-
getMultipleLabel: () => string[];
|
|
36
|
-
getLabel: (data: NodesT<T>) => string;
|
|
37
|
-
isNode: (data: unknown) => data is CbmTreeSelect.Node<T>;
|
|
38
|
-
constructor(destroyRef: DestroyRef, elementRef: ElementRef);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
writeValue(value: any): void;
|
|
41
|
-
registerOnChange(fn: any): void;
|
|
42
|
-
registerOnTouched(fn: any): void;
|
|
43
|
-
setDisabledState(isDisabled: boolean): void;
|
|
44
|
-
markAsTouched(): void;
|
|
45
|
-
toggleExpanded(): void;
|
|
46
|
-
expandAndCollapse(icon: HTMLSpanElement, child: HTMLDivElement): void;
|
|
47
|
-
selectedByNode(node: CbmTreeSelect.Node<T>): void;
|
|
48
|
-
selected(container: HTMLDivElement, child: HTMLDivElement, node: CbmTreeSelect.Node<T>): void;
|
|
49
|
-
compare(node: NodesT<any>): boolean;
|
|
50
|
-
setValue(node: CbmTreeSelect.Node<T>): void;
|
|
51
|
-
removeSelected(idx: number): void;
|
|
52
|
-
private lastClickTime;
|
|
53
|
-
private clickTimeout;
|
|
54
|
-
handleButtonClick(event: MouseEvent): void;
|
|
55
|
-
openAndFocus(): void;
|
|
56
|
-
focusInput(): void;
|
|
57
|
-
protected onDocumentClick(event: MouseEvent): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
}
|
|
60
|
-
export {};
|