@colijnit/transaction 12.1.51 → 12.1.53
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 +551 -519
- 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/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-line-action-buttons/transaction-line-action-buttons.component.js +3 -3
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +11 -6
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -5
- 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 +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +2 -2
- package/fesm2015/colijnit-transaction.js +335 -281
- 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-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-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-search/style/material.scss +1 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- 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
|
}
|
|
@@ -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>;
|
|
@@ -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
|
}
|
|
@@ -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
|
@@ -30,6 +30,7 @@ export declare enum Icon {
|
|
|
30
30
|
Lock = "lock",
|
|
31
31
|
LockKeyholeOpenSolid = "lock_keyhole_open_solid",
|
|
32
32
|
LockKeyholeSolid = "lock_keyhole_solid",
|
|
33
|
+
Magnifier = "magnifier",
|
|
33
34
|
MapMarker = "map_marker",
|
|
34
35
|
MasterDetail = "master_detail",
|
|
35
36
|
MemoCircleCheckSolid = "memo_circle_check_solid",
|