@colijnit/transaction 12.1.60 → 12.1.62
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 +20 -10
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/dialog/dialog-header-search/dialog-header-search.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +19 -9
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +4 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +2 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +2 -6
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +2 -2
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/fesm2015/colijnit-transaction.js +25 -19
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/payment/style/_layout.scss +3 -0
- package/lib/component/payment/style/_material-definition.scss +1 -0
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +30 -4
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +10 -0
- package/lib/component/transaction-header/transaction-header-order/style/_theme.scss +13 -0
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +7 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +2 -2
- package/lib/component/transaction-search/style/_layout.scss +1 -1
- package/lib/component/transaction-search/style/_material-definition.scss +0 -2
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +0 -10
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/style/_variables.scss +23 -23
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ $tp-payment-font-family: $tp-font-family !default;
|
|
|
2
2
|
$tp-payment-font-size: $tp-font-size !default;
|
|
3
3
|
$tp-payment-tile-width: $tp-tile-min-width !default;
|
|
4
4
|
$tp-payment-tile-height: $tp-tile-min-height !default;
|
|
5
|
+
$tp-payment-padding: 10px !default;
|
|
5
6
|
$tp-payment-header-font-family: $tp-font-family !default;
|
|
6
7
|
$tp-payment-header-font-size: $tp-font-size !default;
|
|
7
8
|
$tp-payment-header-font-weight: bold !default;
|
|
@@ -3,21 +3,47 @@
|
|
|
3
3
|
@include export-module('co-transaction-header-order-layout') {
|
|
4
4
|
.co-transaction-header-order {
|
|
5
5
|
display: flex;
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
.transaction-header-block-header {
|
|
8
|
+
co-icon {
|
|
9
|
+
position: relative;
|
|
10
|
+
height: $tp-transaction-header-order-discount-button-width;
|
|
11
|
+
width: $tp-transaction-header-order-discount-button-width;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.header-discount {
|
|
16
|
+
cursor: pointer;
|
|
7
17
|
display: flex;
|
|
8
|
-
|
|
18
|
+
column-gap: 10px;
|
|
9
19
|
align-items: center;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: $tp-transaction-header-order-discount-height;
|
|
22
|
+
font-size: $tp-transaction-header-order-discount-font-size;
|
|
23
|
+
border: $tp-transaction-header-order-discount-border;
|
|
24
|
+
border-radius: $tp-transaction-header-order-discount-border-radius;
|
|
25
|
+
padding: $tp-transaction-header-order-discount-padding;
|
|
10
26
|
}
|
|
11
|
-
|
|
27
|
+
|
|
28
|
+
.transaction-header-block-content-third {
|
|
12
29
|
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
13
31
|
align-items: center;
|
|
14
|
-
column-gap: 10px;
|
|
15
32
|
}
|
|
33
|
+
|
|
34
|
+
.co-transaction-header-definitive {
|
|
35
|
+
.co-input-checkbox {
|
|
36
|
+
font-size: $tp-font-size-small;
|
|
37
|
+
flex-direction: column-reverse;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
16
41
|
.transaction-line-button {
|
|
17
42
|
flex-direction: column;
|
|
18
43
|
height: 100%;
|
|
19
44
|
padding: $tp-transaction-header-block-order-discount-padding;
|
|
20
45
|
}
|
|
46
|
+
|
|
21
47
|
.co-transaction-header-definitive {
|
|
22
48
|
font-weight: normal;
|
|
23
49
|
}
|
package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
1
|
$tp-transaction-header-block-order-discount-padding: 0 30px !default;
|
|
2
|
+
$tp-transaction-header-order-discount-button-width: 17px !default;
|
|
3
|
+
$tp-transaction-header-order-discount-font-size: $tp-font-size !default;
|
|
4
|
+
$tp-transaction-header-order-discount-font-color: $tp-color-active-light !default;
|
|
5
|
+
$tp-transaction-header-order-discount-background-color: $tp-default-background-accent !default;
|
|
6
|
+
$tp-transaction-header-order-discount-height: $tp-default-button-height !default;
|
|
7
|
+
$tp-transaction-header-order-discount-border: 1px solid !default;
|
|
8
|
+
$tp-transaction-header-order-discount-border-color: $tp-color-border !default;
|
|
9
|
+
$tp-transaction-header-order-discount-border-radius: 10px !default;
|
|
10
|
+
$tp-transaction-header-order-discount-padding: 5px 10px !default;
|
|
11
|
+
$tp-transaction-header-order-discount-icon-color: $tp-color-font !default;
|
|
@@ -2,5 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-header-order-theme') {
|
|
4
4
|
.co-transaction-header-order {
|
|
5
|
+
.header-discount {
|
|
6
|
+
color: $tp-transaction-header-order-discount-font-color;
|
|
7
|
+
background-color: $tp-transaction-header-order-discount-background-color;
|
|
8
|
+
border-color: $tp-transaction-header-order-discount-border-color;
|
|
9
|
+
.header-order-discount-icon {
|
|
10
|
+
svg { // for fontawesome icons
|
|
11
|
+
fill: $tp-transaction-header-order-discount-icon-color;
|
|
12
|
+
}
|
|
13
|
+
& [fill] { // for own icons
|
|
14
|
+
fill: $tp-transaction-header-order-discount-icon-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
5
18
|
}
|
|
6
19
|
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
2
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
2
5
|
export declare class TransactionHeaderOrderComponent extends TransactionBaseComponent {
|
|
6
|
+
iconService: IconCacheService;
|
|
7
|
+
protected readonly service: TransactionService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
3
9
|
showClass(): boolean;
|
|
4
10
|
showDiscountDialog: boolean;
|
|
11
|
+
constructor(iconService: IconCacheService, service: TransactionService);
|
|
5
12
|
handleShowDiscountDialog(event: MouseEvent): void;
|
|
6
13
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
color: $tp-transaction-delivery-line-delivered-bold-color;
|
|
80
80
|
}
|
|
81
81
|
co-icon [fill] {
|
|
82
|
-
fill: $tp-transaction-delivery-line-delivered-bold-color
|
|
82
|
+
fill: $tp-transaction-delivery-line-delivered-bold-color;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
.partially-delivered {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
color: $tp-transaction-delivery-line-partially-delivered-bold-color;
|
|
94
94
|
}
|
|
95
95
|
co-icon [fill] {
|
|
96
|
-
fill: $tp-transaction-delivery-line-partially-delivered-bold-color
|
|
96
|
+
fill: $tp-transaction-delivery-line-partially-delivered-bold-color;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
&.preview {
|
|
@@ -64,8 +64,6 @@ $tp-co-transaction-search-input-text-sidebar-width: 250px !default;
|
|
|
64
64
|
$tp-co-transaction-search-input-text-sidebar-height: 40px !default;
|
|
65
65
|
$tp-co-transaction-search-input-text-sidebar-margin-top: 5px !default;
|
|
66
66
|
$tp-co-transaction-search-input-text-label-margin-left: 5% !default;
|
|
67
|
-
$tp-co-transaction-search-input-text-sidebar-label-relative-top: 20px !default;
|
|
68
|
-
$tp-co-transaction-search-input-text-sidebar-input-margin-top: 13px !default;
|
|
69
67
|
$tp-co-transaction-search-view-modes-wrapper-padding: 0 35px !default;
|
|
70
68
|
|
|
71
69
|
$tp-transaction-tile-background-color: $tp-color-light !default;
|
|
@@ -63,10 +63,6 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.transaction-search-general {
|
|
66
|
-
|
|
67
|
-
input {
|
|
68
|
-
margin-left: $tp-co-transaction-search-input-text-label-margin-left !important;
|
|
69
|
-
}
|
|
70
66
|
co-input-text label {
|
|
71
67
|
left: 0;
|
|
72
68
|
}
|
|
@@ -84,12 +80,6 @@
|
|
|
84
80
|
height: $tp-co-transaction-search-input-text-sidebar-height;
|
|
85
81
|
transition: width 0.2s ease-in-out;
|
|
86
82
|
margin-top: $tp-co-transaction-search-input-text-sidebar-margin-top;
|
|
87
|
-
label {
|
|
88
|
-
top: $tp-co-transaction-search-input-text-sidebar-label-relative-top;
|
|
89
|
-
}
|
|
90
|
-
input {
|
|
91
|
-
margin: $tp-co-transaction-search-input-text-sidebar-input-margin-top;
|
|
92
|
-
}
|
|
93
83
|
}
|
|
94
84
|
}
|
|
95
85
|
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -94,34 +94,34 @@ $tp-transaction-dialog-footer-justify-content: center !default;
|
|
|
94
94
|
$tp-transaction-dialog-footer-column-gap: 10px !default;
|
|
95
95
|
|
|
96
96
|
/* core components override */
|
|
97
|
-
$cc-color-action: $tp-color-font;
|
|
98
|
-
$cc-btn-color: $tp-color-action;
|
|
99
|
-
$cc-checkbox-border-radius: 7px;
|
|
100
|
-
$cc-checkbox-check-background-color: white;
|
|
101
|
-
$cc-checkbox-check-border-color: #5FDCB3;
|
|
102
|
-
$cc-checkbox-check-color: #5FDCB3;
|
|
103
|
-
$cc-radio-button-height: 32px;
|
|
104
|
-
$cc-item-size: 50px;
|
|
97
|
+
$cc-color-action: $tp-color-font !default;
|
|
98
|
+
$cc-btn-color: $tp-color-action !default;
|
|
99
|
+
$cc-checkbox-border-radius: 7px !default;
|
|
100
|
+
$cc-checkbox-check-background-color: white !default;
|
|
101
|
+
$cc-checkbox-check-border-color: #5FDCB3 !default;
|
|
102
|
+
$cc-checkbox-check-color: #5FDCB3 !default;
|
|
103
|
+
$cc-radio-button-height: 32px !default;
|
|
104
|
+
$cc-item-size: 50px !default;
|
|
105
105
|
|
|
106
|
-
$cc-co-dialog-header-text-color: $tp-color-font;
|
|
107
|
-
$cc-co-dialog-header-padding: 0 0 20px 0;
|
|
108
|
-
$cc-co-dialog-header-margin: 0 0 20px 0;
|
|
109
|
-
$cc-co-dialog-padding: 30px 30px 60px 30px;
|
|
106
|
+
$cc-co-dialog-header-text-color: $tp-color-font !default;
|
|
107
|
+
$cc-co-dialog-header-padding: 0 0 20px 0 !default;
|
|
108
|
+
$cc-co-dialog-header-margin: 0 0 20px 0 !default;
|
|
109
|
+
$cc-co-dialog-padding: 30px 30px 60px 30px !default;
|
|
110
110
|
|
|
111
|
-
$cc-btn-border-radius: 5px;
|
|
112
|
-
$cc-btn-height: 36px;
|
|
111
|
+
$cc-btn-border-radius: 5px !default;
|
|
112
|
+
$cc-btn-height: 36px !default;
|
|
113
113
|
|
|
114
|
-
$cc-co-dialog-header-close-button-background-color: $tp-color-action;
|
|
114
|
+
$cc-co-dialog-header-close-button-background-color: $tp-color-action !default;
|
|
115
115
|
|
|
116
|
-
$cc-collapsible-content-padding: 10px 0px 0px 0px;
|
|
116
|
+
$cc-collapsible-content-padding: 10px 0px 0px 0px !default;
|
|
117
117
|
|
|
118
|
-
$cc-co-commit-buttons-button-background: none;
|
|
118
|
+
$cc-co-commit-buttons-button-background: none !default;
|
|
119
119
|
|
|
120
|
-
$cc-simple-grid-header-border-color: white;
|
|
121
|
-
$cc-simple-grid-header-font-size: 11px;
|
|
122
|
-
$cc-simple-grid-cell-padding: 0 5px;
|
|
123
|
-
$cc-simple-grid-row-selected-background-color: #f0f5ff;
|
|
124
|
-
$cc-simple-grid-row-height: 60px;
|
|
120
|
+
$cc-simple-grid-header-border-color: white !default;
|
|
121
|
+
$cc-simple-grid-header-font-size: 11px !default;
|
|
122
|
+
$cc-simple-grid-cell-padding: 0 5px !default;
|
|
123
|
+
$cc-simple-grid-row-selected-background-color: #f0f5ff !default;
|
|
124
|
+
$cc-simple-grid-row-height: 60px !default;
|
|
125
125
|
|
|
126
|
-
$cc-co-carousel-padding: 10px 20px;
|
|
126
|
+
$cc-co-carousel-padding: 10px 20px !default;
|
|
127
127
|
/****************************/
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.62",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": "^12.2.0",
|
|
8
8
|
"@angular/core": "^12.2.0",
|
|
9
9
|
"@colijnit/articleapi": ">=1.0.15",
|
|
10
|
-
"@colijnit/corecomponents_v12": ">=12.0.
|
|
10
|
+
"@colijnit/corecomponents_v12": ">=12.0.83",
|
|
11
11
|
"@colijnit/ioneconnector": ">=2.1.8",
|
|
12
12
|
"@colijnit/mainapi": ">=1.0.2",
|
|
13
13
|
"@colijnit/relationapi": ">=1.0.2",
|