@colijnit/transaction 254.1.20 → 254.1.22
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 +10 -3
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction-254.1.20.tgz +0 -0
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/simple-vertical-stepper/co-simple-vertical-stepper.component.js +7 -1
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +5 -5
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +12 -6
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +2 -2
|
@@ -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 = "254.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "254.1.22";
|
|
37
|
+
this.publishDate = "12-7-2024 13:09:49";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -35564,7 +35564,7 @@
|
|
|
35564
35564
|
TransactionHeaderPopupRelationComponent.decorators = [
|
|
35565
35565
|
{ type: i0.Component, args: [{
|
|
35566
35566
|
selector: 'co-transaction-header-popup-relation',
|
|
35567
|
-
template: "\n <!--co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories-->\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"header-relation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'01'\"></span>\n <span class=\"label-description\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"service-read-only-wrapper\" *ngIf=\"readonly || forceReadonly\">\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'NAME_AND_ADDRESS' | localize\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"readonly = false; forceReadonly = false\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"double-column\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'FIRST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.firstName\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PREFIX' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.prefix\"></span>\n </div>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'LAST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.familyName\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'ADDRESS' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.streetName + ' ' + relation.primaryInvoiceAddress.houseNo\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'POSTAL_CODE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.postalCode\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'CITY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.city\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'COUNTRY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress.countryId\"></span>\n </div>\n </div>\n </div>\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'CONTACT_OPTIONS' | localize\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'EMAIL' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryEmail\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PHONE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"service-data-column\" *ngIf=\"!readonly && !forceReadonly\">\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [screenConfigurationObject]=\"cfgNames.RelationType\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups\n [screenConfigurationObject]=\"cfgNames.RelationCustomerGroup\"\n [readonly]=\"readonly || forceReadonly\"\n [model]=\"customerGroup\"\n (modelChange)=\"handleChangeCustomGroup($event)\"\n ></relation-customer-groups>\n </ng-container>\n <co-relation-general\n [configNames]=\"relationGeneralConfigNames\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationType]=\"relation.type\"\n [relationKind]=\"relationKind\"\n (inputChangeForSuggestions)=\"handleInputChange($event)\"\n ></co-relation-general>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <co-relation-contact-details\n [configNames]=\"configNames?.contactDetails\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationKind]=\"relationKind\"\n [showInviteForAccount]=\"false\"\n (inputChangeForSuggestions)=\"inputChangeForSuggestions.emit($event)\"\n ></co-relation-contact-details>\n </div>\n </div>\n <div *ngIf=\"showInvoiceAddress\" class=\"transaction-header-popup-section\" [screenConfigurationObject]=\"cfgNames.RelationAddressesHeader\" screenConfigNativeElement>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n </div>\n <div class=\"service-data-column\">\n <co-input-checkbox [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [(model)]=\"invoiceAddressSameAsDeliveryAddress\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n (modelChange)=\"checkSameAddress($event)\"\n ></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"header-relation-content\" *ngIf=\"showPrivacy\">\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PRIVACY_PREFERENCES' | localize\"></div>\n <co-relation-preferences [readonly]=\"readonly || forceReadonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
35567
|
+
template: "\n <!--co-transaction-filter-categories [categories]=\"categories\" (categoryClick)=\"handleNavigationClick($event)\"></co-transaction-filter-categories-->\n <div class=\"transaction-header-popup-category-wrapper co-small-scrollbar\">\n <co-form>\n <div class=\"header-relation-content\">\n <div class=\"transaction-header-popup-section general\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'01'\"></span>\n <span class=\"label-description\" [textContent]=\"'PERSONAL_DATA' | localize\"></span>\n </div>\n <div class=\"service-read-only-wrapper\" *ngIf=\"readonly || forceReadonly\">\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'NAME_AND_ADDRESS' | localize\"></span>\n <span class=\"toggle-change\" [textContent]=\"'CHANGE' | localize\" (click)=\"readonly = false; forceReadonly = false\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"double-column\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'FIRST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.firstName\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PREFIX' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.prefix\"></span>\n </div>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'LAST_NAME' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.familyName\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'ADDRESS' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.streetName + ' ' + relation.primaryInvoiceAddress?.houseNo\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'POSTAL_CODE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.postalCode\"></span>\n </div>\n </div>\n <div class=\"service-address-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'CITY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.city\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'COUNTRY' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryInvoiceAddress?.countryId\"></span>\n </div>\n </div>\n </div>\n <div class=\"service-data-read-only\">\n <div class=\"service-data-header\">\n <span class=\"data-description\" [textContent]=\"'CONTACT_OPTIONS' | localize\"></span>\n </div>\n <div class=\"service-relation-data row\">\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'EMAIL' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryEmail\"></span>\n </div>\n <div class=\"column\">\n <label class=\"label\" [textContent]=\"'PHONE' | localize\"></label>\n <span class=\"value\" [textContent]=\"relation.primaryPhoneNumber\"></span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"service-data-column\" *ngIf=\"!readonly && !forceReadonly\">\n <co-relation-type *ngIf=\"relationKind === relKind.Customer\"\n [screenConfigurationObject]=\"cfgNames.RelationType\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n ></co-relation-type>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <relation-customer-groups\n [screenConfigurationObject]=\"cfgNames.RelationCustomerGroup\"\n [readonly]=\"readonly || forceReadonly\"\n [model]=\"customerGroup\"\n (modelChange)=\"handleChangeCustomGroup($event)\"\n ></relation-customer-groups>\n </ng-container>\n <co-relation-general\n [configNames]=\"relationGeneralConfigNames\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationType]=\"relation.type\"\n [relationKind]=\"relationKind\"\n (inputChangeForSuggestions)=\"handleInputChange($event)\"\n ></co-relation-general>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.DeliveryAddress\"\n [selectedNawNr]=\"deliveryAddressNawNr\"\n (selectedNawNrChange)=\"setIndexDeliveryAddress($event)\"\n ></co-relation-addresses>\n <co-relation-contact-details\n [configNames]=\"configNames?.contactDetails\"\n [readonly]=\"readonly || forceReadonly\"\n [(relation)]=\"relation\"\n [relationKind]=\"relationKind\"\n [showInviteForAccount]=\"false\"\n (inputChangeForSuggestions)=\"inputChangeForSuggestions.emit($event)\"\n ></co-relation-contact-details>\n </div>\n </div>\n <div *ngIf=\"showInvoiceAddress\" class=\"transaction-header-popup-section\" [screenConfigurationObject]=\"cfgNames.RelationAddressesHeader\" screenConfigNativeElement>\n <ng-container *ngIf=\"relationKind === relKind.Customer\">\n <div class=\"transaction-header-popup-section-label\">\n <span [textContent]=\"'02'\"></span>\n <span class=\"label-description\" [textContent]=\"'INVOICE_ADDRESS' | localize\"></span>\n </div>\n <div class=\"service-data-column\">\n <co-input-checkbox [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [(model)]=\"invoiceAddressSameAsDeliveryAddress\"\n [label]=\"'SAME_AS_DELIVERY' | localize\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n (modelChange)=\"checkSameAddress($event)\"\n ></co-input-checkbox>\n <div class=\"overview-delivery-invoice-address\" *ngIf=\"!invoiceAddressSameAsDeliveryAddress\" @showHideInvoiceAddress>\n <co-relation-addresses\n [readonly]=\"readonly || headerReadonly || forceReadonly\"\n [tooltip]=\"headerReadonly ? tooltipMessage : ''\"\n [(relation)]=\"relation\"\n [addresses]=\"relation.activeAddresses\"\n [type]=\"addressType.BillingAddress\"\n [selectedNawNr]=\"invoiceAddressNawNr\"\n (selectedNawNrChange)=\"setIndexInvoiceAddress($event)\"\n ></co-relation-addresses>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n <div class=\"header-relation-content\" *ngIf=\"showPrivacy\">\n <div class=\"transaction-header-popup-section\">\n <div class=\"transaction-header-popup-section-label\" [textContent]=\"'PRIVACY_PREFERENCES' | localize\"></div>\n <co-relation-preferences [readonly]=\"readonly || forceReadonly\" [relation]=\"relation\"></co-relation-preferences>\n </div>\n </div>\n </co-form>\n </div>\n ",
|
|
35568
35568
|
animations: [
|
|
35569
35569
|
animations.trigger("showHideInvoiceAddress", [
|
|
35570
35570
|
animations.state("void", animations.style({ height: 0, opacity: 0 })),
|
|
@@ -53486,11 +53486,18 @@
|
|
|
53486
53486
|
};
|
|
53487
53487
|
//Beware this method bypasses verification of steps! Please only use it if you are certain that is appropriate.
|
|
53488
53488
|
SimpleVerticalStepperComponent.prototype.openToIndex = function (idx) {
|
|
53489
|
+
var _this = this;
|
|
53489
53490
|
var counter = 0;
|
|
53490
53491
|
while (counter <= (idx - 1)) {
|
|
53491
53492
|
this.stepChildren[counter].show = true;
|
|
53492
53493
|
counter++;
|
|
53493
53494
|
}
|
|
53495
|
+
if (this.doNotShowOKOnSteps.findIndex(function (n) { return n === _this.stepChildren[idx - 1].index; }) >= 0) {
|
|
53496
|
+
this.showOk = false;
|
|
53497
|
+
}
|
|
53498
|
+
else {
|
|
53499
|
+
this.showOk = true;
|
|
53500
|
+
}
|
|
53494
53501
|
this.activeStep = idx - 1;
|
|
53495
53502
|
};
|
|
53496
53503
|
SimpleVerticalStepperComponent.prototype.validateCurrentStep = function (nextStep) {
|