@colijnit/transaction 12.1.98 → 12.1.100
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 +858 -563
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +156 -151
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +157 -152
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +12 -9
- package/esm2015/lib/component/checkout/checkout.component.js +14 -9
- package/esm2015/lib/component/core/base/transaction-base.component.js +21 -12
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-branch/dialog-transaction-header-branch.component.js +47 -0
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-branch/dialog-transaction-header-branch.module.js +28 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +4 -3
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +19 -8
- package/esm2015/lib/component/payment/payment.component.js +9 -9
- 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 +34 -32
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +30 -12
- package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +8 -10
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +5 -5
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +19 -17
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +7 -7
- 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-branch.component.js +18 -10
- 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-line/transaction-base-line/transaction-base-line.component.js +29 -47
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +13 -6
- 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-text-line/transaction-text-line.component.js +37 -0
- package/esm2015/lib/component/transaction-line/transaction-text-line/transaction-text-line.module.js +21 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +19 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.module.js +9 -8
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +8 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.module.js +9 -8
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat-button.component.js +22 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +15 -8
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +5 -8
- 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-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +10 -19
- 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 +16 -15
- package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.module.js +8 -6
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/dialog.service.js +16 -35
- package/esm2015/lib/service/payment.service.js +8 -21
- package/esm2015/lib/service/pending-reason.service.js +12 -12
- package/esm2015/lib/service/transaction-base.service.js +36 -25
- package/esm2015/lib/service/transaction-connector-adapter.service.js +66 -54
- package/esm2015/lib/service/transaction-connector.service.js +31 -24
- package/esm2015/lib/service/transaction.service.js +82 -38
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +624 -387
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/add-product/style/_layout.scss +0 -10
- package/lib/component/add-product/style/_theme.scss +10 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +13 -13
- package/lib/component/checkout/checkout.component.d.ts +13 -12
- package/lib/component/core/base/transaction-base.component.d.ts +13 -12
- package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/dialog-transaction-header-branch.component.d.ts +8 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/dialog-transaction-header-branch.module.d.ts +2 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_layout.scss +7 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_material-definition.scss +2 -0
- 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 +8 -3
- package/lib/component/payment/payment.component.d.ts +9 -9
- 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/style/material.scss +1 -0
- package/lib/component/transaction/transaction.component.d.ts +14 -14
- package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +12 -8
- package/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.d.ts +6 -7
- 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-relation/transaction-header-relation.component.d.ts +8 -8
- package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +10 -6
- 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-line/transaction-base-line/style/_layout.scss +0 -10
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +6 -7
- 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/transaction-text-line/style/_layout.scss +22 -0
- package/lib/component/transaction-line/transaction-text-line/style/_material-definition.scss +2 -0
- package/lib/component/transaction-line/transaction-text-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-text-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-text-line/transaction-text-line.component.d.ts +11 -0
- package/lib/component/transaction-line/transaction-text-line/transaction-text-line.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +6 -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-button.component.d.ts +5 -3
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +5 -4
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +4 -5
- package/lib/component/transaction-lines/style/material.scss +1 -0
- package/lib/component/transaction-print-package-sticker/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +0 -9
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +9 -10
- package/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/style/_layout.scss +0 -9
- 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 +13 -0
- package/lib/service/dialog.service.d.ts +10 -13
- package/lib/service/payment.service.d.ts +9 -10
- package/lib/service/pending-reason.service.d.ts +4 -4
- package/lib/service/transaction-base.service.d.ts +25 -20
- package/lib/service/transaction-connector-adapter.service.d.ts +83 -83
- package/lib/service/transaction-connector.service.d.ts +78 -78
- package/lib/service/transaction.service.d.ts +67 -65
- package/package.json +3 -3
- package/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +0 -53
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
@include export-module('co-add-product-layout') {
|
|
2
2
|
.co-add-product {
|
|
3
|
-
&.return {
|
|
4
|
-
.input-text-left-icon {
|
|
5
|
-
svg { // for fontawesome icons
|
|
6
|
-
fill: $tp-add-product-return-color;
|
|
7
|
-
}
|
|
8
|
-
& [fill] { // for own icons
|
|
9
|
-
fill: $tp-add-product-return-color;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
3
|
}
|
|
14
4
|
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
@include export-module('co-add-product-theme') {
|
|
2
2
|
.co-add-product {
|
|
3
|
+
&.return {
|
|
4
|
+
.input-text-left-icon {
|
|
5
|
+
svg { // for fontawesome icons
|
|
6
|
+
fill: $tp-add-product-return-color;
|
|
7
|
+
}
|
|
8
|
+
& [fill] { // for own icons
|
|
9
|
+
fill: $tp-add-product-return-color;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
3
13
|
}
|
|
4
14
|
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -52,6 +52,7 @@ export declare abstract class TransactionBaseComponent {
|
|
|
52
52
|
private _selected;
|
|
53
53
|
constructor(dictionaryService: DictionaryService, transactionService: TransactionService);
|
|
54
54
|
handleCommit(value: any): Promise<boolean>;
|
|
55
|
+
deleteTransactionLineClick(event: MouseEvent): Promise<void>;
|
|
55
56
|
protected commit(value: any): Promise<boolean>;
|
|
56
57
|
protected transactionSet(): void;
|
|
57
58
|
protected relationSet(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppPopupButtonType } from '../../../core/enum/app-popup-button-type.enum';
|
|
2
|
+
import { DialogTransactionBaseComponent } from '../../../core/base/dialog-transaction-base.component';
|
|
3
|
+
export declare class DialogTransactionHeaderBranchComponent extends DialogTransactionBaseComponent {
|
|
4
|
+
readonly buttonType: typeof AppPopupButtonType;
|
|
5
|
+
showClass(): boolean;
|
|
6
|
+
handleValueChange(value: any): void;
|
|
7
|
+
handleOkClick(): void;
|
|
8
|
+
}
|
package/lib/component/dialog/transaction-header/dialog-transaction-header-branch/style/_layout.scss
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
@include export-module('co-dialog-transaction-header-branch-layout') {
|
|
2
2
|
.co-dialog-transaction-header-branch {
|
|
3
|
+
.co-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
4
|
+
min-width: $tp-dialog-transaction-header-branch-min-width;
|
|
5
|
+
}
|
|
6
|
+
.co-dialog .dialog-content {
|
|
7
|
+
max-height: $tp-dialog-transaction-header-branch-height;
|
|
8
|
+
height: $tp-dialog-transaction-header-branch-height;
|
|
9
|
+
}
|
|
3
10
|
}
|
|
4
11
|
}
|
|
@@ -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,12 +1,17 @@
|
|
|
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;
|
|
6
|
+
showClass(): boolean;
|
|
3
7
|
quantity: number;
|
|
4
8
|
commissionCode: string;
|
|
5
|
-
warehouse:
|
|
6
|
-
showClass(): boolean;
|
|
9
|
+
warehouse: number;
|
|
7
10
|
handleQuantityChange(value: any): void;
|
|
8
11
|
handleCommissionCodeChange(value: any): void;
|
|
9
12
|
handleWarehouseChange(value: any): void;
|
|
10
13
|
handleOkClick(): void;
|
|
11
14
|
handleDialogClose(): void;
|
|
15
|
+
handleClose(type: AppPopupButtonType): void;
|
|
16
|
+
protected transactionLineSet(): void;
|
|
12
17
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { TransactionService } from
|
|
4
|
-
import { CashRegister } from
|
|
5
|
-
import { PaymentService } from
|
|
6
|
-
import { SharedService } from
|
|
7
|
-
import { PaymentMethod } from
|
|
8
|
-
import { PaymentViewmodel } from
|
|
9
|
-
import { DepositPaymentViewModel } from
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../enum/icon.enum';
|
|
3
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
4
|
+
import { CashRegister } from '@colijnit/transactionapi/build/model/cash-register';
|
|
5
|
+
import { PaymentService } from '../../service/payment.service';
|
|
6
|
+
import { SharedService } from '../../service/shared.service';
|
|
7
|
+
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
8
|
+
import { PaymentViewmodel } from '../../model/payment.viewmodel';
|
|
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;
|
|
@@ -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;
|
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
@import "../../transaction-button-bar/style/material";
|
|
10
10
|
@import "../../transaction-line-side-panel/style/material";
|
|
11
11
|
@import "../../dialog/transaction-header/dialog-transaction-header-delivery-method/style/material";
|
|
12
|
+
@import "../../dialog/transaction-header/dialog-transaction-header-branch/style/material";
|
|
12
13
|
@import "../../transaction-line-checkbox-list/style/material";
|
|
13
14
|
@import "../../transaction-card/transaction-card/style/material";
|
|
@@ -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,19 +1,23 @@
|
|
|
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
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
7
8
|
export declare class TransactionButtonBarComponent {
|
|
9
|
+
private _transactionService;
|
|
8
10
|
private _mappingService;
|
|
11
|
+
get selectedCategory(): TransactionTypeCategory;
|
|
12
|
+
set selectedCategory(value: TransactionTypeCategory);
|
|
9
13
|
set transactionType(value: TransactionKind);
|
|
10
14
|
get transactionType(): TransactionKind;
|
|
11
15
|
transactionInfoResponse: TransactionInfoResponse;
|
|
12
|
-
|
|
16
|
+
private _selectedCategory;
|
|
13
17
|
buttonClicked: EventEmitter<TransactionBarButton>;
|
|
14
18
|
showClass(): boolean;
|
|
15
19
|
buttons: TransactionBarButton[];
|
|
16
20
|
private _transactionType;
|
|
17
|
-
constructor(_mappingService: TransactionMappingService);
|
|
21
|
+
constructor(_transactionService: TransactionService, _mappingService: TransactionMappingService);
|
|
18
22
|
selectCategory(idx: number): void;
|
|
19
23
|
}
|
|
@@ -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;
|
|
@@ -19,6 +19,5 @@ export declare class TransactionCardHeaderComponent extends TransactionBaseCompo
|
|
|
19
19
|
showClass(): boolean;
|
|
20
20
|
constructor(dictionaryService: DictionaryService, iconCacheService: IconCacheService, transactionService: TransactionService, _imageService: TransactionImageService);
|
|
21
21
|
ngAfterViewInit(): void;
|
|
22
|
-
deleteTransactionLineClick(): void;
|
|
23
22
|
private _loadLineImage;
|
|
24
23
|
}
|
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,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,9 +1,9 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { TransactionService } from
|
|
3
|
-
import { BranchLov } from
|
|
4
|
-
import { RelationSmallObject } from
|
|
5
|
-
import { RelationService } from
|
|
6
|
-
import { TransactionFilterPopupBaseComponent } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
3
|
+
import { BranchLov } from '@colijnit/relationapi/build/model/branch-lov.bo';
|
|
4
|
+
import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-small-object.bo';
|
|
5
|
+
import { RelationService } from '../../service/relation.service';
|
|
6
|
+
import { TransactionFilterPopupBaseComponent } from '../core/base/transaction-filter-popup-base.component';
|
|
7
7
|
import { DictionaryService } from '../../service/dictionary.service';
|
|
8
8
|
export declare class TransactionHeaderBranchComponent extends TransactionFilterPopupBaseComponent<BranchLov> implements OnInit {
|
|
9
9
|
protected dictionaryService: DictionaryService;
|
|
@@ -12,8 +12,12 @@ export declare class TransactionHeaderBranchComponent extends TransactionFilterP
|
|
|
12
12
|
simple: boolean;
|
|
13
13
|
fields: Object;
|
|
14
14
|
branchModel: number;
|
|
15
|
+
protected codeField: string;
|
|
16
|
+
protected checkField: string;
|
|
17
|
+
protected propsForLabel: string[];
|
|
15
18
|
constructor(dictionaryService: DictionaryService, transactionService: TransactionService, _relationService: RelationService);
|
|
16
19
|
ngOnInit(): void;
|
|
17
20
|
commit(branch: number | RelationSmallObject): Promise<boolean>;
|
|
21
|
+
protected transactionSet(): void;
|
|
18
22
|
protected transactionInfoSet(): void;
|
|
19
23
|
}
|
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;
|
|
@@ -8,16 +8,6 @@
|
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: row;
|
|
10
10
|
}
|
|
11
|
-
.transaction-line-delete {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-basis: 50px;
|
|
14
|
-
.delete-wrapper {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: row;
|
|
18
|
-
align-items: center;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
11
|
.transaction-line-checkbox {
|
|
22
12
|
place-self: center;
|
|
23
13
|
}
|
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;
|
|
@@ -20,7 +20,6 @@ export declare class TransactionBaseLineComponent extends TransactionBaseCompone
|
|
|
20
20
|
showClass(): boolean;
|
|
21
21
|
constructor(dictionaryService: DictionaryService, iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
|
-
deleteTransactionLineClick(event: MouseEvent): Promise<void>;
|
|
24
23
|
handleShowSidePanel(line: TransactionLineInfo): void;
|
|
25
24
|
onDescriptionDblClick(): void;
|
|
26
25
|
}
|
|
@@ -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
|
}
|