@colijnit/transaction 12.1.90 → 12.1.92
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 +3339 -3109
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +382 -381
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +383 -382
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +2 -1
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +32 -19
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +10 -4
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +4 -3
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +1 -2
- package/esm2015/lib/component/core/base/dialog-base.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-input-field-base.component.js +5 -3
- package/esm2015/lib/component/core/directive/overlay-parent.directive.js +1 -1
- package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +2 -2
- package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.module.js +4 -2
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +18 -20
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
- package/esm2015/lib/component/payment/payment.component.js +5 -7
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +2 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +26 -7
- package/esm2015/lib/component/relation/relation-base.component.js +3 -1
- package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +5 -2
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
- package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +2 -2
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +5 -5
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +11 -8
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +19 -32
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +6 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.component.js +2 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +4 -4
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +1 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +14 -1
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +3 -2
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +4 -2
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.js +319 -0
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.js +26 -0
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +4 -4
- package/esm2015/lib/component/transaction-tags/transaction-tags.component.js +1 -1
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +3 -3
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +5 -1
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/interface/dialog-response.interface.js +1 -1
- package/esm2015/lib/model/alternate-supplier.viewmodel.js +3 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/dialog.service.js +5 -6
- package/esm2015/lib/service/dynamic-component.service.js +3 -3
- package/esm2015/lib/service/payment.service.js +4 -3
- package/esm2015/lib/service/pending-reason.service.js +13 -447
- package/esm2015/lib/service/relation-connector.service.js +32 -1
- package/esm2015/lib/service/relation.service.js +7 -1
- package/esm2015/lib/service/transaction-base.service.js +474 -0
- package/esm2015/lib/service/transaction-connector-adapter.service.js +4 -21
- package/esm2015/lib/service/transaction-connector.service.js +3 -8
- package/esm2015/lib/service/transaction-mapping.service.js +2 -2
- package/esm2015/lib/service/transaction.service.js +72 -93
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +1479 -1039
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +4 -3
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +2 -1
- package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +3 -0
- package/lib/component/core/base/dialog-base.component.d.ts +1 -1
- package/lib/component/core/base/transaction-input-field-base.component.d.ts +1 -0
- package/lib/component/deposit-payment/deposit-payment.component.d.ts +2 -2
- package/lib/component/deposit-payment/style/_layout.scss +14 -4
- package/lib/component/deposit-payment/style/_material-definition.scss +2 -1
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +1 -1
- package/lib/component/payment/payment.component.d.ts +0 -1
- package/lib/component/quick-send-button/style/_material-definition.scss +1 -1
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +4 -3
- package/lib/component/relation/relation-base.component.d.ts +2 -0
- package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +2 -0
- package/lib/component/toast/style/_material-definition.scss +1 -1
- package/lib/component/transaction-button-bar/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +2 -2
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +1 -0
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +0 -3
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +6 -1
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +0 -2
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +5 -0
- package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -1
- package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +10 -0
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
- package/lib/component/transaction-line-side-panel/style/material.scss +1 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_layout.scss +161 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_theme.scss +6 -0
- package/lib/component/transaction-line-side-panel-article-details/style/material.scss +4 -0
- package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.d.ts +36 -0
- package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +1 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +1 -1
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/interface/dialog-response.interface.d.ts +1 -0
- package/lib/model/alternate-supplier.viewmodel.d.ts +5 -0
- package/lib/res/dictionary/dictionaries.d.ts +7 -0
- package/lib/service/dialog.service.d.ts +1 -1
- package/lib/service/pending-reason.service.d.ts +3 -92
- package/lib/service/relation-connector.service.d.ts +3 -0
- package/lib/service/relation.service.d.ts +3 -0
- package/lib/service/transaction-base.service.d.ts +97 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -4
- package/lib/service/transaction-connector.service.d.ts +2 -4
- package/lib/service/transaction.service.d.ts +7 -8
- package/lib/style/_variables.scss +8 -3
- package/package.json +3 -3
- package/public_api.d.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { TransactionService } from "../../../service/transaction.service";
|
|
3
3
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
4
4
|
import { Icon } from "../../../enum/icon.enum";
|
|
@@ -8,7 +8,7 @@ import { RelationAnyType } from "../../../model/relation-any-type";
|
|
|
8
8
|
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
9
9
|
import { RelationNameKind } from "@colijnit/relationapi/build/enum/relation-name-kind.enum";
|
|
10
10
|
import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
|
|
11
|
-
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
11
|
+
export declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterViewInit {
|
|
12
12
|
private _formMaster;
|
|
13
13
|
service: TransactionService;
|
|
14
14
|
readonly relKind: typeof RelationKind;
|
|
@@ -34,11 +34,12 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
34
34
|
get applicationUser(): boolean;
|
|
35
35
|
constructor(_formMaster: FormMasterService, service: TransactionService);
|
|
36
36
|
ngOnInit(): Promise<void>;
|
|
37
|
+
ngAfterViewInit(): void;
|
|
37
38
|
handleRelationTypeChange(relation: Relation): void;
|
|
38
39
|
handleCustomerGroupChange(group: string): void;
|
|
39
40
|
updateRelation(rel: RelationAnyType): void;
|
|
40
41
|
submit(): boolean;
|
|
41
|
-
|
|
42
|
+
handleDeliveryAddressChange(nawNr: number): void;
|
|
42
43
|
checkSameAddress(checked: boolean): void;
|
|
43
44
|
private _setCountryNameToAddress;
|
|
44
45
|
}
|
|
@@ -10,7 +10,9 @@ export declare class ConfirmationDialogComponent extends DialogBaseComponent {
|
|
|
10
10
|
text: string;
|
|
11
11
|
details: string;
|
|
12
12
|
type: AppPopupType;
|
|
13
|
+
showRememberCheckbox: boolean;
|
|
13
14
|
showClass(): boolean;
|
|
15
|
+
rememberChoice: boolean;
|
|
14
16
|
constructor(iconCacheService: IconCacheService);
|
|
15
17
|
handleYesClick(event: MouseEvent): void;
|
|
16
18
|
handleNoClick(event: MouseEvent): void;
|
package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss
CHANGED
|
@@ -14,8 +14,9 @@ $tp-transaction-header-block-width: 200px !default;
|
|
|
14
14
|
$tp-transaction-header-block-margin: 0 !default;
|
|
15
15
|
$tp-transaction-header-block-padding: 4px 20px !default;
|
|
16
16
|
$tp-transaction-header-block-border: none !default;
|
|
17
|
-
$tp-transaction-header-block-border-radius:
|
|
17
|
+
$tp-transaction-header-block-border-radius: $tp-default-border-radius !default;
|
|
18
18
|
$tp-transaction-header-block-border-color: $tp-color-border !default;
|
|
19
19
|
$tp-transaction-header-block-border-width: 1px !default;
|
|
20
20
|
$tp-transaction-header-block-background: white !default;
|
|
21
21
|
$tp-transaction-header-block-line-height: 20px !default;
|
|
22
|
+
$tp-transaction-header-block-hover-background: rgba($tp-color-action, 0.05) !default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AppPopupButtonType } from "../enum/app-popup-button-type.enum";
|
|
2
2
|
export declare abstract class DialogBaseComponent {
|
|
3
|
-
onClose(eventType: AppPopupButtonType, output?: any): void;
|
|
3
|
+
onClose(eventType: AppPopupButtonType, output?: any, rememberChoice?: boolean): void;
|
|
4
4
|
}
|
|
@@ -3,6 +3,7 @@ import { TransactionService } from "../../../service/transaction.service";
|
|
|
3
3
|
export declare abstract class TransactionInputFieldBaseComponent extends TransactionBaseComponent {
|
|
4
4
|
protected transactionService: TransactionService;
|
|
5
5
|
showLabel: boolean;
|
|
6
|
+
showLabelBefore: boolean;
|
|
6
7
|
defaultEditMode: boolean;
|
|
7
8
|
set editMode(value: boolean);
|
|
8
9
|
get editMode(): boolean;
|
|
@@ -5,10 +5,10 @@ import { PaymentService } from "../../service/payment.service";
|
|
|
5
5
|
export declare class DepositPaymentComponent implements OnInit {
|
|
6
6
|
private _paymentService;
|
|
7
7
|
transactionUuid: string;
|
|
8
|
-
depositPayments: DepositPaymentViewModel[];
|
|
9
|
-
showLoader: boolean;
|
|
10
8
|
showClass(): boolean;
|
|
11
9
|
paymentMethods: PaymentViewmodel[];
|
|
10
|
+
depositPayments: DepositPaymentViewModel[];
|
|
11
|
+
showLoader: boolean;
|
|
12
12
|
constructor(_paymentService: PaymentService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
private _getDepositPaymentInfo;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
@include export-module('co-deposit-payment-layout') {
|
|
2
2
|
.co-deposit-payment {
|
|
3
|
-
position: relative;
|
|
4
3
|
font-family: $tp-down-payment-font-family;
|
|
5
4
|
font-size: $tp-down-payment-font-size;
|
|
6
5
|
display: flex;
|
|
7
6
|
flex-direction: column;
|
|
8
7
|
row-gap: $tp-down-payment-row-gap;
|
|
8
|
+
.co-payment-tile {
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
9
11
|
.co-tile {
|
|
10
12
|
.co-tile-wrapper {
|
|
11
13
|
border: none;
|
|
@@ -25,6 +27,10 @@
|
|
|
25
27
|
transform: translate(-50%, -50%);
|
|
26
28
|
}
|
|
27
29
|
.down-payment-payments-wrapper {
|
|
30
|
+
position: relative;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
align-items: center;
|
|
28
34
|
padding: $tp-down-payment-payments-padding;
|
|
29
35
|
background-color: $tp-down-payment-payments-background-color;
|
|
30
36
|
border-style: $tp-down-payment-payments-border-style;
|
|
@@ -32,8 +38,12 @@
|
|
|
32
38
|
border-width: $tp-down-payment-payments-border-width;
|
|
33
39
|
border-radius: $tp-down-payment-payments-border-radius;
|
|
34
40
|
}
|
|
41
|
+
.deposit-payment-spacer {
|
|
42
|
+
width: $tp-down-payment-amount-spacer-width;
|
|
43
|
+
}
|
|
35
44
|
.down-payment-payments {
|
|
36
45
|
display: flex;
|
|
46
|
+
width: 100%;
|
|
37
47
|
height: $tp-down-payment-payments-height;
|
|
38
48
|
padding: $tp-down-payment-payment-padding;
|
|
39
49
|
border-style: $tp-down-payment-payment-border-style;
|
|
@@ -46,9 +56,9 @@
|
|
|
46
56
|
}
|
|
47
57
|
.down-payment-amount-wrapper {
|
|
48
58
|
display: flex;
|
|
49
|
-
flex-direction:
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
flex-direction: row;
|
|
60
|
+
width: 100%;
|
|
61
|
+
justify-content: space-between;
|
|
52
62
|
.down-payment-amount {
|
|
53
63
|
font-size: $tp-down-payment-amount-font-size;
|
|
54
64
|
font-weight: $tp-down-payment-amount-font-weight;
|
|
@@ -11,7 +11,8 @@ $tp-down-payment-payments-border-radius: 5px !default;
|
|
|
11
11
|
$tp-down-payment-amount-font-size: $tp-font-size !default;
|
|
12
12
|
$tp-down-payment-amount-font-weight: bold !default;
|
|
13
13
|
$tp-down-payment-amount-row-gap: 10px !default;
|
|
14
|
-
$tp-down-payment-
|
|
14
|
+
$tp-down-payment-amount-spacer-width: $tp-down-payment-amount-row-gap !default;
|
|
15
|
+
$tp-down-payment-date-font-size: $tp-font-size !default;
|
|
15
16
|
$tp-down-payment-date-font-weight: normal !default;
|
|
16
17
|
$tp-down-payment-payment-padding: 0 20px !default;
|
|
17
18
|
$tp-down-payment-payment-border-style: solid !default;
|
|
@@ -3,7 +3,7 @@ $tp-dialog-transaction-discount-row-gap: 20px !default;
|
|
|
3
3
|
$tp-dialog-transaction-discount-height: 500px !default;
|
|
4
4
|
$tp-dialog-transaction-discount-overview-border: 1px solid !default;
|
|
5
5
|
$tp-dialog-transaction-discount-overview-border-color: $tp-color-border !default;
|
|
6
|
-
$tp-dialog-transaction-discount-overview-border-radius:
|
|
6
|
+
$tp-dialog-transaction-discount-overview-border-radius: $tp-default-border-radius !default;
|
|
7
7
|
$tp-dialog-transaction-discount-overview-margin: 15px 0 0 0 !default;
|
|
8
8
|
$tp-dialog-transaction-discount-total-font-size: 13px !default;
|
|
9
9
|
$tp-dialog-transaction-discount-total-font-weight: bold !default;
|
|
@@ -3,7 +3,7 @@ $tp-dialog-transaction-line-discount-row-gap: 20px !default;
|
|
|
3
3
|
$tp-dialog-transaction-line-discount-height: 500px !default;
|
|
4
4
|
$tp-dialog-transaction-line-discount-overview-border: 1px solid !default;
|
|
5
5
|
$tp-dialog-transaction-line-discount-overview-border-color: $tp-color-border !default;
|
|
6
|
-
$tp-dialog-transaction-line-discount-overview-border-radius:
|
|
6
|
+
$tp-dialog-transaction-line-discount-overview-border-radius: $tp-default-border-radius !default;
|
|
7
7
|
$tp-dialog-transaction-line-discount-overview-margin: 15px 0 0 0 !default;
|
|
8
8
|
$tp-dialog-transaction-line-discount-total-font-size: 13px !default;
|
|
9
9
|
$tp-dialog-transaction-line-discount-total-font-weight: bold !default;
|
|
@@ -29,7 +29,6 @@ export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
currentPaymentMethod: PaymentMethod;
|
|
30
30
|
qrCodeImage: string;
|
|
31
31
|
showLoader: boolean;
|
|
32
|
-
showLoaderDepositPayments: boolean;
|
|
33
32
|
amountToPay: number;
|
|
34
33
|
private _amount;
|
|
35
34
|
private _paymentStatusInterval;
|
|
@@ -2,7 +2,7 @@ $tp-co-quick-send-button-height: 32px !default;
|
|
|
2
2
|
$tp-co-quick-send-button-column-gap: 5px !default;
|
|
3
3
|
$tp-co-quick-send-button-align-items: flex-start !default;
|
|
4
4
|
$tp-co-quick-send-button-background-color: white !default;
|
|
5
|
-
$tp-co-quick-send-button-border-radius:
|
|
5
|
+
$tp-co-quick-send-button-border-radius: $tp-default-border-radius !default;
|
|
6
6
|
$tp-co-quick-send-button-padding: 5px 10px !default;
|
|
7
7
|
$tp-co-quick-send-button-font-size: $tp-font-size-small !default;
|
|
8
8
|
$tp-co-quick-send-button-disabled-opacity: 0.5 !default;
|
|
@@ -4,8 +4,10 @@ import { RelationBaseComponent } from "../relation-base.component";
|
|
|
4
4
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
5
5
|
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
6
6
|
import { AddressType } from "@colijnit/relationapi/build/enum/address-type.enum";
|
|
7
|
+
import { RelationService } from "../../../service/relation.service";
|
|
7
8
|
export declare class RelationAddressesComponent extends RelationBaseComponent {
|
|
8
9
|
private _formMasterService;
|
|
10
|
+
private _relationService;
|
|
9
11
|
readonly icons: typeof Icon;
|
|
10
12
|
readonly: boolean;
|
|
11
13
|
addresses: Address[];
|
|
@@ -13,14 +15,13 @@ export declare class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
13
15
|
type: AddressType;
|
|
14
16
|
selectedNawNr: number;
|
|
15
17
|
selectedNawNrChange: EventEmitter<number>;
|
|
16
|
-
addressSaved: EventEmitter<Address>;
|
|
17
18
|
showClass(): boolean;
|
|
18
19
|
showEditAddressDialog: boolean;
|
|
19
20
|
addressToEdit: Address;
|
|
20
21
|
private _boFactory;
|
|
21
|
-
constructor(_formMasterService: FormMasterService);
|
|
22
|
+
constructor(_formMasterService: FormMasterService, _relationService: RelationService);
|
|
22
23
|
submitForm(): void;
|
|
23
|
-
saveAddress(address: Address): void
|
|
24
|
+
saveAddress(address: Address): Promise<void>;
|
|
24
25
|
showNewAddressDialog(): void;
|
|
25
26
|
changeAddress(address: Address): void;
|
|
26
27
|
editAddress(addr: Address): void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { CustomerFullObject } from "@colijnit/relationapi/build/model/customer-full-object.bo";
|
|
3
3
|
import { RelationAnyType } from "@colijnit/relationapi/build/model/relation-any-type";
|
|
4
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
4
5
|
export declare abstract class RelationBaseComponent {
|
|
6
|
+
readonly relKind: typeof RelationKind;
|
|
5
7
|
set relation(value: RelationAnyType);
|
|
6
8
|
get relation(): RelationAnyType;
|
|
7
9
|
relationChange: EventEmitter<RelationAnyType>;
|
package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ContactOption } from "@colijnit/relationapi/build/model/contact-option.bo";
|
|
2
2
|
import { RelationBaseComponent } from "../relation-base.component";
|
|
3
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
3
4
|
export declare class RelationContactDetailsComponent extends RelationBaseComponent {
|
|
4
5
|
readonly: boolean;
|
|
6
|
+
relationKind: RelationKind;
|
|
5
7
|
showClass(): boolean;
|
|
6
8
|
emailAddress: ContactOption;
|
|
7
9
|
phoneNumber: ContactOption;
|
|
@@ -3,4 +3,4 @@ $tp-co-toast-font-size: $tp-font-size !default;
|
|
|
3
3
|
$tp-co-toast-font-color: white !default;
|
|
4
4
|
$tp-co-toast-background-color: $tp-color-active-light !default;
|
|
5
5
|
$tp-co-toast-padding: 20px !default;
|
|
6
|
-
$tp-co-toast-border-radius:
|
|
6
|
+
$tp-co-toast-border-radius: $tp-default-border-radius !default;
|
|
@@ -2,7 +2,7 @@ $tp-co-transaction-button-bar-font-family: $tp-font-family !default;
|
|
|
2
2
|
$tp-co-transaction-button-bar-font-size: $tp-font-size !default;
|
|
3
3
|
$tp-co-transaction-button-bar-button-size: 65px !default;
|
|
4
4
|
$tp-co-transaction-button-bar-button-background-color: white !default;
|
|
5
|
-
$tp-co-transaction-button-bar-button-border-radius:
|
|
5
|
+
$tp-co-transaction-button-bar-button-border-radius: $tp-default-border-radius !default;
|
|
6
6
|
$tp-co-transaction-button-bar-button-padding: 5px !default;
|
|
7
7
|
$tp-co-transaction-button-bar-button-selected-box-shadow: 0 0 0 1px $tp-color-action inset !default;
|
|
8
8
|
$tp-co-transaction-button-bar-button-selected-box-border: none !default;
|
package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss
CHANGED
|
@@ -3,7 +3,7 @@ $tp-transaction-header-delivery-planning-request-button-size: $tp-default-button
|
|
|
3
3
|
$tp-transaction-header-delivery-planning-request-button-color: $tp-color-active !default;
|
|
4
4
|
$tp-transaction-header-delivery-planning-request-button-border: 1px solid !default;
|
|
5
5
|
$tp-transaction-header-delivery-planning-request-button-border-color: $tp-color-border !default;
|
|
6
|
-
$tp-transaction-header-delivery-planning-request-button-border-radius:
|
|
6
|
+
$tp-transaction-header-delivery-planning-request-button-border-radius: $tp-default-border-radius !default;
|
|
7
7
|
$tp-transaction-header-delivery-planning-request-button-padding: 5px !default;
|
|
8
8
|
$tp-transaction-header-delivery-definitive-button-color: $tp-color-active-light !default;
|
|
9
9
|
$tp-transaction-header-delivery-delivery-method-font-size: $tp-font-size !default;
|
|
@@ -11,6 +11,6 @@ $tp-transaction-header-delivery-delivery-method-background-color: $tp-default-ba
|
|
|
11
11
|
$tp-transaction-header-delivery-delivery-method-height: $tp-default-button-height !default;
|
|
12
12
|
$tp-transaction-header-delivery-delivery-method-border: 1px solid !default;
|
|
13
13
|
$tp-transaction-header-delivery-delivery-method-border-color: $tp-color-border !default;
|
|
14
|
-
$tp-transaction-header-delivery-delivery-method-border-radius:
|
|
14
|
+
$tp-transaction-header-delivery-delivery-method-border-radius: $tp-default-border-radius !default;
|
|
15
15
|
$tp-transaction-header-delivery-delivery-truck-color: $tp-color-font !default;
|
|
16
16
|
$tp-transaction-header-delivery-delivery-method-padding: 5px 10px !default;
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
display: flex;
|
|
21
21
|
column-gap: 10px;
|
|
22
22
|
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
23
24
|
font-size: $tp-transaction-header-order-discount-font-size;
|
|
24
25
|
border-style: $tp-transaction-header-order-discount-border-style;
|
|
25
26
|
border-width: $tp-transaction-header-order-discount-border-width;
|
package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss
CHANGED
|
@@ -8,6 +8,6 @@ $tp-transaction-header-order-discount-height: $tp-default-button-height !default
|
|
|
8
8
|
$tp-transaction-header-order-discount-border-style: solid !default;
|
|
9
9
|
$tp-transaction-header-order-discount-border-width: 1px !default;
|
|
10
10
|
$tp-transaction-header-order-discount-border-color: $tp-color-border !default;
|
|
11
|
-
$tp-transaction-header-order-discount-border-radius:
|
|
11
|
+
$tp-transaction-header-order-discount-border-radius: $tp-default-border-radius !default;
|
|
12
12
|
$tp-transaction-header-order-discount-padding: 5px 10px !default;
|
|
13
13
|
$tp-transaction-header-order-discount-icon-color: $tp-color-font !default;
|
package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss
CHANGED
|
@@ -4,7 +4,7 @@ $tp-transaction-header-block-payment-balance-padding: 5px 10px !default;
|
|
|
4
4
|
$tp-transaction-header-block-payment-balance-border-style: solid !default;
|
|
5
5
|
$tp-transaction-header-block-payment-balance-border-color: $tp-color-border !default;
|
|
6
6
|
$tp-transaction-header-block-payment-balance-border-width: 1px !default;
|
|
7
|
-
$tp-transaction-header-block-payment-balance-border-radius:
|
|
7
|
+
$tp-transaction-header-block-payment-balance-border-radius: $tp-default-border-radius !default;
|
|
8
8
|
$tp-transaction-header-block-payment-balance-paid-color: #FF4141 !default;
|
|
9
9
|
$tp-transaction-header-block-payment-balance-paid-color-success: $tp-color-active-light !default;
|
|
10
10
|
$tp-transaction-header-block-payment-balance-icon-size: 17px !default;
|
|
@@ -3,18 +3,23 @@ import { Icon } from "../../../enum/icon.enum";
|
|
|
3
3
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
4
|
import { TransactionService } from "../../../service/transaction.service";
|
|
5
5
|
import { PaymentService } from "../../../service/payment.service";
|
|
6
|
+
import { DepositPaymentViewModel } from "../../../model/deposit-payment-view-model";
|
|
7
|
+
import { PaymentViewmodel } from "../../../model/payment.viewmodel";
|
|
6
8
|
export declare class TransactionHeaderPaymentComponent extends TransactionBaseComponent {
|
|
7
9
|
iconService: IconCacheService;
|
|
8
10
|
protected readonly transactionService: TransactionService;
|
|
9
11
|
private _paymentService;
|
|
10
12
|
readonly icons: typeof Icon;
|
|
11
13
|
showClass(): boolean;
|
|
14
|
+
paymentMethods: PaymentViewmodel[];
|
|
15
|
+
depositPayments: DepositPaymentViewModel[];
|
|
12
16
|
showDialog: boolean;
|
|
13
17
|
showPaymentDialog: boolean;
|
|
18
|
+
showLoaderDepositPayments: boolean;
|
|
14
19
|
paid: number;
|
|
15
20
|
toPay: number;
|
|
16
21
|
constructor(iconService: IconCacheService, transactionService: TransactionService, _paymentService: PaymentService);
|
|
17
22
|
openPayment(event: MouseEvent): Promise<void>;
|
|
18
|
-
transactionSet(): void
|
|
23
|
+
transactionSet(): Promise<void>;
|
|
19
24
|
private _getDepositPaymentInfo;
|
|
20
25
|
}
|
|
@@ -6,7 +6,6 @@ import { DialogService } from "../../../service/dialog.service";
|
|
|
6
6
|
import { AddressType } from "@colijnit/relationapi/build/enum/address-type.enum";
|
|
7
7
|
import { RelationService } from "../../../service/relation.service";
|
|
8
8
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
9
|
-
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
10
9
|
export declare class TransactionHeaderRelationComponent extends TransactionBaseComponent {
|
|
11
10
|
protected readonly service: TransactionService;
|
|
12
11
|
private _dictionary;
|
|
@@ -35,5 +34,4 @@ export declare class TransactionHeaderRelationComponent extends TransactionBaseC
|
|
|
35
34
|
handleChangeCustomGroup(group: string): void;
|
|
36
35
|
handleShowDialog(): Promise<void>;
|
|
37
36
|
handleOkClick(): void;
|
|
38
|
-
saveAddress(type: AddressType, address: Address): void;
|
|
39
37
|
}
|
package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss
CHANGED
|
@@ -4,3 +4,4 @@ $tp-transaction-delivery-line-delivered-bold-color: #5fdcb3 !default;
|
|
|
4
4
|
$tp-transaction-delivery-line-partially-delivered-primary-color: #feece3 !default;
|
|
5
5
|
$tp-transaction-delivery-line-partially-delivered-secondary-color: #fde6db !default;
|
|
6
6
|
$tp-transaction-delivery-line-partially-delivered-bold-color: #f8854c !default;
|
|
7
|
+
$tp-transaction-base-line-delete-icon-size: 15px !default;
|
|
@@ -10,5 +10,15 @@
|
|
|
10
10
|
margin-right: 15px;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
.transaction-line-delivery-date {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
column-gap: $tp-default-column-gap;
|
|
17
|
+
height: $tp-default-button-height;
|
|
18
|
+
.co-input-date {
|
|
19
|
+
height: auto;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
13
23
|
}
|
|
14
24
|
}
|
|
@@ -3,7 +3,7 @@ $tp-transaction-line-action-buttons-padding: 0 !default;
|
|
|
3
3
|
$tp-transaction-line-action-buttons-add-text-background-color: $tp-color-action !default;
|
|
4
4
|
$tp-transaction-line-action-buttons-add-text-text-color: $tp-color-light !default;
|
|
5
5
|
$tp-transaction-line-action-buttons-action-menu-button-size: 26px !default;
|
|
6
|
-
$tp-transaction-line-action-buttons-action-menu-button-border-radius:
|
|
6
|
+
$tp-transaction-line-action-buttons-action-menu-button-border-radius: $tp-default-border-radius !default;
|
|
7
7
|
$tp-transaction-line-action-buttons-action-menu-button-icon-size: 18px !default;
|
|
8
8
|
$tp-transaction-line-action-buttons-action-button-size: 30px !default;
|
|
9
9
|
$tp-transaction-line-action-buttons-action-button-border-radius: 50% !default;
|
package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export declare class TransactionLineSupplierButtonComponent extends TransactionB
|
|
|
9
9
|
constructor(transactionService: TransactionService, _relationService: RelationService);
|
|
10
10
|
handleOpenDialog(event: MouseEvent): void;
|
|
11
11
|
transactionLineSet(): Promise<void>;
|
|
12
|
+
private _getPurchaseAdviceLines;
|
|
12
13
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
top: $tp-transaction-line-side-panel-top;
|
|
14
14
|
width: $tp-transaction-line-side-panel-width;
|
|
15
15
|
height: $tp-transaction-line-side-panel-height;
|
|
16
|
-
z-index:
|
|
16
|
+
z-index: 99999;
|
|
17
17
|
box-shadow: $tp-transaction-line-side-panel-box-shadow;
|
|
18
18
|
padding: $tp-transaction-line-side-panel-padding;
|
|
19
19
|
background: white;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import "./theme";
|
|
4
4
|
@import "../../transaction-line-side-panel-default/style/material";
|
|
5
5
|
@import "../../transaction-line-side-panel-sales/style/material";
|
|
6
|
+
@import "../../transaction-line-side-panel-article-details/style/material";
|
|
6
7
|
@import "../../transaction-receiving-goods-history/style/material";
|
|
7
8
|
@import "../../transaction-history-grid-status/style/material";
|
|
8
9
|
@import "../../transaction-confirmation-history/style/material";
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('cc-transaction-line-side-panel-article-details') {
|
|
4
|
+
.co-transaction-line-side-panel-article-details {
|
|
5
|
+
position: fixed;
|
|
6
|
+
width: 550px;
|
|
7
|
+
background: white;
|
|
8
|
+
right: 0;
|
|
9
|
+
top: 51px;
|
|
10
|
+
z-index: 99;
|
|
11
|
+
height: calc(100% - 51px);
|
|
12
|
+
border-left: 1px solid #F5F5FC;
|
|
13
|
+
padding: 20px;
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
overflow-x: hidden;
|
|
16
|
+
|
|
17
|
+
.transaction-line-side-panel-article-details-wrapper {
|
|
18
|
+
|
|
19
|
+
.transaction-line-side-panel-article-details-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
margin-top: 10px;
|
|
23
|
+
|
|
24
|
+
.close-button {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 2px;
|
|
27
|
+
top: 2px;
|
|
28
|
+
width: 30px;
|
|
29
|
+
height: 30px;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.side-panel-header-label {
|
|
35
|
+
font-size: 10px;
|
|
36
|
+
color: #7d81a1;
|
|
37
|
+
}
|
|
38
|
+
.side-panel-header-field {
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
overflow-x: clip;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
}
|
|
44
|
+
.side-panel-header-divider {
|
|
45
|
+
display: flex;
|
|
46
|
+
border-style: solid;
|
|
47
|
+
border-width: 0 1px 0 0;
|
|
48
|
+
border-color: #dce4ea;
|
|
49
|
+
width: 1px;
|
|
50
|
+
margin: 5px;
|
|
51
|
+
}
|
|
52
|
+
.transaction-line-side-panel-article-details-header-item {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
row-gap: 5px;
|
|
56
|
+
}
|
|
57
|
+
.last-item-margin {
|
|
58
|
+
margin-right: 4%;
|
|
59
|
+
}
|
|
60
|
+
.center {
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
.bold {
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
}
|
|
66
|
+
.max-width-40 {
|
|
67
|
+
max-width: 40%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.section-wrapper {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
margin: 12px 0;
|
|
74
|
+
|
|
75
|
+
.section-title {
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
margin: 15px 0;
|
|
78
|
+
color: #7d81a1;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.purchase-advice-detail-header {
|
|
83
|
+
background: #F5F5FC;
|
|
84
|
+
padding: 22px;
|
|
85
|
+
display: flex;
|
|
86
|
+
border-radius: 11px;
|
|
87
|
+
width: 100%;
|
|
88
|
+
justify-content: space-between;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.detail-column-container {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: repeat(2, 1fr);
|
|
94
|
+
grid-template-rows: 1fr;
|
|
95
|
+
margin: 15px 0;
|
|
96
|
+
|
|
97
|
+
.detail-column {
|
|
98
|
+
max-width: 80%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.column-input-item {
|
|
102
|
+
margin-top: 10px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.detail-column-item {
|
|
106
|
+
margin: 10px 0;
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
height: 30px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.half-width {
|
|
114
|
+
width: 50%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dynamic-suppliers-wrapper {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
margin-bottom: 10px;
|
|
121
|
+
|
|
122
|
+
.dynamic-supplier {
|
|
123
|
+
background: #F5F5FC;
|
|
124
|
+
border-radius: 11px;
|
|
125
|
+
min-height: 100px;
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
max-width: 175px;
|
|
130
|
+
margin: 0 10px 10px 0;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
|
|
133
|
+
.supplier-detail-container {
|
|
134
|
+
display: flex;
|
|
135
|
+
padding: 5px;
|
|
136
|
+
min-width: 180px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.supplier-name {
|
|
140
|
+
font-size: 13px;
|
|
141
|
+
color: #3e7eff;
|
|
142
|
+
font-weight: bold;
|
|
143
|
+
padding: 0 10px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.supplier-date {
|
|
147
|
+
padding: 5px 10px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.selected {
|
|
153
|
+
background: #d8e5ff !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.supplier-list {
|
|
157
|
+
max-width: 250px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
package/lib/component/transaction-line-side-panel-article-details/style/_material-definition.scss
ADDED
|
File without changes
|