@everymatrix/stage-mm-verification-report 1.0.33 → 1.0.34

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.
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeleteTemplateModalComponent
3
- } from "./chunk-G5MLR6EG.js";
4
- import "./chunk-RRPYITQV.js";
3
+ } from "./chunk-WMPCH4IX.js";
4
+ import "./chunk-BTHW6DIE.js";
5
5
  import "./chunk-2SMQV2OO.js";
6
6
  import "./chunk-57JN4OKS.js";
7
7
  export {
8
8
  DeleteTemplateModalComponent
9
9
  };
10
- //# sourceMappingURL=chunk-NAXSWLRP.js.map
10
+ //# sourceMappingURL=chunk-5YYL42DS.js.map
@@ -37197,8 +37197,16 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37197
37197
  csvLimit = 1e7;
37198
37198
  pageLimit = 100;
37199
37199
  buildRequestBody(config, tracingInfo) {
37200
- const { offset = 0, limit, allFilters, formData, columns, executionType, isGrandTotal = false, sorting, template, exportReportName } = config;
37201
- const templateName = template ? template.template_name && template.template_name.includes(exportReportName) ? template.template_name : template.template_name ? exportReportName + "_" + template.template_name : exportReportName : exportReportName;
37200
+ const { offset = 0, limit, allFilters, formData, columns, executionType, isGrandTotal = false, sorting, template, exportReportName, isSending } = config;
37201
+ let templateName = exportReportName;
37202
+ if (template?.template_name) {
37203
+ const name = template.template_name;
37204
+ if (name.includes(exportReportName) || isSending) {
37205
+ templateName = name;
37206
+ } else {
37207
+ templateName = `${exportReportName}_${name}`;
37208
+ }
37209
+ }
37202
37210
  const result = {
37203
37211
  p_columns: columns,
37204
37212
  p_additional_params: {},
@@ -37499,4 +37507,4 @@ crypto-js/mode-ctr-gladman.js:
37499
37507
  * License: MIT
37500
37508
  *)
37501
37509
  */
37502
- //# sourceMappingURL=chunk-RRPYITQV.js.map
37510
+ //# sourceMappingURL=chunk-BTHW6DIE.js.map