@colijnit/transaction 12.1.104 → 12.1.106
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 +40 -25
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +3 -3
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.module.js +5 -5
- package/esm2015/lib/component/transaction/transaction.component.js +8 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.js +5 -5
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +4 -4
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +3 -3
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +3 -3
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +17 -19
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +25 -31
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/transaction-base.service.js +2 -2
- package/esm2015/lib/service/transaction-mapping.service.js +41 -41
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +53 -55
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.d.ts +3 -3
- package/lib/component/transaction/style/_layout.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +1 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.d.ts +2 -2
- package/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.d.ts +3 -3
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +2 -2
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +2 -0
- package/lib/component/transaction-line-purchase-receive-goods/style/_layout.scss +1 -1
- package/lib/component/transaction-line-purchase-receive-goods/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-side-panel/style/_layout.scss +11 -17
- package/lib/component/transaction-line-side-panel/style/_material-definition.scss +3 -3
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +9 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +36 -55
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +5 -5
- package/lib/res/dictionary/dictionaries.d.ts +1 -0
- package/lib/service/transaction-mapping.service.d.ts +9 -9
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { ArticleExtended } from
|
|
3
|
-
import { TransactionService } from
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
|
|
3
|
+
import { TransactionService } from '../../../../service/transaction.service';
|
|
4
4
|
import { CatalogService } from '@colijnit/catalog';
|
|
5
5
|
export declare class DialogCatalogComponent implements OnInit {
|
|
6
6
|
private _transactionService;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
padding: $tp-transaction-transaction-lines-header-padding;
|
|
22
22
|
flex-wrap: wrap-reverse;
|
|
23
23
|
.transaction-lines-header-item {
|
|
24
|
-
flex-basis:
|
|
24
|
+
flex-basis: 33%;
|
|
25
25
|
&.right {
|
|
26
26
|
display: flex;
|
|
27
27
|
column-gap: $tp-transaction-transaction-lines-header-column-gap;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputTextComponent } from
|
|
2
|
-
import { TransactionInputFieldBaseComponent } from
|
|
1
|
+
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
2
|
+
import { TransactionInputFieldBaseComponent } from '../core/base/transaction-input-field-base.component';
|
|
3
3
|
export declare class TransactionHeaderDiscountTransactionTotalComponent extends TransactionInputFieldBaseComponent {
|
|
4
4
|
set child(content: any);
|
|
5
5
|
input: InputTextComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { TransactionBaseComponent } from
|
|
4
|
-
import { TransactionTypeCategory } from
|
|
2
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
3
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
4
|
+
import { TransactionTypeCategory } from '../../../enum/transaction-type-category.enum';
|
|
5
5
|
export declare class TransactionGoodsAllocationLineComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
6
6
|
readonly icons: typeof Icon;
|
|
7
7
|
readonly category: typeof TransactionTypeCategory;
|
package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Icon } from
|
|
2
|
-
import { TransactionBaseComponent } from
|
|
1
|
+
import { Icon } from '../../enum/icon.enum';
|
|
2
|
+
import { TransactionBaseComponent } from '../core/base/transaction-base.component';
|
|
3
3
|
export declare class TransactionLineWarehouseButtonComponent extends TransactionBaseComponent {
|
|
4
4
|
readonly icons: typeof Icon;
|
|
5
5
|
readonly: boolean;
|
package/lib/component/transaction-line-purchase-receive-goods/style/_material-definition.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
|
|
2
|
-
$tp-co-transaction-line-receive-goods-title-margin: 0 0 10px
|
|
2
|
+
$tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
|
|
22
22
|
.transaction-line-side-panel-header {
|
|
23
23
|
display: flex;
|
|
24
|
-
|
|
25
|
-
margin
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.side-panel-header-label {
|
|
31
|
-
font-family: $tp-transaction-line-side-panel-header-label-font-family;
|
|
32
|
-
font-size: $tp-transaction-line-side-panel-header-label-font-size;
|
|
33
|
-
}
|
|
24
|
+
column-gap: 15px;
|
|
25
|
+
margin: $tp-transaction-line-side-panel-header-margin;
|
|
26
|
+
align-items: center;
|
|
27
|
+
icon {
|
|
28
|
+
width: 20px;
|
|
29
|
+
height: 20px;
|
|
34
30
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
border-width: 0 1px 0 0;
|
|
39
|
-
width: 1px;
|
|
40
|
-
margin: 5px;
|
|
31
|
+
span {
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
font-size: 14px;
|
|
41
34
|
}
|
|
42
35
|
}
|
|
43
36
|
.close-button {
|
|
@@ -46,11 +39,12 @@
|
|
|
46
39
|
align-self: flex-end;
|
|
47
40
|
width: 25px;
|
|
48
41
|
height: 25px;
|
|
42
|
+
margin-top: 5px;
|
|
49
43
|
}
|
|
50
44
|
.transaction-line-side-panel-nav-bar {
|
|
51
45
|
display: flex;
|
|
52
46
|
justify-content: center;
|
|
53
|
-
padding:
|
|
47
|
+
padding: 25px;
|
|
54
48
|
}
|
|
55
49
|
.transaction-line-side-panel-content {
|
|
56
50
|
display: flex;
|
|
@@ -2,10 +2,10 @@ $tp-transaction-line-side-panel-font-family: $tp-font-family !default;
|
|
|
2
2
|
$tp-transaction-line-side-panel-font-size: $tp-font-size !default;
|
|
3
3
|
$tp-transaction-line-side-panel-top: 0 !default;
|
|
4
4
|
$tp-transaction-line-side-panel-height: 100% !default;
|
|
5
|
-
$tp-transaction-line-side-panel-width:
|
|
5
|
+
$tp-transaction-line-side-panel-width: 500px !default;
|
|
6
6
|
$tp-transaction-line-side-panel-box-shadow: -3px 0px 16px 1px rgb(0, 0, 0, 0.2) !default;
|
|
7
|
-
$tp-transaction-line-side-panel-padding:
|
|
7
|
+
$tp-transaction-line-side-panel-padding: 15px !default;
|
|
8
8
|
$tp-transaction-line-side-panel-header-label-font-family: $tp-font-family !default;
|
|
9
9
|
$tp-transaction-line-side-panel-header-label-font-size: $tp-font-size-small !default;
|
|
10
10
|
$tp-transaction-line-side-panel-header-divider-color: $tp-color-border !default;
|
|
11
|
-
$tp-transaction-line-side-panel-header-
|
|
11
|
+
$tp-transaction-line-side-panel-header-margin: 10px 0 0 5px !default;
|
package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
1
|
+
import { 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";
|
|
@@ -7,10 +7,13 @@ import { TransactionTypeCategory } from "../../enum/transaction-type-category.en
|
|
|
7
7
|
import { TransactionService } from "../../service/transaction.service";
|
|
8
8
|
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
9
9
|
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
10
|
-
|
|
10
|
+
import { TransactionMappingService } from "../../service/transaction-mapping.service";
|
|
11
|
+
import { TransactionBarButton } from "../../model/transaction-bar-button";
|
|
12
|
+
export declare class TransactionLineSidePanelComponent implements OnInit {
|
|
11
13
|
iconService: IconCacheService;
|
|
12
14
|
private _service;
|
|
13
15
|
private _transactionEventService;
|
|
16
|
+
private _transactionMappingService;
|
|
14
17
|
readonly icons: typeof Icon;
|
|
15
18
|
readonly categories: typeof TransactionTypeCategory;
|
|
16
19
|
readonly transactionTypes: typeof TransactionKind;
|
|
@@ -18,6 +21,9 @@ export declare class TransactionLineSidePanelComponent {
|
|
|
18
21
|
transactionInfo: TransactionInfo;
|
|
19
22
|
activeCategory: TransactionTypeCategory;
|
|
20
23
|
cancelClick: EventEmitter<MouseEvent>;
|
|
24
|
+
activeCategoryButton: TransactionBarButton;
|
|
21
25
|
showClass(): boolean;
|
|
22
|
-
constructor(iconService: IconCacheService, _service: TransactionService, _transactionEventService: TransactionEventService);
|
|
26
|
+
constructor(iconService: IconCacheService, _service: TransactionService, _transactionEventService: TransactionEventService, _transactionMappingService: TransactionMappingService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
updateActiveCategory(button: TransactionBarButton): void;
|
|
23
29
|
}
|
|
@@ -2,69 +2,50 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('cc-transaction-quick-access-received-goods-layout') {
|
|
4
4
|
.co-transaction-quick-access-received-goods {
|
|
5
|
-
display: flex;
|
|
6
|
-
column-gap: 10px;
|
|
7
|
-
align-items: center;
|
|
8
5
|
|
|
9
|
-
.
|
|
10
|
-
margin-left: 10px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.buttons {
|
|
6
|
+
.quick-access-wrapper {
|
|
14
7
|
display: flex;
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
column-gap: 10px;
|
|
9
|
+
align-items: center;
|
|
17
10
|
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
margin-right: 10px;
|
|
22
|
-
position: relative;
|
|
11
|
+
.checkbox-wrapper {
|
|
12
|
+
margin-left: 10px;
|
|
23
13
|
}
|
|
24
14
|
|
|
25
|
-
.
|
|
15
|
+
.dots-wrapper {
|
|
26
16
|
display: flex;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
display: flex;
|
|
37
|
-
transform: scale(0.7);
|
|
38
|
-
|
|
39
|
-
.dot {
|
|
40
|
-
width: 8px;
|
|
41
|
-
height: 8px;
|
|
42
|
-
background-color: black;
|
|
43
|
-
border-radius: 16px;
|
|
44
|
-
transform: scale(0.3);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.button-wrapper {
|
|
49
|
-
background: $tp-default-background-accent;
|
|
50
|
-
border-radius: $tp-default-border-radius;
|
|
51
|
-
padding: 5px;
|
|
52
|
-
display: flex;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
align-items: center;
|
|
55
|
-
justify-content: center;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
width: 68px;
|
|
58
|
-
height: 46px;
|
|
59
|
-
|
|
60
|
-
.button-icon {
|
|
61
|
-
height: 20px;
|
|
62
|
-
width: 20px;
|
|
17
|
+
transform: scale(0.7);
|
|
18
|
+
|
|
19
|
+
.dot {
|
|
20
|
+
width: 8px;
|
|
21
|
+
height: 8px;
|
|
22
|
+
background-color: black;
|
|
23
|
+
border-radius: 16px;
|
|
24
|
+
transform: scale(0.3);
|
|
25
|
+
}
|
|
63
26
|
}
|
|
64
27
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
28
|
+
.button-wrapper {
|
|
29
|
+
background: $tp-default-background-accent;
|
|
30
|
+
border-radius: $tp-default-border-radius;
|
|
31
|
+
padding: 5px;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
width: 68px;
|
|
38
|
+
height: 46px;
|
|
39
|
+
|
|
40
|
+
.button-icon {
|
|
41
|
+
height: 20px;
|
|
42
|
+
width: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
span {
|
|
46
|
+
font-size: 10px;
|
|
47
|
+
margin-top: 3px;
|
|
48
|
+
}
|
|
68
49
|
}
|
|
69
50
|
}
|
|
70
51
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
1
2
|
import { Icon } from "../../../enum/icon.enum";
|
|
2
3
|
import { EmailInvoiceRequest } from "@colijnit/transactionapi/build/model/email-invoice-request";
|
|
3
4
|
import { PrintInvoiceRequest } from "@colijnit/transactionapi/build/model/print-invoice-request";
|
|
@@ -6,18 +7,17 @@ import { TransactionQuickAccessSendMethodBaseComponent } from "../transaction-qu
|
|
|
6
7
|
import { ReportLayoutSelectionEmail } from "@colijnit/mainapi/build/model/report-layout-selection-email.bo";
|
|
7
8
|
import { ReportLayoutSelectionPrint } from "@colijnit/mainapi/build/model/report-layout-selection-print.bo";
|
|
8
9
|
import { ReportingDocumentPrintBaseRequest } from "@colijnit/mainapi/build/model/reporting-document-print-base-request";
|
|
9
|
-
export declare class TransactionQuickAccessReceivedGoodsComponent extends TransactionQuickAccessSendMethodBaseComponent {
|
|
10
|
+
export declare class TransactionQuickAccessReceivedGoodsComponent extends TransactionQuickAccessSendMethodBaseComponent implements OnInit {
|
|
10
11
|
readonly icons: typeof Icon;
|
|
11
12
|
reportDocumentEmailRequest: EmailInvoiceRequest;
|
|
12
13
|
reportDocumentPrintRequest: PrintInvoiceRequest;
|
|
13
14
|
reportDocumentPdfRequest: PdfInvoiceRequest;
|
|
14
|
-
showClass(): boolean;
|
|
15
15
|
localCheckboxState: boolean;
|
|
16
|
-
awaitingResult: boolean;
|
|
17
|
-
resultSuccessful: boolean;
|
|
18
|
-
iconVisible: boolean;
|
|
19
16
|
commitDate: Date;
|
|
20
17
|
packingSlipNr: string;
|
|
18
|
+
hideQuickAccessContent: boolean;
|
|
19
|
+
showClass(): boolean;
|
|
20
|
+
ngOnInit(): void;
|
|
21
21
|
handleCommitEvent(): Promise<void>;
|
|
22
22
|
handleSelectAllLines(value: boolean): void;
|
|
23
23
|
protected getDefaultEmailAddressList(): Promise<string[]>;
|
|
@@ -16417,6 +16417,7 @@ export declare class Dictionaries {
|
|
|
16417
16417
|
TRANSACTION_TYPE: string;
|
|
16418
16418
|
TRANSACTION_TYPES: string;
|
|
16419
16419
|
TRANSACTION_VERSION_MISMATCH: string;
|
|
16420
|
+
TRANSACTION_VERSION_MISMATCH_ERROR: string;
|
|
16420
16421
|
TRANSACTION_WAS_SUCCESSFULLY: string;
|
|
16421
16422
|
TRANSFER: string;
|
|
16422
16423
|
TRANSFERS: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Type } from
|
|
2
|
-
import { TransactionKind } from
|
|
3
|
-
import { TransactionFilterBaseComponent } from
|
|
4
|
-
import { TransactionSearchGridBaseComponent } from
|
|
5
|
-
import { TransactionSearchTileBaseComponent } from
|
|
6
|
-
import { TransactionBarButton } from
|
|
7
|
-
import { TransactionTypeCategory } from
|
|
8
|
-
import { TransactionBaseComponent } from
|
|
9
|
-
import { TransactionGridBaseComponent } from
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
3
|
+
import { TransactionFilterBaseComponent } from '../component/core/base/transaction-filter-base.component';
|
|
4
|
+
import { TransactionSearchGridBaseComponent } from '../component/core/base/transaction-search-grid-base.component';
|
|
5
|
+
import { TransactionSearchTileBaseComponent } from '../component/core/base/transaction-search-tile-base.component';
|
|
6
|
+
import { TransactionBarButton } from '../model/transaction-bar-button';
|
|
7
|
+
import { TransactionTypeCategory } from '../enum/transaction-type-category.enum';
|
|
8
|
+
import { TransactionBaseComponent } from '../component/core/base/transaction-base.component';
|
|
9
|
+
import { TransactionGridBaseComponent } from '../component/core/base/transaction-grid-base.component';
|
|
10
10
|
export declare class TransactionMappingService {
|
|
11
11
|
private readonly _buttonBarTransaction;
|
|
12
12
|
private readonly _quickAccessComponent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.106",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"@angular/common": ">=12.2.0",
|
|
11
11
|
"@angular/core": ">=12.2.0",
|
|
12
12
|
"@colijnit/articleapi": ">=1.0.16",
|
|
13
|
-
"@colijnit/catalog": ">=12.1.
|
|
13
|
+
"@colijnit/catalog": ">=12.1.27",
|
|
14
14
|
"@colijnit/corecomponents": ">=1.12.0",
|
|
15
|
-
"@colijnit/corecomponents_v12": ">=12.0.
|
|
15
|
+
"@colijnit/corecomponents_v12": ">=12.0.102",
|
|
16
16
|
"@colijnit/ioneconnector": ">=2.1.10",
|
|
17
17
|
"@colijnit/mainapi": ">=1.0.10",
|
|
18
18
|
"@colijnit/relationapi": ">=1.0.5",
|