@colijnit/transaction 12.1.180 → 12.1.182
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 +174 -88
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/avatar/avatar.component.js +85 -78
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +4 -1
- package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.component.js +14 -5
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +4 -1
- package/esm2015/lib/component/transaction-lines-side-panel/transaction-lines-side-panel/transaction-lines-side-panel.component.js +4 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +13 -4
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +4 -1
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +4 -1
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.js +4 -1
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +1 -1
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.js +4 -1
- package/esm2015/lib/model/transaction-settings-options.js +2 -1
- package/esm2015/lib/service/relation-suggestions.service.js +3 -1
- package/esm2015/lib/service/transaction-base.service.js +4 -1
- package/esm2015/lib/service/transaction.service.js +1 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/esm2015/public_api.js +2 -1
- package/fesm2015/colijnit-transaction.js +131 -80
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/avatar.component.d.ts +14 -18
- package/lib/component/transaction-grid/transaction-grid/transaction-grid.component.d.ts +9 -8
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +8 -7
- package/lib/model/transaction-settings-options.d.ts +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
function Version() {
|
|
32
32
|
this.name = "@colijnit/transaction";
|
|
33
33
|
this.description = "Colijn IT transaction package";
|
|
34
|
-
this.symVer = "12.1.
|
|
35
|
-
this.publishDate = "
|
|
34
|
+
this.symVer = "12.1.182";
|
|
35
|
+
this.publishDate = "3-1-2024 13:14:34";
|
|
36
36
|
}
|
|
37
37
|
return Version;
|
|
38
38
|
}());
|
|
@@ -559,6 +559,7 @@
|
|
|
559
559
|
var TransactionSettingsOptions = /** @class */ (function () {
|
|
560
560
|
function TransactionSettingsOptions() {
|
|
561
561
|
this.searchOnStart = false;
|
|
562
|
+
this.searchOnStartOnce = false;
|
|
562
563
|
}
|
|
563
564
|
return TransactionSettingsOptions;
|
|
564
565
|
}());
|
|
@@ -10547,23 +10548,26 @@
|
|
|
10547
10548
|
this._setAmount();
|
|
10548
10549
|
this._checkHeaderStatus();
|
|
10549
10550
|
this.checkRefTransaction(); // todo: get from the header status
|
|
10550
|
-
if (!this.getRelationOnRememberCurrentTransaction) return [3 /*break*/,
|
|
10551
|
-
if (!(this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId)) return [3 /*break*/,
|
|
10551
|
+
if (!this.getRelationOnRememberCurrentTransaction) return [3 /*break*/, 6];
|
|
10552
|
+
if (!(this.currentTransaction.transactionInfo.relation && this.currentTransaction.transactionInfo.relation.relationId)) return [3 /*break*/, 5];
|
|
10552
10553
|
if (!(!this.relation || this.relation.relationId !== this.currentTransaction.transactionInfo.relation.relationId)) return [3 /*break*/, 3];
|
|
10553
10554
|
return [4 /*yield*/, this._getRelation(this.currentTransaction.transactionInfo.relation)];
|
|
10554
10555
|
case 2:
|
|
10555
10556
|
_a.sent();
|
|
10556
|
-
|
|
10557
|
-
case 3:
|
|
10558
|
-
|
|
10557
|
+
return [3 /*break*/, 4];
|
|
10558
|
+
case 3:
|
|
10559
|
+
this.relationUpdated.next(this.relation);
|
|
10560
|
+
_a.label = 4;
|
|
10561
|
+
case 4: return [3 /*break*/, 6];
|
|
10562
|
+
case 5:
|
|
10559
10563
|
this.relation = new customerFullObject_bo.CustomerFullObject();
|
|
10560
10564
|
this.relation.type = relationNameKind_enum.RelationNameKind.Private;
|
|
10561
|
-
_a.label =
|
|
10562
|
-
case
|
|
10565
|
+
_a.label = 6;
|
|
10566
|
+
case 6:
|
|
10563
10567
|
this.transactionUpdated.next(this.currentTransaction);
|
|
10564
10568
|
this.transactionEventService.transactionSet.next(this.currentTransaction);
|
|
10565
10569
|
return [4 /*yield*/, this._handleAfterRememberCurrentTransaction()];
|
|
10566
|
-
case
|
|
10570
|
+
case 7:
|
|
10567
10571
|
_a.sent();
|
|
10568
10572
|
return [2 /*return*/];
|
|
10569
10573
|
}
|
|
@@ -14545,6 +14549,7 @@
|
|
|
14545
14549
|
RelationSuggestionsService.prototype.ngOnDestroy = function () {
|
|
14546
14550
|
if (this._componentRef) {
|
|
14547
14551
|
this._componentRef.destroy();
|
|
14552
|
+
this._componentRef = undefined;
|
|
14548
14553
|
}
|
|
14549
14554
|
};
|
|
14550
14555
|
RelationSuggestionsService.prototype.init = function (relationKind) {
|
|
@@ -14552,6 +14557,7 @@
|
|
|
14552
14557
|
this.relationKind = relationKind;
|
|
14553
14558
|
if (this._componentRef) {
|
|
14554
14559
|
this._componentRef.destroy();
|
|
14560
|
+
this._componentRef = undefined;
|
|
14555
14561
|
}
|
|
14556
14562
|
this._componentRef = this._compFactoryResolver
|
|
14557
14563
|
.resolveComponentFactory(SuggestionsSidebarComponent)
|
|
@@ -17539,6 +17545,9 @@
|
|
|
17539
17545
|
}), this._transactionConnectorService.connectionInitialized.subscribe(function (initialized) {
|
|
17540
17546
|
if (initialized) {
|
|
17541
17547
|
if (_this._settingsService.settings.options.searchOnStart) {
|
|
17548
|
+
if (_this._settingsService.settings.options.searchOnStartOnce) {
|
|
17549
|
+
_this._settingsService.settings.options.searchOnStart = false;
|
|
17550
|
+
}
|
|
17542
17551
|
_this.searchTransactions();
|
|
17543
17552
|
}
|
|
17544
17553
|
}
|
|
@@ -22649,7 +22658,9 @@
|
|
|
22649
22658
|
TransactionLineComponent.prototype.ngOnDestroy = function () {
|
|
22650
22659
|
if (this._componentRef) {
|
|
22651
22660
|
this._componentRef.destroy();
|
|
22661
|
+
this._componentRef = undefined;
|
|
22652
22662
|
}
|
|
22663
|
+
this._transactionLineContainer = undefined;
|
|
22653
22664
|
_super.prototype.ngOnDestroy.call(this);
|
|
22654
22665
|
};
|
|
22655
22666
|
TransactionLineComponent.prototype.transactionInfoSet = function () {
|
|
@@ -22670,6 +22681,7 @@
|
|
|
22670
22681
|
}
|
|
22671
22682
|
if (this._componentRef) {
|
|
22672
22683
|
this._componentRef.destroy();
|
|
22684
|
+
this._componentRef = undefined;
|
|
22673
22685
|
}
|
|
22674
22686
|
if (!componentClass) {
|
|
22675
22687
|
return;
|
|
@@ -27566,128 +27578,168 @@
|
|
|
27566
27578
|
this._relationService = _relationService;
|
|
27567
27579
|
this._changeDetector = _changeDetector;
|
|
27568
27580
|
}
|
|
27569
|
-
AvatarComponent.prototype
|
|
27570
|
-
return true;
|
|
27571
|
-
};
|
|
27572
|
-
Object.defineProperty(AvatarComponent.prototype, "initialsForAvatar", {
|
|
27581
|
+
Object.defineProperty(AvatarComponent.prototype, "image", {
|
|
27573
27582
|
get: function () {
|
|
27574
|
-
return this.
|
|
27583
|
+
return this._image;
|
|
27575
27584
|
},
|
|
27576
27585
|
set: function (value) {
|
|
27577
|
-
this.
|
|
27578
|
-
this._setBackgroundColor();
|
|
27579
|
-
this._changeDetector.detectChanges();
|
|
27586
|
+
this._image = value;
|
|
27580
27587
|
},
|
|
27581
27588
|
enumerable: false,
|
|
27582
27589
|
configurable: true
|
|
27583
27590
|
});
|
|
27584
|
-
Object.defineProperty(AvatarComponent.prototype, "
|
|
27591
|
+
Object.defineProperty(AvatarComponent.prototype, "relationId", {
|
|
27585
27592
|
get: function () {
|
|
27586
|
-
return this.
|
|
27593
|
+
return this._relationId;
|
|
27587
27594
|
},
|
|
27588
27595
|
set: function (value) {
|
|
27589
|
-
this.
|
|
27590
|
-
this._setRelationForAvatar();
|
|
27591
|
-
this._changeDetector.detectChanges();
|
|
27596
|
+
this._relationId = value;
|
|
27592
27597
|
},
|
|
27593
27598
|
enumerable: false,
|
|
27594
27599
|
configurable: true
|
|
27595
27600
|
});
|
|
27596
|
-
Object.defineProperty(AvatarComponent.prototype, "
|
|
27601
|
+
Object.defineProperty(AvatarComponent.prototype, "relation", {
|
|
27597
27602
|
get: function () {
|
|
27598
|
-
return this.
|
|
27603
|
+
return this._relation;
|
|
27599
27604
|
},
|
|
27600
27605
|
set: function (value) {
|
|
27601
|
-
this.
|
|
27602
|
-
this._setRelationIdForAvatar();
|
|
27606
|
+
this._relation = value;
|
|
27603
27607
|
},
|
|
27604
27608
|
enumerable: false,
|
|
27605
27609
|
configurable: true
|
|
27606
27610
|
});
|
|
27607
|
-
|
|
27611
|
+
AvatarComponent.prototype.showClass = function () {
|
|
27612
|
+
return true;
|
|
27613
|
+
};
|
|
27614
|
+
Object.defineProperty(AvatarComponent.prototype, "initials", {
|
|
27608
27615
|
get: function () {
|
|
27609
|
-
return this.
|
|
27616
|
+
return this._initials;
|
|
27610
27617
|
},
|
|
27611
27618
|
set: function (value) {
|
|
27612
|
-
this.
|
|
27613
|
-
this.
|
|
27619
|
+
this._initials = value;
|
|
27620
|
+
this._setBackgroundColor();
|
|
27614
27621
|
},
|
|
27615
27622
|
enumerable: false,
|
|
27616
27623
|
configurable: true
|
|
27617
27624
|
});
|
|
27618
|
-
AvatarComponent.prototype.
|
|
27619
|
-
|
|
27620
|
-
this._changeImage();
|
|
27621
|
-
}
|
|
27622
|
-
else if ('relationId' in changes || 'relation' in changes) {
|
|
27623
|
-
this._changeRelation();
|
|
27624
|
-
}
|
|
27625
|
+
AvatarComponent.prototype.ngOnInit = function () {
|
|
27626
|
+
this._setImageForAvatar();
|
|
27625
27627
|
};
|
|
27626
|
-
AvatarComponent.prototype.
|
|
27627
|
-
this
|
|
27628
|
-
|
|
27629
|
-
|
|
27630
|
-
|
|
27631
|
-
|
|
27632
|
-
|
|
27633
|
-
|
|
27634
|
-
|
|
27635
|
-
|
|
27636
|
-
|
|
27637
|
-
|
|
27638
|
-
|
|
27628
|
+
AvatarComponent.prototype._setImageForAvatar = function () {
|
|
27629
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27630
|
+
return __generator(this, function (_a) {
|
|
27631
|
+
switch (_a.label) {
|
|
27632
|
+
case 0:
|
|
27633
|
+
if (!(this.image && this.image.documentId)) return [3 /*break*/, 2];
|
|
27634
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27635
|
+
case 1:
|
|
27636
|
+
if (!(_a.sent())) {
|
|
27637
|
+
this._setImageFromRelation();
|
|
27638
|
+
}
|
|
27639
|
+
return [3 /*break*/, 3];
|
|
27640
|
+
case 2:
|
|
27641
|
+
this._setImageFromRelation();
|
|
27642
|
+
_a.label = 3;
|
|
27643
|
+
case 3:
|
|
27644
|
+
this._changeDetector.detectChanges();
|
|
27645
|
+
return [2 /*return*/];
|
|
27646
|
+
}
|
|
27647
|
+
});
|
|
27648
|
+
});
|
|
27639
27649
|
};
|
|
27640
|
-
AvatarComponent.prototype.
|
|
27641
|
-
|
|
27642
|
-
|
|
27643
|
-
|
|
27644
|
-
|
|
27645
|
-
|
|
27646
|
-
|
|
27647
|
-
|
|
27650
|
+
AvatarComponent.prototype._setImageFromRelation = function () {
|
|
27651
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27652
|
+
var request;
|
|
27653
|
+
var _this = this;
|
|
27654
|
+
return __generator(this, function (_a) {
|
|
27655
|
+
switch (_a.label) {
|
|
27656
|
+
case 0:
|
|
27657
|
+
if (!this.relation) return [3 /*break*/, 4];
|
|
27658
|
+
if (!(this.relation.avatarImage && this.relation.avatarImage.documentId)) return [3 /*break*/, 2];
|
|
27659
|
+
this.image = this.relation.avatarImage;
|
|
27660
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27661
|
+
case 1:
|
|
27662
|
+
if (!(_a.sent())) {
|
|
27663
|
+
this._setRelationInitials();
|
|
27664
|
+
}
|
|
27665
|
+
return [3 /*break*/, 3];
|
|
27666
|
+
case 2:
|
|
27667
|
+
this._setRelationInitials();
|
|
27668
|
+
_a.label = 3;
|
|
27669
|
+
case 3: return [3 /*break*/, 5];
|
|
27670
|
+
case 4:
|
|
27671
|
+
if (this.relationId) {
|
|
27672
|
+
request = new relationRequest.RelationRequest();
|
|
27673
|
+
request.relationId = this._relationId;
|
|
27674
|
+
this._relationService.getRelationListObjects(request).then(function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
27675
|
+
return __generator(this, function (_a) {
|
|
27676
|
+
switch (_a.label) {
|
|
27677
|
+
case 0:
|
|
27678
|
+
if (!(data && data.length > 0)) return [3 /*break*/, 3];
|
|
27679
|
+
this.relation = data[0];
|
|
27680
|
+
if (!(this.relation.avatarImage && this.relation.avatarImage.documentId)) return [3 /*break*/, 2];
|
|
27681
|
+
this.image = this.relation.avatarImage;
|
|
27682
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27683
|
+
case 1:
|
|
27684
|
+
if (!(_a.sent())) {
|
|
27685
|
+
this._setRelationInitials();
|
|
27686
|
+
}
|
|
27687
|
+
return [3 /*break*/, 3];
|
|
27688
|
+
case 2:
|
|
27689
|
+
this._setRelationInitials();
|
|
27690
|
+
_a.label = 3;
|
|
27691
|
+
case 3: return [2 /*return*/];
|
|
27692
|
+
}
|
|
27693
|
+
});
|
|
27694
|
+
}); });
|
|
27695
|
+
}
|
|
27696
|
+
_a.label = 5;
|
|
27697
|
+
case 5: return [2 /*return*/];
|
|
27698
|
+
}
|
|
27699
|
+
});
|
|
27648
27700
|
});
|
|
27649
27701
|
};
|
|
27650
|
-
AvatarComponent.prototype.
|
|
27651
|
-
if (this.
|
|
27652
|
-
this.
|
|
27653
|
-
|
|
27654
|
-
else {
|
|
27655
|
-
this.imageForAvatar = undefined;
|
|
27656
|
-
}
|
|
27657
|
-
if (this.relationForAvatar && !this.imageForAvatar) {
|
|
27658
|
-
this.initialsForAvatar = this.relationForAvatar.displayInitials;
|
|
27702
|
+
AvatarComponent.prototype._setRelationInitials = function () {
|
|
27703
|
+
if (this.relation) {
|
|
27704
|
+
this.initials = this.relation.displayInitials;
|
|
27705
|
+
this._setBackgroundColor();
|
|
27659
27706
|
}
|
|
27660
27707
|
};
|
|
27661
|
-
AvatarComponent.prototype.
|
|
27662
|
-
|
|
27663
|
-
|
|
27664
|
-
this
|
|
27665
|
-
|
|
27666
|
-
|
|
27667
|
-
|
|
27668
|
-
|
|
27669
|
-
|
|
27670
|
-
|
|
27671
|
-
|
|
27672
|
-
|
|
27708
|
+
AvatarComponent.prototype._getImageContent = function (docId) {
|
|
27709
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27710
|
+
var content;
|
|
27711
|
+
return __generator(this, function (_a) {
|
|
27712
|
+
switch (_a.label) {
|
|
27713
|
+
case 0: return [4 /*yield*/, this._transactionConnectorService.getDocumentContent(docId)];
|
|
27714
|
+
case 1:
|
|
27715
|
+
content = _a.sent();
|
|
27716
|
+
if (content) {
|
|
27717
|
+
this.image.thumbnailBody = content;
|
|
27718
|
+
this.imageSrc = this.image.thumbnailBodyAsDataUri;
|
|
27719
|
+
this._changeDetector.detectChanges();
|
|
27720
|
+
return [2 /*return*/, true];
|
|
27721
|
+
}
|
|
27722
|
+
else {
|
|
27723
|
+
return [2 /*return*/, false];
|
|
27724
|
+
}
|
|
27725
|
+
return [2 /*return*/];
|
|
27726
|
+
}
|
|
27673
27727
|
});
|
|
27674
|
-
}
|
|
27675
|
-
else {
|
|
27676
|
-
this.imageSrc = "";
|
|
27677
|
-
this._changeDetector.detectChanges();
|
|
27678
|
-
}
|
|
27728
|
+
});
|
|
27679
27729
|
};
|
|
27680
27730
|
AvatarComponent.prototype._setBackgroundColor = function () {
|
|
27681
|
-
|
|
27682
|
-
|
|
27731
|
+
this.imageSrc = "";
|
|
27732
|
+
if (this.relation) {
|
|
27733
|
+
this.backgroundColor = this._colorSequenceService.getRandomColor(this.relation.relationId);
|
|
27683
27734
|
}
|
|
27735
|
+
this._changeDetector.detectChanges();
|
|
27684
27736
|
};
|
|
27685
27737
|
return AvatarComponent;
|
|
27686
27738
|
}());
|
|
27687
27739
|
AvatarComponent.decorators = [
|
|
27688
27740
|
{ type: i0.Component, args: [{
|
|
27689
27741
|
selector: "co-avatar",
|
|
27690
|
-
template: "\n <co-image-display [model]=\"imageSrc\" *ngIf=\"imageSrc; else showInitials\"></co-image-display>\n <ng-template #showInitials>\n <svg viewBox=\"0 0 30 30\">\n <text x=\"50%\" y=\"50%\" dominant-baseline=\"central\" text-anchor=\"middle\">{{
|
|
27742
|
+
template: "\n <co-image-display [model]=\"imageSrc\" *ngIf=\"imageSrc; else showInitials\"></co-image-display>\n <ng-template #showInitials>\n <svg viewBox=\"0 0 30 30\">\n <text x=\"50%\" y=\"50%\" dominant-baseline=\"central\" text-anchor=\"middle\">{{ initials }}</text>\n </svg>\n </ng-template>\n ",
|
|
27691
27743
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
27692
27744
|
encapsulation: i0.ViewEncapsulation.None
|
|
27693
27745
|
},] }
|
|
@@ -33737,6 +33789,14 @@
|
|
|
33737
33789
|
TransactionQuickAccessComponent.prototype.ngOnInit = function () {
|
|
33738
33790
|
this._prepareContent();
|
|
33739
33791
|
};
|
|
33792
|
+
TransactionQuickAccessComponent.prototype.ngOnDestroy = function () {
|
|
33793
|
+
if (this._componentRef) {
|
|
33794
|
+
this._componentRef.destroy();
|
|
33795
|
+
this._componentRef = undefined;
|
|
33796
|
+
}
|
|
33797
|
+
this.quickAccessContainer = undefined;
|
|
33798
|
+
this.quickAccessContainer = undefined;
|
|
33799
|
+
};
|
|
33740
33800
|
TransactionQuickAccessComponent.prototype._prepareContent = function () {
|
|
33741
33801
|
var _this = this;
|
|
33742
33802
|
if (!this.transactionType || !this._activeCategory || !this._relation || !this.quickAccessContainer) {
|
|
@@ -33745,6 +33805,7 @@
|
|
|
33745
33805
|
var componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
33746
33806
|
if (this._componentRef) {
|
|
33747
33807
|
this._componentRef.destroy();
|
|
33808
|
+
this._componentRef = undefined;
|
|
33748
33809
|
}
|
|
33749
33810
|
if (!componentClass) {
|
|
33750
33811
|
return;
|
|
@@ -34923,7 +34984,9 @@
|
|
|
34923
34984
|
TransactionCardComponent.prototype.ngOnDestroy = function () {
|
|
34924
34985
|
if (this._componentRef) {
|
|
34925
34986
|
this._componentRef.destroy();
|
|
34987
|
+
this._componentRef = undefined;
|
|
34926
34988
|
}
|
|
34989
|
+
this._transactionCardContainer = undefined;
|
|
34927
34990
|
_super.prototype.ngOnDestroy.call(this);
|
|
34928
34991
|
};
|
|
34929
34992
|
TransactionCardComponent.prototype.transactionInfoSet = function () {
|
|
@@ -34938,6 +35001,7 @@
|
|
|
34938
35001
|
var componentClass = this._mappingService.getTransactionCardComponent(this.transactionKind, this._activeCategory);
|
|
34939
35002
|
if (this._componentRef) {
|
|
34940
35003
|
this._componentRef.destroy();
|
|
35004
|
+
this._componentRef = undefined;
|
|
34941
35005
|
}
|
|
34942
35006
|
if (!componentClass) {
|
|
34943
35007
|
return;
|
|
@@ -38138,7 +38202,9 @@
|
|
|
38138
38202
|
TransactionLinesSidePanelComponent.prototype.ngOnDestroy = function () {
|
|
38139
38203
|
if (this._componentRef) {
|
|
38140
38204
|
this._componentRef.destroy();
|
|
38205
|
+
this._componentRef = undefined;
|
|
38141
38206
|
}
|
|
38207
|
+
this.sidePanelContainer = undefined;
|
|
38142
38208
|
};
|
|
38143
38209
|
TransactionLinesSidePanelComponent.prototype._prepareContent = function () {
|
|
38144
38210
|
var _this = this;
|
|
@@ -38148,6 +38214,7 @@
|
|
|
38148
38214
|
var componentClass = this._mappingService.getSidePanelComponent(this.transactionType);
|
|
38149
38215
|
if (this._componentRef) {
|
|
38150
38216
|
this._componentRef.destroy();
|
|
38217
|
+
this._componentRef = undefined;
|
|
38151
38218
|
}
|
|
38152
38219
|
if (!componentClass) {
|
|
38153
38220
|
return;
|
|
@@ -38899,6 +38966,14 @@
|
|
|
38899
38966
|
TransactionGridComponent.prototype.showClass = function () {
|
|
38900
38967
|
return true;
|
|
38901
38968
|
};
|
|
38969
|
+
TransactionGridComponent.prototype.ngOnDestroy = function () {
|
|
38970
|
+
if (this._componentRef) {
|
|
38971
|
+
this._componentRef.destroy();
|
|
38972
|
+
this._componentRef = undefined;
|
|
38973
|
+
}
|
|
38974
|
+
this._transactionGridContainer = undefined;
|
|
38975
|
+
_super.prototype.ngOnDestroy.call(this);
|
|
38976
|
+
};
|
|
38902
38977
|
TransactionGridComponent.prototype.transactionSet = function () {
|
|
38903
38978
|
this._prepareContent();
|
|
38904
38979
|
};
|
|
@@ -38910,6 +38985,7 @@
|
|
|
38910
38985
|
var componentClass = this._mappingService.getTransactionGridComponent(this.transactionKind, this.activeCategory);
|
|
38911
38986
|
if (this._componentRef) {
|
|
38912
38987
|
this._componentRef.destroy();
|
|
38988
|
+
this._componentRef = undefined;
|
|
38913
38989
|
}
|
|
38914
38990
|
if (!componentClass) {
|
|
38915
38991
|
return;
|
|
@@ -39550,7 +39626,9 @@
|
|
|
39550
39626
|
TransactionFilterComponent.prototype.ngOnDestroy = function () {
|
|
39551
39627
|
if (this._componentRef) {
|
|
39552
39628
|
this._componentRef.destroy();
|
|
39629
|
+
this._componentRef = undefined;
|
|
39553
39630
|
}
|
|
39631
|
+
this._transactionFilterContainer = undefined;
|
|
39554
39632
|
};
|
|
39555
39633
|
TransactionFilterComponent.prototype._prepareContent = function () {
|
|
39556
39634
|
var _this = this;
|
|
@@ -39560,6 +39638,7 @@
|
|
|
39560
39638
|
var componentClass = this._mappingService.getTransactionFilterComponent(this.searchService.transactionType);
|
|
39561
39639
|
if (this._componentRef) {
|
|
39562
39640
|
this._componentRef.destroy();
|
|
39641
|
+
this._componentRef = undefined;
|
|
39563
39642
|
}
|
|
39564
39643
|
if (!componentClass) {
|
|
39565
39644
|
return;
|
|
@@ -40796,7 +40875,9 @@
|
|
|
40796
40875
|
TransactionSearchGridComponent.prototype.ngOnDestroy = function () {
|
|
40797
40876
|
if (this._componentRef) {
|
|
40798
40877
|
this._componentRef.destroy();
|
|
40878
|
+
this._componentRef = undefined;
|
|
40799
40879
|
}
|
|
40880
|
+
this._transactionSearchGridContainer = undefined;
|
|
40800
40881
|
};
|
|
40801
40882
|
TransactionSearchGridComponent.prototype._prepareContent = function () {
|
|
40802
40883
|
var _this = this;
|
|
@@ -40806,6 +40887,7 @@
|
|
|
40806
40887
|
var componentClass = this._mappingService.getTransactionSearchGridComponent(this.searchService.transactionType);
|
|
40807
40888
|
if (this._componentRef) {
|
|
40808
40889
|
this._componentRef.destroy();
|
|
40890
|
+
this._componentRef = undefined;
|
|
40809
40891
|
}
|
|
40810
40892
|
if (!componentClass) {
|
|
40811
40893
|
return;
|
|
@@ -41109,7 +41191,9 @@
|
|
|
41109
41191
|
TransactionSearchTileComponent.prototype.ngOnDestroy = function () {
|
|
41110
41192
|
if (this._componentRef) {
|
|
41111
41193
|
this._componentRef.destroy();
|
|
41194
|
+
this._componentRef = undefined;
|
|
41112
41195
|
}
|
|
41196
|
+
this._transactionSearchTileContainer = undefined;
|
|
41113
41197
|
};
|
|
41114
41198
|
TransactionSearchTileComponent.prototype._prepareContent = function () {
|
|
41115
41199
|
var _this = this;
|
|
@@ -41119,6 +41203,7 @@
|
|
|
41119
41203
|
var componentClass = this._mappingService.getTransactionSearchTileComponent(this.searchService.transactionType);
|
|
41120
41204
|
if (this._componentRef) {
|
|
41121
41205
|
this._componentRef.destroy();
|
|
41206
|
+
this._componentRef = undefined;
|
|
41122
41207
|
}
|
|
41123
41208
|
if (!componentClass) {
|
|
41124
41209
|
return;
|
|
@@ -42892,6 +42977,7 @@
|
|
|
42892
42977
|
exports.TransactionSelectSingleCacheService = TransactionSelectSingleCacheService;
|
|
42893
42978
|
exports.TransactionSelectSingleParameterizedCacheService = TransactionSelectSingleParameterizedCacheService;
|
|
42894
42979
|
exports.TransactionService = TransactionService;
|
|
42980
|
+
exports.TransactionSettings = TransactionSettings;
|
|
42895
42981
|
exports.TransactionSettingsService = TransactionSettingsService;
|
|
42896
42982
|
exports.TransactionStatusbarComponent = TransactionStatusbarComponent;
|
|
42897
42983
|
exports.TransactionStatusbarModule = TransactionStatusbarModule;
|