@colijnit/transaction 12.1.180 → 12.1.181
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 +158 -80
- 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 +10 -1
- 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 +11 -2
- 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/service/relation-suggestions.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +1 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +123 -79
- 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 +3 -2
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -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.181";
|
|
35
|
+
this.publishDate = "2-1-2024 14:25:17";
|
|
36
36
|
}
|
|
37
37
|
return Version;
|
|
38
38
|
}());
|
|
@@ -14545,6 +14545,7 @@
|
|
|
14545
14545
|
RelationSuggestionsService.prototype.ngOnDestroy = function () {
|
|
14546
14546
|
if (this._componentRef) {
|
|
14547
14547
|
this._componentRef.destroy();
|
|
14548
|
+
this._componentRef = undefined;
|
|
14548
14549
|
}
|
|
14549
14550
|
};
|
|
14550
14551
|
RelationSuggestionsService.prototype.init = function (relationKind) {
|
|
@@ -14552,6 +14553,7 @@
|
|
|
14552
14553
|
this.relationKind = relationKind;
|
|
14553
14554
|
if (this._componentRef) {
|
|
14554
14555
|
this._componentRef.destroy();
|
|
14556
|
+
this._componentRef = undefined;
|
|
14555
14557
|
}
|
|
14556
14558
|
this._componentRef = this._compFactoryResolver
|
|
14557
14559
|
.resolveComponentFactory(SuggestionsSidebarComponent)
|
|
@@ -22649,7 +22651,9 @@
|
|
|
22649
22651
|
TransactionLineComponent.prototype.ngOnDestroy = function () {
|
|
22650
22652
|
if (this._componentRef) {
|
|
22651
22653
|
this._componentRef.destroy();
|
|
22654
|
+
this._componentRef = undefined;
|
|
22652
22655
|
}
|
|
22656
|
+
this._transactionLineContainer = undefined;
|
|
22653
22657
|
_super.prototype.ngOnDestroy.call(this);
|
|
22654
22658
|
};
|
|
22655
22659
|
TransactionLineComponent.prototype.transactionInfoSet = function () {
|
|
@@ -22670,6 +22674,7 @@
|
|
|
22670
22674
|
}
|
|
22671
22675
|
if (this._componentRef) {
|
|
22672
22676
|
this._componentRef.destroy();
|
|
22677
|
+
this._componentRef = undefined;
|
|
22673
22678
|
}
|
|
22674
22679
|
if (!componentClass) {
|
|
22675
22680
|
return;
|
|
@@ -27566,128 +27571,168 @@
|
|
|
27566
27571
|
this._relationService = _relationService;
|
|
27567
27572
|
this._changeDetector = _changeDetector;
|
|
27568
27573
|
}
|
|
27569
|
-
AvatarComponent.prototype
|
|
27570
|
-
return true;
|
|
27571
|
-
};
|
|
27572
|
-
Object.defineProperty(AvatarComponent.prototype, "initialsForAvatar", {
|
|
27574
|
+
Object.defineProperty(AvatarComponent.prototype, "image", {
|
|
27573
27575
|
get: function () {
|
|
27574
|
-
return this.
|
|
27576
|
+
return this._image;
|
|
27575
27577
|
},
|
|
27576
27578
|
set: function (value) {
|
|
27577
|
-
this.
|
|
27578
|
-
this._setBackgroundColor();
|
|
27579
|
-
this._changeDetector.detectChanges();
|
|
27579
|
+
this._image = value;
|
|
27580
27580
|
},
|
|
27581
27581
|
enumerable: false,
|
|
27582
27582
|
configurable: true
|
|
27583
27583
|
});
|
|
27584
|
-
Object.defineProperty(AvatarComponent.prototype, "
|
|
27584
|
+
Object.defineProperty(AvatarComponent.prototype, "relationId", {
|
|
27585
27585
|
get: function () {
|
|
27586
|
-
return this.
|
|
27586
|
+
return this._relationId;
|
|
27587
27587
|
},
|
|
27588
27588
|
set: function (value) {
|
|
27589
|
-
this.
|
|
27590
|
-
this._setRelationForAvatar();
|
|
27591
|
-
this._changeDetector.detectChanges();
|
|
27589
|
+
this._relationId = value;
|
|
27592
27590
|
},
|
|
27593
27591
|
enumerable: false,
|
|
27594
27592
|
configurable: true
|
|
27595
27593
|
});
|
|
27596
|
-
Object.defineProperty(AvatarComponent.prototype, "
|
|
27594
|
+
Object.defineProperty(AvatarComponent.prototype, "relation", {
|
|
27597
27595
|
get: function () {
|
|
27598
|
-
return this.
|
|
27596
|
+
return this._relation;
|
|
27599
27597
|
},
|
|
27600
27598
|
set: function (value) {
|
|
27601
|
-
this.
|
|
27602
|
-
this._setRelationIdForAvatar();
|
|
27599
|
+
this._relation = value;
|
|
27603
27600
|
},
|
|
27604
27601
|
enumerable: false,
|
|
27605
27602
|
configurable: true
|
|
27606
27603
|
});
|
|
27607
|
-
|
|
27604
|
+
AvatarComponent.prototype.showClass = function () {
|
|
27605
|
+
return true;
|
|
27606
|
+
};
|
|
27607
|
+
Object.defineProperty(AvatarComponent.prototype, "initials", {
|
|
27608
27608
|
get: function () {
|
|
27609
|
-
return this.
|
|
27609
|
+
return this._initials;
|
|
27610
27610
|
},
|
|
27611
27611
|
set: function (value) {
|
|
27612
|
-
this.
|
|
27613
|
-
this.
|
|
27612
|
+
this._initials = value;
|
|
27613
|
+
this._setBackgroundColor();
|
|
27614
27614
|
},
|
|
27615
27615
|
enumerable: false,
|
|
27616
27616
|
configurable: true
|
|
27617
27617
|
});
|
|
27618
|
-
AvatarComponent.prototype.
|
|
27619
|
-
|
|
27620
|
-
this._changeImage();
|
|
27621
|
-
}
|
|
27622
|
-
else if ('relationId' in changes || 'relation' in changes) {
|
|
27623
|
-
this._changeRelation();
|
|
27624
|
-
}
|
|
27618
|
+
AvatarComponent.prototype.ngOnInit = function () {
|
|
27619
|
+
this._setImageForAvatar();
|
|
27625
27620
|
};
|
|
27626
|
-
AvatarComponent.prototype.
|
|
27627
|
-
this
|
|
27628
|
-
|
|
27629
|
-
|
|
27630
|
-
|
|
27631
|
-
|
|
27632
|
-
|
|
27633
|
-
|
|
27634
|
-
|
|
27635
|
-
|
|
27636
|
-
|
|
27637
|
-
|
|
27638
|
-
|
|
27621
|
+
AvatarComponent.prototype._setImageForAvatar = function () {
|
|
27622
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27623
|
+
return __generator(this, function (_a) {
|
|
27624
|
+
switch (_a.label) {
|
|
27625
|
+
case 0:
|
|
27626
|
+
if (!(this.image && this.image.documentId)) return [3 /*break*/, 2];
|
|
27627
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27628
|
+
case 1:
|
|
27629
|
+
if (!(_a.sent())) {
|
|
27630
|
+
this._setImageFromRelation();
|
|
27631
|
+
}
|
|
27632
|
+
return [3 /*break*/, 3];
|
|
27633
|
+
case 2:
|
|
27634
|
+
this._setImageFromRelation();
|
|
27635
|
+
_a.label = 3;
|
|
27636
|
+
case 3:
|
|
27637
|
+
this._changeDetector.detectChanges();
|
|
27638
|
+
return [2 /*return*/];
|
|
27639
|
+
}
|
|
27640
|
+
});
|
|
27641
|
+
});
|
|
27639
27642
|
};
|
|
27640
|
-
AvatarComponent.prototype.
|
|
27641
|
-
|
|
27642
|
-
|
|
27643
|
-
|
|
27644
|
-
|
|
27645
|
-
|
|
27646
|
-
|
|
27647
|
-
|
|
27643
|
+
AvatarComponent.prototype._setImageFromRelation = function () {
|
|
27644
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27645
|
+
var request;
|
|
27646
|
+
var _this = this;
|
|
27647
|
+
return __generator(this, function (_a) {
|
|
27648
|
+
switch (_a.label) {
|
|
27649
|
+
case 0:
|
|
27650
|
+
if (!this.relation) return [3 /*break*/, 4];
|
|
27651
|
+
if (!(this.relation.avatarImage && this.relation.avatarImage.documentId)) return [3 /*break*/, 2];
|
|
27652
|
+
this.image = this.relation.avatarImage;
|
|
27653
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27654
|
+
case 1:
|
|
27655
|
+
if (!(_a.sent())) {
|
|
27656
|
+
this._setRelationInitials();
|
|
27657
|
+
}
|
|
27658
|
+
return [3 /*break*/, 3];
|
|
27659
|
+
case 2:
|
|
27660
|
+
this._setRelationInitials();
|
|
27661
|
+
_a.label = 3;
|
|
27662
|
+
case 3: return [3 /*break*/, 5];
|
|
27663
|
+
case 4:
|
|
27664
|
+
if (this.relationId) {
|
|
27665
|
+
request = new relationRequest.RelationRequest();
|
|
27666
|
+
request.relationId = this._relationId;
|
|
27667
|
+
this._relationService.getRelationListObjects(request).then(function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
27668
|
+
return __generator(this, function (_a) {
|
|
27669
|
+
switch (_a.label) {
|
|
27670
|
+
case 0:
|
|
27671
|
+
if (!(data && data.length > 0)) return [3 /*break*/, 3];
|
|
27672
|
+
this.relation = data[0];
|
|
27673
|
+
if (!(this.relation.avatarImage && this.relation.avatarImage.documentId)) return [3 /*break*/, 2];
|
|
27674
|
+
this.image = this.relation.avatarImage;
|
|
27675
|
+
return [4 /*yield*/, this._getImageContent(this.image.documentId)];
|
|
27676
|
+
case 1:
|
|
27677
|
+
if (!(_a.sent())) {
|
|
27678
|
+
this._setRelationInitials();
|
|
27679
|
+
}
|
|
27680
|
+
return [3 /*break*/, 3];
|
|
27681
|
+
case 2:
|
|
27682
|
+
this._setRelationInitials();
|
|
27683
|
+
_a.label = 3;
|
|
27684
|
+
case 3: return [2 /*return*/];
|
|
27685
|
+
}
|
|
27686
|
+
});
|
|
27687
|
+
}); });
|
|
27688
|
+
}
|
|
27689
|
+
_a.label = 5;
|
|
27690
|
+
case 5: return [2 /*return*/];
|
|
27691
|
+
}
|
|
27692
|
+
});
|
|
27648
27693
|
});
|
|
27649
27694
|
};
|
|
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;
|
|
27695
|
+
AvatarComponent.prototype._setRelationInitials = function () {
|
|
27696
|
+
if (this.relation) {
|
|
27697
|
+
this.initials = this.relation.displayInitials;
|
|
27698
|
+
this._setBackgroundColor();
|
|
27659
27699
|
}
|
|
27660
27700
|
};
|
|
27661
|
-
AvatarComponent.prototype.
|
|
27662
|
-
|
|
27663
|
-
|
|
27664
|
-
this
|
|
27665
|
-
|
|
27666
|
-
|
|
27667
|
-
|
|
27668
|
-
|
|
27669
|
-
|
|
27670
|
-
|
|
27671
|
-
|
|
27672
|
-
|
|
27701
|
+
AvatarComponent.prototype._getImageContent = function (docId) {
|
|
27702
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
27703
|
+
var content;
|
|
27704
|
+
return __generator(this, function (_a) {
|
|
27705
|
+
switch (_a.label) {
|
|
27706
|
+
case 0: return [4 /*yield*/, this._transactionConnectorService.getDocumentContent(docId)];
|
|
27707
|
+
case 1:
|
|
27708
|
+
content = _a.sent();
|
|
27709
|
+
if (content) {
|
|
27710
|
+
this.image.thumbnailBody = content;
|
|
27711
|
+
this.imageSrc = this.image.thumbnailBodyAsDataUri;
|
|
27712
|
+
this._changeDetector.detectChanges();
|
|
27713
|
+
return [2 /*return*/, true];
|
|
27714
|
+
}
|
|
27715
|
+
else {
|
|
27716
|
+
return [2 /*return*/, false];
|
|
27717
|
+
}
|
|
27718
|
+
return [2 /*return*/];
|
|
27719
|
+
}
|
|
27673
27720
|
});
|
|
27674
|
-
}
|
|
27675
|
-
else {
|
|
27676
|
-
this.imageSrc = "";
|
|
27677
|
-
this._changeDetector.detectChanges();
|
|
27678
|
-
}
|
|
27721
|
+
});
|
|
27679
27722
|
};
|
|
27680
27723
|
AvatarComponent.prototype._setBackgroundColor = function () {
|
|
27681
|
-
|
|
27682
|
-
|
|
27724
|
+
this.imageSrc = "";
|
|
27725
|
+
if (this.relation) {
|
|
27726
|
+
this.backgroundColor = this._colorSequenceService.getRandomColor(this.relation.relationId);
|
|
27683
27727
|
}
|
|
27728
|
+
this._changeDetector.detectChanges();
|
|
27684
27729
|
};
|
|
27685
27730
|
return AvatarComponent;
|
|
27686
27731
|
}());
|
|
27687
27732
|
AvatarComponent.decorators = [
|
|
27688
27733
|
{ type: i0.Component, args: [{
|
|
27689
27734
|
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\">{{
|
|
27735
|
+
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
27736
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
27692
27737
|
encapsulation: i0.ViewEncapsulation.None
|
|
27693
27738
|
},] }
|
|
@@ -33737,6 +33782,14 @@
|
|
|
33737
33782
|
TransactionQuickAccessComponent.prototype.ngOnInit = function () {
|
|
33738
33783
|
this._prepareContent();
|
|
33739
33784
|
};
|
|
33785
|
+
TransactionQuickAccessComponent.prototype.ngOnDestroy = function () {
|
|
33786
|
+
if (this._componentRef) {
|
|
33787
|
+
this._componentRef.destroy();
|
|
33788
|
+
this._componentRef = undefined;
|
|
33789
|
+
}
|
|
33790
|
+
this.quickAccessContainer = undefined;
|
|
33791
|
+
this.quickAccessContainer = undefined;
|
|
33792
|
+
};
|
|
33740
33793
|
TransactionQuickAccessComponent.prototype._prepareContent = function () {
|
|
33741
33794
|
var _this = this;
|
|
33742
33795
|
if (!this.transactionType || !this._activeCategory || !this._relation || !this.quickAccessContainer) {
|
|
@@ -33745,6 +33798,7 @@
|
|
|
33745
33798
|
var componentClass = this._mappingService.getQuickAccessComponent(this.transactionType, this.activeCategory);
|
|
33746
33799
|
if (this._componentRef) {
|
|
33747
33800
|
this._componentRef.destroy();
|
|
33801
|
+
this._componentRef = undefined;
|
|
33748
33802
|
}
|
|
33749
33803
|
if (!componentClass) {
|
|
33750
33804
|
return;
|
|
@@ -34923,7 +34977,9 @@
|
|
|
34923
34977
|
TransactionCardComponent.prototype.ngOnDestroy = function () {
|
|
34924
34978
|
if (this._componentRef) {
|
|
34925
34979
|
this._componentRef.destroy();
|
|
34980
|
+
this._componentRef = undefined;
|
|
34926
34981
|
}
|
|
34982
|
+
this._transactionCardContainer = undefined;
|
|
34927
34983
|
_super.prototype.ngOnDestroy.call(this);
|
|
34928
34984
|
};
|
|
34929
34985
|
TransactionCardComponent.prototype.transactionInfoSet = function () {
|
|
@@ -34938,6 +34994,7 @@
|
|
|
34938
34994
|
var componentClass = this._mappingService.getTransactionCardComponent(this.transactionKind, this._activeCategory);
|
|
34939
34995
|
if (this._componentRef) {
|
|
34940
34996
|
this._componentRef.destroy();
|
|
34997
|
+
this._componentRef = undefined;
|
|
34941
34998
|
}
|
|
34942
34999
|
if (!componentClass) {
|
|
34943
35000
|
return;
|
|
@@ -38138,7 +38195,9 @@
|
|
|
38138
38195
|
TransactionLinesSidePanelComponent.prototype.ngOnDestroy = function () {
|
|
38139
38196
|
if (this._componentRef) {
|
|
38140
38197
|
this._componentRef.destroy();
|
|
38198
|
+
this._componentRef = undefined;
|
|
38141
38199
|
}
|
|
38200
|
+
this.sidePanelContainer = undefined;
|
|
38142
38201
|
};
|
|
38143
38202
|
TransactionLinesSidePanelComponent.prototype._prepareContent = function () {
|
|
38144
38203
|
var _this = this;
|
|
@@ -38148,6 +38207,7 @@
|
|
|
38148
38207
|
var componentClass = this._mappingService.getSidePanelComponent(this.transactionType);
|
|
38149
38208
|
if (this._componentRef) {
|
|
38150
38209
|
this._componentRef.destroy();
|
|
38210
|
+
this._componentRef = undefined;
|
|
38151
38211
|
}
|
|
38152
38212
|
if (!componentClass) {
|
|
38153
38213
|
return;
|
|
@@ -38899,6 +38959,14 @@
|
|
|
38899
38959
|
TransactionGridComponent.prototype.showClass = function () {
|
|
38900
38960
|
return true;
|
|
38901
38961
|
};
|
|
38962
|
+
TransactionGridComponent.prototype.ngOnDestroy = function () {
|
|
38963
|
+
if (this._componentRef) {
|
|
38964
|
+
this._componentRef.destroy();
|
|
38965
|
+
this._componentRef = undefined;
|
|
38966
|
+
}
|
|
38967
|
+
this._transactionGridContainer = undefined;
|
|
38968
|
+
_super.prototype.ngOnDestroy.call(this);
|
|
38969
|
+
};
|
|
38902
38970
|
TransactionGridComponent.prototype.transactionSet = function () {
|
|
38903
38971
|
this._prepareContent();
|
|
38904
38972
|
};
|
|
@@ -38910,6 +38978,7 @@
|
|
|
38910
38978
|
var componentClass = this._mappingService.getTransactionGridComponent(this.transactionKind, this.activeCategory);
|
|
38911
38979
|
if (this._componentRef) {
|
|
38912
38980
|
this._componentRef.destroy();
|
|
38981
|
+
this._componentRef = undefined;
|
|
38913
38982
|
}
|
|
38914
38983
|
if (!componentClass) {
|
|
38915
38984
|
return;
|
|
@@ -39550,7 +39619,9 @@
|
|
|
39550
39619
|
TransactionFilterComponent.prototype.ngOnDestroy = function () {
|
|
39551
39620
|
if (this._componentRef) {
|
|
39552
39621
|
this._componentRef.destroy();
|
|
39622
|
+
this._componentRef = undefined;
|
|
39553
39623
|
}
|
|
39624
|
+
this._transactionFilterContainer = undefined;
|
|
39554
39625
|
};
|
|
39555
39626
|
TransactionFilterComponent.prototype._prepareContent = function () {
|
|
39556
39627
|
var _this = this;
|
|
@@ -39560,6 +39631,7 @@
|
|
|
39560
39631
|
var componentClass = this._mappingService.getTransactionFilterComponent(this.searchService.transactionType);
|
|
39561
39632
|
if (this._componentRef) {
|
|
39562
39633
|
this._componentRef.destroy();
|
|
39634
|
+
this._componentRef = undefined;
|
|
39563
39635
|
}
|
|
39564
39636
|
if (!componentClass) {
|
|
39565
39637
|
return;
|
|
@@ -40796,7 +40868,9 @@
|
|
|
40796
40868
|
TransactionSearchGridComponent.prototype.ngOnDestroy = function () {
|
|
40797
40869
|
if (this._componentRef) {
|
|
40798
40870
|
this._componentRef.destroy();
|
|
40871
|
+
this._componentRef = undefined;
|
|
40799
40872
|
}
|
|
40873
|
+
this._transactionSearchGridContainer = undefined;
|
|
40800
40874
|
};
|
|
40801
40875
|
TransactionSearchGridComponent.prototype._prepareContent = function () {
|
|
40802
40876
|
var _this = this;
|
|
@@ -40806,6 +40880,7 @@
|
|
|
40806
40880
|
var componentClass = this._mappingService.getTransactionSearchGridComponent(this.searchService.transactionType);
|
|
40807
40881
|
if (this._componentRef) {
|
|
40808
40882
|
this._componentRef.destroy();
|
|
40883
|
+
this._componentRef = undefined;
|
|
40809
40884
|
}
|
|
40810
40885
|
if (!componentClass) {
|
|
40811
40886
|
return;
|
|
@@ -41109,7 +41184,9 @@
|
|
|
41109
41184
|
TransactionSearchTileComponent.prototype.ngOnDestroy = function () {
|
|
41110
41185
|
if (this._componentRef) {
|
|
41111
41186
|
this._componentRef.destroy();
|
|
41187
|
+
this._componentRef = undefined;
|
|
41112
41188
|
}
|
|
41189
|
+
this._transactionSearchTileContainer = undefined;
|
|
41113
41190
|
};
|
|
41114
41191
|
TransactionSearchTileComponent.prototype._prepareContent = function () {
|
|
41115
41192
|
var _this = this;
|
|
@@ -41119,6 +41196,7 @@
|
|
|
41119
41196
|
var componentClass = this._mappingService.getTransactionSearchTileComponent(this.searchService.transactionType);
|
|
41120
41197
|
if (this._componentRef) {
|
|
41121
41198
|
this._componentRef.destroy();
|
|
41199
|
+
this._componentRef = undefined;
|
|
41122
41200
|
}
|
|
41123
41201
|
if (!componentClass) {
|
|
41124
41202
|
return;
|