@adins/ucsearch 3.5.3 → 3.5.4

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.
@@ -334,6 +334,20 @@ class UCSearchComponent {
334
334
  value: "Justify PDF"
335
335
  }
336
336
  ];
337
+ this.exportAsFileList = [
338
+ {
339
+ key: "csv",
340
+ value: "as CSV",
341
+ },
342
+ {
343
+ key: "excel",
344
+ value: "as EXCEL",
345
+ },
346
+ {
347
+ key: "json",
348
+ value: "as JSON",
349
+ }
350
+ ];
337
351
  this.ListOfMonth = new ListKeyValueMonth();
338
352
  this.ListOfYear = new Array();
339
353
  this.ClaimList = [
@@ -358,7 +372,6 @@ class UCSearchComponent {
358
372
  this.countForm = 0;
359
373
  this.formattedAmount = '';
360
374
  this.amount = 0;
361
- this.queryParam = {};
362
375
  this.route.queryParams.subscribe(params => {
363
376
  this.queryParam = this.ngxRouter.getQueryParams(params);
364
377
  });
@@ -418,6 +431,9 @@ class UCSearchComponent {
418
431
  this.ExportTypeList = data.exportTypeList;
419
432
  this.ExportType = this.ExportTypeList[0].key;
420
433
  }
434
+ if (data.exportAsFileList != undefined && data.exportAsFileList.length != 0) {
435
+ this.exportAsFileList = data.exportAsFileList;
436
+ }
421
437
  this.countForm = data.component.length;
422
438
  this.isDataLoaded = true;
423
439
  if (this.searchInput.title != undefined && this.searchInput.title != "") {