@colijnit/transaction 12.1.134 → 12.1.136
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 -625
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +463 -468
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +464 -469
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +7 -3
- package/esm2015/lib/component/transaction/transaction.component.js +96 -89
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +31 -19
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +36 -16
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +30 -21
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +48 -18
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +19 -9
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +6 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-payment-button/transaction-header-payment-button.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +34 -41
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +98 -112
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +94 -120
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +17 -18
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +22 -15
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +13 -13
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/Settings.js +4 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/options.service.js +8 -31
- package/esm2015/lib/service/relation-connector.service.js +4 -2
- package/esm2015/lib/service/transaction-base.service.js +2 -2
- package/esm2015/lib/service/transaction-connector-adapter.service.js +3 -3
- package/esm2015/lib/service/transaction-connector.service.js +3 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/esm2015/public_api.js +6 -1
- package/fesm2015/colijnit-transaction.js +541 -505
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +27 -0
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +12 -3
- package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +1 -0
- package/lib/component/transaction/transaction.component.d.ts +3 -2
- package/lib/component/transaction-button-bar/style/_material-definition.scss +1 -1
- package/lib/component/transaction-document-button/style/_layout.scss +59 -0
- package/lib/component/transaction-document-button/style/_material-definition.scss +9 -0
- package/lib/component/transaction-document-button/style/_theme.scss +5 -0
- package/lib/component/transaction-document-button/style/material.scss +4 -0
- package/lib/component/transaction-header/style/_layout.scss +1 -1
- package/lib/component/transaction-header/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +35 -1
- package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +11 -2
- package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +5 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +57 -11
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +22 -2
- package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +6 -2
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +11 -5
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +8 -4
- package/lib/component/transaction-header/transaction-header-order/style/_theme.scss +1 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +46 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +17 -0
- package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +15 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +47 -0
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-deliverydate-definitive-button/style/_layout.scss +19 -3
- package/lib/component/transaction-header-fields/transaction-header-deliverydate-definitive-button/style/_material-definition.scss +8 -3
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header-fields/transaction-header-payment-button/style/_theme.scss +1 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +2 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.d.ts +6 -2
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +2 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +6 -6
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/Settings.d.ts +3 -0
- package/lib/res/dictionary/dictionaries.d.ts +4 -0
- package/lib/service/options.service.d.ts +2 -2
- package/lib/service/transaction-connector-adapter.service.d.ts +10 -10
- package/lib/service/transaction-connector.service.d.ts +7 -7
- package/lib/style/_variables.scss +4 -1
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
justify-content: space-between;
|
|
41
41
|
flex-basis: 1px;
|
|
42
42
|
column-gap: $tp-transaction-header-block-content-column-gap;
|
|
43
|
+
align-items: center;
|
|
43
44
|
.transaction-header-block-content-first {
|
|
44
45
|
//min-width: 130px;
|
|
45
46
|
}
|
|
@@ -49,6 +50,32 @@
|
|
|
49
50
|
.transaction-header-block-content-third {
|
|
50
51
|
//min-width: 130px;
|
|
51
52
|
}
|
|
53
|
+
.transaction-header-block-content-hidden {
|
|
54
|
+
padding: $tp-transaction-header-block-icon-padding;
|
|
55
|
+
}
|
|
56
|
+
.transaction-header-block-row {
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
flex-basis: 1px;
|
|
60
|
+
column-gap: $tp-transaction-header-block-content-row-gap;
|
|
61
|
+
line-height: $tp-transaction-header-order-section-line-height;
|
|
62
|
+
align-items: center;
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
.transaction-header-icon {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
width: $tp-transaction-header-block-icon-background-width;
|
|
70
|
+
height: $tp-transaction-header-block-icon-background-height;
|
|
71
|
+
background: $tp-default-background-accent;
|
|
72
|
+
border-radius: $tp-transaction-header-block-icon-background-radius;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
.co-icon {
|
|
75
|
+
width: $tp-transaction-header-block-icon-width;
|
|
76
|
+
height: $tp-transaction-header-block-icon-height;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
52
79
|
}
|
|
53
80
|
.transaction-header-block-divider {
|
|
54
81
|
height: 70%;
|
package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss
CHANGED
|
@@ -5,14 +5,15 @@ $tp-transaction-header-block-label-font-size: $tp-transaction-header-font-size !
|
|
|
5
5
|
$tp-transaction-header-block-label-font-color: $tp-transaction-header-font-color !default;
|
|
6
6
|
$tp-transaction-header-block-label-font-weight: bold !default;
|
|
7
7
|
$tp-transaction-header-block-header-margin: 0 !default;
|
|
8
|
-
$tp-transaction-header-block-header-min-height:
|
|
8
|
+
$tp-transaction-header-block-header-min-height: 0px !default;
|
|
9
9
|
|
|
10
10
|
$tp-transaction-header-block-content-divider-background: $tp-color-border !default;
|
|
11
|
-
$tp-transaction-header-block-content-column-gap:
|
|
11
|
+
$tp-transaction-header-block-content-column-gap: 10px !default;
|
|
12
|
+
$tp-transaction-header-block-content-row-gap: 10px !default;
|
|
12
13
|
|
|
13
14
|
$tp-transaction-header-block-width: 200px !default;
|
|
14
15
|
$tp-transaction-header-block-margin: 0 !default;
|
|
15
|
-
$tp-transaction-header-block-padding: 4px
|
|
16
|
+
$tp-transaction-header-block-padding: 4px 15px !default;
|
|
16
17
|
$tp-transaction-header-block-border: none !default;
|
|
17
18
|
$tp-transaction-header-block-border-radius: $tp-default-border-radius !default;
|
|
18
19
|
$tp-transaction-header-block-border-color: $tp-color-border !default;
|
|
@@ -20,3 +21,11 @@ $tp-transaction-header-block-border-width: 1px !default;
|
|
|
20
21
|
$tp-transaction-header-block-background: white !default;
|
|
21
22
|
$tp-transaction-header-block-line-height: 20px !default;
|
|
22
23
|
$tp-transaction-header-block-hover-background: rgba($tp-color-action, 0.05) !default;
|
|
24
|
+
|
|
25
|
+
$tp-transaction-header-block-icon-width: 20px !default;
|
|
26
|
+
$tp-transaction-header-block-icon-height: 20px !default;
|
|
27
|
+
$tp-transaction-header-block-icon-background-radius: 100% !default;
|
|
28
|
+
$tp-transaction-header-block-icon-background-width: 38px !default;
|
|
29
|
+
$tp-transaction-header-block-icon-background-height: 38px !default;
|
|
30
|
+
$tp-transaction-header-block-icon-padding: 5px 0 0 38px !default;
|
|
31
|
+
$tp-transaction-header-order-section-line-height: 16px !default;
|
|
@@ -4,6 +4,7 @@ export declare class TransactionHeaderBlockComponent {
|
|
|
4
4
|
firstBlockTemplate: TemplateRef<any>;
|
|
5
5
|
secondBlockTemplate: TemplateRef<any>;
|
|
6
6
|
thirdBlockTemplate: TemplateRef<any>;
|
|
7
|
+
hiddenBlockTemplate: TemplateRef<any>;
|
|
7
8
|
headerClick: EventEmitter<MouseEvent>;
|
|
8
9
|
showClass(): boolean;
|
|
9
10
|
handleHostClick(event: MouseEvent): void;
|
|
@@ -13,8 +13,8 @@ import { TransactionLineSidePanelComponent } from '../transaction-line-side-pane
|
|
|
13
13
|
import { RelationAnyType } from '../../model/relation-any-type';
|
|
14
14
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
15
15
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
16
|
-
import { TransactionScreenConfigurationService } from
|
|
17
|
-
import { DialogService } from
|
|
16
|
+
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
17
|
+
import { DialogService } from '../../service/dialog.service';
|
|
18
18
|
export declare class TransactionComponent implements OnDestroy {
|
|
19
19
|
iconCacheService: IconCacheService;
|
|
20
20
|
service: TransactionService;
|
|
@@ -46,6 +46,7 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
46
46
|
showArticleTextOverview: boolean;
|
|
47
47
|
showTransactionText: boolean;
|
|
48
48
|
showArticleText: boolean;
|
|
49
|
+
loaded: boolean;
|
|
49
50
|
textToEdit: string;
|
|
50
51
|
historicTransactionLines: TransactionLineInfo[] | null;
|
|
51
52
|
private _subs;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$tp-co-transaction-button-bar-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-co-transaction-button-bar-font-size: $tp-font-size !default;
|
|
3
|
-
$tp-co-transaction-button-bar-button-max-width:
|
|
3
|
+
$tp-co-transaction-button-bar-button-max-width: 70px !default;
|
|
4
4
|
$tp-co-transaction-button-bar-button-size: 65px !default;
|
|
5
5
|
$tp-co-transaction-button-bar-button-background-color: white !default;
|
|
6
6
|
$tp-co-transaction-button-bar-button-border-radius: $tp-default-border-radius !default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@include export-module('co-transaction-document-button-bar-layout') {
|
|
2
|
+
.co-transaction-document-button-bar {
|
|
3
|
+
font-family: $tp-co-transaction-document-button-bar-font-family;
|
|
4
|
+
font-size: $tp-co-transaction-document-button-bar-font-size;
|
|
5
|
+
.button-bar-wrapper {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.co-transaction-document-button {
|
|
12
|
+
.co-transaction-document-button-icon {
|
|
13
|
+
height: $tp-co-transaction-button-bar-icon-size;
|
|
14
|
+
width: $tp-co-transaction-button-bar-icon-size;
|
|
15
|
+
margin: $tp-co-transaction-button-bar-icon-margin;
|
|
16
|
+
svg {
|
|
17
|
+
height: 100%;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.button-wrapper {
|
|
23
|
+
//height: $tp-co-transaction-button-bar-button-size;
|
|
24
|
+
//min-width: $tp-co-transaction-button-bar-button-size;
|
|
25
|
+
background: $tp-co-transaction-document-button-background-color;
|
|
26
|
+
border-radius: $tp-co-transaction-document-button-border-radius;
|
|
27
|
+
padding: $tp-co-transaction-document-button-padding;
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
.button-title {
|
|
34
|
+
font-size: $tp-co-transaction-document-button-label-font-size;
|
|
35
|
+
//padding: 0 7px 4px 7px;
|
|
36
|
+
}
|
|
37
|
+
.co-transaction-document-button-icon {
|
|
38
|
+
height: $tp-co-transaction-document-button-icon-size;
|
|
39
|
+
width: $tp-co-transaction-document-button-icon-size;
|
|
40
|
+
margin: $tp-co-transaction-document-button-icon-margin;
|
|
41
|
+
svg {
|
|
42
|
+
height: 100%;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/*.co-transaction-sales-purchase-button-bar-button,
|
|
48
|
+
.co-transaction-purchase-receive-goods-button-bar-button,
|
|
49
|
+
.co-transaction-sales-allocation-button-bar-button,
|
|
50
|
+
.co-transaction-purchase-confirmation-button-bar-button,
|
|
51
|
+
.co-transaction-purchase-invoice-button-bar-button,
|
|
52
|
+
.co-transaction-sales-invoice-button-bar-button,
|
|
53
|
+
.co-transaction-sales-delivery-button-bar-button {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: center;
|
|
57
|
+
}*/
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
$tp-co-transaction-document-button-bar-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-document-button-bar-font-size: $tp-font-size !default;
|
|
3
|
+
//$tp-co-transaction-button-bar-button-size: 65px !default;
|
|
4
|
+
$tp-co-transaction-document-button-background-color: white !default;
|
|
5
|
+
$tp-co-transaction-document-button-border-radius: $tp-default-border-radius !default;
|
|
6
|
+
$tp-co-transaction-document-button-padding: 5px !default;
|
|
7
|
+
$tp-co-transaction-document-button-icon-size: 60px !default;
|
|
8
|
+
$tp-co-transaction-document-button-icon-margin: 0 0 5px 0 !default;
|
|
9
|
+
$tp-co-transaction-document-button-label-font-size: $tp-font-size-small !default;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding: $tp-co-transaction-header-padding;
|
|
12
12
|
border: $tp-co-transaction-header-border;
|
|
13
13
|
border-width: $tp-co-transaction-header-border-width;
|
|
14
|
-
|
|
14
|
+
margin: $tp-co-transaction-header-margin;
|
|
15
15
|
.collapse-handle {
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
@@ -4,5 +4,5 @@ $tp-co-transaction-header-background-color: white !default;
|
|
|
4
4
|
$tp-co-transaction-header-color: $tp-color-dark !default;
|
|
5
5
|
$tp-co-transaction-header-padding: 25px !default;
|
|
6
6
|
$tp-co-transaction-header-border: 1px solid !default;
|
|
7
|
-
$tp-co-transaction-header-border-width: 0 0
|
|
7
|
+
$tp-co-transaction-header-border-width: 0 0 2px 0 !default;
|
|
8
8
|
$tp-co-transaction-header-border-color: $tp-color-border !default;
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: row;
|
|
11
11
|
flex-wrap: wrap;
|
|
12
|
+
position: relative;
|
|
12
13
|
padding: $tp-co-transaction-header-padding;
|
|
13
14
|
border: $tp-co-transaction-header-border;
|
|
14
15
|
border-width: $tp-co-transaction-header-border-width;
|
|
15
16
|
column-gap: $tp-co-transaction-header-gap;
|
|
16
17
|
row-gap: $tp-co-transaction-header-gap;
|
|
18
|
+
margin: $tp-co-transaction-header-margin;
|
|
17
19
|
.co-carousel {
|
|
18
20
|
width: 100%;
|
|
19
21
|
.carousel-wrapper {
|
|
@@ -25,13 +27,45 @@
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
}
|
|
30
|
+
> * {
|
|
31
|
+
height: $tp-co-transaction-header-not-expanded-height;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
&.expanded {
|
|
36
|
+
.co-carousel {
|
|
37
|
+
.carousel-wrapper {
|
|
38
|
+
> * {
|
|
39
|
+
height: $tp-co-transaction-header-expanded-height;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.expand-transaction-header {
|
|
44
|
+
.expand-header-icon {
|
|
45
|
+
transform: rotate(180deg);
|
|
46
|
+
}
|
|
28
47
|
}
|
|
29
48
|
}
|
|
30
49
|
.transaction-header-divider {
|
|
31
50
|
height: auto;
|
|
32
|
-
width:
|
|
51
|
+
width: $tp-co-transaction-header-divider-width;
|
|
33
52
|
margin: $tp-co-transaction-header-divider-margin;
|
|
34
53
|
}
|
|
35
54
|
}
|
|
55
|
+
.expand-transaction-header {
|
|
56
|
+
width: $tp-co-transaction-header-expand-button-size;
|
|
57
|
+
height: $tp-co-transaction-header-expand-button-size;
|
|
58
|
+
background: $tp-co-transaction-header-expand-button-background;
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: 50%;
|
|
61
|
+
transform: translateX(-50%);
|
|
62
|
+
bottom: $tp-co-transaction-header-expand-button-bottom;
|
|
63
|
+
border-radius: $tp-co-transaction-header-expand-button-border-radius;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
.expand-header-icon {
|
|
66
|
+
width: $tp-co-transaction-header-expand-button-icon-size;
|
|
67
|
+
height: $tp-co-transaction-header-expand-button-icon-size;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
36
70
|
}
|
|
37
71
|
}
|
|
@@ -3,9 +3,18 @@ $tp-co-transaction-header-font-size: $tp-font-size !default;
|
|
|
3
3
|
$tp-co-transaction-header-font-color: $tp-color-font !default;
|
|
4
4
|
$tp-co-transaction-header-background-color: white !default;
|
|
5
5
|
$tp-co-transaction-header-padding: 0 !default;
|
|
6
|
-
$tp-co-transaction-header-
|
|
7
|
-
$tp-co-transaction-header-border
|
|
6
|
+
$tp-co-transaction-header-margin: 0 0 30px 0 !default;
|
|
7
|
+
$tp-co-transaction-header-border: solid !default;
|
|
8
|
+
$tp-co-transaction-header-border-width: 0 0 2px 0 !default;
|
|
8
9
|
$tp-co-transaction-header-border-color: $tp-color-border !default;
|
|
9
10
|
$tp-co-transaction-header-gap: 20px !default;
|
|
10
11
|
$tp-co-transaction-header-divider-margin: 25px 0px !default;
|
|
12
|
+
$tp-co-transaction-header-divider-width: 0 !default;
|
|
13
|
+
$tp-co-transaction-header-not-expanded-height: 45px !default;
|
|
14
|
+
$tp-co-transaction-header-expanded-height: 100% !default;
|
|
15
|
+
$tp-co-transaction-header-expand-button-size: 20px !default;
|
|
16
|
+
$tp-co-transaction-header-expand-button-background: $tp-color-light-accent !default;
|
|
17
|
+
$tp-co-transaction-header-expand-button-bottom: -10px !default;
|
|
18
|
+
$tp-co-transaction-header-expand-button-border-radius: 100% !default;
|
|
19
|
+
$tp-co-transaction-header-expand-button-icon-size: 20px !default;
|
|
11
20
|
|
package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { Icon } from '../../../enum/icon.enum';
|
|
2
2
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
3
3
|
import { RelationAnyType } from '../../../model/relation-any-type';
|
|
4
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
5
|
export declare class TransactionHeaderComponent {
|
|
6
|
+
iconCacheService: IconCacheService;
|
|
5
7
|
readonly icons: typeof Icon;
|
|
8
|
+
toggleHeader: boolean;
|
|
6
9
|
relation: RelationAnyType;
|
|
7
10
|
set transaction(value: TransactionInfoResponse);
|
|
8
11
|
get transaction(): TransactionInfoResponse;
|
|
9
12
|
showClass(): boolean;
|
|
10
13
|
isPurchaseOrder: boolean;
|
|
11
14
|
private _transaction;
|
|
15
|
+
constructor(iconCacheService: IconCacheService);
|
|
16
|
+
expandHeader(): void;
|
|
12
17
|
}
|
|
@@ -10,14 +10,35 @@
|
|
|
10
10
|
.co-transaction-header-block.in-dialog {
|
|
11
11
|
padding: 4px 0;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
.planning-request-button-wrapper {
|
|
14
|
+
position: relative;
|
|
15
|
+
height: $tp-transaction-header-delivery-planning-request-button-size;
|
|
16
|
+
width: $tp-transaction-header-delivery-planning-request-button-size;
|
|
17
|
+
padding: 0;
|
|
18
|
+
background: $tp-transaction-header-delivery-planning-request-button-background;
|
|
19
|
+
border-style: $tp-transaction-header-delivery-planning-request-button-border-style;
|
|
20
|
+
border-width: $tp-transaction-header-delivery-planning-request-button-border-width;
|
|
21
|
+
border-color: $tp-transaction-header-delivery-planning-request-button-border-color;
|
|
22
|
+
border-radius: $tp-transaction-header-delivery-planning-request-button-border-radius;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
.planning-request-button {
|
|
28
|
+
height: $tp-transaction-header-delivery-planning-request-button-icon-size;
|
|
29
|
+
width: $tp-transaction-header-delivery-planning-request-button-icon-size;
|
|
30
|
+
&:after {
|
|
31
|
+
content: "";
|
|
32
|
+
transform: scaleX(-1) rotate(135deg);
|
|
33
|
+
height: $tp-transaction-header-delivery-planning-request-button-check-height;
|
|
34
|
+
width: $tp-transaction-header-delivery-planning-request-button-check-width;
|
|
35
|
+
border-style: solid;
|
|
36
|
+
border-width: $tp-transaction-header-delivery-planning-request-button-check-border-size;
|
|
37
|
+
border-color: $tp-transaction-header-delivery-planning-request-button-check-border-color;
|
|
38
|
+
right: $tp-transaction-header-delivery-planning-request-button-check-border-right;
|
|
39
|
+
top: $tp-transaction-header-delivery-planning-request-button-check-border-top;
|
|
40
|
+
position: absolute;
|
|
41
|
+
opacity: 1;
|
|
21
42
|
}
|
|
22
43
|
}
|
|
23
44
|
}
|
|
@@ -31,8 +52,33 @@
|
|
|
31
52
|
}
|
|
32
53
|
.header-delivery-deliverydate {
|
|
33
54
|
.co-input-date {
|
|
34
|
-
height:
|
|
55
|
+
height: $tp-transaction-header-delivery-date-input-field-height;
|
|
35
56
|
padding: 0;
|
|
57
|
+
.co-input-text {
|
|
58
|
+
max-height: $tp-transaction-header-delivery-date-input-field-height;
|
|
59
|
+
background: transparent;
|
|
60
|
+
&:after, &:before, .left-icon, .input-text-left-icon, .input-text-clear-button, .right-icon {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
.input-wrapper {
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
}
|
|
66
|
+
input {
|
|
67
|
+
padding: $tp-transaction-header-delivery-date-input-field-padding;
|
|
68
|
+
max-width: $tp-transaction-header-delivery-date-input-field-width;
|
|
69
|
+
line-height: $tp-transaction-header-delivery-date-input-field-line-height;
|
|
70
|
+
}
|
|
71
|
+
.input-text-right-icon {
|
|
72
|
+
padding: $tp-transaction-header-delivery-date-input-right-icon-padding;
|
|
73
|
+
margin: $tp-transaction-header-delivery-date-input-right-icon-margin;
|
|
74
|
+
position: relative;
|
|
75
|
+
bottom: $tp-transaction-header-delivery-date-input-right-icon-bottom;
|
|
76
|
+
svg {
|
|
77
|
+
width: $tp-transaction-header-delivery-date-input-right-icon-width;
|
|
78
|
+
height: $tp-transaction-header-delivery-date-input-right-icon-width;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
36
82
|
}
|
|
37
83
|
}
|
|
38
84
|
.transaction-header-block-content-third {
|
|
@@ -42,8 +88,8 @@
|
|
|
42
88
|
}
|
|
43
89
|
.transaction-header-partial-delivery {
|
|
44
90
|
.co-input-checkbox {
|
|
45
|
-
font-size: $tp-font-size
|
|
46
|
-
|
|
91
|
+
font-size: $tp-font-size;
|
|
92
|
+
margin: $tp-transaction-header-partial-delivery-margin;
|
|
47
93
|
}
|
|
48
94
|
}
|
|
49
95
|
.co-transaction-header-delivery-wrapper {
|
package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss
CHANGED
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
$tp-transaction-header-delivery-button-width: 17px !default;
|
|
2
2
|
$tp-transaction-header-delivery-planning-request-button-size: $tp-default-button-height !default;
|
|
3
|
+
$tp-transaction-header-delivery-planning-request-button-icon-size: 16px;
|
|
3
4
|
$tp-transaction-header-delivery-planning-request-button-color: $tp-color-active !default;
|
|
4
5
|
$tp-transaction-header-delivery-planning-request-button-border: 1px solid !default;
|
|
6
|
+
$tp-transaction-header-delivery-planning-request-button-border-width: 1px !default;
|
|
7
|
+
$tp-transaction-header-delivery-planning-request-button-border-style: solid !default;
|
|
5
8
|
$tp-transaction-header-delivery-planning-request-button-border-color: $tp-color-border !default;
|
|
6
9
|
$tp-transaction-header-delivery-planning-request-button-border-radius: $tp-default-border-radius !default;
|
|
10
|
+
$tp-transaction-header-delivery-planning-request-button-background: #fff !default;
|
|
7
11
|
$tp-transaction-header-delivery-planning-request-button-padding: 5px !default;
|
|
12
|
+
$tp-transaction-header-delivery-planning-request-button-check-height: 8px !default;
|
|
13
|
+
$tp-transaction-header-delivery-planning-request-button-check-width: 4px !default;
|
|
14
|
+
$tp-transaction-header-delivery-planning-request-button-check-border-size: 3px 3px 0 0 !default;
|
|
15
|
+
$tp-transaction-header-delivery-planning-request-button-check-border-color: $tp-color-active-light !default;
|
|
16
|
+
$tp-transaction-header-delivery-planning-request-button-check-border-right: 4px !default;
|
|
17
|
+
$tp-transaction-header-delivery-planning-request-button-check-border-top: 1px !default;
|
|
8
18
|
$tp-transaction-header-delivery-definitive-button-color: $tp-color-active-light !default;
|
|
9
19
|
$tp-transaction-header-delivery-delivery-method-font-size: $tp-font-size !default;
|
|
10
|
-
$tp-transaction-header-delivery-delivery-method-background-color: $tp-default-background
|
|
11
|
-
$tp-transaction-header-delivery-delivery-method-height:
|
|
20
|
+
$tp-transaction-header-delivery-delivery-method-background-color: $tp-default-background !default;
|
|
21
|
+
$tp-transaction-header-delivery-delivery-method-height: 30px !default;
|
|
22
|
+
$tp-transaction-header-delivery-delivery-method-min-width: 130px !default;
|
|
12
23
|
$tp-transaction-header-delivery-delivery-method-border: 1px solid !default;
|
|
13
24
|
$tp-transaction-header-delivery-delivery-method-border-color: $tp-color-border !default;
|
|
14
25
|
$tp-transaction-header-delivery-delivery-method-border-radius: $tp-default-border-radius !default;
|
|
15
26
|
$tp-transaction-header-delivery-delivery-truck-color: $tp-color-font !default;
|
|
16
27
|
$tp-transaction-header-delivery-delivery-method-padding: 5px 10px !default;
|
|
28
|
+
$tp-transaction-header-partial-delivery-margin: 0 0 0 10px !default;
|
|
29
|
+
$tp-transaction-header-delivery-date-input-field-height: 16px !default;
|
|
30
|
+
$tp-transaction-header-delivery-date-input-field-padding: 0px !default;
|
|
31
|
+
$tp-transaction-header-delivery-date-input-field-line-height: 12px !default;
|
|
32
|
+
$tp-transaction-header-delivery-date-input-field-width: 75px !default;
|
|
33
|
+
$tp-transaction-header-delivery-date-input-right-icon-width: 16px !default;
|
|
34
|
+
$tp-transaction-header-delivery-date-input-right-icon-padding: 0 !default;
|
|
35
|
+
$tp-transaction-header-delivery-date-input-right-icon-bottom: 2px !default;
|
|
36
|
+
$tp-transaction-header-delivery-date-input-right-icon-margin: 0 0 0 5px !default;
|
|
@@ -16,8 +16,12 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
.header-delivery-method {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
.co-transaction-button {
|
|
20
|
+
background-color: $tp-transaction-header-delivery-delivery-method-background-color;
|
|
21
|
+
border-color: $tp-transaction-header-delivery-delivery-method-border-color;
|
|
22
|
+
height: $tp-transaction-header-delivery-delivery-method-height;
|
|
23
|
+
min-width: $tp-transaction-header-delivery-delivery-method-min-width;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
.header-delivery-truck-icon {
|
|
23
27
|
svg { // for fontawesome icons
|
|
@@ -21,7 +21,11 @@
|
|
|
21
21
|
width: $tp-transaction-header-order-icon-size;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
.header-order-total-wrapper {
|
|
25
|
+
.header-order-total {
|
|
26
|
+
font-weight: $tp-transaction-header-order-section-total-font-weight;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
25
29
|
.transaction-header-discount-button {
|
|
26
30
|
cursor: pointer;
|
|
27
31
|
width: $tp-transaction-header-order-discount-width;
|
|
@@ -37,9 +41,12 @@
|
|
|
37
41
|
border-radius: $tp-transaction-header-order-discount-border-radius;
|
|
38
42
|
padding: $tp-transaction-header-order-discount-padding;
|
|
39
43
|
height: 100%;
|
|
44
|
+
.header-discount-icon {
|
|
45
|
+
width: $tp-transaction-header-order-discount-icon-size;
|
|
46
|
+
height: $tp-transaction-header-order-discount-icon-size;
|
|
47
|
+
}
|
|
40
48
|
}
|
|
41
49
|
}
|
|
42
|
-
|
|
43
50
|
.transaction-header-block-content-third {
|
|
44
51
|
display: flex;
|
|
45
52
|
flex-direction: column;
|
|
@@ -48,11 +55,10 @@
|
|
|
48
55
|
|
|
49
56
|
.transaction-header-order-definitive {
|
|
50
57
|
.co-input-checkbox {
|
|
51
|
-
font-size: $tp-font-size
|
|
52
|
-
|
|
58
|
+
font-size: $tp-font-size;
|
|
59
|
+
margin: $tp-transaction-header-order-definitive-margin;
|
|
53
60
|
}
|
|
54
61
|
}
|
|
55
|
-
|
|
56
62
|
.transaction-line-button {
|
|
57
63
|
flex-direction: column;
|
|
58
64
|
height: 100%;
|
package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
$tp-transaction-header-block-order-discount-padding: 0 30px !default;
|
|
2
|
+
$tp-transaction-header-order-definitive-margin: 0 0 0 10px !default;
|
|
2
3
|
$tp-transaction-header-order-icon-size: 17px !default;
|
|
3
4
|
$tp-transaction-header-order-discount-font-size: $tp-font-size !default;
|
|
4
|
-
$tp-transaction-header-order-discount-font-
|
|
5
|
-
$tp-transaction-header-order-discount-
|
|
6
|
-
$tp-transaction-header-order-discount-
|
|
5
|
+
$tp-transaction-header-order-discount-font-weight: 600 !default;
|
|
6
|
+
$tp-transaction-header-order-discount-font-color: $tp-color-discount-value !default;
|
|
7
|
+
$tp-transaction-header-order-discount-background-color: $tp-default-background !default;
|
|
8
|
+
$tp-transaction-header-order-discount-width: 100% !default;
|
|
7
9
|
$tp-transaction-header-order-discount-height: $tp-default-button-height !default;
|
|
8
10
|
$tp-transaction-header-order-discount-border-style: solid !default;
|
|
9
11
|
$tp-transaction-header-order-discount-border-width: 1px !default;
|
|
@@ -11,10 +13,12 @@ $tp-transaction-header-order-discount-border-color: $tp-color-border !default;
|
|
|
11
13
|
$tp-transaction-header-order-discount-border-radius: $tp-default-border-radius !default;
|
|
12
14
|
$tp-transaction-header-order-discount-padding: 5px 10px !default;
|
|
13
15
|
$tp-transaction-header-order-discount-icon-color: $tp-color-font !default;
|
|
16
|
+
$tp-transaction-header-order-discount-icon-size: 16px !default;
|
|
14
17
|
$tp-transaction-header-order-default-row-gap: $tp-default-row-gap !default;
|
|
15
18
|
$tp-transaction-header-order-default-column-gap: $tp-default-column-gap !default;
|
|
16
19
|
$tp-transaction-header-order-section-label-font-family: $tp-font-family !default;
|
|
17
20
|
$tp-transaction-header-order-section-label-font-size: $tp-font-size !default;
|
|
18
21
|
$tp-transaction-header-order-section-label-font-weight: bold !default;
|
|
19
22
|
$tp-transaction-header-order-section-label-margin: 0 0 10px 0 !default;
|
|
20
|
-
|
|
23
|
+
$tp-transaction-header-order-section-total-font-weight: bold !default;
|
|
24
|
+
$tp-transaction-header-order-section-total-font-line-height: 12px !default;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
color: $tp-transaction-header-order-discount-font-color;
|
|
7
7
|
background-color: $tp-transaction-header-order-discount-background-color;
|
|
8
8
|
border-color: $tp-transaction-header-order-discount-border-color;
|
|
9
|
+
font-weight: $tp-transaction-header-order-discount-font-weight;
|
|
9
10
|
.header-order-discount-icon {
|
|
10
11
|
svg { // for fontawesome icons
|
|
11
12
|
fill: $tp-transaction-header-order-discount-icon-color;
|
|
@@ -31,5 +31,51 @@
|
|
|
31
31
|
min-width: 500px;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
.header-downpayment-percentage-wrapper {
|
|
35
|
+
border-style: solid;
|
|
36
|
+
border-width: $tp-co-transaction-header-downpayment-border-width;
|
|
37
|
+
border-radius: $tp-co-transaction-header-downpayment-border-radius;
|
|
38
|
+
padding: $tp-co-transaction-header-downpayment-percentage-padding;
|
|
39
|
+
height: 100%;
|
|
40
|
+
background-color: $tp-co-transaction-header-downpayment-percentage-wrapper-background;
|
|
41
|
+
border-color: $tp-co-transaction-header-downpayment-border-color;
|
|
42
|
+
min-width: $tp-co-transaction-header-downpayment-percentage-wrapper-width;
|
|
43
|
+
.transaction-header-deposit {
|
|
44
|
+
span {
|
|
45
|
+
font-weight: $tp-co-transaction-header-downpayment-amount-weight;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.header-downpayment-amount-wrapper {
|
|
50
|
+
.transaction-header-deposit {
|
|
51
|
+
span {
|
|
52
|
+
font-weight: $tp-co-transaction-header-downpayment-amount-weight;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.header-payment-button-wrapper {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
gap: $tp-co-transaction-header-payment-button-wrapper-gap;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
border-style: solid;
|
|
62
|
+
border-width: $tp-co-transaction-header-payment-button-wrapper-border-width;
|
|
63
|
+
border-radius: $tp-co-transaction-header-payment-button-wrapper-border-radius;
|
|
64
|
+
padding: $tp-co-transaction-header-payment-button-wrapper-padding;
|
|
65
|
+
border-color: $tp-co-transaction-header-payment-button-wrapper-border-color;
|
|
66
|
+
background: $tp-co-transaction-header-payment-button-wrapper-background;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
height: $tp-co-transaction-header-payment-button-wrapper-height;
|
|
69
|
+
.header-order-icon {
|
|
70
|
+
width: $tp-co-transaction-header-payment-button-wrapper-icon-size;
|
|
71
|
+
height: $tp-co-transaction-header-payment-button-wrapper-icon-size;
|
|
72
|
+
}
|
|
73
|
+
.payment-paid {
|
|
74
|
+
&.success {
|
|
75
|
+
color: $tp-color-payed-value;
|
|
76
|
+
font-weight: 600;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
34
80
|
}
|
|
35
81
|
}
|
package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$tp-co-transaction-header-downpayment-border-width: 1px !default;
|
|
2
|
+
$tp-co-transaction-header-downpayment-border-radius: 5px !default;
|
|
3
|
+
$tp-co-transaction-header-downpayment-border-color: $tp-color-light-accent !default;
|
|
4
|
+
$tp-co-transaction-header-downpayment-percentage-padding: 2px 10px !default;
|
|
5
|
+
$tp-co-transaction-header-downpayment-percentage-wrapper-background: $tp-color-light !default;
|
|
6
|
+
$tp-co-transaction-header-downpayment-percentage-wrapper-width: 100px !default;
|
|
7
|
+
$tp-co-transaction-header-downpayment-amount-weight: bold !default;
|
|
8
|
+
|
|
9
|
+
$tp-co-transaction-header-payment-button-wrapper-gap: 10px !default;
|
|
10
|
+
$tp-co-transaction-header-payment-button-wrapper-padding: 5px 10px !default;
|
|
11
|
+
$tp-co-transaction-header-payment-button-wrapper-height: 30px !default;
|
|
12
|
+
$tp-co-transaction-header-payment-button-wrapper-border-width: 1px !default;
|
|
13
|
+
$tp-co-transaction-header-payment-button-wrapper-border-color: $tp-color-light-accent !default;
|
|
14
|
+
$tp-co-transaction-header-payment-button-wrapper-border-radius: 5px !default;
|
|
15
|
+
$tp-co-transaction-header-payment-button-wrapper-background: $tp-color-light !default;
|
|
16
|
+
$tp-co-transaction-header-payment-button-wrapper-icon-size: 16px !default;
|
|
17
|
+
|
package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss
CHANGED
|
@@ -50,3 +50,18 @@ $tp-transaction-header-popup-business-rule-applied-icon-size: 20px !default;
|
|
|
50
50
|
$tp-transaction-header-popup-business-rule-applied-icon-color: red !default;
|
|
51
51
|
$tp-transaction-header-popup-business-rule-applied-font-size: $tp-font-size !default;
|
|
52
52
|
$tp-transaction-header-popup-business-rule-applied-font-weight: normal !default;
|
|
53
|
+
|
|
54
|
+
$tp-co-transaction-header-relation-content-gap: 10px !default;
|
|
55
|
+
$tp-co-transaction-header-relation-content-padding: 0 0 0 48px !default;
|
|
56
|
+
$tp-co-transaction-header-relation-content-icon-left: 0 !default;
|
|
57
|
+
$tp-co-transaction-header-relation-content-icon-top: 0 !default;
|
|
58
|
+
$tp-co-transaction-header-relation-content-icon-avatar-size: 38px !default;
|
|
59
|
+
$tp-co-transaction-header-relation-content-icon-avatar-background: $tp-default-background-accent !default;
|
|
60
|
+
$tp-co-transaction-header-relation-content-icon-avatar-text-color: $tp-color-font !default;
|
|
61
|
+
$tp-co-transaction-header-relation-content-line-height: 16px !default;
|
|
62
|
+
$tp-co-transaction-header-relation-content-margin: 4px 0 0 0 !default;
|
|
63
|
+
$tp-co-transaction-header-relation-label-margin: 4px 0 0 0 !default;
|
|
64
|
+
$tp-co-transaction-header-relation-content-max-width: 120px !default;
|
|
65
|
+
$tp-co-transaction-header-relation-content-name-margin: 0 0 10px 0 !default;
|
|
66
|
+
$tp-co-transaction-header-relation-content-email-margin: 0 0 10px 0 !default;
|
|
67
|
+
|