@colijnit/transaction 12.1.99 → 12.1.101
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 +392 -249
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +68 -67
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +69 -68
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +11 -8
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +7 -5
- package/esm2015/lib/component/checkout/checkout.component.js +14 -9
- package/esm2015/lib/component/core/base/transaction-base.component.js +12 -12
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +6 -5
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +3 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +12 -5
- package/esm2015/lib/component/payment/payment.component.js +63 -15
- package/esm2015/lib/component/relation/relation-address-tile/relation-address-tile.component.js +11 -7
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +10 -9
- package/esm2015/lib/component/tile/tile.component.js +5 -3
- package/esm2015/lib/component/transaction/transaction.component.js +11 -18
- package/esm2015/lib/component/transaction/transaction.module.js +31 -31
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +18 -10
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +2 -2
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.module.js +9 -11
- package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +7 -7
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +4 -4
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +8 -8
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +10 -8
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +24 -18
- package/esm2015/lib/component/transaction-header-fields/transaction-header-currency.component.js +9 -8
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.js +6 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.js +6 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-price-kind.component.js +9 -8
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +6 -6
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.module.js +10 -11
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.module.js +13 -14
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +6 -6
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.module.js +5 -7
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.module.js +3 -4
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +47 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +4 -44
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +12 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +4 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.module.js +6 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +6 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.module.js +6 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +4 -4
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +4 -1
- package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +2 -2
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.module.js +4 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +8 -10
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +15 -19
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.module.js +13 -11
- package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.component.js +11 -11
- package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.module.js +5 -5
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/dialog.service.js +3 -2
- package/esm2015/lib/service/payment.service.js +32 -31
- package/esm2015/lib/service/pending-reason.service.js +12 -12
- package/esm2015/lib/service/transaction-connector-adapter.service.js +79 -54
- package/esm2015/lib/service/transaction-connector.service.js +21 -29
- package/esm2015/lib/service/transaction.service.js +6 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +246 -141
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +13 -13
- package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts +6 -6
- package/lib/component/checkout/checkout.component.d.ts +13 -12
- package/lib/component/core/base/transaction-base.component.d.ts +12 -12
- package/lib/component/deposit-payment/deposit-payment.component.d.ts +5 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.d.ts +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.d.ts +5 -1
- package/lib/component/payment/payment.component.d.ts +4 -0
- package/lib/component/payment/style/_layout.scss +6 -0
- package/lib/component/payment/style/_material-definition.scss +5 -0
- package/lib/component/payment/style/_theme.scss +3 -0
- package/lib/component/relation/relation-address-tile/relation-address-tile.component.d.ts +4 -3
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +7 -7
- package/lib/component/tile/tile.component.d.ts +2 -1
- package/lib/component/transaction/transaction.component.d.ts +14 -14
- package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +9 -7
- package/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.d.ts +6 -6
- package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +3 -3
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +4 -4
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +7 -7
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +8 -8
- package/lib/component/transaction-header-fields/transaction-header-currency.component.d.ts +5 -5
- package/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.d.ts +3 -3
- package/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.d.ts +3 -3
- package/lib/component/transaction-header-fields/transaction-header-price-kind.component.d.ts +5 -5
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +6 -6
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +0 -1
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +5 -5
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.d.ts +22 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +2 -21
- package/lib/component/transaction-line/transaction-receive-goods-line/style/material.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +4 -4
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +4 -4
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +4 -4
- package/lib/component/transaction-print-package-sticker/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +8 -8
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/style/_material-definition.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.d.ts +10 -10
- package/lib/component/transaction-send-documents/transaction-send-documents.component.d.ts +9 -9
- package/lib/res/dictionary/dictionaries.d.ts +1 -0
- package/lib/service/dialog.service.d.ts +2 -1
- package/lib/service/payment.service.d.ts +17 -13
- package/lib/service/pending-reason.service.d.ts +4 -4
- package/lib/service/transaction-connector-adapter.service.d.ts +85 -82
- package/lib/service/transaction-connector.service.d.ts +75 -77
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { FormMasterService } from
|
|
3
|
-
import { Marketing } from
|
|
4
|
-
import { DeliveryMethod } from
|
|
5
|
-
import { DeliveryOption } from
|
|
6
|
-
import { TransactionService } from
|
|
7
|
-
import { TextValueContainer } from
|
|
8
|
-
import { DictionaryService } from
|
|
9
|
-
import { TransactionInfoResponse } from
|
|
10
|
-
import { Icon } from
|
|
11
|
-
import { IconCacheService } from
|
|
12
|
-
import { Address } from
|
|
13
|
-
import { GenderType } from
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
3
|
+
import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
|
|
4
|
+
import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
|
|
5
|
+
import { DeliveryOption } from '@colijnit/transactionapi/build/model/delivery-option.bo';
|
|
6
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
7
|
+
import { TextValueContainer } from '../../../model/text-value-container';
|
|
8
|
+
import { DictionaryService } from '../../../service/dictionary.service';
|
|
9
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
10
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
11
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
12
|
+
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
13
|
+
import { GenderType } from '@colijnit/relationapi/build/enum/gender-type.enum';
|
|
14
14
|
export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
15
15
|
private _dictionaryService;
|
|
16
16
|
private _formMasterService;
|
package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { Address } from
|
|
3
|
-
import { TransactionInfoResponse } from
|
|
4
|
-
import { Icon } from
|
|
5
|
-
import { RelationAnyType } from
|
|
6
|
-
import { TransactionService } from
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
3
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
4
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
5
|
+
import { RelationAnyType } from '../../../model/relation-any-type';
|
|
6
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
7
7
|
export declare class CheckoutOverviewPaymentComponent implements OnInit {
|
|
8
8
|
private _transactionService;
|
|
9
9
|
readonly icons: typeof Icon;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { DictionaryService } from
|
|
4
|
-
import { TransactionInfoResponse } from
|
|
5
|
-
import { CheckoutOverviewRelationEditComponent } from
|
|
6
|
-
import { CheckoutOverviewDeliveryEditComponent } from
|
|
7
|
-
import { StepperStepComponent } from
|
|
8
|
-
import { DialogService } from
|
|
9
|
-
import { PaymentComponent } from
|
|
10
|
-
import { StepperComponent } from
|
|
11
|
-
import { TransactionKind } from
|
|
12
|
-
import { RelationKind } from
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { DictionaryService } from '../../service/dictionary.service';
|
|
4
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
5
|
+
import { CheckoutOverviewRelationEditComponent } from './checkout-overview-relation-edit/checkout-overview-relation-edit.component';
|
|
6
|
+
import { CheckoutOverviewDeliveryEditComponent } from './checkout-overview-delivery-edit/checkout-overview-delivery-edit.component';
|
|
7
|
+
import { StepperStepComponent } from '../stepper/component/stepper-step.component';
|
|
8
|
+
import { DialogService } from '../../service/dialog.service';
|
|
9
|
+
import { PaymentComponent } from '../payment/payment.component';
|
|
10
|
+
import { StepperComponent } from '../stepper/stepper.component';
|
|
11
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
12
|
+
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
13
13
|
export declare class CheckoutComponent implements OnInit {
|
|
14
14
|
service: TransactionService;
|
|
15
15
|
private _dictionary;
|
|
@@ -22,6 +22,7 @@ export declare class CheckoutComponent implements OnInit {
|
|
|
22
22
|
checkoutRelation: CheckoutOverviewRelationEditComponent;
|
|
23
23
|
checkoutDelivery: CheckoutOverviewDeliveryEditComponent;
|
|
24
24
|
checkoutPayment: PaymentComponent;
|
|
25
|
+
newTransaction: boolean;
|
|
25
26
|
sellerId: number;
|
|
26
27
|
transactionType: TransactionKind;
|
|
27
28
|
showCreateTransactionButton: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { TransactionService } from
|
|
2
|
-
import { TransactionInfoResponse } from
|
|
3
|
-
import { TransactionInfo } from
|
|
4
|
-
import { TransactionKind } from
|
|
5
|
-
import { TransactionLineInfo } from
|
|
6
|
-
import { TransactionTotal } from
|
|
7
|
-
import { LineOperationStatus } from
|
|
8
|
-
import { RelationKind } from
|
|
9
|
-
import { RelationAnyType } from
|
|
10
|
-
import { RelationNameKind } from
|
|
11
|
-
import { Icon } from
|
|
1
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
2
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
3
|
+
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
4
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
5
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
6
|
+
import { TransactionTotal } from '@colijnit/transactionapi/build/model/transaction-total.bo';
|
|
7
|
+
import { LineOperationStatus } from '@colijnit/transactionapi/build/model/line-operation-status.bo';
|
|
8
|
+
import { RelationKind } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
9
|
+
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
|
|
10
|
+
import { RelationNameKind } from '@colijnit/relationapi/build/enum/relation-name-kind.enum';
|
|
11
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
12
12
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
13
|
-
import { TransactionTypeCategory } from
|
|
13
|
+
import { TransactionTypeCategory } from '../../../enum/transaction-type-category.enum';
|
|
14
14
|
export declare abstract class TransactionBaseComponent {
|
|
15
15
|
protected dictionaryService: DictionaryService;
|
|
16
16
|
protected transactionService: TransactionService;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { DepositPaymentViewModel } from
|
|
3
|
-
import { PaymentViewmodel } from
|
|
4
|
-
import { PaymentService } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DepositPaymentViewModel } from '../../model/deposit-payment-view-model';
|
|
3
|
+
import { PaymentViewmodel } from '../../model/payment.viewmodel';
|
|
4
|
+
import { PaymentService } from '../../service/payment.service';
|
|
5
5
|
export declare class DepositPaymentComponent implements OnInit {
|
|
6
6
|
private _paymentService;
|
|
7
|
+
branch: string;
|
|
7
8
|
transactionUuid: string;
|
|
8
9
|
showClass(): boolean;
|
|
9
10
|
paymentMethods: PaymentViewmodel[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DialogTransactionBaseComponent } from
|
|
1
|
+
import { DialogTransactionBaseComponent } from '../../../core/base/dialog-transaction-base.component';
|
|
2
2
|
export declare class DialogTransactionLineVatComponent extends DialogTransactionBaseComponent {
|
|
3
3
|
showClass(): boolean;
|
|
4
4
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AppPopupButtonType } from '../../../core/enum/app-popup-button-type.enum';
|
|
2
|
+
import { DialogTransactionBaseComponent } from '../../../core/base/dialog-transaction-base.component';
|
|
3
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
2
4
|
export declare class DialogTransactionLineWarehouseCcComponent extends DialogTransactionBaseComponent {
|
|
5
|
+
transactionKind: TransactionKind;
|
|
3
6
|
showClass(): boolean;
|
|
4
7
|
quantity: number;
|
|
5
8
|
commissionCode: string;
|
|
@@ -9,5 +12,6 @@ export declare class DialogTransactionLineWarehouseCcComponent extends DialogTra
|
|
|
9
12
|
handleWarehouseChange(value: any): void;
|
|
10
13
|
handleOkClick(): void;
|
|
11
14
|
handleDialogClose(): void;
|
|
15
|
+
handleClose(type: AppPopupButtonType): void;
|
|
12
16
|
protected transactionLineSet(): void;
|
|
13
17
|
}
|
|
@@ -12,7 +12,9 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
12
12
|
private _sharedService;
|
|
13
13
|
private _paymentService;
|
|
14
14
|
readonly icons: typeof Icon;
|
|
15
|
+
transId: number;
|
|
15
16
|
transactionUuid: string;
|
|
17
|
+
branch: string;
|
|
16
18
|
set amount(value: number);
|
|
17
19
|
get amount(): number;
|
|
18
20
|
currencyId: number;
|
|
@@ -30,6 +32,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
30
32
|
qrCodeImage: string;
|
|
31
33
|
showLoader: boolean;
|
|
32
34
|
amountToPay: number;
|
|
35
|
+
statusMessage: string;
|
|
33
36
|
private _amount;
|
|
34
37
|
private _paymentStatusInterval;
|
|
35
38
|
private _paymentStatusPollIntervalMs;
|
|
@@ -46,6 +49,7 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
46
49
|
private _getDepositPaymentInfo;
|
|
47
50
|
private _dataUriToBase64;
|
|
48
51
|
private _waitForPaymentStatus;
|
|
52
|
+
private _waitForPinPaymentStatus;
|
|
49
53
|
private _clearInterval;
|
|
50
54
|
/**
|
|
51
55
|
*
|
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
.payment-to-pay-button {
|
|
85
85
|
grid-column: 1 / 1;
|
|
86
86
|
grid-row: 3 / 3;
|
|
87
|
+
.payment-error-message {
|
|
88
|
+
margin: $tp-payment-error-margin;
|
|
89
|
+
font-family: $tp-payment-error-font-family;
|
|
90
|
+
font-size: $tp-payment-error-font-size;
|
|
91
|
+
font-style: $tp-payment-error-font-style;
|
|
92
|
+
}
|
|
87
93
|
.co-button {
|
|
88
94
|
justify-content: center;
|
|
89
95
|
border-radius: 5px;
|
|
@@ -18,3 +18,8 @@ $tp-payment-amount-color: rgba(0, 0, 0, 0.5) !default;
|
|
|
18
18
|
$tp-payment-amount-border: 1px solid !default;
|
|
19
19
|
$tp-payment-amount-border-color: $tp-color-border !default;
|
|
20
20
|
$tp-payment-amount-background-color: #dedede5c !default;
|
|
21
|
+
$tp-payment-error-margin: 5px 0 !default;
|
|
22
|
+
$tp-payment-error-font-family: $tp-font-family !default;
|
|
23
|
+
$tp-payment-error-font-size: $tp-font-size !default;
|
|
24
|
+
$tp-payment-error-font-style: italic !default;
|
|
25
|
+
$tp-payment-error-font-color: $tp-color-error !default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { Address } from
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
3
|
+
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
4
4
|
export declare class RelationAddressTileComponent {
|
|
5
5
|
readonly icons: typeof Icon;
|
|
6
6
|
showClass(): boolean;
|
|
7
7
|
address: Address;
|
|
8
8
|
actAsAddTile: boolean;
|
|
9
|
+
readonly: boolean;
|
|
9
10
|
selected: boolean;
|
|
10
11
|
selectedChange: EventEmitter<Address>;
|
|
11
12
|
addAddressClicked: EventEmitter<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { RelationBaseComponent } from
|
|
4
|
-
import { FormMasterService } from
|
|
5
|
-
import { Address } from
|
|
6
|
-
import { AddressType } from
|
|
7
|
-
import { RelationService } from
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
3
|
+
import { RelationBaseComponent } from '../relation-base.component';
|
|
4
|
+
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
5
|
+
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
6
|
+
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
7
|
+
import { RelationService } from '../../../service/relation.service';
|
|
8
8
|
export declare class RelationAddressesComponent extends RelationBaseComponent implements AfterViewInit {
|
|
9
9
|
private _formMasterService;
|
|
10
10
|
private _relationService;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ApplicationRef, OnDestroy, QueryList } from
|
|
2
|
-
import { TransactionInfoResponse } from
|
|
3
|
-
import { TransactionService } from
|
|
4
|
-
import { ContentViewMode } from
|
|
5
|
-
import { Icon } from
|
|
6
|
-
import { IconCacheService } from
|
|
7
|
-
import { TransactionAddTextLineRequest } from
|
|
8
|
-
import { TransactionLineInfo } from
|
|
9
|
-
import { TransactionBarButton } from
|
|
10
|
-
import { TransactionTypeCategory } from
|
|
11
|
-
import { DynamicComponentService } from
|
|
12
|
-
import { TransactionLineSidePanelComponent } from
|
|
13
|
-
import { RelationAnyType } from
|
|
14
|
-
import { TransactionEventService } from
|
|
1
|
+
import { ApplicationRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
3
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
4
|
+
import { ContentViewMode } from '@colijnit/corecomponents_v12';
|
|
5
|
+
import { Icon } from '../../enum/icon.enum';
|
|
6
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
+
import { TransactionAddTextLineRequest } from '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo';
|
|
8
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
9
|
+
import { TransactionBarButton } from '../../model/transaction-bar-button';
|
|
10
|
+
import { TransactionTypeCategory } from '../../enum/transaction-type-category.enum';
|
|
11
|
+
import { DynamicComponentService } from '../../service/dynamic-component.service';
|
|
12
|
+
import { TransactionLineSidePanelComponent } from '../transaction-line-side-panel/transaction-line-side-panel.component';
|
|
13
|
+
import { RelationAnyType } from '../../model/relation-any-type';
|
|
14
|
+
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
15
15
|
export declare class TransactionComponent implements OnDestroy {
|
|
16
16
|
iconCacheService: IconCacheService;
|
|
17
17
|
service: TransactionService;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { TransactionKind } from
|
|
3
|
-
import { TransactionBarButton } from
|
|
4
|
-
import { TransactionMappingService } from
|
|
5
|
-
import { TransactionTypeCategory } from
|
|
6
|
-
import { TransactionInfoResponse } from
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
3
|
+
import { TransactionBarButton } from '../../model/transaction-bar-button';
|
|
4
|
+
import { TransactionMappingService } from '../../service/transaction-mapping.service';
|
|
5
|
+
import { TransactionTypeCategory } from '../../enum/transaction-type-category.enum';
|
|
6
|
+
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
7
7
|
import { TransactionService } from '../../service/transaction.service';
|
|
8
8
|
export declare class TransactionButtonBarComponent {
|
|
9
9
|
private _transactionService;
|
|
10
10
|
private _mappingService;
|
|
11
|
+
get selectedCategory(): TransactionTypeCategory;
|
|
12
|
+
set selectedCategory(value: TransactionTypeCategory);
|
|
11
13
|
set transactionType(value: TransactionKind);
|
|
12
14
|
get transactionType(): TransactionKind;
|
|
13
15
|
transactionInfoResponse: TransactionInfoResponse;
|
|
14
|
-
|
|
16
|
+
private _selectedCategory;
|
|
15
17
|
buttonClicked: EventEmitter<TransactionBarButton>;
|
|
16
18
|
showClass(): boolean;
|
|
17
19
|
buttons: TransactionBarButton[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit } from
|
|
2
|
-
import { IconCacheService } from
|
|
3
|
-
import { Icon } from
|
|
4
|
-
import { TransactionBaseComponent } from
|
|
5
|
-
import { TransactionService } from
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
3
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
4
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
5
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
6
6
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
7
|
-
import { TransactionImageService } from
|
|
7
|
+
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
8
8
|
export declare class TransactionCardHeaderComponent extends TransactionBaseComponent implements AfterViewInit {
|
|
9
9
|
protected dictionaryService: DictionaryService;
|
|
10
10
|
iconCacheService: IconCacheService;
|
package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnDestroy } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { TransactionEventService } from
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
4
4
|
export declare class TransactionCreateDateLabelComponent implements OnDestroy {
|
|
5
5
|
private _transactionService;
|
|
6
6
|
private _transactionEventService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransactionBaseComponent } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { IconCacheService } from
|
|
4
|
-
import { TransactionService } from
|
|
1
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
2
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
4
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
5
5
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
6
6
|
export declare class TransactionHeaderOrderComponent extends TransactionBaseComponent {
|
|
7
7
|
protected dictionaryService: DictionaryService;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TransactionBaseComponent } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { IconCacheService } from
|
|
4
|
-
import { TransactionService } from
|
|
5
|
-
import { PaymentService } from
|
|
6
|
-
import { DepositPaymentViewModel } from
|
|
7
|
-
import { PaymentViewmodel } from
|
|
1
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
2
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
4
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
5
|
+
import { PaymentService } from '../../../service/payment.service';
|
|
6
|
+
import { DepositPaymentViewModel } from '../../../model/deposit-payment-view-model';
|
|
7
|
+
import { PaymentViewmodel } from '../../../model/payment.viewmodel';
|
|
8
8
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
9
9
|
export declare class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
10
10
|
protected dictionaryService: DictionaryService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ElementRef } from
|
|
2
|
-
import { TransactionBaseComponent } from
|
|
3
|
-
import { DictionaryService } from
|
|
4
|
-
import { TransactionService } from
|
|
5
|
-
import { DialogService } from
|
|
6
|
-
import { AddressType } from
|
|
7
|
-
import { RelationService } from
|
|
8
|
-
import { FormMasterService } from
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
3
|
+
import { DictionaryService } from '../../../service/dictionary.service';
|
|
4
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
5
|
+
import { DialogService } from '../../../service/dialog.service';
|
|
6
|
+
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
7
|
+
import { RelationService } from '../../../service/relation.service';
|
|
8
|
+
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
9
9
|
export declare class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
10
10
|
protected dictionaryService: DictionaryService;
|
|
11
11
|
protected readonly service: TransactionService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { RelationService } from
|
|
4
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { RelationService } from '../../service/relation.service';
|
|
4
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
5
5
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
6
6
|
import { Currency } from '@colijnit/mainapi/build/model/currency.bo';
|
|
7
7
|
export declare class TransactionHeaderCurrencyComponent extends TransactionFilterPopupBaseComponent<Currency> implements OnInit {
|
|
@@ -12,5 +12,5 @@ export declare class TransactionHeaderCurrencyComponent extends TransactionFilte
|
|
|
12
12
|
constructor(dictionaryService: DictionaryService, transactionService: TransactionService, _relationService: RelationService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
commitTransactionCurrency(currency: number): Promise<boolean>;
|
|
15
|
-
protected
|
|
15
|
+
protected transactionSet(): void;
|
|
16
16
|
}
|
package/lib/component/transaction-header-fields/transaction-header-deposit-amount.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InputTextComponent } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { TransactionInputFieldBaseComponent } from
|
|
1
|
+
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { TransactionInputFieldBaseComponent } from '../core/base/transaction-input-field-base.component';
|
|
4
4
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
5
5
|
export declare class TransactionHeaderDepositAmountComponent extends TransactionInputFieldBaseComponent {
|
|
6
6
|
protected dictionaryService: DictionaryService;
|
package/lib/component/transaction-header-fields/transaction-header-deposit-percentage.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InputTextComponent } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { TransactionInputFieldBaseComponent } from
|
|
1
|
+
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { TransactionInputFieldBaseComponent } from '../core/base/transaction-input-field-base.component';
|
|
4
4
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
5
5
|
export declare class TransactionHeaderDepositPercentageComponent extends TransactionInputFieldBaseComponent {
|
|
6
6
|
protected dictionaryService: DictionaryService;
|
package/lib/component/transaction-header-fields/transaction-header-price-kind.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { RelationService } from
|
|
4
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { RelationService } from '../../service/relation.service';
|
|
4
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
5
5
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
6
6
|
import { SalesPerson } from '@colijnit/relationapi/build/model/sales-person.bo';
|
|
7
7
|
export declare class TransactionHeaderPriceKindComponent extends TransactionFilterPopupBaseComponent<SalesPerson> implements OnInit {
|
|
@@ -12,5 +12,5 @@ export declare class TransactionHeaderPriceKindComponent extends TransactionFilt
|
|
|
12
12
|
constructor(dictionaryService: DictionaryService, transactionService: TransactionService, _relationService: RelationService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
commitTransactionPriceKind(priceKind: string): Promise<boolean>;
|
|
15
|
-
protected
|
|
15
|
+
protected transactionSet(): void;
|
|
16
16
|
}
|
package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from
|
|
2
|
-
import { IconCacheService } from
|
|
3
|
-
import { TransactionService } from
|
|
4
|
-
import { TransactionLineInfo } from
|
|
5
|
-
import { TransactionEventService } from
|
|
6
|
-
import { TransactionBaseComponent } from
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
3
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
4
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
5
|
+
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
6
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
7
7
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
8
8
|
export declare class TransactionBaseLineComponent extends TransactionBaseComponent implements OnDestroy {
|
|
9
9
|
protected dictionaryService: DictionaryService;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, EventEmitter, Injector, OnChanges, SimpleChanges } from
|
|
2
|
-
import { TransactionTypeCategory } from
|
|
3
|
-
import { TransactionMappingService } from
|
|
4
|
-
import { TransactionBaseComponent } from
|
|
5
|
-
import { TransactionService } from
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, EventEmitter, Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TransactionTypeCategory } from '../../../enum/transaction-type-category.enum';
|
|
3
|
+
import { TransactionMappingService } from '../../../service/transaction-mapping.service';
|
|
4
|
+
import { TransactionBaseComponent } from '../../core/base/transaction-base.component';
|
|
5
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
6
6
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
7
7
|
export declare class TransactionLineComponent extends TransactionBaseComponent implements OnChanges {
|
|
8
8
|
protected dictionaryService: DictionaryService;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
3
|
+
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
4
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
5
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
6
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
7
|
+
import { DictionaryService } from "../../../service/dictionary.service";
|
|
8
|
+
export declare abstract class TransactionPurchaseOrderLineBaseComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
dictionaryService: DictionaryService;
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
11
|
+
protected transactionService: TransactionService;
|
|
12
|
+
private _transactionEventService;
|
|
13
|
+
readonly transactionTypeCategory: typeof TransactionTypeCategory;
|
|
14
|
+
showDialogDiscount: boolean;
|
|
15
|
+
showCheckboxForLine: boolean;
|
|
16
|
+
private _subs;
|
|
17
|
+
constructor(dictionaryService: DictionaryService, iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
protected transactionLineSet(): void;
|
|
21
|
+
handleOpenSidePanel(mouseClick: PointerEvent): void;
|
|
22
|
+
}
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
-
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
5
|
-
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
6
|
-
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
7
|
-
import { DictionaryService } from '../../../service/dictionary.service';
|
|
8
|
-
export declare class TransactionPurchaseOrderLineComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
9
|
-
protected dictionaryService: DictionaryService;
|
|
10
|
-
iconCacheService: IconCacheService;
|
|
11
|
-
protected transactionService: TransactionService;
|
|
12
|
-
private _transactionEventService;
|
|
13
|
-
readonly transactionTypeCategory: typeof TransactionTypeCategory;
|
|
1
|
+
import { TransactionPurchaseOrderLineBaseComponent } from "./transaction-purchase-order-line-base.component";
|
|
2
|
+
export declare class TransactionPurchaseOrderLineComponent extends TransactionPurchaseOrderLineBaseComponent {
|
|
14
3
|
showClass(): boolean;
|
|
15
|
-
showDialogDiscount: boolean;
|
|
16
|
-
showCheckboxForLine: boolean;
|
|
17
|
-
private _subs;
|
|
18
|
-
constructor(dictionaryService: DictionaryService, iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
protected transactionLineSet(): void;
|
|
22
|
-
handleOpenSidePanel(mouseClick: PointerEvent): void;
|
|
23
4
|
}
|
package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { CoDomainValue } from
|
|
4
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
4
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
5
5
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
6
6
|
export declare class TransactionLineCommissionCodeComponent extends TransactionFilterPopupBaseComponent<CoDomainValue> implements OnInit {
|
|
7
7
|
protected dictionaryService: DictionaryService;
|