@colijnit/transaction 12.1.18 → 12.1.19
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 +70 -39
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +7 -7
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +8 -8
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +14 -2
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +16 -4
- package/fesm2015/colijnit-transaction.js +54 -31
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +4 -0
- package/lib/component/transaction-search/transaction-search.component.d.ts +6 -1
- package/package.json +1 -1
|
@@ -11269,11 +11269,69 @@
|
|
|
11269
11269
|
},] }
|
|
11270
11270
|
];
|
|
11271
11271
|
|
|
11272
|
+
var TransactionSearchService = /** @class */ (function () {
|
|
11273
|
+
function TransactionSearchService(_transactionService) {
|
|
11274
|
+
this._transactionService = _transactionService;
|
|
11275
|
+
this.searchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
11276
|
+
this.transactions = [];
|
|
11277
|
+
}
|
|
11278
|
+
Object.defineProperty(TransactionSearchService.prototype, "transactionType", {
|
|
11279
|
+
get: function () {
|
|
11280
|
+
return this._transactionType;
|
|
11281
|
+
},
|
|
11282
|
+
set: function (value) {
|
|
11283
|
+
this._resetRequest();
|
|
11284
|
+
this.transactions.length = 0;
|
|
11285
|
+
this._transactionType = value;
|
|
11286
|
+
},
|
|
11287
|
+
enumerable: false,
|
|
11288
|
+
configurable: true
|
|
11289
|
+
});
|
|
11290
|
+
TransactionSearchService.prototype.searchTransactions = function () {
|
|
11291
|
+
var _this = this;
|
|
11292
|
+
this.searchRequest.transactionKind = this.transactionType;
|
|
11293
|
+
this._transactionService.searchTransactions(this.searchRequest).then(function (transactions) {
|
|
11294
|
+
_this.transactions = transactions;
|
|
11295
|
+
});
|
|
11296
|
+
};
|
|
11297
|
+
TransactionSearchService.prototype.resetFilters = function () {
|
|
11298
|
+
var oldSearchRequest = Object.assign({}, this.searchRequest);
|
|
11299
|
+
this._resetRequest();
|
|
11300
|
+
this.searchRequest.general = oldSearchRequest.general;
|
|
11301
|
+
this.searchTransactions();
|
|
11302
|
+
};
|
|
11303
|
+
TransactionSearchService.prototype._resetRequest = function () {
|
|
11304
|
+
this.searchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
11305
|
+
};
|
|
11306
|
+
return TransactionSearchService;
|
|
11307
|
+
}());
|
|
11308
|
+
TransactionSearchService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionSearchService_Factory() { return new TransactionSearchService(i0__namespace.ɵɵinject(TransactionService)); }, token: TransactionSearchService, providedIn: "root" });
|
|
11309
|
+
TransactionSearchService.decorators = [
|
|
11310
|
+
{ type: i0.Injectable, args: [{
|
|
11311
|
+
providedIn: "root"
|
|
11312
|
+
},] }
|
|
11313
|
+
];
|
|
11314
|
+
TransactionSearchService.ctorParameters = function () { return [
|
|
11315
|
+
{ type: TransactionService }
|
|
11316
|
+
]; };
|
|
11317
|
+
|
|
11272
11318
|
var TransactionSearchComponent = /** @class */ (function () {
|
|
11273
|
-
function TransactionSearchComponent() {
|
|
11319
|
+
function TransactionSearchComponent(_transactionSearchService) {
|
|
11320
|
+
this._transactionSearchService = _transactionSearchService;
|
|
11274
11321
|
this.transactionClick = new i0.EventEmitter();
|
|
11275
11322
|
this.showFilterSidebar = false;
|
|
11276
11323
|
}
|
|
11324
|
+
Object.defineProperty(TransactionSearchComponent.prototype, "transactionType", {
|
|
11325
|
+
get: function () {
|
|
11326
|
+
return this._transactionType;
|
|
11327
|
+
},
|
|
11328
|
+
set: function (value) {
|
|
11329
|
+
this._transactionType = value;
|
|
11330
|
+
this._transactionSearchService.transactionType = this._transactionType;
|
|
11331
|
+
},
|
|
11332
|
+
enumerable: false,
|
|
11333
|
+
configurable: true
|
|
11334
|
+
});
|
|
11277
11335
|
TransactionSearchComponent.prototype.showClass = function () {
|
|
11278
11336
|
return true;
|
|
11279
11337
|
};
|
|
@@ -11307,8 +11365,11 @@
|
|
|
11307
11365
|
encapsulation: i0.ViewEncapsulation.None
|
|
11308
11366
|
},] }
|
|
11309
11367
|
];
|
|
11310
|
-
TransactionSearchComponent.ctorParameters = function () { return [
|
|
11368
|
+
TransactionSearchComponent.ctorParameters = function () { return [
|
|
11369
|
+
{ type: TransactionSearchService }
|
|
11370
|
+
]; };
|
|
11311
11371
|
TransactionSearchComponent.propDecorators = {
|
|
11372
|
+
transactionType: [{ type: i0.Input }],
|
|
11312
11373
|
transactionClick: [{ type: i0.Output }],
|
|
11313
11374
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search",] }]
|
|
11314
11375
|
};
|
|
@@ -11427,36 +11488,6 @@
|
|
|
11427
11488
|
},] }
|
|
11428
11489
|
];
|
|
11429
11490
|
|
|
11430
|
-
var TransactionSearchService = /** @class */ (function () {
|
|
11431
|
-
function TransactionSearchService(_transactionService) {
|
|
11432
|
-
this._transactionService = _transactionService;
|
|
11433
|
-
this.searchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
11434
|
-
this.transactions = [];
|
|
11435
|
-
}
|
|
11436
|
-
TransactionSearchService.prototype.searchTransactions = function () {
|
|
11437
|
-
var _this = this;
|
|
11438
|
-
this._transactionService.searchTransactions(this.searchRequest).then(function (transactions) {
|
|
11439
|
-
_this.transactions = transactions;
|
|
11440
|
-
});
|
|
11441
|
-
};
|
|
11442
|
-
TransactionSearchService.prototype.resetFilters = function () {
|
|
11443
|
-
var oldSearchRequest = Object.assign({}, this.searchRequest);
|
|
11444
|
-
this.searchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
11445
|
-
this.searchRequest.general = oldSearchRequest.general;
|
|
11446
|
-
this.searchTransactions();
|
|
11447
|
-
};
|
|
11448
|
-
return TransactionSearchService;
|
|
11449
|
-
}());
|
|
11450
|
-
TransactionSearchService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionSearchService_Factory() { return new TransactionSearchService(i0__namespace.ɵɵinject(TransactionService)); }, token: TransactionSearchService, providedIn: "root" });
|
|
11451
|
-
TransactionSearchService.decorators = [
|
|
11452
|
-
{ type: i0.Injectable, args: [{
|
|
11453
|
-
providedIn: "root"
|
|
11454
|
-
},] }
|
|
11455
|
-
];
|
|
11456
|
-
TransactionSearchService.ctorParameters = function () { return [
|
|
11457
|
-
{ type: TransactionService }
|
|
11458
|
-
]; };
|
|
11459
|
-
|
|
11460
11491
|
var TransactionSearchResultComponent = /** @class */ (function () {
|
|
11461
11492
|
function TransactionSearchResultComponent(searchService, iconCacheService) {
|
|
11462
11493
|
this.searchService = searchService;
|
|
@@ -12459,13 +12490,13 @@
|
|
|
12459
12490
|
exports["ɵez"] = TransactionGridModule;
|
|
12460
12491
|
exports["ɵf"] = CollectionCacheService;
|
|
12461
12492
|
exports["ɵfa"] = TransactionGridComponent;
|
|
12462
|
-
exports["ɵfb"] =
|
|
12463
|
-
exports["ɵfc"] =
|
|
12464
|
-
exports["ɵfd"] =
|
|
12465
|
-
exports["ɵfe"] =
|
|
12466
|
-
exports["ɵff"] =
|
|
12467
|
-
exports["ɵfg"] =
|
|
12468
|
-
exports["ɵfh"] =
|
|
12493
|
+
exports["ɵfb"] = TransactionSearchService;
|
|
12494
|
+
exports["ɵfc"] = TransactionSearchResultModule;
|
|
12495
|
+
exports["ɵfd"] = TransactionTileModule;
|
|
12496
|
+
exports["ɵfe"] = TransactionTileComponent;
|
|
12497
|
+
exports["ɵff"] = TransactionSearchGridModule;
|
|
12498
|
+
exports["ɵfg"] = TransactionSearchGridComponent;
|
|
12499
|
+
exports["ɵfh"] = TransactionSearchResultComponent;
|
|
12469
12500
|
exports["ɵfi"] = TransactionFilterModule;
|
|
12470
12501
|
exports["ɵfj"] = TransactionFilterCategoriesModule;
|
|
12471
12502
|
exports["ɵfk"] = TransactionFilterCategoriesComponent;
|