@colijnit/transaction 12.1.82 → 12.1.85
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 +256 -205
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +29 -31
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +30 -32
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +3 -3
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
- package/esm2015/lib/component/checkout/checkout.module.js +5 -7
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +71 -0
- package/esm2015/lib/component/deposit-payment/deposit-payment.module.js +27 -0
- package/esm2015/lib/component/payment/payment.component.js +25 -25
- package/esm2015/lib/component/payment/payment.module.js +3 -3
- package/esm2015/lib/component/transaction/transaction.module.js +3 -1
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +12 -12
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +5 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +58 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.js +57 -0
- package/esm2015/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.module.js → transaction-header-deposit-percentage.module.js} +6 -6
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +94 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +40 -0
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/deposit-payment-view-model.js +7 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/payment.service.js +5 -5
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -29
- package/esm2015/lib/service/transaction-connector.service.js +5 -15
- package/esm2015/lib/service/transaction-mapping.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +5 -5
- package/esm2015/public_api.js +6 -1
- package/fesm2015/colijnit-transaction.js +253 -163
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/{down-payment/down-payment.component.d.ts → deposit-payment/deposit-payment.component.d.ts} +4 -4
- package/lib/component/deposit-payment/deposit-payment.module.d.ts +2 -0
- package/lib/component/{down-payment → deposit-payment}/style/_layout.scss +2 -2
- package/lib/component/{down-payment → deposit-payment}/style/_material-definition.scss +0 -0
- package/lib/component/deposit-payment/style/_theme.scss +4 -0
- package/lib/component/{down-payment → deposit-payment}/style/material.scss +0 -0
- package/lib/component/payment/payment.component.d.ts +4 -4
- package/lib/component/payment/style/_layout.scss +2 -2
- package/lib/component/payment/style/material.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +1 -1
- package/lib/component/transaction-header-fields/{transaction-header-downpayment-percentage.component.d.ts → transaction-header-deposit-amount.component.d.ts} +1 -1
- package/lib/component/transaction-header-fields/transaction-header-deposit-amount.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/{transaction-header-downpayment-amount.component.d.ts → transaction-header-deposit-percentage.component.d.ts} +1 -1
- package/lib/component/transaction-header-fields/transaction-header-deposit-percentage.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_layout.scss +57 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +25 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.d.ts +2 -0
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-search/style/_layout.scss +2 -2
- package/lib/component/transaction-search/style/_material-definition.scss +3 -104
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_material-definition.scss +39 -0
- package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss +25 -0
- package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss +5 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +37 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/deposit-payment-view-model.d.ts +7 -0
- package/lib/res/dictionary/dictionaries.d.ts +2 -0
- package/lib/service/payment.service.d.ts +3 -3
- package/lib/service/transaction-connector-adapter.service.d.ts +5 -8
- package/lib/service/transaction-connector.service.d.ts +2 -6
- package/lib/service/transaction.service.d.ts +2 -2
- package/lib/style/_variables.scss +3 -1
- package/package.json +2 -2
- package/public_api.d.ts +5 -0
- package/esm2015/lib/component/down-payment/down-payment.component.js +0 -71
- package/esm2015/lib/component/down-payment/down-payment.module.js +0 -27
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +0 -58
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +0 -58
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.js +0 -23
- package/esm2015/lib/model/down-payment-view-model.js +0 -7
- package/lib/component/down-payment/down-payment.module.d.ts +0 -2
- package/lib/component/down-payment/style/_theme.scss +0 -4
- package/lib/component/transaction-header-fields/transaction-header-downpayment-amount.module.d.ts +0 -2
- package/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.module.d.ts +0 -2
- package/lib/model/down-payment-view-model.d.ts +0 -7
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DepositPaymentViewModel } from "../../model/deposit-payment-view-model";
|
|
3
3
|
import { PaymentViewmodel } from "../../model/payment.viewmodel";
|
|
4
4
|
import { PaymentService } from "../../service/payment.service";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class DepositPaymentComponent implements OnInit {
|
|
6
6
|
private _paymentService;
|
|
7
7
|
transactionUuid: string;
|
|
8
|
-
|
|
8
|
+
depositPayments: DepositPaymentViewModel[];
|
|
9
9
|
showLoader: boolean;
|
|
10
10
|
showClass(): boolean;
|
|
11
11
|
paymentMethods: PaymentViewmodel[];
|
|
12
12
|
constructor(_paymentService: PaymentService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
|
-
private
|
|
14
|
+
private _getDepositPaymentInfo;
|
|
15
15
|
private _prepareData;
|
|
16
16
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ import { PaymentService } from "../../service/payment.service";
|
|
|
6
6
|
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
|
-
import {
|
|
9
|
+
import { DepositPaymentViewModel } from "../../model/deposit-payment-view-model";
|
|
10
10
|
export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
11
11
|
private _transactionService;
|
|
12
12
|
private _sharedService;
|
|
@@ -21,7 +21,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
paymentMethodIdx: number;
|
|
22
22
|
cashRegisterIdx: number;
|
|
23
23
|
paymentMethods: PaymentViewmodel[];
|
|
24
|
-
|
|
24
|
+
depositPayments: DepositPaymentViewModel[];
|
|
25
25
|
cashRegisters: any[];
|
|
26
26
|
showCashRegisters: boolean;
|
|
27
27
|
showKeyPad: boolean;
|
|
@@ -29,7 +29,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
currentPaymentMethod: PaymentMethod;
|
|
30
30
|
qrCodeImage: string;
|
|
31
31
|
showLoader: boolean;
|
|
32
|
-
|
|
32
|
+
showLoaderDepositPayments: boolean;
|
|
33
33
|
amountToPay: number;
|
|
34
34
|
private _amount;
|
|
35
35
|
private _paymentStatusInterval;
|
|
@@ -44,7 +44,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
44
44
|
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
45
45
|
handlePayment(): void;
|
|
46
46
|
handleKeyPadModelChange(model: number): void;
|
|
47
|
-
private
|
|
47
|
+
private _getDepositPaymentInfo;
|
|
48
48
|
private _dataUriToBase64;
|
|
49
49
|
private _waitForPaymentStatus;
|
|
50
50
|
private _clearInterval;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.payment-
|
|
76
|
+
.payment-deposit {
|
|
77
77
|
grid-column: 1 / 1;
|
|
78
78
|
grid-row: 2 / 2;
|
|
79
79
|
&.no-display {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
justify-content: center;
|
|
89
89
|
border-radius: 5px;
|
|
90
90
|
}
|
|
91
|
-
&.no-
|
|
91
|
+
&.no-deposit {
|
|
92
92
|
grid-row: 2 / 2;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -16,5 +16,5 @@ export declare class TransactionHeaderPaymentComponent extends TransactionBaseCo
|
|
|
16
16
|
constructor(iconService: IconCacheService, transactionService: TransactionService, _paymentService: PaymentService);
|
|
17
17
|
openPayment(event: MouseEvent): Promise<void>;
|
|
18
18
|
transactionSet(): void;
|
|
19
|
-
private
|
|
19
|
+
private _getDepositPaymentInfo;
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
2
|
import { TransactionService } from "../../service/transaction.service";
|
|
3
3
|
import { TransactionInputFieldBaseComponent } from "../core/base/transaction-input-field-base.component";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TransactionHeaderDepositAmountComponent extends TransactionInputFieldBaseComponent {
|
|
5
5
|
protected transactionService: TransactionService;
|
|
6
6
|
set child(content: any);
|
|
7
7
|
input: InputTextComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
2
|
import { TransactionService } from "../../service/transaction.service";
|
|
3
3
|
import { TransactionInputFieldBaseComponent } from "../core/base/transaction-input-field-base.component";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TransactionHeaderDepositPercentageComponent extends TransactionInputFieldBaseComponent {
|
|
5
5
|
protected transactionService: TransactionService;
|
|
6
6
|
set child(content: any);
|
|
7
7
|
input: InputTextComponent;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@include export-module('cc-transaction-purchase-order-line-layout') {
|
|
2
|
+
.co-transaction-purchase-order-line {
|
|
3
|
+
.transaction-line-wrapper {
|
|
4
|
+
align-self: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.transaction-line-totals-grid {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-self: center;
|
|
10
|
+
|
|
11
|
+
.price {
|
|
12
|
+
width: 100px;
|
|
13
|
+
height: 25px;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
border: 1px solid #DCE4EA;
|
|
18
|
+
border-radius: 10px;
|
|
19
|
+
margin-right: 3px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.discount {
|
|
23
|
+
width: 100px;
|
|
24
|
+
height: 25px;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
border: 1px solid #DCE4EA;
|
|
29
|
+
border-radius: 10px;
|
|
30
|
+
margin-right: 3px;
|
|
31
|
+
color: red;
|
|
32
|
+
background-color: #f5f5fc;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.vertical-border {
|
|
36
|
+
border-left: 1px solid #DCE4EA;
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
.transaction-line-supplier-id {
|
|
40
|
+
font-size: 11px;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
height: 26px;
|
|
45
|
+
padding: 0 10px;
|
|
46
|
+
}
|
|
47
|
+
.transaction-line-supplier-icon {
|
|
48
|
+
height: 20px;
|
|
49
|
+
margin: 2px;
|
|
50
|
+
}
|
|
51
|
+
.amount-number-picker {
|
|
52
|
+
height: 25px;
|
|
53
|
+
border: 1px solid black;
|
|
54
|
+
border-radius: 10px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
5
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
6
|
+
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
7
|
+
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
8
|
+
import { ExtendedTransactionLineViewModel } from "../../../model/extended-transaction-line-view-model";
|
|
9
|
+
export declare class TransactionPurchaseOrderLineComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
11
|
+
protected transactionService: TransactionService;
|
|
12
|
+
private _transactionEventService;
|
|
13
|
+
showClass(): boolean;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
showDialogDiscount: boolean;
|
|
16
|
+
showCheckboxForLine: boolean;
|
|
17
|
+
transactionKind: TransactionKind;
|
|
18
|
+
viewModel: ExtendedTransactionLineViewModel;
|
|
19
|
+
readonly transactionTypeCategory: typeof TransactionTypeCategory;
|
|
20
|
+
private _subs;
|
|
21
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
protected transactionLineSet(): void;
|
|
25
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import "../../../component/transaction-line/transaction-receive-goods-line/style/material";
|
|
11
11
|
@import "../../../component/transaction-line/transaction-purchase-line/style/material";
|
|
12
12
|
@import "../../../component/transaction-line/transaction-goods-allocation-line/style/material";
|
|
13
|
+
@import "../../../component/transaction-line/transaction-purchase-order-line/style/material";
|
|
13
14
|
@import "../../../component/transaction-line-fields/transaction-line-price/style/material";
|
|
14
15
|
@import "../../shared/transaction-article-text/style/material";
|
|
15
16
|
@import "../../shared/transaction-article-text-overview/style/material";
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
}
|
|
32
32
|
.transaction-filter-wrapper {
|
|
33
33
|
display: flex;
|
|
34
|
-
min-width: $
|
|
34
|
+
min-width: $search-filter-wrapper-min-width;
|
|
35
35
|
&.sidebar {
|
|
36
36
|
position: absolute;
|
|
37
37
|
left: 0;
|
|
38
38
|
transition: left 0.2s ease-in-out;
|
|
39
39
|
z-index: 2;
|
|
40
40
|
background: #FFF;
|
|
41
|
-
min-width: $
|
|
41
|
+
min-width: $search-filter-wrapper-sidebar-min-width;
|
|
42
42
|
}
|
|
43
43
|
&.fullscreen {
|
|
44
44
|
position: relative;
|
|
@@ -7,49 +7,8 @@ $cc-co-transaction-search-max-height: 100vh !default;
|
|
|
7
7
|
|
|
8
8
|
$cc-co-transaction-searchbar-width: 370px !default;
|
|
9
9
|
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$tp-co-transaction-filter-button-color: $cc-color-light !default;
|
|
13
|
-
$tp-co-transaction-filter-input-border: none !default;
|
|
14
|
-
|
|
15
|
-
$tp-co-transaction-filter-font-family: $tp-font-family !default;
|
|
16
|
-
$tp-co-transaction-filter-font-size: $tp-font-size !default;
|
|
17
|
-
$cc-co-transaction-filter-background-color: $cc-color-light !default;
|
|
18
|
-
$cc-co-transaction-filter-width: 350px !default;
|
|
19
|
-
$cc-co-transaction-filter-padding: 10px !default;
|
|
20
|
-
$cc-co-transaction-filter-border: none !default;
|
|
21
|
-
$cc-co-transaction-filter-top: 0 !default;
|
|
22
|
-
|
|
23
|
-
$cc-co-transaction-filter-icon-margin-left: 10px !default;
|
|
24
|
-
$cc-co-transaction-filter-icon-height: 13px !default;
|
|
25
|
-
$cc-co-transaction-filter-icon-width: 13px !default;
|
|
26
|
-
|
|
27
|
-
$cc-co-transaction-filter-header-wrapper-padding: 0 10px !default;
|
|
28
|
-
$cc-co-transaction-filter-header-font-weight: bold !default;
|
|
29
|
-
$cc-co-transaction-filter-header-font-size: 14px !default;
|
|
30
|
-
$cc-co-transaction-filter-header-color: $tp-color-font !default;
|
|
31
|
-
|
|
32
|
-
$cc-co-transaction-category-filter-wrapper-padding-top: 10px !default;
|
|
33
|
-
$cc-co-transaction-category-filter-content-width: 350px !default;
|
|
34
|
-
|
|
35
|
-
$tp-co-transaction-filter-categories-font-family: $tp-font-family !default;
|
|
36
|
-
$tp-co-transaction-filter-categories-font-size: $tp-font-size !default;
|
|
37
|
-
$tp-co-transaction-filter-categories-font-weight: bold !default;
|
|
38
|
-
$tp-co-transaction-filter-categories-active-color: $tp-color-action !default;
|
|
39
|
-
$tp-co-transaction-filter-categories-inactive-color: #8083A3 !default;
|
|
40
|
-
$tp-co-transaction-filter-categories-inactive-border-color: $tp-color-grey !default;
|
|
41
|
-
$tp-co-transaction-filter-categories-padding: 20px 30px !default;
|
|
42
|
-
$tp-co-transaction-filter-categories-border-width: 0 0 1px 0 !default;
|
|
43
|
-
$tp-co-transaction-filter-categories-border-style: solid !default;
|
|
44
|
-
$tp-co-transaction-filter-categories-active-border-width: 0 0 1px 0 !default;
|
|
45
|
-
$tp-co-transaction-filter-categories-active-border-style: solid !default;
|
|
46
|
-
|
|
47
|
-
$tp-co-transaction-search-filter-width: 100% !default;
|
|
48
|
-
$tp-co-transaction-search-filter-button-padding: 20px 0 !default;
|
|
49
|
-
$tp-co-transaction-search-filter-button-width: 90% !default;
|
|
50
|
-
$tp-co-transaction-search-filter-button-size: 32px !default;
|
|
51
|
-
$tp-co-transaction-search-filter-button-border-radius: 5px !default;
|
|
52
|
-
$tp-co-transaction-search-filter-content-wrapper-row-gap: 30px !default;
|
|
10
|
+
$search-filter-wrapper-min-width: 360px !default;
|
|
11
|
+
$search-filter-wrapper-sidebar-min-width: 370px !default;
|
|
53
12
|
|
|
54
13
|
$tp-co-transaction-search-result-header-search-button-wrapper-column-gap: 10px !default;
|
|
55
14
|
|
|
@@ -60,72 +19,12 @@ $tp-co-transaction-search-result-upper-header-height: 20px !default;
|
|
|
60
19
|
$tp-co-transaction-search-result-header-buttons-wrapper-padding: 0 !default;
|
|
61
20
|
$tp-co-transaction-search-result-header-sidebar-button-size: 15px !default;
|
|
62
21
|
$tp-co-transaction-search-filter-button-icon-size: 20px !default;
|
|
22
|
+
|
|
63
23
|
$tp-co-transaction-search-result-header-sidebar-icon-size: 15px !default;
|
|
64
24
|
$tp-co-transaction-search-result-header-sidebar-button-color: $tp-color-label !default;
|
|
65
|
-
|
|
66
25
|
$tp-co-transaction-search-result-header-sidebar-close-button-size: 15px !default;
|
|
67
26
|
$tp-co-transaction-search-result-header-sidebar-close-button-color: $tp-color-label !default;
|
|
68
27
|
|
|
69
|
-
$tp-co-transaction-search-header-label-color: $tp-color-font !default;
|
|
70
|
-
$tp-co-transaction-search-header-label-font-size: 18px !default;
|
|
71
|
-
$tp-co-transaction-search-header-label-font-weight: bold !default;
|
|
72
|
-
$tp-co-transaction-search-header-column-gap: 20px !default;
|
|
73
|
-
$tp-co-transaction-search-header-button-wrapper-column-gap: 0 !default;
|
|
74
|
-
$tp-co-transaction-search-header-plus-button-size: 26px !default;
|
|
75
|
-
$tp-co-transaction-search-header-plus-button-icon-size: 20px !default;
|
|
76
|
-
$tp-co-transaction-search-header-plus-button-color: $tp-color-label !default;
|
|
77
|
-
$tp-co-transaction-search-header-plus-button-border-style: solid !default;
|
|
78
|
-
$tp-co-transaction-search-header-plus-button-border-width: 0 !default;
|
|
79
|
-
$tp-co-transaction-search-header-plus-button-border-color: $tp-color-font !default;
|
|
80
|
-
$tp-co-transaction-search-header-plus-button-border-radius: 5px !default;
|
|
81
|
-
$tp-co-transaction-search-header-plus-button-background-color: $tp-default-background-accent !default;
|
|
82
|
-
|
|
83
|
-
$tp-co-transaction-search-input-text-fullscreen-width: 440px !default;
|
|
84
|
-
$tp-co-transaction-search-input-text-sidebar-width: 250px !default;
|
|
85
|
-
$tp-co-transaction-search-input-text-sidebar-height: 40px !default;
|
|
86
|
-
$tp-co-transaction-search-input-text-label-margin-left: 5% !default;
|
|
87
28
|
$tp-co-transaction-search-view-modes-wrapper-padding: 0 35px !default;
|
|
88
29
|
|
|
89
|
-
$tp-transaction-tile-background-color: $tp-color-light !default;
|
|
90
|
-
$tp-transaction-tile-background-color-hover: $tp-color-less-light !default;
|
|
91
|
-
$tp-transaction-tile-background-color-selected: #F0F5FF !default;
|
|
92
|
-
$tp-transaction-tiles-wrapper-padding: 20px !default;
|
|
93
|
-
$tp-transaction-tiles-wrapper-row-gap: 5px !default;
|
|
94
|
-
$tp-transaction-tiles-wrapper-width: 100% !default;
|
|
95
|
-
$tp-transaction-tiles-wrapper-height: 100% !default;
|
|
96
|
-
$tp-transaction-tiles-wrapper-column-gap: 5px !default;
|
|
97
|
-
$tp-transaction-tile-font-family: $tp-font-family !default;
|
|
98
|
-
$tp-transaction-tile-font-size: $tp-font-size !default;
|
|
99
|
-
$tp-transaction-tile-height: 150px !default;
|
|
100
|
-
$tp-transaction-tile-content-height: 130px !default;
|
|
101
|
-
$tp-transaction-tile-body-height: 100px !default;
|
|
102
|
-
$tp-transaction-tile-width: 300px !default;
|
|
103
|
-
$tp-transaction-tile-width-mobile: 85 vw !default;
|
|
104
|
-
$tp-transaction-tile-padding: 10px 15px !default;
|
|
105
|
-
$tp-transaction-tile-row-gap: 10px !default;
|
|
106
|
-
$tp-transaction-tile-column-gap: 10px !default;
|
|
107
|
-
$tp-transaction-tile-font-size-small: $tp-font-size-small !default;
|
|
108
|
-
$tp-transaction-tile-font-color: #6E7694 !default;
|
|
109
|
-
$tp-transaction-tile-font-color-dark: $tp-color-font !default;
|
|
110
|
-
$tp-transaction-tile-header-font-size: $tp-font-size !default;
|
|
111
|
-
$tp-transaction-tile-header-font-weight: bold !default;
|
|
112
|
-
$tp-transaction-tile-header-font-color: $tp-color-font !default;
|
|
113
|
-
$tp-transaction-tile-footer-border-color: $tp-transaction-tile-font-color !default;
|
|
114
|
-
$tp-transaction-tile-footer-padding: 10px 0 !default;
|
|
115
|
-
$tp-transaction-tile-footer-middle-section-padding: 0 15px !default;
|
|
116
|
-
$tp-transaction-tile-value-height: 20px !default;
|
|
117
|
-
$tp-transaction-tile-border-color: $tp-color-border !default;
|
|
118
|
-
$tp-transaction-tile-button-color: $tp-color-active-light !default;
|
|
119
|
-
$tp-transaction-tile-button-border-radius: 8px !default;
|
|
120
|
-
$tp-transaction-tile-button-height: 25px !default;
|
|
121
|
-
$tp-transaction-tile-button-margin-top: 10px !default;
|
|
122
|
-
$tp-transaction-tile-button-font-weight: bold !default;
|
|
123
|
-
$tp-transaction-tile-avatar-height: 30px !default;
|
|
124
|
-
$tp-transaction-tile-avatar-width: 30px !default;
|
|
125
|
-
$tp-transaction-tile-icon-width: 1.2rem !default;
|
|
126
|
-
$tp-transaction-tile-icon-height: 1.2rem !default;
|
|
127
|
-
$tp-transaction-tile-icon-active-color: $tp-color-active !default;
|
|
128
|
-
$tp-transaction-tile-icon-inactive-color: $tp-color-font !default;
|
|
129
|
-
$tp-transaction-tile-line-height: 15px !default;
|
|
130
|
-
|
|
131
30
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
$tp-co-transaction-filter-wrapper-min-width: 360px !default;
|
|
2
|
+
$tp-co-transaction-filter-wrapper-sidebar-min-width: 370px !default;
|
|
3
|
+
|
|
4
|
+
$tp-co-transaction-filter-input-border: none !default;
|
|
5
|
+
|
|
6
|
+
$tp-co-transaction-filter-font-family: $tp-font-family !default;
|
|
7
|
+
$tp-co-transaction-filter-font-size: $tp-font-size !default;
|
|
8
|
+
$cc-co-transaction-filter-background-color: $cc-color-light !default;
|
|
9
|
+
$cc-co-transaction-filter-width: 350px !default;
|
|
10
|
+
$cc-co-transaction-filter-padding: 10px !default;
|
|
11
|
+
$cc-co-transaction-filter-border: none !default;
|
|
12
|
+
$cc-co-transaction-filter-top: 0 !default;
|
|
13
|
+
|
|
14
|
+
$cc-co-transaction-filter-icon-margin-left: 10px !default;
|
|
15
|
+
$cc-co-transaction-filter-icon-height: 13px !default;
|
|
16
|
+
$cc-co-transaction-filter-icon-width: 13px !default;
|
|
17
|
+
|
|
18
|
+
$cc-co-transaction-filter-header-wrapper-padding: 0 10px !default;
|
|
19
|
+
$cc-co-transaction-filter-header-font-weight: bold !default;
|
|
20
|
+
$cc-co-transaction-filter-header-font-size: 14px !default;
|
|
21
|
+
$cc-co-transaction-filter-header-color: $tp-color-font !default;
|
|
22
|
+
|
|
23
|
+
$cc-co-transaction-category-filter-wrapper-padding-top: 10px !default;
|
|
24
|
+
$cc-co-transaction-category-filter-content-width: 350px !default;
|
|
25
|
+
|
|
26
|
+
$tp-co-transaction-filter-categories-font-family: $tp-font-family !default;
|
|
27
|
+
$tp-co-transaction-filter-categories-font-size: $tp-font-size !default;
|
|
28
|
+
$tp-co-transaction-filter-categories-font-weight: bold !default;
|
|
29
|
+
$tp-co-transaction-filter-categories-active-color: $tp-color-action !default;
|
|
30
|
+
$tp-co-transaction-filter-categories-inactive-color: #8083A3 !default;
|
|
31
|
+
$tp-co-transaction-filter-categories-inactive-border-color: $tp-color-grey !default;
|
|
32
|
+
$tp-co-transaction-filter-categories-padding: 20px 30px !default;
|
|
33
|
+
$tp-co-transaction-filter-categories-border-width: 0 0 1px 0 !default;
|
|
34
|
+
$tp-co-transaction-filter-categories-border-style: solid !default;
|
|
35
|
+
$tp-co-transaction-filter-categories-active-border-width: 0 0 1px 0 !default;
|
|
36
|
+
$tp-co-transaction-filter-categories-active-border-style: solid !default;
|
|
37
|
+
|
|
38
|
+
$tp-co-transaction-search-filter-width: 100% !default;
|
|
39
|
+
$tp-co-transaction-search-filter-content-wrapper-row-gap: 30px !default;
|
package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
1
|
$tp-co-transaction-search-header-input-text-width: 300px !default;
|
|
2
|
+
$tp-co-transaction-search-header-label-color: $tp-color-font !default;
|
|
3
|
+
$tp-co-transaction-search-header-label-font-size: 18px !default;
|
|
4
|
+
$tp-co-transaction-search-header-label-font-weight: bold !default;
|
|
5
|
+
$tp-co-transaction-search-header-column-gap: 20px !default;
|
|
6
|
+
$tp-co-transaction-search-header-button-wrapper-column-gap: 0 !default;
|
|
7
|
+
$tp-co-transaction-search-header-plus-button-size: 26px !default;
|
|
8
|
+
$tp-co-transaction-search-header-plus-button-icon-size: 20px !default;
|
|
9
|
+
$tp-co-transaction-search-header-plus-button-color: $tp-color-label !default;
|
|
10
|
+
$tp-co-transaction-search-header-plus-button-border-style: solid !default;
|
|
11
|
+
$tp-co-transaction-search-header-plus-button-border-width: 0 !default;
|
|
12
|
+
$tp-co-transaction-search-header-plus-button-border-color: $tp-color-font !default;
|
|
13
|
+
$tp-co-transaction-search-header-plus-button-border-radius: 5px !default;
|
|
14
|
+
$tp-co-transaction-search-header-plus-button-background-color: $tp-default-background-accent !default;
|
|
15
|
+
|
|
16
|
+
$tp-co-transaction-search-input-text-fullscreen-width: 440px !default;
|
|
17
|
+
$tp-co-transaction-search-input-text-sidebar-width: 250px !default;
|
|
18
|
+
$tp-co-transaction-search-input-text-sidebar-height: 40px !default;
|
|
19
|
+
$tp-co-transaction-search-input-text-label-margin-left: 5% !default;
|
|
20
|
+
|
|
21
|
+
$cc-co-transaction-searchbar-width: 370px !default;
|
|
22
|
+
$tp-co-transaction-filter-button-color: $cc-color-light !default;
|
|
23
|
+
$tp-co-transaction-search-filter-button-padding: 20px 0 !default;
|
|
24
|
+
$tp-co-transaction-search-filter-button-width: 90% !default;
|
|
25
|
+
$tp-co-transaction-search-filter-button-size: 32px !default;
|
|
26
|
+
$tp-co-transaction-search-filter-button-border-radius: 5px !default;
|
package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
$tp-transaction-tiles-wrapper-padding: 20px !default;
|
|
2
|
+
$tp-transaction-tiles-wrapper-row-gap: 5px !default;
|
|
3
|
+
$tp-transaction-tiles-wrapper-width: 100% !default;
|
|
4
|
+
$tp-transaction-tiles-wrapper-height: 100% !default;
|
|
5
|
+
$tp-transaction-tiles-wrapper-column-gap: 5px !default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
$tp-transaction-tile-background-color: $tp-color-light !default;
|
|
2
|
+
$tp-transaction-tile-background-color-hover: $tp-color-less-light !default;
|
|
3
|
+
$tp-transaction-tile-background-color-selected: #F0F5FF !default;
|
|
4
|
+
|
|
5
|
+
$tp-transaction-tile-font-family: $tp-font-family !default;
|
|
6
|
+
$tp-transaction-tile-font-size: $tp-font-size !default;
|
|
7
|
+
$tp-transaction-tile-height: 150px !default;
|
|
8
|
+
$tp-transaction-tile-content-height: 130px !default;
|
|
9
|
+
$tp-transaction-tile-body-height: 100px !default;
|
|
10
|
+
$tp-transaction-tile-width: 300px !default;
|
|
11
|
+
$tp-transaction-tile-width-mobile: 85 vw !default;
|
|
12
|
+
$tp-transaction-tile-padding: 10px 15px !default;
|
|
13
|
+
$tp-transaction-tile-row-gap: 10px !default;
|
|
14
|
+
$tp-transaction-tile-column-gap: 10px !default;
|
|
15
|
+
$tp-transaction-tile-font-size-small: $tp-font-size-small !default;
|
|
16
|
+
$tp-transaction-tile-font-color: #6E7694 !default;
|
|
17
|
+
$tp-transaction-tile-font-color-dark: $tp-color-font !default;
|
|
18
|
+
$tp-transaction-tile-header-font-size: $tp-font-size !default;
|
|
19
|
+
$tp-transaction-tile-header-font-weight: bold !default;
|
|
20
|
+
$tp-transaction-tile-header-font-color: $tp-color-font !default;
|
|
21
|
+
$tp-transaction-tile-footer-border-color: $tp-transaction-tile-font-color !default;
|
|
22
|
+
$tp-transaction-tile-footer-padding: 10px 0 !default;
|
|
23
|
+
$tp-transaction-tile-footer-middle-section-padding: 0 15px !default;
|
|
24
|
+
$tp-transaction-tile-value-height: 20px !default;
|
|
25
|
+
$tp-transaction-tile-border-color: $tp-color-border !default;
|
|
26
|
+
$tp-transaction-tile-button-color: $tp-color-active-light !default;
|
|
27
|
+
$tp-transaction-tile-button-border-radius: 8px !default;
|
|
28
|
+
$tp-transaction-tile-button-height: 25px !default;
|
|
29
|
+
$tp-transaction-tile-button-margin-top: 10px !default;
|
|
30
|
+
$tp-transaction-tile-button-font-weight: bold !default;
|
|
31
|
+
$tp-transaction-tile-avatar-height: 30px !default;
|
|
32
|
+
$tp-transaction-tile-avatar-width: 30px !default;
|
|
33
|
+
$tp-transaction-tile-icon-width: 1.2rem !default;
|
|
34
|
+
$tp-transaction-tile-icon-height: 1.2rem !default;
|
|
35
|
+
$tp-transaction-tile-icon-active-color: $tp-color-active !default;
|
|
36
|
+
$tp-transaction-tile-icon-inactive-color: $tp-color-font !default;
|
|
37
|
+
$tp-transaction-tile-line-height: 15px !default;
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare enum Icon {
|
|
|
30
30
|
GripDotsVerticalSolid = "grip_dots_vertical_solid",
|
|
31
31
|
IdealLogo = "ideal_logo",
|
|
32
32
|
InboxInSolid = "inbox_in_solid",
|
|
33
|
+
IndustrySolid = "industry_solid",
|
|
33
34
|
ListRegular = "list_regular",
|
|
34
35
|
ListView = "list_view",
|
|
35
36
|
LocationDotSolid = "location_dot_solid",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PaymentViewmodel } from "./payment.viewmodel";
|
|
2
|
+
import { DepositPayment } from "@colijnit/transactionapi/build/model/deposit-payment.bo";
|
|
3
|
+
export declare class DepositPaymentViewModel {
|
|
4
|
+
depositPayment: DepositPayment;
|
|
5
|
+
paymentMethod: PaymentViewmodel;
|
|
6
|
+
constructor(depositPayment: DepositPayment, paymentMethodViewmodel: PaymentViewmodel);
|
|
7
|
+
}
|
|
@@ -11576,6 +11576,8 @@ export declare class Dictionaries {
|
|
|
11576
11576
|
DELIVERY_TIME_PERIOD_IN_DAYS: string;
|
|
11577
11577
|
DELIVERY_TIME_SALE: string;
|
|
11578
11578
|
DELIVERY_TIME_SPECIFICATION: string;
|
|
11579
|
+
DELIVERY_TIME_WHEN_NO_STOCK: string;
|
|
11580
|
+
DELIVERY_TIME_WHEN_NO_STOCK_UNIT: string;
|
|
11579
11581
|
DEPARTMENT: string;
|
|
11580
11582
|
DEPARTMENTS: string;
|
|
11581
11583
|
DEPARTMENT_CODE: string;
|
|
@@ -4,20 +4,20 @@ import { TransactionService } from "./transaction.service";
|
|
|
4
4
|
import { PaymentLinkStatus } from "@colijnit/transactionapi/build/model/payment-link-status.bo";
|
|
5
5
|
import { TransactionConnectorAdapterService } from "./transaction-connector-adapter.service";
|
|
6
6
|
import { SelectMultipleCacheService } from "../cache/service/select-multiple-cache.service";
|
|
7
|
-
import { TransactionDownPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-down-payment-info.bo";
|
|
8
7
|
import { PaymentViewmodel } from "../model/payment.viewmodel";
|
|
9
8
|
import { SharedService } from "./shared.service";
|
|
9
|
+
import { TransactionDepositPaymentInfo } from "@colijnit/transactionapi/build/model/transaction-deposit-payment-info.bo";
|
|
10
10
|
export declare class PaymentService {
|
|
11
11
|
private _adapterService;
|
|
12
12
|
private _selectMultipleCacheService;
|
|
13
13
|
private _transactionService;
|
|
14
14
|
private _sharedService;
|
|
15
15
|
constructor(_adapterService: TransactionConnectorAdapterService, _selectMultipleCacheService: SelectMultipleCacheService, _transactionService: TransactionService, _sharedService: SharedService);
|
|
16
|
-
|
|
16
|
+
updateHeaderTransactionDepositAmount(uuid: string, amount: number): Promise<boolean>;
|
|
17
17
|
registerSalesOrderPayment(uuid: string, amount: number, currencyId: number, paymentMethod: string, cashRegisterGroupId: number): Promise<boolean>;
|
|
18
18
|
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
19
19
|
getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
|
|
20
|
-
|
|
20
|
+
getDepositPaymentInfo(uuid: string): Promise<TransactionDepositPaymentInfo>;
|
|
21
21
|
getPaymentMethods(): Promise<PaymentMethod[]>;
|
|
22
22
|
getPaymentMethodsViewModels(): Promise<PaymentViewmodel[]>;
|
|
23
23
|
}
|