@everymatrix/stage-mm-verification-report 1.0.28 → 1.0.30

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/main.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProgressSpinner,
3
3
  ProgressSpinnerModule
4
- } from "./chunk-V47YLXMZ.js";
4
+ } from "./chunk-V3Y3VOJP.js";
5
5
  import {
6
6
  DomainsOverloadModalComponent
7
- } from "./chunk-6PXBGD4P.js";
7
+ } from "./chunk-7PA6OSFV.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-PURP2CP2.js";
38
+ } from "./chunk-TDAJJ6CV.js";
39
39
  import {
40
40
  $dt,
41
41
  AutoFocus,
@@ -23390,10 +23390,19 @@ var DmRangeDatePickerLibComponent = class _DmRangeDatePickerLibComponent {
23390
23390
  }
23391
23391
  onPopoverShow() {
23392
23392
  const popEl = this.popover.container;
23393
+ const parentEl = popEl.parentElement;
23393
23394
  this.popoverOpened = true;
23394
23395
  if (popEl) {
23395
23396
  popEl.style.left = "0px";
23396
23397
  popEl.style.top = "0px";
23398
+ if (parentEl) {
23399
+ const rect = popEl.getBoundingClientRect();
23400
+ const parentRect = parentEl.getBoundingClientRect();
23401
+ const isClippedRight = rect.right > window.innerWidth;
23402
+ if (isClippedRight) {
23403
+ popEl.style.left = `-${rect.width - parentRect.width}px`;
23404
+ }
23405
+ }
23397
23406
  }
23398
23407
  }
23399
23408
  onPopoverClose() {
@@ -39800,15 +39809,11 @@ var VerificationService = class _VerificationService {
39800
39809
  return this.apiHandlerService.Post(url, body);
39801
39810
  }
39802
39811
  csvLoad(resource2) {
39803
- const match = resource2.match(/reports\/.*?\.csv/);
39804
- const result = match ? match[0].replace(/\.csv$/, "") : null;
39805
- const url = `${environment.BASE_ACS_URL}acs-proxy?namespace=dm-gcs-docs&bucketName=dm-storage-stage&resourceName=get_google_storage_csv&fileType=csv&filePath=${result}&expiresInSeconds=600`;
39812
+ const match = resource2.match(/\/([^/]+)\.[^.]+$/);
39813
+ const result = match ? match[1] : null;
39814
+ const url = `${environment.BASE_ACS_URL}acs-proxy?namespace=dm-bi-gcs-docs&resourceName=get_google_storage_csv&filePath=${result}`;
39806
39815
  return this.httpClient.post(url, {
39807
- p_report_params: {
39808
- p_report_params: {
39809
- p_domains: [this.sessionService.sessionData?.Domains]
39810
- }
39811
- }
39816
+ p_realm: this.sessionService.sessionData?.Domains
39812
39817
  }, { responseType: "text" });
39813
39818
  }
39814
39819
  static \u0275fac = function VerificationService_Factory(__ngFactoryType__) {
@@ -52073,19 +52078,20 @@ var RadioButtonModule = class _RadioButtonModule {
52073
52078
  })();
52074
52079
 
52075
52080
  // libs/shared/ui/components/src/lib/modals/save-template-modal/save-template-modal.component.ts
52076
- var _c023 = () => ({ width: "460px", "max-height": "340px" });
52081
+ var _c023 = (a0) => ({ width: "460px", "max-height": a0 });
52077
52082
  var _c149 = () => ({ "margin-bottom": "12px" });
52078
- var _c231 = () => ({ width: "20px", height: "20px" });
52083
+ var _c231 = () => ({ "margin-right": "4px" });
52084
+ var _c318 = () => ({ width: "20px", height: "20px" });
52079
52085
  function SaveTemplateModalComponent_Conditional_1_Template(rf, ctx) {
52080
52086
  if (rf & 1) {
52081
- \u0275\u0275elementStart(0, "div", 1)(1, "div", 8);
52082
- \u0275\u0275element(2, "p-radiobutton", 9);
52083
- \u0275\u0275elementStart(3, "label", 10);
52087
+ \u0275\u0275elementStart(0, "div", 1)(1, "div", 9);
52088
+ \u0275\u0275element(2, "p-radiobutton", 10);
52089
+ \u0275\u0275elementStart(3, "label", 11);
52084
52090
  \u0275\u0275text(4, "Save Changes To Existing Template");
52085
52091
  \u0275\u0275elementEnd()();
52086
- \u0275\u0275elementStart(5, "div", 8);
52087
- \u0275\u0275element(6, "p-radiobutton", 11);
52088
- \u0275\u0275elementStart(7, "label", 12);
52092
+ \u0275\u0275elementStart(5, "div", 9);
52093
+ \u0275\u0275element(6, "p-radiobutton", 12);
52094
+ \u0275\u0275elementStart(7, "label", 13);
52089
52095
  \u0275\u0275text(8, "Save As New Template");
52090
52096
  \u0275\u0275elementEnd()()();
52091
52097
  }
@@ -52097,34 +52103,68 @@ function SaveTemplateModalComponent_Conditional_1_Template(rf, ctx) {
52097
52103
  \u0275\u0275property("formControl", ctx_r0.radioButtonControl);
52098
52104
  }
52099
52105
  }
52100
- function SaveTemplateModalComponent_ng_template_7_Conditional_3_Template(rf, ctx) {
52106
+ function SaveTemplateModalComponent_Conditional_7_Conditional_3_Template(rf, ctx) {
52101
52107
  if (rf & 1) {
52102
- \u0275\u0275elementStart(0, "div", 16);
52103
- \u0275\u0275element(1, "p-progress-spinner", 17);
52108
+ \u0275\u0275elementStart(0, "span");
52109
+ \u0275\u0275text(1, "Please note, saved template will be migrated to current selected domain and will not be available under child domain.");
52110
+ \u0275\u0275elementEnd();
52111
+ }
52112
+ }
52113
+ function SaveTemplateModalComponent_Conditional_7_Conditional_4_Template(rf, ctx) {
52114
+ if (rf & 1) {
52115
+ \u0275\u0275elementStart(0, "span");
52116
+ \u0275\u0275text(1, "Template send options configurations will be removed!");
52117
+ \u0275\u0275elementEnd();
52118
+ }
52119
+ }
52120
+ function SaveTemplateModalComponent_Conditional_7_Template(rf, ctx) {
52121
+ if (rf & 1) {
52122
+ \u0275\u0275elementStart(0, "div", 7);
52123
+ \u0275\u0275namespaceSVG();
52124
+ \u0275\u0275elementStart(1, "svg", 14);
52125
+ \u0275\u0275element(2, "path", 15);
52126
+ \u0275\u0275elementEnd();
52127
+ \u0275\u0275template(3, SaveTemplateModalComponent_Conditional_7_Conditional_3_Template, 2, 0, "span")(4, SaveTemplateModalComponent_Conditional_7_Conditional_4_Template, 2, 0, "span");
52104
52128
  \u0275\u0275elementEnd();
52105
52129
  }
52106
52130
  if (rf & 2) {
52131
+ const ctx_r0 = \u0275\u0275nextContext();
52107
52132
  \u0275\u0275advance();
52108
- \u0275\u0275styleMap(\u0275\u0275pureFunction0(2, _c231));
52133
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(3, _c231));
52134
+ \u0275\u0275advance(2);
52135
+ \u0275\u0275conditional(ctx_r0.selectedDifferentSiteId() ? 3 : -1);
52136
+ \u0275\u0275advance();
52137
+ \u0275\u0275conditional(ctx_r0.hasConfiguredSendOptions() ? 4 : -1);
52109
52138
  }
52110
52139
  }
52111
- function SaveTemplateModalComponent_ng_template_7_Template(rf, ctx) {
52140
+ function SaveTemplateModalComponent_ng_template_8_Conditional_3_Template(rf, ctx) {
52141
+ if (rf & 1) {
52142
+ \u0275\u0275elementStart(0, "div", 19);
52143
+ \u0275\u0275element(1, "p-progress-spinner", 20);
52144
+ \u0275\u0275elementEnd();
52145
+ }
52146
+ if (rf & 2) {
52147
+ \u0275\u0275advance();
52148
+ \u0275\u0275styleMap(\u0275\u0275pureFunction0(2, _c318));
52149
+ }
52150
+ }
52151
+ function SaveTemplateModalComponent_ng_template_8_Template(rf, ctx) {
52112
52152
  if (rf & 1) {
52113
52153
  const _r2 = \u0275\u0275getCurrentView();
52114
- \u0275\u0275elementStart(0, "div", 13)(1, "lib-dm-button-lib", 14);
52115
- \u0275\u0275listener("outsideClickEmitter", function SaveTemplateModalComponent_ng_template_7_Template_lib_dm_button_lib_outsideClickEmitter_1_listener() {
52154
+ \u0275\u0275elementStart(0, "div", 16)(1, "lib-dm-button-lib", 17);
52155
+ \u0275\u0275listener("outsideClickEmitter", function SaveTemplateModalComponent_ng_template_8_Template_lib_dm_button_lib_outsideClickEmitter_1_listener() {
52116
52156
  \u0275\u0275restoreView(_r2);
52117
52157
  const ctx_r0 = \u0275\u0275nextContext();
52118
52158
  return \u0275\u0275resetView(ctx_r0.close());
52119
52159
  });
52120
52160
  \u0275\u0275elementEnd();
52121
- \u0275\u0275elementStart(2, "lib-dm-button-lib", 15);
52122
- \u0275\u0275listener("outsideClickEmitter", function SaveTemplateModalComponent_ng_template_7_Template_lib_dm_button_lib_outsideClickEmitter_2_listener() {
52161
+ \u0275\u0275elementStart(2, "lib-dm-button-lib", 18);
52162
+ \u0275\u0275listener("outsideClickEmitter", function SaveTemplateModalComponent_ng_template_8_Template_lib_dm_button_lib_outsideClickEmitter_2_listener() {
52123
52163
  \u0275\u0275restoreView(_r2);
52124
52164
  const ctx_r0 = \u0275\u0275nextContext();
52125
52165
  return \u0275\u0275resetView(ctx_r0.save());
52126
52166
  });
52127
- \u0275\u0275template(3, SaveTemplateModalComponent_ng_template_7_Conditional_3_Template, 2, 3, "div", 16);
52167
+ \u0275\u0275template(3, SaveTemplateModalComponent_ng_template_8_Conditional_3_Template, 2, 3, "div", 19);
52128
52168
  \u0275\u0275elementEnd()();
52129
52169
  }
52130
52170
  if (rf & 2) {
@@ -52147,6 +52187,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52147
52187
  hintMessage = "Available symbols for template name: letters, numbers, underscores, dashes";
52148
52188
  templateService = inject(TemplateService);
52149
52189
  globalMessageService = inject(GlobalMessageService);
52190
+ sessionService = inject(SessionService);
52150
52191
  nameControl = new FormControl("", [
52151
52192
  Validators.required,
52152
52193
  Validators.pattern(/^[A-Za-z0-9\-_]+$/)
@@ -52228,10 +52269,19 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52228
52269
  return list;
52229
52270
  });
52230
52271
  }
52272
+ hasConfiguredSendOptions() {
52273
+ return this.template?.input_params.send_option;
52274
+ }
52275
+ selectedDifferentSiteId = () => {
52276
+ return this.sessionService.sessionData?.Domains && this.template?.domain_id && +this.template?.domain_id != +this.sessionService.sessionData.Domains;
52277
+ };
52278
+ showWarningMessage = () => {
52279
+ return this.isTemplatePresent && this.isExisting && (this.selectedDifferentSiteId() || this.hasConfiguredSendOptions());
52280
+ };
52231
52281
  static \u0275fac = function SaveTemplateModalComponent_Factory(__ngFactoryType__) {
52232
52282
  return new (__ngFactoryType__ || _SaveTemplateModalComponent)();
52233
52283
  };
52234
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _SaveTemplateModalComponent, selectors: [["lib-save-template-modal"]], inputs: { visible: [1, "visible"], params: [1, "params"], reportId: [1, "reportId"] }, outputs: { visible: "visibleChange", saveEmitter: "saveEmitter" }, decls: 8, vars: 12, consts: [["header", "Save Template", 3, "visibleChange", "onShow", "visible", "modal"], [1, "radio-buttons-container"], [1, "fields-wrapper"], [1, "field", 3, "ngStyle"], ["label", "Name", "placeholder", "name", 3, "errorMessage", "hint", "control"], [1, "field"], ["label", "Description", "placeholder", "Description", 3, "control"], ["pTemplate", "footer"], [1, "radio-button"], ["value", "existing", "inputId", "existing", 3, "formControl"], ["for", "existing", 1, "radio-button-label"], ["value", "new", "inputId", "new", 3, "formControl"], ["for", "new", 1, "radio-button-label"], [2, "width", "100%", "display", "flex", "flex-direction", "row", "justify-content", "space-between"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Save", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter", "disabled"], ["icon-left", "", 1, "dm-button-icon"], ["strokeWidth", "6"]], template: function SaveTemplateModalComponent_Template(rf, ctx) {
52284
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _SaveTemplateModalComponent, selectors: [["lib-save-template-modal"]], inputs: { visible: [1, "visible"], params: [1, "params"], reportId: [1, "reportId"] }, outputs: { visible: "visibleChange", saveEmitter: "saveEmitter" }, decls: 9, vars: 14, consts: [["header", "Save Template", 3, "visibleChange", "onShow", "visible", "modal"], [1, "radio-buttons-container"], [1, "fields-wrapper"], [1, "field", 3, "ngStyle"], ["label", "Name", "placeholder", "name", 3, "errorMessage", "hint", "control"], [1, "field"], ["label", "Description", "placeholder", "Description", 3, "control"], [1, "warning-message"], ["pTemplate", "footer"], [1, "radio-button"], ["value", "existing", "inputId", "existing", 3, "formControl"], ["for", "existing", 1, "radio-button-label"], ["value", "new", "inputId", "new", 3, "formControl"], ["for", "new", 1, "radio-button-label"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 24 24", "fill", "none", 3, "ngStyle"], ["d", "M11.9998 7.99999V12M11.9998 16H12.0098M10.6151 2.89171L2.39019 17.0983C1.93398 17.8863 1.70588 18.2803 1.73959 18.6037C1.769 18.8857 1.91677 19.142 2.14613 19.3088C2.40908 19.5 2.86435 19.5 3.77487 19.5H20.2246C21.1352 19.5 21.5904 19.5 21.8534 19.3088C22.0827 19.142 22.2305 18.8857 22.2599 18.6037C22.2936 18.2803 22.0655 17.8863 21.6093 17.0983L13.3844 2.89171C12.9299 2.10654 12.7026 1.71396 12.4061 1.58211C12.1474 1.4671 11.8521 1.4671 11.5935 1.58211C11.2969 1.71396 11.0696 2.10655 10.6151 2.89171Z", "stroke", "#506285", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], [2, "width", "100%", "display", "flex", "flex-direction", "row", "justify-content", "space-between"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Save", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter", "disabled"], ["icon-left", "", 1, "dm-button-icon"], ["strokeWidth", "6"]], template: function SaveTemplateModalComponent_Template(rf, ctx) {
52235
52285
  if (rf & 1) {
52236
52286
  \u0275\u0275elementStart(0, "p-dialog", 0);
52237
52287
  \u0275\u0275twoWayListener("visibleChange", function SaveTemplateModalComponent_Template_p_dialog_visibleChange_0_listener($event) {
@@ -52247,22 +52297,26 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52247
52297
  \u0275\u0275elementEnd();
52248
52298
  \u0275\u0275elementStart(5, "div", 5);
52249
52299
  \u0275\u0275element(6, "lib-dm-input-text-lib", 6);
52250
- \u0275\u0275elementEnd()();
52251
- \u0275\u0275template(7, SaveTemplateModalComponent_ng_template_7_Template, 4, 2, "ng-template", 7);
52300
+ \u0275\u0275elementEnd();
52301
+ \u0275\u0275template(7, SaveTemplateModalComponent_Conditional_7_Template, 5, 4, "div", 7);
52302
+ \u0275\u0275elementEnd();
52303
+ \u0275\u0275template(8, SaveTemplateModalComponent_ng_template_8_Template, 4, 2, "ng-template", 8);
52252
52304
  \u0275\u0275elementEnd();
52253
52305
  }
52254
52306
  if (rf & 2) {
52255
- \u0275\u0275styleMap(\u0275\u0275pureFunction0(10, _c023));
52307
+ \u0275\u0275styleMap(\u0275\u0275pureFunction1(11, _c023, ctx.showWarningMessage() ? "398px" : "340px"));
52256
52308
  \u0275\u0275twoWayProperty("visible", ctx.visible);
52257
52309
  \u0275\u0275property("modal", true);
52258
52310
  \u0275\u0275advance();
52259
52311
  \u0275\u0275conditional(ctx.isTemplatePresent ? 1 : -1);
52260
52312
  \u0275\u0275advance(2);
52261
- \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(11, _c149));
52313
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(13, _c149));
52262
52314
  \u0275\u0275advance();
52263
52315
  \u0275\u0275property("errorMessage", ctx.hintMessage)("hint", ctx.hintMessage)("control", ctx.nameControl);
52264
52316
  \u0275\u0275advance(2);
52265
52317
  \u0275\u0275property("control", ctx.descriptionControl);
52318
+ \u0275\u0275advance();
52319
+ \u0275\u0275conditional(ctx.showWarningMessage() ? 7 : -1);
52266
52320
  }
52267
52321
  }, dependencies: [
52268
52322
  CommonModule,
@@ -52281,7 +52335,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52281
52335
  ProgressSpinner,
52282
52336
  RadioButtonModule,
52283
52337
  RadioButton
52284
- ], styles: ["\n\n.radio-buttons-container[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\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/*# sourceMappingURL=save-template-modal.component.css.map */"], changeDetection: 0 });
52338
+ ], 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 justify-content: space-between;\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.warning-message[_ngcontent-%COMP%] {\n margin-top: 10px;\n color: #4a5469;\n font-size: 12px;\n text-align: justify;\n}\n.warning-message[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n vertical-align: super;\n}\n\n\n\n\n\n\n/*# sourceMappingURL=save-template-modal.component.css.map */'], changeDetection: 0 });
52285
52339
  };
52286
52340
  (() => {
52287
52341
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(SaveTemplateModalComponent, [{
@@ -52302,7 +52356,7 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52302
52356
  header="Save Template"
52303
52357
  [(visible)]="visible"
52304
52358
  [modal]="true"
52305
- [style]="{ width: '460px', 'max-height': '340px' }"
52359
+ [style]="{ width: '460px', 'max-height': showWarningMessage() ? '398px' : '340px' }"
52306
52360
  (onShow)="onShowDialog()"
52307
52361
  >
52308
52362
  @if(isTemplatePresent) {
@@ -52346,6 +52400,33 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52346
52400
  [control]="descriptionControl"
52347
52401
  />
52348
52402
  </div>
52403
+ @if(showWarningMessage()) {
52404
+ <div class="warning-message">
52405
+ <svg
52406
+ xmlns="http://www.w3.org/2000/svg"
52407
+ width="16"
52408
+ height="16"
52409
+ viewBox="0 0 24 24"
52410
+ fill="none"
52411
+ [ngStyle]="{ 'margin-right': '4px' }"
52412
+ >
52413
+ <path
52414
+ d="M11.9998 7.99999V12M11.9998 16H12.0098M10.6151 2.89171L2.39019 17.0983C1.93398 17.8863 1.70588 18.2803 1.73959 18.6037C1.769 18.8857 1.91677 19.142 2.14613 19.3088C2.40908 19.5 2.86435 19.5 3.77487 19.5H20.2246C21.1352 19.5 21.5904 19.5 21.8534 19.3088C22.0827 19.142 22.2305 18.8857 22.2599 18.6037C22.2936 18.2803 22.0655 17.8863 21.6093 17.0983L13.3844 2.89171C12.9299 2.10654 12.7026 1.71396 12.4061 1.58211C12.1474 1.4671 11.8521 1.4671 11.5935 1.58211C11.2969 1.71396 11.0696 2.10655 10.6151 2.89171Z"
52415
+ stroke="#506285"
52416
+ stroke-width="2"
52417
+ stroke-linecap="round"
52418
+ stroke-linejoin="round"
52419
+ />
52420
+ </svg>
52421
+ @if(selectedDifferentSiteId()) {
52422
+ <span>Please note, saved template will be migrated to current selected domain and will not be available under child domain.</span>
52423
+ }
52424
+
52425
+ @if(hasConfiguredSendOptions()) {
52426
+ <span>Template send options configurations will be removed!</span>
52427
+ }
52428
+ </div>
52429
+ }
52349
52430
  </div>
52350
52431
  <ng-template pTemplate="footer">
52351
52432
  <div
@@ -52376,11 +52457,11 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52376
52457
  </div>
52377
52458
  </ng-template>
52378
52459
  </p-dialog>
52379
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["/* libs/shared/ui/components/src/lib/modals/save-template-modal/save-template-modal.component.scss */\n.radio-buttons-container {\n display: flex;\n justify-content: space-between;\n margin-bottom: 20px;\n}\n.radio-buttons-container .radio-button-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n margin-left: 5px;\n}\n.radio-buttons-container .radio-button {\n display: flex;\n align-items: baseline;\n}\n.radio-buttons-container .p-radiobutton-box:hover {\n background: #ebf4fc !important;\n}\n/*# sourceMappingURL=save-template-modal.component.css.map */\n"] }]
52460
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: ['/* node_modules/modern-normalize/modern-normalize.css */\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\nhtml {\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 {\n margin: 0;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n "Liberation Mono",\n Menlo,\n monospace;\n font-size: 1em;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\ntable {\n border-color: currentcolor;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n}\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nlegend {\n padding: 0;\n}\nprogress {\n vertical-align: baseline;\n}\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n[type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\nsummary {\n display: list-item;\n}\n\n/* libs/shared/ui/components/src/lib/modals/save-template-modal/save-template-modal.component.scss */\n* {\n font-family:\n Inter,\n Arial,\n serif;\n caret-color: transparent !important;\n}\ninput,\ntextarea,\n[contenteditable=true] {\n caret-color: auto !important;\n}\nbody {\n margin: 0;\n padding: 0;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n padding: 0;\n}\n.input:focus-visible {\n box-shadow: 0px 0px 0px 4px rgba(0, 118, 221, 0.16) !important;\n}\n.form-control-container {\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 .form-control-label {\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 .form-control-field,\n.form-control-container .p-autocomplete-input {\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 .form-control-error-message {\n font-size: 12px;\n color: #d6421e;\n margin-top: 2px;\n}\n.form-control-container .form-control-hint-message {\n color: #4a5469;\n font-size: 12px;\n margin-top: 2px;\n}\n.radio-buttons-container {\n display: flex;\n justify-content: space-between;\n margin-bottom: 20px;\n}\n.radio-buttons-container .radio-button-label {\n color: #4a5469;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n margin-left: 5px;\n}\n.radio-buttons-container .radio-button {\n display: flex;\n align-items: baseline;\n}\n.radio-buttons-container .p-radiobutton-box:hover {\n background: #ebf4fc !important;\n}\n.warning-message {\n margin-top: 10px;\n color: #4a5469;\n font-size: 12px;\n text-align: justify;\n}\n.warning-message span {\n vertical-align: super;\n}\n/*! Bundled license information:\n\nmodern-normalize/modern-normalize.css:\n (*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize *)\n*/\n/*# sourceMappingURL=save-template-modal.component.css.map */\n'] }]
52380
52461
  }], () => [], null);
52381
52462
  })();
52382
52463
  (() => {
52383
- (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: 130 });
52464
+ (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 });
52384
52465
  })();
52385
52466
 
52386
52467
  // node_modules/primeng/fesm2022/primeng-dragdrop.mjs
@@ -53668,11 +53749,11 @@ var DmDatePickerLibComponent = class _DmDatePickerLibComponent {
53668
53749
 
53669
53750
  // libs/shared/ui/components/src/lib/modals/send-settings-modal/send-settings-modal.ts
53670
53751
  var _forTrack04 = ($index, $item) => $item.dag_id;
53671
- var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-IWWYU6GQ.js").then((m) => m.DeleteTemplateModalComponent)];
53752
+ var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)];
53672
53753
  var _c026 = () => ({ "width": "460px", "max-height": "540px" });
53673
53754
  var _c151 = () => ({ width: "20px", height: "20px" });
53674
53755
  var _c237 = () => ({ "min-width": "720px" });
53675
- var _c318 = () => ({ height: "20px" });
53756
+ var _c319 = () => ({ height: "20px" });
53676
53757
  var _c414 = () => ({ "min-width": "80px" });
53677
53758
  var _c511 = () => ({ width: "40px", height: "40px" });
53678
53759
  function SendSettingsModalComponent_Conditional_0_Conditional_10_Conditional_2_Template(rf, ctx) {
@@ -54021,7 +54102,7 @@ function SendSettingsModalComponent_Conditional_1_Conditional_1_Template(rf, ctx
54021
54102
  if (rf & 2) {
54022
54103
  const ctx_r1 = \u0275\u0275nextContext(2);
54023
54104
  \u0275\u0275advance(2);
54024
- \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(2, _c318));
54105
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(2, _c319));
54025
54106
  \u0275\u0275advance(14);
54026
54107
  \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(3, _c414));
54027
54108
  \u0275\u0275advance(3);
@@ -54129,12 +54210,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54129
54210
  currentReport;
54130
54211
  mailTo = "";
54131
54212
  scheduleId = "";
54132
- fileNameVariables = [
54133
- { "id": "template_name", "name": "template_name" },
54134
- { "id": "schedule_name", "name": "schedule_name" },
54135
- { "id": "timestamp", "name": "timestamp" },
54136
- { "id": "uuid", "name": "uuid" }
54137
- ];
54213
+ fileNameVariables = this.sendingService.fileNameVariables;
54138
54214
  constructor(fb, apiTracingInfo) {
54139
54215
  this.fb = fb;
54140
54216
  this.apiTracingInfo = apiTracingInfo;
@@ -54501,7 +54577,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54501
54577
  ], 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 });
54502
54578
  };
54503
54579
  (() => {
54504
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-IWWYU6GQ.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54580
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54505
54581
  setClassMetadata(SendSettingsModalComponent, [{
54506
54582
  type: Component,
54507
54583
  args: [{ selector: "lib-send-settings-modal", standalone: true, imports: [
@@ -54957,12 +55033,12 @@ Are you sure you want to delete the schedule?"\r
54957
55033
 
54958
55034
  // libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts
54959
55035
  var _forTrack05 = ($index, $item) => $item.template_id;
54960
- var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-IWWYU6GQ.js").then((m) => m.DeleteTemplateModalComponent)];
54961
- var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-2S7ZPSEJ.js").then((m) => m.DomainsOverloadModalComponent)];
55036
+ var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent)];
55037
+ var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-CDNMVOIM.js").then((m) => m.DomainsOverloadModalComponent)];
54962
55038
  var _c027 = (a0) => ({ "selected-row": a0 });
54963
55039
  var _c158 = () => ({ position: "relative" });
54964
55040
  var _c238 = () => ({ width: "16px", height: "16px" });
54965
- var _c319 = () => ({ position: "absolute", width: "8px", height: "8px", background: "#2eb398", "border-radius": "50%", right: "2px", top: "2px" });
55041
+ var _c320 = () => ({ position: "absolute", width: "8px", height: "8px", background: "#2eb398", "border-radius": "50%", right: "2px", top: "2px" });
54966
55042
  var _c415 = () => ({ width: "40px", height: "40px" });
54967
55043
  function TemplateSelectModalComponent_Conditional_7_Conditional_4_Template(rf, ctx) {
54968
55044
  if (rf & 1) {
@@ -55027,7 +55103,7 @@ function TemplateSelectModalComponent_Conditional_9_Conditional_0_For_11_Conditi
55027
55103
  \u0275\u0275element(0, "span", 30);
55028
55104
  }
55029
55105
  if (rf & 2) {
55030
- \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(1, _c319));
55106
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(1, _c320));
55031
55107
  }
55032
55108
  }
55033
55109
  function TemplateSelectModalComponent_Conditional_9_Conditional_0_For_11_Conditional_23_Template(rf, ctx) {
@@ -55079,8 +55155,8 @@ function TemplateSelectModalComponent_Conditional_9_Conditional_0_For_11_Templat
55079
55155
  const template_r7 = \u0275\u0275restoreView(_r6).$implicit;
55080
55156
  const ctx_r3 = \u0275\u0275nextContext(3);
55081
55157
  const op_r2 = \u0275\u0275reference(5);
55082
- ctx_r3.runOverloadCheck(template_r7, "run");
55083
- return \u0275\u0275resetView(op_r2.toggle($event));
55158
+ op_r2.toggle($event);
55159
+ return \u0275\u0275resetView(ctx_r3.runOverloadCheck(template_r7, "run"));
55084
55160
  });
55085
55161
  \u0275\u0275namespaceSVG();
55086
55162
  \u0275\u0275elementStart(9, "svg", 25);
@@ -55279,6 +55355,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55279
55355
  csvLoadEmitter = output();
55280
55356
  templateService = inject(TemplateService);
55281
55357
  messageService = inject(GlobalMessageService);
55358
+ sessionService = inject(SessionService);
55282
55359
  cdr = inject(ChangeDetectorRef);
55283
55360
  selectedTemplate;
55284
55361
  reportId = input.required();
@@ -55333,6 +55410,8 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55333
55410
  });
55334
55411
  }
55335
55412
  duplicateTemplate(template, index) {
55413
+ if (this.templateDuplicateLoadingIds.has(template.template_id))
55414
+ return;
55336
55415
  this.templateDuplicateLoadingIds.add(template.template_id);
55337
55416
  this.templateService.saveTemplate(`${template.template_name}_duplicated`, template.template_desc, template.input_params, template.report_id, null, false).pipe(take(1)).subscribe({
55338
55417
  next: (duplicated) => {
@@ -55388,13 +55467,15 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55388
55467
  }
55389
55468
  return this.templateSignalList().filter((item) => item.template_name.toLowerCase().includes(this.searchQuery.toLowerCase()));
55390
55469
  }
55391
- domainsOverloadConfirm(run) {
55392
- console.log("this.run", run, this.overloadCheckTemplate);
55393
- if (run && this.overloadCheckTemplate) {
55470
+ domainsOverloadConfirm(event2) {
55471
+ const { confirm } = event2;
55472
+ if (confirm && this.overloadCheckTemplate) {
55394
55473
  this.overloadCheckAction == "run" ? this.runReport(this.overloadCheckTemplate) : this.runCsv(this.overloadCheckTemplate);
55395
55474
  }
55396
55475
  }
55397
55476
  runOverloadCheck(template, action) {
55477
+ if (action == "download" && this.templateCsvLoadingIds.has(template.template_id))
55478
+ return;
55398
55479
  if (this.isAllDomainsSelected(template)) {
55399
55480
  this.overloadCheckTemplate = template;
55400
55481
  this.overloadCheckAction = action;
@@ -55407,7 +55488,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55407
55488
  return template.input_params && template.input_params.fieldValues && template.input_params.fieldValues.merchant_name && template.input_params.fieldValues.merchant_name.length || 0;
55408
55489
  }
55409
55490
  isAllDomainsSelected(template) {
55410
- if (!this.domainLookups || !this.domainLookups.length || this.domainLookups.length == 1)
55491
+ if (!this.domainLookups || !this.domainLookups.length || this.domainLookups.length == 1 || this.sessionService.sessionData?.Domains && this.sessionService.sessionData.Domains != "1000")
55411
55492
  return false;
55412
55493
  return this.domainLookups.length === this.getTemplateSelectedDomains(template);
55413
55494
  }
@@ -55470,7 +55551,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55470
55551
  ], 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 });
55471
55552
  };
55472
55553
  (() => {
55473
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-IWWYU6GQ.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-2S7ZPSEJ.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55554
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-OHQYNXLC.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-CDNMVOIM.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55474
55555
  setClassMetadata(TemplateSelectModalComponent, [{
55475
55556
  type: Component,
55476
55557
  args: [{ selector: "lib-template-select-modal", standalone: true, imports: [
@@ -55597,7 +55678,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55597
55678
  pTooltip="Run"\r
55598
55679
  tooltipPosition="top"\r
55599
55680
  positionTop="-5"\r
55600
- (click)="runOverloadCheck(template, 'run'); op.toggle($event)"\r
55681
+ (click)="op.toggle($event); runOverloadCheck(template, 'run');"\r
55601
55682
  >\r
55602
55683
  <svg\r
55603
55684
  xmlns="http://www.w3.org/2000/svg"\r
@@ -55784,7 +55865,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55784
55865
  });
55785
55866
  })();
55786
55867
  (() => {
55787
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(TemplateSelectModalComponent, { className: "TemplateSelectModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts", lineNumber: 53 });
55868
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(TemplateSelectModalComponent, { className: "TemplateSelectModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts", lineNumber: 54 });
55788
55869
  })();
55789
55870
 
55790
55871
  // node_modules/primeng/fesm2022/primeng-toast.mjs
@@ -55799,7 +55880,7 @@ var _c239 = (a0) => ({
55799
55880
  value: "visible",
55800
55881
  params: a0
55801
55882
  });
55802
- var _c320 = (a0, a1) => ({
55883
+ var _c321 = (a0, a1) => ({
55803
55884
  $implicit: a0,
55804
55885
  closeFn: a1
55805
55886
  });
@@ -55817,7 +55898,7 @@ function ToastItem_Conditional_2_Template(rf, ctx) {
55817
55898
  }
55818
55899
  if (rf & 2) {
55819
55900
  const ctx_r1 = \u0275\u0275nextContext();
55820
- \u0275\u0275property("ngTemplateOutlet", ctx_r1.headlessTemplate)("ngTemplateOutletContext", \u0275\u0275pureFunction2(2, _c320, ctx_r1.message, ctx_r1.onCloseIconClick));
55901
+ \u0275\u0275property("ngTemplateOutlet", ctx_r1.headlessTemplate)("ngTemplateOutletContext", \u0275\u0275pureFunction2(2, _c321, ctx_r1.message, ctx_r1.onCloseIconClick));
55821
55902
  }
55822
55903
  }
55823
55904
  function ToastItem_Conditional_3_ng_container_1_span_1_Template(rf, ctx) {
@@ -57252,7 +57333,7 @@ var AppComponent_Conditional_23_Defer_7_DepsFn = () => [ReportConfigurationModal
57252
57333
  var _c029 = (a0) => ({ display: a0 });
57253
57334
  var _c160 = (a0) => ({ width: a0 });
57254
57335
  var _c240 = () => ({ "margin-right": "16px" });
57255
- var _c321 = () => ({ height: "20px" });
57336
+ var _c324 = () => ({ height: "20px" });
57256
57337
  var _c417 = () => [];
57257
57338
  var _c513 = () => ({ width: "20px", height: "20px" });
57258
57339
  var _c612 = () => ({ width: "60px", height: "60px" });
@@ -57334,7 +57415,7 @@ function AppComponent_Conditional_12_ng_template_2_Conditional_5_Template(rf, ct
57334
57415
  \u0275\u0275advance();
57335
57416
  \u0275\u0275property("disabled", ctx_r2.filterForm && !ctx_r2.filterForm.dirty);
57336
57417
  \u0275\u0275advance();
57337
- \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(4, _c321));
57418
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(4, _c324));
57338
57419
  }
57339
57420
  }
57340
57421
  function AppComponent_Conditional_12_ng_template_2_Template(rf, ctx) {
@@ -57551,7 +57632,7 @@ function AppComponent_Conditional_12_Conditional_5_Template(rf, ctx) {
57551
57632
  \u0275\u0275listener("outsideClickEmitter", function AppComponent_Conditional_12_Conditional_5_Template_lib_dm_button_lib_outsideClickEmitter_14_listener() {
57552
57633
  \u0275\u0275restoreView(_r10);
57553
57634
  const ctx_r2 = \u0275\u0275nextContext(2);
57554
- return \u0275\u0275resetView(ctx_r2.runOverloadCheck());
57635
+ return \u0275\u0275resetView(ctx_r2.runOverloadCheck("runReport"));
57555
57636
  });
57556
57637
  \u0275\u0275template(15, AppComponent_Conditional_12_Conditional_5_Conditional_15_Template, 3, 0, "div", 30)(16, AppComponent_Conditional_12_Conditional_5_Conditional_16_Template, 2, 3, "div", 30);
57557
57638
  \u0275\u0275elementEnd()()()();
@@ -57567,7 +57648,7 @@ function AppComponent_Conditional_12_Conditional_5_Template(rf, ctx) {
57567
57648
  \u0275\u0275advance(4);
57568
57649
  \u0275\u0275property("disabled", !ctx_r2.isTemplateSavingEnabled);
57569
57650
  \u0275\u0275advance(4);
57570
- \u0275\u0275property("disabled", ctx_r2.filterForm.invalid || !(ctx_r2.filterForm.value["verification_updated_date"] == null ? null : ctx_r2.filterForm.value["verification_updated_date"].start) && !(ctx_r2.filterForm.value["verification_creation_date"] == null ? null : ctx_r2.filterForm.value["verification_creation_date"].start));
57651
+ \u0275\u0275property("disabled", ctx_r2.filterForm.invalid || !(ctx_r2.filterForm.value["verification_updated_date"] == null ? null : ctx_r2.filterForm.value["verification_updated_date"].start) && !(ctx_r2.filterForm.value["verification_creation_date"] == null ? null : ctx_r2.filterForm.value["verification_creation_date"].start) || ctx_r2.runState);
57571
57652
  \u0275\u0275advance();
57572
57653
  \u0275\u0275conditional(!ctx_r2.runState ? 15 : 16);
57573
57654
  }
@@ -57616,7 +57697,7 @@ function AppComponent_ng_template_16_Conditional_9_Template(rf, ctx) {
57616
57697
  \u0275\u0275elementEnd()();
57617
57698
  }
57618
57699
  if (rf & 2) {
57619
- \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(1, _c321));
57700
+ \u0275\u0275property("ngStyle", \u0275\u0275pureFunction0(1, _c324));
57620
57701
  }
57621
57702
  }
57622
57703
  function AppComponent_ng_template_16_Template(rf, ctx) {
@@ -57642,8 +57723,7 @@ function AppComponent_ng_template_16_Template(rf, ctx) {
57642
57723
  \u0275\u0275listener("outsideClickEmitter", function AppComponent_ng_template_16_Template_lib_dm_button_lib_outsideClickEmitter_7_listener() {
57643
57724
  \u0275\u0275restoreView(_r15);
57644
57725
  const ctx_r2 = \u0275\u0275nextContext();
57645
- ctx_r2.csvLoading.set(true);
57646
- return \u0275\u0275resetView(ctx_r2.downloadCsv());
57726
+ return \u0275\u0275resetView(ctx_r2.runOverloadCheck("downloadCsv"));
57647
57727
  });
57648
57728
  \u0275\u0275template(8, AppComponent_ng_template_16_Conditional_8_Template, 2, 3, "div", 30)(9, AppComponent_ng_template_16_Conditional_9_Template, 3, 2, "div", 69);
57649
57729
  \u0275\u0275elementEnd()()();
@@ -57652,8 +57732,10 @@ function AppComponent_ng_template_16_Template(rf, ctx) {
57652
57732
  const ctx_r2 = \u0275\u0275nextContext();
57653
57733
  \u0275\u0275advance(5);
57654
57734
  \u0275\u0275twoWayProperty("ngModel", ctx_r2.isOldTableStyle);
57655
- \u0275\u0275property("ngModelOptions", \u0275\u0275pureFunction0(3, _c711));
57656
- \u0275\u0275advance(3);
57735
+ \u0275\u0275property("ngModelOptions", \u0275\u0275pureFunction0(4, _c711));
57736
+ \u0275\u0275advance(2);
57737
+ \u0275\u0275property("disabled", ctx_r2.csvLoading());
57738
+ \u0275\u0275advance();
57657
57739
  \u0275\u0275conditional(ctx_r2.csvLoading() ? 8 : 9);
57658
57740
  }
57659
57741
  }
@@ -57762,7 +57844,9 @@ function AppComponent_Conditional_23_Defer_3_Template(rf, ctx) {
57762
57844
  \u0275\u0275listener("saveEmitter", function AppComponent_Conditional_23_Defer_3_Template_lib_save_template_modal_saveEmitter_0_listener() {
57763
57845
  \u0275\u0275restoreView(_r20);
57764
57846
  const ctx_r2 = \u0275\u0275nextContext(2);
57765
- return \u0275\u0275resetView(ctx_r2.isTemplateSaved.set(true));
57847
+ ctx_r2.isTemplateSaved.set(true);
57848
+ ctx_r2.domainsOverloadSaveMode = false;
57849
+ return \u0275\u0275resetView(ctx_r2.domainsOverloadAction = null);
57766
57850
  });
57767
57851
  \u0275\u0275elementEnd();
57768
57852
  }
@@ -57842,7 +57926,12 @@ var AppComponent = class _AppComponent {
57842
57926
  computation: (all) => {
57843
57927
  if (all) {
57844
57928
  const selectedIds = this.templateSignal()?.input_params.visibleFields ?? all?.filter((f) => f.is_default === "true").map((f) => f.field_id);
57845
- return all?.filter((f) => selectedIds.includes(f.field_id));
57929
+ return selectedIds.reduce((acc, id) => {
57930
+ const field = all.find(({ field_id }) => field_id == id);
57931
+ if (field)
57932
+ acc.push(field);
57933
+ return acc;
57934
+ }, []);
57846
57935
  }
57847
57936
  return void 0;
57848
57937
  }
@@ -57866,7 +57955,8 @@ var AppComponent = class _AppComponent {
57866
57955
  runState = false;
57867
57956
  documentsModal = false;
57868
57957
  isOldTableStyle = false;
57869
- domainsOverloadSaveMode = true;
57958
+ domainsOverloadSaveMode = false;
57959
+ domainsOverloadAction = null;
57870
57960
  gridApi;
57871
57961
  orderBy;
57872
57962
  orderDirection;
@@ -58254,6 +58344,8 @@ var AppComponent = class _AppComponent {
58254
58344
  });
58255
58345
  }
58256
58346
  downloadCsv(template) {
58347
+ if (!template)
58348
+ this.csvLoading.set(true);
58257
58349
  this.verificationService.runReport({
58258
58350
  offset: 0,
58259
58351
  limit: this.limit(),
@@ -58320,6 +58412,8 @@ var AppComponent = class _AppComponent {
58320
58412
  show_last_verification: true
58321
58413
  };
58322
58414
  this.filterForm.reset(defaults);
58415
+ this.filterForm.markAsPristine();
58416
+ this.filterForm.markAsUntouched();
58323
58417
  }
58324
58418
  calculateHeightPosition(element) {
58325
58419
  const content = element.parentElement;
@@ -58347,36 +58441,47 @@ var AppComponent = class _AppComponent {
58347
58441
  }
58348
58442
  openSaveTemplateModal() {
58349
58443
  this.domainsOverloadSaveMode = true;
58444
+ this.domainsOverloadAction = null;
58350
58445
  if (this.isAllDomainsSelected) {
58351
58446
  this.domainsOverloadVisible.set(true);
58352
58447
  } else {
58353
58448
  this.modalVisible.set(true);
58354
58449
  }
58355
58450
  }
58356
- runOverloadCheck() {
58451
+ runOverloadCheck(action) {
58452
+ this.domainsOverloadSaveMode = false;
58357
58453
  if (this.isAllDomainsSelected) {
58358
- this.domainsOverloadSaveMode = false;
58454
+ this.domainsOverloadAction = action;
58359
58455
  this.domainsOverloadVisible.set(true);
58360
58456
  } else {
58361
- this.saveTemporaryTemplate();
58362
- this.runReport(0, false);
58457
+ if (action == "runReport") {
58458
+ this.saveTemporaryTemplate();
58459
+ this.runReport(0, false);
58460
+ } else if (action == "downloadCsv") {
58461
+ this.downloadCsv();
58462
+ }
58363
58463
  }
58364
58464
  }
58365
- domainsOverloadConfirm(isSaveMode) {
58366
- if (isSaveMode) {
58465
+ domainsOverloadConfirm(event2) {
58466
+ const { confirm, isSaveMode } = event2;
58467
+ if (confirm && isSaveMode) {
58367
58468
  this.modalVisible.set(true);
58368
- } else {
58369
- this.saveTemporaryTemplate();
58370
- this.runReport(0, false);
58469
+ } else if (confirm) {
58470
+ if (this.domainsOverloadAction == "runReport") {
58471
+ this.saveTemporaryTemplate();
58472
+ this.runReport(0, false);
58473
+ } else if (this.domainsOverloadAction == "downloadCsv") {
58474
+ this.downloadCsv();
58475
+ }
58371
58476
  }
58372
58477
  }
58373
58478
  get isAllDomainsSelected() {
58374
- if (!this.domainLookupsSignal()?.length || this.domainLookupsSignal()?.length == 1)
58479
+ if (!this.domainLookupsSignal()?.length || this.domainLookupsSignal()?.length == 1 || this.sessionService.sessionData?.Domains && this.sessionService.sessionData.Domains != "1000")
58375
58480
  return false;
58376
58481
  return this.domainLookupsSignal()?.length === this.filterForm.get("merchant_name").value.length;
58377
58482
  }
58378
58483
  get isTemplateSavingEnabled() {
58379
- return !this.isTemplateSaved() && this.filterForm && this.filterForm.get("merchant_name") && this.filterForm.get("merchant_name").value && this.filterForm.get("merchant_name").value.length > 0;
58484
+ return !this.isTemplateSaved() && this.filterForm && this.filterForm.dirty && this.filterForm.get("merchant_name") && this.filterForm.get("merchant_name").value && this.filterForm.get("merchant_name").value.length > 0;
58380
58485
  }
58381
58486
  applyConfigurationFields(event2) {
58382
58487
  this.isTemplateSaved.set(false);
@@ -58425,7 +58530,7 @@ var AppComponent = class _AppComponent {
58425
58530
  static \u0275fac = function AppComponent_Factory(__ngFactoryType__) {
58426
58531
  return new (__ngFactoryType__ || _AppComponent)();
58427
58532
  };
58428
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _AppComponent, selectors: [["app-root"]], features: [\u0275\u0275ProvidersFeature([TemplateService])], decls: 25, vars: 23, consts: [["tablePanel", ""], ["header", ""], ["panel", ""], ["dialog", ""], ["contentWrapper", ""], [1, "everymatrix-mm-verification-report"], [1, "report-wrapper"], [1, "report-header-container"], [1, "report-titles-container"], [1, "report-title"], [1, "template-title"], [3, "reportId", "domainLookups", "templateCsvLoadingConfig"], [3, "toggleable"], [1, "table-panel-container", 3, "ngStyle"], [3, "limitChange", "loadMoreEmitter", "sortingEmitter", "ngStyle", "limit", "startIndex", "loading", "tableColumns", "rawTableData", "generalTotal", "scrollHeight"], [3, "options"], [3, "templateCsvLoadingConfigChange", "csvLoadEmitter", "runReportEmitter", "reportId", "domainLookups", "templateCsvLoadingConfig"], ["pTemplate", "icons"], [3, "formGroup"], [1, "spinner-wrapper"], [1, "panel-header-container", 3, "ngStyle"], [1, "panel-header-left"], [1, "panel-header-title"], ["tooltipPosition", "top", 1, "panel-header-title-sub", 3, "pTooltip"], [1, "panel-header-right", 3, "ngStyle"], ["size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter", "disabled"], ["icon-right", "", 1, "dm-button-icon", 3, "ngStyle"], ["pTooltip", "Reset Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M0.833496 10C0.833496 5.39763 4.56446 1.66667 9.16683 1.66667C11.4688 1.66667 13.5541 2.60117 15.0614 4.10949C15.5945 4.64289 16.1653 5.30207 16.6668 5.91204V3.33334C16.6668 2.8731 17.0399 2.50001 17.5002 2.50001C17.9604 2.50001 18.3335 2.8731 18.3335 3.33334V8.33334C18.3335 8.79358 17.9604 9.16667 17.5002 9.16667H12.5002C12.0399 9.16667 11.6668 8.79358 11.6668 8.33334C11.6668 7.8731 12.0399 7.50001 12.5002 7.50001H15.8078C15.231 6.77607 14.5139 5.91947 13.8825 5.28759C12.675 4.07929 11.0088 3.33334 9.16683 3.33334C5.48493 3.33334 2.50016 6.31811 2.50016 10C2.50016 13.6819 5.48493 16.6667 9.16683 16.6667C12.2049 16.6667 14.7704 14.6337 15.573 11.8523C15.7006 11.4101 16.1625 11.1551 16.6047 11.2827C17.0469 11.4103 17.302 11.8722 17.1744 12.3144C16.1714 15.7901 12.9672 18.3333 9.16683 18.3333C4.56446 18.3333 0.833496 14.6024 0.833496 10Z", "fill", "#5D6983"], ["text", "Configure Report", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["icon-left", "", 1, "dm-button-icon"], ["xmlns", "http://www.w3.org/2000/svg", "width", "18", "height", "14", "viewBox", "0 0 18 14", "fill", "none"], ["d", "M1.5 3.66667H11.5M11.5 3.66667C11.5 5.04738 12.6192 6.16667 14 6.16667C15.3807 6.16667 16.5 5.04738 16.5 3.66667C16.5 2.28596 15.3807 1.16667 14 1.16667C12.6192 1.16667 11.5 2.28596 11.5 3.66667ZM6.5 10.3333H16.5M6.5 10.3333C6.5 11.7141 5.38071 12.8333 4 12.8333C2.61929 12.8333 1.5 11.7141 1.5 10.3333C1.5 8.95258 2.61929 7.83333 4 7.83333C5.38071 7.83333 6.5 8.95258 6.5 10.3333Z", "stroke", "#5D6983", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "pTooltip", "Collapse Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", 1, "panel-icons"], ["pTooltip", "Expand Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "panel-icons"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "pTooltip", "Collapse Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", 1, "panel-icons", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.41009 6.91075C9.73553 6.58531 10.2632 6.58531 10.5886 6.91075L15.5886 11.9107C15.914 12.2362 15.914 12.7638 15.5886 13.0893C15.2632 13.4147 14.7355 13.4147 14.4101 13.0893L9.99935 8.67852L5.5886 13.0893C5.26317 13.4147 4.73553 13.4147 4.41009 13.0893C4.08466 12.7638 4.08466 12.2362 4.41009 11.9107L9.41009 6.91075Z", "fill", "#5D6983"], ["pTooltip", "Expand Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "panel-icons", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M4.41107 6.91083C4.73651 6.58539 5.26414 6.58539 5.58958 6.91083L10.0003 11.3216L14.4111 6.91083C14.7365 6.58539 15.2641 6.58539 15.5896 6.91083C15.915 7.23626 15.915 7.7639 15.5896 8.08934L10.5896 13.0893C10.2641 13.4148 9.73651 13.4148 9.41107 13.0893L4.41107 8.08934C4.08563 7.7639 4.08563 7.23626 4.41107 6.91083Z", "fill", "#5D6983"], [1, "filters-content"], [1, "filter-options"], [1, "form-control-container", "last-updated-checkbox"], ["inputId", "lastUpdate", "formControlName", "show_last_verification", 3, "binary"], ["for", "lastUpdate", 1, "form-control-label"], [1, "filter-actions"], ["text", "Save Template", "size", "medium", "variant", "primary-outlined", 3, "outsideClickEmitter", "disabled"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M12.8369 3.35637C12.7633 3.3387 12.6754 3.33335 12.2281 3.33335H6.66602V5.33335C6.66602 5.58045 6.66666 5.71566 6.6746 5.81282C6.67492 5.81669 6.67524 5.82035 6.67556 5.82381C6.67902 5.82413 6.68268 5.82444 6.68654 5.82476C6.7837 5.8327 6.91891 5.83335 7.16602 5.83335H12.8327C13.0798 5.83335 13.215 5.8327 13.3122 5.82476C13.316 5.82444 13.3197 5.82413 13.3231 5.82381C13.3235 5.82035 13.3238 5.81669 13.3241 5.81282C13.332 5.71566 13.3327 5.58045 13.3327 5.33335V3.68005C13.1758 3.52644 13.1264 3.48596 13.0777 3.45615C13.0032 3.41046 12.9219 3.37679 12.8369 3.35637ZM14.7552 2.74398L14.703 2.69181C14.6865 2.67531 14.6701 2.65893 14.6539 2.64269C14.4144 2.4027 14.2032 2.19111 13.9486 2.03508C13.7249 1.89801 13.481 1.797 13.2259 1.73576C12.9356 1.66604 12.6366 1.66632 12.2975 1.66664C12.2746 1.66666 12.2514 1.66668 12.2281 1.66668L6.46493 1.66668C6.25739 1.66668 6.06106 1.66667 5.87552 1.66776C5.86133 1.66704 5.84705 1.66668 5.83268 1.66668C5.81429 1.66668 5.79604 1.66728 5.77795 1.66845C5.40448 1.67155 5.07624 1.68008 4.78949 1.70351C4.32108 1.74178 3.89049 1.82392 3.48605 2.02999C2.85884 2.34957 2.34891 2.8595 2.02933 3.48671C1.82325 3.89116 1.74112 4.32174 1.70284 4.79016C1.666 5.24115 1.66601 5.79479 1.66602 6.4656V13.5344C1.66601 14.2052 1.666 14.7589 1.70284 15.2099C1.74112 15.6783 1.82325 16.1089 2.02933 16.5133C2.34891 17.1405 2.85884 17.6505 3.48605 17.97C3.89049 18.1761 4.32108 18.2582 4.78949 18.2965C5.07624 18.3199 5.40448 18.3285 5.77794 18.3316C5.79604 18.3328 5.81429 18.3333 5.83268 18.3333C5.84705 18.3333 5.86133 18.333 5.87552 18.3323C6.06105 18.3334 6.25737 18.3333 6.46491 18.3333H13.5338C13.7413 18.3333 13.9376 18.3334 14.1232 18.3323C14.1374 18.333 14.1516 18.3333 14.166 18.3333C14.1844 18.3333 14.2027 18.3328 14.2208 18.3316C14.5942 18.3285 14.9225 18.3199 15.2092 18.2965C15.6776 18.2582 16.1082 18.1761 16.5127 17.97C17.1399 17.6505 17.6498 17.1405 17.9694 16.5133C18.1754 16.1089 18.2576 15.6783 18.2959 15.2099C18.3327 14.7589 18.3327 14.2052 18.3327 13.5345V7.77125C18.3327 7.74792 18.3327 7.72477 18.3327 7.70182C18.333 7.36274 18.3333 7.06379 18.2636 6.77342C18.2024 6.51833 18.1014 6.27447 17.9643 6.05079C17.8083 5.79618 17.5967 5.58498 17.3567 5.34544C17.3404 5.32922 17.3241 5.31288 17.3076 5.29638L14.7552 2.74398C14.7552 2.74405 14.7551 2.74391 14.7552 2.74398ZM14.9994 5.34519V5.35991C14.9994 5.57024 14.9994 5.77507 14.9852 5.94854C14.9697 6.13903 14.9329 6.36381 14.8177 6.59C14.6579 6.9036 14.4029 7.15857 14.0893 7.31836C13.8631 7.43361 13.6384 7.47033 13.4479 7.48589C13.2744 7.50006 13.0696 7.50004 12.8593 7.50002L7.16602 7.50001C7.15715 7.50001 7.14829 7.50001 7.13944 7.50002C6.92912 7.50004 6.72429 7.50006 6.55082 7.48589C6.36033 7.47033 6.13555 7.43361 5.90937 7.31836C5.59576 7.15857 5.34079 6.9036 5.18101 6.59C5.06576 6.36381 5.02903 6.13903 5.01347 5.94854C4.9993 5.77507 4.99932 5.57025 4.99935 5.35993C4.99935 5.35108 4.99935 5.34222 4.99935 5.33335V3.35907C4.97416 3.3608 4.94946 3.36266 4.92521 3.36464C4.55987 3.39449 4.37303 3.44859 4.2427 3.515C3.9291 3.67479 3.67413 3.92976 3.51434 4.24336C3.44793 4.3737 3.39383 4.56053 3.36398 4.92588C3.33333 5.30095 3.33268 5.7862 3.33268 6.50001V13.5C3.33268 14.2138 3.33333 14.6991 3.36398 15.0741C3.39383 15.4395 3.44793 15.6263 3.51434 15.7567C3.67413 16.0703 3.9291 16.3252 4.2427 16.485C4.37303 16.5514 4.55987 16.6055 4.92521 16.6354C4.94946 16.6374 4.97416 16.6392 4.99935 16.641L4.99935 12.1401C4.99932 11.9298 4.9993 11.725 5.01347 11.5515C5.02903 11.361 5.06576 11.1362 5.18101 10.91C5.34079 10.5964 5.59576 10.3415 5.90937 10.1817C6.13555 10.0664 6.36033 10.0297 6.55082 10.0141C6.72429 9.99996 6.92912 9.99999 7.13945 10H12.8593C13.0696 9.99999 13.2744 9.99996 13.4479 10.0141C13.6384 10.0297 13.8631 10.0664 14.0893 10.1817C14.4029 10.3415 14.6579 10.5964 14.8177 10.91C14.9329 11.1362 14.9697 11.361 14.9852 11.5515C14.9994 11.725 14.9994 11.9298 14.9994 12.1401L14.9993 16.641C15.0245 16.6392 15.0492 16.6374 15.0735 16.6354C15.4388 16.6055 15.6257 16.5514 15.756 16.485C16.0696 16.3252 16.3246 16.0703 16.4844 15.7567C16.5508 15.6263 16.6049 15.4395 16.6347 15.0741C16.6654 14.6991 16.666 14.2138 16.666 13.5V7.77125C16.666 7.32393 16.6607 7.2361 16.643 7.1625C16.6226 7.07747 16.5889 6.99618 16.5432 6.92162C16.5037 6.85708 16.4453 6.79119 16.129 6.47489L14.9994 5.34519ZM13.3327 16.6667V12.1667C13.3327 11.9196 13.332 11.7844 13.3241 11.6872C13.3238 11.6833 13.3235 11.6797 13.3231 11.6762C13.3197 11.6759 13.316 11.6756 13.3122 11.6753C13.215 11.6673 13.0798 11.6667 12.8327 11.6667H7.16602C6.91891 11.6667 6.7837 11.6673 6.68654 11.6753C6.68268 11.6756 6.67902 11.6759 6.67556 11.6762C6.67524 11.6797 6.67492 11.6833 6.6746 11.6872C6.66666 11.7844 6.66602 11.9196 6.66602 12.1667V16.6667H13.3327Z", "fill", "#0076DD"], ["text", "Run Report", "size", "medium", 3, "outsideClickEmitter", "disabled"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", 3, "isMultiSelect", "label", "placeholder", "isRequired", "options", "formControlName"], [3, "tooltipMessage", "infoIcon", "label", "formControlName"], [3, "showClear", "label", "readonly", "placeholder", "control"], [3, "label", "control", "placeholder"], [3, "clickEmitter", "showClear", "label", "readonly", "placeholder", "control"], ["icon-right", "", 1, "dm-input-icon", "icon-right", "clear-icon", 2, "right", "33px"], ["width", "12", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true"], ["icon-right", "", 1, "dm-input-icon", "icon-right", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 20 20", "fill", "none"], ["d", "M2.5 6.66666H12.5M12.5 6.66666C12.5 8.04737 13.6192 9.16666 15 9.16666C16.3807 9.16666 17.5 8.04736 17.5 6.66666C17.5 5.28595 16.3807 4.16666 15 4.16666C13.6192 4.16666 12.5 5.28595 12.5 6.66666ZM7.5 13.3333H17.5M7.5 13.3333C7.5 14.7141 6.38071 15.8333 5 15.8333C3.61929 15.8333 2.5 14.7141 2.5 13.3333C2.5 11.9526 3.61929 10.8333 5 10.8333C6.38071 10.8333 7.5 11.9526 7.5 13.3333Z", "stroke", "#5D6983", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["width", "12", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 3, "click"], ["d", "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z", "fill", "#5D6983"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M10.8333 2.51654C10.6786 2.50244 10.4493 2.5 10.0098 2.5H7.33333C6.61952 2.5 6.13427 2.50065 5.7592 2.53129C5.39385 2.56114 5.20702 2.61525 5.07668 2.68166C4.76308 2.84145 4.50811 3.09641 4.34832 3.41002C4.28192 3.54035 4.22781 3.72719 4.19796 4.09253C4.16732 4.46761 4.16667 4.95285 4.16667 5.66667V14.3333C4.16667 15.0472 4.16732 15.5324 4.19796 15.9075C4.22781 16.2728 4.28192 16.4597 4.34832 16.59C4.50811 16.9036 4.76308 17.1586 5.07668 17.3183C5.20702 17.3848 5.39385 17.4389 5.7592 17.4687C6.13427 17.4994 6.61952 17.5 7.33333 17.5H12.6667C13.3805 17.5 13.8657 17.4994 14.2408 17.4687C14.6061 17.4389 14.793 17.3848 14.9233 17.3183C15.2369 17.1586 15.4919 16.9036 15.6517 16.59C15.7181 16.4597 15.7722 16.2728 15.802 15.9075C15.8327 15.5324 15.8333 15.0472 15.8333 14.3333V8.32352C15.8333 7.8841 15.8309 7.65481 15.8168 7.50006L12.9734 7.50006C12.7631 7.50009 12.5583 7.50011 12.3848 7.48594C12.1943 7.47038 11.9695 7.43365 11.7433 7.3184C11.4297 7.15862 11.1748 6.90365 11.015 6.59004C10.8997 6.36386 10.863 6.13908 10.8475 5.94859C10.8333 5.77512 10.8333 5.57029 10.8333 5.35996L10.8333 2.51654ZM11.9947 1.12497C11.8064 1.04059 11.6105 0.973736 11.4093 0.925435C11.0237 0.832866 10.6239 0.833056 10.0947 0.833308C10.0668 0.833322 10.0385 0.833335 10.0098 0.833335L7.29892 0.833335C6.62811 0.833324 6.07448 0.833315 5.62348 0.870163C5.15506 0.908434 4.72448 0.990571 4.32003 1.19665C3.69283 1.51622 3.18289 2.02616 2.86331 2.65337C2.65724 3.05781 2.5751 3.4884 2.53683 3.95681C2.49998 4.40781 2.49999 4.96144 2.5 5.63225V14.3678C2.49999 15.0386 2.49998 15.5922 2.53683 16.0432C2.5751 16.5116 2.65724 16.9422 2.86331 17.3466C3.18289 17.9738 3.69283 18.4838 4.32003 18.8034C4.72448 19.0094 5.15506 19.0916 5.62348 19.1298C6.07447 19.1667 6.6281 19.1667 7.2989 19.1667H12.7011C13.3719 19.1667 13.9255 19.1667 14.3765 19.1298C14.8449 19.0916 15.2755 19.0094 15.68 18.8034C16.3072 18.4838 16.8171 17.9738 17.1367 17.3466C17.3428 16.9422 17.4249 16.5116 17.4632 16.0432C17.5 15.5922 17.5 15.0386 17.5 14.3678V8.32352C17.5 8.29485 17.5 8.26656 17.5 8.23863C17.5003 7.70946 17.5005 7.30963 17.4079 6.92405C17.3597 6.72344 17.2931 6.52805 17.2091 6.34031C17.2039 6.32807 17.1984 6.31599 17.1926 6.30407C17.1382 6.18624 17.0768 6.07153 17.0088 5.96054C16.8016 5.62244 16.5188 5.33985 16.1444 4.96584C16.1246 4.9461 16.1046 4.92611 16.0843 4.90584L13.4275 2.24899C13.4072 2.22871 13.3872 2.2087 13.3675 2.18893C12.9935 1.81458 12.7109 1.53172 12.3728 1.32453C12.2614 1.25625 12.1462 1.19467 12.0278 1.14006C12.0169 1.1348 12.0058 1.12977 11.9947 1.12497ZM12.5 3.67851V5.3334C12.5 5.5805 12.5006 5.71571 12.5086 5.81287C12.5089 5.81673 12.5092 5.82039 12.5095 5.82385C12.513 5.82417 12.5167 5.82449 12.5205 5.82481C12.6177 5.83275 12.7529 5.83339 13 5.83339H14.6549L12.5 3.67851ZM5.83333 10.8333C5.83333 10.3731 6.20643 10 6.66667 10H13.3333C13.7936 10 14.1667 10.3731 14.1667 10.8333C14.1667 11.2936 13.7936 11.6667 13.3333 11.6667H6.66667C6.20643 11.6667 5.83333 11.2936 5.83333 10.8333ZM5.83333 14.1667C5.83333 13.7064 6.20643 13.3333 6.66667 13.3333H11.6667C12.1269 13.3333 12.5 13.7064 12.5 14.1667C12.5 14.6269 12.1269 15 11.6667 15H6.66667C6.20643 15 5.83333 14.6269 5.83333 14.1667Z", "fill", "white"], ["strokeWidth", "6"], [1, "panel-header-container"], [1, "table-toggle-container"], [1, "table-toggle-label"], ["pTooltip", "Switch between old and new table views", "tooltipPosition", "top", "showDelay", "600", "hideDelay", "300", 1, "table-toggle", 3, "ngModelChange", "onChange", "ngModel", "ngModelOptions"], [1, "panel-header-right"], ["text", "Download .CSV", "size", "medium", "variant", "primary-outlined", 3, "outsideClickEmitter"], ["icon-left", "", 1, "dm-button-icon", 3, "ngStyle"], ["styleClass", "outlined-color", "strokeWidth", "6"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.99935 1.66663C10.4596 1.66663 10.8327 2.03972 10.8327 2.49996V10.4881L13.5768 7.74404C13.9022 7.4186 14.4298 7.4186 14.7553 7.74404C15.0807 8.06947 15.0807 8.59711 14.7553 8.92255L10.5886 13.0892C10.2632 13.4147 9.73553 13.4147 9.41009 13.0892L5.24343 8.92255C4.91799 8.59711 4.91799 8.06947 5.24343 7.74404C5.56886 7.4186 6.0965 7.4186 6.42194 7.74404L9.16602 10.4881V2.49996C9.16602 2.03972 9.53911 1.66663 9.99935 1.66663ZM2.49935 11.6666C2.95959 11.6666 3.33268 12.0397 3.33268 12.5V13.5C3.33268 14.2138 3.33333 14.699 3.36398 15.0741C3.39383 15.4394 3.44793 15.6263 3.51434 15.7566C3.67413 16.0702 3.9291 16.3252 4.2427 16.485C4.37303 16.5514 4.55987 16.6055 4.92521 16.6353C5.30029 16.666 5.78553 16.6666 6.49935 16.6666H13.4993C14.2132 16.6666 14.6984 16.666 15.0735 16.6353C15.4388 16.6055 15.6257 16.5514 15.756 16.485C16.0696 16.3252 16.3246 16.0702 16.4844 15.7566C16.5508 15.6263 16.6049 15.4394 16.6347 15.0741C16.6654 14.699 16.666 14.2138 16.666 13.5V12.5C16.666 12.0397 17.0391 11.6666 17.4993 11.6666C17.9596 11.6666 18.3327 12.0397 18.3327 12.5V13.5344C18.3327 14.2052 18.3327 14.7588 18.2959 15.2098C18.2576 15.6782 18.1754 16.1088 17.9694 16.5133C17.6498 17.1405 17.1399 17.6504 16.5126 17.97C16.1082 18.1761 15.6776 18.2582 15.2092 18.2965C14.7582 18.3333 14.2046 18.3333 13.5338 18.3333H6.46491C5.79411 18.3333 5.24049 18.3333 4.78949 18.2965C4.32108 18.2582 3.89049 18.1761 3.48605 17.97C2.85884 17.6504 2.34891 17.1405 2.02933 16.5133C1.82325 16.1088 1.74112 15.6782 1.70284 15.2098C1.666 14.7588 1.66601 14.2052 1.66602 13.5344L1.66602 12.5C1.66602 12.0397 2.03911 11.6666 2.49935 11.6666Z", "fill", "#0076DD"], ["header", "Documents Settings", 3, "visibleChange", "modal", "visible"], [1, "dialog-content", 3, "formGroup"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", "label", "Document Type", "formControlName", "documents_type", 3, "isMultiSelect", "options"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", "label", "Document Status", "formControlName", "documents_status", 3, "isMultiSelect", "options", "appendToBody"], ["label", "Expiry Date", "formControlName", "documents_expiry_date", 3, "openState"], ["label", "Last Update", "formControlName", "documents_created_date", 3, "openState"], [1, "dialog-footer"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Apply", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter"], [3, "visibleChange", "confirm", "visible", "isSaveMode"], [3, "visibleChange", "saveEmitter", "visible", "params", "reportId"], [3, "visibleChange", "fieldsEmitter", "visible", "allAvailableFields", "selectedList"]], template: function AppComponent_Template(rf, ctx) {
58533
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _AppComponent, selectors: [["app-root"]], features: [\u0275\u0275ProvidersFeature([TemplateService])], decls: 25, vars: 23, consts: [["tablePanel", ""], ["header", ""], ["panel", ""], ["dialog", ""], ["contentWrapper", ""], [1, "everymatrix-mm-verification-report"], [1, "report-wrapper"], [1, "report-header-container"], [1, "report-titles-container"], [1, "report-title"], [1, "template-title"], [3, "reportId", "domainLookups", "templateCsvLoadingConfig"], [3, "toggleable"], [1, "table-panel-container", 3, "ngStyle"], [3, "limitChange", "loadMoreEmitter", "sortingEmitter", "ngStyle", "limit", "startIndex", "loading", "tableColumns", "rawTableData", "generalTotal", "scrollHeight"], [3, "options"], [3, "templateCsvLoadingConfigChange", "csvLoadEmitter", "runReportEmitter", "reportId", "domainLookups", "templateCsvLoadingConfig"], ["pTemplate", "icons"], [3, "formGroup"], [1, "spinner-wrapper"], [1, "panel-header-container", 3, "ngStyle"], [1, "panel-header-left"], [1, "panel-header-title"], ["tooltipPosition", "top", 1, "panel-header-title-sub", 3, "pTooltip"], [1, "panel-header-right", 3, "ngStyle"], ["size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter", "disabled"], ["icon-right", "", 1, "dm-button-icon", 3, "ngStyle"], ["pTooltip", "Reset Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M0.833496 10C0.833496 5.39763 4.56446 1.66667 9.16683 1.66667C11.4688 1.66667 13.5541 2.60117 15.0614 4.10949C15.5945 4.64289 16.1653 5.30207 16.6668 5.91204V3.33334C16.6668 2.8731 17.0399 2.50001 17.5002 2.50001C17.9604 2.50001 18.3335 2.8731 18.3335 3.33334V8.33334C18.3335 8.79358 17.9604 9.16667 17.5002 9.16667H12.5002C12.0399 9.16667 11.6668 8.79358 11.6668 8.33334C11.6668 7.8731 12.0399 7.50001 12.5002 7.50001H15.8078C15.231 6.77607 14.5139 5.91947 13.8825 5.28759C12.675 4.07929 11.0088 3.33334 9.16683 3.33334C5.48493 3.33334 2.50016 6.31811 2.50016 10C2.50016 13.6819 5.48493 16.6667 9.16683 16.6667C12.2049 16.6667 14.7704 14.6337 15.573 11.8523C15.7006 11.4101 16.1625 11.1551 16.6047 11.2827C17.0469 11.4103 17.302 11.8722 17.1744 12.3144C16.1714 15.7901 12.9672 18.3333 9.16683 18.3333C4.56446 18.3333 0.833496 14.6024 0.833496 10Z", "fill", "#5D6983"], ["text", "Configure Report", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["icon-left", "", 1, "dm-button-icon"], ["xmlns", "http://www.w3.org/2000/svg", "width", "18", "height", "14", "viewBox", "0 0 18 14", "fill", "none"], ["d", "M1.5 3.66667H11.5M11.5 3.66667C11.5 5.04738 12.6192 6.16667 14 6.16667C15.3807 6.16667 16.5 5.04738 16.5 3.66667C16.5 2.28596 15.3807 1.16667 14 1.16667C12.6192 1.16667 11.5 2.28596 11.5 3.66667ZM6.5 10.3333H16.5M6.5 10.3333C6.5 11.7141 5.38071 12.8333 4 12.8333C2.61929 12.8333 1.5 11.7141 1.5 10.3333C1.5 8.95258 2.61929 7.83333 4 7.83333C5.38071 7.83333 6.5 8.95258 6.5 10.3333Z", "stroke", "#5D6983", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "pTooltip", "Collapse Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", 1, "panel-icons"], ["pTooltip", "Expand Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "panel-icons"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "pTooltip", "Collapse Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", 1, "panel-icons", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.41009 6.91075C9.73553 6.58531 10.2632 6.58531 10.5886 6.91075L15.5886 11.9107C15.914 12.2362 15.914 12.7638 15.5886 13.0893C15.2632 13.4147 14.7355 13.4147 14.4101 13.0893L9.99935 8.67852L5.5886 13.0893C5.26317 13.4147 4.73553 13.4147 4.41009 13.0893C4.08466 12.7638 4.08466 12.2362 4.41009 11.9107L9.41009 6.91075Z", "fill", "#5D6983"], ["pTooltip", "Expand Filters", "tooltipPosition", "top", "positionLeft", "10", "positionTop", "-5", "xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "panel-icons", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M4.41107 6.91083C4.73651 6.58539 5.26414 6.58539 5.58958 6.91083L10.0003 11.3216L14.4111 6.91083C14.7365 6.58539 15.2641 6.58539 15.5896 6.91083C15.915 7.23626 15.915 7.7639 15.5896 8.08934L10.5896 13.0893C10.2641 13.4148 9.73651 13.4148 9.41107 13.0893L4.41107 8.08934C4.08563 7.7639 4.08563 7.23626 4.41107 6.91083Z", "fill", "#5D6983"], [1, "filters-content"], [1, "filter-options"], [1, "form-control-container", "last-updated-checkbox"], ["inputId", "lastUpdate", "formControlName", "show_last_verification", 3, "binary"], ["for", "lastUpdate", 1, "form-control-label"], [1, "filter-actions"], ["text", "Save Template", "size", "medium", "variant", "primary-outlined", 3, "outsideClickEmitter", "disabled"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M12.8369 3.35637C12.7633 3.3387 12.6754 3.33335 12.2281 3.33335H6.66602V5.33335C6.66602 5.58045 6.66666 5.71566 6.6746 5.81282C6.67492 5.81669 6.67524 5.82035 6.67556 5.82381C6.67902 5.82413 6.68268 5.82444 6.68654 5.82476C6.7837 5.8327 6.91891 5.83335 7.16602 5.83335H12.8327C13.0798 5.83335 13.215 5.8327 13.3122 5.82476C13.316 5.82444 13.3197 5.82413 13.3231 5.82381C13.3235 5.82035 13.3238 5.81669 13.3241 5.81282C13.332 5.71566 13.3327 5.58045 13.3327 5.33335V3.68005C13.1758 3.52644 13.1264 3.48596 13.0777 3.45615C13.0032 3.41046 12.9219 3.37679 12.8369 3.35637ZM14.7552 2.74398L14.703 2.69181C14.6865 2.67531 14.6701 2.65893 14.6539 2.64269C14.4144 2.4027 14.2032 2.19111 13.9486 2.03508C13.7249 1.89801 13.481 1.797 13.2259 1.73576C12.9356 1.66604 12.6366 1.66632 12.2975 1.66664C12.2746 1.66666 12.2514 1.66668 12.2281 1.66668L6.46493 1.66668C6.25739 1.66668 6.06106 1.66667 5.87552 1.66776C5.86133 1.66704 5.84705 1.66668 5.83268 1.66668C5.81429 1.66668 5.79604 1.66728 5.77795 1.66845C5.40448 1.67155 5.07624 1.68008 4.78949 1.70351C4.32108 1.74178 3.89049 1.82392 3.48605 2.02999C2.85884 2.34957 2.34891 2.8595 2.02933 3.48671C1.82325 3.89116 1.74112 4.32174 1.70284 4.79016C1.666 5.24115 1.66601 5.79479 1.66602 6.4656V13.5344C1.66601 14.2052 1.666 14.7589 1.70284 15.2099C1.74112 15.6783 1.82325 16.1089 2.02933 16.5133C2.34891 17.1405 2.85884 17.6505 3.48605 17.97C3.89049 18.1761 4.32108 18.2582 4.78949 18.2965C5.07624 18.3199 5.40448 18.3285 5.77794 18.3316C5.79604 18.3328 5.81429 18.3333 5.83268 18.3333C5.84705 18.3333 5.86133 18.333 5.87552 18.3323C6.06105 18.3334 6.25737 18.3333 6.46491 18.3333H13.5338C13.7413 18.3333 13.9376 18.3334 14.1232 18.3323C14.1374 18.333 14.1516 18.3333 14.166 18.3333C14.1844 18.3333 14.2027 18.3328 14.2208 18.3316C14.5942 18.3285 14.9225 18.3199 15.2092 18.2965C15.6776 18.2582 16.1082 18.1761 16.5127 17.97C17.1399 17.6505 17.6498 17.1405 17.9694 16.5133C18.1754 16.1089 18.2576 15.6783 18.2959 15.2099C18.3327 14.7589 18.3327 14.2052 18.3327 13.5345V7.77125C18.3327 7.74792 18.3327 7.72477 18.3327 7.70182C18.333 7.36274 18.3333 7.06379 18.2636 6.77342C18.2024 6.51833 18.1014 6.27447 17.9643 6.05079C17.8083 5.79618 17.5967 5.58498 17.3567 5.34544C17.3404 5.32922 17.3241 5.31288 17.3076 5.29638L14.7552 2.74398C14.7552 2.74405 14.7551 2.74391 14.7552 2.74398ZM14.9994 5.34519V5.35991C14.9994 5.57024 14.9994 5.77507 14.9852 5.94854C14.9697 6.13903 14.9329 6.36381 14.8177 6.59C14.6579 6.9036 14.4029 7.15857 14.0893 7.31836C13.8631 7.43361 13.6384 7.47033 13.4479 7.48589C13.2744 7.50006 13.0696 7.50004 12.8593 7.50002L7.16602 7.50001C7.15715 7.50001 7.14829 7.50001 7.13944 7.50002C6.92912 7.50004 6.72429 7.50006 6.55082 7.48589C6.36033 7.47033 6.13555 7.43361 5.90937 7.31836C5.59576 7.15857 5.34079 6.9036 5.18101 6.59C5.06576 6.36381 5.02903 6.13903 5.01347 5.94854C4.9993 5.77507 4.99932 5.57025 4.99935 5.35993C4.99935 5.35108 4.99935 5.34222 4.99935 5.33335V3.35907C4.97416 3.3608 4.94946 3.36266 4.92521 3.36464C4.55987 3.39449 4.37303 3.44859 4.2427 3.515C3.9291 3.67479 3.67413 3.92976 3.51434 4.24336C3.44793 4.3737 3.39383 4.56053 3.36398 4.92588C3.33333 5.30095 3.33268 5.7862 3.33268 6.50001V13.5C3.33268 14.2138 3.33333 14.6991 3.36398 15.0741C3.39383 15.4395 3.44793 15.6263 3.51434 15.7567C3.67413 16.0703 3.9291 16.3252 4.2427 16.485C4.37303 16.5514 4.55987 16.6055 4.92521 16.6354C4.94946 16.6374 4.97416 16.6392 4.99935 16.641L4.99935 12.1401C4.99932 11.9298 4.9993 11.725 5.01347 11.5515C5.02903 11.361 5.06576 11.1362 5.18101 10.91C5.34079 10.5964 5.59576 10.3415 5.90937 10.1817C6.13555 10.0664 6.36033 10.0297 6.55082 10.0141C6.72429 9.99996 6.92912 9.99999 7.13945 10H12.8593C13.0696 9.99999 13.2744 9.99996 13.4479 10.0141C13.6384 10.0297 13.8631 10.0664 14.0893 10.1817C14.4029 10.3415 14.6579 10.5964 14.8177 10.91C14.9329 11.1362 14.9697 11.361 14.9852 11.5515C14.9994 11.725 14.9994 11.9298 14.9994 12.1401L14.9993 16.641C15.0245 16.6392 15.0492 16.6374 15.0735 16.6354C15.4388 16.6055 15.6257 16.5514 15.756 16.485C16.0696 16.3252 16.3246 16.0703 16.4844 15.7567C16.5508 15.6263 16.6049 15.4395 16.6347 15.0741C16.6654 14.6991 16.666 14.2138 16.666 13.5V7.77125C16.666 7.32393 16.6607 7.2361 16.643 7.1625C16.6226 7.07747 16.5889 6.99618 16.5432 6.92162C16.5037 6.85708 16.4453 6.79119 16.129 6.47489L14.9994 5.34519ZM13.3327 16.6667V12.1667C13.3327 11.9196 13.332 11.7844 13.3241 11.6872C13.3238 11.6833 13.3235 11.6797 13.3231 11.6762C13.3197 11.6759 13.316 11.6756 13.3122 11.6753C13.215 11.6673 13.0798 11.6667 12.8327 11.6667H7.16602C6.91891 11.6667 6.7837 11.6673 6.68654 11.6753C6.68268 11.6756 6.67902 11.6759 6.67556 11.6762C6.67524 11.6797 6.67492 11.6833 6.6746 11.6872C6.66666 11.7844 6.66602 11.9196 6.66602 12.1667V16.6667H13.3327Z", "fill", "#0076DD"], ["text", "Run Report", "size", "medium", 3, "outsideClickEmitter", "disabled"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", 3, "isMultiSelect", "label", "placeholder", "isRequired", "options", "formControlName"], [3, "tooltipMessage", "infoIcon", "label", "formControlName"], [3, "showClear", "label", "readonly", "placeholder", "control"], [3, "label", "control", "placeholder"], [3, "clickEmitter", "showClear", "label", "readonly", "placeholder", "control"], ["icon-right", "", 1, "dm-input-icon", "icon-right", "clear-icon", 2, "right", "33px"], ["width", "12", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true"], ["icon-right", "", 1, "dm-input-icon", "icon-right", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 20 20", "fill", "none"], ["d", "M2.5 6.66666H12.5M12.5 6.66666C12.5 8.04737 13.6192 9.16666 15 9.16666C16.3807 9.16666 17.5 8.04736 17.5 6.66666C17.5 5.28595 16.3807 4.16666 15 4.16666C13.6192 4.16666 12.5 5.28595 12.5 6.66666ZM7.5 13.3333H17.5M7.5 13.3333C7.5 14.7141 6.38071 15.8333 5 15.8333C3.61929 15.8333 2.5 14.7141 2.5 13.3333C2.5 11.9526 3.61929 10.8333 5 10.8333C6.38071 10.8333 7.5 11.9526 7.5 13.3333Z", "stroke", "#5D6983", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["width", "12", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 3, "click"], ["d", "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z", "fill", "#5D6983"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M10.8333 2.51654C10.6786 2.50244 10.4493 2.5 10.0098 2.5H7.33333C6.61952 2.5 6.13427 2.50065 5.7592 2.53129C5.39385 2.56114 5.20702 2.61525 5.07668 2.68166C4.76308 2.84145 4.50811 3.09641 4.34832 3.41002C4.28192 3.54035 4.22781 3.72719 4.19796 4.09253C4.16732 4.46761 4.16667 4.95285 4.16667 5.66667V14.3333C4.16667 15.0472 4.16732 15.5324 4.19796 15.9075C4.22781 16.2728 4.28192 16.4597 4.34832 16.59C4.50811 16.9036 4.76308 17.1586 5.07668 17.3183C5.20702 17.3848 5.39385 17.4389 5.7592 17.4687C6.13427 17.4994 6.61952 17.5 7.33333 17.5H12.6667C13.3805 17.5 13.8657 17.4994 14.2408 17.4687C14.6061 17.4389 14.793 17.3848 14.9233 17.3183C15.2369 17.1586 15.4919 16.9036 15.6517 16.59C15.7181 16.4597 15.7722 16.2728 15.802 15.9075C15.8327 15.5324 15.8333 15.0472 15.8333 14.3333V8.32352C15.8333 7.8841 15.8309 7.65481 15.8168 7.50006L12.9734 7.50006C12.7631 7.50009 12.5583 7.50011 12.3848 7.48594C12.1943 7.47038 11.9695 7.43365 11.7433 7.3184C11.4297 7.15862 11.1748 6.90365 11.015 6.59004C10.8997 6.36386 10.863 6.13908 10.8475 5.94859C10.8333 5.77512 10.8333 5.57029 10.8333 5.35996L10.8333 2.51654ZM11.9947 1.12497C11.8064 1.04059 11.6105 0.973736 11.4093 0.925435C11.0237 0.832866 10.6239 0.833056 10.0947 0.833308C10.0668 0.833322 10.0385 0.833335 10.0098 0.833335L7.29892 0.833335C6.62811 0.833324 6.07448 0.833315 5.62348 0.870163C5.15506 0.908434 4.72448 0.990571 4.32003 1.19665C3.69283 1.51622 3.18289 2.02616 2.86331 2.65337C2.65724 3.05781 2.5751 3.4884 2.53683 3.95681C2.49998 4.40781 2.49999 4.96144 2.5 5.63225V14.3678C2.49999 15.0386 2.49998 15.5922 2.53683 16.0432C2.5751 16.5116 2.65724 16.9422 2.86331 17.3466C3.18289 17.9738 3.69283 18.4838 4.32003 18.8034C4.72448 19.0094 5.15506 19.0916 5.62348 19.1298C6.07447 19.1667 6.6281 19.1667 7.2989 19.1667H12.7011C13.3719 19.1667 13.9255 19.1667 14.3765 19.1298C14.8449 19.0916 15.2755 19.0094 15.68 18.8034C16.3072 18.4838 16.8171 17.9738 17.1367 17.3466C17.3428 16.9422 17.4249 16.5116 17.4632 16.0432C17.5 15.5922 17.5 15.0386 17.5 14.3678V8.32352C17.5 8.29485 17.5 8.26656 17.5 8.23863C17.5003 7.70946 17.5005 7.30963 17.4079 6.92405C17.3597 6.72344 17.2931 6.52805 17.2091 6.34031C17.2039 6.32807 17.1984 6.31599 17.1926 6.30407C17.1382 6.18624 17.0768 6.07153 17.0088 5.96054C16.8016 5.62244 16.5188 5.33985 16.1444 4.96584C16.1246 4.9461 16.1046 4.92611 16.0843 4.90584L13.4275 2.24899C13.4072 2.22871 13.3872 2.2087 13.3675 2.18893C12.9935 1.81458 12.7109 1.53172 12.3728 1.32453C12.2614 1.25625 12.1462 1.19467 12.0278 1.14006C12.0169 1.1348 12.0058 1.12977 11.9947 1.12497ZM12.5 3.67851V5.3334C12.5 5.5805 12.5006 5.71571 12.5086 5.81287C12.5089 5.81673 12.5092 5.82039 12.5095 5.82385C12.513 5.82417 12.5167 5.82449 12.5205 5.82481C12.6177 5.83275 12.7529 5.83339 13 5.83339H14.6549L12.5 3.67851ZM5.83333 10.8333C5.83333 10.3731 6.20643 10 6.66667 10H13.3333C13.7936 10 14.1667 10.3731 14.1667 10.8333C14.1667 11.2936 13.7936 11.6667 13.3333 11.6667H6.66667C6.20643 11.6667 5.83333 11.2936 5.83333 10.8333ZM5.83333 14.1667C5.83333 13.7064 6.20643 13.3333 6.66667 13.3333H11.6667C12.1269 13.3333 12.5 13.7064 12.5 14.1667C12.5 14.6269 12.1269 15 11.6667 15H6.66667C6.20643 15 5.83333 14.6269 5.83333 14.1667Z", "fill", "white"], ["strokeWidth", "6"], [1, "panel-header-container"], [1, "table-toggle-container"], [1, "table-toggle-label"], ["pTooltip", "Switch between old and new table views", "tooltipPosition", "top", "showDelay", "600", "hideDelay", "300", 1, "table-toggle", 3, "ngModelChange", "onChange", "ngModel", "ngModelOptions"], [1, "panel-header-right"], ["text", "Download .CSV", "size", "medium", "variant", "primary-outlined", 3, "outsideClickEmitter", "disabled"], ["icon-left", "", 1, "dm-button-icon", 3, "ngStyle"], ["styleClass", "outlined-color", "strokeWidth", "6"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.99935 1.66663C10.4596 1.66663 10.8327 2.03972 10.8327 2.49996V10.4881L13.5768 7.74404C13.9022 7.4186 14.4298 7.4186 14.7553 7.74404C15.0807 8.06947 15.0807 8.59711 14.7553 8.92255L10.5886 13.0892C10.2632 13.4147 9.73553 13.4147 9.41009 13.0892L5.24343 8.92255C4.91799 8.59711 4.91799 8.06947 5.24343 7.74404C5.56886 7.4186 6.0965 7.4186 6.42194 7.74404L9.16602 10.4881V2.49996C9.16602 2.03972 9.53911 1.66663 9.99935 1.66663ZM2.49935 11.6666C2.95959 11.6666 3.33268 12.0397 3.33268 12.5V13.5C3.33268 14.2138 3.33333 14.699 3.36398 15.0741C3.39383 15.4394 3.44793 15.6263 3.51434 15.7566C3.67413 16.0702 3.9291 16.3252 4.2427 16.485C4.37303 16.5514 4.55987 16.6055 4.92521 16.6353C5.30029 16.666 5.78553 16.6666 6.49935 16.6666H13.4993C14.2132 16.6666 14.6984 16.666 15.0735 16.6353C15.4388 16.6055 15.6257 16.5514 15.756 16.485C16.0696 16.3252 16.3246 16.0702 16.4844 15.7566C16.5508 15.6263 16.6049 15.4394 16.6347 15.0741C16.6654 14.699 16.666 14.2138 16.666 13.5V12.5C16.666 12.0397 17.0391 11.6666 17.4993 11.6666C17.9596 11.6666 18.3327 12.0397 18.3327 12.5V13.5344C18.3327 14.2052 18.3327 14.7588 18.2959 15.2098C18.2576 15.6782 18.1754 16.1088 17.9694 16.5133C17.6498 17.1405 17.1399 17.6504 16.5126 17.97C16.1082 18.1761 15.6776 18.2582 15.2092 18.2965C14.7582 18.3333 14.2046 18.3333 13.5338 18.3333H6.46491C5.79411 18.3333 5.24049 18.3333 4.78949 18.2965C4.32108 18.2582 3.89049 18.1761 3.48605 17.97C2.85884 17.6504 2.34891 17.1405 2.02933 16.5133C1.82325 16.1088 1.74112 15.6782 1.70284 15.2098C1.666 14.7588 1.66601 14.2052 1.66602 13.5344L1.66602 12.5C1.66602 12.0397 2.03911 11.6666 2.49935 11.6666Z", "fill", "#0076DD"], ["header", "Documents Settings", 3, "visibleChange", "modal", "visible"], [1, "dialog-content", 3, "formGroup"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", "label", "Document Type", "formControlName", "documents_type", 3, "isMultiSelect", "options"], ["optionLabel", "lookup_value", "optionValue", "lookup_key", "label", "Document Status", "formControlName", "documents_status", 3, "isMultiSelect", "options", "appendToBody"], ["label", "Expiry Date", "formControlName", "documents_expiry_date", 3, "openState"], ["label", "Last Update", "formControlName", "documents_created_date", 3, "openState"], [1, "dialog-footer"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Apply", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter"], [3, "visibleChange", "confirm", "visible", "isSaveMode"], [3, "visibleChange", "saveEmitter", "visible", "params", "reportId"], [3, "visibleChange", "fieldsEmitter", "visible", "allAvailableFields", "selectedList"]], template: function AppComponent_Template(rf, ctx) {
58429
58534
  if (rf & 1) {
58430
58535
  const _r1 = \u0275\u0275getCurrentView();
58431
58536
  \u0275\u0275elementStart(0, "div", 5)(1, "div", 6);
@@ -58440,7 +58545,7 @@ var AppComponent = class _AppComponent {
58440
58545
  \u0275\u0275elementEnd();
58441
58546
  \u0275\u0275template(12, AppComponent_Conditional_12_Template, 7, 2, "p-panel", 12);
58442
58547
  \u0275\u0275elementStart(13, "div", 13)(14, "p-panel", 12, 0);
58443
- \u0275\u0275template(16, AppComponent_ng_template_16_Template, 10, 4, "ng-template", null, 1, \u0275\u0275templateRefExtractor);
58548
+ \u0275\u0275template(16, AppComponent_ng_template_16_Template, 10, 5, "ng-template", null, 1, \u0275\u0275templateRefExtractor);
58444
58549
  \u0275\u0275elementStart(18, "lib-dm-tree-table", 14);
58445
58550
  \u0275\u0275twoWayListener("limitChange", function AppComponent_Template_lib_dm_tree_table_limitChange_18_listener($event) {
58446
58551
  \u0275\u0275restoreView(_r1);
@@ -58838,9 +58943,10 @@ var AppComponent = class _AppComponent {
58838
58943
  [disabled]="\r
58839
58944
  filterForm.invalid ||\r
58840
58945
  (!filterForm.value['verification_updated_date']?.start &&\r
58841
- !filterForm.value['verification_creation_date']?.start)\r
58946
+ !filterForm.value['verification_creation_date']?.start) ||\r
58947
+ runState\r
58842
58948
  "\r
58843
- (outsideClickEmitter)="runOverloadCheck()"\r
58949
+ (outsideClickEmitter)="runOverloadCheck('runReport')"\r
58844
58950
  >\r
58845
58951
  @if (!runState) {\r
58846
58952
  <div class="dm-button-icon" icon-left>\r
@@ -58908,7 +59014,8 @@ var AppComponent = class _AppComponent {
58908
59014
  text="Download .CSV"\r
58909
59015
  size="medium"\r
58910
59016
  variant="primary-outlined"\r
58911
- (outsideClickEmitter)="csvLoading.set(true); downloadCsv()"\r
59017
+ (outsideClickEmitter)="runOverloadCheck('downloadCsv')"\r
59018
+ [disabled]="csvLoading()"\r
58912
59019
  >\r
58913
59020
  @if(csvLoading()) {\r
58914
59021
  <div class="dm-button-icon" icon-left>\r
@@ -59030,7 +59137,7 @@ var AppComponent = class _AppComponent {
59030
59137
  } @defer (when modalVisible()) {\r
59031
59138
  <lib-save-template-modal\r
59032
59139
  [(visible)]="modalVisible"\r
59033
- (saveEmitter)="isTemplateSaved.set(true)"\r
59140
+ (saveEmitter)="isTemplateSaved.set(true); domainsOverloadSaveMode = false; domainsOverloadAction = null;"\r
59034
59141
  [params]="{\r
59035
59142
  fieldValues: filterForm.value,\r
59036
59143
  visibleFields: visibleFieldsId,\r
@@ -59426,21 +59533,27 @@ var module = "ui-grid-bridge";
59426
59533
  var report = "everymatrix-mm-verification-report";
59427
59534
  scriptLoader.loadAngularJsAndUiGridIfNeeded().then(() => {
59428
59535
  platformBrowser().bootstrapModule(AppModule).then(() => {
59429
- const element = document.querySelector(report);
59430
- const shadowRoot = element && element.shadowRoot;
59431
- const target = shadowRoot && shadowRoot.querySelector(`.${report}`);
59432
- if (!target) {
59433
- const observer = new MutationObserver(() => {
59434
- const app = document.querySelector(report);
59435
- if (app && app.shadowRoot && app.shadowRoot.querySelector(`.${report}`)) {
59436
- observer.disconnect();
59437
- UiGridCommonService.init(app.shadowRoot.querySelector(`.${report}`), module);
59536
+ let lastInitializedTarget = null;
59537
+ const tryInit = () => {
59538
+ const host = document.querySelector(report);
59539
+ const shadow = host?.shadowRoot;
59540
+ const target = shadow?.querySelector(`.${report}`);
59541
+ if (!target) {
59542
+ if (lastInitializedTarget) {
59543
+ lastInitializedTarget = null;
59438
59544
  }
59439
- });
59440
- observer.observe(document.body, { childList: true, subtree: true });
59441
- } else {
59442
- UiGridCommonService.init(target, module);
59443
- }
59545
+ return;
59546
+ }
59547
+ if (target !== lastInitializedTarget) {
59548
+ UiGridCommonService.init(target, module);
59549
+ lastInitializedTarget = target;
59550
+ }
59551
+ };
59552
+ const observer = new MutationObserver(() => {
59553
+ tryInit();
59554
+ });
59555
+ observer.observe(document.body, { childList: true, subtree: true });
59556
+ tryInit();
59444
59557
  });
59445
59558
  }).catch((err) => console.error(err));
59446
59559
  /*! Bundled license information: