@colijnit/transaction 12.1.122 → 12.1.123
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 +180 -92
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +71 -69
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +72 -70
- package/esm2015/lib/component/transaction-button/transaction-button.component.js +2 -2
- package/esm2015/lib/component/transaction-labeled-price-input/transaction-labeled-price-input.component.js +13 -6
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +3 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +14 -20
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +6 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-button.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.js +64 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.module.js +27 -0
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +17 -9
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +44 -26
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +4 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +172 -66
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-button/style/_layout.scss +12 -7
- package/lib/component/transaction-button/style/_material-definition.scss +2 -3
- package/lib/component/transaction-labeled-price-input/transaction-labeled-price-input.component.d.ts +4 -1
- package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.component.d.ts +24 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier-delivery-date-button.module.d.ts +2 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_layout.scss +1 -0
- package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +25 -21
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +6 -1
- package/lib/style/_variables.scss +0 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
function Version() {
|
|
33
33
|
this.name = "@colijnit/transaction";
|
|
34
34
|
this.description = "Colijn IT transaction package";
|
|
35
|
-
this.symVer = "12.1.
|
|
36
|
-
this.publishDate = "27-5-2023 09:
|
|
35
|
+
this.symVer = "12.1.123";
|
|
36
|
+
this.publishDate = "27-5-2023 09:05:43";
|
|
37
37
|
}
|
|
38
38
|
return Version;
|
|
39
39
|
}());
|
|
@@ -12612,7 +12612,7 @@
|
|
|
12612
12612
|
TransactionButtonComponent.decorators = [
|
|
12613
12613
|
{ type: i0.Component, args: [{
|
|
12614
12614
|
selector: 'co-transaction-button',
|
|
12615
|
-
template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n <ng-content></ng-content>\n </div>\n <div class=\"transaction-button-icon-wrapper
|
|
12615
|
+
template: "\n <div class=\"transaction-button-icon-wrapper\" *ngIf=iconData>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"iconData\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"transaction-button-label-title-wrapper\" [class.title]=\"title\">\n <span class=\"transaction-button-title co-transaction-overflow-ellipsis\" [textContent]=\"title\"></span>\n <span class=\"transaction-button-label co-transaction-overflow-ellipsis\" [textContent]=\"label\"></span>\n <ng-content></ng-content>\n </div>\n <div class=\"transaction-button-icon-wrapper\" *ngIf=rightIconData>\n <div class=\"spacer\"></div>\n <co-icon class=\"transaction-button-icon\" [iconData]=\"rightIconData\"></co-icon>\n </div>\n <co-checkmark-overlay [successful]=\"showCheckMarkLoader\" [visible]=\"checkMarkOverlayVisible\"></co-checkmark-overlay>\n ",
|
|
12616
12616
|
encapsulation: i0.ViewEncapsulation.None
|
|
12617
12617
|
},] }
|
|
12618
12618
|
];
|
|
@@ -13450,14 +13450,19 @@
|
|
|
13450
13450
|
_this.purchaseOrderConfirmation = new getPurchaseOrderConfirmation.GetPurchaseOrderConfirmation();
|
|
13451
13451
|
_this.awaitingResult = false;
|
|
13452
13452
|
_this.iconVisible = true;
|
|
13453
|
+
_this.forceShowConfirmationInputs = false;
|
|
13453
13454
|
return _this;
|
|
13454
13455
|
}
|
|
13455
13456
|
TransactionQuickAccessOrderConfirmationComponent.prototype.showClass = function () {
|
|
13456
13457
|
return true;
|
|
13457
13458
|
};
|
|
13458
|
-
|
|
13459
|
-
|
|
13460
|
-
|
|
13459
|
+
TransactionQuickAccessOrderConfirmationComponent.prototype.ngOnInit = function () {
|
|
13460
|
+
_super.prototype.ngOnInit.call(this);
|
|
13461
|
+
this.hideQuickAccessContent = this.transactionService.purchaseOrderConfirmationCompleted;
|
|
13462
|
+
};
|
|
13463
|
+
TransactionQuickAccessOrderConfirmationComponent.prototype.handleSelectAllLines = function (value) {
|
|
13464
|
+
this.transactionEventService.selectAllSalesOrderLinesForPurchase.next(value);
|
|
13465
|
+
};
|
|
13461
13466
|
TransactionQuickAccessOrderConfirmationComponent.prototype.handleCommitEvent = function (event) {
|
|
13462
13467
|
return __awaiter(this, void 0, void 0, function () {
|
|
13463
13468
|
var success;
|
|
@@ -13477,6 +13482,7 @@
|
|
|
13477
13482
|
case 2:
|
|
13478
13483
|
this.awaitingResult = false;
|
|
13479
13484
|
this.iconVisible = success;
|
|
13485
|
+
this.forceShowConfirmationInputs = false;
|
|
13480
13486
|
return [2 /*return*/];
|
|
13481
13487
|
}
|
|
13482
13488
|
});
|
|
@@ -13487,7 +13493,7 @@
|
|
|
13487
13493
|
TransactionQuickAccessOrderConfirmationComponent.decorators = [
|
|
13488
13494
|
{ type: i0.Component, args: [{
|
|
13489
13495
|
selector: "co-transaction-quick-access-order-confirmation",
|
|
13490
|
-
template: "\n <co-input-date\n
|
|
13496
|
+
template: "\n <div class=\"quick-access-wrapper\">\n <div class=\"confirm-inputs\" *ngIf=\"!hideQuickAccessContent || forceShowConfirmationInputs\">\n <co-input-checkbox (modelChange)=\"handleSelectAllLines($event)\"></co-input-checkbox>\n <co-input-date\n [(model)]=\"purchaseOrderConfirmation.confirmationDate\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n ></co-input-date>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n ></co-input-text>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.leverbatch\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n <co-quick-send-button\n [title]=\"'PROCESS'\"\n [icon]=\"icons.CheckDuotone\"\n [showSendMethodIcon]=\"false\"\n [showSendMethodDialogIcon]=\"false\"\n [showLoader]=\"awaitingResult\"\n (sendIconClicked)=\"handleCommitEvent($event)\"\n ></co-quick-send-button>\n </div>\n\n <div class=\"show-confirmation-inputs-wrapper\" *ngIf=\"hideQuickAccessContent && !forceShowConfirmationInputs\">\n <co-transaction-button\n class=\"new-confirmation-button custom-width\"\n [iconData]=\"iconCacheService.getIcon(icons.PlusSimple)\"\n [label]=\"'NEW_CONFIRMATION' | localize\"\n (click)=\"forceShowConfirmationInputs = true\"\n ></co-transaction-button>\n </div>\n </div>\n ",
|
|
13491
13497
|
encapsulation: i0.ViewEncapsulation.None
|
|
13492
13498
|
},] }
|
|
13493
13499
|
];
|
|
@@ -15004,7 +15010,8 @@
|
|
|
15004
15010
|
};
|
|
15005
15011
|
TransactionPurchaseOrderLineBaseComponent.prototype.transactionLineSet = function () {
|
|
15006
15012
|
_super.prototype.transactionLineSet.call(this);
|
|
15007
|
-
this.showCheckboxForLine = this.transactionLine.commissionCode === "0"
|
|
15013
|
+
this.showCheckboxForLine = this.transactionLine.commissionCode === "0" &&
|
|
15014
|
+
this.transactionLine.articleLineStatus.quantityPurchaseConfirmed !== this.transactionLine.amount;
|
|
15008
15015
|
};
|
|
15009
15016
|
TransactionPurchaseOrderLineBaseComponent.prototype.handleOpenSidePanel = function (mouseClick) {
|
|
15010
15017
|
var target = mouseClick.target;
|
|
@@ -15061,7 +15068,7 @@
|
|
|
15061
15068
|
TransactionPurchaseOrderLineComponent.decorators = [
|
|
15062
15069
|
{ type: i0.Component, args: [{
|
|
15063
15070
|
selector: "co-transaction-purchase-order-line",
|
|
15064
|
-
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n
|
|
15071
|
+
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [checkbox]=\"showCheckboxForLine\"\n [checkboxValue]=\"selected\"\n (click)=\"handleOpenSidePanel($event)\"\n (checkboxValueChanged)=\"selected = $event\"\n observeVisibility #observer=visibilityObserve (visibilityChange)=\"handleVisibilityChange(transactionLine, $event)\">\n <div class=\"transaction-line-content-wrapper\">\n <co-transaction-line-statusbar data-action=\"openSidePanel\"\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\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 <co-input-text\n [model]=\"transactionLine.purchasePortalLine.grossOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-discount-button\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n ></co-transaction-line-discount-button>\n <co-input-text\n [model]=\"transactionLine.purchasePortalLine.netOrderPrice | coCurrency\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-line-delivery-date-button [transactionLine]=\"transactionLine\"></co-transaction-line-delivery-date-button>\n </div>\n <div class=\"transaction-line-content\" data-action=\"openSidePanel\">\n <co-input-text\n [model]=\"transactionLine.supplierArticleNumber ? transactionLine.supplierArticleNumber : '-'\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryTag)\"\n [readonly]=\"true\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-transaction-purchase-portal-line-confirmed-price\n [purchasePortalLine]=\"transactionLine.purchasePortalLine\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-purchase-portal-line-confirmed-price>\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"lineQuantityToConfirm\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-transaction-line-supplier-delivery-date-button [transactionLine]=\"transactionLine\"></co-transaction-line-supplier-delivery-date-button>\n <!--\n <div class=\"transaction-line-button big\" [class.no-pointer]=\"readonly\">\n <co-transaction-date-select [date]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed\"></co-transaction-date-select>\n </div>\n -->\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
15065
15072
|
encapsulation: i0.ViewEncapsulation.None,
|
|
15066
15073
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
15067
15074
|
},] }
|
|
@@ -24265,6 +24272,8 @@
|
|
|
24265
24272
|
__extends(TransactionLinePurchaseConfirmationComponent, _super);
|
|
24266
24273
|
function TransactionLinePurchaseConfirmationComponent() {
|
|
24267
24274
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
24275
|
+
_this.transactionTypeCategory = TransactionTypeCategory;
|
|
24276
|
+
_this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
24268
24277
|
_this.filteredDocBatchArray = [];
|
|
24269
24278
|
_this.isEditMode = false;
|
|
24270
24279
|
_this._subs = [];
|
|
@@ -24344,7 +24353,8 @@
|
|
|
24344
24353
|
});
|
|
24345
24354
|
};
|
|
24346
24355
|
TransactionLinePurchaseConfirmationComponent.prototype.handleSelectHistoryRow = function (row) {
|
|
24347
|
-
this.docDeliveryBatch = row;
|
|
24356
|
+
this.docDeliveryBatch = Object.assign(new docDeliveryBatch_bo.DocDeliveryBatch(), row);
|
|
24357
|
+
this.docDeliveryBatch.docDate = new Date(row.docDate);
|
|
24348
24358
|
};
|
|
24349
24359
|
TransactionLinePurchaseConfirmationComponent.prototype.handleCancelClick = function () {
|
|
24350
24360
|
this._initNewDocDeliveryBatch();
|
|
@@ -24357,18 +24367,16 @@
|
|
|
24357
24367
|
this.filteredDocBatchArray = this.transactionLine.purchasePortalLine.docBatchArray.filter(function (value) { return value.historical === 'G'; });
|
|
24358
24368
|
};
|
|
24359
24369
|
TransactionLinePurchaseConfirmationComponent.prototype._initNewDocDeliveryBatch = function () {
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
|
|
24363
|
-
tempDocBatch.confirmedPrice = +this.transactionLine.purchasePortalLine.confirmedPrice;
|
|
24364
|
-
this.docDeliveryBatch = tempDocBatch;
|
|
24370
|
+
this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
24371
|
+
this.docDeliveryBatch.docAmount = 0;
|
|
24372
|
+
this.docDeliveryBatch.confirmedPrice = 0;
|
|
24365
24373
|
};
|
|
24366
24374
|
return TransactionLinePurchaseConfirmationComponent;
|
|
24367
24375
|
}(TransactionBaseComponent));
|
|
24368
24376
|
TransactionLinePurchaseConfirmationComponent.decorators = [
|
|
24369
24377
|
{ type: i0.Component, args: [{
|
|
24370
24378
|
selector: 'co-transaction-line-purchase-confirmation',
|
|
24371
|
-
template: "\n <div class=\"confirmation-details-wrapper\">\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\">\n <span [textContent]=\"'CONFIRM_DETAILS' | localize\"></span>\n <
|
|
24379
|
+
template: "\n <div class=\"confirmation-details-wrapper\">\n <co-form>\n <div class=\"header-wrapper\">\n <div class=\"details-header\">\n <span [textContent]=\"'CONFIRM_DETAILS' | localize\"></span>\n <co-transaction-line-statusbar class=\"status-bar-wrapper\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [activeCategory]=\"transactionTypeCategory.PurchaseOrderOrderConfirmation\"\n ></co-transaction-line-statusbar>\n </div>\n </div>\n <div class=\"header-inform-user\" *ngIf=\"isEditing\">\n <span class=\"header-inform-user editting\" [textContent]=\"'EDITING_DATA_ROW' | localize\"></span>\n </div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-number-picker class=\"details-input\"\n [(model)]=\"docDeliveryBatch.docAmount\"\n [min]=\"1\"\n [max]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n [leftIconData]=\"iconCacheService.getIcon(icons.FileCircleInfoRegular)\"\n ></co-input-number-picker>\n <co-input-date class=\"details-input\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n [leftIconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [(model)]=\"docDeliveryBatch.docDate\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n required\n ></co-input-date>\n <co-transaction-labeled-price-input\n [(model)]=\"docDeliveryBatch.confirmedPrice\"\n [defaultEditMode]=\"false\"\n [placeholder]=\"'CONFIRMED_PRICE' | localize\"\n [required]=\"true\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-transaction-labeled-price-input>\n </div>\n\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n <co-input-text class=\"details-input\"\n [(model)]=\"docDeliveryBatch.deliveryBatch\"\n [placeholder]=\"'DELIVERY_BATCH' | localize\"\n [readonly]=\"+this.transactionLine.purchasePortalLine.amountOrdered - +this.transactionLine.purchasePortalLine.amountConfirmed === 0\"\n ></co-input-text>\n </div>\n </div>\n </co-form>\n\n <div class=\"save-cancel-wrapper\">\n <co-button [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"handleSaveDetailsEdit()\"\n ></co-button>\n <co-button class=\"cancel-button\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"handleCancelClick()\"\n ></co-button>\n </div>\n </div>\n <co-transaction-confirmation-history\n [collection]=\"filteredDocBatchArray\"\n (deleteRow)=\"handleDeleteHistoryRow($event)\"\n (selectRow)=\"handleSelectHistoryRow($event)\"\n ></co-transaction-confirmation-history>\n ",
|
|
24372
24380
|
providers: [
|
|
24373
24381
|
corecomponents_v12.FormMasterService
|
|
24374
24382
|
],
|
|
@@ -24385,6 +24393,7 @@
|
|
|
24385
24393
|
this.defaultEditMode = false;
|
|
24386
24394
|
this.readonly = false;
|
|
24387
24395
|
this.required = false;
|
|
24396
|
+
this.modelChange = new i0.EventEmitter();
|
|
24388
24397
|
this._editMode = false;
|
|
24389
24398
|
}
|
|
24390
24399
|
Object.defineProperty(TransactionLabeledPriceInputComponent.prototype, "child", {
|
|
@@ -24426,25 +24435,29 @@
|
|
|
24426
24435
|
TransactionLabeledPriceInputComponent.prototype.showClass = function () {
|
|
24427
24436
|
return true;
|
|
24428
24437
|
};
|
|
24438
|
+
TransactionLabeledPriceInputComponent.prototype.handleModelChange = function (event) {
|
|
24439
|
+
this.modelChange.next(event);
|
|
24440
|
+
};
|
|
24429
24441
|
return TransactionLabeledPriceInputComponent;
|
|
24430
24442
|
}());
|
|
24431
24443
|
TransactionLabeledPriceInputComponent.decorators = [
|
|
24432
24444
|
{ type: i0.Component, args: [{
|
|
24433
24445
|
selector: "co-transaction-labeled-price-input",
|
|
24434
|
-
template: "\n <co-input-text *ngIf=\"(!editMode || readonly) && !defaultEditMode\"\n [model]=\"model | coCurrency\"\n [placeholder]=\"placeholder\"\n [readonly]=\"true\"\n [required]=\"required\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [hideArrowButtons]=\"true\"\n [placeholder]=\"placeholder\"\n [type]=\"'number'\"\n [min]=\"0\"\n [required]=\"required\"\n [
|
|
24446
|
+
template: "\n <co-input-text *ngIf=\"(!editMode || readonly) && !defaultEditMode\"\n [model]=\"model | coCurrency : true\"\n [placeholder]=\"placeholder\"\n [readonly]=\"true\"\n [required]=\"required\"\n [customHeight]=\"true\"\n ></co-input-text>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [hideArrowButtons]=\"true\"\n [placeholder]=\"placeholder\"\n [type]=\"'number'\"\n [min]=\"0\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [model]=\"model\"\n (modelChange)=\"handleModelChange($event)\"\n (blur)=\"editMode = false\"\n [customHeight]=\"true\"\n ></co-input-text>\n ",
|
|
24435
24447
|
encapsulation: i0.ViewEncapsulation.None
|
|
24436
24448
|
},] }
|
|
24437
24449
|
];
|
|
24438
24450
|
TransactionLabeledPriceInputComponent.ctorParameters = function () { return []; };
|
|
24439
24451
|
TransactionLabeledPriceInputComponent.propDecorators = {
|
|
24440
24452
|
child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputTextComponent },] }],
|
|
24441
|
-
placeholder: [{ type: i0.Input }],
|
|
24442
24453
|
model: [{ type: i0.Input }],
|
|
24454
|
+
placeholder: [{ type: i0.Input }],
|
|
24443
24455
|
defaultEditMode: [{ type: i0.Input }],
|
|
24444
24456
|
readonly: [{ type: i0.Input }],
|
|
24445
24457
|
required: [{ type: i0.Input }],
|
|
24446
24458
|
editMode: [{ type: i0.Input }],
|
|
24447
|
-
|
|
24459
|
+
modelChange: [{ type: i0.Output }],
|
|
24460
|
+
handleClick: [{ type: i0.HostListener, args: ["mousedown", ["$event"],] }],
|
|
24448
24461
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-labeled-price-input",] }]
|
|
24449
24462
|
};
|
|
24450
24463
|
|
|
@@ -24487,7 +24500,8 @@
|
|
|
24487
24500
|
TransactionConfirmationHistoryModule,
|
|
24488
24501
|
corecomponents_v12.InputNumberPickerModule,
|
|
24489
24502
|
corecomponents_v12.ButtonModule,
|
|
24490
|
-
TransactionLabeledPriceInputModule
|
|
24503
|
+
TransactionLabeledPriceInputModule,
|
|
24504
|
+
TransactionLineStatusbarModule
|
|
24491
24505
|
],
|
|
24492
24506
|
declarations: [
|
|
24493
24507
|
TransactionLinePurchaseConfirmationComponent
|
|
@@ -25885,7 +25899,8 @@
|
|
|
25885
25899
|
i4.SendMethodDialogModule,
|
|
25886
25900
|
QuickSendButtonModule,
|
|
25887
25901
|
corecomponents_v12.CheckmarkOverlayModule,
|
|
25888
|
-
corecomponents_v12.IconModule
|
|
25902
|
+
corecomponents_v12.IconModule,
|
|
25903
|
+
TransactionButtonModule
|
|
25889
25904
|
],
|
|
25890
25905
|
declarations: [
|
|
25891
25906
|
TransactionQuickAccessOrderConfirmationComponent
|
|
@@ -27224,7 +27239,7 @@
|
|
|
27224
27239
|
TransactionLineDiscountButtonComponent.decorators = [
|
|
27225
27240
|
{ type: i0.Component, args: [{
|
|
27226
27241
|
selector: "co-transaction-line-discount-button",
|
|
27227
|
-
template: "\n <co-transaction-button class=\"center-align\"\n [label]=\"(transactionLine.lineTotalDiscountAmount | coCurrency)
|
|
27242
|
+
template: "\n <co-transaction-button class=\"center-align\" [class.discount]=\"!!transactionLine.lineTotalDiscountAmount\"\n [label]=\"!!transactionLine.lineTotalDiscountAmount ? ('- ' + (transactionLine.lineTotalDiscountAmount | coCurrency)) : ('DISCOUNT' | localize)\"\n (click)=\"handleShowDialog($event)\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"handleShowDialog($event)\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"transactionLine.lineTotalDiscountAmount < 0\"\n [textContent]=\"(transactionLine.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n-->\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
|
|
27228
27243
|
encapsulation: i0.ViewEncapsulation.None
|
|
27229
27244
|
},] }
|
|
27230
27245
|
];
|
|
@@ -27985,6 +28000,75 @@
|
|
|
27985
28000
|
},] }
|
|
27986
28001
|
];
|
|
27987
28002
|
|
|
28003
|
+
var TransactionLineSupplierDeliveryDateButtonComponent = /** @class */ (function (_super) {
|
|
28004
|
+
__extends(TransactionLineSupplierDeliveryDateButtonComponent, _super);
|
|
28005
|
+
function TransactionLineSupplierDeliveryDateButtonComponent(transactionEventService, service, iconCacheService, dictionaryService, imageService, changeDetector, _overlayService, _elementRef) {
|
|
28006
|
+
var _this = _super.call(this, transactionEventService, iconCacheService, imageService, dictionaryService, service, changeDetector) || this;
|
|
28007
|
+
_this.transactionEventService = transactionEventService;
|
|
28008
|
+
_this.service = service;
|
|
28009
|
+
_this.iconCacheService = iconCacheService;
|
|
28010
|
+
_this.dictionaryService = dictionaryService;
|
|
28011
|
+
_this.imageService = imageService;
|
|
28012
|
+
_this.changeDetector = changeDetector;
|
|
28013
|
+
_this._overlayService = _overlayService;
|
|
28014
|
+
_this._elementRef = _elementRef;
|
|
28015
|
+
_this.icons = Icon;
|
|
28016
|
+
return _this;
|
|
28017
|
+
}
|
|
28018
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype.showClass = function () {
|
|
28019
|
+
return true;
|
|
28020
|
+
};
|
|
28021
|
+
TransactionLineSupplierDeliveryDateButtonComponent.prototype.handleShowDialog = function (event) {
|
|
28022
|
+
};
|
|
28023
|
+
return TransactionLineSupplierDeliveryDateButtonComponent;
|
|
28024
|
+
}(TransactionBaseComponent));
|
|
28025
|
+
TransactionLineSupplierDeliveryDateButtonComponent.decorators = [
|
|
28026
|
+
{ type: i0.Component, args: [{
|
|
28027
|
+
selector: "co-transaction-line-supplier-delivery-date-button",
|
|
28028
|
+
template: "\n <co-transaction-button class=\"big center-align\"\n [iconData]=\"iconCacheService.getIcon(icons.RegularIndustryClock)\"\n [label]=\"transactionLine.purchasePortalLine.deliveryDateConfirmed | date:'d MMM yyyy'\"\n [rightIconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"\n (click)=\"handleShowDialog($event)\"\n ></co-transaction-button>\n<!--\n <div class=\"transaction-line-button big\" [class.no-pointer]=\"readonly\" (click)=\"handleShowDialog($event)\">\n <co-transaction-date-select [date]=\"transactionLine.deliveryDate\"></co-transaction-date-select>\n </div>\n-->\n ",
|
|
28029
|
+
providers: [
|
|
28030
|
+
corecomponents_v12.OverlayService
|
|
28031
|
+
],
|
|
28032
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
28033
|
+
},] }
|
|
28034
|
+
];
|
|
28035
|
+
TransactionLineSupplierDeliveryDateButtonComponent.ctorParameters = function () { return [
|
|
28036
|
+
{ type: TransactionEventService },
|
|
28037
|
+
{ type: TransactionService },
|
|
28038
|
+
{ type: IconCacheService },
|
|
28039
|
+
{ type: DictionaryService },
|
|
28040
|
+
{ type: TransactionImageService },
|
|
28041
|
+
{ type: i0.ChangeDetectorRef },
|
|
28042
|
+
{ type: corecomponents_v12.OverlayService },
|
|
28043
|
+
{ type: i0.ElementRef }
|
|
28044
|
+
]; };
|
|
28045
|
+
TransactionLineSupplierDeliveryDateButtonComponent.propDecorators = {
|
|
28046
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-supplier-delivery-date-button",] }]
|
|
28047
|
+
};
|
|
28048
|
+
|
|
28049
|
+
var TransactionLineSupplierDeliveryDateButtonModule = /** @class */ (function () {
|
|
28050
|
+
function TransactionLineSupplierDeliveryDateButtonModule() {
|
|
28051
|
+
}
|
|
28052
|
+
return TransactionLineSupplierDeliveryDateButtonModule;
|
|
28053
|
+
}());
|
|
28054
|
+
TransactionLineSupplierDeliveryDateButtonModule.decorators = [
|
|
28055
|
+
{ type: i0.NgModule, args: [{
|
|
28056
|
+
imports: [
|
|
28057
|
+
common.CommonModule,
|
|
28058
|
+
corecomponents_v12.IconModule,
|
|
28059
|
+
PipeModule,
|
|
28060
|
+
TransactionDateSelectModule,
|
|
28061
|
+
TransactionButtonModule
|
|
28062
|
+
],
|
|
28063
|
+
declarations: [
|
|
28064
|
+
TransactionLineSupplierDeliveryDateButtonComponent
|
|
28065
|
+
],
|
|
28066
|
+
exports: [
|
|
28067
|
+
TransactionLineSupplierDeliveryDateButtonComponent
|
|
28068
|
+
]
|
|
28069
|
+
},] }
|
|
28070
|
+
];
|
|
28071
|
+
|
|
27988
28072
|
var TransactionPurchaseOrderLineModule = /** @class */ (function () {
|
|
27989
28073
|
function TransactionPurchaseOrderLineModule() {
|
|
27990
28074
|
}
|
|
@@ -28013,7 +28097,9 @@
|
|
|
28013
28097
|
corecomponents_v12.ObserveVisibilityModule,
|
|
28014
28098
|
corecomponents_v12.InputTextModule,
|
|
28015
28099
|
TransactionDateSelectModule,
|
|
28016
|
-
TransactionButtonModule
|
|
28100
|
+
TransactionButtonModule,
|
|
28101
|
+
TransactionLineDiscountButtonModule,
|
|
28102
|
+
TransactionLineSupplierDeliveryDateButtonModule
|
|
28017
28103
|
],
|
|
28018
28104
|
declarations: [
|
|
28019
28105
|
TransactionPurchaseOrderLineComponent
|
|
@@ -31421,78 +31507,80 @@
|
|
|
31421
31507
|
exports["ɵoh"] = TransactionPurchasePortalLineDeliveryDateComponent;
|
|
31422
31508
|
exports["ɵoi"] = TransactionPurchasePortalLineConfirmedDeliveryDateModule;
|
|
31423
31509
|
exports["ɵoj"] = TransactionPurchasePortalLineConfirmedDeliveryDateComponent;
|
|
31424
|
-
exports["ɵok"] =
|
|
31425
|
-
exports["ɵol"] =
|
|
31426
|
-
exports["ɵom"] =
|
|
31427
|
-
exports["ɵon"] =
|
|
31428
|
-
exports["ɵoo"] =
|
|
31429
|
-
exports["ɵop"] =
|
|
31430
|
-
exports["ɵoq"] =
|
|
31431
|
-
exports["ɵor"] =
|
|
31432
|
-
exports["ɵos"] =
|
|
31433
|
-
exports["ɵot"] =
|
|
31434
|
-
exports["ɵou"] =
|
|
31435
|
-
exports["ɵov"] =
|
|
31436
|
-
exports["ɵow"] =
|
|
31437
|
-
exports["ɵox"] =
|
|
31438
|
-
exports["ɵoy"] =
|
|
31439
|
-
exports["ɵoz"] =
|
|
31510
|
+
exports["ɵok"] = TransactionLineSupplierDeliveryDateButtonModule;
|
|
31511
|
+
exports["ɵol"] = TransactionLineSupplierDeliveryDateButtonComponent;
|
|
31512
|
+
exports["ɵom"] = TransactionPurchaseOrderLineComponent;
|
|
31513
|
+
exports["ɵon"] = TransactionPurchaseOrderLineBaseComponent;
|
|
31514
|
+
exports["ɵoo"] = TransactionPurchaseOverviewLineModule;
|
|
31515
|
+
exports["ɵop"] = TransactionNavigationButtonListModule;
|
|
31516
|
+
exports["ɵoq"] = TransactionNavigationButtonListComponent;
|
|
31517
|
+
exports["ɵor"] = TransactionPurchaseOverviewLineComponent;
|
|
31518
|
+
exports["ɵos"] = TransactionCardModule;
|
|
31519
|
+
exports["ɵot"] = TransactionCardPurchaseOverviewModule;
|
|
31520
|
+
exports["ɵou"] = TransactionCardHeaderModule;
|
|
31521
|
+
exports["ɵov"] = TransactionCardHeaderComponent;
|
|
31522
|
+
exports["ɵow"] = TransactionCardFooterModule;
|
|
31523
|
+
exports["ɵox"] = TransactionCardFooterComponent;
|
|
31524
|
+
exports["ɵoy"] = TransactionCardPurchaseOverviewComponent;
|
|
31525
|
+
exports["ɵoz"] = TransactionCardSalesOverviewModule;
|
|
31440
31526
|
exports["ɵp"] = ArticleConnectorService;
|
|
31441
|
-
exports["ɵpa"] =
|
|
31442
|
-
exports["ɵpb"] =
|
|
31443
|
-
exports["ɵpc"] =
|
|
31444
|
-
exports["ɵpd"] =
|
|
31445
|
-
exports["ɵpe"] =
|
|
31446
|
-
exports["ɵpf"] =
|
|
31447
|
-
exports["ɵpg"] =
|
|
31448
|
-
exports["ɵph"] =
|
|
31449
|
-
exports["ɵpi"] =
|
|
31450
|
-
exports["ɵpj"] =
|
|
31451
|
-
exports["ɵpk"] =
|
|
31452
|
-
exports["ɵpl"] =
|
|
31453
|
-
exports["ɵpm"] =
|
|
31454
|
-
exports["ɵpn"] =
|
|
31455
|
-
exports["ɵpo"] =
|
|
31456
|
-
exports["ɵpp"] =
|
|
31457
|
-
exports["ɵpq"] =
|
|
31458
|
-
exports["ɵpr"] =
|
|
31459
|
-
exports["ɵps"] =
|
|
31460
|
-
exports["ɵpt"] =
|
|
31461
|
-
exports["ɵpu"] =
|
|
31462
|
-
exports["ɵpv"] =
|
|
31463
|
-
exports["ɵpw"] =
|
|
31464
|
-
exports["ɵpx"] =
|
|
31465
|
-
exports["ɵpy"] =
|
|
31466
|
-
exports["ɵpz"] =
|
|
31527
|
+
exports["ɵpa"] = TransactionCardSalesOverviewComponent;
|
|
31528
|
+
exports["ɵpb"] = TransactionCardReceiveGoodsModule;
|
|
31529
|
+
exports["ɵpc"] = TransactionCardReceiveGoodsComponent;
|
|
31530
|
+
exports["ɵpd"] = TransactionCardInvoiceModule;
|
|
31531
|
+
exports["ɵpe"] = TransactionCardInvoiceComponent;
|
|
31532
|
+
exports["ɵpf"] = TransactionCardOrderDeliveryModule;
|
|
31533
|
+
exports["ɵpg"] = TransactionCardOrderDeliveryComponent;
|
|
31534
|
+
exports["ɵph"] = TransactionCardComponent;
|
|
31535
|
+
exports["ɵpi"] = TransactionTextLineModule;
|
|
31536
|
+
exports["ɵpj"] = TransactionTextLineComponent;
|
|
31537
|
+
exports["ɵpk"] = SearchViewModeService;
|
|
31538
|
+
exports["ɵpl"] = TransactionSearchSalesOrderTileModule;
|
|
31539
|
+
exports["ɵpm"] = TransactionSearchSalesOrderTileComponent;
|
|
31540
|
+
exports["ɵpn"] = TransactionSearchTileBaseComponent;
|
|
31541
|
+
exports["ɵpo"] = TransactionSearchPurchaseOrderTileModule;
|
|
31542
|
+
exports["ɵpp"] = TransactionSearchPurchaseOrderTileComponent;
|
|
31543
|
+
exports["ɵpq"] = TransactionSearchSalesOrderGridModule;
|
|
31544
|
+
exports["ɵpr"] = TransactionSearchSalesOrderGridComponent;
|
|
31545
|
+
exports["ɵps"] = TransactionSearchGridBaseComponent;
|
|
31546
|
+
exports["ɵpt"] = TransactionSearchPurchaseOrderGridModule;
|
|
31547
|
+
exports["ɵpu"] = TransactionSearchPurchaseOrderGridComponent;
|
|
31548
|
+
exports["ɵpv"] = TransactionSearchGridModule;
|
|
31549
|
+
exports["ɵpw"] = TransactionSearchGridComponent;
|
|
31550
|
+
exports["ɵpx"] = TransactionSearchTileModule;
|
|
31551
|
+
exports["ɵpy"] = TransactionSearchTileComponent;
|
|
31552
|
+
exports["ɵpz"] = TransactionSalesOrderFilterModule;
|
|
31467
31553
|
exports["ɵq"] = RelationConnectorService;
|
|
31468
|
-
exports["ɵqa"] =
|
|
31469
|
-
exports["ɵqb"] =
|
|
31470
|
-
exports["ɵqc"] =
|
|
31471
|
-
exports["ɵqd"] =
|
|
31472
|
-
exports["ɵqe"] =
|
|
31473
|
-
exports["ɵqf"] =
|
|
31474
|
-
exports["ɵqg"] =
|
|
31475
|
-
exports["ɵqh"] =
|
|
31476
|
-
exports["ɵqi"] =
|
|
31477
|
-
exports["ɵqj"] =
|
|
31478
|
-
exports["ɵqk"] =
|
|
31479
|
-
exports["ɵql"] =
|
|
31480
|
-
exports["ɵqm"] =
|
|
31481
|
-
exports["ɵqn"] =
|
|
31482
|
-
exports["ɵqo"] =
|
|
31483
|
-
exports["ɵqp"] =
|
|
31484
|
-
exports["ɵqq"] =
|
|
31485
|
-
exports["ɵqr"] =
|
|
31486
|
-
exports["ɵqs"] =
|
|
31487
|
-
exports["ɵqt"] =
|
|
31488
|
-
exports["ɵqu"] =
|
|
31489
|
-
exports["ɵqv"] =
|
|
31490
|
-
exports["ɵqw"] =
|
|
31491
|
-
exports["ɵqx"] =
|
|
31492
|
-
exports["ɵqy"] =
|
|
31493
|
-
exports["ɵqz"] =
|
|
31554
|
+
exports["ɵqa"] = TransactionSalesOrderFilterContentOrderModule;
|
|
31555
|
+
exports["ɵqb"] = TransactionFilterItemModule;
|
|
31556
|
+
exports["ɵqc"] = TransactionFilterItemComponent;
|
|
31557
|
+
exports["ɵqd"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
31558
|
+
exports["ɵqe"] = TransactionFilterContentBaseComponent;
|
|
31559
|
+
exports["ɵqf"] = FilterRequestService;
|
|
31560
|
+
exports["ɵqg"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
31561
|
+
exports["ɵqh"] = TransactionFilterHistoricStateModule;
|
|
31562
|
+
exports["ɵqi"] = TransactionFilterHistoricStateComponent;
|
|
31563
|
+
exports["ɵqj"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
31564
|
+
exports["ɵqk"] = TransactionSalesOrderFilterContentArticleModule;
|
|
31565
|
+
exports["ɵql"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
31566
|
+
exports["ɵqm"] = TransactionSalesOrderFilterComponent;
|
|
31567
|
+
exports["ɵqn"] = TransactionFilterBaseComponent;
|
|
31568
|
+
exports["ɵqo"] = TransactionPurchaseOrderFilterModule;
|
|
31569
|
+
exports["ɵqp"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
31570
|
+
exports["ɵqq"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
31571
|
+
exports["ɵqr"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
31572
|
+
exports["ɵqs"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
31573
|
+
exports["ɵqt"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
31574
|
+
exports["ɵqu"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
31575
|
+
exports["ɵqv"] = TransactionPurchaseOrderFilterComponent;
|
|
31576
|
+
exports["ɵqw"] = SearchFeatureModule;
|
|
31577
|
+
exports["ɵqx"] = SearchHeaderButtonsModule;
|
|
31578
|
+
exports["ɵqy"] = SearchHeaderButtonsComponent;
|
|
31579
|
+
exports["ɵqz"] = SearchFilterPanelModule;
|
|
31494
31580
|
exports["ɵr"] = CoreModule;
|
|
31495
|
-
exports["ɵra"] =
|
|
31581
|
+
exports["ɵra"] = SearchFilterPanelComponent;
|
|
31582
|
+
exports["ɵrb"] = SearchComponent;
|
|
31583
|
+
exports["ɵrc"] = TransactionTagComponent;
|
|
31496
31584
|
exports["ɵs"] = ConfirmationDialogModule;
|
|
31497
31585
|
exports["ɵt"] = PipeModule;
|
|
31498
31586
|
exports["ɵu"] = AppendPipe;
|