@colijnit/transaction 12.1.23 → 12.1.24
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 +201 -52
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +48 -44
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +49 -45
- package/esm2015/lib/component/status-bar/status-bar.component.js +37 -0
- package/esm2015/lib/component/status-bar/status-bar.module.js +21 -0
- package/esm2015/lib/component/transaction/transaction.component.js +9 -2
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +33 -7
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +18 -5
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +42 -33
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +4 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +43 -35
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.js +3 -1
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +132 -0
- package/esm2015/lib/component/transaction-tile/transaction-tile.module.js +28 -0
- package/esm2015/lib/enum/icon.enum.js +4 -1
- package/esm2015/lib/model/icon-svg.js +4 -1
- package/fesm2015/colijnit-transaction.js +354 -82
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/style/_layout.scss +11 -0
- package/lib/component/core/image-display/style/_layout.scss +1 -0
- package/lib/component/status-bar/status-bar.component.d.ts +8 -0
- package/lib/component/status-bar/status-bar.module.d.ts +2 -0
- package/lib/component/status-bar/style/_layout.scss +14 -0
- package/lib/component/status-bar/style/_material-definition.scss +5 -0
- package/lib/component/status-bar/style/_theme.scss +15 -0
- package/lib/component/status-bar/style/material.scss +3 -0
- package/lib/component/transaction/style/_layout.scss +18 -0
- package/lib/component/transaction-grid/transaction-history-grid/style/_layout.scss +14 -0
- package/lib/component/transaction-receiving-goods-history/style/_layout.scss +13 -0
- package/lib/component/transaction-search/style/_material-definition.scss +10 -5
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +100 -66
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_theme.scss +21 -19
- package/lib/component/transaction-tile/style/_layout.scss +162 -0
- package/lib/component/transaction-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-tile/style/_theme.scss +7 -0
- package/lib/component/transaction-tile/style/material.scss +3 -0
- package/lib/component/transaction-tile/transaction-tile.component.d.ts +23 -0
- package/lib/component/transaction-tile/transaction-tile.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Icon } from "../../enum/icon.enum";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
export declare class StatusBarComponent {
|
|
4
|
+
iconCacheService: IconCacheService;
|
|
5
|
+
readonly icons: typeof Icon;
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
constructor(iconCacheService: IconCacheService);
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@include export-module('cc-status-bar-layout') {
|
|
2
|
+
.co-status-bar {
|
|
3
|
+
.status-bar-icons-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
column-gap: 2px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
co-icon {
|
|
10
|
+
height: $tp-status-bar-icon-height;
|
|
11
|
+
width: $tp-status-bar-icon-width;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
$tp-status-bar-icon-width: 0.8rem !default;
|
|
2
|
+
$tp-status-bar-icon-height: 0.8rem !default;
|
|
3
|
+
$tp-status-bar-icon-color: $tp-color-grey !default;
|
|
4
|
+
$tp-status-bar-icon-active-color: $tp-color-active-light !default;
|
|
5
|
+
$tp-status-bar-icon-warning-color: $tp-color-warning !default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@include export-module('cc-status-bar-theme') {
|
|
2
|
+
.co-status-bar {
|
|
3
|
+
co-icon {
|
|
4
|
+
fill: $tp-status-bar-icon-color;
|
|
5
|
+
|
|
6
|
+
&.color-green {
|
|
7
|
+
fill: $tp-status-bar-icon-active-color;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.color-orange {
|
|
11
|
+
fill: $tp-status-bar-icon-warning-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -28,5 +28,23 @@
|
|
|
28
28
|
justify-content: space-between;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
.transaction-tiles-wrapper {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: repeat(4, 1fr);
|
|
34
|
+
grid-column-gap: 5px;
|
|
35
|
+
grid-row-gap: 5px;
|
|
36
|
+
|
|
37
|
+
@media(max-width: 1500px) {
|
|
38
|
+
grid-template-columns: repeat(3, 1fr);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media(max-width: 1200px) {
|
|
42
|
+
grid-template-columns: repeat(2, 1fr);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media(max-width: 900px) {
|
|
46
|
+
grid-template-columns: repeat(1, 1fr);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
31
49
|
}
|
|
32
50
|
}
|
|
@@ -3,5 +3,18 @@
|
|
|
3
3
|
@include export-module('co-transaction-receiving-goods-history') {
|
|
4
4
|
.co-transaction-receiving-goods-history {
|
|
5
5
|
|
|
6
|
+
.row-container {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
|
|
10
|
+
.row {
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.correction {
|
|
15
|
+
margin-top: 8px;
|
|
16
|
+
color: #DB2C2C;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
6
19
|
}
|
|
7
20
|
}
|
|
@@ -47,8 +47,9 @@ $tp-co-transaction-search-filter-button-size: 50px !default;
|
|
|
47
47
|
$tp-co-transaction-search-filter-button-border-radius: 5px !default;
|
|
48
48
|
|
|
49
49
|
$tp-co-transaction-search-result-width: 100% !default;
|
|
50
|
-
$tp-co-transaction-search-result-wrapper-padding: 10px !default;
|
|
50
|
+
$tp-co-transaction-search-result-wrapper-padding: 0 10px !default;
|
|
51
51
|
$tp-co-transaction-search-result-upper-header-padding-left: 27px !default;
|
|
52
|
+
$tp-co-transaction-search-result-upper-header-height: 20px !default;
|
|
52
53
|
$tp-co-transaction-search-result-header-buttons-wrapper-padding: 0 27px !default;
|
|
53
54
|
$tp-co-transaction-search-result-header-sidebar-button-size: 21px !default;
|
|
54
55
|
|
|
@@ -58,6 +59,9 @@ $tp-co-transaction-search-input-text-label-margin-left: 5% !default;
|
|
|
58
59
|
|
|
59
60
|
$tp-co-transaction-search-view-modes-wrapper-padding: 0 35px !default;
|
|
60
61
|
|
|
62
|
+
$tp-transaction-tile-background-color: $tp-color-light !default;
|
|
63
|
+
$tp-transaction-tile-background-color-hover: $tp-color-less-light !default;
|
|
64
|
+
$tp-transaction-tile-background-color-selected: #F0F5FF !default;
|
|
61
65
|
$tp-transaction-tiles-wrapper-padding: 20px !default;
|
|
62
66
|
$tp-transaction-tiles-wrapper-row-gap: 5px !default;
|
|
63
67
|
$tp-transaction-tiles-wrapper-width: 100% !default;
|
|
@@ -65,8 +69,10 @@ $tp-transaction-tiles-wrapper-height: 100% !default;
|
|
|
65
69
|
$tp-transaction-tiles-wrapper-column-gap: 5px !default;
|
|
66
70
|
$tp-transaction-tile-font-family: $tp-font-family !default;
|
|
67
71
|
$tp-transaction-tile-font-size: $tp-font-size !default;
|
|
68
|
-
$tp-transaction-tile-height:
|
|
72
|
+
$tp-transaction-tile-height: 170px !default;
|
|
73
|
+
$tp-transaction-tile-body-height: 100px !default;
|
|
69
74
|
$tp-transaction-tile-width: 300px !default;
|
|
75
|
+
$tp-transaction-tile-width-mobile: 85 vw !default;
|
|
70
76
|
$tp-transaction-tile-padding: 10px 15px !default;
|
|
71
77
|
$tp-transaction-tile-row-gap: 10px !default;
|
|
72
78
|
$tp-transaction-tile-column-gap: 10px !default;
|
|
@@ -77,6 +83,8 @@ $tp-transaction-tile-header-font-size: $tp-font-size !default;
|
|
|
77
83
|
$tp-transaction-tile-header-font-weight: bold !default;
|
|
78
84
|
$tp-transaction-tile-header-font-color: $tp-color-font !default;
|
|
79
85
|
$tp-transaction-tile-footer-border-color: $tp-transaction-tile-font-color !default;
|
|
86
|
+
$tp-transaction-tile-footer-padding: 10px 0 !default;
|
|
87
|
+
$tp-transaction-tile-footer-middle-section-padding: 0 15px !default;
|
|
80
88
|
$tp-transaction-tile-value-height: 20px !default;
|
|
81
89
|
$tp-transaction-tile-border-color: $tp-color-border !default;
|
|
82
90
|
$tp-transaction-tile-button-color: $tp-color-active-light !default;
|
|
@@ -91,7 +99,4 @@ $tp-transaction-tile-icon-height: 1.2rem !default;
|
|
|
91
99
|
$tp-transaction-tile-icon-active-color: $tp-color-active !default;
|
|
92
100
|
$tp-transaction-tile-icon-inactive-color: $tp-color-font !default;
|
|
93
101
|
|
|
94
|
-
$tp-transaction-tile-background-color: $tp-color-light !default;
|
|
95
|
-
$tp-transaction-tile-hover-background-color: $tp-color-less-light !default;
|
|
96
|
-
$tp-transaction-tile-selected-background-color: #F0F5FF !default;
|
|
97
102
|
|
|
@@ -2,23 +2,18 @@
|
|
|
2
2
|
.co-transaction-search-tile {
|
|
3
3
|
.co-transaction-search-tile-content {
|
|
4
4
|
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: space-between;
|
|
7
5
|
height: $tp-transaction-tile-height;
|
|
8
6
|
|
|
9
7
|
@media(max-width: 600px) {
|
|
10
|
-
width:
|
|
8
|
+
width: $tp-transaction-tile-width-mobile;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
@media(min-width: 601px) {
|
|
14
12
|
width: $tp-transaction-tile-width;
|
|
15
13
|
}
|
|
14
|
+
|
|
16
15
|
border-radius: $tp-tile-border-radius;
|
|
17
16
|
padding: $tp-transaction-tile-padding;
|
|
18
|
-
row-gap: $tp-transaction-tile-row-gap;
|
|
19
|
-
|
|
20
|
-
font-family: $tp-transaction-tile-font-family;
|
|
21
|
-
font-size: $tp-transaction-tile-font-size;
|
|
22
17
|
|
|
23
18
|
.transaction-tile-wrapper {
|
|
24
19
|
cursor: pointer;
|
|
@@ -31,78 +26,117 @@
|
|
|
31
26
|
font-size: $tp-transaction-tile-header-font-size;
|
|
32
27
|
}
|
|
33
28
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
height: 80px;
|
|
29
|
+
co-avatar {
|
|
30
|
+
width: $tp-transaction-tile-avatar-width;
|
|
31
|
+
height: $tp-transaction-tile-avatar-height;
|
|
32
|
+
}
|
|
39
33
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
34
|
+
.label {
|
|
35
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
36
|
+
}
|
|
44
37
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
.value {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
align-items: flex-end;
|
|
42
|
+
min-width: max-content;
|
|
43
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
44
|
+
height: $tp-transaction-tile-value-height;
|
|
45
|
+
|
|
46
|
+
co-icon {
|
|
47
|
+
height: $tp-transaction-tile-icon-height;
|
|
48
|
+
width: $tp-transaction-tile-icon-width;
|
|
49
|
+
|
|
50
|
+
svg {
|
|
51
|
+
position: relative;
|
|
52
|
+
top: 0.22em;
|
|
53
|
+
}
|
|
50
54
|
}
|
|
55
|
+
}
|
|
51
56
|
|
|
52
|
-
.transaction-tile-order-summary {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
align-items: flex-end;
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
//grid
|
|
59
|
+
.tile {
|
|
60
|
+
display: grid;
|
|
61
|
+
grid-template-columns: 1fr;
|
|
62
|
+
grid-template-rows: 1.5fr 1.5fr 1fr;
|
|
63
|
+
gap: 10px 10px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.tile-header {
|
|
67
|
+
display: grid;
|
|
68
|
+
grid-template-columns: 0.4fr 1.3fr 1.3fr;
|
|
69
|
+
grid-template-rows: 1.5fr;
|
|
70
|
+
gap: 0 10px;
|
|
71
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tile-upper-left {
|
|
75
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
64
76
|
}
|
|
65
77
|
|
|
66
|
-
.
|
|
78
|
+
.tile-upper-middle {
|
|
79
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
67
80
|
display: flex;
|
|
68
|
-
|
|
69
|
-
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
row-gap: 3px;
|
|
83
|
+
}
|
|
70
84
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
.tile-upper-right {
|
|
86
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: flex-end;
|
|
90
|
+
row-gap: 3px;
|
|
91
|
+
}
|
|
76
92
|
|
|
77
|
-
&:nth-child(2) {
|
|
78
|
-
padding: 0 15px;
|
|
79
|
-
}
|
|
80
93
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
.tile-body {
|
|
95
|
+
display: grid;
|
|
96
|
+
grid-template-columns: 0.4fr 2.6fr 0fr;
|
|
97
|
+
grid-template-rows: 1.5fr;
|
|
98
|
+
gap: 0 10px;
|
|
99
|
+
grid-area: 2 / 1 / 3 / 2;
|
|
100
|
+
}
|
|
84
101
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
align-items: flex-end;
|
|
89
|
-
min-width: fit-content;
|
|
90
|
-
font-size: $tp-transaction-tile-font-size-small;
|
|
91
|
-
height: $tp-transaction-tile-value-height;
|
|
92
|
-
|
|
93
|
-
co-icon {
|
|
94
|
-
height: $tp-transaction-tile-icon-height;
|
|
95
|
-
width: $tp-transaction-tile-icon-width;
|
|
96
|
-
|
|
97
|
-
svg {
|
|
98
|
-
position: relative;
|
|
99
|
-
top: 0.22em;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
102
|
+
.tile-middle-left {
|
|
103
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
104
104
|
}
|
|
105
|
-
}
|
|
106
105
|
|
|
106
|
+
.tile-middle-middle {
|
|
107
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.tile-middle-right {
|
|
112
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.tile-footer {
|
|
116
|
+
display: grid;
|
|
117
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
118
|
+
grid-template-rows: 1fr;
|
|
119
|
+
gap: 0 15px;
|
|
120
|
+
grid-area: 3 / 1 / 4 / 2;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.tile-bottom-left {
|
|
124
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.tile-bottom-middle {
|
|
128
|
+
grid-area: 1 / 2 / 2 / 3;
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
align-items: center;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.tile-bottom-right {
|
|
135
|
+
grid-area: 1 / 3 / 2 / 4;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
align-items: flex-end;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
107
141
|
}
|
|
108
142
|
}
|
|
@@ -12,27 +12,29 @@
|
|
|
12
12
|
color: $tp-transaction-tile-font-color;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.transaction-tile-footer {
|
|
16
|
-
.order-info-section {
|
|
17
|
-
&:nth-child(2) {
|
|
18
|
-
border-left: 0.5px solid $tp-transaction-tile-border-color;
|
|
19
|
-
border-right: 0.5px solid $tp-transaction-tile-border-color;
|
|
20
|
-
}
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
.tile-bottom-left {
|
|
17
|
+
border-right: 1px solid $tp-transaction-tile-border-color;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tile-bottom-right {
|
|
21
|
+
border-left: 1px solid $tp-transaction-tile-border-color;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.order-info-section {
|
|
25
|
+
.label {
|
|
26
|
+
color: $tp-transaction-tile-font-color;
|
|
27
|
+
}
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
.value {
|
|
30
|
+
color: $tp-transaction-tile-font-color-dark;
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
.lock-icon [fill] {
|
|
33
|
+
fill: $tp-transaction-tile-icon-active-color;
|
|
34
|
+
}
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
+
.unlock-icon [fill] {
|
|
37
|
+
fill: $tp-transaction-tile-icon-inactive-color;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -40,13 +42,13 @@
|
|
|
40
42
|
|
|
41
43
|
&:hover {
|
|
42
44
|
.co-transaction-search-tile-content {
|
|
43
|
-
background-color: $tp-transaction-tile-
|
|
45
|
+
background-color: $tp-transaction-tile-background-color-hover;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
&.selected {
|
|
48
50
|
.co-transaction-search-tile-content {
|
|
49
|
-
background-color
|
|
51
|
+
background-color: $tp-transaction-tile-background-color-selected;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-tile-layout') {
|
|
4
|
+
.co-transaction-tile {
|
|
5
|
+
|
|
6
|
+
.transaction-tile-wrapper {
|
|
7
|
+
//max-width: 500px;
|
|
8
|
+
background: white;
|
|
9
|
+
border-radius: 11px;
|
|
10
|
+
border: 1px solid #5fdbb2;
|
|
11
|
+
padding: 12px 12px 12px 19px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.header-row {
|
|
15
|
+
width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
|
|
20
|
+
.header-transport-container {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
|
|
24
|
+
.transport-method-icon {
|
|
25
|
+
width: 40px;
|
|
26
|
+
height: 40px;
|
|
27
|
+
margin: -10px 5px -10px 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.transport-method-text {
|
|
31
|
+
font-family: $tp-font-family;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.header-date {
|
|
37
|
+
font-family: $tp-font-family;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
color: #5fdbb2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.header-side-panel-button {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.transaction-details-row {
|
|
48
|
+
display: flex;
|
|
49
|
+
height: 60px;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
|
|
52
|
+
.transaction-details-container {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 75%;
|
|
56
|
+
|
|
57
|
+
.transaction-tile-title {
|
|
58
|
+
font-family: $tp-font-family;
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
margin-bottom: 5px;
|
|
61
|
+
overflow-x: clip;
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.transaction-tile-description {
|
|
67
|
+
font-family: $tp-font-family;
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
overflow-y: hidden;
|
|
70
|
+
color: #7d81a1;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tile-image {
|
|
75
|
+
margin-right: 5px;
|
|
76
|
+
width: 60px;
|
|
77
|
+
height: 60px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.transaction-order-status-row {
|
|
82
|
+
display: flex;
|
|
83
|
+
width: 100%;
|
|
84
|
+
padding: 10px;
|
|
85
|
+
justify-content: flex-end;
|
|
86
|
+
|
|
87
|
+
.indicators-wrapper {
|
|
88
|
+
display: flex;
|
|
89
|
+
min-width: 70px;
|
|
90
|
+
|
|
91
|
+
.transaction-order-status-indicator {
|
|
92
|
+
width: 12px;
|
|
93
|
+
height: 8px;
|
|
94
|
+
margin: 1px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.transaction-data-row {
|
|
100
|
+
display: flex;
|
|
101
|
+
width: 100%;
|
|
102
|
+
|
|
103
|
+
.transaction-data-header {
|
|
104
|
+
width: inherit;
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: space-between;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.transaction-data-header-label {
|
|
110
|
+
font-family: $tp-font-family;
|
|
111
|
+
font-size: 10px;
|
|
112
|
+
color: #7d81a1;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.transaction-data-header-field {
|
|
116
|
+
font-family: $tp-font-family;
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
overflow-x: clip;
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
text-overflow: ellipsis;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.transaction-data-header-divider {
|
|
124
|
+
display: flex;
|
|
125
|
+
border-right: 2px solid #ebebeb;
|
|
126
|
+
margin: 5px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.transaction-data-header-item {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
row-gap: 10px;
|
|
133
|
+
|
|
134
|
+
input::-webkit-outer-spin-button,
|
|
135
|
+
input::-webkit-inner-spin-button {
|
|
136
|
+
-webkit-appearance: none;
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.center {
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bold {
|
|
147
|
+
font-weight: bold;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.amount-input {
|
|
151
|
+
width: 26px;
|
|
152
|
+
text-align: center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mutable {
|
|
156
|
+
padding: 4px 11px;
|
|
157
|
+
border-radius: 9px;
|
|
158
|
+
background: #f5f5fa;
|
|
159
|
+
margin-left: 3%;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../enum/icon.enum";
|
|
5
|
+
import { TransactionImageService } from "../../service/transaction-image.service";
|
|
6
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
7
|
+
export declare class TransactionTileComponent {
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
private _imageService;
|
|
10
|
+
readonly icon: typeof Icon;
|
|
11
|
+
readonly transactionTypes: typeof TransactionKind;
|
|
12
|
+
transactionType: TransactionKind;
|
|
13
|
+
set transactionLine(value: TransactionLineInfo);
|
|
14
|
+
get transactionLine(): TransactionLineInfo;
|
|
15
|
+
showSidePanelClicked: EventEmitter<TransactionLineInfo>;
|
|
16
|
+
image: string;
|
|
17
|
+
private _transactionLine;
|
|
18
|
+
showClass(): boolean;
|
|
19
|
+
constructor(iconCacheService: IconCacheService, _imageService: TransactionImageService);
|
|
20
|
+
handleSidePanelButtonClicked(): void;
|
|
21
|
+
getStatusColor(n: number): string;
|
|
22
|
+
private _loadLineImage;
|
|
23
|
+
}
|