@colijnit/transaction 12.1.50 → 12.1.52
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 +756 -642
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +192 -192
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +193 -193
- package/esm2015/lib/assets/dictionary/text.properties.js +5 -1
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +1 -1
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +62 -15
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +6 -3
- package/esm2015/lib/component/transaction/transaction.module.js +6 -3
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +13 -12
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +38 -18
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +4 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +1 -1
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +18 -14
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +11 -6
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +6 -1
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +19 -3
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +1 -1
- 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/enum/icon.enum.js +7 -1
- package/esm2015/lib/model/icon-svg.js +7 -1
- package/esm2015/lib/service/pending-reason.service.js +2 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +30 -3
- package/esm2015/lib/service/transaction-connector.service.js +7 -12
- package/esm2015/lib/service/transaction.service.js +7 -6
- package/fesm2015/colijnit-transaction.js +504 -367
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/shared/transaction-article-text/style/_layout.scss +68 -7
- package/lib/component/shared/transaction-article-text/style/_material-definition.scss +1 -1
- package/lib/component/shared/transaction-article-text/style/_theme.scss +11 -3
- package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +14 -2
- package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +4 -0
- package/lib/component/transaction/style/_layout.scss +23 -0
- package/lib/component/transaction/style/_material-definition.scss +7 -0
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +2 -3
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +6 -8
- package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +2 -1
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +31 -38
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +3 -2
- package/lib/component/transaction-line-action-buttons/style/_theme.scss +11 -0
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +5 -0
- package/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +2 -0
- package/lib/component/transaction-lines/style/_layout.scss +16 -0
- package/lib/component/transaction-lines/style/_material-definition.scss +1 -1
- package/lib/component/transaction-lines/style/_theme.scss +4 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +3 -0
- package/lib/component/transaction-search/style/material.scss +1 -0
- package/lib/enum/icon.enum.d.ts +6 -0
- package/lib/service/pending-reason.service.d.ts +1 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +3 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -3,15 +3,24 @@
|
|
|
3
3
|
@include export-module('co-transaction-article-text-layout') {
|
|
4
4
|
.co-transaction-article-text {
|
|
5
5
|
font-size: $tp-co-transaction-article-text-font-size;
|
|
6
|
+
|
|
7
|
+
.dialog-content {
|
|
8
|
+
min-height: 40vh;
|
|
9
|
+
max-height: 90vh;
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
.article-text-content-wrapper {
|
|
7
13
|
display: flex;
|
|
8
|
-
flex-direction:
|
|
9
|
-
column-gap:
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
column-gap: 40px;
|
|
16
|
+
min-height: 40vh;
|
|
17
|
+
max-height: 90vh;
|
|
18
|
+
|
|
10
19
|
textarea {
|
|
11
20
|
font-family: $tp-co-transaction-article-text-font-family;
|
|
12
|
-
min-height:
|
|
13
|
-
min-width:
|
|
14
|
-
|
|
21
|
+
min-height: 150px;
|
|
22
|
+
min-width: 500px;
|
|
23
|
+
|
|
15
24
|
&:focus {
|
|
16
25
|
outline: none;
|
|
17
26
|
}
|
|
@@ -22,15 +31,32 @@
|
|
|
22
31
|
}
|
|
23
32
|
.editor-wrapper {
|
|
24
33
|
display: flex;
|
|
25
|
-
|
|
34
|
+
position: relative;
|
|
26
35
|
}
|
|
36
|
+
|
|
27
37
|
.option-wrapper {
|
|
28
38
|
display: flex;
|
|
29
39
|
flex-direction: column;
|
|
30
40
|
row-gap: $tp-co-transaction-article-text-options-row-gap;
|
|
31
|
-
width:
|
|
41
|
+
width: 100%;
|
|
32
42
|
flex-shrink: 0;
|
|
43
|
+
|
|
44
|
+
.co-input-listbox {
|
|
45
|
+
padding: 20px 0;
|
|
46
|
+
|
|
47
|
+
.co-input-listbox-content {
|
|
48
|
+
max-height: 150px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.e-listbox-wrapper {
|
|
52
|
+
border: 0;
|
|
53
|
+
column-count: 2;
|
|
54
|
+
min-height: 100px;
|
|
55
|
+
//max-height: 150px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
33
58
|
}
|
|
59
|
+
|
|
34
60
|
.button-wrapper {
|
|
35
61
|
display: flex;
|
|
36
62
|
flex-direction: row;
|
|
@@ -38,5 +64,40 @@
|
|
|
38
64
|
padding: 10px;
|
|
39
65
|
column-gap: 5px;
|
|
40
66
|
}
|
|
67
|
+
|
|
68
|
+
.bold {
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.search-button {
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 0;
|
|
75
|
+
right: 15px;
|
|
76
|
+
height: 35px;
|
|
77
|
+
width: 35px;
|
|
78
|
+
margin: 2px;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
|
|
84
|
+
co-icon {
|
|
85
|
+
height: 35px;
|
|
86
|
+
width: 35px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.co-transaction-line-image-and-description {;
|
|
91
|
+
display: flex;
|
|
92
|
+
|
|
93
|
+
.description-wrapper {
|
|
94
|
+
padding: 5px;
|
|
95
|
+
border-radius: 5px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.standard-texts-dropdown-wrapper {
|
|
100
|
+
height: 50px;
|
|
101
|
+
}
|
|
41
102
|
}
|
|
42
103
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$tp-co-transaction-article-text-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-co-transaction-article-text-font-size: $tp-font-size !default;
|
|
3
3
|
$tp-co-transaction-article-text-readonly-opacity: 0.5 !default;
|
|
4
|
-
$tp-co-transaction-article-text-border-color: $tp-color-
|
|
4
|
+
$tp-co-transaction-article-text-border-color: $tp-color-light-accent !default;
|
|
5
5
|
$tp-co-transaction-article-text-options-row-gap: 40px !default;
|
|
6
6
|
$cc-co-input-listbox-font-size: $tp-co-transaction-article-text-font-size;
|
|
7
7
|
$cc-co-input-listbox-header-font-size: $tp-co-transaction-article-text-font-size;
|
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-article-text-theme') {
|
|
4
4
|
.co-transaction-article-text {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
|
|
6
|
+
.search-button {
|
|
7
|
+
background-color: white;
|
|
8
|
+
co-icon [fill] {
|
|
9
|
+
fill: black;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.co-transaction-line-image-and-description {;
|
|
14
|
+
.description-wrapper {
|
|
15
|
+
border: 1px solid $tp-co-transaction-article-text-border-color;
|
|
8
16
|
}
|
|
9
17
|
}
|
|
10
18
|
}
|
package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
3
|
+
import { DictionaryService } from "../../../service/dictionary.service";
|
|
4
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
2
5
|
import { TransactionService } from "../../../service/transaction.service";
|
|
3
6
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
4
7
|
import { StandardText } from "../../../model/standard-text";
|
|
5
8
|
import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
|
|
6
9
|
export declare class TransactionArticleTextComponent implements OnInit {
|
|
7
|
-
|
|
10
|
+
transactionService: TransactionService;
|
|
11
|
+
iconCacheService: IconCacheService;
|
|
12
|
+
private _dictionaryService;
|
|
8
13
|
header: string;
|
|
9
14
|
set transactionLine(value: TransactionLineInfo);
|
|
15
|
+
get transactionLine(): TransactionLineInfo;
|
|
10
16
|
set articleRef(value: string);
|
|
11
17
|
get articleRef(): string;
|
|
12
18
|
set editText(value: string);
|
|
@@ -15,17 +21,23 @@ export declare class TransactionArticleTextComponent implements OnInit {
|
|
|
15
21
|
cancelClick: EventEmitter<MouseEvent>;
|
|
16
22
|
saveClick: EventEmitter<TransactionAddTextLineRequest>;
|
|
17
23
|
showClass(): boolean;
|
|
24
|
+
readonly icon: typeof Icon;
|
|
25
|
+
private _transactionLine;
|
|
18
26
|
showOverviewDialog: boolean;
|
|
19
27
|
standardTexts: StandardText[];
|
|
20
28
|
documents: any[];
|
|
21
29
|
fields: Object;
|
|
22
30
|
fieldsDocuments: Object;
|
|
31
|
+
textAreaPlaceholder: string;
|
|
32
|
+
searchIcon: import("@angular/platform-browser").SafeHtml;
|
|
33
|
+
showDropdown: boolean;
|
|
23
34
|
transactionAddTextLineRequest: TransactionAddTextLineRequest;
|
|
24
35
|
private _articleRef;
|
|
25
|
-
constructor(
|
|
36
|
+
constructor(transactionService: TransactionService, iconCacheService: IconCacheService, _dictionaryService: DictionaryService);
|
|
26
37
|
ngOnInit(): Promise<void>;
|
|
27
38
|
onOkClick(event: MouseEvent): void;
|
|
28
39
|
onCancelClick(event: MouseEvent): void;
|
|
29
40
|
onSelectStandardText(value: any): void;
|
|
30
41
|
handleDocumentsChange(docs: any): void;
|
|
42
|
+
showStandardTextsDropdown(): void;
|
|
31
43
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-layout') {
|
|
4
4
|
.co-transaction {
|
|
5
|
+
font-family: $tp-co-transaction-font-family;
|
|
5
6
|
display: block;
|
|
6
7
|
padding: $tp-transaction-padding;
|
|
7
8
|
.transaction-footer-wrapper {
|
|
@@ -46,5 +47,27 @@
|
|
|
46
47
|
grid-template-columns: repeat(1, 1fr);
|
|
47
48
|
}
|
|
48
49
|
}
|
|
50
|
+
.icon-wrapper {
|
|
51
|
+
background: $tp-co-transaction-icon-button-background-color;
|
|
52
|
+
border-radius: $tp-co-transaction-icon-button-border-radius;
|
|
53
|
+
padding: $tp-co-transaction-icon-button-padding;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
.icon-text {
|
|
60
|
+
font-size: $tp-co-transaction-icon-text-font-size;
|
|
61
|
+
user-select: none;
|
|
62
|
+
}
|
|
63
|
+
.icon-method {
|
|
64
|
+
float: right;
|
|
65
|
+
position: relative;
|
|
66
|
+
top: -22px;
|
|
67
|
+
right: -20px;
|
|
68
|
+
width: 15px;
|
|
69
|
+
margin-bottom: -18px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
49
72
|
}
|
|
50
73
|
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
$tp-co-transaction-font-family: $tp-font-family !default;
|
|
1
2
|
$tp-transaction-totals-margin: 15px 0 !default;
|
|
3
|
+
$tp-transaction-padding: 25px !default;
|
|
4
|
+
$tp-transaction-transaction-lines-header-padding: 20px 0 !default;
|
|
5
|
+
$tp-co-transaction-icon-button-background-color: white !default;
|
|
6
|
+
$tp-co-transaction-icon-button-border-radius: 10px !default;
|
|
7
|
+
$tp-co-transaction-icon-button-padding: 10px !default;
|
|
8
|
+
$tp-co-transaction-icon-text-font-size: $tp-font-size-small !default;
|
|
2
9
|
$tp-transaction-padding: 20px !default;
|
|
3
10
|
$tp-transaction-transaction-lines-header-padding: 20px !default;
|
|
@@ -3,18 +3,17 @@ import { Icon } from "../../enum/icon.enum";
|
|
|
3
3
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
4
|
import { TransactionService } from "../../service/transaction.service";
|
|
5
5
|
import { DocDeliveryBatch } from "@colijnit/transactionapi/build/model/doc-delivery-batch.bo";
|
|
6
|
-
import { DatePipe } from "@angular/common";
|
|
7
6
|
export declare class TransactionConfirmationDetailsComponent {
|
|
8
7
|
iconCacheService: IconCacheService;
|
|
9
8
|
transactionService: TransactionService;
|
|
10
|
-
private _datePipe;
|
|
11
9
|
readonly icons: typeof Icon;
|
|
12
10
|
transactionLines: TransactionLineInfo;
|
|
13
11
|
transactionInfoNr: number;
|
|
12
|
+
testLines: any;
|
|
14
13
|
showClass(): boolean;
|
|
15
14
|
showAddOrder: boolean;
|
|
16
15
|
newDocBatchArray: DocDeliveryBatch;
|
|
17
|
-
constructor(iconCacheService: IconCacheService, transactionService: TransactionService
|
|
16
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
18
17
|
addButtonClicked(): void;
|
|
19
18
|
handleOkClick(): void;
|
|
20
19
|
}
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
3
|
import { Icon } from "../../enum/icon.enum";
|
|
4
4
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
5
|
import { TransactionService } from "../../service/transaction.service";
|
|
6
|
-
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
7
6
|
import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-purchase-portal-line";
|
|
8
7
|
import { PurchasePortalFilters } from "@colijnit/transactionapi/build/model/purchase-portal-filters.bo";
|
|
9
|
-
import { DatePipe } from "@angular/common";
|
|
10
8
|
export declare class TransactionConfirmationHistoryComponent implements OnInit {
|
|
11
9
|
iconCacheService: IconCacheService;
|
|
12
10
|
transactionService: TransactionService;
|
|
13
|
-
private
|
|
11
|
+
private _changeDetector;
|
|
14
12
|
readonly icons: typeof Icon;
|
|
15
13
|
transactionLines: TransactionLineInfo;
|
|
16
14
|
transactionId: number;
|
|
17
15
|
transactionInfoNr: number;
|
|
18
|
-
|
|
19
|
-
docBatch: PurchasePortalLine;
|
|
16
|
+
lineSelected: EventEmitter<void>;
|
|
20
17
|
getPurchasePortalLine: GetPurchasePortalLine;
|
|
21
18
|
purchasePortalFilter: PurchasePortalFilters;
|
|
22
19
|
showClass(): boolean;
|
|
23
|
-
constructor(iconCacheService: IconCacheService, transactionService: TransactionService,
|
|
20
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
|
|
24
21
|
ngOnInit(): void;
|
|
25
|
-
getPurchasePortalLines(): void
|
|
22
|
+
getPurchasePortalLines(): Promise<void>;
|
|
26
23
|
lockPurchasePortalLine(): Promise<void>;
|
|
27
24
|
deleteDocBatch(event: any): Promise<void>;
|
|
25
|
+
selectedLineDocBatchArray(event: any): void;
|
|
28
26
|
}
|
package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss
CHANGED
|
@@ -23,7 +23,8 @@ $tp-transaction-line-totals-font-weight: bold !default;
|
|
|
23
23
|
$tp-transaction-line-delete-color: $tp-color-action !default;
|
|
24
24
|
$tp-transaction-line-article-text-background-color: white !default;
|
|
25
25
|
$tp-transaction-line-article-text-color: $tp-color-dark !default;
|
|
26
|
-
$tp-transaction-line-
|
|
26
|
+
$tp-transaction-line-article-menu-icon-color: $tp-color-dark !default;
|
|
27
|
+
$tp-transaction-line-buttons-overview-background-color: #030D3C !default;
|
|
27
28
|
$tp-transaction-line-buttons-overview-text-color: $tp-color-light !default;
|
|
28
29
|
$tp-transaction-line-buttons-add-text-background-color: $tp-color-action !default;
|
|
29
30
|
$tp-transaction-line-buttons-add-text-text-color: $tp-color-light !default;
|
|
@@ -9,29 +9,21 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: center;
|
|
11
11
|
align-items: center;
|
|
12
|
-
|
|
13
|
-
.show-hide-button {
|
|
14
|
-
width: $tp-transaction-line-show-hide-button-size;
|
|
15
|
-
height: $tp-transaction-line-show-hide-button-size;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
12
|
}
|
|
19
13
|
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
co-icon [fill] {
|
|
34
|
-
fill: $tp-transaction-line-buttons-add-text-text-color;
|
|
14
|
+
.circle {
|
|
15
|
+
height: 25px;
|
|
16
|
+
width: 25px;
|
|
17
|
+
margin: 2px;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
border-radius: 20px;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
|
|
24
|
+
co-icon {
|
|
25
|
+
height: 15px;
|
|
26
|
+
width: 15px;
|
|
35
27
|
}
|
|
36
28
|
}
|
|
37
29
|
|
|
@@ -40,42 +32,43 @@
|
|
|
40
32
|
flex-direction: column;
|
|
41
33
|
position: absolute;
|
|
42
34
|
|
|
43
|
-
.
|
|
35
|
+
.action-button {
|
|
44
36
|
opacity: 0;
|
|
45
|
-
|
|
46
|
-
width: 25px;
|
|
47
|
-
margin: 5px;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
co-icon {
|
|
50
|
-
height: 25px;
|
|
51
|
-
width: 25px;
|
|
52
|
-
}
|
|
37
|
+
|
|
53
38
|
&.show {
|
|
54
39
|
opacity: 1;
|
|
55
40
|
}
|
|
56
41
|
}
|
|
57
|
-
|
|
42
|
+
|
|
43
|
+
.action-button:nth-child(1) {
|
|
58
44
|
transition: all .2s .4s;
|
|
59
45
|
}
|
|
60
|
-
|
|
46
|
+
|
|
47
|
+
.action-button:nth-child(2) {
|
|
61
48
|
transition: all .2s .3s;
|
|
62
49
|
}
|
|
63
|
-
|
|
50
|
+
|
|
51
|
+
.action-button:nth-child(3) {
|
|
64
52
|
transition: all .2s .2s;
|
|
65
53
|
}
|
|
66
|
-
|
|
54
|
+
|
|
55
|
+
.action-button:nth-child(4) {
|
|
67
56
|
transition: all .2s .1s;
|
|
68
57
|
}
|
|
69
|
-
|
|
58
|
+
|
|
59
|
+
.action-button.show:nth-child(1) {
|
|
70
60
|
transition: all .2s;
|
|
71
61
|
}
|
|
72
|
-
|
|
62
|
+
|
|
63
|
+
.action-button.show:nth-child(2) {
|
|
73
64
|
transition: all .2s .1s;
|
|
74
65
|
}
|
|
75
|
-
|
|
66
|
+
|
|
67
|
+
.action-button.show:nth-child(3) {
|
|
76
68
|
transition: all .2s .2s;
|
|
77
69
|
}
|
|
78
|
-
|
|
70
|
+
|
|
71
|
+
.action-button.show:nth-child(4) {
|
|
79
72
|
transition: all .2s .3s;
|
|
80
73
|
}
|
|
81
74
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
$tp-transaction-line-buttons-
|
|
1
|
+
$tp-transaction-line-buttons-background-color: #030D3C !default;
|
|
2
|
+
$tp-transaction-line-buttons-overview-background-color: #030D3C !default;
|
|
2
3
|
$tp-transaction-line-buttons-overview-text-color: $tp-color-light !default;
|
|
3
4
|
$tp-transaction-line-buttons-add-text-background-color: $tp-color-action !default;
|
|
4
5
|
$tp-transaction-line-buttons-add-text-text-color: $tp-color-light !default;
|
|
5
|
-
$tp-transaction-line-show-hide-button-size:
|
|
6
|
+
$tp-transaction-line-show-hide-button-size: 25px !default;
|
|
6
7
|
$tp-transaction-line-show-hide-button-padding: 4px !default;
|
|
7
8
|
|
|
@@ -3,5 +3,16 @@
|
|
|
3
3
|
@include export-module('co-transaction-line-action-buttons-theme') {
|
|
4
4
|
.co-transaction-line-action-buttons {
|
|
5
5
|
|
|
6
|
+
.action-menu-button {
|
|
7
|
+
background-color: $tp-transaction-line-button-background-color;
|
|
8
|
+
co-icon [fill] {
|
|
9
|
+
fill: $tp-transaction-line-article-menu-icon-color;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.action-button {
|
|
14
|
+
background-color: $tp-transaction-line-buttons-overview-background-color;
|
|
15
|
+
fill: $tp-transaction-line-buttons-overview-text-color;
|
|
16
|
+
}
|
|
6
17
|
}
|
|
7
18
|
}
|
|
@@ -15,6 +15,7 @@ export declare class TransactionLineImageAndDescriptionComponent {
|
|
|
15
15
|
readonly icons: typeof Icon;
|
|
16
16
|
set line(value: TransactionLineInfo);
|
|
17
17
|
get line(): TransactionLineInfo;
|
|
18
|
+
popUpView: boolean;
|
|
18
19
|
showClass(): boolean;
|
|
19
20
|
preview: boolean;
|
|
20
21
|
openArticleTextClicked: EventEmitter<string>;
|
|
@@ -16,8 +16,10 @@ export declare class TransactionLineSidePanelPurchaseComponent implements AfterV
|
|
|
16
16
|
quantityToReceiveChange: EventEmitter<number>;
|
|
17
17
|
showClass(): boolean;
|
|
18
18
|
goodsReceiptStatus: GoodsReceiptStatusWithHistory;
|
|
19
|
+
selectedLineDocBatchArray: any;
|
|
19
20
|
private _transactionInfo;
|
|
20
21
|
constructor(_service: TransactionService, _transactionEventService: TransactionEventService);
|
|
21
22
|
ngAfterViewInit(): void;
|
|
22
23
|
getGoodsReceiptStatusWithHistory(): Promise<void>;
|
|
24
|
+
fillInputOnClick(data: any): void;
|
|
23
25
|
}
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-lines-layout') {
|
|
4
4
|
.co-transaction-lines {
|
|
5
|
+
.add-text-button {
|
|
6
|
+
height: 25px;
|
|
7
|
+
width: 25px;
|
|
8
|
+
margin: 2px;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
border-radius: 20px;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
|
|
15
|
+
co-icon {
|
|
16
|
+
height: 15px;
|
|
17
|
+
width: 15px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
5
20
|
}
|
|
21
|
+
|
|
6
22
|
draggable-transaction-line.cdk-drag-preview {
|
|
7
23
|
box-sizing: border-box;
|
|
8
24
|
border-radius: 4px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$tp-transaction-lines-add-text-button-background-color:
|
|
1
|
+
$tp-transaction-lines-add-text-button-background-color: #030D3C !default;
|
|
2
2
|
$tp-transaction-lines-add-text-button-text-color: $tp-color-light !default;
|
|
3
3
|
$tp-transaction-lines-grid-amount-background-color: $tp-color-active-light !default;
|
|
4
4
|
$tp-transaction-lines-drag-handle-background-color: $tp-color-border !default;
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
.co-transaction-lines {
|
|
5
5
|
.add-text-button {
|
|
6
6
|
background-color: $tp-transaction-lines-add-text-button-background-color;
|
|
7
|
-
|
|
8
|
-
fill: $tp-transaction-lines-add-text-button-text-color;
|
|
9
|
-
}
|
|
7
|
+
fill: $tp-transaction-lines-add-text-button-text-color;
|
|
10
8
|
}
|
|
9
|
+
|
|
11
10
|
.draggable-transaction-line .transaction-line-drag-handle {
|
|
12
11
|
.co-icon {
|
|
13
12
|
svg { // for fontawesome icons
|
|
@@ -16,9 +15,11 @@
|
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
}
|
|
18
|
+
|
|
19
19
|
.co-input-number-picker.transaction-lines-grid-amount {
|
|
20
20
|
border: none;
|
|
21
21
|
background-color: $tp-transaction-lines-grid-amount-background-color;
|
|
22
|
+
|
|
22
23
|
input {
|
|
23
24
|
background-color: $tp-transaction-lines-grid-amount-background-color;
|
|
24
25
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
2
|
+
import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
|
|
2
3
|
export declare class TransactionQuickAccessOrderConfirmationComponent extends TransactionBaseComponent {
|
|
4
|
+
purchaseOrderConfirmation: GetPurchaseOrderConfirmation;
|
|
3
5
|
showClass(): boolean;
|
|
6
|
+
confirmFullOrder(): void;
|
|
4
7
|
}
|
|
@@ -5,5 +5,6 @@
|
|
|
5
5
|
@import "../transaction-filter/transaction-filter/style/material";
|
|
6
6
|
@import "../transaction-search-result/style/material";
|
|
7
7
|
@import "../transaction-search-tile/transaction-statusbar/style/material";
|
|
8
|
+
@import "../transaction-search-tile/transaction-search-tile/style/material";
|
|
8
9
|
@import "~@colijnit/corecomponents_v12/lib/components/pagination/style/material";
|
|
9
10
|
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare enum Icon {
|
|
|
5
5
|
ArrowPointRight = "arrow_point_right",
|
|
6
6
|
Article = "article",
|
|
7
7
|
AtSolid = "at_solid",
|
|
8
|
+
BarcodeRegular = "barcode_regular",
|
|
8
9
|
BarcodeSolid = "barcode_solid",
|
|
9
10
|
BarsFilter = "bars_filter",
|
|
10
11
|
CalendarDay = "calendar_day",
|
|
@@ -17,6 +18,7 @@ export declare enum Icon {
|
|
|
17
18
|
CreditCardSolid = "credit_card_solid",
|
|
18
19
|
DeliveryTruck = "delivery_truck",
|
|
19
20
|
EditPencil = "edit_pencil",
|
|
21
|
+
EllipsisLight = "ellipsis_light",
|
|
20
22
|
FileCircleInfoSolid = "file_circle_info_solid",
|
|
21
23
|
FilePdfSolid = "file_pdf_solid",
|
|
22
24
|
GripDotsVerticalSolid = "grip_dots_vertical_solid",
|
|
@@ -28,10 +30,12 @@ export declare enum Icon {
|
|
|
28
30
|
Lock = "lock",
|
|
29
31
|
LockKeyholeOpenSolid = "lock_keyhole_open_solid",
|
|
30
32
|
LockKeyholeSolid = "lock_keyhole_solid",
|
|
33
|
+
Magnifier = "magnifier",
|
|
31
34
|
MapMarker = "map_marker",
|
|
32
35
|
MasterDetail = "master_detail",
|
|
33
36
|
MemoCircleCheckSolid = "memo_circle_check_solid",
|
|
34
37
|
Menu = "menu",
|
|
38
|
+
ObjectIntersectSolid = "object_intersect_solid",
|
|
35
39
|
PalletBoxesSolid = "pallet_boxes_solid",
|
|
36
40
|
PlusRound = "plus_round",
|
|
37
41
|
PrintSolid = "print_solid",
|
|
@@ -46,6 +50,8 @@ export declare enum Icon {
|
|
|
46
50
|
SquareFullSolid = "square_full_solid",
|
|
47
51
|
SyncAlt = "sync_alt",
|
|
48
52
|
Tag = "tag",
|
|
53
|
+
TextSizeSolid = "text_size_solid",
|
|
54
|
+
TextSolid = "text_solid",
|
|
49
55
|
ThickLines = "thick_lines",
|
|
50
56
|
ThinLines = "thin_lines",
|
|
51
57
|
TrashBin = "trash_bin",
|
|
@@ -24,7 +24,7 @@ export declare class PendingReasonService {
|
|
|
24
24
|
currentTransaction: TransactionInfoResponse;
|
|
25
25
|
set relation(value: RelationAnyType);
|
|
26
26
|
get relation(): RelationAnyType;
|
|
27
|
-
purchasePortalLine: PurchasePortalLine;
|
|
27
|
+
purchasePortalLine: PurchasePortalLine[];
|
|
28
28
|
docDeliveryBatch: DocDeliveryBatch;
|
|
29
29
|
articleAmount: number;
|
|
30
30
|
private _relation;
|
|
@@ -49,6 +49,7 @@ import { SelectMultipleCacheService } from "../cache/service/select-multiple-cac
|
|
|
49
49
|
import { SelectMultipleParameterizedCacheService } from "../cache/service/select-multiple-parameterized-cache.service";
|
|
50
50
|
import { ErrorService } from "./error.service";
|
|
51
51
|
import { SupplierFullObject } from "@colijnit/transactionapi/build/model/supplier-full-object.bo";
|
|
52
|
+
import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
|
|
52
53
|
export declare class TransactionConnectorAdapterService {
|
|
53
54
|
private _optionsService;
|
|
54
55
|
private _selectMultipleCacheService;
|
|
@@ -152,5 +153,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
152
153
|
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<TransactionInfoResponse>;
|
|
153
154
|
getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
|
|
154
155
|
updatePurchasePortalLines(purchasePortalLine: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
156
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation: GetPurchaseOrderConfirmation): Promise<DataServiceResponseData>;
|
|
157
|
+
lockPurchasePortalLines(transIdPurchase: number, lineId: number): Promise<boolean>;
|
|
155
158
|
private _handleExceptionFromResponse;
|
|
156
159
|
}
|
|
@@ -48,6 +48,7 @@ import { SelectMultipleParameterizedCacheService } from "../cache/service/select
|
|
|
48
48
|
import { TransactionConnectorAdapterService } from "./transaction-connector-adapter.service";
|
|
49
49
|
import { SelectSingleCacheService } from "../cache/service/select-single-cache.service";
|
|
50
50
|
import { SupplierFullObject } from "@colijnit/transactionapi/build/model/supplier-full-object.bo";
|
|
51
|
+
import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
|
|
51
52
|
export declare class TransactionConnectorService {
|
|
52
53
|
private _adapterService;
|
|
53
54
|
private _selectSingleCacheService;
|
|
@@ -148,5 +149,6 @@ export declare class TransactionConnectorService {
|
|
|
148
149
|
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<TransactionInfoResponse>;
|
|
149
150
|
getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
|
|
150
151
|
updatePurchasePortalLines(purchasePortalLine: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
152
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation: GetPurchaseOrderConfirmation): Promise<DataServiceResponseData>;
|
|
151
153
|
lockPurchasePortalLines(transIdPurchase: number, lineId: number): Promise<boolean>;
|
|
152
154
|
}
|
|
@@ -38,6 +38,7 @@ import { MainArticle } from "@colijnit/articleapi/build/model/main-article.bo";
|
|
|
38
38
|
import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-purchase-portal-line";
|
|
39
39
|
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
40
40
|
import { TransactionSearchResult } from "../model/transaction-search-result";
|
|
41
|
+
import { GetPurchaseOrderConfirmation } from "@colijnit/transactionapi/build/model/get-purchase-order-confirmation";
|
|
41
42
|
export declare class TransactionService extends PendingReasonService {
|
|
42
43
|
pendingLineOperationStatus(lineOperationStatuses: LineOperationStatus[]): LineOperationStatus | undefined;
|
|
43
44
|
updatePriceTransactionLine(uuid: string, lineUuid: string, price: number): Promise<boolean>;
|
|
@@ -119,7 +120,8 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
119
120
|
getHistoricStateValues(): Promise<CodeDescription[]>;
|
|
120
121
|
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
121
122
|
getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
|
|
122
|
-
|
|
123
|
+
purchaseOrderConfirmation(purchaseOrderConfirmation: GetPurchaseOrderConfirmation): Promise<DataServiceResponseData>;
|
|
124
|
+
updatePurchasePortalLines(purchasePortalLine: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
123
125
|
lockPurchasePortalLines(transIdPurchase: number, lineId: number): Promise<boolean>;
|
|
124
126
|
private _checkAndCreateTransaction;
|
|
125
127
|
}
|