@colijnit/transaction 262.1.66 → 262.1.68
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 +6193 -6126
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +68 -29
- package/package.json +11 -11
package/index.d.ts
CHANGED
|
@@ -2299,6 +2299,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2299
2299
|
currentBranch: string;
|
|
2300
2300
|
autoSave: boolean;
|
|
2301
2301
|
manualSaveParam: boolean;
|
|
2302
|
+
kassaPersNrParam: boolean;
|
|
2302
2303
|
manualSaveOverride: boolean | undefined;
|
|
2303
2304
|
applicationUser: boolean;
|
|
2304
2305
|
invoiceAddressSameAsDelivery: boolean;
|
|
@@ -2392,6 +2393,7 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
|
|
|
2392
2393
|
prepareDirectSellInternalParam(): Promise<void>;
|
|
2393
2394
|
prepareJsPickingListInternalParam(): Promise<void>;
|
|
2394
2395
|
prepareManualSaveInternalParam(): void;
|
|
2396
|
+
prepareKassaPersNrParam(): void;
|
|
2395
2397
|
setManualSave(manualSave: boolean): Promise<void>;
|
|
2396
2398
|
prepareAfterSalesSystemParam(): Promise<void>;
|
|
2397
2399
|
prepareCanChangeRelationParam(): Promise<void>;
|
|
@@ -4667,26 +4669,6 @@ declare abstract class TransactionLinesBaseComponent extends TransactionHeaderBa
|
|
|
4667
4669
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TransactionLinesBaseComponent, never, never, { "activeCategory": { "alias": "activeCategory"; "required": false; }; }, { "saveTransactionLine": "saveTransactionLine"; }, never, never, true, never>;
|
|
4668
4670
|
}
|
|
4669
4671
|
|
|
4670
|
-
declare class TransactionLinesComponent extends TransactionLinesBaseComponent implements OnInit, OnDestroy {
|
|
4671
|
-
showClass(): boolean;
|
|
4672
|
-
customerPortal: boolean;
|
|
4673
|
-
set planningLines(value: boolean);
|
|
4674
|
-
get planningLines(): boolean;
|
|
4675
|
-
private _planningLines;
|
|
4676
|
-
showSidePanel: boolean;
|
|
4677
|
-
showSidePanelForConfirmationAI: boolean;
|
|
4678
|
-
activeTransactionLine: TransactionLineInfo;
|
|
4679
|
-
private _subs;
|
|
4680
|
-
ngOnInit(): void;
|
|
4681
|
-
ngOnDestroy(): void;
|
|
4682
|
-
handleLineClick(line: TransactionLineInfo): void;
|
|
4683
|
-
getDisplayIndex(i: number, lines: TransactionLineInfo[]): number;
|
|
4684
|
-
protected transactionSet(): void;
|
|
4685
|
-
protected _checkActiveLine(): void;
|
|
4686
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinesComponent, never>;
|
|
4687
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinesComponent, "co-transaction-lines", never, { "customerPortal": { "alias": "customerPortal"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; }, {}, never, never, false, never>;
|
|
4688
|
-
}
|
|
4689
|
-
|
|
4690
4672
|
declare abstract class TransactionButtonBarButtonBaseComponent {
|
|
4691
4673
|
protected changeDetector: ChangeDetectorRef;
|
|
4692
4674
|
title: string;
|
|
@@ -4736,6 +4718,10 @@ interface TransactionLineMappingConfig {
|
|
|
4736
4718
|
type: TransactionKind;
|
|
4737
4719
|
category: TransactionTypeCategory;
|
|
4738
4720
|
}, any>;
|
|
4721
|
+
transactionCategoryComponents?: Map<{
|
|
4722
|
+
type: TransactionKind;
|
|
4723
|
+
category: TransactionTypeCategory;
|
|
4724
|
+
}, any>;
|
|
4739
4725
|
}
|
|
4740
4726
|
interface TransactionCardMappingConfig {
|
|
4741
4727
|
transactionCardComponents: Map<{
|
|
@@ -4776,14 +4762,57 @@ declare class TransactionMappingService {
|
|
|
4776
4762
|
getSidePanelComponent(type: TransactionKind): any;
|
|
4777
4763
|
getQuickAccessComponent(type: TransactionKind, category: TransactionTypeCategory): any;
|
|
4778
4764
|
getTransactionLineComponent(type: TransactionKind, category: TransactionTypeCategory): any;
|
|
4765
|
+
getTransactionCategoryComponent(type: TransactionKind, category: TransactionTypeCategory): any;
|
|
4779
4766
|
getTransactionCardComponent(type: TransactionKind, category: TransactionTypeCategory): any;
|
|
4780
4767
|
getTransactionFilterComponent(type: TransactionKind): any;
|
|
4781
4768
|
getTransactionSearchGridComponent(type: TransactionKind): any;
|
|
4782
4769
|
getTransactionSearchTileComponent(type: TransactionKind): any;
|
|
4770
|
+
private _findByKindAndCategory;
|
|
4783
4771
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionMappingService, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
4784
4772
|
static ɵprov: i0.ɵɵInjectableDeclaration<TransactionMappingService>;
|
|
4785
4773
|
}
|
|
4786
4774
|
|
|
4775
|
+
declare class TransactionLinesComponent extends TransactionLinesBaseComponent implements OnInit, OnDestroy {
|
|
4776
|
+
transactionHeaderService: TransactionHeaderService;
|
|
4777
|
+
transactionEventService: TransactionEventService;
|
|
4778
|
+
service: TransactionService;
|
|
4779
|
+
iconCacheService: IconCacheService;
|
|
4780
|
+
transactionScreenConfigurationService: TransactionScreenConfigurationService;
|
|
4781
|
+
protected dictionaryService: DictionaryService;
|
|
4782
|
+
protected imageService: TransactionImageService;
|
|
4783
|
+
protected changeDetector: ChangeDetectorRef;
|
|
4784
|
+
protected purchaseConfirmationService: PurchaseConfirmationService;
|
|
4785
|
+
protected lineSelectionService: LineSelectionService;
|
|
4786
|
+
private _mappingService;
|
|
4787
|
+
private _categoryContainer;
|
|
4788
|
+
showClass(): boolean;
|
|
4789
|
+
customerPortal: boolean;
|
|
4790
|
+
set activeCategory(value: TransactionTypeCategory);
|
|
4791
|
+
get activeCategory(): TransactionTypeCategory;
|
|
4792
|
+
set planningLines(value: boolean);
|
|
4793
|
+
get planningLines(): boolean;
|
|
4794
|
+
showSidePanel: boolean;
|
|
4795
|
+
showSidePanelForConfirmationAI: boolean;
|
|
4796
|
+
activeTransactionLine: TransactionLineInfo;
|
|
4797
|
+
categoryComponent: Type<unknown> | null;
|
|
4798
|
+
private _subs;
|
|
4799
|
+
private _planningLines;
|
|
4800
|
+
private _categoryComponentRef;
|
|
4801
|
+
private _categoryTransactionId;
|
|
4802
|
+
constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, purchaseConfirmationService: PurchaseConfirmationService, lineSelectionService: LineSelectionService, _mappingService: TransactionMappingService);
|
|
4803
|
+
ngOnInit(): void;
|
|
4804
|
+
ngOnDestroy(): void;
|
|
4805
|
+
handleLineClick(line: TransactionLineInfo): void;
|
|
4806
|
+
getDisplayIndex(i: number, lines: TransactionLineInfo[]): number;
|
|
4807
|
+
protected transactionInfoSet(): void;
|
|
4808
|
+
protected transactionSet(): void;
|
|
4809
|
+
protected _checkActiveLine(): void;
|
|
4810
|
+
private _updateCategoryComponent;
|
|
4811
|
+
private _destroyCategoryComponent;
|
|
4812
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinesComponent, never>;
|
|
4813
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinesComponent, "co-transaction-lines", never, { "customerPortal": { "alias": "customerPortal"; "required": false; }; "activeCategory": { "alias": "activeCategory"; "required": false; }; "planningLines": { "alias": "planningLines"; "required": false; }; }, {}, never, never, false, never>;
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4787
4816
|
interface ActionButtonsCfgNames {
|
|
4788
4817
|
addDocumentBtn?: string;
|
|
4789
4818
|
addProductTextBtn?: string;
|
|
@@ -10060,7 +10089,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
10060
10089
|
showCategories: boolean;
|
|
10061
10090
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10062
10091
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10063
|
-
currentTitle(): "
|
|
10092
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10064
10093
|
ngOnDestroy(): void;
|
|
10065
10094
|
handleClickWrapper(event: MouseEvent): void;
|
|
10066
10095
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -10086,7 +10115,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
10086
10115
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
10087
10116
|
ngOnDestroy(): void;
|
|
10088
10117
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10089
|
-
currentTitle(): "
|
|
10118
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10090
10119
|
handleClickWrapper(event: MouseEvent): void;
|
|
10091
10120
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
10092
10121
|
private handleDocumentClick;
|
|
@@ -10138,7 +10167,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
10138
10167
|
showCategories: boolean;
|
|
10139
10168
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
10140
10169
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
10141
|
-
currentTitle(): "
|
|
10170
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
10142
10171
|
ngOnDestroy(): void;
|
|
10143
10172
|
handleClickWrapper(event: MouseEvent): void;
|
|
10144
10173
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -14092,7 +14121,8 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14092
14121
|
showClass(): boolean;
|
|
14093
14122
|
onResize(event: any): void;
|
|
14094
14123
|
activeViewMode: ContentViewMode;
|
|
14095
|
-
activeCategory: TransactionTypeCategory;
|
|
14124
|
+
set activeCategory(value: TransactionTypeCategory);
|
|
14125
|
+
get activeCategory(): TransactionTypeCategory;
|
|
14096
14126
|
sidePanelTransactionLine: TransactionLineInfo;
|
|
14097
14127
|
transactionLine: TransactionLineInfo;
|
|
14098
14128
|
selectedOrderLineSetDTO: OrderLineSetDTO;
|
|
@@ -14123,7 +14153,12 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14123
14153
|
lineUUID: string;
|
|
14124
14154
|
lineDraggedOver: number;
|
|
14125
14155
|
headerReadOnly: boolean;
|
|
14126
|
-
|
|
14156
|
+
categoryAllowsViewModes: boolean;
|
|
14157
|
+
shouldShowFooter: boolean;
|
|
14158
|
+
shouldShowAddProduct: boolean;
|
|
14159
|
+
shouldShowTextLineButton: boolean;
|
|
14160
|
+
shouldShowMargin: boolean;
|
|
14161
|
+
shouldShowTotals: boolean;
|
|
14127
14162
|
statusBarConfigNames: StatusBarCfgNames;
|
|
14128
14163
|
private _subs;
|
|
14129
14164
|
private _transaction;
|
|
@@ -14132,6 +14167,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14132
14167
|
private _salesPersonInputComponentRef;
|
|
14133
14168
|
private _salesPersonAvatarComponentRef;
|
|
14134
14169
|
private _containerForFillMode;
|
|
14170
|
+
private _activeCategory;
|
|
14135
14171
|
constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _mappingService: TransactionMappingService, _lineSelection: LineSelectionService);
|
|
14136
14172
|
ngOnInit(): Promise<void>;
|
|
14137
14173
|
ngOnDestroy(): void;
|
|
@@ -14185,6 +14221,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
|
|
|
14185
14221
|
private _handleCloseSalesPersonInput;
|
|
14186
14222
|
private _commitTransactionSalesPerson;
|
|
14187
14223
|
private _handlePlanOrderAndActiveCategoryIfNeeded;
|
|
14224
|
+
private _updateCategoryDependentState;
|
|
14188
14225
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInternalComponent, never>;
|
|
14189
14226
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInternalComponent, "co-transaction-internal", never, { "confirmationAnalysisId": { "alias": "confirmationAnalysisId"; "required": false; }; "posOrderData": { "alias": "posOrderData"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showViewModeButtons": { "alias": "showViewModeButtons"; "required": false; }; "transactionPlanning": { "alias": "transactionPlanning"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; "resetActiveRubric": { "alias": "resetActiveRubric"; "required": false; }; "showPresets": { "alias": "showPresets"; "required": false; }; "showQuickAccess": { "alias": "showQuickAccess"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; }, { "serviceRequested": "serviceRequested"; }, never, never, false, never>;
|
|
14190
14227
|
}
|
|
@@ -16746,31 +16783,33 @@ declare class TransactionHeaderHandledByModule {
|
|
|
16746
16783
|
static ɵinj: i0.ɵɵInjectorDeclaration<TransactionHeaderHandledByModule>;
|
|
16747
16784
|
}
|
|
16748
16785
|
|
|
16749
|
-
declare class TransactionLineActivitiesComponent implements OnInit {
|
|
16786
|
+
declare class TransactionLineActivitiesComponent implements OnInit, OnDestroy {
|
|
16750
16787
|
transactionService: TransactionService;
|
|
16751
16788
|
private _changeDetector;
|
|
16752
16789
|
activityList: ElementRef<HTMLDivElement>;
|
|
16753
16790
|
openActivities: ComponentActivityListComponent;
|
|
16754
16791
|
activityTimeline: ActivityTimelineComponent;
|
|
16755
|
-
|
|
16792
|
+
showClass(): boolean;
|
|
16756
16793
|
readonly tableNames: typeof TableName;
|
|
16757
16794
|
readonly cfgNames: typeof TransactionCfgName;
|
|
16758
16795
|
readonly WorkflowCategoryType: typeof WorkflowCategoryType;
|
|
16759
16796
|
activities: Activity[];
|
|
16760
16797
|
user: RelationSmallObject$1;
|
|
16761
16798
|
transactionInfo: TransactionInfo;
|
|
16799
|
+
transactionId: string;
|
|
16762
16800
|
showActivityHeader: boolean;
|
|
16763
16801
|
showActivityLists: boolean;
|
|
16802
|
+
private _subs;
|
|
16764
16803
|
constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
|
|
16765
|
-
showClass(): boolean;
|
|
16766
16804
|
ngOnInit(): void;
|
|
16805
|
+
ngOnDestroy(): void;
|
|
16767
16806
|
finishedActivitiesRefreshRequested(): Promise<void>;
|
|
16768
16807
|
fullActivitiesRefreshRequested(): Promise<void>;
|
|
16769
16808
|
scrollActivitiesToBottom(): void;
|
|
16770
16809
|
getActivities(): Promise<void>;
|
|
16771
16810
|
openCreatedTask(taskId: number): Promise<void>;
|
|
16772
16811
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesComponent, never>;
|
|
16773
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, {
|
|
16812
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, {}, {}, never, never, false, never>;
|
|
16774
16813
|
}
|
|
16775
16814
|
|
|
16776
16815
|
declare class TransactionLineActivitiesContactMomentsComponent implements OnInit, OnDestroy {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.68",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": ">=20.3.16",
|
|
11
11
|
"@angular/core": ">=20.3.16",
|
|
12
|
-
"@colijnit/articleapi": ">=262.1.5",
|
|
13
|
-
"@colijnit/catalog": ">=262.1.10",
|
|
14
|
-
"@colijnit/corecomponents_v12": ">=262.1.16",
|
|
15
|
-
"@colijnit/ioneconnector": ">=262.1.0",
|
|
16
|
-
"@colijnit/mainapi": ">=262.1.
|
|
17
|
-
"@colijnit/product": ">=262.1.10",
|
|
18
|
-
"@colijnit/relation": ">=262.1.1",
|
|
19
|
-
"@colijnit/relationapi": ">=262.1.1",
|
|
12
|
+
"@colijnit/articleapi": ">=262.1.5 < 300",
|
|
13
|
+
"@colijnit/catalog": ">=262.1.10 < 300",
|
|
14
|
+
"@colijnit/corecomponents_v12": ">=262.1.16 < 300",
|
|
15
|
+
"@colijnit/ioneconnector": ">=262.1.0 < 300",
|
|
16
|
+
"@colijnit/mainapi": ">=262.1.23 < 300",
|
|
17
|
+
"@colijnit/product": ">=262.1.10 < 300",
|
|
18
|
+
"@colijnit/relation": ">=262.1.1 < 300",
|
|
19
|
+
"@colijnit/relationapi": ">=262.1.1 < 300",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
21
|
-
"@colijnit/sharedcomponents": ">=262.1.25",
|
|
22
|
-
"@colijnit/transactionapi": ">=262.1.22"
|
|
21
|
+
"@colijnit/sharedcomponents": ">=262.1.25 < 300",
|
|
22
|
+
"@colijnit/transactionapi": ">=262.1.22 < 300"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|