@colijnit/transaction 262.1.64 → 262.1.66
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 +697 -644
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +18 -7
- 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
|
@@ -300,6 +300,7 @@ import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/c
|
|
|
300
300
|
import { UpsertTransactionStandardTextRequest } from '@colijnit/transactionapi/build/model/upsert-transaction-standard-text-request';
|
|
301
301
|
import { ChangeHeaderExtraDocRequest } from '@colijnit/transactionapi/build/model/change-header-extra-doc-request';
|
|
302
302
|
import { AvailableWarehouseStockPerBatch } from '@colijnit/transactionapi/build/model/available-warehouse-stock-per-batch.bo';
|
|
303
|
+
import { CoNotition } from '@colijnit/mainapi/build/model/co-notition.bo';
|
|
303
304
|
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
304
305
|
import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
|
|
305
306
|
import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
|
|
@@ -1380,6 +1381,7 @@ declare class TransactionConnectorAdapterService {
|
|
|
1380
1381
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
1381
1382
|
getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
|
|
1382
1383
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
1384
|
+
selectNotesByTableKey(key: string, table: TableName): Promise<CoNotition[]>;
|
|
1383
1385
|
getInternalParameterValue(param: InternalParam): Promise<InternalParam>;
|
|
1384
1386
|
getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
|
|
1385
1387
|
getHistoricDocuments(transId: number, documentCode: LayoutCode, headerOnly?: boolean): Promise<HistoricReport[]>;
|
|
@@ -1883,6 +1885,7 @@ declare class TransactionConnectorService {
|
|
|
1883
1885
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
1884
1886
|
getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
|
|
1885
1887
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
1888
|
+
selectNotesByTableKey(key: string, table: TableName): Promise<CoNotition[]>;
|
|
1886
1889
|
getInternalParameterValue(param: InternalParam): Promise<InternalParam>;
|
|
1887
1890
|
getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
|
|
1888
1891
|
getHistoricDocuments(transId: number, documentCode: LayoutCode, headerOnly?: boolean): Promise<HistoricReport[]>;
|
|
@@ -2426,6 +2429,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2426
2429
|
refreshCurrentTransaction(): Promise<void>;
|
|
2427
2430
|
protected _checkHeaderStatus(): void;
|
|
2428
2431
|
private makeRefTransactionList;
|
|
2432
|
+
showArticleNotificationsIfNecessary(goodId: number): Promise<void>;
|
|
2429
2433
|
updateHeaderTransactionDepositAmount(uuid: string, amount: number, saveTransaction: boolean): Promise<boolean>;
|
|
2430
2434
|
updateHeaderTransactionDepositPercentage(uuid: string, amount: number, saveTransaction: boolean): Promise<boolean>;
|
|
2431
2435
|
resetLockTransaction(): void;
|
|
@@ -2442,6 +2446,8 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2442
2446
|
private _getRelation;
|
|
2443
2447
|
private _setAmount;
|
|
2444
2448
|
private _shouldCheckRefTransactions;
|
|
2449
|
+
private _getCurrentTransactionInfo;
|
|
2450
|
+
private _saveDirtyTransactionBeforeOpeningOther;
|
|
2445
2451
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionBaseService, never>;
|
|
2446
2452
|
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionBaseService>;
|
|
2447
2453
|
}
|
|
@@ -3576,8 +3582,6 @@ declare class CheckoutComponent implements OnInit, OnDestroy {
|
|
|
3576
3582
|
ngOnDestroy(): void;
|
|
3577
3583
|
handleCreateTransaction(event: MouseEvent): Promise<void>;
|
|
3578
3584
|
handleRelationValidation(): Promise<boolean>;
|
|
3579
|
-
checkForEmailContactOption(): Promise<boolean>;
|
|
3580
|
-
checkForPhoneContactOption(): Promise<boolean>;
|
|
3581
3585
|
checkForAndSetSearchAddress(): void;
|
|
3582
3586
|
checkAndClearSingleEmptyAddress(): void;
|
|
3583
3587
|
handleDeliveryValidation(): Promise<boolean>;
|
|
@@ -4792,6 +4796,7 @@ declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4792
4796
|
private _transactionHeaderService;
|
|
4793
4797
|
private _transactionLineService;
|
|
4794
4798
|
private _transactionEventService;
|
|
4799
|
+
private _transactionService;
|
|
4795
4800
|
private _changeDetector;
|
|
4796
4801
|
private _mappingService;
|
|
4797
4802
|
private _appRef;
|
|
@@ -4825,7 +4830,7 @@ declare class TransactionLineComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4825
4830
|
private _componentRef;
|
|
4826
4831
|
private _subs;
|
|
4827
4832
|
private _shouldCreate;
|
|
4828
|
-
constructor(_transactionHeaderService: TransactionHeaderService, _transactionLineService: TransactionLineService, _transactionEventService: TransactionEventService, _changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _appRef: ApplicationRef);
|
|
4833
|
+
constructor(_transactionHeaderService: TransactionHeaderService, _transactionLineService: TransactionLineService, _transactionEventService: TransactionEventService, _transactionService: TransactionService, _changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _appRef: ApplicationRef);
|
|
4829
4834
|
ngOnChanges(changes: SimpleChanges): void;
|
|
4830
4835
|
ngOnInit(): void;
|
|
4831
4836
|
ngOnDestroy(): void;
|
|
@@ -10055,7 +10060,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10055
10060
|
showCategories: boolean;
|
|
10056
10061
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10057
10062
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10058
|
-
currentTitle(): "
|
|
10063
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10059
10064
|
ngOnDestroy(): void;
|
|
10060
10065
|
handleClickWrapper(event: MouseEvent): void;
|
|
10061
10066
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10081,7 +10086,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10081
10086
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10082
10087
|
ngOnDestroy(): void;
|
|
10083
10088
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10084
|
-
currentTitle(): "
|
|
10089
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10085
10090
|
handleClickWrapper(event: MouseEvent): void;
|
|
10086
10091
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10087
10092
|
private handleDocumentClick;
|
|
@@ -10133,7 +10138,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10133
10138
|
showCategories: boolean;
|
|
10134
10139
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10135
10140
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10136
|
-
currentTitle(): "
|
|
10141
|
+
currentTitle(): "MARGINS" | "OVERVIEW";
|
|
10137
10142
|
ngOnDestroy(): void;
|
|
10138
10143
|
handleClickWrapper(event: MouseEvent): void;
|
|
10139
10144
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -11650,6 +11655,7 @@ declare class TransactionSearchTileModule {
|
|
|
11650
11655
|
|
|
11651
11656
|
declare class QuickSendButtonComponent {
|
|
11652
11657
|
iconCacheService: IconCacheService;
|
|
11658
|
+
private _transactionService;
|
|
11653
11659
|
readonly icons: typeof Icon;
|
|
11654
11660
|
title: string;
|
|
11655
11661
|
icon: Icon;
|
|
@@ -11661,7 +11667,10 @@ declare class QuickSendButtonComponent {
|
|
|
11661
11667
|
showClass(): boolean;
|
|
11662
11668
|
openSendMethodDialog: EventEmitter<MouseEvent>;
|
|
11663
11669
|
sendIconClicked: EventEmitter<MouseEvent>;
|
|
11664
|
-
constructor(iconCacheService: IconCacheService);
|
|
11670
|
+
constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
|
|
11671
|
+
handleSendIconClick(event: MouseEvent): Promise<void>;
|
|
11672
|
+
handleSendMethodDialogClick(event: MouseEvent): Promise<void>;
|
|
11673
|
+
private _saveTransactionIfDirty;
|
|
11665
11674
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickSendButtonComponent, never>;
|
|
11666
11675
|
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>;
|
|
11667
11676
|
}
|
|
@@ -14401,6 +14410,8 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
|
|
|
14401
14410
|
showClass(): boolean;
|
|
14402
14411
|
private _activeCategory;
|
|
14403
14412
|
private _componentRef;
|
|
14413
|
+
private _componentClass;
|
|
14414
|
+
private _transactionId;
|
|
14404
14415
|
private _shouldCreate;
|
|
14405
14416
|
private _transactionKind;
|
|
14406
14417
|
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": "262.1.
|
|
3
|
+
"version": "262.1.66",
|
|
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": ">=262.1.10",
|
|
14
14
|
"@colijnit/corecomponents_v12": ">=262.1.16",
|
|
15
15
|
"@colijnit/ioneconnector": ">=262.1.0",
|
|
16
|
-
"@colijnit/mainapi": ">=262.1.
|
|
16
|
+
"@colijnit/mainapi": ">=262.1.22",
|
|
17
17
|
"@colijnit/product": ">=262.1.10",
|
|
18
|
-
"@colijnit/relation": ">=262.1.
|
|
18
|
+
"@colijnit/relation": ">=262.1.1",
|
|
19
19
|
"@colijnit/relationapi": ">=262.1.1",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=262.1.25",
|