@colijnit/transaction 12.1.61 → 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 +14 -4
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- 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/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/fesm2015/colijnit-transaction.js +19 -9
- package/fesm2015/colijnit-transaction.js.map +1 -1
- 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/enum/icon.enum.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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
|
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
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",
|