@colijnit/transaction 12.1.46 → 12.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-transaction.umd.js +936 -562
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +248 -243
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +249 -244
- package/esm2015/lib/assets/dictionary/text.properties.js +6 -1
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +7 -2
- package/esm2015/lib/component/transaction/transaction.component.js +10 -7
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +3 -15
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +9 -6
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +7 -5
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +3 -3
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +62 -0
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +110 -0
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +33 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +7 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +40 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.js +21 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +3 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +6 -6
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.module.js +23 -0
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +47 -22
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +23 -13
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +4 -3
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +15 -12
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +3 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +1 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +79 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.module.js +23 -0
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +4 -2
- package/esm2015/lib/enum/icon.enum.js +8 -2
- package/esm2015/lib/model/icon-svg.js +8 -2
- package/esm2015/lib/model/receive-good-view-model.js +4 -0
- package/esm2015/lib/service/dialog.service.js +6 -3
- package/esm2015/lib/service/transaction-connector-adapter.service.js +2 -2
- package/esm2015/lib/service/transaction-event.service.js +2 -2
- package/esm2015/lib/service/transaction-mapping.service.js +3 -3
- package/esm2015/public_api.js +5 -3
- package/fesm2015/colijnit-transaction.js +719 -329
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +2 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.d.ts +1 -0
- package/lib/component/transaction/transaction.component.d.ts +4 -2
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +0 -2
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +12 -1
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +5 -2
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-order-delivery-line/style/_layout.scss +0 -12
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +1 -1
- package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +15 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +37 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.d.ts +27 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.d.ts +14 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +1 -1
- package/lib/component/transaction-line-statusbar/{transaction-line-checkbox-list.module.d.ts → transaction-line-statusbar.module.d.ts} +0 -0
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +10 -4
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/style/_layout.scss +2 -2
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +59 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +9 -7
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +44 -3
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +1 -1
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +6 -2
- package/lib/component/transaction-search/style/material.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +6 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_layout.scss +10 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.d.ts +22 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +7 -1
- package/lib/model/receive-good-view-model.d.ts +8 -0
- package/lib/service/dialog.service.d.ts +1 -1
- package/lib/service/transaction-event.service.d.ts +1 -2
- package/package.json +1 -1
- package/public_api.d.ts +4 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-checkbox-list.module.js +0 -23
|
@@ -6,8 +6,8 @@ export declare abstract class TransactionLinesLineBaseComponent {
|
|
|
6
6
|
readonly icons: typeof Icon;
|
|
7
7
|
set line(value: TransactionLineInfo);
|
|
8
8
|
get line(): TransactionLineInfo;
|
|
9
|
+
transactionId: number;
|
|
9
10
|
waitingForUserAction: EventEmitter<boolean>;
|
|
10
|
-
sidePanelButtonClicked: EventEmitter<void>;
|
|
11
11
|
showClass(): boolean;
|
|
12
12
|
preview: boolean;
|
|
13
13
|
isSelected: boolean;
|
|
@@ -16,4 +16,5 @@ export declare abstract class TransactionLinesLineBaseComponent {
|
|
|
16
16
|
_line: TransactionLineInfo;
|
|
17
17
|
readonly: boolean;
|
|
18
18
|
lineSet: BehaviorSubject<boolean>;
|
|
19
|
+
lineVisible: BehaviorSubject<boolean>;
|
|
19
20
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DialogTransactionLineBaseComponent } from "../../../core/base/dialog-transaction-line-base.component";
|
|
2
2
|
export declare class DialogTransactionLineWarehouseLocationComponent extends DialogTransactionLineBaseComponent {
|
|
3
3
|
warehouseNr: number;
|
|
4
|
+
showClose: boolean;
|
|
4
5
|
showClass(): boolean;
|
|
5
6
|
}
|
|
@@ -10,10 +10,12 @@ import { TransactionBarButton } from "../../model/transaction-bar-button";
|
|
|
10
10
|
import { TransactionTypeCategory } from "../../enum/transaction-type-category.enum";
|
|
11
11
|
import { DynamicComponentService } from "../../service/dynamic-component.service";
|
|
12
12
|
import { RelationAnyType } from "../../model/relation-any-type";
|
|
13
|
+
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
13
14
|
export declare class TransactionComponent implements OnDestroy {
|
|
14
15
|
iconCacheService: IconCacheService;
|
|
15
16
|
private _service;
|
|
16
|
-
private
|
|
17
|
+
private _dynamicComponentService;
|
|
18
|
+
private _transactionEventService;
|
|
17
19
|
readonly viewModes: typeof ContentViewMode;
|
|
18
20
|
readonly icons: typeof Icon;
|
|
19
21
|
relation: RelationAnyType;
|
|
@@ -32,7 +34,7 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
32
34
|
private _subs;
|
|
33
35
|
private _transaction;
|
|
34
36
|
private _transactionId;
|
|
35
|
-
constructor(iconCacheService: IconCacheService, _service: TransactionService,
|
|
37
|
+
constructor(iconCacheService: IconCacheService, _service: TransactionService, _dynamicComponentService: DynamicComponentService, _transactionEventService: TransactionEventService);
|
|
36
38
|
ngOnDestroy(): void;
|
|
37
39
|
addDiscount(): void;
|
|
38
40
|
saveTransactionLine(transactionAddTextLineRequest: TransactionAddTextLineRequest): void;
|
|
@@ -29,7 +29,6 @@ export declare class TransactionReceivedGoodsGridComponent extends TransactionGr
|
|
|
29
29
|
handleDropDownSelected(warehouseNr: number): Promise<void>;
|
|
30
30
|
getRowViewModel(row: TransactionLineInfo): ReceiveGoodsViewModel;
|
|
31
31
|
handleReceiveSelectedPurchaseOrders(value: {
|
|
32
|
-
checkboxValue: boolean;
|
|
33
32
|
date: Date;
|
|
34
33
|
id: string;
|
|
35
34
|
}): void;
|
|
@@ -38,5 +37,4 @@ export declare class TransactionReceivedGoodsGridComponent extends TransactionGr
|
|
|
38
37
|
transactionLine: TransactionLineInfo;
|
|
39
38
|
goodsReceiptStatus: GoodsReceiptStatusWithHistory;
|
|
40
39
|
}): void;
|
|
41
|
-
openWarehouseLocationDialog(line: TransactionLineInfo): Promise<any>;
|
|
42
40
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
.transaction-line-image-and-description-wrapper {
|
|
9
9
|
display: flex;
|
|
10
10
|
width: max-content;
|
|
11
|
+
align-items: center;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
.transaction-base-line-section {
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
height: $tp-transaction-line-amount-height;
|
|
38
39
|
}
|
|
39
40
|
.transaction-line-checkbox {
|
|
40
|
-
|
|
41
|
+
place-self: center;
|
|
41
42
|
}
|
|
42
43
|
.transaction-line-totals-price, .transaction-line-totals-discount, .transaction-line-totals-amount, .transaction-line-totals-total {
|
|
43
44
|
display: flex;
|
|
@@ -64,6 +65,16 @@
|
|
|
64
65
|
width: 20px;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
68
|
+
.fully-delivered {
|
|
69
|
+
border-color: #e4f9f3;
|
|
70
|
+
background-color: #e5f9f3;
|
|
71
|
+
color: #5fdcb3;
|
|
72
|
+
}
|
|
73
|
+
.partially-delivered {
|
|
74
|
+
border-color: #fde6db;
|
|
75
|
+
background-color: #feece3;
|
|
76
|
+
color: #f8854c;
|
|
77
|
+
}
|
|
67
78
|
&.preview {
|
|
68
79
|
.transaction-line-wrapper {
|
|
69
80
|
align-items: center;
|
package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { TransactionLinesLineBaseComponent } from "../../core/base/transaction-lines-line-base.component";
|
|
2
2
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
3
3
|
import { TransactionService } from "../../../service/transaction.service";
|
|
4
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
5
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
4
6
|
export declare class TransactionBaseLineComponent extends TransactionLinesLineBaseComponent {
|
|
5
7
|
service: TransactionService;
|
|
6
8
|
iconCacheService: IconCacheService;
|
|
9
|
+
private _transactionEventService;
|
|
7
10
|
checkbox: boolean;
|
|
8
11
|
checkboxValue: boolean;
|
|
9
12
|
actionButtons: boolean;
|
|
10
13
|
showClass(): boolean;
|
|
11
|
-
constructor(service: TransactionService, iconCacheService: IconCacheService);
|
|
14
|
+
constructor(service: TransactionService, iconCacheService: IconCacheService, _transactionEventService: TransactionEventService);
|
|
12
15
|
deleteTransactionLineClick(): Promise<void>;
|
|
13
|
-
handleShowSidePanel(): void;
|
|
16
|
+
handleShowSidePanel(line: TransactionLineInfo): void;
|
|
14
17
|
handleCheckboxValueChanged(): void;
|
|
15
18
|
}
|
|
@@ -3,6 +3,7 @@ import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction
|
|
|
3
3
|
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
4
4
|
import { TransactionMappingService } from "../../../service/transaction-mapping.service";
|
|
5
5
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
6
|
+
import { ReceiveGoodViewModel } from "../../../model/receive-good-view-model";
|
|
6
7
|
export declare class TransactionLineComponent {
|
|
7
8
|
private _mappingService;
|
|
8
9
|
private _compFactoryResolver;
|
|
@@ -15,9 +16,10 @@ export declare class TransactionLineComponent {
|
|
|
15
16
|
get activeCategory(): TransactionTypeCategory;
|
|
16
17
|
preview: boolean;
|
|
17
18
|
selected: boolean;
|
|
18
|
-
line: TransactionLineInfo;
|
|
19
|
+
line: TransactionLineInfo | ReceiveGoodViewModel;
|
|
20
|
+
transactionId: number;
|
|
19
21
|
waitingForUserAction: EventEmitter<boolean>;
|
|
20
|
-
|
|
22
|
+
lineVisible: EventEmitter<void>;
|
|
21
23
|
showClass(): boolean;
|
|
22
24
|
private _transactionLineContainer;
|
|
23
25
|
private _transactionType;
|
|
@@ -47,18 +47,6 @@
|
|
|
47
47
|
". . . . . .";
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.fully-delivered {
|
|
51
|
-
border-color: #e4f9f3;
|
|
52
|
-
background-color: #e5f9f3;
|
|
53
|
-
color: #5fdcb3;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.partially-delivered {
|
|
57
|
-
border-color: #fde6db;
|
|
58
|
-
background-color: #feece3;
|
|
59
|
-
color: #f8854c;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
50
|
.discount {
|
|
63
51
|
background-color: #f5f5fc;
|
|
64
52
|
}
|
|
@@ -11,8 +11,8 @@ export declare class TransactionOrderDeliveryLineComponent extends TransactionLi
|
|
|
11
11
|
selected: boolean;
|
|
12
12
|
private _subscriptions;
|
|
13
13
|
showClass(): boolean;
|
|
14
|
-
changeLineAmount(amount: number): void;
|
|
15
14
|
constructor(service: TransactionService, _transactionEventService: TransactionEventService);
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
ngOnDestroy(): void;
|
|
17
|
+
changeLineAmount(amount: number): void;
|
|
18
18
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TransactionService } from "../../../../service/transaction.service";
|
|
2
|
+
import { TransactionEventService } from "../../../../service/transaction-event.service";
|
|
3
|
+
import { ReceiveGoodViewModel } from "../../../../model/receive-good-view-model";
|
|
4
|
+
export declare class TransactionReceiveGoodsService {
|
|
5
|
+
private _transactionService;
|
|
6
|
+
private _transactionEventService;
|
|
7
|
+
lines: ReceiveGoodViewModel[];
|
|
8
|
+
private _subscriptions;
|
|
9
|
+
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
10
|
+
handleReceiveSelectedPurchaseOrders(value: {
|
|
11
|
+
date: Date;
|
|
12
|
+
id: string;
|
|
13
|
+
}): void;
|
|
14
|
+
private _handleAfterCommitReceivedOrders;
|
|
15
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@include export-module('cc-transaction-receive-goods-line-layout') {
|
|
2
|
+
.co-transaction-receive-goods-line {
|
|
3
|
+
font-family: 'Public sans';
|
|
4
|
+
|
|
5
|
+
.line-content-wrapper {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns:
|
|
8
|
+
$tp-transaction-line-button-width
|
|
9
|
+
$tp-transaction-line-button-width
|
|
10
|
+
$tp-transaction-line-button-width
|
|
11
|
+
$tp-transaction-line-button-width
|
|
12
|
+
90px
|
|
13
|
+
30px
|
|
14
|
+
$tp-transaction-line-button-width;
|
|
15
|
+
grid-template-rows: $tp-transaction-line-button-height;
|
|
16
|
+
gap: 0 10px;
|
|
17
|
+
grid-template-areas:
|
|
18
|
+
". . . . . . .";
|
|
19
|
+
padding: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.print-button {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
padding: 0px 9px;
|
|
26
|
+
border: 1px solid #8a8f8f;
|
|
27
|
+
border-radius: 9px;
|
|
28
|
+
width: 55px;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
|
|
31
|
+
co-icon {
|
|
32
|
+
width: 17px;
|
|
33
|
+
height: 17px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionLinesLineBaseComponent } from "../../core/base/transaction-lines-line-base.component";
|
|
3
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
4
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
5
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
6
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
7
|
+
import { TransactionReceiveGoodsService } from "./service/transaction-receive-goods.service";
|
|
8
|
+
import { ReceiveGoodViewModel } from "../../../model/receive-good-view-model";
|
|
9
|
+
export declare class TransactionReceiveGoodsLineComponent extends TransactionLinesLineBaseComponent implements OnInit, OnDestroy {
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
11
|
+
service: TransactionService;
|
|
12
|
+
private _transactionService;
|
|
13
|
+
private _transactionEventService;
|
|
14
|
+
private _transactionReceiveGoodsService;
|
|
15
|
+
readonly icons: typeof Icon;
|
|
16
|
+
allowPartialDelivery: boolean;
|
|
17
|
+
viewModel: ReceiveGoodViewModel;
|
|
18
|
+
showClass(): boolean;
|
|
19
|
+
private _subscriptions;
|
|
20
|
+
constructor(iconCacheService: IconCacheService, service: TransactionService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _transactionReceiveGoodsService: TransactionReceiveGoodsService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private _initViewModel;
|
|
24
|
+
handleRowVisible(): Promise<void>;
|
|
25
|
+
changeLineAmount(amount: number): void;
|
|
26
|
+
handleLineClicked(mouseClick: any): void;
|
|
27
|
+
}
|
package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare class TransactionLineWarehouseButtonComponent {
|
|
|
7
7
|
private _dialogService;
|
|
8
8
|
readonly icons: typeof Icon;
|
|
9
9
|
line: TransactionLineInfo;
|
|
10
|
+
readonly: boolean;
|
|
10
11
|
showClass(): boolean;
|
|
11
12
|
constructor(iconCacheService: IconCacheService, _dialogService: DialogService);
|
|
12
13
|
openWarehouseDialog(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Icon } from "../../enum/icon.enum";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
import { DialogService } from "../../service/dialog.service";
|
|
4
|
+
import { ReceiveGoodViewModel } from "../../model/receive-good-view-model";
|
|
5
|
+
export declare class TransactionLineWarehouseLocationButtonComponent {
|
|
6
|
+
iconCacheService: IconCacheService;
|
|
7
|
+
private _dialogService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
line: ReceiveGoodViewModel;
|
|
10
|
+
readonly: boolean;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
constructor(iconCacheService: IconCacheService, _dialogService: DialogService);
|
|
13
|
+
openWarehouseLocationDialog(line: ReceiveGoodViewModel): void;
|
|
14
|
+
}
|
package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export declare class TransactionLineWarehouseLocationComponent extends Transacti
|
|
|
9
9
|
protected propsForLabel: string[];
|
|
10
10
|
constructor(_articleService: ArticleService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
|
-
commit(locationNr:
|
|
12
|
+
commit(locationNr: string): Promise<boolean>;
|
|
13
13
|
}
|
|
File without changes
|
|
@@ -6,5 +6,6 @@
|
|
|
6
6
|
@import "../../../component/transaction-line-image-and-description/style/material";
|
|
7
7
|
@import "../../../component/transaction-line/transaction-line/style/material";
|
|
8
8
|
@import "../../../component/transaction-line/transaction-order-delivery-line/style/material";
|
|
9
|
+
@import "../../../component/transaction-line/transaction-receive-goods-line/style/material";
|
|
9
10
|
@import "../../shared/transaction-article-text/style/material";
|
|
10
11
|
@import "../../shared/transaction-article-text-overview/style/material";
|
|
@@ -9,25 +9,31 @@ import { TransactionService } from "../../service/transaction.service";
|
|
|
9
9
|
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
10
10
|
import { TransactionTypeCategory } from "../../enum/transaction-type-category.enum";
|
|
11
11
|
import { TransactionMappingService } from "../../service/transaction-mapping.service";
|
|
12
|
+
import { DialogService } from "../../service/dialog.service";
|
|
13
|
+
import { TransactionReceiveGoodsService } from "../transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service";
|
|
12
14
|
export declare class TransactionLinesComponent {
|
|
13
15
|
iconCacheService: IconCacheService;
|
|
14
16
|
service: TransactionService;
|
|
15
17
|
private _mappingService;
|
|
18
|
+
private _dialogService;
|
|
19
|
+
private _receiveGoodsService;
|
|
16
20
|
readonly icons: typeof Icon;
|
|
17
21
|
transactionArticleText: TransactionArticleTextComponent;
|
|
18
22
|
transactionInfo: TransactionInfo;
|
|
19
23
|
transactionLines: TransactionLineInfo[];
|
|
24
|
+
transactionId: number;
|
|
20
25
|
preview: boolean;
|
|
21
|
-
activeCategory: TransactionTypeCategory;
|
|
26
|
+
set activeCategory(value: TransactionTypeCategory);
|
|
27
|
+
get activeCategory(): TransactionTypeCategory;
|
|
22
28
|
saveTransactionLine: EventEmitter<TransactionAddTextLineRequest>;
|
|
23
|
-
showSidePanelClicked: EventEmitter<TransactionLineInfo>;
|
|
24
29
|
showClass(): boolean;
|
|
25
30
|
showTransactionArticleText: boolean;
|
|
26
31
|
selectedArticleText: TransactionLineInfo;
|
|
27
32
|
textToEdit: string;
|
|
28
33
|
userActionRequired: boolean;
|
|
29
34
|
selectedTransactionLine: TransactionLineInfo;
|
|
30
|
-
|
|
35
|
+
private _activeCategory;
|
|
36
|
+
constructor(iconCacheService: IconCacheService, service: TransactionService, _mappingService: TransactionMappingService, _dialogService: DialogService, _receiveGoodsService: TransactionReceiveGoodsService);
|
|
31
37
|
trackByFn(index: number, line: TransactionLineInfo): any;
|
|
32
38
|
handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
|
|
33
39
|
handleDrop(event: CdkDragDrop<TransactionLineInfo[]>): void;
|
|
@@ -35,8 +41,8 @@ export declare class TransactionLinesComponent {
|
|
|
35
41
|
handleTransactionArticleText(event: MouseEvent): void;
|
|
36
42
|
closeTransactionArticleText(event: MouseEvent): void;
|
|
37
43
|
saveTransactionArticleLineText(transactionLine: TransactionAddTextLineRequest): void;
|
|
38
|
-
handleShowSidePanelClicked(line: TransactionLineInfo): void;
|
|
39
44
|
transactionLineComponent(): boolean;
|
|
40
45
|
private _showArticleTextDialog;
|
|
41
46
|
private _hideArticleTextDialog;
|
|
47
|
+
private _handleCategory;
|
|
42
48
|
}
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
justify-content: center;
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.button-icon {
|
|
38
38
|
height: 20px;
|
|
39
39
|
width: 20px;
|
|
40
40
|
margin: 0 0 5px 0;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.button-title {
|
|
44
44
|
font-size: 10px;
|
|
45
45
|
font-family: 'Public sans';
|
|
46
46
|
}
|
|
@@ -5,5 +5,64 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
column-gap: 10px;
|
|
7
7
|
align-items: center;
|
|
8
|
+
|
|
9
|
+
.buttons {
|
|
10
|
+
display: flex;
|
|
11
|
+
|
|
12
|
+
.receive {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
margin-right: 10px;
|
|
16
|
+
|
|
17
|
+
.button-icon {
|
|
18
|
+
margin-bottom: 5px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.print {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
|
|
27
|
+
.button-icon {
|
|
28
|
+
margin-left: 3px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.dots-wrapper {
|
|
34
|
+
display: flex;
|
|
35
|
+
margin-right: 3px;
|
|
36
|
+
|
|
37
|
+
.dot {
|
|
38
|
+
width: 8px;
|
|
39
|
+
height: 8px;
|
|
40
|
+
background-color: black;
|
|
41
|
+
border-radius: 16px;
|
|
42
|
+
transform: scale(0.3);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.button-wrapper {
|
|
47
|
+
background: #f5f5fc;
|
|
48
|
+
border-radius: 10px;
|
|
49
|
+
padding: 5px;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
width: 65px;
|
|
56
|
+
|
|
57
|
+
.button-icon {
|
|
58
|
+
height: 20px;
|
|
59
|
+
width: 20px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.button-title {
|
|
63
|
+
font-size: 10px;
|
|
64
|
+
font-family: 'Public sans';
|
|
65
|
+
}
|
|
66
|
+
}
|
|
8
67
|
}
|
|
9
68
|
}
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { EventEmitter, OnInit
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
3
3
|
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
4
4
|
import { TransactionService } from "../../../service/transaction.service";
|
|
5
|
-
|
|
5
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
6
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
7
|
+
export declare class TransactionQuickAccessReceivedGoodsComponent extends TransactionBaseComponent implements OnInit {
|
|
8
|
+
iconService: IconCacheService;
|
|
6
9
|
private _transactionService;
|
|
7
10
|
private _transactionEventService;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
8
12
|
commitDate: Date;
|
|
9
13
|
commitReferenceId: string;
|
|
10
14
|
packingSlipId: string;
|
|
15
|
+
localCheckboxState: boolean;
|
|
11
16
|
checkboxValueChanged: EventEmitter<{
|
|
12
17
|
checkboxValue: boolean;
|
|
13
18
|
date: Date;
|
|
14
19
|
id: string;
|
|
15
20
|
}>;
|
|
16
21
|
showClass(): boolean;
|
|
17
|
-
|
|
18
|
-
private _subscriptions;
|
|
19
|
-
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
22
|
+
constructor(iconService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
20
23
|
ngOnInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
24
|
handleCommitEvent(value: {
|
|
23
|
-
checkboxValue: boolean;
|
|
24
25
|
date: Date;
|
|
25
26
|
id: string;
|
|
26
27
|
}): void;
|
|
28
|
+
handleSelectAllLines(value: boolean): void;
|
|
27
29
|
}
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
.details-header {
|
|
11
11
|
font-size: $tp-co-transaction-receiving-goods-details-title-font-size;
|
|
12
|
+
font-weight: bold;
|
|
12
13
|
margin: $tp-co-transaction-receiving-goods-details-title-margin;
|
|
14
|
+
color: #6E7694;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
.columns-wrapper {
|
|
@@ -36,6 +38,7 @@
|
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
.location-wrapper {
|
|
41
|
+
position: relative;
|
|
39
42
|
cursor: pointer;
|
|
40
43
|
display: flex;
|
|
41
44
|
align-items: center;
|
|
@@ -45,10 +48,48 @@
|
|
|
45
48
|
background-color: $tp-transaction-line-discount-background-color;
|
|
46
49
|
padding-left: 6px;
|
|
47
50
|
margin-bottom: 20px;
|
|
51
|
+
|
|
52
|
+
co-icon {
|
|
53
|
+
margin-right: 15px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.required {
|
|
57
|
+
position: absolute;
|
|
58
|
+
right: 7px;
|
|
59
|
+
top: 7px;
|
|
60
|
+
color: #c13c3c;
|
|
61
|
+
}
|
|
48
62
|
}
|
|
49
|
-
}
|
|
50
63
|
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
.receive-button-wrapper {
|
|
65
|
+
width: 100%;
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
|
|
69
|
+
.receive-button {
|
|
70
|
+
display: flex;
|
|
71
|
+
width: 125px;
|
|
72
|
+
height: 35px;
|
|
73
|
+
background: #f5f5fa;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
border-radius: 11px;
|
|
77
|
+
|
|
78
|
+
.receive-text {
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
font-weight: bold;
|
|
81
|
+
color: #7d81a1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.disabled {
|
|
87
|
+
cursor: default;
|
|
88
|
+
opacity: 0.6;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.clickable {
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
}
|
|
53
94
|
}
|
|
54
95
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
$tp-co-transaction-receiving-goods-details-title-font-size:
|
|
1
|
+
$tp-co-transaction-receiving-goods-details-title-font-size: 14px !default;
|
|
2
2
|
$tp-co-transaction-receiving-goods-details-title-margin: 0 0 10px 0 !default;
|
|
3
3
|
$tp-co-transaction-receiving-goods-details-input-margin: 0 0 25px 0 !default;
|
|
@@ -6,11 +6,15 @@ import { ReceiveGoodsForPurchaseOrderRequest } from "@colijnit/transactionapi/bu
|
|
|
6
6
|
import { TransactionService } from "../../service/transaction.service";
|
|
7
7
|
import { ArticleService } from "../../service/article.service";
|
|
8
8
|
import { DialogService } from "../../service/dialog.service";
|
|
9
|
+
import { Icon } from "../../enum/icon.enum";
|
|
10
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
9
11
|
export declare class TransactionReceivingGoodsDetailsComponent {
|
|
12
|
+
iconCacheService: IconCacheService;
|
|
10
13
|
private _formMaster;
|
|
11
14
|
private _service;
|
|
12
15
|
private _articleService;
|
|
13
16
|
private _dialogService;
|
|
17
|
+
readonly icons: typeof Icon;
|
|
14
18
|
set amountLeftToReceive(value: number);
|
|
15
19
|
transactionId: number;
|
|
16
20
|
set transactionLine(value: TransactionLineInfo);
|
|
@@ -26,11 +30,11 @@ export declare class TransactionReceivingGoodsDetailsComponent {
|
|
|
26
30
|
readonly: boolean;
|
|
27
31
|
private _transactionLine;
|
|
28
32
|
private _amountLeftToReceive;
|
|
29
|
-
constructor(_formMaster: FormMasterService, _service: TransactionService, _articleService: ArticleService, _dialogService: DialogService);
|
|
33
|
+
constructor(iconCacheService: IconCacheService, _formMaster: FormMasterService, _service: TransactionService, _articleService: ArticleService, _dialogService: DialogService);
|
|
30
34
|
submit(): boolean;
|
|
31
35
|
locationRequired(): boolean;
|
|
32
36
|
handleSaveDetailsEdit(): void;
|
|
33
37
|
handleCancelDetailsEdit(): void;
|
|
34
38
|
handleDropDownSelected(warehouseNr: number): Promise<void>;
|
|
35
|
-
openWarehouseLocationDialog():
|
|
39
|
+
openWarehouseLocationDialog(): void;
|
|
36
40
|
}
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
@import "../transaction-search-header/style/material";
|
|
5
5
|
@import "../transaction-filter/transaction-filter/style/material";
|
|
6
6
|
@import "../transaction-search-result/style/material";
|
|
7
|
+
@import "../transaction-search-tile/transaction-statusbar/style/material";
|
|
7
8
|
@import "~@colijnit/corecomponents_v12/lib/components/pagination/style/material";
|
|
8
9
|
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
font-size: $tp-transaction-tile-header-font-size;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
.text {
|
|
33
|
+
text-overflow: ellipsis;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
|
|
32
38
|
co-avatar {
|
|
33
39
|
width: $tp-transaction-tile-avatar-width;
|
|
34
40
|
height: $tp-transaction-tile-avatar-height;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|