@colijnit/transaction 261.20.56 → 261.20.58
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 +272 -180
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +23 -15
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +1 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/style/_layout.scss +20 -8
- package/lib/component/transaction-search/transaction-search-tile/transaction-invoice-check-order-tile/style/_material-definition.scss +11 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -844,6 +844,10 @@ declare class TransactionEventService {
|
|
|
844
844
|
readonly interbranchExistingOrderNavigation: Subject<string>;
|
|
845
845
|
readonly serviceExistingOrderNavigation: Subject<string>;
|
|
846
846
|
readonly salesQuotationOrderNavigation: Subject<string>;
|
|
847
|
+
readonly relationNavigationRequested: Subject<{
|
|
848
|
+
relationNr: number;
|
|
849
|
+
relationKind: RelationKind;
|
|
850
|
+
}>;
|
|
847
851
|
readonly relationNavigation: Subject<{
|
|
848
852
|
relationNr: number;
|
|
849
853
|
relationKind: RelationKind;
|
|
@@ -875,7 +879,13 @@ declare class TransactionEventService {
|
|
|
875
879
|
readonly headerDeliveryHash: Subject<string>;
|
|
876
880
|
readonly headerInvoiceHash: Subject<string>;
|
|
877
881
|
readonly showPlanningPopupEvent: BehaviorSubject<boolean>;
|
|
878
|
-
readonly headerPopupClose: Subject<
|
|
882
|
+
readonly headerPopupClose: Subject<{
|
|
883
|
+
commit: boolean;
|
|
884
|
+
relationData: {
|
|
885
|
+
relationNr: number;
|
|
886
|
+
relationKind: RelationKind;
|
|
887
|
+
};
|
|
888
|
+
}>;
|
|
879
889
|
readonly orderLineSetButtonClick: Subject<void>;
|
|
880
890
|
readonly addDocumentToLineClicked: Subject<TransactionLineInfo>;
|
|
881
891
|
readonly reopenExternalOrderClicked: Subject<{
|
|
@@ -1961,7 +1971,7 @@ declare class TransactionConnectorService {
|
|
|
1961
1971
|
getWorkOrderEmailLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
|
|
1962
1972
|
getWorkOrderPrintLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionPrint[]>;
|
|
1963
1973
|
getWorkOrderDefaultSendMethod(relationId: number, showLoader?: boolean): Promise<number>;
|
|
1964
|
-
getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<
|
|
1974
|
+
getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
|
|
1965
1975
|
previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
|
|
1966
1976
|
roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
|
|
1967
1977
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
|
|
@@ -2812,7 +2822,7 @@ declare class TransactionService extends PendingReasonService {
|
|
|
2812
2822
|
getWorkOrderEmailLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
|
|
2813
2823
|
getWorkOrderPrintLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionPrint[]>;
|
|
2814
2824
|
getWorkOrderDefaultSendMethod(relationId: number, showLoader?: boolean): Promise<number>;
|
|
2815
|
-
getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<
|
|
2825
|
+
getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
|
|
2816
2826
|
previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
|
|
2817
2827
|
sendPackageInformationToLSP(request: TransactionLspInformationRequest): Promise<TransactionInfoResponse>;
|
|
2818
2828
|
roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
|
|
@@ -5970,7 +5980,10 @@ declare abstract class TransactionHeaderPopupBaseComponent extends TransactionHe
|
|
|
5970
5980
|
constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, dialogService: TransactionDialogService, formMasterService: FormMasterService, relationService: TransactionRelationService);
|
|
5971
5981
|
ngOnInit(): Promise<void>;
|
|
5972
5982
|
ngOnDestroy(): Promise<void>;
|
|
5973
|
-
saveObjects(
|
|
5983
|
+
saveObjects(relationInfo?: {
|
|
5984
|
+
relationNr: number;
|
|
5985
|
+
relationKind: RelationKind;
|
|
5986
|
+
}): Promise<void>;
|
|
5974
5987
|
saveRelation(): Promise<boolean>;
|
|
5975
5988
|
saveTransaction(): Promise<boolean>;
|
|
5976
5989
|
protected setFormPristine(): void;
|
|
@@ -9583,9 +9596,9 @@ declare class TransactionReceivingGoodsHistoryComponent {
|
|
|
9583
9596
|
showDeleteButton: boolean;
|
|
9584
9597
|
set goodsReceiptHistory(value: LogisticalStateDetail[]);
|
|
9585
9598
|
get goodsReceiptHistory(): LogisticalStateDetail[];
|
|
9599
|
+
private _goodsReceiptHistory;
|
|
9586
9600
|
deleteRow: EventEmitter<LogisticalStateDetail>;
|
|
9587
9601
|
showClass(): boolean;
|
|
9588
|
-
private _goodsReceiptHistory;
|
|
9589
9602
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionReceivingGoodsHistoryComponent, never>;
|
|
9590
9603
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionReceivingGoodsHistoryComponent, "co-transaction-receiving-goods-history", never, { "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "goodsReceiptHistory": { "alias": "goodsReceiptHistory"; "required": false; }; }, { "deleteRow": "deleteRow"; }, never, never, false, never>;
|
|
9591
9604
|
}
|
|
@@ -9854,7 +9867,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
|
|
|
9854
9867
|
showCategories: boolean;
|
|
9855
9868
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
9856
9869
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
9857
|
-
currentTitle(): "
|
|
9870
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
9858
9871
|
ngOnDestroy(): void;
|
|
9859
9872
|
handleClickWrapper(event: MouseEvent): void;
|
|
9860
9873
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -9880,7 +9893,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
|
|
|
9880
9893
|
constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
|
|
9881
9894
|
ngOnDestroy(): void;
|
|
9882
9895
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
9883
|
-
currentTitle(): "
|
|
9896
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
9884
9897
|
handleClickWrapper(event: MouseEvent): void;
|
|
9885
9898
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
|
|
9886
9899
|
private handleDocumentClick;
|
|
@@ -9932,7 +9945,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
|
|
|
9932
9945
|
showCategories: boolean;
|
|
9933
9946
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
|
|
9934
9947
|
currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
|
|
9935
|
-
currentTitle(): "
|
|
9948
|
+
currentTitle(): "OVERVIEW" | "MARGINS";
|
|
9936
9949
|
ngOnDestroy(): void;
|
|
9937
9950
|
handleClickWrapper(event: MouseEvent): void;
|
|
9938
9951
|
handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
|
|
@@ -17228,12 +17241,6 @@ declare class TransactionInvoiceCheckOrderTileComponent {
|
|
|
17228
17241
|
readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
17229
17242
|
readonly columnAlign: typeof ColumnAlign;
|
|
17230
17243
|
readonly icons: typeof Icon;
|
|
17231
|
-
showClass(): boolean;
|
|
17232
|
-
selected: boolean;
|
|
17233
|
-
toCheckInputList: QueryList<InputTextComponent>;
|
|
17234
|
-
set toCheckInputs(toCheckInputs: QueryList<InputTextComponent>);
|
|
17235
|
-
bookingPriceInputList: QueryList<InputTextComponent>;
|
|
17236
|
-
set bookingPriceInputs(bookingPriceInputs: QueryList<InputTextComponent>);
|
|
17237
17244
|
invoiceCheckOrder: InvoiceCheckOrderInterface;
|
|
17238
17245
|
lineSelectedEvent: EventEmitter<{
|
|
17239
17246
|
selected: boolean;
|
|
@@ -17248,11 +17255,12 @@ declare class TransactionInvoiceCheckOrderTileComponent {
|
|
|
17248
17255
|
}>;
|
|
17249
17256
|
selectAllLinesEvent: EventEmitter<void>;
|
|
17250
17257
|
openTransactionEvent: EventEmitter<number>;
|
|
17258
|
+
selected: boolean;
|
|
17251
17259
|
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef);
|
|
17260
|
+
showClass(): boolean;
|
|
17252
17261
|
handleLineSelected(selected: boolean, line: InvoiceCheckOrderLineInterface): void;
|
|
17253
17262
|
handleSaveRow(data: InvoiceCheckOrderLineInterface | {}): void;
|
|
17254
17263
|
handleOpenTransaction(transNo: number): void;
|
|
17255
|
-
protected readonly close: typeof close;
|
|
17256
17264
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInvoiceCheckOrderTileComponent, never>;
|
|
17257
17265
|
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInvoiceCheckOrderTileComponent, "co-transaction-invoice-check-order-tile", never, { "invoiceCheckOrder": { "alias": "invoiceCheckOrder"; "required": false; }; }, { "lineSelectedEvent": "lineSelectedEvent"; "saveRowEvent": "saveRowEvent"; "selectAllLinesEvent": "selectAllLinesEvent"; "openTransactionEvent": "openTransactionEvent"; }, never, never, false, never>;
|
|
17258
17266
|
}
|
|
@@ -24,12 +24,15 @@
|
|
|
24
24
|
overflow: auto;
|
|
25
25
|
}
|
|
26
26
|
.transaction-tile-wrapper {
|
|
27
|
-
width:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
border-
|
|
27
|
+
width: $tp-co-transaction-invoice-check-tile-width;
|
|
28
|
+
max-width: $tp-co-transaction-invoice-check-tile-max-width;
|
|
29
|
+
height: $tp-co-transaction-invoice-check-tile-height;
|
|
30
|
+
padding: $tp-co-transaction-invoice-check-tile-padding;
|
|
31
|
+
box-shadow: $tp-co-transaction-invoice-check-tile-box-shadow;
|
|
32
|
+
border-width: $tp-co-transaction-invoice-check-tile-border-width;
|
|
33
|
+
border-style: solid;
|
|
34
|
+
border-color: $tp-co-transaction-invoice-check-tile-border-color;
|
|
35
|
+
border-radius: $tp-co-transaction-invoice-check-tile-border-radius;
|
|
33
36
|
display: flex;
|
|
34
37
|
flex-direction: column;
|
|
35
38
|
.tile {
|
|
@@ -48,6 +51,10 @@
|
|
|
48
51
|
display: flex;
|
|
49
52
|
flex-direction: column;
|
|
50
53
|
gap: 5px;
|
|
54
|
+
.co-icon {
|
|
55
|
+
width: $tp-co-transaction-invoice-check-tile-icon-width;
|
|
56
|
+
height: $tp-co-transaction-invoice-check-tile-icon-height;
|
|
57
|
+
}
|
|
51
58
|
}
|
|
52
59
|
.tile-footer {
|
|
53
60
|
align-items: center;
|
|
@@ -60,8 +67,13 @@
|
|
|
60
67
|
align-items: center;
|
|
61
68
|
gap: 10px;
|
|
62
69
|
.co-icon {
|
|
63
|
-
width:
|
|
64
|
-
height:
|
|
70
|
+
width: $tp-co-transaction-invoice-check-tile-icon-width;
|
|
71
|
+
height: $tp-co-transaction-invoice-check-tile-icon-height;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.value {
|
|
75
|
+
span {
|
|
76
|
+
font-size: $tp-co-transaction-invoice-check-tile-footer-font-size;
|
|
65
77
|
}
|
|
66
78
|
}
|
|
67
79
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
$tp-co-transaction-invoice-check-tile-width: 40% !default;
|
|
2
|
+
$tp-co-transaction-invoice-check-tile-max-width: 300px !default;
|
|
3
|
+
$tp-co-transaction-invoice-check-tile-height: 110px !default;
|
|
4
|
+
$tp-co-transaction-invoice-check-tile-padding: 7.5px 10px !default;
|
|
5
|
+
$tp-co-transaction-invoice-check-tile-box-shadow: 0 2px 4px 0 #0000005c !default;
|
|
6
|
+
$tp-co-transaction-invoice-check-tile-border-width: 0 0 0 4px !default;
|
|
7
|
+
$tp-co-transaction-invoice-check-tile-border-color: #45b8bf !default;
|
|
8
|
+
$tp-co-transaction-invoice-check-tile-border-radius: 5px !default;
|
|
9
|
+
$tp-co-transaction-invoice-check-tile-icon-width: 16px !default;
|
|
10
|
+
$tp-co-transaction-invoice-check-tile-icon-height: 16px !default;
|
|
11
|
+
$tp-co-transaction-invoice-check-tile-footer-font-size: 10px !default;
|