dts-backoffice-util 2.8.1 → 2.8.3

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.
@@ -2527,20 +2527,23 @@ var FileUtil = /** @class */ (function () {
2527
2527
  function FileUtil() {
2528
2528
  }
2529
2529
  /**
2530
- * @param {?} datab64
2530
+ * @param {?} data
2531
2531
  * @param {?} fileName
2532
2532
  * @param {?=} contentType
2533
+ * @param {?=} base64
2533
2534
  * @return {?}
2534
2535
  */
2535
2536
  FileUtil.downloadFile = /**
2536
- * @param {?} datab64
2537
+ * @param {?} data
2537
2538
  * @param {?} fileName
2538
2539
  * @param {?=} contentType
2540
+ * @param {?=} base64
2539
2541
  * @return {?}
2540
2542
  */
2541
- function (datab64, fileName, contentType) {
2543
+ function (data, fileName, contentType, base64) {
2544
+ base64 = (base64 === false) ? false : true;
2542
2545
  /** @type {?} */
2543
- var dataBlob = this.b64toBlob(datab64, contentType);
2546
+ var dataBlob = base64 ? this.b64toBlob(data, contentType) : data;
2544
2547
  this.download(dataBlob, fileName);
2545
2548
  };
2546
2549
  /**