@colijnit/transaction 255.1.44 → 255.1.46
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 +157 -64
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/avatar/avatar.component.js +8 -3
- 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-card/transaction-card-purchase-confirmation/transaction-card-purchase-confirmation.component.js +101 -96
- package/esm2015/lib/component/transaction-cash-register-dialog/transaction-cash-register-dialog.component.js +4 -4
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -3
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-order.component.js +7 -2
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +3 -8
- 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-lines-side-panel/transaction-lines-side-panel-cash-desk/transaction-lines-side-panel-cash-desk.component.js +2 -2
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/transaction-lines-side-panel-service-order.component.js +6 -4
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/transaction-lines-side-panel-service-order.module.js +4 -3
- package/esm2015/lib/component/transaction-service-overview/components/transaction-service-message.component.js +3 -2
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +22 -15
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.module.js +4 -3
- package/esm2015/lib/enum/transaction-cfg-name.enum.js +12 -1
- 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 +4 -4
- package/esm2015/lib/service/transaction.service.js +21 -6
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +256 -163
- 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-card/transaction-card/style/_layout.scss +14 -1
- package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +1 -1
- package/lib/component/transaction-lines-side-panel/transaction-lines-side-panel-service-order/transaction-lines-side-panel-service-order.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +1 -1
- package/lib/enum/transaction-cfg-name.enum.d.ts +12 -1
- package/lib/enum/transaction-picking-button-category.enum.d.ts +5 -0
- package/package.json +2 -2
|
@@ -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
|
}
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
padding: 12px;
|
|
17
17
|
width: 100%;
|
|
18
18
|
|
|
19
|
-
co-input-number-picker,
|
|
19
|
+
co-input-number-picker,
|
|
20
|
+
.transaction-card-price,
|
|
21
|
+
co-input-text {
|
|
20
22
|
display: flex;
|
|
21
23
|
align-items: center;
|
|
22
24
|
justify-content: center;
|
|
@@ -25,16 +27,27 @@
|
|
|
25
27
|
width: auto;
|
|
26
28
|
min-width: 100px;
|
|
27
29
|
height: 26px;
|
|
30
|
+
|
|
28
31
|
.co-input-text {
|
|
29
32
|
border: none;
|
|
33
|
+
|
|
30
34
|
input {
|
|
31
35
|
margin: 4px 0 0;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
38
|
+
|
|
34
39
|
&.price {
|
|
35
40
|
width: auto;
|
|
36
41
|
font-weight: bold;
|
|
37
42
|
}
|
|
43
|
+
|
|
44
|
+
&.warning {
|
|
45
|
+
border-color: $tp-color-error;
|
|
46
|
+
|
|
47
|
+
&:before {
|
|
48
|
+
box-shadow: inset 0 0 0 1px $tp-color-error;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
38
51
|
}
|
|
39
52
|
|
|
40
53
|
.transaction-card-content-wrapper {
|
|
@@ -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
|
}
|
|
@@ -7,6 +7,7 @@ import { TransactionImageService } from '../../../service/transaction-image.serv
|
|
|
7
7
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
8
8
|
import { TransactionService } from '../../../service/transaction.service';
|
|
9
9
|
import { Icon } from '../../../enum/icon.enum';
|
|
10
|
+
import { TransactionCfgName } from "../../../enum/transaction-cfg-name.enum";
|
|
10
11
|
export declare class TransactionLinesSidePanelServiceOrderComponent extends TransactionBaseComponent implements OnInit {
|
|
11
12
|
transactionEventService: TransactionEventService;
|
|
12
13
|
iconCacheService: IconCacheService;
|
|
@@ -16,6 +17,7 @@ export declare class TransactionLinesSidePanelServiceOrderComponent extends Tran
|
|
|
16
17
|
protected transactionService: TransactionService;
|
|
17
18
|
protected changeDetector: ChangeDetectorRef;
|
|
18
19
|
readonly Icon: typeof Icon;
|
|
20
|
+
readonly cfgNames: typeof TransactionCfgName;
|
|
19
21
|
showClass(): boolean;
|
|
20
22
|
showDetails: boolean;
|
|
21
23
|
image: string;
|
|
@@ -38,7 +38,7 @@ export declare abstract class TransactionQuickAccessSendMethodBaseComponent exte
|
|
|
38
38
|
defaultSendMethodIcon: string;
|
|
39
39
|
emailAddresses: string[];
|
|
40
40
|
showSendMethodDialog: boolean;
|
|
41
|
-
sendMethods: import("@colijnit/sharedcomponents").ɵ
|
|
41
|
+
sendMethods: import("@colijnit/sharedcomponents").ɵbs[];
|
|
42
42
|
showLoader: boolean;
|
|
43
43
|
signatureDocumentId: number;
|
|
44
44
|
historicReports: HistoricReport[];
|
|
@@ -154,5 +154,16 @@ export declare enum TransactionCfgName {
|
|
|
154
154
|
LineQuantityToReceive = "lineQuantityToReceive",
|
|
155
155
|
StickerAmount = "stickerAmount",
|
|
156
156
|
LineWarehouseLocationReceived = "lineWarehouseLocationReceived",
|
|
157
|
-
ServiceMessage = "serviceMessage"
|
|
157
|
+
ServiceMessage = "serviceMessage",
|
|
158
|
+
ServiceWizardMessage = "serviceWizardMessage",
|
|
159
|
+
ServiceOverviewImage = "serviceOverviewImage",
|
|
160
|
+
ServicePriority = "servicePriority",
|
|
161
|
+
ServiceCauseCode = "serviceCauseCode",
|
|
162
|
+
ServiceEntryType = "serviceEntryType",
|
|
163
|
+
HeaderTaskCreator = "headerTaskCreator",
|
|
164
|
+
HeaderActivityList = "headerActivityList",
|
|
165
|
+
HeaderHistActivities = "headerHistActivities",
|
|
166
|
+
HeaderProductDetails = "headerProductDetails",
|
|
167
|
+
HeaderOrderDetails = "headerOrderDetails",
|
|
168
|
+
HeaderPurchaseDetails = "headerPurchaseDetails"
|
|
158
169
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "255.1.
|
|
3
|
+
"version": "255.1.46",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@colijnit/relation": ">=255.1.2",
|
|
20
20
|
"@colijnit/relationapi": ">=255.1.3",
|
|
21
21
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
22
|
-
"@colijnit/sharedcomponents": ">=255.1.
|
|
22
|
+
"@colijnit/sharedcomponents": ">=255.1.23",
|
|
23
23
|
"@colijnit/transactionapi": ">=255.1.15",
|
|
24
24
|
"@types/three": ">=0.125.0",
|
|
25
25
|
"@tweenjs/tween.js": ">=17.2.0",
|