@hitsoft/fbdocumentflow 0.0.1

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.
Files changed (108) hide show
  1. package/README.md +24 -0
  2. package/config/enums/index.d.ts +1 -0
  3. package/config/enums/route-names.d.ts +3 -0
  4. package/config/fbdocumentflow-config.module.d.ts +8 -0
  5. package/config/index.d.ts +5 -0
  6. package/config/providers/document-scenario-route.provider.d.ts +9 -0
  7. package/config/providers/document-transfer-route.provider.d.ts +9 -0
  8. package/config/providers/index.d.ts +6 -0
  9. package/config/providers/partner-mapping-route.provider.d.ts +9 -0
  10. package/config/providers/project-parameter-route.provider.d.ts +9 -0
  11. package/config/providers/route.provider.d.ts +8 -0
  12. package/config/providers/sap-company-profile-route.provider.d.ts +9 -0
  13. package/config/public-api.d.ts +3 -0
  14. package/esm2020/config/enums/index.mjs +2 -0
  15. package/esm2020/config/enums/route-names.mjs +2 -0
  16. package/esm2020/config/fbdocumentflow-config.module.mjs +30 -0
  17. package/esm2020/config/hitsoft-fbdocumentflow-config.mjs +5 -0
  18. package/esm2020/config/providers/document-scenario-route.provider.mjs +20 -0
  19. package/esm2020/config/providers/document-transfer-route.provider.mjs +20 -0
  20. package/esm2020/config/providers/index.mjs +7 -0
  21. package/esm2020/config/providers/partner-mapping-route.provider.mjs +20 -0
  22. package/esm2020/config/providers/project-parameter-route.provider.mjs +20 -0
  23. package/esm2020/config/providers/route.provider.mjs +24 -0
  24. package/esm2020/config/providers/sap-company-profile-route.provider.mjs +20 -0
  25. package/esm2020/config/public-api.mjs +4 -0
  26. package/esm2020/hitsoft-fbdocumentflow.mjs +5 -0
  27. package/esm2020/lib/components/fbdocumentflow.component.mjs +42 -0
  28. package/esm2020/lib/components/hit-document-scenarios/components/hit-document-scenario.component.mjs +151 -0
  29. package/esm2020/lib/components/hit-document-scenarios/hit-document-scenario-routing.module.mjs +26 -0
  30. package/esm2020/lib/components/hit-document-scenarios/hit-document-scenario.module.mjs +24 -0
  31. package/esm2020/lib/components/hit-document-transfers/components/hit-document-transfer-detail.component.mjs +474 -0
  32. package/esm2020/lib/components/hit-document-transfers/components/hit-document-transfer.component.mjs +241 -0
  33. package/esm2020/lib/components/hit-document-transfers/hit-document-transfer-routing.module.mjs +33 -0
  34. package/esm2020/lib/components/hit-document-transfers/hit-document-transfer.module.mjs +25 -0
  35. package/esm2020/lib/components/hit-partner-mappings/components/hit-partner-mapping.component.mjs +115 -0
  36. package/esm2020/lib/components/hit-partner-mappings/hit-partner-mapping-routing.module.mjs +26 -0
  37. package/esm2020/lib/components/hit-partner-mappings/hit-partner-mapping.module.mjs +24 -0
  38. package/esm2020/lib/components/hit-project-parameters/components/hit-project-parameter.component.mjs +125 -0
  39. package/esm2020/lib/components/hit-project-parameters/hit-project-parameter-routing.module.mjs +26 -0
  40. package/esm2020/lib/components/hit-project-parameters/hit-project-parameter.module.mjs +24 -0
  41. package/esm2020/lib/components/hit-sap-company-profiles/components/hit-sap-company-profile.component.mjs +88 -0
  42. package/esm2020/lib/components/hit-sap-company-profiles/hit-sap-company-profile-routing.module.mjs +26 -0
  43. package/esm2020/lib/components/hit-sap-company-profiles/hit-sap-company-profile.module.mjs +24 -0
  44. package/esm2020/lib/fbdocumentflow-routing.module.mjs +35 -0
  45. package/esm2020/lib/fbdocumentflow.module.mjs +29 -0
  46. package/esm2020/lib/proxy/document-scenarios/document-scenario.service.mjs +27 -0
  47. package/esm2020/lib/proxy/document-scenarios/index.mjs +3 -0
  48. package/esm2020/lib/proxy/document-scenarios/models.mjs +6 -0
  49. package/esm2020/lib/proxy/document-transfers/document-transfer.service.mjs +54 -0
  50. package/esm2020/lib/proxy/document-transfers/index.mjs +3 -0
  51. package/esm2020/lib/proxy/document-transfers/models.mjs +32 -0
  52. package/esm2020/lib/proxy/partner-mappings/index.mjs +3 -0
  53. package/esm2020/lib/proxy/partner-mappings/models.mjs +2 -0
  54. package/esm2020/lib/proxy/partner-mappings/partner-mapping.service.mjs +27 -0
  55. package/esm2020/lib/proxy/project-parameters/index.mjs +3 -0
  56. package/esm2020/lib/proxy/project-parameters/models.mjs +2 -0
  57. package/esm2020/lib/proxy/project-parameters/sap-project-parameter.service.mjs +25 -0
  58. package/esm2020/lib/proxy/sap-company-profiles/index.mjs +3 -0
  59. package/esm2020/lib/proxy/sap-company-profiles/models.mjs +7 -0
  60. package/esm2020/lib/proxy/sap-company-profiles/sap-company-profile.service.mjs +27 -0
  61. package/esm2020/lib/services/fbdocumentflow.service.mjs +21 -0
  62. package/esm2020/public-api.mjs +7 -0
  63. package/fesm2015/hitsoft-fbdocumentflow-config.mjs +144 -0
  64. package/fesm2015/hitsoft-fbdocumentflow-config.mjs.map +1 -0
  65. package/fesm2015/hitsoft-fbdocumentflow.mjs +1647 -0
  66. package/fesm2015/hitsoft-fbdocumentflow.mjs.map +1 -0
  67. package/fesm2020/hitsoft-fbdocumentflow-config.mjs +144 -0
  68. package/fesm2020/hitsoft-fbdocumentflow-config.mjs.map +1 -0
  69. package/fesm2020/hitsoft-fbdocumentflow.mjs +1621 -0
  70. package/fesm2020/hitsoft-fbdocumentflow.mjs.map +1 -0
  71. package/index.d.ts +5 -0
  72. package/lib/components/fbdocumentflow.component.d.ts +13 -0
  73. package/lib/components/hit-document-scenarios/components/hit-document-scenario.component.d.ts +41 -0
  74. package/lib/components/hit-document-scenarios/hit-document-scenario-routing.module.d.ts +7 -0
  75. package/lib/components/hit-document-scenarios/hit-document-scenario.module.d.ts +13 -0
  76. package/lib/components/hit-document-transfers/components/hit-document-transfer-detail.component.d.ts +88 -0
  77. package/lib/components/hit-document-transfers/components/hit-document-transfer.component.d.ts +61 -0
  78. package/lib/components/hit-document-transfers/hit-document-transfer-routing.module.d.ts +7 -0
  79. package/lib/components/hit-document-transfers/hit-document-transfer.module.d.ts +14 -0
  80. package/lib/components/hit-partner-mappings/components/hit-partner-mapping.component.d.ts +29 -0
  81. package/lib/components/hit-partner-mappings/hit-partner-mapping-routing.module.d.ts +7 -0
  82. package/lib/components/hit-partner-mappings/hit-partner-mapping.module.d.ts +13 -0
  83. package/lib/components/hit-project-parameters/components/hit-project-parameter.component.d.ts +36 -0
  84. package/lib/components/hit-project-parameters/hit-project-parameter-routing.module.d.ts +7 -0
  85. package/lib/components/hit-project-parameters/hit-project-parameter.module.d.ts +13 -0
  86. package/lib/components/hit-sap-company-profiles/components/hit-sap-company-profile.component.d.ts +28 -0
  87. package/lib/components/hit-sap-company-profiles/hit-sap-company-profile-routing.module.d.ts +7 -0
  88. package/lib/components/hit-sap-company-profiles/hit-sap-company-profile.module.d.ts +13 -0
  89. package/lib/fbdocumentflow-routing.module.d.ts +7 -0
  90. package/lib/fbdocumentflow.module.d.ts +13 -0
  91. package/lib/proxy/document-scenarios/document-scenario.service.d.ts +16 -0
  92. package/lib/proxy/document-scenarios/index.d.ts +2 -0
  93. package/lib/proxy/document-scenarios/models.d.ts +38 -0
  94. package/lib/proxy/document-transfers/document-transfer.service.d.ts +26 -0
  95. package/lib/proxy/document-transfers/index.d.ts +2 -0
  96. package/lib/proxy/document-transfers/models.d.ts +119 -0
  97. package/lib/proxy/partner-mappings/index.d.ts +2 -0
  98. package/lib/proxy/partner-mappings/models.d.ts +23 -0
  99. package/lib/proxy/partner-mappings/partner-mapping.service.d.ts +16 -0
  100. package/lib/proxy/project-parameters/index.d.ts +2 -0
  101. package/lib/proxy/project-parameters/models.d.ts +25 -0
  102. package/lib/proxy/project-parameters/sap-project-parameter.service.d.ts +14 -0
  103. package/lib/proxy/sap-company-profiles/index.d.ts +2 -0
  104. package/lib/proxy/sap-company-profiles/models.d.ts +26 -0
  105. package/lib/proxy/sap-company-profiles/sap-company-profile.service.d.ts +16 -0
  106. package/lib/services/fbdocumentflow.service.d.ts +10 -0
  107. package/package.json +41 -0
  108. package/public-api.d.ts +3 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@hitsoft/fbdocumentflow" />
5
+ export * from './public-api';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ interface DashboardCard {
3
+ titleKey: string;
4
+ descriptionKey: string;
5
+ routerLink: string;
6
+ permission: string;
7
+ }
8
+ export declare class FBDocumentFlowComponent {
9
+ cards: DashboardCard[];
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FBDocumentFlowComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FBDocumentFlowComponent, "lib-fbdocumentflow", never, {}, {}, never, never, false>;
12
+ }
13
+ export {};
@@ -0,0 +1,41 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ConfirmationService } from '@abp/ng.theme.shared';
3
+ import { CreateUpdateDocumentScenarioDto, CreateUpdateDocumentScenarioLegDto, DocumentScenarioDto, DocumentScenarioLegDto, DocumentScenarioService, LegBehavior } from '../../../proxy/document-scenarios';
4
+ import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
5
+ import * as i0 from "@angular/core";
6
+ export declare class HitDocumentScenarioComponent implements OnInit {
7
+ private service;
8
+ private companyService;
9
+ private confirmation;
10
+ data: DocumentScenarioDto[];
11
+ companies: SapCompanyProfileDto[];
12
+ isLoading: boolean;
13
+ isModalOpen: boolean;
14
+ isSaving: boolean;
15
+ editingId: string | null;
16
+ selectedScenario: DocumentScenarioDto | null;
17
+ selectedRowKeys: string[];
18
+ legBehaviors: {
19
+ value: LegBehavior;
20
+ label: string;
21
+ }[];
22
+ form: CreateUpdateDocumentScenarioDto;
23
+ constructor(service: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService);
24
+ ngOnInit(): void;
25
+ loadData(): void;
26
+ companyName(id: string): string;
27
+ selectRow(row: DocumentScenarioDto | undefined): void;
28
+ flowSummary(scenario: DocumentScenarioDto): string;
29
+ legStepText(leg: DocumentScenarioLegDto): string;
30
+ openCreate(): void;
31
+ openEdit(row: DocumentScenarioDto): void;
32
+ addLeg(): void;
33
+ removeLeg(leg: CreateUpdateDocumentScenarioLegDto): void;
34
+ updateLegTarget(index: number, targetCompanyId: string): void;
35
+ private relinkLegSources;
36
+ save(): void;
37
+ delete(row: DocumentScenarioDto): void;
38
+ private buildEmptyForm;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentScenarioComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitDocumentScenarioComponent, "hit-document-scenario", never, {}, {}, never, never, false>;
41
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class HitDocumentScenarioRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentScenarioRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitDocumentScenarioRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitDocumentScenarioRoutingModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/hit-document-scenario.component";
3
+ import * as i2 from "./hit-document-scenario-routing.module";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.theme.shared";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "devextreme-angular";
8
+ export declare class HitDocumentScenarioModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentScenarioModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitDocumentScenarioModule, [typeof i1.HitDocumentScenarioComponent], [typeof i2.HitDocumentScenarioRoutingModule, typeof i3.CoreModule, typeof i4.ThemeSharedModule, typeof i5.FormsModule, typeof i6.DxDataGridModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitDocumentScenarioModule>;
12
+ }
13
+ export declare function loadHitDocumentScenarioModuleAsChild(): Promise<typeof HitDocumentScenarioModule>;
@@ -0,0 +1,88 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { ConfirmationService } from '@abp/ng.theme.shared';
4
+ import { ConstructionDraftDocumentType, DocumentTransferDto, DocumentTransferLegDto, DocumentTransferService, SapDocumentLifecycle } from '../../../proxy/document-transfers';
5
+ import { DocumentScenarioDto, DocumentScenarioService, LegBehavior } from '../../../proxy/document-scenarios';
6
+ import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
7
+ import * as i0 from "@angular/core";
8
+ interface NewTransferState {
9
+ sourceCompanyId: string;
10
+ sourceCompanyName?: string;
11
+ docEntry: number;
12
+ docNum?: string;
13
+ numAtCard?: string;
14
+ projectCode?: string;
15
+ targetCompanyId?: string;
16
+ targetCompanyName?: string;
17
+ currency?: string;
18
+ sourceDocumentLifecycle: SapDocumentLifecycle;
19
+ targetDocumentLifecycle: SapDocumentLifecycle;
20
+ }
21
+ export declare class HitDocumentTransferDetailComponent implements OnInit {
22
+ private route;
23
+ private router;
24
+ private service;
25
+ private scenarioService;
26
+ private companyService;
27
+ private confirmation;
28
+ isNew: boolean;
29
+ newState: NewTransferState | null;
30
+ scenarios: DocumentScenarioDto[];
31
+ scenarioId: string;
32
+ isFetchingScenario: boolean;
33
+ companies: SapCompanyProfileDto[];
34
+ legBehaviors: {
35
+ value: LegBehavior;
36
+ label: string;
37
+ }[];
38
+ documentLifecycleOptions: {
39
+ value: SapDocumentLifecycle;
40
+ label: string;
41
+ }[];
42
+ constructionDraftDocTypeOptions: {
43
+ value: ConstructionDraftDocumentType;
44
+ label: string;
45
+ }[];
46
+ workingCopy: DocumentTransferDto | null;
47
+ isLoading: boolean;
48
+ isStarting: boolean;
49
+ isExecuting: boolean;
50
+ isMutatingLegs: boolean;
51
+ constructor(route: ActivatedRoute, router: Router, service: DocumentTransferService, scenarioService: DocumentScenarioService, companyService: SapCompanyProfileService, confirmation: ConfirmationService);
52
+ ngOnInit(): void;
53
+ companyName(): string;
54
+ scenarioName(): string;
55
+ availableScenarios(): DocumentScenarioDto[];
56
+ isDraft(): boolean;
57
+ canExecuteLeg(leg: DocumentTransferLegDto): boolean;
58
+ isConstructionDraftSelectable(leg: DocumentTransferLegDto): boolean;
59
+ hasMissingConstructionDraftSelection(): boolean;
60
+ updateLegConstructionDraftDocType(leg: DocumentTransferLegDto, value: ConstructionDraftDocumentType | null): void;
61
+ legTargetDocLabel(leg: DocumentTransferLegDto): string;
62
+ hasMissingIncreaseRate(): boolean;
63
+ hasIntermediateNumAtCardLegs(): boolean;
64
+ updateLegTarget(leg: DocumentTransferLegDto, targetCompanyId: string): void;
65
+ updateLegBehavior(leg: DocumentTransferLegDto, legBehavior: LegBehavior): void;
66
+ private persistLegChanges;
67
+ addLeg(): void;
68
+ goToPartnerMapping(leg: DocumentTransferLegDto): void;
69
+ removeLeg(leg: DocumentTransferLegDto): void;
70
+ fetchScenario(): void;
71
+ applyScenario(): void;
72
+ private loadWorkingCopy;
73
+ private buildLegUpdateInput;
74
+ private syncPendingLegChanges;
75
+ backToList(): void;
76
+ startFlow(): void;
77
+ private executeStartFlow;
78
+ executeLeg(leg: DocumentTransferLegDto): void;
79
+ canCancelChain(): boolean;
80
+ cancelChain(): void;
81
+ statusLabel(status: number): string;
82
+ sourceDocumentLifecycleLabel(lifecycle?: SapDocumentLifecycle): string;
83
+ legStatusLabel(status: number): string;
84
+ createdDocumentsSummary(leg: DocumentTransferLegDto): string;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentTransferDetailComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitDocumentTransferDetailComponent, "hit-document-transfer-detail", never, {}, {}, never, never, false>;
87
+ }
88
+ export {};
@@ -0,0 +1,61 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { ConfirmationService } from '@abp/ng.theme.shared';
4
+ import { DocumentTransferDto, DocumentTransferService, EligibleSourceInvoiceDto, SapDocumentLifecycle } from '../../../proxy/document-transfers';
5
+ import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
6
+ import * as i0 from "@angular/core";
7
+ declare type EligibleSourceInvoiceRow = EligibleSourceInvoiceDto & {
8
+ statusLabel: string;
9
+ };
10
+ export declare class HitDocumentTransferComponent implements OnInit {
11
+ private service;
12
+ private companyService;
13
+ private router;
14
+ private confirmation;
15
+ companies: SapCompanyProfileDto[];
16
+ filterSourceCompanyId: string;
17
+ isListLoading: boolean;
18
+ eligibleInvoices: EligibleSourceInvoiceRow[];
19
+ sourceDocumentLifecycle: SapDocumentLifecycle;
20
+ sourceDocumentLifecycleOptions: {
21
+ value: SapDocumentLifecycle;
22
+ label: string;
23
+ }[];
24
+ isTransfersLoading: boolean;
25
+ transfers: DocumentTransferDto[];
26
+ isHistoryExpanded: boolean;
27
+ transferStatusLookup: {
28
+ value: number;
29
+ text: string;
30
+ }[];
31
+ constructor(service: DocumentTransferService, companyService: SapCompanyProfileService, router: Router, confirmation: ConfirmationService);
32
+ ngOnInit(): void;
33
+ companyName(id: string): string;
34
+ search(): void;
35
+ private eligibleInvoicesSubscription?;
36
+ private transfersSubscription?;
37
+ private eligibleInvoicesRequestId;
38
+ private transfersRequestId;
39
+ private loadEligibleInvoices;
40
+ private loadTransfers;
41
+ invoiceStatusLabel(row: EligibleSourceInvoiceDto): string;
42
+ transferStatusLabel(status: number): string;
43
+ openTransferPage(row: EligibleSourceInvoiceDto): void;
44
+ private navigateToNewTransfer;
45
+ openTransferDetail(row: DocumentTransferDto): void;
46
+ canDeleteTransfer(row: DocumentTransferDto): boolean;
47
+ deleteTransfer(row: DocumentTransferDto): void;
48
+ openActionsRow: DocumentTransferDto | null;
49
+ actionsMenuPosition: {
50
+ top: number;
51
+ left: number;
52
+ };
53
+ toggleActions(row: DocumentTransferDto, event: MouseEvent): void;
54
+ closeActionsMenu(): void;
55
+ selectAction(action: 'view' | 'delete', row: DocumentTransferDto): void;
56
+ goToPartnerMapping(customerCardCode?: string, customerCardName?: string): void;
57
+ toggleHistory(): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentTransferComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitDocumentTransferComponent, "hit-document-transfer", never, {}, {}, never, never, false>;
60
+ }
61
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class HitDocumentTransferRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentTransferRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitDocumentTransferRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitDocumentTransferRoutingModule>;
7
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/hit-document-transfer.component";
3
+ import * as i2 from "./components/hit-document-transfer-detail.component";
4
+ import * as i3 from "./hit-document-transfer-routing.module";
5
+ import * as i4 from "@abp/ng.core";
6
+ import * as i5 from "@abp/ng.theme.shared";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "devextreme-angular";
9
+ export declare class HitDocumentTransferModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitDocumentTransferModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitDocumentTransferModule, [typeof i1.HitDocumentTransferComponent, typeof i2.HitDocumentTransferDetailComponent], [typeof i3.HitDocumentTransferRoutingModule, typeof i4.CoreModule, typeof i5.ThemeSharedModule, typeof i6.FormsModule, typeof i7.DxDataGridModule], never>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitDocumentTransferModule>;
13
+ }
14
+ export declare function loadHitDocumentTransferModuleAsChild(): Promise<typeof HitDocumentTransferModule>;
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ConfirmationService } from '@abp/ng.theme.shared';
3
+ import { CreateUpdatePartnerMappingDto, PartnerMappingDto, PartnerMappingService } from '../../../proxy/partner-mappings';
4
+ import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
5
+ import * as i0 from "@angular/core";
6
+ export declare class HitPartnerMappingComponent implements OnInit {
7
+ private service;
8
+ private companyService;
9
+ private confirmation;
10
+ data: PartnerMappingDto[];
11
+ companies: SapCompanyProfileDto[];
12
+ isLoading: boolean;
13
+ isModalOpen: boolean;
14
+ isSaving: boolean;
15
+ editingId: string | null;
16
+ form: CreateUpdatePartnerMappingDto;
17
+ constructor(service: PartnerMappingService, companyService: SapCompanyProfileService, confirmation: ConfirmationService);
18
+ ngOnInit(): void;
19
+ private applyRedirectState;
20
+ loadData(): void;
21
+ companyName(id: string): string;
22
+ openCreate(): void;
23
+ openEdit(row: PartnerMappingDto): void;
24
+ save(): void;
25
+ delete(row: PartnerMappingDto): void;
26
+ private buildEmptyForm;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitPartnerMappingComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitPartnerMappingComponent, "hit-partner-mapping", never, {}, {}, never, never, false>;
29
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class HitPartnerMappingRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitPartnerMappingRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitPartnerMappingRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitPartnerMappingRoutingModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/hit-partner-mapping.component";
3
+ import * as i2 from "./hit-partner-mapping-routing.module";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.theme.shared";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "devextreme-angular";
8
+ export declare class HitPartnerMappingModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitPartnerMappingModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitPartnerMappingModule, [typeof i1.HitPartnerMappingComponent], [typeof i2.HitPartnerMappingRoutingModule, typeof i3.CoreModule, typeof i4.ThemeSharedModule, typeof i5.FormsModule, typeof i6.DxDataGridModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitPartnerMappingModule>;
12
+ }
13
+ export declare function loadHitPartnerMappingModuleAsChild(): Promise<typeof HitPartnerMappingModule>;
@@ -0,0 +1,36 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SapProjectParameterDto, SapProjectParameterService } from '../../../proxy/project-parameters';
3
+ import { SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
4
+ import * as i0 from "@angular/core";
5
+ interface ProjectParameterFormModel {
6
+ prjCode: string;
7
+ prjName: string;
8
+ ebaId?: string;
9
+ increaseRate?: number;
10
+ cardCode?: string;
11
+ currency?: string;
12
+ }
13
+ export declare class HitProjectParameterComponent implements OnInit {
14
+ private service;
15
+ private companyService;
16
+ companies: SapCompanyProfileDto[];
17
+ selectedCompanyId: string;
18
+ data: SapProjectParameterDto[];
19
+ isLoading: boolean;
20
+ isSaving: boolean;
21
+ isModalOpen: boolean;
22
+ modalMode: 'create' | 'update';
23
+ form: ProjectParameterFormModel;
24
+ constructor(service: SapProjectParameterService, companyService: SapCompanyProfileService);
25
+ ngOnInit(): void;
26
+ loadData(): void;
27
+ hasUndefinedIncreaseRate(): boolean;
28
+ openCreateModal(): void;
29
+ openUpdateModal(row: SapProjectParameterDto): void;
30
+ onEditButtonClick: (e: any) => void;
31
+ cancelModal(): void;
32
+ saveModal(): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitProjectParameterComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitProjectParameterComponent, "hit-project-parameter", never, {}, {}, never, never, false>;
35
+ }
36
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class HitProjectParameterRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitProjectParameterRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitProjectParameterRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitProjectParameterRoutingModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/hit-project-parameter.component";
3
+ import * as i2 from "./hit-project-parameter-routing.module";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.theme.shared";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "devextreme-angular";
8
+ export declare class HitProjectParameterModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitProjectParameterModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitProjectParameterModule, [typeof i1.HitProjectParameterComponent], [typeof i2.HitProjectParameterRoutingModule, typeof i3.CoreModule, typeof i4.ThemeSharedModule, typeof i5.FormsModule, typeof i6.DxDataGridModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitProjectParameterModule>;
12
+ }
13
+ export declare function loadHitProjectParameterModuleAsChild(): Promise<typeof HitProjectParameterModule>;
@@ -0,0 +1,28 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ConfirmationService } from '@abp/ng.theme.shared';
3
+ import { CompanyType, CreateUpdateSapCompanyProfileDto, SapCompanyProfileDto, SapCompanyProfileService } from '../../../proxy/sap-company-profiles';
4
+ import * as i0 from "@angular/core";
5
+ export declare class HitSapCompanyProfileComponent implements OnInit {
6
+ private service;
7
+ private confirmation;
8
+ data: SapCompanyProfileDto[];
9
+ isLoading: boolean;
10
+ isModalOpen: boolean;
11
+ isSaving: boolean;
12
+ editingId: string | null;
13
+ companyTypes: {
14
+ value: CompanyType;
15
+ label: string;
16
+ }[];
17
+ form: CreateUpdateSapCompanyProfileDto;
18
+ constructor(service: SapCompanyProfileService, confirmation: ConfirmationService);
19
+ ngOnInit(): void;
20
+ loadData(): void;
21
+ openCreate(): void;
22
+ openEdit(row: SapCompanyProfileDto): void;
23
+ save(): void;
24
+ delete(row: SapCompanyProfileDto): void;
25
+ private buildEmptyForm;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitSapCompanyProfileComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<HitSapCompanyProfileComponent, "hit-sap-company-profile", never, {}, {}, never, never, false>;
28
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class HitSapCompanyProfileRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitSapCompanyProfileRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitSapCompanyProfileRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitSapCompanyProfileRoutingModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/hit-sap-company-profile.component";
3
+ import * as i2 from "./hit-sap-company-profile-routing.module";
4
+ import * as i3 from "@abp/ng.core";
5
+ import * as i4 from "@abp/ng.theme.shared";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "devextreme-angular";
8
+ export declare class HitSapCompanyProfileModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HitSapCompanyProfileModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitSapCompanyProfileModule, [typeof i1.HitSapCompanyProfileComponent], [typeof i2.HitSapCompanyProfileRoutingModule, typeof i3.CoreModule, typeof i4.ThemeSharedModule, typeof i5.FormsModule, typeof i6.DxDataGridModule], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<HitSapCompanyProfileModule>;
12
+ }
13
+ export declare function loadHitSapCompanyProfileModuleAsChild(): Promise<typeof HitSapCompanyProfileModule>;
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class FBDocumentFlowRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<FBDocumentFlowRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FBDocumentFlowRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<FBDocumentFlowRoutingModule>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { NgModuleFactory, ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/fbdocumentflow.component";
4
+ import * as i2 from "@abp/ng.core";
5
+ import * as i3 from "@abp/ng.theme.shared";
6
+ import * as i4 from "./fbdocumentflow-routing.module";
7
+ export declare class FBDocumentFlowModule {
8
+ static forChild(): ModuleWithProviders<FBDocumentFlowModule>;
9
+ static forLazy(): NgModuleFactory<FBDocumentFlowModule>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FBDocumentFlowModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FBDocumentFlowModule, [typeof i1.FBDocumentFlowComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.FBDocumentFlowRoutingModule], [typeof i1.FBDocumentFlowComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<FBDocumentFlowModule>;
13
+ }
@@ -0,0 +1,16 @@
1
+ import type { CreateUpdateDocumentScenarioDto, DocumentScenarioDto, GetDocumentScenarioListInputDto } from './models';
2
+ import { RestService } from '@abp/ng.core';
3
+ import type { PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DocumentScenarioService {
6
+ private restService;
7
+ apiName: string;
8
+ create: (input: CreateUpdateDocumentScenarioDto) => import("rxjs").Observable<DocumentScenarioDto>;
9
+ update: (id: string, input: CreateUpdateDocumentScenarioDto) => import("rxjs").Observable<DocumentScenarioDto>;
10
+ delete: (id: string) => import("rxjs").Observable<void>;
11
+ get: (id: string) => import("rxjs").Observable<DocumentScenarioDto>;
12
+ getList: (input: GetDocumentScenarioListInputDto) => import("rxjs").Observable<PagedResultDto<DocumentScenarioDto>>;
13
+ constructor(restService: RestService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentScenarioService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentScenarioService>;
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from './models';
2
+ export * from './document-scenario.service';
@@ -0,0 +1,38 @@
1
+ import type { FullAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
2
+ export declare enum LegBehavior {
3
+ IntermediateChain = 0,
4
+ ConstructionChain = 1
5
+ }
6
+ export interface GetDocumentScenarioListInputDto extends PagedAndSortedResultRequestDto {
7
+ filter?: string;
8
+ isActive?: boolean;
9
+ }
10
+ export interface DocumentScenarioLegDto {
11
+ id: string;
12
+ sequenceNo: number;
13
+ sourceCompanyId: string;
14
+ sourceCompanyName?: string;
15
+ targetCompanyId: string;
16
+ targetCompanyName?: string;
17
+ legBehavior: LegBehavior;
18
+ notes?: string;
19
+ }
20
+ export interface DocumentScenarioDto extends FullAuditedEntityDto<string> {
21
+ name?: string;
22
+ description?: string;
23
+ isActive: boolean;
24
+ legs: DocumentScenarioLegDto[];
25
+ }
26
+ export interface CreateUpdateDocumentScenarioLegDto {
27
+ id?: string;
28
+ sourceCompanyId: string;
29
+ targetCompanyId: string;
30
+ legBehavior: LegBehavior;
31
+ notes?: string;
32
+ }
33
+ export interface CreateUpdateDocumentScenarioDto {
34
+ name: string;
35
+ description?: string;
36
+ isActive: boolean;
37
+ legs: CreateUpdateDocumentScenarioLegDto[];
38
+ }
@@ -0,0 +1,26 @@
1
+ import type { ApplyScenarioInputDto, DocumentTransferDto, DocumentTransferLegDto, EligibleSourceInvoiceDto, GetDocumentTransferListInputDto, GetEligibleSourceInvoicesInputDto, ResolvedFirstTargetDto, SapDocumentLifecycle, StartDocumentTransferInputDto, UpdateDocumentTransferLegInputDto } from './models';
2
+ import { RestService } from '@abp/ng.core';
3
+ import type { ListResultDto, PagedResultDto } from '@abp/ng.core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DocumentTransferService {
6
+ private restService;
7
+ apiName: string;
8
+ get: (id: string) => import("rxjs").Observable<DocumentTransferDto>;
9
+ getList: (input: GetDocumentTransferListInputDto) => import("rxjs").Observable<PagedResultDto<DocumentTransferDto>>;
10
+ getEligibleSourceInvoices: (input: GetEligibleSourceInvoicesInputDto) => import("rxjs").Observable<ListResultDto<EligibleSourceInvoiceDto>>;
11
+ resolveFirstTarget: (sourceCompanyId: string, sourceOinvDocEntry: number, sourceDocumentLifecycle?: SapDocumentLifecycle) => import("rxjs").Observable<ResolvedFirstTargetDto>;
12
+ findExistingDraft: (sourceCompanyId: string, sourceOinvDocEntry: number, sourceDocumentLifecycle?: SapDocumentLifecycle) => import("rxjs").Observable<DocumentTransferDto>;
13
+ deleteDraft: (id: string) => import("rxjs").Observable<void>;
14
+ delete: (id: string) => import("rxjs").Observable<void>;
15
+ create: (input: StartDocumentTransferInputDto) => import("rxjs").Observable<DocumentTransferDto>;
16
+ addLeg: (transferId: string, input: UpdateDocumentTransferLegInputDto) => import("rxjs").Observable<DocumentTransferDto>;
17
+ updateLeg: (transferId: string, legId: string, input: UpdateDocumentTransferLegInputDto) => import("rxjs").Observable<DocumentTransferDto>;
18
+ applyScenario: (transferId: string, input: ApplyScenarioInputDto) => import("rxjs").Observable<DocumentTransferDto>;
19
+ removeLeg: (transferId: string, legId: string) => import("rxjs").Observable<DocumentTransferDto>;
20
+ executeLeg: (transferId: string, legId: string) => import("rxjs").Observable<DocumentTransferLegDto>;
21
+ executeAll: (transferId: string) => import("rxjs").Observable<DocumentTransferDto>;
22
+ cancelChain: (intercompanyId: string) => import("rxjs").Observable<void>;
23
+ constructor(restService: RestService);
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentTransferService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentTransferService>;
26
+ }
@@ -0,0 +1,2 @@
1
+ export * from './models';
2
+ export * from './document-transfer.service';