@colijnit/transaction 255.1.23 → 255.1.25
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 +45 -63
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-payment-base.component.js +3 -1
- package/esm2015/lib/component/payment/payment.component.js +2 -39
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +39 -31
- package/esm2015/lib/service/transaction-payment.service.js +22 -4
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +64 -72
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/payment/payment.component.d.ts +0 -6
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_layout.scss +18 -5
- package/lib/service/transaction-payment.service.d.ts +3 -1
- package/package.json +2 -2
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { TransactionPaymentBaseComponent } from '../core/base/transaction-payment-base.component';
|
|
2
|
-
import { CashDrawer } from "@colijnit/transactionapi/build/model/cash-drawer.bo";
|
|
3
2
|
import { CashRegister } from "@colijnit/transactionapi/build/model/cash-register";
|
|
4
3
|
export declare class PaymentComponent extends TransactionPaymentBaseComponent {
|
|
5
4
|
showClass: boolean;
|
|
6
5
|
activeCashRegister: CashRegister;
|
|
7
|
-
cashDrawers: CashDrawer[];
|
|
8
|
-
activeCashDrawer: CashDrawer;
|
|
9
|
-
handleDrawerChanged(cashDrawer: CashDrawer): void;
|
|
10
6
|
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
11
|
-
protected prepareCashDrawers(group: number): Promise<void>;
|
|
12
|
-
private _checkDefaultParameters;
|
|
13
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@include export-module('cc-transaction-purchase-order-line-layout') {
|
|
2
2
|
.co-transaction-purchase-order-line {
|
|
3
|
-
|
|
4
3
|
.transaction-line-content-wrapper {
|
|
5
4
|
display: flex;
|
|
6
5
|
justify-content: space-evenly;
|
|
@@ -16,10 +15,11 @@
|
|
|
16
15
|
flex-wrap: wrap;
|
|
17
16
|
column-gap: 10px;
|
|
18
17
|
row-gap: 10px;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
|
|
19
|
+
> .co-input-text, .co-editable-label, .co-transaction-line-confirmed-price {
|
|
20
|
+
width: $tp-transaction-default-button-width;
|
|
21
|
+
height: $tp-transaction-default-button-height;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
.co-input-number-picker {
|
|
@@ -28,11 +28,24 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
|
|
31
32
|
.transaction-input-right-align {
|
|
32
33
|
input {
|
|
33
34
|
width: 100%;
|
|
34
35
|
text-align: $tp-transaction-input-right-align;
|
|
35
36
|
}
|
|
36
37
|
}
|
|
38
|
+
|
|
39
|
+
co-input-text.warning {
|
|
40
|
+
border-color: $tp-color-error;
|
|
41
|
+
|
|
42
|
+
&:before {
|
|
43
|
+
box-shadow: inset 0 0 0 1px $tp-color-error;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
co-transaction-line-delivery-date-button.warning co-transaction-button {
|
|
48
|
+
border-color: $tp-color-error;
|
|
49
|
+
}
|
|
37
50
|
}
|
|
38
51
|
}
|
|
@@ -7,10 +7,12 @@ import { DictionaryService } from './dictionary.service';
|
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
8
|
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
9
9
|
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
10
|
+
import { DialogService } from "./dialog.service";
|
|
10
11
|
export declare class TransactionPaymentService implements OnDestroy {
|
|
11
12
|
private _transactionEventService;
|
|
12
13
|
private _paymentConnectorService;
|
|
13
14
|
private _dictionaryService;
|
|
15
|
+
private _dialogService;
|
|
14
16
|
private _http;
|
|
15
17
|
amount: number;
|
|
16
18
|
amountToPay: number;
|
|
@@ -43,7 +45,7 @@ export declare class TransactionPaymentService implements OnDestroy {
|
|
|
43
45
|
private _paymentStatusPollIntervalMs;
|
|
44
46
|
private _paymentStatusMaxPollInterval;
|
|
45
47
|
private _paymentStatusPollIntervalCount;
|
|
46
|
-
constructor(_transactionEventService: TransactionEventService, _paymentConnectorService: TransactionPaymentConnectorService, _dictionaryService: DictionaryService, _http: HttpClient);
|
|
48
|
+
constructor(_transactionEventService: TransactionEventService, _paymentConnectorService: TransactionPaymentConnectorService, _dictionaryService: DictionaryService, _dialogService: DialogService, _http: HttpClient);
|
|
47
49
|
ngOnDestroy(): void;
|
|
48
50
|
handlePayment(): Promise<void>;
|
|
49
51
|
cancelPayment(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "255.1.
|
|
3
|
+
"version": "255.1.25",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@colijnit/relationapi": ">=255.1.1",
|
|
21
21
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
22
22
|
"@colijnit/sharedcomponents": ">=255.1.14",
|
|
23
|
-
"@colijnit/transactionapi": ">=255.1.
|
|
23
|
+
"@colijnit/transactionapi": ">=255.1.11",
|
|
24
24
|
"@types/three": ">=0.125.0",
|
|
25
25
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
26
26
|
"three": ">=0.125.0",
|