@colijnit/transaction 12.1.152 → 12.1.153
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 +59 -20
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +2 -1
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +7 -4
- package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +6 -3
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +7 -7
- package/esm2015/lib/component/relation/relation-base.component.js +14 -2
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +5 -6
- package/esm2015/lib/component/relation/relation-preferences/relation-preferences.component.js +10 -7
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +1 -1
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +3 -3
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +2 -2
- package/esm2015/lib/component/transaction-card/transaction-card-footer/transaction-card-footer.module.js +8 -8
- package/esm2015/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.js +3 -3
- package/esm2015/lib/component/transaction-card/transaction-card-receive-goods/transaction-card-receive-goods.component.js +1 -1
- package/esm2015/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.js +3 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-definitive.component.js +5 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.component.js +5 -3
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-picked/transaction-quick-access-picked.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-to-be-picked/transaction-quick-access-to-be-picked.component.js +3 -3
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +9 -1
- package/esm2015/lib/service/article-connector.service.js +1 -1
- package/esm2015/lib/service/relation-connector.service.js +1 -1
- package/esm2015/lib/service/relation.service.js +3 -1
- package/esm2015/lib/service/transaction-base.service.js +5 -2
- package/esm2015/lib/service/transaction-screen-configuration.service.js +4 -1
- package/esm2015/lib/service/transaction.service.js +5 -4
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +59 -22
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/relation/relation-address/relation-address.component.d.ts +3 -1
- package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts +3 -1
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +3 -3
- package/lib/component/relation/relation-base.component.d.ts +7 -2
- package/lib/component/relation/relation-general/relation-general.component.d.ts +2 -2
- package/lib/component/relation/relation-preferences/relation-preferences.component.d.ts +6 -4
- package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +2 -2
- package/lib/component/transaction-card/transaction-card/transaction-card.component.d.ts +1 -1
- package/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.d.ts +3 -3
- package/lib/component/transaction-card/transaction-card-sales-overview/transaction-card-sales-overview.component.d.ts +3 -3
- package/lib/component/transaction-header-fields/transaction-header-definitive.component.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery/transaction-header-partial-delivery.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-picked/transaction-quick-access-picked.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-to-be-picked/transaction-quick-access-to-be-picked.component.d.ts +1 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +1 -0
- package/lib/service/relation.service.d.ts +2 -0
- package/lib/service/transaction-screen-configuration.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ export class Version {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.name = "@colijnit/transaction";
|
|
5
5
|
this.description = "Colijn IT transaction package";
|
|
6
|
-
this.symVer = "12.1.
|
|
7
|
-
this.publishDate = "
|
|
6
|
+
this.symVer = "12.1.153";
|
|
7
|
+
this.publishDate = "19-10-2023 15:15:35";
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvdHJhbnNhY3Rpb24tdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFDUyxTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFDL0IsZ0JBQVcsR0FBRywrQkFBK0IsQ0FBQztRQUM5QyxXQUFNLEdBQUcsVUFBVSxDQUFDO1FBQ3BCLGdCQUFXLEdBQUcscUJBQXFCLENBQUM7SUFDN0MsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gdGhpcyBmaWxlIGlzIGR5bmFtaWNhbGx5IGNyZWF0ZWQsIGRvIG5vdCBjaGFuZ2UgdGhpc1xuZXhwb3J0IGNsYXNzIFZlcnNpb24ge1xuICBwdWJsaWMgbmFtZSA9IFwiQGNvbGlqbml0L3RyYW5zYWN0aW9uXCI7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbiA9IFwiQ29saWpuIElUIHRyYW5zYWN0aW9uIHBhY2thZ2VcIjtcbiAgcHVibGljIHN5bVZlciA9IFwiMTIuMS4xNTNcIjtcbiAgcHVibGljIHB1Ymxpc2hEYXRlID0gXCIxOS0xMC0yMDIzIDE1OjE1OjM1XCI7XG59Il19
|
|
@@ -89,7 +89,7 @@ import { TurnoverGroupImage } from '@colijnit/articleapi/build/model/turnover-gr
|
|
|
89
89
|
import { MainArticle } from '@colijnit/articleapi/build/model/main-article.bo';
|
|
90
90
|
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
91
91
|
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
92
|
-
import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, ListOfValuesModule, FormModule, ScreenConfigurationModule, InputRadioButtonModule, IconModule, InputTextComponent, TooltipDirectiveModule, CheckmarkOverlayModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, OverlayService, ObserveVisibilityModule, ClickoutsideModule, OverlayModule, CalendarComponent, InputNumberPickerModule, InputDatePickerComponent, InputDatePickerModule, ColorSequenceService, PriceDisplayPipeModule, Carousel3dModule, CarouselModule, FilterPipeModule, InputTextareaComponent, InputTextareaModule, FormComponent, PopupModule, ContentViewMode, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, CoDialogWizardModule, ViewModeButtonsModule, FilterItemModule, FilterItemMode, FilterViewmodel, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
92
|
+
import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, ListOfValuesModule, FormModule, ScreenConfigurationModule, InputRadioButtonModule, IconModule, InputTextComponent, TooltipDirectiveModule, CheckmarkOverlayModule, InputSearchModule, ColumnAlign, SimpleGridColumnDirective, OverlayService, ObserveVisibilityModule, ClickoutsideModule, OverlayModule, CalendarComponent, InputNumberPickerModule, InputDatePickerComponent, InputDatePickerModule, ColorSequenceService, PriceDisplayPipeModule, Carousel3dModule, CarouselModule, FilterPipeModule, InputTextareaComponent, InputTextareaModule, FormComponent, InputCheckboxComponent, PopupModule, ContentViewMode, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, CoDialogWizardModule, ViewModeButtonsModule, FilterItemModule, FilterItemMode, FilterViewmodel, PaginationModule, PaginationBarModule, IconCollapseHandleModule } from '@colijnit/corecomponents_v12';
|
|
93
93
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
94
94
|
import * as i4 from '@colijnit/sharedcomponents';
|
|
95
95
|
import { SharedService as SharedService$1, sendMethodsWithIcon, StatusbarModule, KeyPadModule, SendMethodDialogModule, StockModule, DocsignModule, SimpleTagsModule } from '@colijnit/sharedcomponents';
|
|
@@ -199,8 +199,8 @@ class Version {
|
|
|
199
199
|
constructor() {
|
|
200
200
|
this.name = "@colijnit/transaction";
|
|
201
201
|
this.description = "Colijn IT transaction package";
|
|
202
|
-
this.symVer = "12.1.
|
|
203
|
-
this.publishDate = "
|
|
202
|
+
this.symVer = "12.1.153";
|
|
203
|
+
this.publishDate = "19-10-2023 15:15:35";
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -5807,6 +5807,9 @@ class TransactionScreenConfigurationService extends BaseModuleScreenConfigServic
|
|
|
5807
5807
|
this.screenModuleName = "Transactions";
|
|
5808
5808
|
this._screenConfigurationObjectCache = new Map();
|
|
5809
5809
|
}
|
|
5810
|
+
clear() {
|
|
5811
|
+
this._screenConfigurationObjectCache.clear();
|
|
5812
|
+
}
|
|
5810
5813
|
loadConfigForModule(params, insertRights) {
|
|
5811
5814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5812
5815
|
if (params) {
|
|
@@ -6725,6 +6728,7 @@ class RelationService {
|
|
|
6725
6728
|
this._selectMultipleCacheService = _selectMultipleCacheService;
|
|
6726
6729
|
this._selectSingleCacheService = _selectSingleCacheService;
|
|
6727
6730
|
this._selectMultipleParameterizedCacheService = _selectMultipleParameterizedCacheService;
|
|
6731
|
+
this.relationSuggestionsRequestClear = new Subject();
|
|
6728
6732
|
this._lockMethods = new Map([
|
|
6729
6733
|
[RelationKind$1.Customer, (relationNr) => this._lockCustomerFullObject(relationNr)],
|
|
6730
6734
|
[RelationKind$1.Supplier, (relationNr) => this._lockSupplierFullObject(relationNr)],
|
|
@@ -7090,7 +7094,10 @@ class TransactionBaseService extends BaseModuleService {
|
|
|
7090
7094
|
}
|
|
7091
7095
|
saveTransaction(rememberTransaction = true) {
|
|
7092
7096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7093
|
-
const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid)
|
|
7097
|
+
const response = yield this.connector.saveTransaction(this.currentTransaction.transactionInfo.uuid)
|
|
7098
|
+
.catch(() => {
|
|
7099
|
+
return null;
|
|
7100
|
+
});
|
|
7094
7101
|
if (response && response.isSuccess) {
|
|
7095
7102
|
this._resetLockTransaction();
|
|
7096
7103
|
if (rememberTransaction) {
|
|
@@ -7592,6 +7599,7 @@ class TransactionService extends PendingReasonService {
|
|
|
7592
7599
|
logOut() {
|
|
7593
7600
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7594
7601
|
yield this.connector.logOut();
|
|
7602
|
+
this.logout.next();
|
|
7595
7603
|
});
|
|
7596
7604
|
}
|
|
7597
7605
|
preparePakBinnenInternalParam() {
|
|
@@ -9742,6 +9750,7 @@ class CheckoutOverviewRelationEditComponent {
|
|
|
9742
9750
|
emptyRelation(event) {
|
|
9743
9751
|
this.service.createNewRelation();
|
|
9744
9752
|
this._requestForSuggestions = {};
|
|
9753
|
+
this._relationService.relationSuggestionsRequestClear.next();
|
|
9745
9754
|
this.hideSidebar();
|
|
9746
9755
|
this.updateRelation(this.service.relation);
|
|
9747
9756
|
}
|
|
@@ -10931,13 +10940,18 @@ CoreModule.decorators = [
|
|
|
10931
10940
|
];
|
|
10932
10941
|
|
|
10933
10942
|
class RelationBaseComponent {
|
|
10934
|
-
constructor() {
|
|
10943
|
+
constructor(relationService) {
|
|
10944
|
+
this.relationService = relationService;
|
|
10935
10945
|
this.relKind = RelationKind;
|
|
10936
10946
|
this.cfgNames = TransactionCfgName;
|
|
10937
10947
|
this.relationChange = new EventEmitter();
|
|
10938
10948
|
this.inputChangeForSuggestions = new EventEmitter();
|
|
10939
10949
|
this._relation = NULL_RELATION_OBJECT;
|
|
10950
|
+
this._subs = [];
|
|
10940
10951
|
this.suggestionRequest = {};
|
|
10952
|
+
this._subs.push(this.relationService.relationSuggestionsRequestClear.subscribe(() => {
|
|
10953
|
+
this.suggestionRequest = {};
|
|
10954
|
+
}));
|
|
10941
10955
|
}
|
|
10942
10956
|
set relation(value) {
|
|
10943
10957
|
if (value) {
|
|
@@ -10951,6 +10965,9 @@ class RelationBaseComponent {
|
|
|
10951
10965
|
get relationAsCustomer() {
|
|
10952
10966
|
return this._relation && this._relation;
|
|
10953
10967
|
}
|
|
10968
|
+
ngOnDestroy() {
|
|
10969
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
10970
|
+
}
|
|
10954
10971
|
// overridden by descendant classes
|
|
10955
10972
|
relationSet() {
|
|
10956
10973
|
}
|
|
@@ -10958,6 +10975,9 @@ class RelationBaseComponent {
|
|
|
10958
10975
|
RelationBaseComponent.decorators = [
|
|
10959
10976
|
{ type: Directive }
|
|
10960
10977
|
];
|
|
10978
|
+
RelationBaseComponent.ctorParameters = () => [
|
|
10979
|
+
{ type: RelationService }
|
|
10980
|
+
];
|
|
10961
10981
|
RelationBaseComponent.propDecorators = {
|
|
10962
10982
|
relation: [{ type: Input }],
|
|
10963
10983
|
relationChange: [{ type: Output }],
|
|
@@ -10965,8 +10985,9 @@ RelationBaseComponent.propDecorators = {
|
|
|
10965
10985
|
};
|
|
10966
10986
|
|
|
10967
10987
|
class RelationAddressSelectComponent extends RelationBaseComponent {
|
|
10968
|
-
constructor(_formMasterService) {
|
|
10969
|
-
super();
|
|
10988
|
+
constructor(relationService, _formMasterService) {
|
|
10989
|
+
super(relationService);
|
|
10990
|
+
this.relationService = relationService;
|
|
10970
10991
|
this._formMasterService = _formMasterService;
|
|
10971
10992
|
this.icons = Icon;
|
|
10972
10993
|
this.collection = [];
|
|
@@ -11088,6 +11109,7 @@ RelationAddressSelectComponent.decorators = [
|
|
|
11088
11109
|
},] }
|
|
11089
11110
|
];
|
|
11090
11111
|
RelationAddressSelectComponent.ctorParameters = () => [
|
|
11112
|
+
{ type: RelationService },
|
|
11091
11113
|
{ type: FormMasterService }
|
|
11092
11114
|
];
|
|
11093
11115
|
RelationAddressSelectComponent.propDecorators = {
|
|
@@ -11102,11 +11124,12 @@ RelationAddressSelectComponent.propDecorators = {
|
|
|
11102
11124
|
};
|
|
11103
11125
|
|
|
11104
11126
|
class RelationAddressComponent extends RelationBaseComponent {
|
|
11105
|
-
constructor(_dictionary, _connector, _formMasterService) {
|
|
11106
|
-
super();
|
|
11127
|
+
constructor(_dictionary, _connector, _formMasterService, relationService) {
|
|
11128
|
+
super(relationService);
|
|
11107
11129
|
this._dictionary = _dictionary;
|
|
11108
11130
|
this._connector = _connector;
|
|
11109
11131
|
this._formMasterService = _formMasterService;
|
|
11132
|
+
this.relationService = relationService;
|
|
11110
11133
|
this.addressChange = new EventEmitter();
|
|
11111
11134
|
this.countries = [];
|
|
11112
11135
|
this.fields = { text: "description", value: "code" };
|
|
@@ -11259,7 +11282,8 @@ RelationAddressComponent.decorators = [
|
|
|
11259
11282
|
RelationAddressComponent.ctorParameters = () => [
|
|
11260
11283
|
{ type: DictionaryService },
|
|
11261
11284
|
{ type: TransactionConnectorService },
|
|
11262
|
-
{ type: FormMasterService }
|
|
11285
|
+
{ type: FormMasterService },
|
|
11286
|
+
{ type: RelationService }
|
|
11263
11287
|
];
|
|
11264
11288
|
RelationAddressComponent.propDecorators = {
|
|
11265
11289
|
configNames: [{ type: Input }],
|
|
@@ -12726,6 +12750,8 @@ class TransactionSearchService {
|
|
|
12726
12750
|
this.searchTransactions();
|
|
12727
12751
|
}
|
|
12728
12752
|
}
|
|
12753
|
+
}), this._transactionService.logout.subscribe(() => {
|
|
12754
|
+
this._resetCache();
|
|
12729
12755
|
}));
|
|
12730
12756
|
}
|
|
12731
12757
|
set transactionType(value) {
|
|
@@ -12799,6 +12825,12 @@ class TransactionSearchService {
|
|
|
12799
12825
|
this.showFilterSidebar = true;
|
|
12800
12826
|
}, 10);
|
|
12801
12827
|
}
|
|
12828
|
+
_resetCache() {
|
|
12829
|
+
this.searchRequest = new TransactionSearchViewRequest();
|
|
12830
|
+
this._settingsService.settings.transactionParameters = new TransactionSearchViewRequest();
|
|
12831
|
+
this.transactions.length = 0;
|
|
12832
|
+
this._screenConfigService.clear();
|
|
12833
|
+
}
|
|
12802
12834
|
_resetRequest() {
|
|
12803
12835
|
this.searchRequest = this._settingsService.settings.transactionParameters;
|
|
12804
12836
|
}
|
|
@@ -22363,11 +22395,11 @@ RelationTypeModule.decorators = [
|
|
|
22363
22395
|
];
|
|
22364
22396
|
|
|
22365
22397
|
class RelationGeneralComponent extends RelationBaseComponent {
|
|
22366
|
-
constructor(_service, _dialogService,
|
|
22367
|
-
super();
|
|
22398
|
+
constructor(_service, _dialogService, relationService) {
|
|
22399
|
+
super(relationService);
|
|
22368
22400
|
this._service = _service;
|
|
22369
22401
|
this._dialogService = _dialogService;
|
|
22370
|
-
this.
|
|
22402
|
+
this.relationService = relationService;
|
|
22371
22403
|
this.relType = RelationNameKind;
|
|
22372
22404
|
this.genderType = GenderType;
|
|
22373
22405
|
this.readonly = false;
|
|
@@ -22417,7 +22449,6 @@ RelationGeneralComponent.decorators = [
|
|
|
22417
22449
|
[(model)]="relation.firstName"
|
|
22418
22450
|
[placeholder]="'FIRST_NAME' | localize"
|
|
22419
22451
|
(modelChange)="firstNameChange($event)"
|
|
22420
|
-
[required]="true"
|
|
22421
22452
|
></co-input-text>
|
|
22422
22453
|
<co-input-text
|
|
22423
22454
|
class="checkout-prefix-name default-width"
|
|
@@ -22433,7 +22464,7 @@ RelationGeneralComponent.decorators = [
|
|
|
22433
22464
|
[(model)]="relation.familyName"
|
|
22434
22465
|
[placeholder]="'LAST_NAME' | localize"
|
|
22435
22466
|
(modelChange)="familyNameChange($event)"
|
|
22436
|
-
|
|
22467
|
+
></co-input-text>
|
|
22437
22468
|
</div>
|
|
22438
22469
|
<div class="default-data-row" [screenConfigurationObject]="configNames?.relationGender" screenConfigNativeElement>
|
|
22439
22470
|
<co-input-radio-button class="default-width"
|
|
@@ -22654,10 +22685,10 @@ RelationGeneralModule.decorators = [
|
|
|
22654
22685
|
];
|
|
22655
22686
|
|
|
22656
22687
|
class RelationAddressesComponent extends RelationBaseComponent {
|
|
22657
|
-
constructor(_formMasterService,
|
|
22658
|
-
super();
|
|
22688
|
+
constructor(_formMasterService, relationService, iconCacheService) {
|
|
22689
|
+
super(relationService);
|
|
22659
22690
|
this._formMasterService = _formMasterService;
|
|
22660
|
-
this.
|
|
22691
|
+
this.relationService = relationService;
|
|
22661
22692
|
this.iconCacheService = iconCacheService;
|
|
22662
22693
|
this.icons = Icon;
|
|
22663
22694
|
this.readonly = false;
|
|
@@ -22689,12 +22720,12 @@ class RelationAddressesComponent extends RelationBaseComponent {
|
|
|
22689
22720
|
if (!address.nawNr) { // new address
|
|
22690
22721
|
address.startDate = new Date();
|
|
22691
22722
|
address.sequence = this.relation.getNextAddressSequence();
|
|
22692
|
-
const savedAddress = yield this.
|
|
22723
|
+
const savedAddress = yield this.relationService.insertAddress(address);
|
|
22693
22724
|
this.relation.addresses.push(savedAddress);
|
|
22694
22725
|
this.changeAddress(savedAddress);
|
|
22695
22726
|
}
|
|
22696
22727
|
else {
|
|
22697
|
-
const savedAddress = yield this.
|
|
22728
|
+
const savedAddress = yield this.relationService.updateAddress(address);
|
|
22698
22729
|
const idx = this.relation.addresses.findIndex(a => a.nawNr === address.nawNr);
|
|
22699
22730
|
if (idx > -1) {
|
|
22700
22731
|
this.relation.addresses[idx] = savedAddress;
|
|
@@ -22817,8 +22848,9 @@ RelationAddressesModule.decorators = [
|
|
|
22817
22848
|
class PrivacySettingViewModel {
|
|
22818
22849
|
}
|
|
22819
22850
|
class RelationPreferencesComponent extends RelationBaseComponent {
|
|
22820
|
-
constructor(_service) {
|
|
22821
|
-
super();
|
|
22851
|
+
constructor(relationService, _service) {
|
|
22852
|
+
super(relationService);
|
|
22853
|
+
this.relationService = relationService;
|
|
22822
22854
|
this._service = _service;
|
|
22823
22855
|
this.readonly = false;
|
|
22824
22856
|
this.privacySettings = [];
|
|
@@ -22874,6 +22906,7 @@ RelationPreferencesComponent.decorators = [
|
|
|
22874
22906
|
},] }
|
|
22875
22907
|
];
|
|
22876
22908
|
RelationPreferencesComponent.ctorParameters = () => [
|
|
22909
|
+
{ type: RelationService },
|
|
22877
22910
|
{ type: TransactionService }
|
|
22878
22911
|
];
|
|
22879
22912
|
RelationPreferencesComponent.propDecorators = {
|
|
@@ -25447,6 +25480,7 @@ class TransactionHeaderDefinitiveComponent extends TransactionBaseComponent {
|
|
|
25447
25480
|
const success = yield this.transactionService.updateHeaderTransactionDefinitive(this.transactionInfo.uuid, definitive, this.lockAndSave);
|
|
25448
25481
|
if (!success) {
|
|
25449
25482
|
this.transactionInfo.transactionDefinitive = oldDefinitive;
|
|
25483
|
+
this.checkbox.setModel(this.transactionInfo.transactionDefinitive);
|
|
25450
25484
|
return success;
|
|
25451
25485
|
}
|
|
25452
25486
|
}
|
|
@@ -25475,6 +25509,7 @@ TransactionHeaderDefinitiveComponent.decorators = [
|
|
|
25475
25509
|
},] }
|
|
25476
25510
|
];
|
|
25477
25511
|
TransactionHeaderDefinitiveComponent.propDecorators = {
|
|
25512
|
+
checkbox: [{ type: ViewChild, args: [InputCheckboxComponent,] }],
|
|
25478
25513
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-definitive",] }]
|
|
25479
25514
|
};
|
|
25480
25515
|
|
|
@@ -26243,6 +26278,7 @@ class TransactionHeaderPartialDeliveryComponent extends TransactionBaseComponent
|
|
|
26243
26278
|
this.showLoader = false;
|
|
26244
26279
|
if (!success) {
|
|
26245
26280
|
this.transactionInfo.allowPartialDelivery = oldPartial;
|
|
26281
|
+
this.checkbox.setModel(this.transactionInfo.allowPartialDelivery);
|
|
26246
26282
|
return success;
|
|
26247
26283
|
}
|
|
26248
26284
|
else {
|
|
@@ -26278,6 +26314,7 @@ TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
|
26278
26314
|
},] }
|
|
26279
26315
|
];
|
|
26280
26316
|
TransactionHeaderPartialDeliveryComponent.propDecorators = {
|
|
26317
|
+
checkbox: [{ type: ViewChild, args: [InputCheckboxComponent,] }],
|
|
26281
26318
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-header-partial-delivery",] }]
|
|
26282
26319
|
};
|
|
26283
26320
|
|