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

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,6 +1,6 @@
1
1
  import {
2
2
  DmButtonLibComponent
3
- } from "./chunk-BTHW6DIE.js";
3
+ } from "./chunk-UIRQFQVP.js";
4
4
  import {
5
5
  BaseComponent,
6
6
  BaseStyle,
@@ -8,7 +8,7 @@ import {
8
8
  DialogModule,
9
9
  PrimeTemplate,
10
10
  SharedModule
11
- } from "./chunk-2SMQV2OO.js";
11
+ } from "./chunk-O46WKBJL.js";
12
12
  import {
13
13
  ChangeDetectionStrategy,
14
14
  CommonModule,
@@ -55,7 +55,7 @@ import {
55
55
  ɵɵtwoWayBindingSet,
56
56
  ɵɵtwoWayListener,
57
57
  ɵɵtwoWayProperty
58
- } from "./chunk-57JN4OKS.js";
58
+ } from "./chunk-572KF4F3.js";
59
59
 
60
60
  // node_modules/primeng/fesm2022/primeng-progressspinner.mjs
61
61
  var theme = ({
@@ -450,4 +450,4 @@ export {
450
450
  ProgressSpinnerModule,
451
451
  DeleteTemplateModalComponent
452
452
  };
453
- //# sourceMappingURL=chunk-WMPCH4IX.js.map
453
+ //# sourceMappingURL=chunk-72EU5DMV.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DmButtonLibComponent
3
- } from "./chunk-BTHW6DIE.js";
3
+ } from "./chunk-UIRQFQVP.js";
4
4
  import {
5
5
  Dialog,
6
6
  DialogModule,
7
7
  PrimeTemplate
8
- } from "./chunk-2SMQV2OO.js";
8
+ } from "./chunk-O46WKBJL.js";
9
9
  import {
10
10
  ChangeDetectionStrategy,
11
11
  Component,
@@ -35,7 +35,7 @@ import {
35
35
  ɵɵtwoWayBindingSet,
36
36
  ɵɵtwoWayListener,
37
37
  ɵɵtwoWayProperty
38
- } from "./chunk-57JN4OKS.js";
38
+ } from "./chunk-572KF4F3.js";
39
39
 
40
40
  // libs/shared/ui/components/src/lib/modals/domains-overload-modal/domains-overload-modal.ts
41
41
  var _c0 = () => ({ width: "460px" });
@@ -216,4 +216,4 @@ var DomainsOverloadModalComponent = class _DomainsOverloadModalComponent {
216
216
  export {
217
217
  DomainsOverloadModalComponent
218
218
  };
219
- //# sourceMappingURL=chunk-PUQ5Z3AY.js.map
219
+ //# sourceMappingURL=chunk-CNMXNBAH.js.map
@@ -12,7 +12,7 @@ import {
12
12
  style,
13
13
  ɵPRE_STYLE,
14
14
  ɵɵdefineInjectable
15
- } from "./chunk-57JN4OKS.js";
15
+ } from "./chunk-572KF4F3.js";
16
16
 
17
17
  // node_modules/@angular/animations/fesm2022/browser.mjs
18
18
  var LINE_START = "\n - ";
@@ -4105,4 +4105,4 @@ export {
4105
4105
  * License: MIT
4106
4106
  *)
4107
4107
  */
4108
- //# sourceMappingURL=chunk-SQF7N67X.js.map
4108
+ //# sourceMappingURL=chunk-FMMEMDFU.js.map
@@ -0,0 +1,10 @@
1
+ import {
2
+ DeleteTemplateModalComponent
3
+ } from "./chunk-72EU5DMV.js";
4
+ import "./chunk-UIRQFQVP.js";
5
+ import "./chunk-O46WKBJL.js";
6
+ import "./chunk-572KF4F3.js";
7
+ export {
8
+ DeleteTemplateModalComponent
9
+ };
10
+ //# sourceMappingURL=chunk-IQKQHETC.js.map
@@ -94,7 +94,7 @@ import {
94
94
  ɵɵtext,
95
95
  ɵɵtextInterpolate,
96
96
  ɵɵviewQuery
97
- } from "./chunk-57JN4OKS.js";
97
+ } from "./chunk-572KF4F3.js";
98
98
 
99
99
  // node_modules/@primeuix/utils/dom/index.mjs
100
100
  function hasClass(element, className) {
@@ -9482,4 +9482,4 @@ export {
9482
9482
  Dialog,
9483
9483
  DialogModule
9484
9484
  };
9485
- //# sourceMappingURL=chunk-2SMQV2OO.js.map
9485
+ //# sourceMappingURL=chunk-O46WKBJL.js.map
@@ -3,12 +3,12 @@ import {
3
3
  DialogClasses,
4
4
  DialogModule,
5
5
  DialogStyle
6
- } from "./chunk-2SMQV2OO.js";
7
- import "./chunk-57JN4OKS.js";
6
+ } from "./chunk-O46WKBJL.js";
7
+ import "./chunk-572KF4F3.js";
8
8
  export {
9
9
  Dialog,
10
10
  DialogClasses,
11
11
  DialogModule,
12
12
  DialogStyle
13
13
  };
14
- //# sourceMappingURL=chunk-C7TDIIUY.js.map
14
+ //# sourceMappingURL=chunk-PJSYVBGK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MessageService,
4
4
  definePreset,
5
5
  providePrimeNG
6
- } from "./chunk-2SMQV2OO.js";
6
+ } from "./chunk-O46WKBJL.js";
7
7
  import {
8
8
  ANIMATION_MODULE_TYPE,
9
9
  APP_ID,
@@ -123,7 +123,7 @@ import {
123
123
  ɵɵtemplate,
124
124
  ɵɵtext,
125
125
  ɵɵtextInterpolate
126
- } from "./chunk-57JN4OKS.js";
126
+ } from "./chunk-572KF4F3.js";
127
127
 
128
128
  // node_modules/angular/angular.js
129
129
  var require_angular = __commonJS({
@@ -30195,7 +30195,7 @@ var AsyncAnimationRendererFactory = class _AsyncAnimationRendererFactory {
30195
30195
  * @internal
30196
30196
  */
30197
30197
  loadImpl() {
30198
- const loadFn = () => this.moduleImpl ?? import("./chunk-SQF7N67X.js").then((m) => m);
30198
+ const loadFn = () => this.moduleImpl ?? import("./chunk-FMMEMDFU.js").then((m) => m);
30199
30199
  let moduleImplPromise;
30200
30200
  if (this.loadingSchedulerFn) {
30201
30201
  moduleImplPromise = this.loadingSchedulerFn(loadFn);
@@ -37198,20 +37198,24 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37198
37198
  pageLimit = 100;
37199
37199
  buildRequestBody(config, tracingInfo) {
37200
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) {
37201
+ let templateName = "";
37202
+ const name = template?.template_name;
37203
+ if (executionType === "csv_load") {
37204
+ if (!name) {
37205
+ templateName = exportReportName;
37206
+ } else if (name.includes(exportReportName) || isSending) {
37205
37207
  templateName = name;
37206
37208
  } else {
37207
37209
  templateName = `${exportReportName}_${name}`;
37208
37210
  }
37211
+ } else {
37212
+ templateName = name;
37209
37213
  }
37210
37214
  const result = {
37211
37215
  p_columns: columns,
37212
37216
  p_additional_params: {},
37213
37217
  p_tracing_info: Object.assign({
37214
- p_template_name: templateName,
37218
+ p_template_name: templateName || null,
37215
37219
  p_template_id: template ? template.template_id : null
37216
37220
  }, tracingInfo),
37217
37221
  p_advanced_filtering: {
@@ -37232,9 +37236,9 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37232
37236
  }
37233
37237
  let value;
37234
37238
  if (field_id === "merchant") {
37235
- value = formData["merchant_name"] ?? null;
37239
+ value = this.nullUndefinedOrEmpty(formData["merchant_name"]) ? null : formData["merchant_name"];
37236
37240
  } else {
37237
- value = formData[field_id] ?? null;
37241
+ value = this.nullUndefinedOrEmpty(formData[field_id]) ? null : formData[field_id];
37238
37242
  }
37239
37243
  const prefixedKey = field_id === "merchant_name" ? "p_domains" : `p_${field_id}`;
37240
37244
  if (field.field_data_type === "TIMESTAMP" && value) {
@@ -37254,6 +37258,9 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37254
37258
  });
37255
37259
  return result;
37256
37260
  }
37261
+ nullUndefinedOrEmpty(value) {
37262
+ return value === null || value === void 0 || value === "";
37263
+ }
37257
37264
  static \u0275fac = function VerificationRequestBodyStrategy_Factory(__ngFactoryType__) {
37258
37265
  return new (__ngFactoryType__ || _VerificationRequestBodyStrategy)();
37259
37266
  };
@@ -37507,4 +37514,4 @@ crypto-js/mode-ctr-gladman.js:
37507
37514
  * License: MIT
37508
37515
  *)
37509
37516
  */
37510
- //# sourceMappingURL=chunk-BTHW6DIE.js.map
37517
+ //# sourceMappingURL=chunk-UIRQFQVP.js.map