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

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/index.html CHANGED
@@ -8,5 +8,5 @@
8
8
  <link rel="stylesheet" href="styles.css"></head>
9
9
  <body>
10
10
  <everymatrix-mm-verification-report></everymatrix-mm-verification-report>
11
- <link rel="modulepreload" href="chunk-V3Y3VOJP.js"><link rel="modulepreload" href="chunk-7PA6OSFV.js"><link rel="modulepreload" href="chunk-TDAJJ6CV.js"><link rel="modulepreload" href="chunk-2SMQV2OO.js"><link rel="modulepreload" href="chunk-57JN4OKS.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
11
+ <link rel="modulepreload" href="chunk-G5MLR6EG.js"><link rel="modulepreload" href="chunk-63E53BSH.js"><link rel="modulepreload" href="chunk-RRPYITQV.js"><link rel="modulepreload" href="chunk-2SMQV2OO.js"><link rel="modulepreload" href="chunk-57JN4OKS.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
12
12
  </html>
package/main.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProgressSpinner,
3
3
  ProgressSpinnerModule
4
- } from "./chunk-V3Y3VOJP.js";
4
+ } from "./chunk-G5MLR6EG.js";
5
5
  import {
6
6
  DomainsOverloadModalComponent
7
- } from "./chunk-7PA6OSFV.js";
7
+ } from "./chunk-63E53BSH.js";
8
8
  import {
9
9
  ApiHandlerService,
10
10
  BrowserModule,
@@ -35,7 +35,7 @@ import {
35
35
  provideHttpClient,
36
36
  require_moment,
37
37
  withInterceptors
38
- } from "./chunk-TDAJJ6CV.js";
38
+ } from "./chunk-RRPYITQV.js";
39
39
  import {
40
40
  $dt,
41
41
  AutoFocus,
@@ -52206,6 +52206,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52206
52206
  templateService = inject(TemplateService);
52207
52207
  globalMessageService = inject(GlobalMessageService);
52208
52208
  sessionService = inject(SessionService);
52209
+ sendingService = inject(SendingService);
52209
52210
  nameControl = new FormControl("", [
52210
52211
  Validators.required,
52211
52212
  Validators.pattern(/^[A-Za-z0-9\-_]+$/)
@@ -52252,7 +52253,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52252
52253
  }
52253
52254
  save() {
52254
52255
  this.loading.set(true);
52255
- this.templateService.saveTemplate(this.nameControl.value, this.descriptionControl.value, this.params(), this.reportId(), this.radioButtonControl.value === "existing" ? this.template?.template_id : null, false).pipe(take(1)).subscribe({
52256
+ this.deleteSchedulesIfNeeded(this.template).pipe(switchMap(() => this.templateService.saveTemplate(this.nameControl.value, this.descriptionControl.value, this.params(), this.reportId(), this.radioButtonControl.value === "existing" ? this.template?.template_id : null, false).pipe(take(1)))).subscribe({
52256
52257
  next: (template) => {
52257
52258
  this.radioButtonControl.setValue("existing");
52258
52259
  if (this.template?.template_id !== template.template_id) {
@@ -52296,6 +52297,19 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52296
52297
  showWarningMessage = () => {
52297
52298
  return this.isTemplatePresent && this.isExisting && (this.selectedDifferentSiteId() || this.hasConfiguredSendOptions());
52298
52299
  };
52300
+ deleteSchedulesIfNeeded(template) {
52301
+ const reportKey = Object.values(REPORTS).find((r) => r.reportId === template?.report_id)?.reportKey;
52302
+ if (!template || !template?.input_params.send_option || this.radioButtonControl.value !== "existing" || !reportKey) {
52303
+ return of(null);
52304
+ }
52305
+ return this.getSchedules(template, reportKey).pipe(take(1), switchMap((schedulesData) => {
52306
+ const deleteObservables = schedulesData.flatMap((schedule) => schedule.schedules.map((scheduleItem) => from(this.sendingService.deleteSchedule(template.domain_id, scheduleItem.schedule_id))));
52307
+ return deleteObservables.length > 0 ? forkJoin(deleteObservables) : of(null);
52308
+ }));
52309
+ }
52310
+ getSchedules(template, reportKey) {
52311
+ return this.sendingService.getSchedules(reportKey, template.template_id, template.domain_id);
52312
+ }
52299
52313
  static \u0275fac = function SaveTemplateModalComponent_Factory(__ngFactoryType__) {
52300
52314
  return new (__ngFactoryType__ || _SaveTemplateModalComponent)();
52301
52315
  };
@@ -52479,7 +52493,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52479
52493
  }], () => [], null);
52480
52494
  })();
52481
52495
  (() => {
52482
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(SaveTemplateModalComponent, { className: "SaveTemplateModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/save-template-modal/save-template-modal.component.ts", lineNumber: 158 });
52496
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(SaveTemplateModalComponent, { className: "SaveTemplateModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/save-template-modal/save-template-modal.component.ts", lineNumber: 161 });
52483
52497
  })();
52484
52498
 
52485
52499
  // node_modules/primeng/fesm2022/primeng-dragdrop.mjs
@@ -53767,7 +53781,7 @@ var DmDatePickerLibComponent = class _DmDatePickerLibComponent {
53767
53781
 
53768
53782
  // libs/shared/ui/components/src/lib/modals/send-settings-modal/send-settings-modal.ts
53769
53783
  var _forTrack04 = ($index, $item) => $item.dag_id;
53770
- var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)];
53784
+ var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-NAXSWLRP.js").then((m) => m.DeleteTemplateModalComponent)];
53771
53785
  var _c026 = () => ({ "width": "460px", "max-height": "540px" });
53772
53786
  var _c151 = () => ({ width: "20px", height: "20px" });
53773
53787
  var _c237 = () => ({ "min-width": "720px" });
@@ -53799,7 +53813,7 @@ function SendSettingsModalComponent_Conditional_0_Conditional_10_Conditional_3_T
53799
53813
  \u0275\u0275advance();
53800
53814
  \u0275\u0275property("control", ctx_r1.onceForm.get("folderName"));
53801
53815
  \u0275\u0275advance();
53802
- \u0275\u0275property("control", ctx_r1.onceForm.get("fileName"))("hint", ctx_r1.fileNameHint)("permanentHint", true)("suggestionsList", ctx_r1.fileNameVariables)("autocomplete", true)("searchCharacter", "#")("showEmptyMessage", false)("appendToBody", true);
53816
+ \u0275\u0275property("control", ctx_r1.onceForm.get("fileName"))("hint", ctx_r1.fileNameHint)("permanentHint", true)("suggestionsList", ctx_r1.onceFileNameVariables)("autocomplete", true)("searchCharacter", "#")("showEmptyMessage", false)("appendToBody", true);
53803
53817
  \u0275\u0275advance();
53804
53818
  \u0275\u0275property("options", ctx_r1.dateTimeFormatOptions())("filter", false)("hint", ctx_r1.dateTimeFormatHint)("permanentHint", true)("appendToBody", true);
53805
53819
  }
@@ -54229,6 +54243,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54229
54243
  mailTo = "";
54230
54244
  scheduleId = "";
54231
54245
  fileNameVariables = this.sendingService.fileNameVariables;
54246
+ onceFileNameVariables = this.sendingService.fileNameVariables.filter(({ id }) => id !== "schedule_name");
54232
54247
  constructor(fb, apiTracingInfo) {
54233
54248
  this.fb = fb;
54234
54249
  this.apiTracingInfo = apiTracingInfo;
@@ -54543,7 +54558,8 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54543
54558
  columns: this.selectedTemplate().input_params.visibleFields,
54544
54559
  executionType: "csv_load",
54545
54560
  sorting: { field: null, value: null },
54546
- template: this.selectedTemplate()
54561
+ template: this.selectedTemplate(),
54562
+ exportReportName: REPORTS.MM_VERIFICATION.exportReportName
54547
54563
  };
54548
54564
  return this.reportStrategyFactory.getStrategy(this.currentReport.reportKey).buildRequestBody(config, tracingInfo);
54549
54565
  } else {
@@ -54595,7 +54611,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54595
54611
  ], styles: ['\n\n*[_ngcontent-%COMP%], \n[_ngcontent-%COMP%]::before, \n[_ngcontent-%COMP%]::after {\n box-sizing: border-box;\n}\nhtml[_ngcontent-%COMP%] {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody[_ngcontent-%COMP%] {\n margin: 0;\n}\nb[_ngcontent-%COMP%], \nstrong[_ngcontent-%COMP%] {\n font-weight: bolder;\n}\ncode[_ngcontent-%COMP%], \nkbd[_ngcontent-%COMP%], \nsamp[_ngcontent-%COMP%], \npre[_ngcontent-%COMP%] {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall[_ngcontent-%COMP%] {\n font-size: 80%;\n}\nsub[_ngcontent-%COMP%], \nsup[_ngcontent-%COMP%] {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub[_ngcontent-%COMP%] {\n bottom: -0.25em;\n}\nsup[_ngcontent-%COMP%] {\n top: -0.5em;\n}\ntable[_ngcontent-%COMP%] {\n border-color: currentcolor;\n}\nbutton[_ngcontent-%COMP%], \ninput[_ngcontent-%COMP%], \noptgroup[_ngcontent-%COMP%], \nselect[_ngcontent-%COMP%], \ntextarea[_ngcontent-%COMP%] {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton[_ngcontent-%COMP%], \n[type=button][_ngcontent-%COMP%], \n[type=reset][_ngcontent-%COMP%], \n[type=submit][_ngcontent-%COMP%] {\n -webkit-appearance: button;\n}\nlegend[_ngcontent-%COMP%] {\n padding: 0;\n}\nprogress[_ngcontent-%COMP%] {\n vertical-align: baseline;\n}\n[_ngcontent-%COMP%]::-webkit-inner-spin-button, \n[_ngcontent-%COMP%]::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search][_ngcontent-%COMP%] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n[_ngcontent-%COMP%]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n[_ngcontent-%COMP%]::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary[_ngcontent-%COMP%] {\n display: list-item;\n}\n\n\n\n*[_ngcontent-%COMP%] {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput[_ngcontent-%COMP%], \ntextarea[_ngcontent-%COMP%], \n[contenteditable=true][_ngcontent-%COMP%] {\n caret-color: auto !important;\n}\nbody[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n}\nh1[_ngcontent-%COMP%], \nh2[_ngcontent-%COMP%], \nh3[_ngcontent-%COMP%], \nh4[_ngcontent-%COMP%], \nh5[_ngcontent-%COMP%], \nh6[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n}\n.input[_ngcontent-%COMP%]:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-label[_ngcontent-%COMP%] {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-field[_ngcontent-%COMP%], \n.form-control-container[_ngcontent-%COMP%] .p-autocomplete-input[_ngcontent-%COMP%] {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-error-message[_ngcontent-%COMP%] {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-hint-message[_ngcontent-%COMP%] {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.radio-buttons-container[_ngcontent-%COMP%] {\n display: flex;\n gap: 40px;\n margin-bottom: 20px;\n}\n.radio-buttons-container[_ngcontent-%COMP%] .radio-button-label[_ngcontent-%COMP%] {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n margin-left: 5px;\n}\n.radio-buttons-container[_ngcontent-%COMP%] .radio-button[_ngcontent-%COMP%] {\n display: flex;\n align-items: baseline;\n}\n.radio-buttons-container[_ngcontent-%COMP%] .p-radiobutton-box[_ngcontent-%COMP%]:hover {\n background: #ebf4fc !important;\n}\n.form-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.list-table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n table-layout: auto;\n margin-top: 24px;\n}\n.list-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], \n.list-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 11px 12px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n border-bottom: 1px solid #edeff2;\n vertical-align: middle;\n height: 40px;\n min-width: 160px;\n max-width: 200px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.list-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] {\n background: #f6f7f9;\n}\n.list-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n font-weight: 600;\n font-size: 12px;\n color: #4a5469;\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover {\n background: #eaeef3;\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .cell-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 16px;\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .cell-icon[_ngcontent-%COMP%] {\n padding: 4px;\n width: 24px;\n height: 24px;\n cursor: pointer;\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .cell-icon[_ngcontent-%COMP%]:hover {\n border-radius: 4px;\n background: rgba(93, 105, 131, 0.08);\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .cell-icon[_ngcontent-%COMP%]:active {\n border-radius: 4px;\n background: rgba(93, 105, 131, 0.22);\n}\n.list-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .cell-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n width: 16px;\n height: 16px;\n}\n.modal-footer[_ngcontent-%COMP%] {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding-top: 8px;\n margin-top: 24px;\n}\n.loading-state[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n}\n\n\n\n\n\n\n/*# sourceMappingURL=send-settings-modal.css.map */'], changeDetection: 0 });
54596
54612
  };
54597
54613
  (() => {
54598
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54614
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-NAXSWLRP.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54599
54615
  setClassMetadata(SendSettingsModalComponent, [{
54600
54616
  type: Component,
54601
54617
  args: [{ selector: "lib-send-settings-modal", standalone: true, imports: [
@@ -54694,7 +54710,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54694
54710
  [permanentHint]="true"\r
54695
54711
  label="File Name"\r
54696
54712
  placeholder="File Name"\r
54697
- [suggestionsList]="fileNameVariables"\r
54713
+ [suggestionsList]="onceFileNameVariables"\r
54698
54714
  [autocomplete]="true"\r
54699
54715
  [searchCharacter]="'#'"\r
54700
54716
  [showEmptyMessage]="false"\r
@@ -55051,8 +55067,8 @@ Are you sure you want to delete the schedule?"\r
55051
55067
 
55052
55068
  // libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts
55053
55069
  var _forTrack05 = ($index, $item) => $item.template_id;
55054
- var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)];
55055
- var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-CDNMVOIM.js").then((m) => m.DomainsOverloadModalComponent)];
55070
+ var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-NAXSWLRP.js").then((m) => m.DeleteTemplateModalComponent)];
55071
+ var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-BWJL5N62.js").then((m) => m.DomainsOverloadModalComponent)];
55056
55072
  var _c027 = (a0) => ({ "selected-row": a0 });
55057
55073
  var _c158 = () => ({ position: "relative" });
55058
55074
  var _c238 = () => ({ width: "16px", height: "16px" });
@@ -55569,7 +55585,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55569
55585
  ], styles: ['\n\n*[_ngcontent-%COMP%], \n[_ngcontent-%COMP%]::before, \n[_ngcontent-%COMP%]::after {\n box-sizing: border-box;\n}\nhtml[_ngcontent-%COMP%] {\n font-family:\n system-ui,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji";\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n}\nbody[_ngcontent-%COMP%] {\n margin: 0;\n}\nb[_ngcontent-%COMP%], \nstrong[_ngcontent-%COMP%] {\n font-weight: bolder;\n}\ncode[_ngcontent-%COMP%], \nkbd[_ngcontent-%COMP%], \nsamp[_ngcontent-%COMP%], \npre[_ngcontent-%COMP%] {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall[_ngcontent-%COMP%] {\n font-size: 80%;\n}\nsub[_ngcontent-%COMP%], \nsup[_ngcontent-%COMP%] {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub[_ngcontent-%COMP%] {\n bottom: -0.25em;\n}\nsup[_ngcontent-%COMP%] {\n top: -0.5em;\n}\ntable[_ngcontent-%COMP%] {\n border-color: currentcolor;\n}\nbutton[_ngcontent-%COMP%], \ninput[_ngcontent-%COMP%], \noptgroup[_ngcontent-%COMP%], \nselect[_ngcontent-%COMP%], \ntextarea[_ngcontent-%COMP%] {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton[_ngcontent-%COMP%], \n[type=button][_ngcontent-%COMP%], \n[type=reset][_ngcontent-%COMP%], \n[type=submit][_ngcontent-%COMP%] {\n -webkit-appearance: button;\n}\nlegend[_ngcontent-%COMP%] {\n padding: 0;\n}\nprogress[_ngcontent-%COMP%] {\n vertical-align: baseline;\n}\n[_ngcontent-%COMP%]::-webkit-inner-spin-button, \n[_ngcontent-%COMP%]::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search][_ngcontent-%COMP%] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n[_ngcontent-%COMP%]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n[_ngcontent-%COMP%]::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary[_ngcontent-%COMP%] {\n display: list-item;\n}\n\n\n\n*[_ngcontent-%COMP%] {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput[_ngcontent-%COMP%], \ntextarea[_ngcontent-%COMP%], \n[contenteditable=true][_ngcontent-%COMP%] {\n caret-color: auto !important;\n}\nbody[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n}\nh1[_ngcontent-%COMP%], \nh2[_ngcontent-%COMP%], \nh3[_ngcontent-%COMP%], \nh4[_ngcontent-%COMP%], \nh5[_ngcontent-%COMP%], \nh6[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0;\n}\n.input[_ngcontent-%COMP%]:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: 14px;\n line-height: 18px;\n font-variant-numeric: lining-nums tabular-nums;\n font-weight: 400;\n cursor: pointer;\n position: relative;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-label[_ngcontent-%COMP%] {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n display: inline-flex;\n align-items: center;\n gap: 4px;\n position: relative;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-field[_ngcontent-%COMP%], \n.form-control-container[_ngcontent-%COMP%] .p-autocomplete-input[_ngcontent-%COMP%] {\n font-size: 14px;\n color: #252a34;\n font-weight: 400;\n line-height: 18px;\n font-style: normal;\n font-variant-numeric: lining-nums tabular-nums;\n width: 100%;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-error-message[_ngcontent-%COMP%] {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container[_ngcontent-%COMP%] .form-control-hint-message[_ngcontent-%COMP%] {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.popover-container[_ngcontent-%COMP%] {\n padding: 24px;\n max-height: 390px;\n overflow-y: scroll;\n}\n.popover-container[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background: #fff;\n z-index: 999999;\n}\n.popover-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n border-radius: 5px;\n background: #9aa6bc;\n}\n.template-list-search[_ngcontent-%COMP%] {\n position: relative;\n margin-bottom: 24px;\n width: 50%;\n}\n.template-list-search[_ngcontent-%COMP%]:hover .clear-icon[_ngcontent-%COMP%] {\n display: block;\n}\n.template-list-search[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] {\n width: 100%;\n padding-inline: 36px;\n border-color: #bcc2d0;\n}\n.template-list-search[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]:focus {\n border-color: #0076dd;\n}\n.template-list-search[_ngcontent-%COMP%] .clear-icon[_ngcontent-%COMP%] {\n display: none;\n position: absolute;\n right: 12px;\n transform: translateY(-50%);\n top: 50%;\n width: 12px;\n height: 12px;\n color: #5d6983;\n background: #ffffff;\n cursor: pointer;\n}\n.template-list-search[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%] {\n position: absolute;\n left: 12px;\n transform: translateY(-50%);\n top: 50%;\n width: 16px;\n height: 16px;\n}\n.template-list[_ngcontent-%COMP%] {\n width: 100%;\n min-width: 600px;\n min-height: 50px;\n}\n.template-list[_ngcontent-%COMP%] .template-row-content[_ngcontent-%COMP%] {\n cursor: pointer;\n height: 40px;\n}\n.template-list[_ngcontent-%COMP%] .template-row-content[_ngcontent-%COMP%]:hover {\n background: #eaeef3;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] {\n display: flex;\n border-bottom: 1px solid #edeff2;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell[_ngcontent-%COMP%] {\n width: 200px;\n padding: 11px 12px;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-name[_ngcontent-%COMP%], \n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-desc[_ngcontent-%COMP%] {\n color: #252a34;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-name[_ngcontent-%COMP%] .tooltip-label[_ngcontent-%COMP%], \n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-desc[_ngcontent-%COMP%] .tooltip-label[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 200px;\n display: inline-block;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-actions[_ngcontent-%COMP%] .action[_ngcontent-%COMP%] {\n cursor: pointer;\n padding: 4px;\n width: 24px;\n height: 24px;\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-actions[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]:hover {\n border-radius: 4px;\n background: rgba(93, 105, 131, 0.08);\n}\n.template-list[_ngcontent-%COMP%] .template-row[_ngcontent-%COMP%] .cell.cell-actions[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]:active {\n border-radius: 4px;\n background: rgba(93, 105, 131, 0.22);\n}\n.template-list[_ngcontent-%COMP%] .selected-row[_ngcontent-%COMP%] {\n background-color: rgba(0, 118, 221, 0.12);\n}\n.template-list[_ngcontent-%COMP%] .template-row-header[_ngcontent-%COMP%] {\n background: #f6f7f9;\n}\n.template-list[_ngcontent-%COMP%] .template-row-header[_ngcontent-%COMP%] .cell-header[_ngcontent-%COMP%] {\n font-style: normal;\n line-height: 18px;\n font-weight: 600;\n font-size: 12px;\n color: #4a5469;\n}\n.template-list[_ngcontent-%COMP%] .empty-container[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n color: #4a5469;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n}\n.template-list[_ngcontent-%COMP%] .loading-state[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n}\n\n\n\n\n\n\n/*# sourceMappingURL=template-select-modal.css.map */'], changeDetection: 0 });
55570
55586
  };
55571
55587
  (() => {
55572
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-CDNMVOIM.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55588
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-NAXSWLRP.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-BWJL5N62.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55573
55589
  setClassMetadata(TemplateSelectModalComponent, [{
55574
55590
  type: Component,
55575
55591
  args: [{ selector: "lib-template-select-modal", standalone: true, imports: [
@@ -58301,7 +58317,8 @@ var AppComponent = class _AppComponent {
58301
58317
  columns: this.visibleFieldsId,
58302
58318
  executionType: "report",
58303
58319
  sorting: { field: this.orderBy, value: this.orderDirection },
58304
- template: this.templateService.template() && !this.templateService.template()?.is_temporary ? this.templateService.template() : null
58320
+ template: this.templateSignal(),
58321
+ exportReportName: REPORTS.MM_VERIFICATION.exportReportName
58305
58322
  };
58306
58323
  this.verificationService.runReport(params).pipe(take(1), catchError(() => {
58307
58324
  return of([]);
@@ -58330,7 +58347,9 @@ var AppComponent = class _AppComponent {
58330
58347
  columns: this.visibleFieldsId,
58331
58348
  executionType: "report",
58332
58349
  isGrandTotal: true,
58333
- sorting: { field: this.orderBy, value: this.orderDirection }
58350
+ sorting: { field: this.orderBy, value: this.orderDirection },
58351
+ template: this.templateSignal(),
58352
+ exportReportName: REPORTS.MM_VERIFICATION.exportReportName
58334
58353
  };
58335
58354
  this.verificationService.runReport(__spreadProps(__spreadValues({}, params), {
58336
58355
  isGrandTotal: true
@@ -58360,7 +58379,9 @@ var AppComponent = class _AppComponent {
58360
58379
  columns: this.visibleFieldsId,
58361
58380
  executionType: "report",
58362
58381
  isGrandTotal: false,
58363
- sorting: sortingValue
58382
+ sorting: sortingValue,
58383
+ template: this.templateSignal(),
58384
+ exportReportName: REPORTS.MM_VERIFICATION.exportReportName
58364
58385
  }).pipe(take(1), catchError(() => of([]))).subscribe((data) => {
58365
58386
  this.tableData = [...data];
58366
58387
  this.gridOptions.data = [...data];
@@ -58380,7 +58401,9 @@ var AppComponent = class _AppComponent {
58380
58401
  columns: template ? template.input_params.visibleFields : this.visibleFieldsId,
58381
58402
  executionType: "csv_load",
58382
58403
  isGrandTotal: false,
58383
- sorting: { field: null, value: null }
58404
+ sorting: { field: null, value: null },
58405
+ template: template || this.templateSignal(),
58406
+ exportReportName: REPORTS.MM_VERIFICATION.exportReportName
58384
58407
  }).pipe(take(1), switchMap((data) => this.verificationService.csvLoad(data[0].path)), catchError((e) => {
58385
58408
  this.csvLoading.set(false);
58386
58409
  if (template) {