@colijnit/transaction 257.1.69 → 257.1.70
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 +23 -4
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +5 -2
- package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.js +19 -2
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +23 -4
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.d.ts +2 -0
- package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.d.ts +1 -0
- 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.70";
|
|
37
|
+
this.publishDate = "17-6-2025 19:08:59";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -28525,6 +28525,7 @@
|
|
|
28525
28525
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
28526
28526
|
_this.category = TransactionTypeCategory;
|
|
28527
28527
|
_this.showCheckboxForLine = false;
|
|
28528
|
+
_this.refTransList = [];
|
|
28528
28529
|
_this.statusBarConfigNames = {
|
|
28529
28530
|
statusBarIB: _this.cfgNames.StatusBarIB,
|
|
28530
28531
|
statusBarNT: _this.cfgNames.StatusBarNT,
|
|
@@ -28546,9 +28547,11 @@
|
|
|
28546
28547
|
_this.detectChanges();
|
|
28547
28548
|
}), this.transactionEventService.transactionLineChanged.subscribe(function (line) {
|
|
28548
28549
|
if (_this.transactionLine && _this.transactionLine.lineNr === line.lineNr) {
|
|
28550
|
+
_this.refTransList = _this.transactionLine.refTransactions.concat(_this.transactionLine.refServiceTransactions);
|
|
28549
28551
|
_this.detectChanges();
|
|
28550
28552
|
}
|
|
28551
28553
|
}), this.transactionEventService.transactionLineRefTransactionsChanged.subscribe(function (line) {
|
|
28554
|
+
_this.refTransList = _this.transactionLine.refTransactions.concat(_this.transactionLine.refServiceTransactions);
|
|
28552
28555
|
_this.changeDetector.detectChanges();
|
|
28553
28556
|
}));
|
|
28554
28557
|
};
|
|
@@ -28572,7 +28575,7 @@
|
|
|
28572
28575
|
TransactionPurchaseOverviewLineComponent.decorators = [
|
|
28573
28576
|
{ type: i0.Component, args: [{
|
|
28574
28577
|
selector: "co-transaction-purchase-overview-line",
|
|
28575
|
-
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n (checkboxValueChanged)=\"selected = $event\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column-full align-right\">\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [activeCategory]=\"category.PurchaseOrderOverview\">\n </co-transaction-line-statusbar>\n <co-transaction-navigation-button-list\n class=\"transaction-field-wrapper multi-list\"\n [refTransactions]=\"
|
|
28578
|
+
template: "\n <co-transaction-base-line\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [preview]=\"preview\"\n [isFirst]=\"isFirst\"\n (checkboxValueChanged)=\"selected = $event\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-extended-wrapper\">\n <div class=\"column-full align-right\">\n <co-transaction-line-statusbar\n [screenConfigurationObject]=\"cfgNames.StatusBar\"\n [configNames]=\"statusBarConfigNames\"\n [activeCategory]=\"category.PurchaseOrderOverview\">\n </co-transaction-line-statusbar>\n <co-transaction-navigation-button-list\n class=\"transaction-field-wrapper multi-list\"\n [refTransactions]=\"refTransList\"\n (relationClick)=\"handleRelationNavigation($event)\"\n (transactionClick)=\"handleTransactionNavigation($event)\">\n </co-transaction-navigation-button-list>\n <co-transaction-line-warehouse-button\n class=\"transaction-field-wrapper medium\"\n [screenConfigurationObject]=\"cfgNames.LineWarehouse\"\n [inputLabel]=\"true\"\n ></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button\n class=\"transaction-field-wrapper medium\"\n [screenConfigurationObject]=\"cfgNames.LineDeliveryMethod\"\n [inputLabel]=\"true\"\n ></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button\n class=\"transaction-field-wrapper medium two-column\"\n [screenConfigurationObject]=\"cfgNames.LineDeliveryDate\"\n [inputLabel]=\"true\"\n ></co-transaction-line-delivery-date-button>\n <co-transaction-line-vat-button\n class=\"transaction-field-wrapper small\"\n [screenConfigurationObject]=\"cfgNames.LineVat\"\n [inputLabel]=\"true\"\n ></co-transaction-line-vat-button>\n <co-transaction-line-price\n class=\"transaction-field-wrapper small transaction-line-totals-price price\"\n [screenConfigurationObject]=\"cfgNames.LinePrice\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n [inputLabel]=\"true\"\n ></co-transaction-line-price>\n <co-transaction-line-discount-button\n class=\"transaction-field-wrapper small\"\n [screenConfigurationObject]=\"cfgNames.LineDiscount\"\n [inputLabel]=\"true\"\n ></co-transaction-line-discount-button>\n <co-transaction-line-amount\n class=\"transaction-field-wrapper small amount-number-picker\"\n [screenConfigurationObject]=\"cfgNames.LineAmount\"\n [inputLabel]=\"true\">\n </co-transaction-line-amount>\n <co-editable-label\n class=\"transaction-field-wrapper small 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 </co-transaction-base-line>\n ",
|
|
28576
28579
|
encapsulation: i0.ViewEncapsulation.None,
|
|
28577
28580
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
28578
28581
|
},] }
|
|
@@ -36467,12 +36470,28 @@
|
|
|
36467
36470
|
this.showExtended = false;
|
|
36468
36471
|
this.transactionClick.emit(transNr);
|
|
36469
36472
|
};
|
|
36473
|
+
TransactionNavigationButtonListComponent.prototype.orderInsideLabelFunction = function (ref) {
|
|
36474
|
+
switch (ref.refTransactionType) {
|
|
36475
|
+
case transactionKind_enum.TransactionKind.SalesOrder:
|
|
36476
|
+
return 'SALES_ORDER';
|
|
36477
|
+
break;
|
|
36478
|
+
case transactionKind_enum.TransactionKind.PurchaseOrder:
|
|
36479
|
+
return 'PURCHASE_ORDER';
|
|
36480
|
+
break;
|
|
36481
|
+
case transactionKind_enum.TransactionKind.ServiceOrder:
|
|
36482
|
+
return 'SERVICE_ORDER';
|
|
36483
|
+
break;
|
|
36484
|
+
default:
|
|
36485
|
+
return this.insideLabel;
|
|
36486
|
+
break;
|
|
36487
|
+
}
|
|
36488
|
+
};
|
|
36470
36489
|
return TransactionNavigationButtonListComponent;
|
|
36471
36490
|
}());
|
|
36472
36491
|
TransactionNavigationButtonListComponent.decorators = [
|
|
36473
36492
|
{ type: i0.Component, args: [{
|
|
36474
36493
|
selector: "co-transaction-navigation-button-list",
|
|
36475
|
-
template: "\n <ng-container *ngIf=\"refTransactions.length === 0 && emptyLabel\">\n <div class=\"inside-field\">\n <co-transaction-navigation-button\n class=\"disabled-button\"\n [icon]=\"navigationButtonIcon\"\n [label]=\"emptyLabel\"\n ></co-transaction-navigation-button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"refTransactions.length > 1\">\n <div class=\"inside-field\">\n <co-transaction-line-label *ngIf=\"inputLabel\" [class.red-label]=\"redService\"\n [insideLabel]=\"insideLabel\"></co-transaction-line-label>\n <co-transaction-navigation-button [label]=\"'MULTI_SELECT' | localize\" [icon]=\"navigationButtonIcon\" (click)=\"showExtended = !showExtended\" overlayParent #parentForOverlay=\"overlayParent\"></co-transaction-navigation-button>\n </div>\n <div class=\"navigation-button-list-extended-wrapper\" *ngIf=\"showExtended\" [overlay]=\"parentForOverlay\" clickOutside (clickOutside)=\"showExtended = false\">\n <ng-container *ngFor=\"let refTransaction of refTransactions\">\n <ng-container *ngTemplateOutlet=\"refTransactionTemplate; context: { $implicit: refTransaction }\"></ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"refTransactions.length === 1\">\n <ng-container *ngTemplateOutlet=\"refTransactionTemplate; context: { $implicit: refTransactions[0] }\"></ng-container>\n </ng-container>\n <ng-template #refTransactionTemplate let-ref>\n <div class=\"navigation-button-list-extended-item\">\n <div class=\"transaction-field-wrapper\" *ngIf=\"ref.refRelationName && showRelationButton\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'RELATION'\"></co-transaction-line-label>\n <co-transaction-navigation-button class=\"navigation-relation-button\"\n [icon]=\"navigationButtonIcon\"\n [label]=\"ref.refRelationName\"\n (buttonClicked)=\"handleRelationClick($event, ref.refRelationId)\"></co-transaction-navigation-button>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\" *ngIf=\"ref.refTransactionNr\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"
|
|
36494
|
+
template: "\n <ng-container *ngIf=\"refTransactions.length === 0 && emptyLabel\">\n <div class=\"inside-field\">\n <co-transaction-navigation-button\n class=\"disabled-button\"\n [icon]=\"navigationButtonIcon\"\n [label]=\"emptyLabel\"\n ></co-transaction-navigation-button>\n </div>\n </ng-container>\n <ng-container *ngIf=\"refTransactions.length > 1\">\n <div class=\"inside-field\">\n <co-transaction-line-label *ngIf=\"inputLabel\" [class.red-label]=\"redService\"\n [insideLabel]=\"insideLabel\"></co-transaction-line-label>\n <co-transaction-navigation-button [label]=\"'MULTI_SELECT' | localize\" [icon]=\"navigationButtonIcon\" (click)=\"showExtended = !showExtended\" overlayParent #parentForOverlay=\"overlayParent\"></co-transaction-navigation-button>\n </div>\n <div class=\"navigation-button-list-extended-wrapper\" *ngIf=\"showExtended\" [overlay]=\"parentForOverlay\" clickOutside (clickOutside)=\"showExtended = false\">\n <ng-container *ngFor=\"let refTransaction of refTransactions\">\n <ng-container *ngTemplateOutlet=\"refTransactionTemplate; context: { $implicit: refTransaction }\"></ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"refTransactions.length === 1\">\n <ng-container *ngTemplateOutlet=\"refTransactionTemplate; context: { $implicit: refTransactions[0] }\"></ng-container>\n </ng-container>\n <ng-template #refTransactionTemplate let-ref>\n <div class=\"navigation-button-list-extended-item\">\n <div class=\"transaction-field-wrapper\" *ngIf=\"ref.refRelationName && showRelationButton\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"'RELATION'\"></co-transaction-line-label>\n <co-transaction-navigation-button class=\"navigation-relation-button\"\n [icon]=\"navigationButtonIcon\"\n [label]=\"ref.refRelationName\"\n (buttonClicked)=\"handleRelationClick($event, ref.refRelationId)\"></co-transaction-navigation-button>\n </div>\n </div>\n <div class=\"transaction-field-wrapper\" *ngIf=\"ref.refTransactionNr\">\n <div class=\"inside-field\">\n <co-transaction-line-label [insideLabel]=\"orderInsideLabelFunction(ref)\"></co-transaction-line-label>\n <co-transaction-navigation-button [icon]=\"navigationButtonIcon\"\n [label]=\"ref.refTransactionNr\"\n (buttonClicked)=\"handleTransactionClick($event, ref.refTransactionNr)\"></co-transaction-navigation-button>\n </div>\n </div>\n </div>\n </ng-template>\n\n ",
|
|
36476
36495
|
animations: [
|
|
36477
36496
|
animations.trigger("showHideExtended", [
|
|
36478
36497
|
animations.state("void", animations.style({ height: 0 })),
|