@colijnit/transaction 12.1.93 → 12.1.94
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 +164 -180
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- 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 -13
- package/esm2015/lib/component/transaction/transaction.component.js +6 -7
- package/esm2015/lib/component/transaction/transaction.module.js +1 -1
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +14 -14
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +7 -1
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +17 -10
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +8 -3
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +4 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +8 -3
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +7 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +1 -1
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +7 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +6 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +1 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/transaction-base.service.js +13 -110
- package/esm2015/lib/service/transaction-event.service.js +2 -1
- package/esm2015/lib/service/transaction-mapping.service.js +3 -2
- package/esm2015/lib/service/transaction.service.js +14 -25
- package/fesm2015/colijnit-transaction.js +195 -270
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/shared/transaction-article-text/style/_layout.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +1 -2
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +3 -1
- package/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.d.ts +2 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +2 -0
- package/lib/res/dictionary/dictionaries.d.ts +6 -0
- package/lib/service/transaction-base.service.d.ts +1 -4
- package/lib/service/transaction-event.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +2 -2
|
@@ -16,7 +16,6 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
16
16
|
iconCacheService: IconCacheService;
|
|
17
17
|
service: TransactionService;
|
|
18
18
|
private _appRef;
|
|
19
|
-
private _transactionService;
|
|
20
19
|
private _dynamicComponentService;
|
|
21
20
|
private _transactionEventService;
|
|
22
21
|
readonly viewModes: typeof ContentViewMode;
|
|
@@ -43,7 +42,7 @@ export declare class TransactionComponent implements OnDestroy {
|
|
|
43
42
|
private _subs;
|
|
44
43
|
private _transaction;
|
|
45
44
|
private _transactionId;
|
|
46
|
-
constructor(iconCacheService: IconCacheService, service: TransactionService, _appRef: ApplicationRef,
|
|
45
|
+
constructor(iconCacheService: IconCacheService, service: TransactionService, _appRef: ApplicationRef, _dynamicComponentService: DynamicComponentService, _transactionEventService: TransactionEventService);
|
|
47
46
|
ngOnDestroy(): void;
|
|
48
47
|
handleButtonBarButtonClicked(button: TransactionBarButton): void;
|
|
49
48
|
handleShowSidePanel(line: TransactionLineInfo): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, OnInit, Type } from "@angular/core";
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, OnDestroy, OnInit, Type } from "@angular/core";
|
|
2
2
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
3
3
|
import { TransactionButtonBarButtonBaseComponent } from "./transaction-button-bar-button-base.component";
|
|
4
|
-
export declare class TransactionButtonBarButtonComponent extends TransactionButtonBarButtonBaseComponent implements OnInit {
|
|
4
|
+
export declare class TransactionButtonBarButtonComponent extends TransactionButtonBarButtonBaseComponent implements OnInit, OnDestroy {
|
|
5
5
|
iconCacheService: IconCacheService;
|
|
6
6
|
private _compFactoryResolver;
|
|
7
7
|
private appRef;
|
|
@@ -12,7 +12,9 @@ export declare class TransactionButtonBarButtonComponent extends TransactionButt
|
|
|
12
12
|
get isLoaderShowing(): boolean;
|
|
13
13
|
useComponent: boolean;
|
|
14
14
|
buttonWrapper: ElementRef;
|
|
15
|
+
private _componentRef;
|
|
15
16
|
constructor(iconCacheService: IconCacheService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector);
|
|
16
17
|
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
17
19
|
private _checkAndCreateComponent;
|
|
18
20
|
}
|
package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts
CHANGED
|
@@ -14,9 +14,11 @@ export declare class TransactionBaseLineComponent extends TransactionBaseCompone
|
|
|
14
14
|
actionButtons: boolean;
|
|
15
15
|
checkboxValueChanged: EventEmitter<boolean>;
|
|
16
16
|
waitingForUserAction: EventEmitter<boolean>;
|
|
17
|
+
descriptionDblClick: EventEmitter<void>;
|
|
17
18
|
showClass(): boolean;
|
|
18
19
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
deleteTransactionLineClick(event: MouseEvent): Promise<void>;
|
|
21
22
|
handleShowSidePanel(line: TransactionLineInfo): void;
|
|
23
|
+
onDescriptionDblClick(): void;
|
|
22
24
|
}
|
|
@@ -14,9 +14,11 @@ export declare class TransactionGoodsAllocationLineComponent extends Transaction
|
|
|
14
14
|
readonly category: typeof TransactionTypeCategory;
|
|
15
15
|
private _subscriptions;
|
|
16
16
|
showClass(): boolean;
|
|
17
|
+
quantityAllocated: number;
|
|
17
18
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
ngOnDestroy(): void;
|
|
21
|
+
protected transactionLineSet(): void;
|
|
20
22
|
handleRowVisible(): Promise<void>;
|
|
21
23
|
handleLineClicked(mouseClick: PointerEvent): void;
|
|
22
24
|
}
|
|
@@ -14,6 +14,7 @@ export declare class TransactionLineComponent extends TransactionBaseComponent i
|
|
|
14
14
|
get activeCategory(): TransactionTypeCategory;
|
|
15
15
|
preview: boolean;
|
|
16
16
|
waitingForUserAction: EventEmitter<boolean>;
|
|
17
|
+
descriptionDblClick: EventEmitter<void>;
|
|
17
18
|
showClass(): boolean;
|
|
18
19
|
private _transactionLineContainer;
|
|
19
20
|
private _activeCategory;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { StockStatus } from "@colijnit/transactionapi/build/enum/refcode/stock-status.enum";
|
|
3
3
|
import { TransactionService } from "../../../service/transaction.service";
|
|
4
4
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
@@ -13,6 +13,7 @@ export declare class TransactionOverviewLineComponent extends TransactionBaseCom
|
|
|
13
13
|
private _dictionaryService;
|
|
14
14
|
readonly category: typeof TransactionTypeCategory;
|
|
15
15
|
transactionLineActionButtons: TransactionLineActionButtonsComponent;
|
|
16
|
+
descriptionDblClick: EventEmitter<void>;
|
|
16
17
|
showClass(): boolean;
|
|
17
18
|
handleMouseOver(event: MouseEvent): void;
|
|
18
19
|
handleMouseLeave(event: MouseEvent): void;
|
|
@@ -22,4 +23,5 @@ export declare class TransactionOverviewLineComponent extends TransactionBaseCom
|
|
|
22
23
|
transactionKind: TransactionKind;
|
|
23
24
|
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, _dictionaryService: DictionaryService);
|
|
24
25
|
ngOnInit(): void;
|
|
26
|
+
onDescriptionDblClick(): void;
|
|
25
27
|
}
|
|
@@ -19,6 +19,7 @@ export declare class TransactionLineImageAndDescriptionComponent {
|
|
|
19
19
|
showClass(): boolean;
|
|
20
20
|
preview: boolean;
|
|
21
21
|
openArticleTextClicked: EventEmitter<string>;
|
|
22
|
+
descriptionDblClick: EventEmitter<void>;
|
|
22
23
|
handleDeleteLine: EventEmitter<MouseEvent>;
|
|
23
24
|
image: string;
|
|
24
25
|
private _line;
|
|
@@ -26,4 +27,5 @@ export declare class TransactionLineImageAndDescriptionComponent {
|
|
|
26
27
|
handleOpenArticleText(text: string): void;
|
|
27
28
|
deleteTransactionLineClick(event: MouseEvent): Promise<void>;
|
|
28
29
|
private _loadLineImage;
|
|
30
|
+
onDescriptionDblClick(): void;
|
|
29
31
|
}
|
|
@@ -25,6 +25,6 @@ export declare class TransactionLinesComponent extends TransactionBaseComponent
|
|
|
25
25
|
trackByFn(index: number, line: TransactionLineInfo): any;
|
|
26
26
|
handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
|
|
27
27
|
handleDrop(event: CdkDragDrop<TransactionLineInfo[]>): Promise<void>;
|
|
28
|
-
|
|
28
|
+
onDescriptionDblClick(line: TransactionLineInfo): void;
|
|
29
29
|
handleTransactionText(): void;
|
|
30
30
|
}
|
|
@@ -12,7 +12,9 @@ export declare class TransactionQuickAccessGoodsAllocationComponent extends Tran
|
|
|
12
12
|
awaitingResult: boolean;
|
|
13
13
|
resultSuccessful: boolean;
|
|
14
14
|
iconVisible: boolean;
|
|
15
|
+
canAllocate: boolean;
|
|
15
16
|
constructor(iconService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
16
17
|
handleSelectAllLines(value: boolean): void;
|
|
17
18
|
handleCommitEvent(): Promise<void>;
|
|
19
|
+
protected transactionSet(): void;
|
|
18
20
|
}
|
|
@@ -8,7 +8,9 @@ export declare class TransactionQuickAccessOrderPurchaseComponent extends Transa
|
|
|
8
8
|
readonly icons: typeof Icon;
|
|
9
9
|
showClass(): boolean;
|
|
10
10
|
showLoader: boolean;
|
|
11
|
+
canGenerate: boolean;
|
|
11
12
|
constructor(service: TransactionService, _transactionEventService: TransactionEventService);
|
|
12
13
|
handleSelectAllLines(value: boolean): void;
|
|
13
14
|
handleSend(event: MouseEvent): Promise<void>;
|
|
15
|
+
protected transactionSet(): void;
|
|
14
16
|
}
|
|
@@ -2439,6 +2439,7 @@ export declare class Dictionaries {
|
|
|
2439
2439
|
BACK_TO_TRANSFER_LIST: string;
|
|
2440
2440
|
BALANCE2: string;
|
|
2441
2441
|
BALANCE: string;
|
|
2442
|
+
BALANCE_SIDE: string;
|
|
2442
2443
|
BANK: string;
|
|
2443
2444
|
BANKS: string;
|
|
2444
2445
|
BANK_ACCOUNT: string;
|
|
@@ -3626,6 +3627,7 @@ export declare class Dictionaries {
|
|
|
3626
3627
|
DOUBLE_ARTICLE_NOT_ALLOWED: string;
|
|
3627
3628
|
DOUBLE_EAN_NOT_ALLOWED: string;
|
|
3628
3629
|
DOUBLE_IN_LIST: string;
|
|
3630
|
+
DOWNLOAD: string;
|
|
3629
3631
|
DOWNLOADABLE: string;
|
|
3630
3632
|
DOWNLOADED: string;
|
|
3631
3633
|
DOWNLOADED_NOT_FULL_PROCESSED: string;
|
|
@@ -6836,6 +6838,7 @@ export declare class Dictionaries {
|
|
|
6836
6838
|
SCREENS_JS: string;
|
|
6837
6839
|
SEARCH2: string;
|
|
6838
6840
|
SEARCH: string;
|
|
6841
|
+
SEARCH_PAYMENT_BATCH: string;
|
|
6839
6842
|
SEARCHING: string;
|
|
6840
6843
|
SEARCHRESULTS_FOR: string;
|
|
6841
6844
|
SEARCH_ADD_ARTICLE: string;
|
|
@@ -10354,6 +10357,7 @@ export declare class Dictionaries {
|
|
|
10354
10357
|
BALANCE: string;
|
|
10355
10358
|
BALANCE_CREDIT: string;
|
|
10356
10359
|
BALANCE_DEBIT: string;
|
|
10360
|
+
BALANCE_SIDE: string;
|
|
10357
10361
|
BANK: string;
|
|
10358
10362
|
BANKS: string;
|
|
10359
10363
|
BANK_ACCOUNT: string;
|
|
@@ -11738,6 +11742,7 @@ export declare class Dictionaries {
|
|
|
11738
11742
|
DONT_SHOW: string;
|
|
11739
11743
|
DOUBLE_EAN_NOT_ALLOWED: string;
|
|
11740
11744
|
DOUBLE_IN_LIST: string;
|
|
11745
|
+
DOWNLOAD: string;
|
|
11741
11746
|
DOWNLOADABLE: string;
|
|
11742
11747
|
DOWNLOADED: string;
|
|
11743
11748
|
DOWNLOADED_NOT_FULL_PROCESSED: string;
|
|
@@ -15330,6 +15335,7 @@ export declare class Dictionaries {
|
|
|
15330
15335
|
SCREENS_JS: string;
|
|
15331
15336
|
SEARCH2: string;
|
|
15332
15337
|
SEARCH: string;
|
|
15338
|
+
SEARCH_PAYMENT_BATCH: string;
|
|
15333
15339
|
SEARCHING: string;
|
|
15334
15340
|
SEARCHRESULTS_FOR: string;
|
|
15335
15341
|
SEARCH_ADD_ARTICLE: string;
|
|
@@ -74,10 +74,7 @@ export declare class TransactionBaseService {
|
|
|
74
74
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
75
75
|
getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
|
|
76
76
|
rememberCurrentTransaction(value: TransactionInfoResponse): Promise<void>;
|
|
77
|
-
protected
|
|
78
|
-
protected _checkReceivedGoods(): Promise<void>;
|
|
79
|
-
protected _checkDelivery(): Promise<void>;
|
|
80
|
-
protected _checkGoodsAllocation(): Promise<void>;
|
|
77
|
+
protected _checkHeaderStatus(): void;
|
|
81
78
|
protected _checkPurchaseOrderConfirmation(): Promise<void>;
|
|
82
79
|
protected _checkRefTransaction(): Promise<void>;
|
|
83
80
|
protected _handleAfterRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
|
|
@@ -182,6 +182,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
182
182
|
getInternalParameter(param: InternalParam): Promise<boolean>;
|
|
183
183
|
handleReceiveSelectedPurchaseOrders(date: Date, packingSlipNr: string): Promise<boolean>;
|
|
184
184
|
handleAllocateSelectedPurchaseOrders(): Promise<boolean>;
|
|
185
|
+
getPurchaseOrderForTransactionLine(transId: number, transLine: TransactionLineInfo): Promise<void>;
|
|
185
186
|
protected _handleAfterRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
|
|
186
187
|
private _handleBusinessRuleDepositPercentageAmount;
|
|
187
188
|
private _handleBusinessRuleDepositAmount;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.94",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@colijnit/relationapi": ">=1.0.5",
|
|
19
19
|
"@colijnit/sharedapi": ">=1.0.10",
|
|
20
20
|
"@colijnit/sharedcomponents": ">=1.0.32",
|
|
21
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
21
|
+
"@colijnit/transactionapi": ">=1.1.73",
|
|
22
22
|
"@syncfusion/ej2-angular-buttons": ">=19.3.44",
|
|
23
23
|
"@syncfusion/ej2-angular-calendars": ">=19.3.44",
|
|
24
24
|
"@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
|