@colijnit/transaction 255.1.43 → 255.1.45
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 +127 -54
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-base.component.js +24 -11
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +3 -1
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-picking-button-bar-button.component.js +32 -10
- package/esm2015/lib/component/transaction-cash-register-dialog/transaction-cash-register-dialog.component.js +6 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +7 -8
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.js +4 -2
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.js +2 -2
- package/esm2015/lib/enum/transaction-picking-button-category.enum.js +7 -0
- package/esm2015/lib/service/transaction-mapping.service.js +9 -1
- package/esm2015/lib/service/transaction-payment.service.js +2 -2
- package/esm2015/lib/service/transaction.service.js +21 -6
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +109 -43
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-base.component.d.ts +4 -1
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-picking-button-bar-button.component.d.ts +6 -2
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +1 -1
- package/lib/enum/transaction-picking-button-category.enum.d.ts +5 -0
- package/package.json +1 -1
|
@@ -37,6 +37,8 @@ export declare abstract class TransactionBaseComponent implements OnInit, OnDest
|
|
|
37
37
|
readonly category: typeof TransactionTypeCategory;
|
|
38
38
|
set cfgName(value: string);
|
|
39
39
|
get cfgName(): string;
|
|
40
|
+
set forceWritable(value: boolean);
|
|
41
|
+
get forceWritable(): boolean;
|
|
40
42
|
set transaction(value: TransactionInfoResponse);
|
|
41
43
|
get transaction(): TransactionInfoResponse;
|
|
42
44
|
set transactionLine(value: TransactionLineInfo);
|
|
@@ -125,10 +127,11 @@ export declare abstract class TransactionBaseComponent implements OnInit, OnDest
|
|
|
125
127
|
private _selected;
|
|
126
128
|
private _baseSubs;
|
|
127
129
|
private _cfgName;
|
|
130
|
+
private _forceWritable;
|
|
128
131
|
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
|
|
129
132
|
ngOnInit(): void;
|
|
130
133
|
ngOnDestroy(): void;
|
|
131
|
-
handleCommit(value: any)
|
|
134
|
+
handleCommit: (value: any) => Promise<boolean>;
|
|
132
135
|
deleteTransactionLineClick(event: MouseEvent): Promise<void>;
|
|
133
136
|
handleVisibilityChange(line: TransactionLineInfo, visible: boolean): void;
|
|
134
137
|
protected commit(value: any): Promise<boolean>;
|
|
@@ -6,21 +6,25 @@ import { TransactionBarButton } from '../../../model/transaction-bar-button';
|
|
|
6
6
|
import { TransactionTypeCategory } from '../../../enum/transaction-type-category.enum';
|
|
7
7
|
import { TransactionMappingService } from '../../../service/transaction-mapping.service';
|
|
8
8
|
import { TransactionEventService } from '../../../service/transaction-event.service';
|
|
9
|
+
import { TransactionPickingButtonCategory } from "../../../enum/transaction-picking-button-category.enum";
|
|
10
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
9
11
|
export declare class TransactionSalesPickingButtonBarButtonComponent extends TransactionButtonBarButtonBaseComponent implements OnDestroy {
|
|
10
12
|
iconCacheService: IconCacheService;
|
|
11
13
|
private _mappingService;
|
|
12
14
|
private _transactionEventService;
|
|
15
|
+
private _transactionService;
|
|
13
16
|
readonly icons: typeof Icon;
|
|
14
17
|
readonly category: typeof TransactionTypeCategory;
|
|
18
|
+
readonly buttonCategory: typeof TransactionPickingButtonCategory;
|
|
15
19
|
buttonClicked: EventEmitter<TransactionBarButton>;
|
|
16
20
|
showClass: boolean;
|
|
17
21
|
showCategories: boolean;
|
|
18
22
|
pickedChecked: boolean;
|
|
19
23
|
toBePickedChecked: boolean;
|
|
20
24
|
private _subs;
|
|
21
|
-
constructor(iconCacheService: IconCacheService, _mappingService: TransactionMappingService, _transactionEventService: TransactionEventService);
|
|
25
|
+
constructor(iconCacheService: IconCacheService, _mappingService: TransactionMappingService, _transactionEventService: TransactionEventService, _transactionService: TransactionService);
|
|
22
26
|
ngOnDestroy(): void;
|
|
23
27
|
handleClickWrapper(event: MouseEvent): void;
|
|
24
|
-
handlePickingCategoryClicked(event: MouseEvent, category:
|
|
28
|
+
handlePickingCategoryClicked(event: MouseEvent, category: TransactionPickingButtonCategory): void;
|
|
25
29
|
private _checkAdditional;
|
|
26
30
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
.transaction-line-color-indicator {
|
|
9
9
|
height: initial;
|
|
10
10
|
width: $tp-transaction-base-line-color-indicator-width;
|
|
11
|
+
min-width: $tp-transaction-base-line-color-indicator-width;
|
|
11
12
|
max-height: $tp-transaction-base-line-min-height;
|
|
12
13
|
}
|
|
13
14
|
.transaction-base-line-section {
|
|
@@ -3,6 +3,6 @@ export declare class TransactionLineAmountComponent extends TransactionBaseCompo
|
|
|
3
3
|
showClass(): boolean;
|
|
4
4
|
localAmount: number;
|
|
5
5
|
isReturn: boolean;
|
|
6
|
-
protected commit(amount: number)
|
|
6
|
+
protected commit: (amount: number) => Promise<boolean>;
|
|
7
7
|
transactionLineSet(): Promise<void>;
|
|
8
8
|
}
|