@colijnit/transaction 12.1.174 → 12.1.176
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 +2499 -1873
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +529 -522
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +530 -523
- package/esm2015/lib/cache/service/transaction-business-object-cache-manager.service.js +157 -0
- package/esm2015/lib/cache/service/transaction-select-multiple-cache.service.js +38 -0
- package/esm2015/lib/cache/service/transaction-select-multiple-parameterized-cache.service.js +47 -0
- package/esm2015/lib/cache/service/transaction-select-single-cache.service.js +33 -0
- package/esm2015/lib/cache/service/transaction-select-single-parameterized-cache.service.js +47 -0
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +119 -214
- package/esm2015/lib/component/checkout/checkout.module.js +4 -2
- package/esm2015/lib/component/core/base/transaction-payment-base.component.js +257 -0
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +7 -2
- package/esm2015/lib/component/payment/payment.component.js +5 -238
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +1 -7
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +2 -1
- package/esm2015/lib/component/relation/suggestions-sidebar/suggestions-sidebar.component.js +151 -0
- package/esm2015/lib/component/relation/suggestions-sidebar/suggestions-sidebar.module.js +25 -0
- package/esm2015/lib/component/transaction/transaction.component.js +2 -2
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-link-relation/transaction-cash-register-link-relation.component.js +2 -5
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.js +26 -25
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-order.module.js +8 -2
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/transaction-cash-register-payment-dialog.component.js +103 -65
- package/esm2015/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/transaction-cash-register-payment-dialog.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +8 -6
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.js +13 -5
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +72 -7
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +40 -25
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +12 -4
- package/esm2015/lib/component/transaction-internal/transaction-internal.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat-button.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +2 -2
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.module.js +1 -1
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/transaction-lines-side-panel.component.js +70 -0
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/transaction-lines-side-panel.module.js +21 -0
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.js +109 -0
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.module.js +29 -0
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +5 -3
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/transaction-search-pos-grid.component.js +84 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/transaction-search-pos-grid.module.js +24 -0
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +5 -1
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.component.js +102 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.module.js +30 -0
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/article.service.js +5 -5
- package/esm2015/lib/service/payment.service.js +8 -8
- package/esm2015/lib/service/relation-suggestions.service.js +69 -0
- package/esm2015/lib/service/relation.service.js +29 -30
- package/esm2015/lib/service/transaction-base.service.js +15 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +9 -9
- package/esm2015/lib/service/transaction-connector.service.js +14 -14
- package/esm2015/lib/service/transaction-mapping.service.js +16 -3
- package/esm2015/lib/service/transaction.service.js +3 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/esm2015/public_api.js +6 -1
- package/fesm2015/colijnit-transaction.js +2250 -1518
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/cache/service/{business-object-cache-manager.service.d.ts → transaction-business-object-cache-manager.service.d.ts} +1 -2
- package/lib/cache/service/{select-multiple-cache.service.d.ts → transaction-select-multiple-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-multiple-parameterized-cache.service.d.ts → transaction-select-multiple-parameterized-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-single-cache.service.d.ts → transaction-select-single-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-single-parameterized-cache.service.d.ts → transaction-select-single-parameterized-cache.service.d.ts} +3 -3
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +3 -10
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +0 -31
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -15
- package/lib/component/core/base/transaction-payment-base.component.d.ts +68 -0
- package/lib/component/payment/payment.component.d.ts +2 -63
- package/lib/component/relation/suggestions-sidebar/style/_layout.scss +37 -0
- package/lib/component/relation/suggestions-sidebar/style/_material-definition.scss +15 -0
- package/lib/component/relation/suggestions-sidebar/style/_theme.scss +4 -0
- package/lib/component/relation/suggestions-sidebar/style/material.scss +4 -0
- package/lib/component/relation/suggestions-sidebar/suggestions-sidebar.component.d.ts +29 -0
- package/lib/component/relation/suggestions-sidebar/suggestions-sidebar.module.d.ts +2 -0
- package/lib/component/transaction-cash-register-order/style/_layout.scss +1 -1
- package/lib/component/transaction-cash-register-order/transaction-cash-register-link-relation/transaction-cash-register-link-relation.component.d.ts +0 -1
- package/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.d.ts +2 -4
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/style/_layout.scss +28 -6
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/style/_material-definition.scss +3 -0
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/transaction-cash-register-payment-dialog.component.d.ts +15 -12
- package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-base.component.d.ts +2 -2
- package/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.d.ts +28 -1
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +1 -0
- package/lib/component/transaction-internal/style/_layout.scss +4 -1
- package/lib/component/transaction-internal/transaction-internal.component.d.ts +3 -1
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/style/_layout.scss +6 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/style/_material-definition.scss +2 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/style/_theme.scss +4 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/style/material.scss +5 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/transaction-lines-side-panel.component.d.ts +20 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/transaction-lines-side-panel.module.d.ts +2 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/style/_layout.scss +31 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/style/_theme.scss +4 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/style/material.scss +4 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.d.ts +33 -0
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/transaction-search-pos-grid.component.d.ts +7 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-pos-grid/transaction-search-pos-grid.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.component.d.ts +9 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.module.d.ts +2 -0
- package/lib/res/dictionary/dictionaries.d.ts +2 -0
- package/lib/service/article.service.d.ts +2 -2
- package/lib/service/payment.service.d.ts +3 -3
- package/lib/service/relation-suggestions.service.d.ts +22 -0
- package/lib/service/relation.service.d.ts +4 -4
- package/lib/service/transaction-connector-adapter.service.d.ts +3 -3
- package/lib/service/transaction-connector.service.d.ts +5 -5
- package/lib/service/transaction-mapping.service.d.ts +2 -0
- package/package.json +2 -2
- package/public_api.d.ts +5 -0
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +0 -156
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +0 -38
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +0 -47
- package/esm2015/lib/cache/service/select-single-cache.service.js +0 -33
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +0 -47
- package/lib/component/cash-register-order-wrapper.ts/style/_layout.scss +0 -4
- package/lib/component/cash-register-order-wrapper.ts/style/_theme.scss +0 -4
- /package/lib/component/{cash-register-order-wrapper.ts → transaction-lines-side-panel/transaction-lines-side-panel-cash-desk}/style/_material-definition.scss +0 -0
- /package/lib/component/{cash-register-order-wrapper.ts → transaction-search/transaction-search-grid/transaction-search-pos-grid}/style/material.scss +0 -0
|
@@ -14,14 +14,13 @@ import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/busines
|
|
|
14
14
|
*
|
|
15
15
|
* All caches are reset when the user logs out.
|
|
16
16
|
*/
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class TransactionBusinessObjectCacheManagerService implements OnDestroy {
|
|
18
18
|
readonly reset: Subject<void>;
|
|
19
19
|
private static _NullBoId;
|
|
20
20
|
private _selectMultipleCache;
|
|
21
21
|
private _selectMultipleParameterizedCache;
|
|
22
22
|
private _selectSingleCache;
|
|
23
23
|
private _selectSingleParameterizedCache;
|
|
24
|
-
private _logoutSub;
|
|
25
24
|
ngOnDestroy(): void;
|
|
26
25
|
/**
|
|
27
26
|
* Creates and adds a new simple cache item for the given key with the given load function.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransactionBusinessObjectCacheManagerService } from "./transaction-business-object-cache-manager.service";
|
|
2
2
|
import { CacheField } from "../cache-field";
|
|
3
3
|
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TransactionSelectMultipleCacheService {
|
|
5
5
|
private _boCacheManager;
|
|
6
6
|
private static _NullCache;
|
|
7
|
-
constructor(_boCacheManager:
|
|
7
|
+
constructor(_boCacheManager: TransactionBusinessObjectCacheManagerService);
|
|
8
8
|
/**
|
|
9
9
|
* Returns the global cache item for the select multiple of the given business object class. Creates a new cache item if not yet exists.
|
|
10
10
|
* @param clazz The BO class, e.g. CustomerFullObject
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnDestroy } from "@angular/core";
|
|
2
2
|
import { Subject } from "rxjs";
|
|
3
|
-
import {
|
|
3
|
+
import { TransactionBusinessObjectCacheManagerService } from "./transaction-business-object-cache-manager.service";
|
|
4
4
|
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
5
5
|
import { ParameterCacheField } from "../parameter-cache-field";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class TransactionSelectMultipleParameterizedCacheService implements OnDestroy {
|
|
7
7
|
private _boCacheManager;
|
|
8
8
|
readonly reset: Subject<void>;
|
|
9
9
|
private _subs;
|
|
10
|
-
constructor(_boCacheManager:
|
|
10
|
+
constructor(_boCacheManager: TransactionBusinessObjectCacheManagerService);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Returns the global cache item for the parameterized select multiple of the given business object class. Creates a new cache item if not yet exists.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransactionBusinessObjectCacheManagerService } from './transaction-business-object-cache-manager.service';
|
|
2
2
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
3
3
|
import { CacheField } from '../cache-field';
|
|
4
4
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class TransactionSelectSingleCacheService {
|
|
6
6
|
private _boCacheManager;
|
|
7
|
-
constructor(_boCacheManager:
|
|
7
|
+
constructor(_boCacheManager: TransactionBusinessObjectCacheManagerService);
|
|
8
8
|
requestCache<T extends BusinessObject>(clazz: {
|
|
9
9
|
new (): T;
|
|
10
10
|
}, sourceId: BusinessObjectIDType, loadFunction: () => Promise<T>, reload?: boolean): CacheField<T>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { TransactionBusinessObjectCacheManagerService } from './transaction-business-object-cache-manager.service';
|
|
4
4
|
import { ParameterCacheField } from '../parameter-cache-field';
|
|
5
5
|
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class TransactionSelectSingleParameterizedCacheService implements OnDestroy {
|
|
7
7
|
private _boCacheManager;
|
|
8
8
|
readonly reset: Subject<void>;
|
|
9
9
|
private _subs;
|
|
10
|
-
constructor(_boCacheManager:
|
|
10
|
+
constructor(_boCacheManager: TransactionBusinessObjectCacheManagerService);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Returns the global cache item for the parameterized select single of the given business object class. Creates a new cache item if not yet exists.
|
|
@@ -17,12 +17,14 @@ import { RelationGeneralCfgNames } from '../../../interface/relation-general-cfg
|
|
|
17
17
|
import { RelationAddressCfgNames } from '../../../interface/relation-address-cfg-names.interface';
|
|
18
18
|
import { RelationContactDetailsCfgNames } from '../../../interface/relation-contact-details-cfg-names.interface';
|
|
19
19
|
import { CheckoutScreenConfigurationService } from '../service/checkout-screen-configuration.service';
|
|
20
|
+
import { RelationSuggestionsService } from '../../../service/relation-suggestions.service';
|
|
20
21
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
21
22
|
private _formMaster;
|
|
22
23
|
service: TransactionService;
|
|
23
24
|
private _relationService;
|
|
24
25
|
private _dialogService;
|
|
25
26
|
private _screenConfigService;
|
|
27
|
+
private _suggestionsService;
|
|
26
28
|
readonly cfgNames: typeof CheckoutCfgName;
|
|
27
29
|
readonly relKind: typeof RelationKind;
|
|
28
30
|
readonly icons: typeof Icon;
|
|
@@ -43,8 +45,6 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
43
45
|
address: Address;
|
|
44
46
|
customerGroup: string;
|
|
45
47
|
relationType: RelationNameKind;
|
|
46
|
-
relationSuggestions: RelationListObject[];
|
|
47
|
-
showSuggestionsSidebar: boolean;
|
|
48
48
|
contactDetailsConfigNames: RelationContactDetailsCfgNames;
|
|
49
49
|
relationGeneralConfigNames: RelationGeneralCfgNames;
|
|
50
50
|
relationAddressConfigNames: RelationAddressCfgNames;
|
|
@@ -55,15 +55,12 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
55
55
|
private _relation;
|
|
56
56
|
private _relationKind;
|
|
57
57
|
private _requestForSuggestions;
|
|
58
|
-
private _suggestionListTimeout;
|
|
59
58
|
private _subs;
|
|
60
|
-
constructor(_formMaster: FormMasterService, service: TransactionService, _relationService: RelationService, _dialogService: DialogService, _screenConfigService: CheckoutScreenConfigurationService);
|
|
59
|
+
constructor(_formMaster: FormMasterService, service: TransactionService, _relationService: RelationService, _dialogService: DialogService, _screenConfigService: CheckoutScreenConfigurationService, _suggestionsService: RelationSuggestionsService);
|
|
61
60
|
ngOnInit(): Promise<void>;
|
|
62
61
|
ngAfterViewInit(): void;
|
|
63
62
|
ngOnDestroy(): void;
|
|
64
63
|
handleInputChange(request: RelationSuggestionsRequest): void;
|
|
65
|
-
showSidebar(): void;
|
|
66
|
-
hideSidebar(): void;
|
|
67
64
|
onRelationSuggestionClick(relationSuggested: RelationListObject): Promise<void>;
|
|
68
65
|
handleRelationTypeChange(relation: Relation): void;
|
|
69
66
|
emptyRelation(event: MouseEvent): void;
|
|
@@ -73,8 +70,4 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
73
70
|
handleDeliveryAddressChange(nawNr: number): void;
|
|
74
71
|
checkSameAddress(checked: boolean): void;
|
|
75
72
|
private _setCountryNameToAddress;
|
|
76
|
-
private _suggestionListRefresh;
|
|
77
|
-
private _suggestionListRefreshHandlerFn;
|
|
78
|
-
private _isEmptySuggestionsRequest;
|
|
79
|
-
private _resetSuggestionRequestWithRelation;
|
|
80
73
|
}
|
|
@@ -21,35 +21,4 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
.suggestions-sidebar {
|
|
25
|
-
position: fixed;
|
|
26
|
-
top: 0;
|
|
27
|
-
right: 0;
|
|
28
|
-
z-index: 999;
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
width: $tp-checkout-relation-suggestion-list-sidebar-width;
|
|
32
|
-
height: 100%;
|
|
33
|
-
background: $tp-checkout-relation-suggestion-list-sidebar-background-color;
|
|
34
|
-
box-shadow: $tp-checkout-relation-suggestion-list-sidebar-boxshadow;
|
|
35
|
-
padding: $tp-checkout-relation-suggestion-list-sidebar-padding;
|
|
36
|
-
.close-button {
|
|
37
|
-
position: absolute;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
right:$tp-checkout-relation-suggestion-list-sidebar-close-btn-right;
|
|
40
|
-
top: $tp-checkout-relation-suggestion-list-sidebar-close-btn-top;
|
|
41
|
-
width: $tp-checkout-relation-suggestion-list-sidebar-close-btn-size;
|
|
42
|
-
height: $tp-checkout-relation-suggestion-list-sidebar-close-btn-size;
|
|
43
|
-
svg [fill] {
|
|
44
|
-
fill: $tp-checkout-relation-suggestion-list-sidebar-close-btn-color;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.relation-sidebar-header {
|
|
49
|
-
padding: $tp-checkout-relation-suggestion-list-label-padding;
|
|
50
|
-
margin: $tp-checkout-relation-suggestion-list-label-margin;
|
|
51
|
-
.checkout-label-h3 {
|
|
52
|
-
color: $tp-checkout-relation-suggestion-list-label-color;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
24
|
}
|
package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
CHANGED
|
@@ -8,18 +8,3 @@ $tp-checkout-relation-empty-button-border-radius: $tp-default-border-radius !def
|
|
|
8
8
|
$tp-checkout-relation-empty-button-border-color: $tp-color-action !default;
|
|
9
9
|
$tp-checkout-simple-relation-empty-text-color: $tp-color-action !default;
|
|
10
10
|
$tp-checkout-simple-relation-empty-hover-text-color: #FFFFFF !default;
|
|
11
|
-
|
|
12
|
-
$tp-checkout-relation-suggestion-list-sidebar-width: 300px !default;
|
|
13
|
-
$tp-checkout-relation-suggestion-list-sidebar-background-color: #212437 !default;
|
|
14
|
-
$tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
15
|
-
$tp-checkout-relation-suggestion-list-sidebar-padding: 10px !default;
|
|
16
|
-
$tp-checkout-relation-suggestion-list-label-fontsize: $tp-font-size !default;
|
|
17
|
-
$tp-checkout-relation-suggestion-list-label-fontweight: bold !default;
|
|
18
|
-
$tp-checkout-relation-suggestion-list-label-padding: 5px !default;
|
|
19
|
-
$tp-checkout-relation-suggestion-list-label-margin: 5px !default;
|
|
20
|
-
$tp-checkout-relation-suggestion-list-label-color: #ffffff !default;
|
|
21
|
-
|
|
22
|
-
$tp-checkout-relation-suggestion-list-sidebar-close-btn-size: 20px !default;
|
|
23
|
-
$tp-checkout-relation-suggestion-list-sidebar-close-btn-top: 20px !default;
|
|
24
|
-
$tp-checkout-relation-suggestion-list-sidebar-close-btn-right: 20px !default;
|
|
25
|
-
$tp-checkout-relation-suggestion-list-sidebar-close-btn-color: #ffffff !default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CashRegister } from '@colijnit/transactionapi/build/model/cash-register';
|
|
3
|
+
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
4
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
5
|
+
import { PaymentViewmodel } from '../../../model/payment.viewmodel';
|
|
6
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
7
|
+
import { PaymentService } from '../../../service/payment.service';
|
|
8
|
+
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
9
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
10
|
+
export declare abstract class TransactionPaymentBaseComponent implements OnInit, OnDestroy {
|
|
11
|
+
protected transactionService: TransactionService;
|
|
12
|
+
protected paymentService: PaymentService;
|
|
13
|
+
protected transactionEventService: TransactionEventService;
|
|
14
|
+
iconCacheService: IconCacheService;
|
|
15
|
+
readonly icons: typeof Icon;
|
|
16
|
+
transId: number;
|
|
17
|
+
transactionUuid: string;
|
|
18
|
+
branch: string;
|
|
19
|
+
set amount(value: number);
|
|
20
|
+
get amount(): number;
|
|
21
|
+
currencyId: number;
|
|
22
|
+
cashRegisterNr: number;
|
|
23
|
+
cashRegisterGroupId: number;
|
|
24
|
+
showKeyPad: boolean;
|
|
25
|
+
updateDepositAmount: boolean;
|
|
26
|
+
payed: EventEmitter<void>;
|
|
27
|
+
showClass(): boolean;
|
|
28
|
+
paymentMethodIdx: number;
|
|
29
|
+
cashRegisterIdx: number;
|
|
30
|
+
paymentMethods: PaymentViewmodel[];
|
|
31
|
+
cashRegisters: any[];
|
|
32
|
+
showCashRegisters: boolean;
|
|
33
|
+
showPspQrCode: boolean;
|
|
34
|
+
currentPaymentMethod: PaymentMethod;
|
|
35
|
+
qrCodeImage: string;
|
|
36
|
+
showLoader: boolean;
|
|
37
|
+
amountToPay: number;
|
|
38
|
+
depositAmount: number;
|
|
39
|
+
statusMessage: string;
|
|
40
|
+
private _amount;
|
|
41
|
+
private _paymentStatusInterval;
|
|
42
|
+
private _paymentStatusPollIntervalMs;
|
|
43
|
+
private _paymentStatusMaxPollInterval;
|
|
44
|
+
private _paymentStatusPollIntervalCount;
|
|
45
|
+
private _paymentResult;
|
|
46
|
+
private _subs;
|
|
47
|
+
constructor(transactionService: TransactionService, paymentService: PaymentService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService);
|
|
48
|
+
ngOnInit(): Promise<void>;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
51
|
+
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
52
|
+
handlePayment(): void;
|
|
53
|
+
handleKeyPadModelChange(model: number): void;
|
|
54
|
+
protected paymentInfoReady(): void;
|
|
55
|
+
private _getDepositPaymentInfo;
|
|
56
|
+
private _dataUriToBase64;
|
|
57
|
+
private _waitForPaymentStatus;
|
|
58
|
+
private _waitForPinPaymentStatus;
|
|
59
|
+
private _clearInterval;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @private
|
|
63
|
+
*/
|
|
64
|
+
private _prepareCashRegisters;
|
|
65
|
+
private _getCashRegisters;
|
|
66
|
+
private _getPaymentMethods;
|
|
67
|
+
private _handlePayment;
|
|
68
|
+
}
|
|
@@ -1,65 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
7
|
-
import { PaymentViewmodel } from '../../model/payment.viewmodel';
|
|
8
|
-
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
9
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
10
|
-
export declare class PaymentComponent implements OnInit, OnDestroy {
|
|
11
|
-
private _transactionService;
|
|
12
|
-
private _paymentService;
|
|
13
|
-
private _transactionEventService;
|
|
14
|
-
iconCacheService: IconCacheService;
|
|
15
|
-
readonly icons: typeof Icon;
|
|
16
|
-
transId: number;
|
|
17
|
-
transactionUuid: string;
|
|
18
|
-
branch: string;
|
|
19
|
-
set amount(value: number);
|
|
20
|
-
get amount(): number;
|
|
21
|
-
currencyId: number;
|
|
22
|
-
updateDepositAmount: boolean;
|
|
23
|
-
payed: EventEmitter<void>;
|
|
1
|
+
import { TransactionPaymentBaseComponent } from '../core/base/transaction-payment-base.component';
|
|
2
|
+
export declare class PaymentComponent extends TransactionPaymentBaseComponent {
|
|
24
3
|
showClass(): boolean;
|
|
25
|
-
paymentMethodIdx: number;
|
|
26
|
-
cashRegisterIdx: number;
|
|
27
|
-
paymentMethods: PaymentViewmodel[];
|
|
28
|
-
cashRegisters: any[];
|
|
29
|
-
showCashRegisters: boolean;
|
|
30
|
-
showKeyPad: boolean;
|
|
31
|
-
showPspQrCode: boolean;
|
|
32
|
-
currentPaymentMethod: PaymentMethod;
|
|
33
|
-
qrCodeImage: string;
|
|
34
|
-
showLoader: boolean;
|
|
35
|
-
amountToPay: number;
|
|
36
|
-
depositAmount: number;
|
|
37
|
-
statusMessage: string;
|
|
38
|
-
private _amount;
|
|
39
|
-
private _paymentStatusInterval;
|
|
40
|
-
private _paymentStatusPollIntervalMs;
|
|
41
|
-
private _paymentStatusMaxPollInterval;
|
|
42
|
-
private _paymentStatusPollIntervalCount;
|
|
43
|
-
private _paymentResult;
|
|
44
|
-
private _subs;
|
|
45
|
-
constructor(_transactionService: TransactionService, _paymentService: PaymentService, _transactionEventService: TransactionEventService, iconCacheService: IconCacheService);
|
|
46
|
-
ngOnInit(): Promise<void>;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
49
|
-
cashRegisterSelected(cashRegister: CashRegister, index: number): void;
|
|
50
|
-
handlePayment(): void;
|
|
51
|
-
handleKeyPadModelChange(model: number): void;
|
|
52
|
-
private _getDepositPaymentInfo;
|
|
53
|
-
private _dataUriToBase64;
|
|
54
|
-
private _waitForPaymentStatus;
|
|
55
|
-
private _waitForPinPaymentStatus;
|
|
56
|
-
private _clearInterval;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @private
|
|
60
|
-
*/
|
|
61
|
-
private _prepareCashRegisters;
|
|
62
|
-
private _getCashRegisters;
|
|
63
|
-
private _getPaymentMethods;
|
|
64
|
-
private _handlePayment;
|
|
65
4
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@include export-module('co-suggestions-sidebar-layout') {
|
|
2
|
+
.co-suggestions-sidebar {
|
|
3
|
+
font-family: $tp-suggestions-sidebar-font-familiy;
|
|
4
|
+
font-size: $tp-suggestions-sidebar-font-size;
|
|
5
|
+
.suggestions-sidebar {
|
|
6
|
+
position: fixed;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
z-index: 999;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
width: $tp-suggestions-sidebar-width;
|
|
13
|
+
height: 100%;
|
|
14
|
+
background: $tp-suggestions-sidebar-background-color;
|
|
15
|
+
box-shadow: $tp-suggestions-sidebar-boxshadow;
|
|
16
|
+
padding: $tp-suggestions-sidebar-padding;
|
|
17
|
+
.close-button {
|
|
18
|
+
position: absolute;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
right:$tp-suggestions-sidebar-close-btn-right;
|
|
21
|
+
top: $tp-suggestions-sidebar-close-btn-top;
|
|
22
|
+
width: $tp-suggestions-sidebar-close-btn-size;
|
|
23
|
+
height: $tp-suggestions-sidebar-close-btn-size;
|
|
24
|
+
svg [fill] {
|
|
25
|
+
fill: $tp-suggestions-sidebar-close-btn-color;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.relation-sidebar-header {
|
|
30
|
+
padding: $tp-suggestions-sidebar-label-padding;
|
|
31
|
+
margin: $tp-suggestions-sidebar-label-margin;
|
|
32
|
+
.checkout-label-h3 {
|
|
33
|
+
color: $tp-suggestions-sidebar-label-color;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$tp-suggestions-sidebar-font-familiy: $tp-font-family !default;
|
|
2
|
+
$tp-suggestions-sidebar-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-suggestions-sidebar-width: 300px !default;
|
|
4
|
+
$tp-suggestions-sidebar-background-color: #212437 !default;
|
|
5
|
+
$tp-suggestions-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
6
|
+
$tp-suggestions-sidebar-padding: 10px !default;
|
|
7
|
+
$tp-suggestions-sidebar-label-fontsize: $tp-font-size !default;
|
|
8
|
+
$tp-suggestions-sidebar-label-fontweight: bold !default;
|
|
9
|
+
$tp-suggestions-sidebar-label-padding: 5px !default;
|
|
10
|
+
$tp-suggestions-sidebar-label-margin: 5px !default;
|
|
11
|
+
$tp-suggestions-sidebar-label-color: #ffffff !default;
|
|
12
|
+
$tp-suggestions-sidebar-close-btn-size: 20px !default;
|
|
13
|
+
$tp-suggestions-sidebar-close-btn-top: 20px !default;
|
|
14
|
+
$tp-suggestions-sidebar-close-btn-right: 20px !default;
|
|
15
|
+
$tp-suggestions-sidebar-close-btn-color: #ffffff !default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
3
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
4
|
+
import { RelationService } from '../../../service/relation.service';
|
|
5
|
+
import { RelationKind } from '@colijnit/transactionapi/build/enum/relation-kind.enum';
|
|
6
|
+
import { RelationSuggestionsRequest } from '../../../interface/relation-suggestions-request.interface';
|
|
7
|
+
import { RelationAnyType } from '../../../model/relation-any-type';
|
|
8
|
+
export declare class SuggestionsSidebarComponent {
|
|
9
|
+
iconCacheService: IconCacheService;
|
|
10
|
+
private _relationService;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
relationKind: RelationKind;
|
|
13
|
+
set requestForSuggestions(value: RelationSuggestionsRequest);
|
|
14
|
+
get requestForSuggestions(): RelationSuggestionsRequest;
|
|
15
|
+
suggestedRelationClick: EventEmitter<RelationAnyType>;
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
relationSuggestions: RelationAnyType[];
|
|
18
|
+
showSuggestionsSidebar: boolean;
|
|
19
|
+
private _requestForSuggestions;
|
|
20
|
+
private _suggestionListTimeout;
|
|
21
|
+
constructor(iconCacheService: IconCacheService, _relationService: RelationService);
|
|
22
|
+
handleSuggestedRelationClick(relation: RelationAnyType): void;
|
|
23
|
+
private _resetSuggestionRequestWithRelation;
|
|
24
|
+
private _suggestionListRefresh;
|
|
25
|
+
private _suggestionListRefreshHandlerFn;
|
|
26
|
+
private _isEmptySuggestionsRequest;
|
|
27
|
+
showSidebar(): void;
|
|
28
|
+
hideSidebar(): void;
|
|
29
|
+
}
|
|
@@ -8,7 +8,6 @@ export declare class TransactionCashRegisterLinkRelationComponent extends Transa
|
|
|
8
8
|
deliveryAddressNawNr: number;
|
|
9
9
|
invoiceAddressNawNr: number;
|
|
10
10
|
showClass(): boolean;
|
|
11
|
-
transactionServiceRelation(): Relation;
|
|
12
11
|
handleDeliveryAddressChange(nawNr: number): void;
|
|
13
12
|
handleInvoiceAddressChange(nawNr: number): void;
|
|
14
13
|
handleRelationChange(relation: Relation): void;
|
package/lib/component/transaction-cash-register-order/transaction-cash-register-order.component.d.ts
CHANGED
|
@@ -11,8 +11,7 @@ import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-meth
|
|
|
11
11
|
import { CreateCashRegisterOrderRequest } from '@colijnit/transactionapi/build/model/create-cash-register-order-request';
|
|
12
12
|
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
13
13
|
import { PaymentTransactionViewModel } from '../../model/payment-transaction-view-model';
|
|
14
|
-
import { AddProductComponent } from '../add-product/add-product.component';
|
|
15
|
-
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
14
|
+
import { AddArticleInterface, AddProductComponent } from '../add-product/add-product.component';
|
|
16
15
|
export declare class TransactionCashRegisterOrderComponent extends TransactionBaseComponent implements OnInit {
|
|
17
16
|
transactionEventService: TransactionEventService;
|
|
18
17
|
iconCacheService: IconCacheService;
|
|
@@ -38,7 +37,7 @@ export declare class TransactionCashRegisterOrderComponent extends TransactionBa
|
|
|
38
37
|
showClass(): boolean;
|
|
39
38
|
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _transactionService: TransactionService, _paymentService: PaymentService);
|
|
40
39
|
ngOnInit(): void;
|
|
41
|
-
handleAddArticle(
|
|
40
|
+
handleAddArticle(data: AddArticleInterface): Promise<void>;
|
|
42
41
|
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
43
42
|
openDiscountDialog(event: MouseEvent): void;
|
|
44
43
|
private _getPaymentMethods;
|
|
@@ -46,5 +45,4 @@ export declare class TransactionCashRegisterOrderComponent extends TransactionBa
|
|
|
46
45
|
handleCreatedCashRegisterOrderRequest(request: CreateCashRegisterOrderRequest): void;
|
|
47
46
|
openLinkRelationDialog(): void;
|
|
48
47
|
handlePaymentDone(): Promise<void>;
|
|
49
|
-
transactionRelation(): Relation;
|
|
50
48
|
}
|
|
@@ -1,14 +1,27 @@
|
|
|
1
1
|
@include export-module('cc-transaction-cash-register-payment-dialog-layout') {
|
|
2
2
|
.co-transaction-cash-register-payment-dialog {
|
|
3
|
+
font-family: $tp-transaction-cash-register-payment-dialog-font-family;
|
|
4
|
+
font-size: $tp-transaction-cash-register-payment-dialog-font-size;
|
|
5
|
+
|
|
6
|
+
.co-dialog:not(.is-mobile) .co-dialog-wrapper {
|
|
7
|
+
min-width: 70vw;
|
|
8
|
+
width: auto;
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
}
|
|
3
11
|
|
|
4
12
|
.title-wrapper {
|
|
5
13
|
display: flex;
|
|
14
|
+
gap: 30px;
|
|
15
|
+
font-size: $tp-transaction-cash-register-payment-dialog-font-size;
|
|
16
|
+
.title-date {
|
|
17
|
+
color: $tp-transaction-cash-register-payment-dialog-title-time-color;
|
|
18
|
+
}
|
|
6
19
|
}
|
|
7
20
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
21
|
+
//.dialog-content {
|
|
22
|
+
// width: 90vw;
|
|
23
|
+
// height: 90vh;
|
|
24
|
+
//}
|
|
12
25
|
|
|
13
26
|
.receipt-content-wrapper {
|
|
14
27
|
display: flex;
|
|
@@ -53,12 +66,21 @@
|
|
|
53
66
|
|
|
54
67
|
.dialog-content-wrapper {
|
|
55
68
|
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
56
70
|
justify-content: center;
|
|
57
71
|
height: 100%;
|
|
58
72
|
align-items: center;
|
|
59
|
-
|
|
60
73
|
.image-wrapper {
|
|
61
|
-
|
|
74
|
+
height: 250px;
|
|
75
|
+
width: 100%;
|
|
76
|
+
.payment-image {
|
|
77
|
+
background-image: url("../ione_payment_image.png");
|
|
78
|
+
height: 100%;
|
|
79
|
+
width: 100%;
|
|
80
|
+
background-repeat: no-repeat;
|
|
81
|
+
background-size: cover;
|
|
82
|
+
background-position: center center;
|
|
83
|
+
}
|
|
62
84
|
}
|
|
63
85
|
|
|
64
86
|
.payment-wrapper {
|
|
@@ -4,28 +4,31 @@ import { TransactionCashRegisterPaymentState } from './transaction-cash-register
|
|
|
4
4
|
import { PaymentService } from '../../../service/payment.service';
|
|
5
5
|
import { TransactionService } from '../../../service/transaction.service';
|
|
6
6
|
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
import { TransactionPaymentBaseComponent } from '../../core/base/transaction-payment-base.component';
|
|
8
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
9
|
+
export declare class TransactionCashRegisterPaymentDialogComponent extends TransactionPaymentBaseComponent implements OnInit {
|
|
10
|
+
protected transactionService: TransactionService;
|
|
11
|
+
protected paymentService: PaymentService;
|
|
12
|
+
protected transactionEventService: TransactionEventService;
|
|
13
|
+
iconCacheService: IconCacheService;
|
|
11
14
|
readonly paymentStates: typeof TransactionCashRegisterPaymentState;
|
|
12
|
-
|
|
13
|
-
transactionUuid: string;
|
|
14
|
-
currencyId: number;
|
|
15
|
+
transactionNr: number;
|
|
15
16
|
set paymentViewModel(paymentViewModel: PaymentViewmodel);
|
|
16
17
|
closeDialog: EventEmitter<void>;
|
|
17
18
|
paymentState: TransactionCashRegisterPaymentState;
|
|
18
19
|
orderTotal: number;
|
|
20
|
+
currentDate: Date;
|
|
21
|
+
paymentDone: boolean;
|
|
19
22
|
private _paymentViewModel;
|
|
20
|
-
private _subs;
|
|
21
23
|
showClass(): boolean;
|
|
22
|
-
constructor(paymentService: PaymentService,
|
|
23
|
-
ngOnInit(): void
|
|
24
|
-
|
|
24
|
+
constructor(transactionService: TransactionService, paymentService: PaymentService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService);
|
|
25
|
+
ngOnInit(): Promise<void>;
|
|
26
|
+
handlePayed(): void;
|
|
25
27
|
handleChangePaymentMethod(paymentViewModel: PaymentViewmodel): void;
|
|
26
28
|
handleCloseDialog(): void;
|
|
27
29
|
changePaymentMethodClicked(): void;
|
|
30
|
+
protected paymentInfoReady(): void;
|
|
31
|
+
private _checkPayment;
|
|
28
32
|
private _setState;
|
|
29
|
-
handlePayment(): void;
|
|
30
33
|
handleReceiptOptionSelected(): void;
|
|
31
34
|
}
|
package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { Icon } from '../../../enum/icon.enum';
|
|
2
3
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
3
4
|
import { RelationAnyType } from '../../../model/relation-any-type';
|
|
@@ -11,6 +12,7 @@ export declare class TransactionHeaderComponent {
|
|
|
11
12
|
relation: RelationAnyType;
|
|
12
13
|
set transaction(value: TransactionInfoResponse);
|
|
13
14
|
get transaction(): TransactionInfoResponse;
|
|
15
|
+
relationChange: EventEmitter<RelationAnyType>;
|
|
14
16
|
showClass(): boolean;
|
|
15
17
|
isPurchaseOrder: boolean;
|
|
16
18
|
private _transaction;
|
|
@@ -31,8 +31,8 @@ export declare abstract class TransactionHeaderPopupBaseComponent extends Transa
|
|
|
31
31
|
ngOnDestroy(): Promise<void>;
|
|
32
32
|
protected transactionInfoSet(): Promise<void>;
|
|
33
33
|
saveObjects(): Promise<void>;
|
|
34
|
-
saveRelation(): Promise<
|
|
35
|
-
saveTransaction(): Promise<
|
|
34
|
+
saveRelation(): Promise<boolean>;
|
|
35
|
+
saveTransaction(): Promise<boolean>;
|
|
36
36
|
protected setFormPristine(): void;
|
|
37
37
|
protected setFormDirty(): void;
|
|
38
38
|
private _askForSave;
|