@cbm-common/cbm-types 0.0.27 → 0.0.28
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/app.config.d.ts +2 -2
- package/lib/app.d.ts +3 -3
- package/lib/app.routes.d.ts +2 -2
- package/lib/components/accounting-seat/accounting-seat.d.ts +32 -32
- package/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +13 -13
- package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +10 -10
- package/lib/components/accounting-seat/types.d.ts +1 -1
- package/lib/components/add-client/add-client.d.ts +175 -175
- package/lib/components/add-client/animations.d.ts +1 -1
- package/lib/components/add-client/constants.d.ts +9 -9
- package/lib/components/add-client/types.d.ts +7 -7
- package/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -25
- package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +25 -25
- package/lib/components/advanced-item-search-modal/animations.d.ts +2 -2
- package/lib/components/advanced-item-search-modal/constants.d.ts +1 -1
- package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +85 -85
- package/lib/components/advanced-item-search-modal/types.d.ts +7 -7
- package/lib/components/attachments/animations.d.ts +1 -1
- package/lib/components/attachments/attachments.d.ts +50 -50
- package/lib/components/attachments/components/button-item/button-item.d.ts +5 -5
- package/lib/components/attachments/components/buttons/buttons.d.ts +8 -8
- package/lib/components/attachments/components/grid-view/grid-view.d.ts +32 -32
- package/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -2
- package/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -2
- package/lib/components/attachments/components/list-view/list-view.d.ts +41 -41
- package/lib/components/attachments/types.d.ts +7 -7
- package/lib/components/documents-reference/animations.d.ts +1 -1
- package/lib/components/documents-reference/components/add/add.d.ts +112 -112
- package/lib/components/documents-reference/components/delete/delete.d.ts +28 -28
- package/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -39
- package/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -42
- package/lib/components/documents-reference/documents-reference.d.ts +21 -21
- package/lib/components/documents-reference/types.d.ts +56 -56
- package/lib/components/dropzone/dropzone.d.ts +17 -17
- package/lib/components/empty/empty.d.ts +17 -17
- package/lib/components/json-modal/json-modal.d.ts +14 -14
- package/lib/components/modal-confirm/modal-confirm.d.ts +23 -23
- package/lib/components/modal-confirm/ng-content.d.ts +8 -8
- package/lib/components/modal-confirm/types.d.ts +6 -6
- package/lib/components/pagination-nav/pagination-nav.d.ts +27 -27
- package/lib/components/pagination-nav/pagination-nav.model.d.ts +8 -8
- package/lib/components/record-detail-metadata/components/options/options.d.ts +13 -13
- package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -13
- package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -9
- package/lib/components/record-detail-metadata/record-detail-metadata.d.ts +21 -21
- package/lib/components/record-detail-metadata/types.d.ts +48 -48
- package/lib/components/tree-select/tree-select.d.ts +60 -60
- package/lib/components/tree-select/types.d.ts +8 -8
- package/lib/components/user-history/components/email-history/email-history.component.d.ts +66 -66
- package/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +13 -13
- package/lib/components/user-history/components/general-history/general-history.component.d.ts +58 -58
- package/lib/components/user-history/components/print-history/print-history.component.d.ts +58 -58
- package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +63 -63
- package/lib/components/user-history/components/tab-item/tab-item.component.d.ts +7 -7
- package/lib/components/user-history/components/tabs/tabs.component.d.ts +7 -7
- package/lib/components/user-history/constants.d.ts +1 -1
- package/lib/components/user-history/directives/drop-down.directive.d.ts +9 -9
- package/lib/components/user-history/types.d.ts +14 -14
- package/lib/components/user-history/user-history.d.ts +30 -30
- package/lib/components/view-reports/model.d.ts +27 -27
- package/lib/components/view-reports/view-reports.d.ts +49 -49
- package/lib/directives/character-counter/character-counter.directive.d.ts +21 -21
- package/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +5 -5
- package/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +5 -5
- package/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +23 -23
- package/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +8 -8
- package/lib/directives/number-input.directive.d.ts +23 -23
- package/lib/directives/resize-container/resize-container.directive.d.ts +20 -20
- package/lib/directives/resize-container/resize-container.model.d.ts +6 -6
- package/lib/directives/text-input/text-input.directive.d.ts +14 -14
- package/lib/directives/text-input/types.d.ts +1 -1
- package/lib/directives/tooltip/tooltip/tooltip.d.ts +9 -9
- package/lib/directives/tooltip/tooltip/types.d.ts +2 -2
- package/lib/directives/tooltip/tooltip.directive.d.ts +26 -26
- package/lib/domain/models/alternative-item.domain.model.d.ts +198 -198
- package/lib/domain/models/bank-movements.domain.model.d.ts +60 -60
- package/lib/domain/models/bank.domain.model.d.ts +92 -92
- package/lib/domain/models/billing.domain.model.d.ts +47 -47
- package/lib/domain/models/card-settlement.domain.model.d.ts +260 -260
- package/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -319
- package/lib/domain/models/client-branch.domain.model.d.ts +35 -35
- package/lib/domain/models/client-category.domain.model.d.ts +69 -69
- package/lib/domain/models/client-group.domain.model.d.ts +102 -102
- package/lib/domain/models/client.domain.model.d.ts +375 -375
- package/lib/domain/models/company.domain.model.d.ts +354 -354
- package/lib/domain/models/contact.domain.model.d.ts +28 -28
- package/lib/domain/models/cost-center.domain.model.d.ts +111 -111
- package/lib/domain/models/country-code.domain.model.d.ts +14 -14
- package/lib/domain/models/country.domain.model.d.ts +68 -68
- package/lib/domain/models/deadline.domian.model.d.ts +76 -76
- package/lib/domain/models/document-reference.domain.model.d.ts +204 -204
- package/lib/domain/models/document-type.model.d.ts +59 -59
- package/lib/domain/models/driver.domian.model.d.ts +94 -94
- package/lib/domain/models/email-settings.domain.model.d.ts +86 -86
- package/lib/domain/models/financial-bank.domain.model.d.ts +153 -153
- package/lib/domain/models/general-report.domain.model.d.ts +146 -146
- package/lib/domain/models/group.domain.model.d.ts +78 -78
- package/lib/domain/models/history.domain.model.d.ts +66 -66
- package/lib/domain/models/item.domain.model.d.ts +935 -935
- package/lib/domain/models/kit.domain.model.d.ts +508 -508
- package/lib/domain/models/message-settings.domain.model.d.ts +193 -193
- package/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -125
- package/lib/domain/models/price-list.domain.model.d.ts +54 -54
- package/lib/domain/models/provider.domain.model.d.ts +255 -255
- package/lib/domain/models/rate.domain.model.d.ts +112 -112
- package/lib/domain/models/report-financials.domain.model.d.ts +2165 -2165
- package/lib/domain/models/sale-price.domain.model.d.ts +74 -74
- package/lib/domain/models/seat.domain.model.d.ts +325 -325
- package/lib/domain/models/seller.domain.model.d.ts +135 -135
- package/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -273
- package/lib/domain/models/service.domain.model.d.ts +314 -314
- package/lib/domain/models/settings-professions.domain.model.d.ts +79 -79
- package/lib/domain/models/sri-history.domain.model.d.ts +298 -298
- package/lib/domain/models/upload.domain.model.d.ts +117 -117
- package/lib/domain/models/user.domain.model.d.ts +260 -260
- package/lib/domain/models/warehouse.domain.model.d.ts +97 -97
- package/lib/domain/repositories/alternative-item.domain.repository.d.ts +17 -17
- package/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/bank.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/billing.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/card-settlement.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/client-category.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/client-group.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/client.domain.repository.d.ts +18 -18
- package/lib/domain/repositories/company.domain.repository.d.ts +16 -16
- package/lib/domain/repositories/contact.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/cost-center.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/country-code.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/country.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/deadline.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/document-reference.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/document-type.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/driver.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/email-settings.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/general-report.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/group.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/history.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/item.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/kit.domain.repository.d.ts +18 -18
- package/lib/domain/repositories/message-settings.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/price-list.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/provider.domain.repository.d.ts +19 -19
- package/lib/domain/repositories/rate.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/report-financials.domain.repository.d.ts +241 -241
- package/lib/domain/repositories/sale-price.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/seat.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/seller.domain.repository.d.ts +17 -17
- package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/service.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/settings-professions.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/sri-history.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/upload.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/user.domain.repository.d.ts +21 -21
- package/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -14
- package/lib/domain/services/auth/auth.model.d.ts +182 -182
- package/lib/domain/services/auth/auth.service.d.ts +18 -18
- package/lib/domain/services/notification/notification.model.d.ts +15 -15
- package/lib/domain/services/notification/notification.service.d.ts +4 -4
- package/lib/domain/services/web-socket/web-socket.model.d.ts +34 -32
- package/lib/domain/services/web-socket/web-socket.service.d.ts +18 -18
- package/lib/environments/environment.d.ts +29 -29
- package/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -14
- package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/billing.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -8
- package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -15
- package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +13 -13
- package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/country-code.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/country.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +12 -12
- package/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/general-report.infrastructure.repository.d.ts +7 -7
- package/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +7 -7
- package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -15
- package/lib/infrastructure/repositories/message-settings.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -8
- package/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/provider.infrastructure.repository.d.ts +16 -16
- package/lib/infrastructure/repositories/rate.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +238 -238
- package/lib/infrastructure/repositories/sale-price.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -14
- package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/settings-professions.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -12
- package/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +18 -18
- package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -15
- package/lib/infrastructure/services/billing.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -13
- package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -20
- package/lib/infrastructure/services/company.infrastructure.service.d.ts +17 -17
- package/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/country-code.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/country.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +17 -17
- package/lib/infrastructure/services/document-type.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +14 -14
- package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/general-report.infrastructure.service.d.ts +12 -12
- package/lib/infrastructure/services/group.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/history.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/item.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/message-settings.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -13
- package/lib/infrastructure/services/price-list.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/provider.infrastructure.service.d.ts +20 -20
- package/lib/infrastructure/services/rate.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +246 -246
- package/lib/infrastructure/services/sale-price.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/seat.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/settings-professions.infrastructure.service.d.ts +15 -15
- package/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +9 -9
- package/lib/infrastructure/services/upload.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/user.infrastructure.service.d.ts +22 -22
- package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -16
- package/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -8
- package/lib/remotes/components.remote.d.ts +14 -14
- package/lib/remotes/repositories/alternative-item.repository.d.ts +3 -3
- package/lib/remotes/repositories/bank-movements.repository.d.ts +3 -3
- package/lib/remotes/repositories/bank.repository.d.ts +3 -3
- package/lib/remotes/repositories/billing.repository.d.ts +3 -3
- package/lib/remotes/repositories/card-settlement.repository.d.ts +3 -3
- package/lib/remotes/repositories/cash-liquidation.repository.d.ts +3 -3
- package/lib/remotes/repositories/client-branch.repository.d.ts +3 -3
- package/lib/remotes/repositories/client-category.repository.d.ts +3 -3
- package/lib/remotes/repositories/client-group.repository.d.ts +3 -3
- package/lib/remotes/repositories/client.repository.d.ts +3 -3
- package/lib/remotes/repositories/company.repository.d.ts +3 -3
- package/lib/remotes/repositories/contact.repository.d.ts +3 -3
- package/lib/remotes/repositories/cost-center.repository.d.ts +3 -3
- package/lib/remotes/repositories/country-code.repository.d.ts +3 -3
- package/lib/remotes/repositories/country.repository.d.ts +3 -3
- package/lib/remotes/repositories/deadline.repository.d.ts +3 -3
- package/lib/remotes/repositories/document-reference.repository.d.ts +3 -3
- package/lib/remotes/repositories/document-type.repository.d.ts +3 -3
- package/lib/remotes/repositories/driver.repository.d.ts +3 -3
- package/lib/remotes/repositories/email-settings.repository.d.ts +3 -3
- package/lib/remotes/repositories/financial-bank.repository.d.ts +3 -3
- package/lib/remotes/repositories/group.repository.d.ts +3 -3
- package/lib/remotes/repositories/history.repository.d.ts +3 -3
- package/lib/remotes/repositories/item.repository.d.ts +3 -3
- package/lib/remotes/repositories/kit.repository.d.ts +3 -3
- package/lib/remotes/repositories/messages-settings.repository.d.ts +3 -3
- package/lib/remotes/repositories/outgoing-banking-transaction.repository.d.ts +3 -3
- package/lib/remotes/repositories/price-list.repository.d.ts +3 -3
- package/lib/remotes/repositories/provider.repository.d.ts +3 -3
- package/lib/remotes/repositories/rate.repository.d.ts +3 -3
- package/lib/remotes/repositories/report-financials.repository.d.ts +3 -3
- package/lib/remotes/repositories/sale-price.repository.d.ts +3 -3
- package/lib/remotes/repositories/seat.repository.d.ts +3 -3
- package/lib/remotes/repositories/seller.repository.d.ts +3 -3
- package/lib/remotes/repositories/service-outsourcing.repository.d.ts +3 -3
- package/lib/remotes/repositories/service.repository.d.ts +3 -3
- package/lib/remotes/repositories/settings-professions.repository.d.ts +3 -3
- package/lib/remotes/repositories/sri-history.repository.d.ts +3 -3
- package/lib/remotes/repositories/upload.repository.d.ts +3 -3
- package/lib/remotes/repositories/user.repository.d.ts +3 -3
- package/lib/remotes/repositories/warehouse.repository.d.ts +3 -3
- package/lib/remotes/repositories.remote.d.ts +41 -41
- package/lib/remotes/services/auth.service.d.ts +3 -3
- package/lib/remotes/services/web-socket.service.d.ts +4 -4
- package/lib/remotes/services.remote.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormArray, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
-
import { TOptionType, CbmDocumentsReferenceModel, IAddedDocument, IListData, TLabels, ICollectionOptions, Pagination } from "../../types";
|
|
5
|
-
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
-
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
-
import { CbmNotificationService } from "../../../../domain/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
|
+
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormArray, FormControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TOptionType, CbmDocumentsReferenceModel, IAddedDocument, IListData, TLabels, ICollectionOptions, Pagination } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/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 +1,28 @@
|
|
|
1
|
-
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { TLabels } from "../../types";
|
|
4
|
-
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
5
|
-
import { CbmRecordDetailMetadataModel } from "../../../record-detail-metadata/types";
|
|
6
|
-
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
-
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
-
import { CbmNotificationService } from "../../../../domain/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
|
+
import { DestroyRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { TLabels } from "../../types";
|
|
4
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
5
|
+
import { CbmRecordDetailMetadataModel } from "../../../record-detail-metadata/types";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/repositories/document-reference.domain.repository";
|
|
8
|
+
import { CbmNotificationService } from "../../../../domain/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 +1,39 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
-
import { TLabels } from "../../types";
|
|
5
|
-
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
-
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/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
|
+
import { DestroyRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TLabels } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/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 +1,42 @@
|
|
|
1
|
-
import { AfterViewChecked, DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
-
import { TLabels, ICollectionOptions } from "../../types";
|
|
5
|
-
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
-
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
-
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
-
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/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
|
+
import { AfterViewChecked, DestroyRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TStatus } from "../../../accounting-seat/types";
|
|
4
|
+
import { TLabels, ICollectionOptions } from "../../types";
|
|
5
|
+
import { CbmModalConfirmComponent } from "../../../modal-confirm/modal-confirm";
|
|
6
|
+
import { CbmDocumentReferenceModel } from "../../../../domain/models/document-reference.domain.model";
|
|
7
|
+
import { CbmNotificationService } from "../../../../domain/services/notification/notification.service";
|
|
8
|
+
import { CbmDocumentReferenceDomainRepository } from "../../../../domain/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 +1,21 @@
|
|
|
1
|
-
import { NgSelectConfig } from '@ng-select/ng-select';
|
|
2
|
-
import { CbmModalConfirmComponent } from "../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
|
+
import { NgSelectConfig } from '@ng-select/ng-select';
|
|
2
|
+
import { CbmModalConfirmComponent } from "../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 +1,56 @@
|
|
|
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
|
+
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
|
+
}
|