@colijnit/transaction 12.1.152 → 12.1.154
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 +170 -47
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +7 -1
- package/esm2015/lib/cache/service/select-single-cache.service.js +7 -4
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +2 -1
- package/esm2015/lib/component/checkout/checkout.component.js +5 -1
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +4 -3
- package/esm2015/lib/component/payment/payment.component.js +54 -37
- package/esm2015/lib/component/payment/payment.module.js +4 -3
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +7 -4
- package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +6 -3
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +7 -7
- package/esm2015/lib/component/relation/relation-base.component.js +14 -2
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +5 -6
- package/esm2015/lib/component/relation/relation-preferences/relation-preferences.component.js +10 -7
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +1 -1
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +3 -3
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +2 -2
- package/esm2015/lib/component/transaction-card/transaction-card-footer/transaction-card-footer.module.js +8 -8
- package/esm2015/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.js +3 -3
- package/esm2015/lib/component/transaction-card/transaction-card-receive-goods/transaction-card-receive-goods.component.js +1 -1
- package/esm2015/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.js +3 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +8 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-definitive.component.js +5 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.component.js +5 -3
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +4 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +2 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.js +36 -6
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +5 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-picked/transaction-quick-access-picked.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-to-be-picked/transaction-quick-access-to-be-picked.component.js +3 -3
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +9 -1
- package/esm2015/lib/service/article-connector.service.js +1 -1
- package/esm2015/lib/service/relation-connector.service.js +1 -1
- package/esm2015/lib/service/relation.service.js +21 -11
- package/esm2015/lib/service/transaction-base.service.js +13 -2
- package/esm2015/lib/service/transaction-screen-configuration.service.js +4 -1
- package/esm2015/lib/service/transaction.service.js +5 -4
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +207 -91
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/cache/service/business-object-cache-manager.service.d.ts +3 -0
- package/lib/cache/service/select-single-cache.service.d.ts +5 -5
- package/lib/component/checkout/checkout.component.d.ts +4 -0
- package/lib/component/deposit-payment/style/_layout.scss +3 -1
- package/lib/component/deposit-payment/style/_material-definition.scss +2 -2
- package/lib/component/payment/payment.component.d.ts +4 -1
- package/lib/component/payment/style/_layout.scss +64 -35
- package/lib/component/payment/style/_material-definition.scss +1 -1
- package/lib/component/payment/style/_theme.scss +0 -3
- package/lib/component/payment-tile/style/_layout.scss +5 -3
- package/lib/component/payment-to-pay/style/_layout.scss +6 -5
- package/lib/component/payment-to-pay/style/_material-definition.scss +4 -4
- package/lib/component/relation/relation-address/relation-address.component.d.ts +3 -1
- package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts +3 -1
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +3 -3
- package/lib/component/relation/relation-base.component.d.ts +7 -2
- package/lib/component/relation/relation-general/relation-general.component.d.ts +2 -2
- package/lib/component/relation/relation-preferences/relation-preferences.component.d.ts +6 -4
- package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +2 -2
- package/lib/component/stepper/style/_material-definition.scss +4 -4
- package/lib/component/transaction/style/_layout.scss +1 -1
- package/lib/component/transaction-card/transaction-card/transaction-card.component.d.ts +1 -1
- package/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.d.ts +3 -3
- package/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.d.ts +3 -3
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +17 -0
- package/lib/component/transaction-header-fields/transaction-header-definitive.component.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.component.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.d.ts +6 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-picked/transaction-quick-access-picked.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-to-be-picked/transaction-quick-access-to-be-picked.component.d.ts +1 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +1 -0
- package/lib/service/relation.service.d.ts +2 -0
- package/lib/service/transaction-base.service.d.ts +2 -0
- package/lib/service/transaction-screen-configuration.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -52,6 +52,9 @@ export declare class BusinessObjectCacheManagerService implements OnDestroy {
|
|
|
52
52
|
getSingleCacheItem<T extends BusinessObject>(key: {
|
|
53
53
|
new (): T;
|
|
54
54
|
}, id?: BusinessObjectIDType): CacheField<T>;
|
|
55
|
+
deleteSingleCacheItem<T extends BusinessObject>(key: {
|
|
56
|
+
new (): T;
|
|
57
|
+
}, id?: BusinessObjectIDType): void;
|
|
55
58
|
getSelectMultipleParameterCacheItem<T extends BusinessObject>(key: any): ParameterCacheField<T[]>;
|
|
56
59
|
getSelectSingleParameterCacheItem<T>(key: any): ParameterCacheField<T>;
|
|
57
60
|
private _reset;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BusinessObjectCacheManagerService } from
|
|
2
|
-
import { BusinessObject } from
|
|
3
|
-
import { CacheField } from
|
|
4
|
-
import { BusinessObjectIDType } from
|
|
1
|
+
import { BusinessObjectCacheManagerService } from './business-object-cache-manager.service';
|
|
2
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
3
|
+
import { CacheField } from '../cache-field';
|
|
4
|
+
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
5
5
|
export declare class SelectSingleCacheService {
|
|
6
6
|
private _boCacheManager;
|
|
7
7
|
constructor(_boCacheManager: BusinessObjectCacheManagerService);
|
|
8
8
|
requestCache<T extends BusinessObject>(clazz: {
|
|
9
9
|
new (): T;
|
|
10
|
-
}, sourceId: BusinessObjectIDType, loadFunction: () => Promise<T
|
|
10
|
+
}, sourceId: BusinessObjectIDType, loadFunction: () => Promise<T>, reload?: boolean): CacheField<T>;
|
|
11
11
|
private _createCacheItem;
|
|
12
12
|
}
|
|
@@ -30,6 +30,10 @@ export declare class CheckoutComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
checkoutDelivery: CheckoutOverviewDeliveryEditComponent;
|
|
31
31
|
checkoutPayment: PaymentComponent;
|
|
32
32
|
newTransaction: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* When set, this is the relation be used for the checkout
|
|
35
|
+
*/
|
|
36
|
+
relationNr: number;
|
|
33
37
|
sellerId: number;
|
|
34
38
|
transactionType: TransactionKind;
|
|
35
39
|
showCreateTransactionButton: boolean;
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
.co-deposit-payment {
|
|
3
3
|
font-family: $tp-down-payment-font-family;
|
|
4
4
|
font-size: $tp-down-payment-font-size;
|
|
5
|
+
font-weight: 600;
|
|
5
6
|
display: flex;
|
|
6
7
|
flex-direction: column;
|
|
7
8
|
row-gap: $tp-down-payment-row-gap;
|
|
8
9
|
.co-payment-tile {
|
|
9
10
|
height: 100%;
|
|
11
|
+
min-width: 0;
|
|
10
12
|
}
|
|
11
13
|
.co-tile {
|
|
12
14
|
.co-tile-wrapper {
|
|
@@ -15,6 +17,7 @@
|
|
|
15
17
|
min-height: initial;
|
|
16
18
|
width: auto;
|
|
17
19
|
height: auto;
|
|
20
|
+
padding: 0;
|
|
18
21
|
.co-tile-select-wrapper {
|
|
19
22
|
display: none;
|
|
20
23
|
}
|
|
@@ -57,7 +60,6 @@
|
|
|
57
60
|
.down-payment-amount-wrapper {
|
|
58
61
|
display: flex;
|
|
59
62
|
flex-direction: row;
|
|
60
|
-
width: 100%;
|
|
61
63
|
justify-content: space-between;
|
|
62
64
|
.down-payment-amount {
|
|
63
65
|
font-size: $tp-down-payment-amount-font-size;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$tp-down-payment-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-down-payment-font-size: $tp-font-size !default;
|
|
3
|
-
$tp-down-payment-row-gap:
|
|
3
|
+
$tp-down-payment-row-gap: 15px !default;
|
|
4
4
|
$tp-down-payment-payments-height: 50px !default;
|
|
5
5
|
$tp-down-payment-payments-padding: 0 !default;
|
|
6
6
|
$tp-down-payment-payments-background-color: white !default;
|
|
@@ -14,7 +14,7 @@ $tp-down-payment-amount-row-gap: 10px !default;
|
|
|
14
14
|
$tp-down-payment-amount-spacer-width: $tp-down-payment-amount-row-gap !default;
|
|
15
15
|
$tp-down-payment-date-font-size: $tp-font-size !default;
|
|
16
16
|
$tp-down-payment-date-font-weight: normal !default;
|
|
17
|
-
$tp-down-payment-payment-padding: 0
|
|
17
|
+
$tp-down-payment-payment-padding: 0 15px !default;
|
|
18
18
|
$tp-down-payment-payment-border-style: solid !default;
|
|
19
19
|
$tp-down-payment-payment-border-width: 0 0 1px 0 !default;
|
|
20
20
|
$tp-down-payment-payment-border-color: $tp-color-border !default;
|
|
@@ -7,11 +7,13 @@ import { SharedService } from '../../service/shared.service';
|
|
|
7
7
|
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
8
8
|
import { PaymentViewmodel } from '../../model/payment.viewmodel';
|
|
9
9
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
10
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
10
11
|
export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
11
12
|
private _transactionService;
|
|
12
13
|
private _sharedService;
|
|
13
14
|
private _paymentService;
|
|
14
15
|
private _transactionEventService;
|
|
16
|
+
iconCacheService: IconCacheService;
|
|
15
17
|
readonly icons: typeof Icon;
|
|
16
18
|
transId: number;
|
|
17
19
|
transactionUuid: string;
|
|
@@ -33,6 +35,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
33
35
|
qrCodeImage: string;
|
|
34
36
|
showLoader: boolean;
|
|
35
37
|
amountToPay: number;
|
|
38
|
+
depositAmount: number;
|
|
36
39
|
statusMessage: string;
|
|
37
40
|
private _amount;
|
|
38
41
|
private _paymentStatusInterval;
|
|
@@ -41,7 +44,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
41
44
|
private _paymentStatusPollIntervalCount;
|
|
42
45
|
private _paymentResult;
|
|
43
46
|
private _subs;
|
|
44
|
-
constructor(_transactionService: TransactionService, _sharedService: SharedService, _paymentService: PaymentService, _transactionEventService: TransactionEventService);
|
|
47
|
+
constructor(_transactionService: TransactionService, _sharedService: SharedService, _paymentService: PaymentService, _transactionEventService: TransactionEventService, iconCacheService: IconCacheService);
|
|
45
48
|
ngOnInit(): Promise<void>;
|
|
46
49
|
ngOnDestroy(): void;
|
|
47
50
|
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
@@ -4,19 +4,35 @@
|
|
|
4
4
|
.co-payment {
|
|
5
5
|
font-family: $tp-payment-font-family;
|
|
6
6
|
font-size: $tp-payment-font-size;
|
|
7
|
+
.co-tile {
|
|
8
|
+
&.selected {
|
|
9
|
+
transform: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
7
12
|
.co-tile-wrapper {
|
|
8
|
-
min-width:
|
|
9
|
-
min-height:
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
13
|
+
min-width: 100%;
|
|
14
|
+
min-height: 50px;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 50px;
|
|
12
17
|
}
|
|
13
|
-
.
|
|
14
|
-
|
|
18
|
+
.co-tile-select-wrapper {
|
|
19
|
+
display: none;
|
|
15
20
|
}
|
|
16
|
-
.payment-wrapper
|
|
21
|
+
.payment-wrapper {
|
|
17
22
|
display: flex;
|
|
18
23
|
flex-direction: column;
|
|
24
|
+
row-gap: 30px;
|
|
25
|
+
}
|
|
26
|
+
.payment-methods-wrapper, .payment-cash-register-wrapper {
|
|
27
|
+
display: flex;
|
|
19
28
|
row-gap: $tp-payment-row-gap;
|
|
29
|
+
flex: 1;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
.payment-methods-register-wrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: $tp-payment-row-gap;
|
|
20
36
|
}
|
|
21
37
|
.payment-methods-header {
|
|
22
38
|
display: flex;
|
|
@@ -32,12 +48,11 @@
|
|
|
32
48
|
}
|
|
33
49
|
.payment-methods {
|
|
34
50
|
position: relative;
|
|
35
|
-
min-height: 50px;
|
|
36
51
|
display: flex;
|
|
37
52
|
flex-direction: row;
|
|
38
53
|
column-gap: $tp-payment-methods-column-gap;
|
|
39
54
|
row-gap: $tp-payment-methods-row-gap;
|
|
40
|
-
|
|
55
|
+
max-width: 620px;
|
|
41
56
|
.loader {
|
|
42
57
|
position: absolute;
|
|
43
58
|
top: 50%;
|
|
@@ -49,30 +64,9 @@
|
|
|
49
64
|
display: grid;
|
|
50
65
|
grid-template-columns: auto auto;
|
|
51
66
|
grid-template-rows: auto auto auto;
|
|
52
|
-
row-gap:
|
|
53
|
-
column-gap:
|
|
54
|
-
}
|
|
55
|
-
.payment-to-pay {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
align-items: flex-start;
|
|
59
|
-
row-gap: $tp-payment-row-gap;
|
|
60
|
-
grid-column: 1 / 1;
|
|
61
|
-
grid-row: 1 / 1;
|
|
67
|
+
row-gap: 20px;
|
|
68
|
+
column-gap: 20px;
|
|
62
69
|
}
|
|
63
|
-
.payment-amount {
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
height: $tp-payment-amount-height;
|
|
68
|
-
border: $tp-payment-amount-border;
|
|
69
|
-
font-family: $tp-payment-amount-font-family;
|
|
70
|
-
font-size: $tp-payment-amount-font-size;
|
|
71
|
-
font-weight: $tp-payment-amount-font-weight;
|
|
72
|
-
border-radius: 5px;
|
|
73
|
-
width: 100%;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
70
|
.payment-deposit {
|
|
77
71
|
grid-column: 1 / 1;
|
|
78
72
|
grid-row: 2 / 2;
|
|
@@ -80,10 +74,34 @@
|
|
|
80
74
|
display: none;
|
|
81
75
|
}
|
|
82
76
|
}
|
|
83
|
-
|
|
77
|
+
.payment-to-pay-header {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: 10px;
|
|
81
|
+
.payment-header-title, .payment-total-pay {
|
|
82
|
+
font-size: 26px;
|
|
83
|
+
font-weight: bold;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.co-payment-to-pay {
|
|
87
|
+
width: 100%;
|
|
88
|
+
}
|
|
89
|
+
.payment-input-button {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
row-gap: 10px;
|
|
93
|
+
column-gap: 10px;
|
|
94
|
+
}
|
|
95
|
+
.payment-to-pay-total {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
row-gap: 20px;
|
|
99
|
+
column-gap: 20px;
|
|
100
|
+
}
|
|
84
101
|
.payment-to-pay-button {
|
|
85
|
-
|
|
86
|
-
|
|
102
|
+
width: 55px;
|
|
103
|
+
height: 55px;
|
|
104
|
+
cursor: pointer;
|
|
87
105
|
.payment-error-message {
|
|
88
106
|
margin: $tp-payment-error-margin;
|
|
89
107
|
font-family: $tp-payment-error-font-family;
|
|
@@ -93,6 +111,17 @@
|
|
|
93
111
|
.co-button {
|
|
94
112
|
justify-content: center;
|
|
95
113
|
border-radius: 5px;
|
|
114
|
+
background-color: #f1fcff;
|
|
115
|
+
filter: brightness(1);
|
|
116
|
+
height: 55px;
|
|
117
|
+
width: 55px;
|
|
118
|
+
border: 2px solid #0084de;
|
|
119
|
+
.co-icon {
|
|
120
|
+
height: 60%;
|
|
121
|
+
svg {
|
|
122
|
+
fill: #0084de;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
96
125
|
}
|
|
97
126
|
&.no-deposit {
|
|
98
127
|
grid-row: 2 / 2;
|
|
@@ -5,7 +5,7 @@ $tp-payment-tile-height: $tp-tile-min-height !default;
|
|
|
5
5
|
$tp-payment-padding: 10px !default;
|
|
6
6
|
$tp-payment-header-font-family: $tp-font-family !default;
|
|
7
7
|
$tp-payment-header-font-size: $tp-font-size !default;
|
|
8
|
-
$tp-payment-header-font-weight:
|
|
8
|
+
$tp-payment-header-font-weight: 600 !default;
|
|
9
9
|
$tp-payment-header-extra-font-color: $tp-color-colijn-orange !default;
|
|
10
10
|
$tp-payment-row-gap: 20px !default;
|
|
11
11
|
$tp-payment-methods-column-gap: 5px !default;
|
|
@@ -3,20 +3,22 @@
|
|
|
3
3
|
@include export-module('co-payment-tile-layout') {
|
|
4
4
|
.co-payment-tile {
|
|
5
5
|
display: flex;
|
|
6
|
+
min-width: 120px;
|
|
6
7
|
.payment-tile-wrapper {
|
|
7
8
|
display: flex;
|
|
8
|
-
flex-direction:
|
|
9
|
+
flex-direction: row;
|
|
9
10
|
width: 100%;
|
|
10
11
|
height: 100%;
|
|
11
12
|
align-items: center;
|
|
12
|
-
justify-content:
|
|
13
|
+
justify-content: flex-start;
|
|
14
|
+
gap: 15px;
|
|
13
15
|
}
|
|
14
16
|
.payment-tile-description {
|
|
15
17
|
}
|
|
16
18
|
.payment-tile-icon, .payment-tile-image {
|
|
17
19
|
display: block;
|
|
18
20
|
height: 80%;
|
|
19
|
-
width:
|
|
21
|
+
width: 30px;
|
|
20
22
|
object-fit: contain;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -5,21 +5,22 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: flex-start;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
border: $tp-payment-to-pay-amount-border;
|
|
8
10
|
row-gap: $tp-payment-to-pay-row-gap;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
height: $tp-payment-to-pay-amount-height;
|
|
12
|
+
padding: 5px;
|
|
13
|
+
border-radius: 5px;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
.payment-amount {
|
|
14
17
|
display: flex;
|
|
15
18
|
align-items: center;
|
|
16
19
|
justify-content: center;
|
|
17
|
-
height: $tp-payment-to-pay-amount-height;
|
|
18
|
-
border: $tp-payment-to-pay-amount-border;
|
|
19
20
|
font-family: $tp-payment-to-pay-amount-font-family;
|
|
20
21
|
font-size: $tp-payment-to-pay-amount-font-size;
|
|
21
22
|
font-weight: $tp-payment-to-pay-amount-font-weight;
|
|
22
|
-
|
|
23
|
+
line-height: $tp-payment-to-pay-amount-font-size;
|
|
23
24
|
width: 100%;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
$tp-payment-to-pay-row-gap:
|
|
2
|
-
$tp-payment-to-pay-amount-height:
|
|
3
|
-
$tp-payment-to-pay-amount-border:
|
|
1
|
+
$tp-payment-to-pay-row-gap: 0px !default;
|
|
2
|
+
$tp-payment-to-pay-amount-height: 55px !default;
|
|
3
|
+
$tp-payment-to-pay-amount-border: 2px solid #0084de !default;
|
|
4
4
|
$tp-payment-to-pay-amount-font-family: $tp-font-family !default;
|
|
5
|
-
$tp-payment-to-pay-amount-font-size:
|
|
5
|
+
$tp-payment-to-pay-amount-font-size: 28px !default;
|
|
6
6
|
$tp-payment-to-pay-amount-font-weight: bold !default;
|
|
@@ -6,10 +6,12 @@ import { RelationBaseComponent } from '../relation-base.component';
|
|
|
6
6
|
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
7
7
|
import { Country } from '@colijnit/transactionapi/build/model/country.bo';
|
|
8
8
|
import { RelationAddressCfgNames } from '../../../interface/relation-address-cfg-names.interface';
|
|
9
|
+
import { RelationService } from '../../../service/relation.service';
|
|
9
10
|
export declare class RelationAddressComponent extends RelationBaseComponent implements OnInit {
|
|
10
11
|
private _dictionary;
|
|
11
12
|
private _connector;
|
|
12
13
|
private _formMasterService;
|
|
14
|
+
protected relationService: RelationService;
|
|
13
15
|
configNames: RelationAddressCfgNames;
|
|
14
16
|
set address(value: Address);
|
|
15
17
|
get address(): Address;
|
|
@@ -23,7 +25,7 @@ export declare class RelationAddressComponent extends RelationBaseComponent impl
|
|
|
23
25
|
private _prevPostalCodeForCheck;
|
|
24
26
|
private _prevHouseNoForCheck;
|
|
25
27
|
private _address;
|
|
26
|
-
constructor(_dictionary: DictionaryService, _connector: TransactionConnectorService, _formMasterService: FormMasterService);
|
|
28
|
+
constructor(_dictionary: DictionaryService, _connector: TransactionConnectorService, _formMasterService: FormMasterService, relationService: RelationService);
|
|
27
29
|
ngOnInit(): Promise<void>;
|
|
28
30
|
checkForPostalCodeCheckError(): Promise<void>;
|
|
29
31
|
changeHouseNo(): void;
|
package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import { Icon } from '../../../enum/icon.enum';
|
|
|
3
3
|
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
4
4
|
import { RelationBaseComponent } from '../relation-base.component';
|
|
5
5
|
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
6
|
+
import { RelationService } from '../../../service/relation.service';
|
|
6
7
|
export declare class RelationAddressSelectComponent extends RelationBaseComponent {
|
|
8
|
+
protected relationService: RelationService;
|
|
7
9
|
private _formMasterService;
|
|
8
10
|
readonly icons: typeof Icon;
|
|
9
11
|
set content(content: any);
|
|
@@ -22,7 +24,7 @@ export declare class RelationAddressSelectComponent extends RelationBaseComponen
|
|
|
22
24
|
showNavigateLeft: boolean;
|
|
23
25
|
showNavigateRight: boolean;
|
|
24
26
|
private _boFactory;
|
|
25
|
-
constructor(_formMasterService: FormMasterService);
|
|
27
|
+
constructor(relationService: RelationService, _formMasterService: FormMasterService);
|
|
26
28
|
selectAddress(): void;
|
|
27
29
|
createAddress(): void;
|
|
28
30
|
saveAddress(address: Address): void;
|
|
@@ -5,10 +5,10 @@ import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
|
5
5
|
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
6
6
|
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
7
7
|
import { RelationService } from '../../../service/relation.service';
|
|
8
|
-
import { IconCacheService } from
|
|
8
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
9
9
|
export declare class RelationAddressesComponent extends RelationBaseComponent implements AfterViewInit {
|
|
10
10
|
private _formMasterService;
|
|
11
|
-
|
|
11
|
+
protected relationService: RelationService;
|
|
12
12
|
iconCacheService: IconCacheService;
|
|
13
13
|
readonly icons: typeof Icon;
|
|
14
14
|
readonly: boolean;
|
|
@@ -21,7 +21,7 @@ export declare class RelationAddressesComponent extends RelationBaseComponent im
|
|
|
21
21
|
showEditAddressDialog: boolean;
|
|
22
22
|
addressToEdit: Address;
|
|
23
23
|
private _boFactory;
|
|
24
|
-
constructor(_formMasterService: FormMasterService,
|
|
24
|
+
constructor(_formMasterService: FormMasterService, relationService: RelationService, iconCacheService: IconCacheService);
|
|
25
25
|
ngAfterViewInit(): void;
|
|
26
26
|
submitForm(): void;
|
|
27
27
|
saveAddress(address: Address): Promise<void>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { CustomerFullObject } from '@colijnit/relationapi/build/model/customer-full-object.bo';
|
|
3
3
|
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
|
|
4
4
|
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
5
5
|
import { RelationSuggestionsRequest } from '../../interface/relation-suggestions-request.interface';
|
|
6
6
|
import { TransactionCfgName } from '../../enum/transaction-cfg-name.enum';
|
|
7
|
-
|
|
7
|
+
import { RelationService } from '../../service/relation.service';
|
|
8
|
+
export declare abstract class RelationBaseComponent implements OnDestroy {
|
|
9
|
+
protected relationService: RelationService;
|
|
8
10
|
readonly relKind: typeof RelationKind;
|
|
9
11
|
readonly cfgNames: typeof TransactionCfgName;
|
|
10
12
|
set relation(value: RelationAnyType);
|
|
@@ -13,6 +15,9 @@ export declare abstract class RelationBaseComponent {
|
|
|
13
15
|
inputChangeForSuggestions: EventEmitter<RelationSuggestionsRequest>;
|
|
14
16
|
get relationAsCustomer(): CustomerFullObject;
|
|
15
17
|
private _relation;
|
|
18
|
+
private _subs;
|
|
16
19
|
protected suggestionRequest: RelationSuggestionsRequest;
|
|
20
|
+
constructor(relationService: RelationService);
|
|
21
|
+
ngOnDestroy(): void;
|
|
17
22
|
protected relationSet(): void;
|
|
18
23
|
}
|
|
@@ -9,7 +9,7 @@ import { RelationGeneralCfgNames } from '../../../interface/relation-general-cfg
|
|
|
9
9
|
export declare class RelationGeneralComponent extends RelationBaseComponent {
|
|
10
10
|
private _service;
|
|
11
11
|
private _dialogService;
|
|
12
|
-
|
|
12
|
+
protected relationService: RelationService;
|
|
13
13
|
readonly relType: typeof RelationNameKind;
|
|
14
14
|
readonly genderType: typeof GenderType;
|
|
15
15
|
configNames: RelationGeneralCfgNames;
|
|
@@ -18,7 +18,7 @@ export declare class RelationGeneralComponent extends RelationBaseComponent {
|
|
|
18
18
|
relationType: RelationNameKind;
|
|
19
19
|
showClass(): boolean;
|
|
20
20
|
dateOfBirth: Date;
|
|
21
|
-
constructor(_service: TransactionService, _dialogService: DialogService,
|
|
21
|
+
constructor(_service: TransactionService, _dialogService: DialogService, relationService: RelationService);
|
|
22
22
|
firstNameChange(firstName: string): void;
|
|
23
23
|
familyNameChange(familyName: string): void;
|
|
24
24
|
changeGenderType(value: GenderType): void;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { RelationPrivacySetting } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { RelationBaseComponent } from
|
|
1
|
+
import { RelationPrivacySetting } from '@colijnit/relationapi/build/model/relation-privacy-setting.bo';
|
|
2
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
3
|
+
import { RelationBaseComponent } from '../relation-base.component';
|
|
4
|
+
import { RelationService } from '../../../service/relation.service';
|
|
4
5
|
export declare class PrivacySettingViewModel {
|
|
5
6
|
privacySetting: RelationPrivacySetting;
|
|
6
7
|
checked: boolean;
|
|
7
8
|
}
|
|
8
9
|
export declare class RelationPreferencesComponent extends RelationBaseComponent {
|
|
10
|
+
protected relationService: RelationService;
|
|
9
11
|
private _service;
|
|
10
12
|
readonly: boolean;
|
|
11
13
|
showClass(): boolean;
|
|
12
14
|
privacySettings: PrivacySettingViewModel[];
|
|
13
|
-
constructor(_service: TransactionService);
|
|
15
|
+
constructor(relationService: RelationService, _service: TransactionService);
|
|
14
16
|
changePrivacySetting(relationPrivacySetting: RelationPrivacySetting, value: boolean): void;
|
|
15
17
|
protected relationSet(): void;
|
|
16
18
|
private _loadPrivacySettings;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { Icon } from
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { Icon } from '../../enum/icon.enum';
|
|
4
4
|
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
5
5
|
export declare class ShoppingCartPreviewComponent implements OnInit {
|
|
6
6
|
service: TransactionService;
|
|
@@ -18,11 +18,11 @@ $tp-co-stepper-step-incomplete-description-color: rgba(0, 0, 0, 0.3) !default;
|
|
|
18
18
|
$tp-co-stepper-step-incomplete-description-font-weight: normal !default;
|
|
19
19
|
|
|
20
20
|
$tp-co-stepper-step-title-padding: 30px !default;
|
|
21
|
-
$tp-co-stepper-step-title-column-gap:
|
|
21
|
+
$tp-co-stepper-step-title-column-gap: 10px !default;
|
|
22
22
|
$tp-co-stepper-step-title-font-family: $tp-font-family !default;
|
|
23
|
-
$tp-co-stepper-step-title-font-size:
|
|
24
|
-
$tp-co-stepper-step-title-font-weight:
|
|
25
|
-
$tp-co-stepper-step-title-icon-size:
|
|
23
|
+
$tp-co-stepper-step-title-font-size: 20px !default;
|
|
24
|
+
$tp-co-stepper-step-title-font-weight: 600 !default;
|
|
25
|
+
$tp-co-stepper-step-title-icon-size: 17px !default;
|
|
26
26
|
|
|
27
27
|
$tp-co-stepper-step-button-color: $tp-color-action !default;
|
|
28
28
|
$tp-co-stepper-step-button-background-color: $tp-default-background-accent !default;
|
|
@@ -7,7 +7,7 @@ import { DictionaryService } from '../../../service/dictionary.service';
|
|
|
7
7
|
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
8
8
|
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
9
9
|
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
10
|
-
import { TransactionScreenConfigurationService } from
|
|
10
|
+
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
11
11
|
import { StatusBarCfgNames } from '../../../interface/status-bar-cfg-names.interface';
|
|
12
12
|
export declare class TransactionCardComponent extends TransactionBaseComponent implements OnChanges {
|
|
13
13
|
transactionEventService: TransactionEventService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { TransactionTypeCategory } from
|
|
3
|
-
import { TransactionBaseComponent } from
|
|
4
|
-
import { TransactionLineInfo } from
|
|
2
|
+
import { TransactionTypeCategory } from '../../../enum/transaction-type-category.enum';
|
|
3
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
4
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
5
5
|
import { StatusBarCfgNames } from '../../../interface/status-bar-cfg-names.interface';
|
|
6
6
|
export declare class TransactionCardPurchaseOverviewComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
7
7
|
readonly transactionTypeCategory: typeof TransactionTypeCategory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TransactionBaseComponent } from
|
|
2
|
-
import { TransactionLineActionButtonsComponent } from
|
|
3
|
-
import { TransactionLineInfo } from
|
|
1
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
2
|
+
import { TransactionLineActionButtonsComponent } from '../../transaction-line-action-buttons/transaction-line-action-buttons.component';
|
|
3
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
4
4
|
import { StatusBarCfgNames } from '../../../interface/status-bar-cfg-names.interface';
|
|
5
5
|
export declare class TransactionCardSalesOverviewComponent extends TransactionBaseComponent {
|
|
6
6
|
transactionLineActionButtons: TransactionLineActionButtonsComponent;
|
|
@@ -94,5 +94,22 @@
|
|
|
94
94
|
background: $tp-co-transaction-header-payment-button-wrapper-border-color;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
+
.payment-dialog {
|
|
98
|
+
.payment-wrapper-popup-title {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
grid-column-gap: 10px;
|
|
102
|
+
column-gap: 10px;
|
|
103
|
+
margin-bottom: 20px;
|
|
104
|
+
.co-icon {
|
|
105
|
+
height: 20px;
|
|
106
|
+
width: 20px;
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
109
|
+
.co-dialog-header-title {
|
|
110
|
+
margin: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
97
114
|
}
|
|
98
115
|
}
|
package/lib/component/transaction-header-fields/transaction-header-definitive.component.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { TransactionBaseComponent } from '../core/base/transaction-base.component';
|
|
2
|
+
import { InputCheckboxComponent } from '@colijnit/corecomponents_v12';
|
|
2
3
|
export declare class TransactionHeaderDefinitiveComponent extends TransactionBaseComponent {
|
|
4
|
+
checkbox: InputCheckboxComponent;
|
|
3
5
|
showClass: boolean;
|
|
4
6
|
commit(definitive: boolean): Promise<boolean>;
|
|
5
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
2
|
+
import { InputCheckboxComponent } from '@colijnit/corecomponents_v12';
|
|
2
3
|
export declare class TransactionHeaderPartialDeliveryComponent extends TransactionBaseComponent {
|
|
4
|
+
checkbox: InputCheckboxComponent;
|
|
3
5
|
showClass: boolean;
|
|
4
6
|
commit(allow: boolean): Promise<boolean>;
|
|
5
7
|
}
|
package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ export declare class TransactionLineDeliveryDateButtonComponent extends Transact
|
|
|
18
18
|
protected changeDetector: ChangeDetectorRef;
|
|
19
19
|
private _overlayService;
|
|
20
20
|
readonly icons: typeof Icon;
|
|
21
|
-
commitWhenDateSelected: boolean;
|
|
22
|
-
showCalender: boolean;
|
|
23
21
|
parentComponent: ElementRef;
|
|
24
22
|
showClass(): boolean;
|
|
23
|
+
commitWhenDateSelected: boolean;
|
|
24
|
+
showCalender: boolean;
|
|
25
25
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _overlayService: OverlayService);
|
|
26
26
|
private _calendarPopupComponentRef;
|
|
27
27
|
handleShowHideClick(): void;
|
|
@@ -19,8 +19,13 @@ export declare class TransactionLineSupplierDeliveryDateButtonComponent extends
|
|
|
19
19
|
private _overlayService;
|
|
20
20
|
private _elementRef;
|
|
21
21
|
readonly icons: typeof Icon;
|
|
22
|
+
parentComponent: ElementRef;
|
|
22
23
|
showClass(): boolean;
|
|
24
|
+
showCalender: boolean;
|
|
23
25
|
private _calendarPopupComponentRef;
|
|
24
26
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _overlayService: OverlayService, _elementRef: ElementRef);
|
|
25
|
-
|
|
27
|
+
handleShowHideClick(): void;
|
|
28
|
+
private _showPopup;
|
|
29
|
+
private _handleDateChanged;
|
|
30
|
+
private _hidePopup;
|
|
26
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransactionBaseComponent } from
|
|
1
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
2
2
|
export declare class TransactionQuickAccessPickedComponent extends TransactionBaseComponent {
|
|
3
3
|
awaitingResult: boolean;
|
|
4
4
|
hasArticlesToPick: boolean;
|