@colijnit/transaction 300.1.44 → 300.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/fesm2022/colijnit-transaction.mjs +211 -158
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +15 -4
- package/lib/component/save-cancel-buttons/style/_layout.scss +14 -0
- package/lib/component/save-cancel-buttons/style/_material-definition.scss +13 -5
- package/lib/component/save-cancel-buttons/style/_theme.scss +2 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -303,6 +303,7 @@ import { BatchDownloadInfo } from '@colijnit/transactionapi/build/model/batch-do
|
|
|
303
303
|
import { FileDownloadToken } from '@colijnit/transactionapi/build/model/file-download-token.bo';
|
|
304
304
|
import { AvailableWarehouseStockPerBatch } from '@colijnit/transactionapi/build/model/available-warehouse-stock-per-batch.bo';
|
|
305
305
|
import { PriceListArchetype } from '@colijnit/transactionapi/build/enum/price-list-archetype.enum';
|
|
306
|
+
import { CoNotition } from '@colijnit/mainapi/build/model/co-notition.bo';
|
|
306
307
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
307
308
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
308
309
|
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
@@ -1397,6 +1398,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1397
1398
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
1398
1399
|
getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
|
|
1399
1400
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
1401
|
+
selectNotesByTableKey(key: string, table: TableName): Promise<CoNotition[]>;
|
|
1400
1402
|
getInternalParameterValue(param: InternalParam): Promise<InternalParam>;
|
|
1401
1403
|
getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
|
|
1402
1404
|
getHistoricDocuments(transId: number, documentCode: LayoutCode, headerOnly?: boolean): Promise<HistoricReport[]>;
|
|
@@ -1913,6 +1915,7 @@ declare class TransactionConnectorService {
|
|
|
1913
1915
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
1914
1916
|
getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
|
|
1915
1917
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
1918
|
+
selectNotesByTableKey(key: string, table: TableName): Promise<CoNotition[]>;
|
|
1916
1919
|
getInternalParameterValue(param: InternalParam): Promise<InternalParam>;
|
|
1917
1920
|
getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
|
|
1918
1921
|
getHistoricDocuments(transId: number, documentCode: LayoutCode, headerOnly?: boolean): Promise<HistoricReport[]>;
|
|
@@ -2466,6 +2469,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2466
2469
|
refreshCurrentTransaction(): Promise<void>;
|
|
2467
2470
|
protected _checkHeaderStatus(): void;
|
|
2468
2471
|
private makeRefTransactionList;
|
|
2472
|
+
showArticleNotificationsIfNecessary(goodId: number): Promise<void>;
|
|
2469
2473
|
updateHeaderTransactionDepositAmount(uuid: string, amount: number, saveTransaction: boolean): Promise<boolean>;
|
|
2470
2474
|
updateHeaderTransactionDepositPercentage(uuid: string, amount: number, saveTransaction: boolean): Promise<boolean>;
|
|
2471
2475
|
resetLockTransaction(): void;
|
|
@@ -2482,6 +2486,8 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2482
2486
|
private _getRelation;
|
|
2483
2487
|
private _setAmount;
|
|
2484
2488
|
private _shouldCheckRefTransactions;
|
|
2489
|
+
private _getCurrentTransactionInfo;
|
|
2490
|
+
private _saveDirtyTransactionBeforeOpeningOther;
|
|
2485
2491
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionBaseService, never>;
|
|
2486
2492
|
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionBaseService>;
|
|
2487
2493
|
}
|
|
@@ -3653,8 +3659,6 @@ declare class CheckoutComponent implements OnInit, OnDestroy {
|
|
|
3653
3659
|
ngOnDestroy(): void;
|
|
3654
3660
|
handleCreateTransaction(event: MouseEvent): Promise<void>;
|
|
3655
3661
|
handleRelationValidation(): Promise<boolean>;
|
|
3656
|
-
checkForEmailContactOption(): Promise<boolean>;
|
|
3657
|
-
checkForPhoneContactOption(): Promise<boolean>;
|
|
3658
3662
|
checkForAndSetSearchAddress(): void;
|
|
3659
3663
|
checkAndClearSingleEmptyAddress(): void;
|
|
3660
3664
|
handleDeliveryValidation(): Promise<boolean>;
|
|
@@ -4884,6 +4888,7 @@ declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4884
4888
|
private _transactionHeaderService;
|
|
4885
4889
|
private _transactionLineService;
|
|
4886
4890
|
private _transactionEventService;
|
|
4891
|
+
private _transactionService;
|
|
4887
4892
|
private _changeDetector;
|
|
4888
4893
|
private _mappingService;
|
|
4889
4894
|
private _appRef;
|
|
@@ -4917,7 +4922,7 @@ declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4917
4922
|
private _componentRef;
|
|
4918
4923
|
private _subs;
|
|
4919
4924
|
private _shouldCreate;
|
|
4920
|
-
constructor(_transactionHeaderService: TransactionHeaderService, _transactionLineService: TransactionLineService, _transactionEventService: TransactionEventService, _changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _appRef: ApplicationRef);
|
|
4925
|
+
constructor(_transactionHeaderService: TransactionHeaderService, _transactionLineService: TransactionLineService, _transactionEventService: TransactionEventService, _transactionService: TransactionService, _changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _appRef: ApplicationRef);
|
|
4921
4926
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4922
4927
|
ngOnInit(): void;
|
|
4923
4928
|
ngOnDestroy(): void;
|
|
@@ -11900,6 +11905,7 @@ declare class TransactionSearchTileModule {
|
|
|
11900
11905
|
|
|
11901
11906
|
declare class QuickSendButtonComponent {
|
|
11902
11907
|
iconCacheService: IconCacheService;
|
|
11908
|
+
private _transactionService;
|
|
11903
11909
|
readonly icons: typeof Icon;
|
|
11904
11910
|
title: string;
|
|
11905
11911
|
icon: Icon;
|
|
@@ -11911,7 +11917,10 @@ declare class QuickSendButtonComponent {
|
|
|
11911
11917
|
showClass(): boolean;
|
|
11912
11918
|
openSendMethodDialog: EventEmitter<MouseEvent>;
|
|
11913
11919
|
sendIconClicked: EventEmitter<MouseEvent>;
|
|
11914
|
-
constructor(iconCacheService: IconCacheService);
|
|
11920
|
+
constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
|
|
11921
|
+
handleSendIconClick(event: MouseEvent): Promise<void>;
|
|
11922
|
+
handleSendMethodDialogClick(event: MouseEvent): Promise<void>;
|
|
11923
|
+
private _saveTransactionIfDirty;
|
|
11915
11924
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickSendButtonComponent, never>;
|
|
11916
11925
|
static ɵcmp: i0.ɵɵComponentDeclaration<QuickSendButtonComponent, "co-quick-send-button", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "defaultMethodIcon": { "alias": "defaultMethodIcon"; "required": false; }; "showSendMethodIcon": { "alias": "showSendMethodIcon"; "required": false; }; "showSendMethodDialogIcon": { "alias": "showSendMethodDialogIcon"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "openSendMethodDialog": "openSendMethodDialog"; "sendIconClicked": "sendIconClicked"; }, never, never, false, never>;
|
|
11917
11926
|
}
|
|
@@ -14741,6 +14750,8 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
|
|
|
14741
14750
|
showClass(): boolean;
|
|
14742
14751
|
private _activeCategory;
|
|
14743
14752
|
private _componentRef;
|
|
14753
|
+
private _componentClass;
|
|
14754
|
+
private _transactionId;
|
|
14744
14755
|
private _shouldCreate;
|
|
14745
14756
|
private _transactionKind;
|
|
14746
14757
|
private _quickAccessContainer;
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
pointer-events: all;
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
font-size: $tp-save-cancel-buttons-font-size;
|
|
29
|
+
.co-icon {
|
|
30
|
+
height: $tp-save-cancel-buttons-icon-size;
|
|
31
|
+
width: $tp-save-cancel-buttons-icon-size;
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
34
|
.save-cancel-buttons-wrapper {
|
|
31
35
|
display: flex;
|
|
@@ -37,5 +41,15 @@
|
|
|
37
41
|
pointer-events: all;
|
|
38
42
|
}
|
|
39
43
|
}
|
|
44
|
+
.save-button {
|
|
45
|
+
padding: $tp-save-cancel-buttons-save-button-padding;
|
|
46
|
+
border-style: $tp-save-cancel-buttons-save-button-border-style;
|
|
47
|
+
border-width: $tp-save-cancel-buttons-save-button-border-width;
|
|
48
|
+
}
|
|
49
|
+
.cancel-button {
|
|
50
|
+
padding: $tp-save-cancel-buttons-cancel-button-padding;
|
|
51
|
+
border-style: $tp-save-cancel-buttons-cancel-button-border-style;
|
|
52
|
+
border-width: $tp-save-cancel-buttons-cancel-button-border-width;
|
|
53
|
+
}
|
|
40
54
|
}
|
|
41
55
|
}
|
|
@@ -4,12 +4,20 @@ $tp-save-cancel-buttons-z-index: 99 !default;
|
|
|
4
4
|
$tp-save-cancel-buttons-column-gap: 5px !default;
|
|
5
5
|
$tp-save-cancel-buttons-padding: 10px !default;
|
|
6
6
|
$tp-save-cancel-buttons-radius: 5px !default;
|
|
7
|
-
$tp-save-cancel-buttons-background:
|
|
7
|
+
$tp-save-cancel-buttons-background: none !default;
|
|
8
8
|
$tp-save-cancel-buttons-button-size: 30px !default;
|
|
9
|
-
$tp-save-cancel-buttons-icon-size:
|
|
9
|
+
$tp-save-cancel-buttons-icon-size: 20px !default;
|
|
10
|
+
$tp-save-cancel-buttons-save-button-border-style: solid !default;
|
|
11
|
+
$tp-save-cancel-buttons-save-button-border-color: $tp-color-border !default;
|
|
12
|
+
$tp-save-cancel-buttons-save-button-border-width: 1px !default;
|
|
10
13
|
$tp-save-cancel-buttons-save-button-color: $tp-color-action !default;
|
|
14
|
+
$tp-save-cancel-buttons-save-button-padding: 18px 25px !default;
|
|
11
15
|
$tp-save-cancel-buttons-save-icon-color: white !default;
|
|
12
16
|
$tp-save-cancel-buttons-save-label-color: white !default;
|
|
13
|
-
$tp-save-cancel-buttons-cancel-button-
|
|
14
|
-
$tp-save-cancel-buttons-cancel-
|
|
15
|
-
$tp-save-cancel-buttons-cancel-
|
|
17
|
+
$tp-save-cancel-buttons-cancel-button-border-style: solid !default;
|
|
18
|
+
$tp-save-cancel-buttons-cancel-button-border-color: $tp-color-border !default;
|
|
19
|
+
$tp-save-cancel-buttons-cancel-button-border-width: 1px !default;
|
|
20
|
+
$tp-save-cancel-buttons-cancel-button-color: white !default;
|
|
21
|
+
$tp-save-cancel-buttons-cancel-button-padding: 18px 25px !default;
|
|
22
|
+
$tp-save-cancel-buttons-cancel-icon-color: $tp-color-font !default;
|
|
23
|
+
$tp-save-cancel-buttons-cancel-label-color: $tp-color-font !default;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
.save-button {
|
|
4
4
|
color: $tp-save-cancel-buttons-save-label-color;
|
|
5
5
|
background: $tp-save-cancel-buttons-save-button-color;
|
|
6
|
+
border-color: $tp-save-cancel-buttons-save-button-border-color;
|
|
6
7
|
svg {
|
|
7
8
|
fill: $tp-save-cancel-buttons-save-icon-color;
|
|
8
9
|
}
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
.cancel-button {
|
|
14
15
|
color: $tp-save-cancel-buttons-cancel-label-color;
|
|
15
16
|
background: $tp-save-cancel-buttons-cancel-button-color;
|
|
17
|
+
border-color: $tp-save-cancel-buttons-cancel-button-border-color;
|
|
16
18
|
svg {
|
|
17
19
|
fill: $tp-save-cancel-buttons-cancel-icon-color;
|
|
18
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "300.1.
|
|
3
|
+
"version": "300.1.46",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"@colijnit/catalog": ">=300.1.5",
|
|
14
14
|
"@colijnit/corecomponents_v12": ">=300.1.4",
|
|
15
15
|
"@colijnit/ioneconnector": ">=300.1.1",
|
|
16
|
-
"@colijnit/mainapi": ">=300.1.
|
|
16
|
+
"@colijnit/mainapi": ">=300.1.15",
|
|
17
17
|
"@colijnit/product": ">=300.1.0",
|
|
18
|
-
"@colijnit/relation": ">=300.1.
|
|
18
|
+
"@colijnit/relation": ">=300.1.1",
|
|
19
19
|
"@colijnit/relationapi": ">=300.1.1",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=300.1.18",
|