@hitsoft/fbdocumentflow 0.0.1 → 0.0.2
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/esm2020/lib/components/hit-document-scenarios/components/hit-document-scenario.component.mjs +25 -19
- package/esm2020/lib/components/hit-document-transfers/components/hit-document-transfer-detail.component.mjs +37 -24
- package/esm2020/lib/components/hit-document-transfers/components/hit-document-transfer.component.mjs +44 -30
- package/esm2020/lib/components/hit-partner-mappings/components/hit-partner-mapping.component.mjs +3 -3
- package/esm2020/lib/components/hit-project-parameters/components/hit-project-parameter.component.mjs +3 -3
- package/esm2020/lib/components/hit-sap-company-profiles/components/hit-sap-company-profile.component.mjs +3 -13
- package/esm2020/lib/proxy/sap-company-profiles/models.mjs +2 -7
- package/fesm2015/hitsoft-fbdocumentflow.mjs +103 -90
- package/fesm2015/hitsoft-fbdocumentflow.mjs.map +1 -1
- package/fesm2020/hitsoft-fbdocumentflow.mjs +103 -87
- package/fesm2020/hitsoft-fbdocumentflow.mjs.map +1 -1
- package/lib/components/hit-document-scenarios/components/hit-document-scenario.component.d.ts +3 -1
- package/lib/components/hit-document-transfers/components/hit-document-transfer-detail.component.d.ts +3 -1
- package/lib/components/hit-document-transfers/components/hit-document-transfer.component.d.ts +5 -1
- package/lib/components/hit-sap-company-profiles/components/hit-sap-company-profile.component.d.ts +1 -5
- package/lib/proxy/sap-company-profiles/models.d.ts +0 -9
- package/package.json +1 -1
package/lib/components/hit-document-scenarios/components/hit-document-scenario.component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
2
3
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
4
|
import { CreateUpdateDocumentScenarioDto, CreateUpdateDocumentScenarioLegDto, DocumentScenarioDto, DocumentScenarioLegDto, DocumentScenarioService, LegBehavior } from '../../../proxy/document-scenarios';
|
|
4
5
|
import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
|
|
@@ -7,6 +8,7 @@ export declare class HitDocumentScenarioComponent implements OnInit {
|
|
|
7
8
|
private service;
|
|
8
9
|
private companyService;
|
|
9
10
|
private confirmation;
|
|
11
|
+
private localization;
|
|
10
12
|
data: DocumentScenarioDto[];
|
|
11
13
|
companies: SapCompanyProfileDto[];
|
|
12
14
|
isLoading: boolean;
|
|
@@ -20,7 +22,7 @@ export declare class HitDocumentScenarioComponent implements OnInit {
|
|
|
20
22
|
label: string;
|
|
21
23
|
}[];
|
|
22
24
|
form: CreateUpdateDocumentScenarioDto;
|
|
23
|
-
constructor(service: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService);
|
|
25
|
+
constructor(service: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService, localization: LocalizationService);
|
|
24
26
|
ngOnInit(): void;
|
|
25
27
|
loadData(): void;
|
|
26
28
|
companyName(id: string): string;
|
package/lib/components/hit-document-transfers/components/hit-document-transfer-detail.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
3
4
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
4
5
|
import { ConstructionDraftDocumentType, DocumentTransferDto, DocumentTransferLegDto, DocumentTransferService, SapDocumentLifecycle } from '../../../proxy/document-transfers';
|
|
5
6
|
import { DocumentScenarioDto, DocumentScenarioService, LegBehavior } from '../../../proxy/document-scenarios';
|
|
@@ -25,6 +26,7 @@ export declare class HitDocumentTransferDetailComponent implements OnInit {
|
|
|
25
26
|
private scenarioService;
|
|
26
27
|
private companyService;
|
|
27
28
|
private confirmation;
|
|
29
|
+
private localization;
|
|
28
30
|
isNew: boolean;
|
|
29
31
|
newState: NewTransferState | null;
|
|
30
32
|
scenarios: DocumentScenarioDto[];
|
|
@@ -48,7 +50,7 @@ export declare class HitDocumentTransferDetailComponent implements OnInit {
|
|
|
48
50
|
isStarting: boolean;
|
|
49
51
|
isExecuting: boolean;
|
|
50
52
|
isMutatingLegs: boolean;
|
|
51
|
-
constructor(route: ActivatedRoute, router: Router, service: DocumentTransferService, scenarioService: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService);
|
|
53
|
+
constructor(route: ActivatedRoute, router: Router, service: DocumentTransferService, scenarioService: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService, localization: LocalizationService);
|
|
52
54
|
ngOnInit(): void;
|
|
53
55
|
companyName(): string;
|
|
54
56
|
scenarioName(): string;
|
package/lib/components/hit-document-transfers/components/hit-document-transfer.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
3
4
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
4
5
|
import { DocumentTransferDto, DocumentTransferService, EligibleSourceInvoiceDto, SapDocumentLifecycle } from '../../../proxy/document-transfers';
|
|
5
6
|
import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
|
|
@@ -7,11 +8,13 @@ import * as i0 from "@angular/core";
|
|
|
7
8
|
declare type EligibleSourceInvoiceRow = EligibleSourceInvoiceDto & {
|
|
8
9
|
statusLabel: string;
|
|
9
10
|
};
|
|
11
|
+
declare type InvoiceStatusVariant = 'resolved' | 'duplicate' | 'unresolved';
|
|
10
12
|
export declare class HitDocumentTransferComponent implements OnInit {
|
|
11
13
|
private service;
|
|
12
14
|
private companyService;
|
|
13
15
|
private router;
|
|
14
16
|
private confirmation;
|
|
17
|
+
private localization;
|
|
15
18
|
companies: SapCompanyProfileDto[];
|
|
16
19
|
filterSourceCompanyId: string;
|
|
17
20
|
isListLoading: boolean;
|
|
@@ -28,7 +31,7 @@ export declare class HitDocumentTransferComponent implements OnInit {
|
|
|
28
31
|
value: number;
|
|
29
32
|
text: string;
|
|
30
33
|
}[];
|
|
31
|
-
constructor(service: DocumentTransferService, companyService: SapCompanyProfileService, router: Router, confirmation: ConfirmationService);
|
|
34
|
+
constructor(service: DocumentTransferService, companyService: SapCompanyProfileService, router: Router, confirmation: ConfirmationService, localization: LocalizationService);
|
|
32
35
|
ngOnInit(): void;
|
|
33
36
|
companyName(id: string): string;
|
|
34
37
|
search(): void;
|
|
@@ -38,6 +41,7 @@ export declare class HitDocumentTransferComponent implements OnInit {
|
|
|
38
41
|
private transfersRequestId;
|
|
39
42
|
private loadEligibleInvoices;
|
|
40
43
|
private loadTransfers;
|
|
44
|
+
invoiceStatusVariant(row: EligibleSourceInvoiceDto): InvoiceStatusVariant;
|
|
41
45
|
invoiceStatusLabel(row: EligibleSourceInvoiceDto): string;
|
|
42
46
|
transferStatusLabel(status: number): string;
|
|
43
47
|
openTransferPage(row: EligibleSourceInvoiceDto): void;
|
package/lib/components/hit-sap-company-profiles/components/hit-sap-company-profile.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ConfirmationService } from '@abp/ng.theme.shared';
|
|
3
|
-
import {
|
|
3
|
+
import { CreateUpdateSapCompanyProfileDto, SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class HitSapCompanyProfileComponent implements OnInit {
|
|
6
6
|
private service;
|
|
@@ -10,10 +10,6 @@ export declare class HitSapCompanyProfileComponent implements OnInit {
|
|
|
10
10
|
isModalOpen: boolean;
|
|
11
11
|
isSaving: boolean;
|
|
12
12
|
editingId: string | null;
|
|
13
|
-
companyTypes: {
|
|
14
|
-
value: CompanyType;
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|
|
17
13
|
form: CreateUpdateSapCompanyProfileDto;
|
|
18
14
|
constructor(service: SapCompanyProfileService, confirmation: ConfirmationService);
|
|
19
15
|
ngOnInit(): void;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import type { FullAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
2
|
-
export declare enum CompanyType {
|
|
3
|
-
Source = 0,
|
|
4
|
-
Intermediate = 1,
|
|
5
|
-
Construction = 2
|
|
6
|
-
}
|
|
7
2
|
export interface GetSapCompanyProfileListInputDto extends PagedAndSortedResultRequestDto {
|
|
8
3
|
filter?: string;
|
|
9
4
|
isActive?: boolean;
|
|
@@ -12,15 +7,11 @@ export interface SapCompanyProfileDto extends FullAuditedEntityDto<string> {
|
|
|
12
7
|
companyCode?: string;
|
|
13
8
|
companyName?: string;
|
|
14
9
|
sapCompanyDb?: string;
|
|
15
|
-
serviceLayerUrl?: string;
|
|
16
|
-
companyType: CompanyType;
|
|
17
10
|
isActive: boolean;
|
|
18
11
|
}
|
|
19
12
|
export interface CreateUpdateSapCompanyProfileDto {
|
|
20
13
|
companyCode: string;
|
|
21
14
|
companyName: string;
|
|
22
15
|
sapCompanyDb: string;
|
|
23
|
-
serviceLayerUrl?: string;
|
|
24
|
-
companyType: CompanyType;
|
|
25
16
|
isActive: boolean;
|
|
26
17
|
}
|