@colijnit/transaction 257.1.43 → 257.1.44
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 +34 -12
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +32 -4
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +9 -9
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +1 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +29 -44
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +68 -57
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-card/transaction-card/transaction-card.component.d.ts +8 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +0 -2
- package/package.json +1 -1
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "257.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "257.1.44";
|
|
37
|
+
this.publishDate = "5-4-2025 14:09:41";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -25239,7 +25239,6 @@
|
|
|
25239
25239
|
_this.reportDocumentPrintRequest = new reportingDocumentPrintSignDocBaseRequest.ReportingDocumentPrintSignDocBaseRequest();
|
|
25240
25240
|
_this.reportDocumentPdfRequest = new pdfInvoiceRequest.PdfInvoiceRequest();
|
|
25241
25241
|
_this.localCheckboxState = false;
|
|
25242
|
-
_this.colliCheckboxState = false;
|
|
25243
25242
|
_this.commitDate = new Date();
|
|
25244
25243
|
_this.globalWarehouseLocation = '-';
|
|
25245
25244
|
_this.internalParamMLocat = false;
|
|
@@ -25285,9 +25284,6 @@
|
|
|
25285
25284
|
TransactionQuickAccessReceivedGoodsComponent.prototype.handleSelectAllLines = function (value) {
|
|
25286
25285
|
this.transactionEventService.selectAllPurchaseOrderLinesForReceiveGoods.next(value);
|
|
25287
25286
|
};
|
|
25288
|
-
TransactionQuickAccessReceivedGoodsComponent.prototype.handleNoColliStickers = function (value) {
|
|
25289
|
-
this.transactionEventService.selectAllPurchaseOrderLinesForReceiveGoods.next(value);
|
|
25290
|
-
};
|
|
25291
25287
|
TransactionQuickAccessReceivedGoodsComponent.prototype.handleGlobalLocationChange = function (location) {
|
|
25292
25288
|
var _this = this;
|
|
25293
25289
|
this.globalWarehouseLocation = location;
|
|
@@ -25338,7 +25334,7 @@
|
|
|
25338
25334
|
TransactionQuickAccessReceivedGoodsComponent.decorators = [
|
|
25339
25335
|
{ type: i0.Component, args: [{
|
|
25340
25336
|
selector: "co-transaction-quick-access-received-goods",
|
|
25341
|
-
template: "\n <div class=\"quick-access-wrapper\" *ngIf=\"!hideQuickAccessContent\">\n <
|
|
25337
|
+
template: "\n <div class=\"quick-access-wrapper\" *ngIf=\"!hideQuickAccessContent\">\n <co-input-checkbox\n class=\"checkbox-wrapper\"\n [(model)]=\"localCheckboxState\"\n (modelChange)=\"handleSelectAllLines($event)\"\n ></co-input-checkbox>\n <co-input-date\n [placeholder]=\"'RECEIVED_DATE' | localize\"\n [(model)]=\"commitDate\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [(model)]=\"packingSlipNr\"\n ></co-input-text>\n<!--\n <co-transaction-labeled-warehouse-location-button *ngIf=\"internalParamMLocat && showWarehouseLocationButton\"\n [locationNr]=\"globalWarehouseLocation\"\n [warehouseNumber]=\"warehouseNumber\"\n (locationNrChange)=\"handleGlobalLocationChange($event)\"\n ></co-transaction-labeled-warehouse-location-button>\n-->\n <co-quick-send-button\n [showSendMethodIcon]=\"false\"\n [icon]=\"icons.CheckDuotone\"\n [showLoader]=\"showProcessingLoader\"\n [title]=\"'PROCESS'\"\n (sendIconClicked)=\"handleCommitEvent()\"\n (openSendMethodDialog)=\"showSendMethodDialog = true\"\n ></co-quick-send-button>\n </div>\n <co-send-method-dialog *ngIf=\"showSendMethodDialog\"\n [printerList]=\"printerList\"\n [headerTitle]=\"'Printer en lay-out selectie'\"\n [defaultSendMethod]=\"defaultSendMethod\"\n [visibleMethods]=\"[sendMethodType.Print, sendMethodType.Pdf]\"\n [emailAddresses]=\"emailAddresses\"\n [emailLayouts]=\"emailLayouts\"\n [printLayouts]=\"printLayouts\"\n [isDocSignEnabled]=\"true\"\n [(reportingDocumentEmailRequest)]=\"reportDocumentEmailRequest\"\n [(reportingDocumentPrintRequest)]=\"reportDocumentPrintRequest\"\n [(reportingDocumentPdfRequest)]=\"reportDocumentPdfRequest\"\n (closeClick)=\"showSendMethodDialog = false\"\n (okClick)=\"handleSendMethodOkClick($event)\"\n ></co-send-method-dialog>\n ",
|
|
25342
25338
|
encapsulation: i0.ViewEncapsulation.None
|
|
25343
25339
|
},] }
|
|
25344
25340
|
];
|
|
@@ -26505,7 +26501,7 @@
|
|
|
26505
26501
|
TransactionReceiveGoodsLineComponent.decorators = [
|
|
26506
26502
|
{ type: i0.Component, args: [{
|
|
26507
26503
|
selector: "co-transaction-receive-goods-line",
|
|
26508
|
-
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n >\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column1 small-statusbar\">\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column2\">\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [inputLabel]=\"true\"\n ></co-transaction-line-warehouse-button>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-warehouse-location-button\n *ngIf=\"transactionLine.isLocationRequired\"\n [screenConfigurationObject]=\"cfgNames.LineWarehouseLocationReceived\"\n [readonly]=\"warehouseLocationButtonDisabled\"\n [inputLabel]=\"true\"\n >\n </co-transaction-line-warehouse-location-button>\n </div>\n </div>\n </div>\n <div class=\"column3\">\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY'\"></co-transaction-line-label>\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY_ACCEPTED'\"></co-transaction-line-label>\n <co-input-text\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularCartFlatbedBoxesCircleCheck)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n </div>\n <div class=\"column4\">\n <div class=\"transaction-field-wrapper\" *ngIf=\"transactionLine.isBatchNrRequired\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'BATCH_NR'\"></co-transaction-line-label>\n <co-input-text class=\"side-panel-input\"\n [(model)]=\"transactionLine.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"true\"\n [required]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY_TO_RECEIVE'\"></co-transaction-line-label>\n <co-input-number-picker class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineQuantityToReceive\"\n [model]=\"transactionLine.articleLineStatus?.quantityToReceive\"\n [decimals]=\"decimals\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - lineQuantityReceived\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartFlatbedBoxesRegular)\"\n [readonly]=\"readonly || lineQuantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-
|
|
26504
|
+
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"transactionLine.selected\"\n (checkboxValueChanged)=\"transactionLine.selected = $event\"\n >\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column1 small-statusbar\">\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderReceivedGoods\"></co-transaction-line-statusbar>\n </div>\n <div class=\"column2\">\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-warehouse-button\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [inputLabel]=\"true\"\n ></co-transaction-line-warehouse-button>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-warehouse-location-button\n *ngIf=\"transactionLine.isLocationRequired\"\n [screenConfigurationObject]=\"cfgNames.LineWarehouseLocationReceived\"\n [readonly]=\"warehouseLocationButtonDisabled\"\n [inputLabel]=\"true\"\n >\n </co-transaction-line-warehouse-location-button>\n </div>\n </div>\n </div>\n <div class=\"column3\">\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY'\"></co-transaction-line-label>\n <co-input-text\n [model]=\"transactionLine.amount\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartShoppingRegular)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY_ACCEPTED'\"></co-transaction-line-label>\n <co-input-text\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularCartFlatbedBoxesCircleCheck)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n </div>\n <div class=\"column4\">\n <div class=\"transaction-field-wrapper\" *ngIf=\"transactionLine.isBatchNrRequired\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'BATCH_NR'\"></co-transaction-line-label>\n <co-input-text class=\"side-panel-input\"\n [(model)]=\"transactionLine.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"true\"\n [required]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-print-package-sticker\n [screenConfigurationObject]=\"cfgNames.StickerAmount\"\n [inputLabel]=\"true\"\n ></co-transaction-print-package-sticker>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'QUANTITY_TO_RECEIVE'\"></co-transaction-line-label>\n <co-input-number-picker class=\"amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineQuantityToReceive\"\n [model]=\"transactionLine.articleLineStatus?.quantityToReceive\"\n [decimals]=\"decimals\"\n [min]=\"1\"\n [max]=\"transactionLine.amount - lineQuantityReceived\"\n [leftIconData]=\"iconCacheService.getIcon(icons.CartFlatbedBoxesRegular)\"\n [readonly]=\"readonly || lineQuantityReceived === transactionLine.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\">\n <div class=\"inside-field\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"transactionLine.displayNetLineTotal | coCurrency: true\"\n [editModel]=\"transactionLine.displayNetLineTotal\"\n [commit]=\"!readonly\"\n [readonly]=\"true\"\n [editMode]=\"false\"\n [inputLabel]=\"true\"\n ></co-editable-label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
26509
26505
|
encapsulation: i0.ViewEncapsulation.None,
|
|
26510
26506
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
26511
26507
|
},] }
|
|
@@ -38007,7 +38003,6 @@
|
|
|
38007
38003
|
}));
|
|
38008
38004
|
};
|
|
38009
38005
|
TransactionLineSidePanelComponent.prototype.ngOnDestroy = function () {
|
|
38010
|
-
this._purchaseConfirmationService.reset();
|
|
38011
38006
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
38012
38007
|
};
|
|
38013
38008
|
TransactionLineSidePanelComponent.prototype.updateActiveCategory = function (button) {
|
|
@@ -47810,9 +47805,11 @@
|
|
|
47810
47805
|
_this.showSidePanelForConfirmationAI = true;
|
|
47811
47806
|
_this.showSidePanel = true;
|
|
47812
47807
|
_this._checkActiveLine();
|
|
47808
|
+
_this.changeDetector.detectChanges();
|
|
47813
47809
|
}
|
|
47814
47810
|
else {
|
|
47815
47811
|
_this.showSidePanelForConfirmationAI = false;
|
|
47812
|
+
_this.changeDetector.detectChanges();
|
|
47816
47813
|
}
|
|
47817
47814
|
}), this.transactionEventService.openSidePanel.subscribe(function (line) {
|
|
47818
47815
|
_this.activeTransactionLine = line;
|
|
@@ -57288,7 +57285,8 @@
|
|
|
57288
57285
|
];
|
|
57289
57286
|
|
|
57290
57287
|
var TransactionCardComponent = /** @class */ (function () {
|
|
57291
|
-
function TransactionCardComponent(_transactionHeaderService, _transactionLineService, _transactionEventService, _changeDetector, _mappingService, _compFactoryResolver, _appRef) {
|
|
57288
|
+
function TransactionCardComponent(purchaseConfirmationService, _transactionHeaderService, _transactionLineService, _transactionEventService, _changeDetector, _mappingService, _compFactoryResolver, _appRef, _lineSelectionService) {
|
|
57289
|
+
this.purchaseConfirmationService = purchaseConfirmationService;
|
|
57292
57290
|
this._transactionHeaderService = _transactionHeaderService;
|
|
57293
57291
|
this._transactionLineService = _transactionLineService;
|
|
57294
57292
|
this._transactionEventService = _transactionEventService;
|
|
@@ -57296,6 +57294,7 @@
|
|
|
57296
57294
|
this._mappingService = _mappingService;
|
|
57297
57295
|
this._compFactoryResolver = _compFactoryResolver;
|
|
57298
57296
|
this._appRef = _appRef;
|
|
57297
|
+
this._lineSelectionService = _lineSelectionService;
|
|
57299
57298
|
this.preview = false;
|
|
57300
57299
|
this.selected = false;
|
|
57301
57300
|
this.isFirst = false;
|
|
@@ -57311,6 +57310,8 @@
|
|
|
57311
57310
|
// }
|
|
57312
57311
|
// }
|
|
57313
57312
|
this.showSidePanel = false;
|
|
57313
|
+
this.showSidePanelForConfirmationAI = false;
|
|
57314
|
+
this.activeTransactionLine = new transactionLineInfo_bo.TransactionLineInfo();
|
|
57314
57315
|
this._subs = [];
|
|
57315
57316
|
}
|
|
57316
57317
|
Object.defineProperty(TransactionCardComponent.prototype, "container", {
|
|
@@ -57351,7 +57352,20 @@
|
|
|
57351
57352
|
TransactionCardComponent.prototype.ngOnInit = function () {
|
|
57352
57353
|
var _this = this;
|
|
57353
57354
|
this._subs.push(this._transactionEventService.openSidePanel.subscribe(function (line) {
|
|
57354
|
-
_this.
|
|
57355
|
+
_this.activeTransactionLine = line;
|
|
57356
|
+
_this.showSidePanel = true;
|
|
57357
|
+
_this._changeDetector.detectChanges();
|
|
57358
|
+
}), this.purchaseConfirmationService.confirmationNeeded.subscribe(function (needed) {
|
|
57359
|
+
if (needed) {
|
|
57360
|
+
_this.showSidePanelForConfirmationAI = true;
|
|
57361
|
+
_this.showSidePanel = true;
|
|
57362
|
+
_this._checkActiveLine();
|
|
57363
|
+
_this._changeDetector.detectChanges();
|
|
57364
|
+
}
|
|
57365
|
+
else {
|
|
57366
|
+
_this.showSidePanelForConfirmationAI = false;
|
|
57367
|
+
_this._changeDetector.detectChanges();
|
|
57368
|
+
}
|
|
57355
57369
|
}));
|
|
57356
57370
|
};
|
|
57357
57371
|
TransactionCardComponent.prototype.ngOnDestroy = function () {
|
|
@@ -57401,6 +57415,12 @@
|
|
|
57401
57415
|
this._changeDetector.detectChanges();
|
|
57402
57416
|
}
|
|
57403
57417
|
};
|
|
57418
|
+
TransactionCardComponent.prototype._checkActiveLine = function () {
|
|
57419
|
+
if (this.showSidePanelForConfirmationAI && this.transactionLine) {
|
|
57420
|
+
// this.activeTransactionLine = this.transactionLines[0];
|
|
57421
|
+
this._lineSelectionService.selectedTransactionLine = this.transactionLine;
|
|
57422
|
+
}
|
|
57423
|
+
};
|
|
57404
57424
|
return TransactionCardComponent;
|
|
57405
57425
|
}());
|
|
57406
57426
|
TransactionCardComponent.decorators = [
|
|
@@ -57414,13 +57434,15 @@
|
|
|
57414
57434
|
},] }
|
|
57415
57435
|
];
|
|
57416
57436
|
TransactionCardComponent.ctorParameters = function () { return [
|
|
57437
|
+
{ type: PurchaseConfirmationService },
|
|
57417
57438
|
{ type: TransactionHeaderService },
|
|
57418
57439
|
{ type: TransactionLineService },
|
|
57419
57440
|
{ type: TransactionEventService },
|
|
57420
57441
|
{ type: i0.ChangeDetectorRef },
|
|
57421
57442
|
{ type: TransactionMappingService },
|
|
57422
57443
|
{ type: i0.ComponentFactoryResolver },
|
|
57423
|
-
{ type: i0.ApplicationRef }
|
|
57444
|
+
{ type: i0.ApplicationRef },
|
|
57445
|
+
{ type: LineSelectionService }
|
|
57424
57446
|
]; };
|
|
57425
57447
|
TransactionCardComponent.propDecorators = {
|
|
57426
57448
|
container: [{ type: i0.ViewChild, args: ['transactionCard', { read: i0.ViewContainerRef },] }],
|