@everymatrix/stage-mm-verification-report 1.0.49 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.html CHANGED
@@ -8,5 +8,5 @@
8
8
  <link rel="stylesheet" href="styles.css"></head>
9
9
  <body>
10
10
  <everymatrix-mm-verification-report></everymatrix-mm-verification-report>
11
- <link rel="modulepreload" href="chunk-HKFBICBE.js"><link rel="modulepreload" href="chunk-FV65HN4Q.js"><link rel="modulepreload" href="chunk-5RQ247ER.js"><link rel="modulepreload" href="chunk-2SMQV2OO.js"><link rel="modulepreload" href="chunk-57JN4OKS.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
11
+ <link rel="modulepreload" href="chunk-3AQTIC45.js"><link rel="modulepreload" href="chunk-HCIJ4DBZ.js"><link rel="modulepreload" href="chunk-TLKY6L5A.js"><link rel="modulepreload" href="chunk-2SMQV2OO.js"><link rel="modulepreload" href="chunk-57JN4OKS.js"><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
12
12
  </html>
package/main.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProgressSpinner,
3
3
  ProgressSpinnerModule
4
- } from "./chunk-HKFBICBE.js";
4
+ } from "./chunk-3AQTIC45.js";
5
5
  import {
6
6
  DomainsOverloadModalComponent
7
- } from "./chunk-FV65HN4Q.js";
7
+ } from "./chunk-HCIJ4DBZ.js";
8
8
  import {
9
9
  ApiHandlerService,
10
10
  BrowserModule,
@@ -38,7 +38,7 @@ import {
38
38
  provideHttpClient,
39
39
  require_moment,
40
40
  withInterceptors
41
- } from "./chunk-5RQ247ER.js";
41
+ } from "./chunk-TLKY6L5A.js";
42
42
  import {
43
43
  $dt,
44
44
  AutoFocus,
@@ -52211,10 +52211,11 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52211
52211
  constructor() {
52212
52212
  effect(() => {
52213
52213
  this.template = this.templateService.template();
52214
- if (this.template && !this.template.is_temporary) {
52214
+ const baseTemplate = this.templateService.baseTemplate();
52215
+ if (this.template && (!this.template.is_temporary || baseTemplate)) {
52215
52216
  this.isTemplatePresent = true;
52216
- this.descriptionControl.setValue(this.template.template_desc);
52217
- this.nameControl.setValue(this.template.template_name);
52217
+ this.descriptionControl.setValue(baseTemplate?.template_desc || this.template.template_desc);
52218
+ this.nameControl.setValue(baseTemplate?.template_name || this.template.template_name);
52218
52219
  } else {
52219
52220
  this.isTemplatePresent = false;
52220
52221
  this.isExisting = false;
@@ -52225,8 +52226,9 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52225
52226
  this.radioButtonControl.valueChanges.subscribe((value) => {
52226
52227
  if (value === "existing" && this.template) {
52227
52228
  this.isExisting = true;
52228
- this.descriptionControl.setValue(this.template.template_desc);
52229
- this.nameControl.setValue(this.template.template_name);
52229
+ const baseTemplate = this.templateService.baseTemplate();
52230
+ this.descriptionControl.setValue(baseTemplate?.template_desc || this.template.template_desc);
52231
+ this.nameControl.setValue(baseTemplate?.template_name || this.template.template_name);
52230
52232
  } else {
52231
52233
  this.isExisting = false;
52232
52234
  this.descriptionControl.reset("");
@@ -52250,7 +52252,8 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52250
52252
  }
52251
52253
  save() {
52252
52254
  this.loading.set(true);
52253
- this.deleteSchedulesIfNeeded(this.template).pipe(switchMap(() => this.templateService.saveTemplate(this.nameControl.value, this.descriptionControl.value, this.params(), this.reportId(), this.radioButtonControl.value === "existing" ? this.template?.template_id : null, false).pipe(take(1)))).subscribe({
52255
+ const baseTemplate = this.templateService.baseTemplate();
52256
+ this.deleteSchedulesIfNeeded(baseTemplate || this.template).pipe(switchMap(() => this.templateService.saveTemplate(this.nameControl.value, this.descriptionControl.value, this.params(), this.reportId(), this.radioButtonControl.value === "existing" ? baseTemplate?.template_id || this.template?.template_id : null, false).pipe(take(1)))).subscribe({
52254
52257
  next: (template) => {
52255
52258
  this.radioButtonControl.setValue("existing");
52256
52259
  this.templateService.setSearchParams({
@@ -52276,7 +52279,8 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
52276
52279
  });
52277
52280
  }
52278
52281
  hasConfiguredSendOptions() {
52279
- return this.template?.input_params.send_option;
52282
+ const baseTemplate = this.templateService.baseTemplate();
52283
+ return baseTemplate?.input_params.send_option || this.template?.input_params.send_option;
52280
52284
  }
52281
52285
  selectedDifferentSiteId = () => {
52282
52286
  return this.sessionService.sessionData?.Domains && this.template?.domain_id && +this.template?.domain_id != +this.sessionService.sessionData.Domains;
@@ -53040,6 +53044,14 @@ var ReportConfigurationModalComponent = class _ReportConfigurationModalComponent
53040
53044
  selectAll = false;
53041
53045
  dragData;
53042
53046
  ngOnInit() {
53047
+ this.updateSelections();
53048
+ }
53049
+ ngOnChanges(changes) {
53050
+ if (changes["selectedList"]) {
53051
+ this.updateSelections();
53052
+ }
53053
+ }
53054
+ updateSelections() {
53043
53055
  this.selectAll = this.allAvailableFields.length === this.selectedList.length;
53044
53056
  const selectedIds = new Set(this.selectedList.map((item) => item.field_id));
53045
53057
  this.allAvailableFields = this.allAvailableFields.map((field) => __spreadProps(__spreadValues({}, field), {
@@ -53126,7 +53138,7 @@ var ReportConfigurationModalComponent = class _ReportConfigurationModalComponent
53126
53138
  static \u0275fac = function ReportConfigurationModalComponent_Factory(__ngFactoryType__) {
53127
53139
  return new (__ngFactoryType__ || _ReportConfigurationModalComponent)();
53128
53140
  };
53129
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _ReportConfigurationModalComponent, selectors: [["lib-report-configuration-modal"]], inputs: { visible: [1, "visible"], allAvailableFields: "allAvailableFields", selectedList: "selectedList" }, outputs: { visible: "visibleChange", fieldsEmitter: "fieldsEmitter" }, decls: 38, vars: 7, consts: [["header", "Configure Report", 3, "visibleChange", "visible", "modal"], [1, "configure-report-modal-wrapper"], [1, "modal-header"], [1, "modal-subtitle"], [1, "modal-content"], [1, "all-section", "modal-section"], [1, "section-header"], [1, "section-title"], [1, "total-items"], [1, "section-content"], [1, "section-search"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "search-icon"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.58268 3.33329C6.1309 3.33329 3.33268 6.13151 3.33268 9.58329C3.33268 13.0351 6.1309 15.8333 9.58268 15.8333C11.2603 15.8333 12.7835 15.1723 13.9061 14.0967C13.932 14.0607 13.9612 14.0264 13.9935 13.994C14.0259 13.9617 14.0602 13.9326 14.0961 13.9067C15.1718 12.784 15.8327 11.2608 15.8327 9.58329C15.8327 6.13151 13.0345 3.33329 9.58268 3.33329ZM15.739 14.561C16.8399 13.2011 17.4993 11.4692 17.4993 9.58329C17.4993 5.21104 13.9549 1.66663 9.58268 1.66663C5.21043 1.66663 1.66602 5.21104 1.66602 9.58329C1.66602 13.9555 5.21043 17.5 9.58268 17.5C11.4687 17.5 13.2006 16.8405 14.5605 15.7395L16.9101 18.0892C17.2355 18.4146 17.7632 18.4147 18.0886 18.0892C18.414 17.7638 18.414 17.2362 18.0886 16.9107L15.739 14.561Z", "fill", "#5D6983"], ["id", "inputRangePicker", "placeholder", "Search", "pInputText", "", 1, "form-control-field", "search-field", 3, "ngModelChange", "ngModel"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon"], [1, "section-list"], [1, "list-items"], [1, "select-all-item", "list-item"], [1, "list-item", 3, "ngStyle"], [1, "selected-section", "modal-section"], [1, "section-header-action", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 16 16", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M0.666016 8.00004C0.666016 4.31814 3.65078 1.33337 7.33268 1.33337C9.17428 1.33337 10.8425 2.08097 12.0484 3.28763C12.4748 3.71435 12.9314 4.24169 13.3327 4.72967V2.66671C13.3327 2.29852 13.6312 2.00004 13.9993 2.00004C14.3675 2.00004 14.666 2.29852 14.666 2.66671V6.66671C14.666 7.0349 14.3675 7.33337 13.9993 7.33337H9.99935C9.63116 7.33337 9.33268 7.0349 9.33268 6.66671C9.33268 6.29852 9.63116 6.00004 9.99935 6.00004H12.6455C12.184 5.42089 11.6104 4.73561 11.1052 4.23011C10.1392 3.26347 8.80629 2.66671 7.33268 2.66671C4.38716 2.66671 1.99935 5.05452 1.99935 8.00004C1.99935 10.9456 4.38716 13.3334 7.33268 13.3334C9.76317 13.3334 11.8155 11.707 12.4576 9.48187C12.5597 9.12812 12.9292 8.92409 13.283 9.02618C13.6368 9.12826 13.8408 9.49779 13.7387 9.85154C12.9363 12.6321 10.373 14.6667 7.33268 14.6667C3.65078 14.6667 0.666016 11.6819 0.666016 8.00004Z", "fill", "#0076DD"], ["pDraggable", "", "pDroppable", "", "dragEffect", "move", 1, "list-item", "selected-list-item"], ["pTemplate", "footer"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon", 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"], ["inputId", "selectAllList", 3, "onChange", "binary", "ngModel"], ["for", "selectAllList"], [1, "checkbox-wrapper"], [3, "onChange", "ngModelChange", "disabled", "binary", "inputId", "ngModel"], [3, "for", "ngStyle"], ["pDraggable", "", "pDroppable", "", "dragEffect", "move", 1, "list-item", "selected-list-item", 3, "onDragStart", "onDragEnd", "onDragEnter"], [1, "list-item-drag-icon"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["d", "M13.3333 5.00004C13.7936 5.00004 14.1667 4.62694 14.1667 4.16671C14.1667 3.70647 13.7936 3.33337 13.3333 3.33337C12.8731 3.33337 12.5 3.70647 12.5 4.16671C12.5 4.62694 12.8731 5.00004 13.3333 5.00004Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M13.3333 10.8333C13.7936 10.8333 14.1667 10.4602 14.1667 9.99996C14.1667 9.53971 13.7936 9.16663 13.3333 9.16663C12.8731 9.16663 12.5 9.53971 12.5 9.99996C12.5 10.4602 12.8731 10.8333 13.3333 10.8333Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M13.3333 16.6667C13.7936 16.6667 14.1667 16.2936 14.1667 15.8333C14.1667 15.3731 13.7936 15 13.3333 15C12.8731 15 12.5 15.3731 12.5 15.8333C12.5 16.2936 12.8731 16.6667 13.3333 16.6667Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 5.00004C7.95958 5.00004 8.33268 4.62694 8.33268 4.16671C8.33268 3.70647 7.95958 3.33337 7.49935 3.33337C7.03912 3.33337 6.66602 3.70647 6.66602 4.16671C6.66602 4.62694 7.03912 5.00004 7.49935 5.00004Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 10.8333C7.95958 10.8333 8.33268 10.4602 8.33268 9.99996C8.33268 9.53971 7.95958 9.16663 7.49935 9.16663C7.03912 9.16663 6.66602 9.53971 6.66602 9.99996C6.66602 10.4602 7.03912 10.8333 7.49935 10.8333Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 16.6667C7.95958 16.6667 8.33268 16.2936 8.33268 15.8333C8.33268 15.3731 7.95958 15 7.49935 15C7.03912 15 6.66602 15.3731 6.66602 15.8333C6.66602 16.2936 7.03912 16.6667 7.49935 16.6667Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], [1, "list-item-text"], [1, "list-item-remove-icon"], [1, "list-item-remove-icon", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "12", "height", "12", "viewBox", "0 0 12 12", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M2.64645 2.64645C2.84171 2.45118 3.15829 2.45118 3.35355 2.64645L6 5.29289L8.64645 2.64645C8.84171 2.45118 9.15829 2.45118 9.35355 2.64645C9.54882 2.84171 9.54882 3.15829 9.35355 3.35355L6.70711 6L9.35355 8.64645C9.54882 8.84171 9.54882 9.15829 9.35355 9.35355C9.15829 9.54882 8.84171 9.54882 8.64645 9.35355L6 6.70711L3.35355 9.35355C3.15829 9.54882 2.84171 9.54882 2.64645 9.35355C2.45118 9.15829 2.45118 8.84171 2.64645 8.64645L5.29289 6L2.64645 3.35355C2.45118 3.15829 2.45118 2.84171 2.64645 2.64645Z", "fill", "#5D6983"], [2, "width", "100%", "display", "flex", "flex-direction", "row", "justify-content", "space-between"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Apply", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter"]], template: function ReportConfigurationModalComponent_Template(rf, ctx) {
53141
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _ReportConfigurationModalComponent, selectors: [["lib-report-configuration-modal"]], inputs: { visible: [1, "visible"], allAvailableFields: "allAvailableFields", selectedList: "selectedList" }, outputs: { visible: "visibleChange", fieldsEmitter: "fieldsEmitter" }, features: [\u0275\u0275NgOnChangesFeature], decls: 38, vars: 7, consts: [["header", "Configure Report", 3, "visibleChange", "visible", "modal"], [1, "configure-report-modal-wrapper"], [1, "modal-header"], [1, "modal-subtitle"], [1, "modal-content"], [1, "all-section", "modal-section"], [1, "section-header"], [1, "section-title"], [1, "total-items"], [1, "section-content"], [1, "section-search"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "search-icon"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.58268 3.33329C6.1309 3.33329 3.33268 6.13151 3.33268 9.58329C3.33268 13.0351 6.1309 15.8333 9.58268 15.8333C11.2603 15.8333 12.7835 15.1723 13.9061 14.0967C13.932 14.0607 13.9612 14.0264 13.9935 13.994C14.0259 13.9617 14.0602 13.9326 14.0961 13.9067C15.1718 12.784 15.8327 11.2608 15.8327 9.58329C15.8327 6.13151 13.0345 3.33329 9.58268 3.33329ZM15.739 14.561C16.8399 13.2011 17.4993 11.4692 17.4993 9.58329C17.4993 5.21104 13.9549 1.66663 9.58268 1.66663C5.21043 1.66663 1.66602 5.21104 1.66602 9.58329C1.66602 13.9555 5.21043 17.5 9.58268 17.5C11.4687 17.5 13.2006 16.8405 14.5605 15.7395L16.9101 18.0892C17.2355 18.4146 17.7632 18.4147 18.0886 18.0892C18.414 17.7638 18.414 17.2362 18.0886 16.9107L15.739 14.561Z", "fill", "#5D6983"], ["id", "inputRangePicker", "placeholder", "Search", "pInputText", "", 1, "form-control-field", "search-field", 3, "ngModelChange", "ngModel"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon"], [1, "section-list"], [1, "list-items"], [1, "select-all-item", "list-item"], [1, "list-item", 3, "ngStyle"], [1, "selected-section", "modal-section"], [1, "section-header-action", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 16 16", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M0.666016 8.00004C0.666016 4.31814 3.65078 1.33337 7.33268 1.33337C9.17428 1.33337 10.8425 2.08097 12.0484 3.28763C12.4748 3.71435 12.9314 4.24169 13.3327 4.72967V2.66671C13.3327 2.29852 13.6312 2.00004 13.9993 2.00004C14.3675 2.00004 14.666 2.29852 14.666 2.66671V6.66671C14.666 7.0349 14.3675 7.33337 13.9993 7.33337H9.99935C9.63116 7.33337 9.33268 7.0349 9.33268 6.66671C9.33268 6.29852 9.63116 6.00004 9.99935 6.00004H12.6455C12.184 5.42089 11.6104 4.73561 11.1052 4.23011C10.1392 3.26347 8.80629 2.66671 7.33268 2.66671C4.38716 2.66671 1.99935 5.05452 1.99935 8.00004C1.99935 10.9456 4.38716 13.3334 7.33268 13.3334C9.76317 13.3334 11.8155 11.707 12.4576 9.48187C12.5597 9.12812 12.9292 8.92409 13.283 9.02618C13.6368 9.12826 13.8408 9.49779 13.7387 9.85154C12.9363 12.6321 10.373 14.6667 7.33268 14.6667C3.65078 14.6667 0.666016 11.6819 0.666016 8.00004Z", "fill", "#0076DD"], ["pDraggable", "", "pDroppable", "", "dragEffect", "move", 1, "list-item", "selected-list-item"], ["pTemplate", "footer"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon", 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"], ["inputId", "selectAllList", 3, "onChange", "binary", "ngModel"], ["for", "selectAllList"], [1, "checkbox-wrapper"], [3, "onChange", "ngModelChange", "disabled", "binary", "inputId", "ngModel"], [3, "for", "ngStyle"], ["pDraggable", "", "pDroppable", "", "dragEffect", "move", 1, "list-item", "selected-list-item", 3, "onDragStart", "onDragEnd", "onDragEnter"], [1, "list-item-drag-icon"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none"], ["d", "M13.3333 5.00004C13.7936 5.00004 14.1667 4.62694 14.1667 4.16671C14.1667 3.70647 13.7936 3.33337 13.3333 3.33337C12.8731 3.33337 12.5 3.70647 12.5 4.16671C12.5 4.62694 12.8731 5.00004 13.3333 5.00004Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M13.3333 10.8333C13.7936 10.8333 14.1667 10.4602 14.1667 9.99996C14.1667 9.53971 13.7936 9.16663 13.3333 9.16663C12.8731 9.16663 12.5 9.53971 12.5 9.99996C12.5 10.4602 12.8731 10.8333 13.3333 10.8333Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M13.3333 16.6667C13.7936 16.6667 14.1667 16.2936 14.1667 15.8333C14.1667 15.3731 13.7936 15 13.3333 15C12.8731 15 12.5 15.3731 12.5 15.8333C12.5 16.2936 12.8731 16.6667 13.3333 16.6667Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 5.00004C7.95958 5.00004 8.33268 4.62694 8.33268 4.16671C8.33268 3.70647 7.95958 3.33337 7.49935 3.33337C7.03912 3.33337 6.66602 3.70647 6.66602 4.16671C6.66602 4.62694 7.03912 5.00004 7.49935 5.00004Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 10.8333C7.95958 10.8333 8.33268 10.4602 8.33268 9.99996C8.33268 9.53971 7.95958 9.16663 7.49935 9.16663C7.03912 9.16663 6.66602 9.53971 6.66602 9.99996C6.66602 10.4602 7.03912 10.8333 7.49935 10.8333Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], ["d", "M7.49935 16.6667C7.95958 16.6667 8.33268 16.2936 8.33268 15.8333C8.33268 15.3731 7.95958 15 7.49935 15C7.03912 15 6.66602 15.3731 6.66602 15.8333C6.66602 16.2936 7.03912 16.6667 7.49935 16.6667Z", "stroke", "#7985A0", "stroke-width", "2", "stroke-linecap", "round", "stroke-linejoin", "round"], [1, "list-item-text"], [1, "list-item-remove-icon"], [1, "list-item-remove-icon", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "12", "height", "12", "viewBox", "0 0 12 12", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M2.64645 2.64645C2.84171 2.45118 3.15829 2.45118 3.35355 2.64645L6 5.29289L8.64645 2.64645C8.84171 2.45118 9.15829 2.45118 9.35355 2.64645C9.54882 2.84171 9.54882 3.15829 9.35355 3.35355L6.70711 6L9.35355 8.64645C9.54882 8.84171 9.54882 9.15829 9.35355 9.35355C9.15829 9.54882 8.84171 9.54882 8.64645 9.35355L6 6.70711L3.35355 9.35355C3.15829 9.54882 2.84171 9.54882 2.64645 9.35355C2.45118 9.15829 2.45118 8.84171 2.64645 8.64645L5.29289 6L2.64645 3.35355C2.45118 3.15829 2.45118 2.84171 2.64645 2.64645Z", "fill", "#5D6983"], [2, "width", "100%", "display", "flex", "flex-direction", "row", "justify-content", "space-between"], ["text", "Cancel", "size", "medium", "variant", "secondary-outlined", 3, "outsideClickEmitter"], ["text", "Apply", "size", "medium", "variant", "primary-filled", 3, "outsideClickEmitter"]], template: function ReportConfigurationModalComponent_Template(rf, ctx) {
53130
53142
  if (rf & 1) {
53131
53143
  \u0275\u0275elementStart(0, "p-dialog", 0);
53132
53144
  \u0275\u0275twoWayListener("visibleChange", function ReportConfigurationModalComponent_Template_p_dialog_visibleChange_0_listener($event) {
@@ -53474,7 +53486,7 @@ var ReportConfigurationModalComponent = class _ReportConfigurationModalComponent
53474
53486
  }] });
53475
53487
  })();
53476
53488
  (() => {
53477
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(ReportConfigurationModalComponent, { className: "ReportConfigurationModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/report-configuration-modal/report-configuration-modal.ts", lineNumber: 35 });
53489
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(ReportConfigurationModalComponent, { className: "ReportConfigurationModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/report-configuration-modal/report-configuration-modal.ts", lineNumber: 37 });
53478
53490
  })();
53479
53491
 
53480
53492
  // libs/components/dm-date-picker-lib/src/lib/dm-date-picker-lib/dm-date-picker-lib.component.ts
@@ -53773,7 +53785,7 @@ var DmDatePickerLibComponent = class _DmDatePickerLibComponent {
53773
53785
 
53774
53786
  // libs/shared/ui/components/src/lib/modals/send-settings-modal/send-settings-modal.ts
53775
53787
  var _forTrack04 = ($index, $item) => $item.dag_id;
53776
- var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-EHYSURWH.js").then((m) => m.DeleteTemplateModalComponent)];
53788
+ var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-RKNM3CPU.js").then((m) => m.DeleteTemplateModalComponent)];
53777
53789
  var _c026 = () => ({ "width": "460px", "max-height": "540px" });
53778
53790
  var _c151 = () => ({ width: "20px", height: "20px" });
53779
53791
  var _c237 = () => ({ "min-width": "720px" });
@@ -54608,7 +54620,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
54608
54620
  ], 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 });
54609
54621
  };
54610
54622
  (() => {
54611
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-EHYSURWH.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54623
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-RKNM3CPU.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
54612
54624
  setClassMetadata(SendSettingsModalComponent, [{
54613
54625
  type: Component,
54614
54626
  args: [{ selector: "lib-send-settings-modal", standalone: true, imports: [
@@ -55065,8 +55077,8 @@ Are you sure you want to delete the schedule?"\r
55065
55077
 
55066
55078
  // libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts
55067
55079
  var _forTrack05 = ($index, $item) => $item.template_id;
55068
- var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-EHYSURWH.js").then((m) => m.DeleteTemplateModalComponent)];
55069
- var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-ORMI2PEU.js").then((m) => m.DomainsOverloadModalComponent)];
55080
+ var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-RKNM3CPU.js").then((m) => m.DeleteTemplateModalComponent)];
55081
+ var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-4M25FGA6.js").then((m) => m.DomainsOverloadModalComponent)];
55070
55082
  var _c027 = (a0) => ({ "selected-row": a0 });
55071
55083
  var _c158 = () => ({ position: "relative" });
55072
55084
  var _c238 = () => ({ width: "16px", height: "16px" });
@@ -55080,7 +55092,7 @@ function TemplateSelectModalComponent_Conditional_7_Conditional_4_Template(rf, c
55080
55092
  \u0275\u0275listener("click", function TemplateSelectModalComponent_Conditional_7_Conditional_4_Template_svg_click_0_listener() {
55081
55093
  \u0275\u0275restoreView(_r5);
55082
55094
  const ctx_r3 = \u0275\u0275nextContext(2);
55083
- return \u0275\u0275resetView(ctx_r3.searchQuery = "");
55095
+ return \u0275\u0275resetView(ctx_r3.searchQuery.set(""));
55084
55096
  });
55085
55097
  \u0275\u0275element(1, "path", 15);
55086
55098
  \u0275\u0275elementEnd();
@@ -55096,11 +55108,10 @@ function TemplateSelectModalComponent_Conditional_7_Template(rf, ctx) {
55096
55108
  \u0275\u0275elementEnd();
55097
55109
  \u0275\u0275namespaceHTML();
55098
55110
  \u0275\u0275elementStart(3, "input", 12);
55099
- \u0275\u0275twoWayListener("ngModelChange", function TemplateSelectModalComponent_Conditional_7_Template_input_ngModelChange_3_listener($event) {
55111
+ \u0275\u0275listener("input", function TemplateSelectModalComponent_Conditional_7_Template_input_input_3_listener($event) {
55100
55112
  \u0275\u0275restoreView(_r3);
55101
55113
  const ctx_r3 = \u0275\u0275nextContext();
55102
- \u0275\u0275twoWayBindingSet(ctx_r3.searchQuery, $event) || (ctx_r3.searchQuery = $event);
55103
- return \u0275\u0275resetView($event);
55114
+ return \u0275\u0275resetView(ctx_r3.onSearchChange($event));
55104
55115
  });
55105
55116
  \u0275\u0275elementEnd();
55106
55117
  \u0275\u0275template(4, TemplateSelectModalComponent_Conditional_7_Conditional_4_Template, 2, 0, ":svg:svg", 13);
@@ -55109,9 +55120,9 @@ function TemplateSelectModalComponent_Conditional_7_Template(rf, ctx) {
55109
55120
  if (rf & 2) {
55110
55121
  const ctx_r3 = \u0275\u0275nextContext();
55111
55122
  \u0275\u0275advance(3);
55112
- \u0275\u0275twoWayProperty("ngModel", ctx_r3.searchQuery);
55123
+ \u0275\u0275property("value", ctx_r3.searchQuery());
55113
55124
  \u0275\u0275advance();
55114
- \u0275\u0275conditional(ctx_r3.searchQuery ? 4 : -1);
55125
+ \u0275\u0275conditional(ctx_r3.searchQuery() ? 4 : -1);
55115
55126
  }
55116
55127
  }
55117
55128
  function TemplateSelectModalComponent_Conditional_9_Conditional_0_For_11_Conditional_12_Template(rf, ctx) {
@@ -55382,7 +55393,7 @@ function TemplateSelectModalComponent_Defer_15_Template(rf, ctx) {
55382
55393
  }
55383
55394
  var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55384
55395
  selectedTemplateId;
55385
- searchQuery = "";
55396
+ searchQuery = signal("");
55386
55397
  runReportEmitter = output();
55387
55398
  csvLoadEmitter = output();
55388
55399
  templateService = inject(TemplateService);
@@ -55404,7 +55415,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55404
55415
  overloadCheckAction = "";
55405
55416
  overloadCheckTemplate = null;
55406
55417
  filteredFieldsSignal = computed(() => {
55407
- const query2 = this.searchQuery.trim().toLowerCase();
55418
+ const query2 = this.searchQuery().trim().toLowerCase();
55408
55419
  const list = this.templateSignalList() || [];
55409
55420
  if (!query2) {
55410
55421
  return list.filter((item) => !item.is_temporary);
@@ -55536,10 +55547,14 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55536
55547
  return false;
55537
55548
  return this.domainLookups.length === this.getTemplateSelectedDomains(template);
55538
55549
  }
55550
+ onSearchChange(event2) {
55551
+ const inputElement = event2.target;
55552
+ this.searchQuery.set(inputElement.value);
55553
+ }
55539
55554
  static \u0275fac = function TemplateSelectModalComponent_Factory(__ngFactoryType__) {
55540
55555
  return new (__ngFactoryType__ || _TemplateSelectModalComponent)();
55541
55556
  };
55542
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _TemplateSelectModalComponent, selectors: [["lib-template-select-modal"]], inputs: { reportId: [1, "reportId"], showDeleteConfirmation: [1, "showDeleteConfirmation"], templateCsvLoadingConfig: [1, "templateCsvLoadingConfig"], showSendingModal: [1, "showSendingModal"], templateDeleteLoading: [1, "templateDeleteLoading"], domainLookups: "domainLookups" }, outputs: { runReportEmitter: "runReportEmitter", csvLoadEmitter: "csvLoadEmitter", showDeleteConfirmation: "showDeleteConfirmationChange", templateCsvLoadingConfig: "templateCsvLoadingConfigChange", showSendingModal: "showSendingModalChange", templateDeleteLoading: "templateDeleteLoadingChange" }, decls: 18, vars: 5, consts: [["op", ""], ["text", "Select Template", "size", "medium", "variant", "secondary-filled", 3, "outsideClickEmitter"], ["icon-right", "", 1, "dm-button-icon"], ["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", "M4.41009 6.91075C4.73553 6.58531 5.26317 6.58531 5.5886 6.91075L9.99935 11.3215L14.4101 6.91075C14.7355 6.58531 15.2632 6.58531 15.5886 6.91075C15.914 7.23618 15.914 7.76382 15.5886 8.08926L10.5886 13.0893C10.2632 13.4147 9.73553 13.4147 9.41009 13.0893L4.41009 8.08926C4.08466 7.76382 4.08466 7.23618 4.41009 6.91075Z", "fill", "white"], [1, "popover-container"], [1, "template-list-search"], [1, "template-list"], [1, "loading-state"], [3, "visible", "selectedTemplate"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "search-icon"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.58268 3.33329C6.1309 3.33329 3.33268 6.13151 3.33268 9.58329C3.33268 13.0351 6.1309 15.8333 9.58268 15.8333C11.2603 15.8333 12.7835 15.1723 13.9061 14.0967C13.932 14.0607 13.9612 14.0264 13.9935 13.994C14.0259 13.9617 14.0602 13.9326 14.0961 13.9067C15.1718 12.784 15.8327 11.2608 15.8327 9.58329C15.8327 6.13151 13.0345 3.33329 9.58268 3.33329ZM15.739 14.561C16.8399 13.2011 17.4993 11.4692 17.4993 9.58329C17.4993 5.21104 13.9549 1.66663 9.58268 1.66663C5.21043 1.66663 1.66602 5.21104 1.66602 9.58329C1.66602 13.9555 5.21043 17.5 9.58268 17.5C11.4687 17.5 13.2006 16.8405 14.5605 15.7395L16.9101 18.0892C17.2355 18.4146 17.7632 18.4147 18.0886 18.0892C18.414 17.7638 18.414 17.2362 18.0886 16.9107L15.739 14.561Z", "fill", "#5D6983"], ["id", "inputRangePicker", "placeholder", "Enter Template Name", "pInputText", "", 1, "form-control-field", "search-input", 3, "ngModelChange", "ngModel"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon", 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"], [1, "empty-container"], [1, "template-row", "template-row-header"], [1, "cell", "cell-header"], [1, "template-row", "template-row-content", 3, "ngClass"], [1, "cell", "cell-name", 3, "click"], ["tooltipPosition", "top", "showDelay", "500", 1, "tooltip-label", 3, "pTooltip"], [1, "cell", "cell-desc", 3, "click"], [1, "cell", "cell-actions"], ["pTooltip", "Run", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 16 16", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.66667 2.01323C8.54287 2.00195 8.35943 2 8.00785 2H5.86667C5.29561 2 4.90742 2.00052 4.60736 2.02504C4.31508 2.04892 4.16561 2.0922 4.06135 2.14533C3.81046 2.27316 3.60649 2.47713 3.47866 2.72801C3.42553 2.83228 3.38225 2.98175 3.35837 3.27403C3.33385 3.57409 3.33333 3.96228 3.33333 4.53333V11.4667C3.33333 12.0377 3.33385 12.4259 3.35837 12.726C3.38225 13.0183 3.42553 13.1677 3.47866 13.272C3.60649 13.5229 3.81046 13.7268 4.06135 13.8547C4.16561 13.9078 4.31508 13.9511 4.60736 13.975C4.90742 13.9995 5.29561 14 5.86667 14H10.1333C10.7044 14 11.0926 13.9995 11.3926 13.975C11.6849 13.9511 11.8344 13.9078 11.9387 13.8547C12.1895 13.7268 12.3935 13.5229 12.5213 13.272C12.5745 13.1677 12.6178 13.0183 12.6416 12.726C12.6661 12.4259 12.6667 12.0377 12.6667 11.4667V6.65882C12.6667 6.30728 12.6647 6.12385 12.6534 6.00005L10.3787 6.00005C10.2105 6.00007 10.0466 6.00009 9.90785 5.98875C9.75545 5.9763 9.57563 5.94692 9.39468 5.85472C9.1438 5.72689 8.93982 5.52292 8.81199 5.27204C8.71979 5.09109 8.69042 4.91126 8.67796 4.75887C8.66663 4.62009 8.66665 4.45623 8.66667 4.28797L8.66667 2.01323ZM9.59573 0.899979C9.44514 0.832472 9.28838 0.778989 9.12743 0.740348C8.81896 0.666293 8.4991 0.666445 8.07577 0.666647C8.05342 0.666657 8.03079 0.666668 8.00785 0.666668L5.83913 0.666668C5.30249 0.666659 4.85958 0.666652 4.49878 0.69613C4.12405 0.726747 3.77958 0.792457 3.45603 0.957317C2.95426 1.21298 2.54631 1.62093 2.29065 2.12269C2.12579 2.44625 2.06008 2.79072 2.02946 3.16545C1.99998 3.52625 1.99999 3.96915 2 4.5058V11.4942C1.99999 12.0308 1.99998 12.4738 2.02946 12.8346C2.06008 13.2093 2.12579 13.5538 2.29065 13.8773C2.54631 14.3791 2.95426 14.787 3.45603 15.0427C3.77958 15.2075 4.12405 15.2733 4.49878 15.3039C4.85958 15.3333 5.30248 15.3333 5.83912 15.3333H10.1609C10.6975 15.3333 11.1404 15.3333 11.5012 15.3039C11.876 15.2733 12.2204 15.2075 12.544 15.0427C13.0457 14.787 13.4537 14.3791 13.7094 13.8773C13.8742 13.5538 13.9399 13.2093 13.9705 12.8346C14 12.4738 14 12.0309 14 11.4942V6.65882C14 6.63588 14 6.61325 14 6.5909C14.0002 6.16757 14.0004 5.8477 13.9263 5.53924C13.8878 5.37876 13.8345 5.22244 13.7673 5.07225C13.7631 5.06246 13.7587 5.05279 13.7541 5.04325C13.7105 4.94899 13.6615 4.85722 13.607 4.76843C13.4413 4.49795 13.215 4.27188 12.9155 3.97268C12.8997 3.95688 12.8837 3.94089 12.8675 3.92467L10.742 1.79919C10.7258 1.78297 10.7098 1.76696 10.694 1.75115C10.3948 1.45166 10.1687 1.22538 9.89824 1.05963C9.80909 1.005 9.71693 0.955736 9.62227 0.912052C9.61353 0.907841 9.60468 0.903814 9.59573 0.899979ZM10 2.94281V4.26672C10 4.4644 10.0005 4.57257 10.0069 4.65029C10.0071 4.65339 10.0074 4.65632 10.0076 4.65908C10.0104 4.65934 10.0133 4.65959 10.0164 4.65985C10.0941 4.6662 10.2023 4.66672 10.4 4.66672H11.7239L10 2.94281ZM4.66667 8.66667C4.66667 8.29848 4.96514 8 5.33333 8H10.6667C11.0349 8 11.3333 8.29848 11.3333 8.66667C11.3333 9.03486 11.0349 9.33333 10.6667 9.33333H5.33333C4.96514 9.33333 4.66667 9.03486 4.66667 8.66667ZM4.66667 11.3333C4.66667 10.9651 4.96514 10.6667 5.33333 10.6667H9.33333C9.70152 10.6667 10 10.9651 10 11.3333C10 11.7015 9.70152 12 9.33333 12H5.33333C4.96514 12 4.66667 11.7015 4.66667 11.3333Z", "fill", "#5D6983"], ["pTooltip", "Download as .CSV", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["strokeWidth", "6", 3, "style"], ["pTooltip", "Send E-mail", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click", "ngStyle"], [3, "ngStyle"], ["clip-path", "url(#clip0_1459_10510)"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M12.8893 4.05321L7.77869 9.16384L9.3341 13.1635L12.8893 4.05321ZM6.83588 8.22103L11.9465 3.1104L2.83626 6.66562L6.83588 8.22103ZM13.7648 0.982783C13.8869 0.94731 14.1325 0.883567 14.3964 0.97171C14.6945 1.0713 14.9284 1.30523 15.028 1.60333C15.1161 1.86718 15.0524 2.11281 15.0169 2.23494C14.9783 2.36803 14.9163 2.52664 14.8542 2.68578L10.4426 13.9905C10.3732 14.1684 10.306 14.3407 10.2402 14.4737C10.1834 14.5886 10.057 14.8328 9.79457 14.9691C9.5052 15.1195 9.1607 15.1193 8.8715 14.9686C8.60925 14.832 8.48308 14.5876 8.4264 14.4726C8.3608 14.3396 8.2938 14.1672 8.22462 13.9892L6.48466 9.51505L2.034 7.78424C2.02616 7.78119 2.01832 7.77814 2.0105 7.7751C1.83252 7.70592 1.66016 7.63891 1.5271 7.57331C1.41213 7.51663 1.16775 7.39046 1.03112 7.12822C0.880444 6.83902 0.880241 6.49452 1.03058 6.20514C1.1669 5.94274 1.41113 5.81628 1.52603 5.75947C1.65902 5.69371 1.8313 5.6265 2.00919 5.55711C2.01702 5.55406 2.02485 5.551 2.03269 5.54794L13.3139 1.14551C13.4731 1.08337 13.6317 1.02144 13.7648 0.982783Z", "fill", "#5D6983"], ["id", "clip0_1459_10510"], ["width", "16", "height", "16", "fill", "white"], ["pTooltip", "Duplicate", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["pTooltip", "Delete", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M7.44162 0.666657H8.55968C8.91111 0.666645 9.21429 0.666635 9.464 0.687037C9.72757 0.708571 9.98971 0.756115 10.242 0.884645C10.6183 1.07639 10.9243 1.38235 11.116 1.75868C11.2445 2.01093 11.2921 2.27308 11.3136 2.53664C11.3319 2.76049 11.3338 3.0273 11.334 3.33332H14.0007C14.3688 3.33332 14.6673 3.6318 14.6673 3.99999C14.6673 4.36818 14.3688 4.66666 14.0007 4.66666H13.334V11.4942C13.334 12.0308 13.334 12.4737 13.3045 12.8345C13.2739 13.2093 13.2082 13.5537 13.0433 13.8773C12.7877 14.3791 12.3797 14.787 11.878 15.0427C11.5544 15.2075 11.2099 15.2732 10.8352 15.3039C10.4744 15.3333 10.0315 15.3333 9.49487 15.3333H6.50644C5.9698 15.3333 5.52689 15.3333 5.1661 15.3039C4.79137 15.2732 4.4469 15.2075 4.12334 15.0427C3.62158 14.787 3.21363 14.3791 2.95797 13.8773C2.79311 13.5537 2.7274 13.2093 2.69678 12.8345C2.6673 12.4737 2.66731 12.0308 2.66732 11.4942L2.66732 4.66666H2.00065C1.63246 4.66666 1.33398 4.36818 1.33398 3.99999C1.33398 3.6318 1.63246 3.33332 2.00065 3.33332H4.66734C4.66752 3.0273 4.66941 2.76049 4.6877 2.53664C4.70923 2.27308 4.75678 2.01093 4.8853 1.75868C5.07705 1.38235 5.38301 1.07639 5.75934 0.884645C6.01159 0.756115 6.27374 0.708571 6.5373 0.687037C6.78701 0.666635 7.09019 0.666645 7.44162 0.666657ZM4.00065 4.66666V11.4667C4.00065 12.0377 4.00117 12.4259 4.02569 12.726C4.04957 13.0182 4.09285 13.1677 4.14598 13.272C4.27381 13.5229 4.47778 13.7268 4.72866 13.8547C4.83293 13.9078 4.9824 13.9511 5.27468 13.975C5.57474 13.9995 5.96293 14 6.53398 14H9.46732C10.0384 14 10.4266 13.9995 10.7266 13.975C11.0189 13.9511 11.1684 13.9078 11.2726 13.8547C11.5235 13.7268 11.7275 13.5229 11.8553 13.272C11.9085 13.1677 11.9517 13.0182 11.9756 12.726C12.0001 12.4259 12.0007 12.0377 12.0007 11.4667V4.66666H4.00065ZM10.0006 3.33332H6.0007C6.00099 3.02326 6.00303 2.81131 6.0166 2.64522C6.0314 2.46411 6.05652 2.39696 6.07331 2.364C6.13723 2.23856 6.23922 2.13657 6.36466 2.07265C6.39762 2.05586 6.46477 2.03074 6.64588 2.01594C6.83477 2.00051 7.08295 1.99999 7.46732 1.99999H8.53398C8.91835 1.99999 9.16654 2.00051 9.35543 2.01594C9.53654 2.03074 9.60368 2.05586 9.63664 2.07265C9.76209 2.13657 9.86407 2.23856 9.92799 2.364C9.94478 2.39696 9.9699 2.46411 9.9847 2.64522C9.99827 2.81131 10.0003 3.02326 10.0006 3.33332ZM6.66732 6.99999C7.03551 6.99999 7.33398 7.29847 7.33398 7.66666V11C7.33398 11.3682 7.03551 11.6667 6.66732 11.6667C6.29913 11.6667 6.00065 11.3682 6.00065 11V7.66666C6.00065 7.29847 6.29913 6.99999 6.66732 6.99999ZM9.33398 6.99999C9.70217 6.99999 10.0007 7.29847 10.0007 7.66666V11C10.0007 11.3682 9.70217 11.6667 9.33398 11.6667C8.96579 11.6667 8.66732 11.3682 8.66732 11V7.66666C8.66732 7.29847 8.96579 6.99999 9.33398 6.99999Z", "fill", "#5D6983"], ["strokeWidth", "6"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.00065 1.33334C8.36884 1.33334 8.66732 1.63182 8.66732 2.00001V8.39053L10.8626 6.19527C11.1229 5.93492 11.545 5.93492 11.8054 6.19527C12.0657 6.45562 12.0657 6.87773 11.8054 7.13808L8.47206 10.4714C8.21171 10.7318 7.7896 10.7318 7.52925 10.4714L4.19591 7.13808C3.93556 6.87773 3.93556 6.45562 4.19591 6.19527C4.45626 5.93492 4.87837 5.93492 5.13872 6.19527L7.33398 8.39053V2.00001C7.33398 1.63182 7.63246 1.33334 8.00065 1.33334ZM2.00065 9.33334C2.36884 9.33334 2.66732 9.63182 2.66732 10V10.8C2.66732 11.3711 2.66784 11.7593 2.69235 12.0593C2.71623 12.3516 2.75952 12.5011 2.81264 12.6053C2.94047 12.8562 3.14445 13.0602 3.39533 13.188C3.4996 13.2411 3.64907 13.2844 3.94134 13.3083C4.2414 13.3328 4.6296 13.3333 5.20065 13.3333H10.8007C11.3717 13.3333 11.7599 13.3328 12.06 13.3083C12.3522 13.2844 12.5017 13.2411 12.606 13.188C12.8569 13.0602 13.0608 12.8562 13.1887 12.6053C13.2418 12.5011 13.2851 12.3516 13.3089 12.0593C13.3335 11.7593 13.334 11.3711 13.334 10.8V10C13.334 9.63182 13.6325 9.33334 14.0007 9.33334C14.3688 9.33334 14.6673 9.63182 14.6673 10V10.8276C14.6673 11.3642 14.6673 11.8071 14.6379 12.1679C14.6072 12.5426 14.5415 12.8871 14.3767 13.2107C14.121 13.7124 13.7131 14.1204 13.2113 14.376C12.8877 14.5409 12.5433 14.6066 12.1685 14.6372C11.8077 14.6667 11.3648 14.6667 10.8282 14.6667H5.1731C4.63646 14.6667 4.19356 14.6667 3.83277 14.6372C3.45804 14.6066 3.11357 14.5409 2.79001 14.376C2.28824 14.1204 1.8803 13.7124 1.62463 13.2107C1.45977 12.8871 1.39406 12.5426 1.36345 12.1679C1.33397 11.8071 1.33398 11.3642 1.33398 10.8275L1.33398 10C1.33398 9.63182 1.63246 9.33334 2.00065 9.33334Z", "fill", "#5D6983"], ["clip-path", "url(#clip0_1459_11002)"], ["d", "M5.33398 5.33334V3.46668C5.33398 2.71994 5.33398 2.34657 5.47931 2.06136C5.60714 1.81047 5.81111 1.6065 6.062 1.47867C6.34721 1.33334 6.72058 1.33334 7.46732 1.33334H12.534C13.2807 1.33334 13.6541 1.33334 13.9393 1.47867C14.1902 1.6065 14.3942 1.81047 14.522 2.06136C14.6673 2.34657 14.6673 2.71994 14.6673 3.46668V8.53334C14.6673 9.28008 14.6673 9.65348 14.522 9.93868C14.3942 10.1895 14.1902 10.3935 13.9393 10.5213C13.6541 10.6667 13.2807 10.6667 12.534 10.6667H10.6673M3.46732 14.6667H8.53398C9.28072 14.6667 9.65412 14.6667 9.93932 14.5213C10.1902 14.3935 10.3942 14.1895 10.522 13.9387C10.6673 13.6535 10.6673 13.2801 10.6673 12.5333V7.46668C10.6673 6.71994 10.6673 6.34657 10.522 6.06136C10.3942 5.81047 10.1902 5.6065 9.93932 5.47867C9.65412 5.33334 9.28072 5.33334 8.53398 5.33334H3.46732C2.72058 5.33334 2.34721 5.33334 2.062 5.47867C1.81111 5.6065 1.60714 5.81047 1.47931 6.06136C1.33398 6.34657 1.33398 6.71994 1.33398 7.46668V12.5333C1.33398 13.2801 1.33398 13.6535 1.47931 13.9387C1.60714 14.1895 1.81111 14.3935 2.062 14.5213C2.34721 14.6667 2.72058 14.6667 3.46732 14.6667Z", "stroke", "#5D6983", "stroke-width", "1.6", "stroke-linecap", "round", "stroke-linejoin", "round"], ["id", "clip0_1459_11002"], ["title", "Delete Template", "description", "Template will be deleted and all settings including sending\n schedule will not be saved. <br />Are you sure you want to delete\n the template?", 3, "loadingChange", "visibleChange", "confirm", "loading", "visible"], [3, "visibleChange", "visible", "selectedTemplate"], [3, "visibleChange", "confirm", "visible", "isSaveMode", "action"]], template: function TemplateSelectModalComponent_Template(rf, ctx) {
55557
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _TemplateSelectModalComponent, selectors: [["lib-template-select-modal"]], inputs: { reportId: [1, "reportId"], showDeleteConfirmation: [1, "showDeleteConfirmation"], templateCsvLoadingConfig: [1, "templateCsvLoadingConfig"], showSendingModal: [1, "showSendingModal"], templateDeleteLoading: [1, "templateDeleteLoading"], domainLookups: "domainLookups" }, outputs: { runReportEmitter: "runReportEmitter", csvLoadEmitter: "csvLoadEmitter", showDeleteConfirmation: "showDeleteConfirmationChange", templateCsvLoadingConfig: "templateCsvLoadingConfigChange", showSendingModal: "showSendingModalChange", templateDeleteLoading: "templateDeleteLoadingChange" }, decls: 18, vars: 5, consts: [["op", ""], ["text", "Select Template", "size", "medium", "variant", "secondary-filled", 3, "outsideClickEmitter"], ["icon-right", "", 1, "dm-button-icon"], ["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", "M4.41009 6.91075C4.73553 6.58531 5.26317 6.58531 5.5886 6.91075L9.99935 11.3215L14.4101 6.91075C14.7355 6.58531 15.2632 6.58531 15.5886 6.91075C15.914 7.23618 15.914 7.76382 15.5886 8.08926L10.5886 13.0893C10.2632 13.4147 9.73553 13.4147 9.41009 13.0893L4.41009 8.08926C4.08466 7.76382 4.08466 7.23618 4.41009 6.91075Z", "fill", "white"], [1, "popover-container"], [1, "template-list-search"], [1, "template-list"], [1, "loading-state"], [3, "visible", "selectedTemplate"], ["xmlns", "http://www.w3.org/2000/svg", "width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", 1, "search-icon"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M9.58268 3.33329C6.1309 3.33329 3.33268 6.13151 3.33268 9.58329C3.33268 13.0351 6.1309 15.8333 9.58268 15.8333C11.2603 15.8333 12.7835 15.1723 13.9061 14.0967C13.932 14.0607 13.9612 14.0264 13.9935 13.994C14.0259 13.9617 14.0602 13.9326 14.0961 13.9067C15.1718 12.784 15.8327 11.2608 15.8327 9.58329C15.8327 6.13151 13.0345 3.33329 9.58268 3.33329ZM15.739 14.561C16.8399 13.2011 17.4993 11.4692 17.4993 9.58329C17.4993 5.21104 13.9549 1.66663 9.58268 1.66663C5.21043 1.66663 1.66602 5.21104 1.66602 9.58329C1.66602 13.9555 5.21043 17.5 9.58268 17.5C11.4687 17.5 13.2006 16.8405 14.5605 15.7395L16.9101 18.0892C17.2355 18.4146 17.7632 18.4147 18.0886 18.0892C18.414 17.7638 18.414 17.2362 18.0886 16.9107L15.739 14.561Z", "fill", "#5D6983"], ["id", "inputRangePicker", "placeholder", "Enter Template Name", "pInputText", "", 1, "form-control-field", "search-input", 3, "input", "value"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon"], ["width", "14", "height", "14", "viewBox", "0 0 14 14", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", "aria-hidden", "true", 1, "clear-icon", 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"], [1, "empty-container"], [1, "template-row", "template-row-header"], [1, "cell", "cell-header"], [1, "template-row", "template-row-content", 3, "ngClass"], [1, "cell", "cell-name", 3, "click"], ["tooltipPosition", "top", "showDelay", "500", 1, "tooltip-label", 3, "pTooltip"], [1, "cell", "cell-desc", 3, "click"], [1, "cell", "cell-actions"], ["pTooltip", "Run", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["xmlns", "http://www.w3.org/2000/svg", "width", "16", "height", "16", "viewBox", "0 0 16 16", "fill", "none"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.66667 2.01323C8.54287 2.00195 8.35943 2 8.00785 2H5.86667C5.29561 2 4.90742 2.00052 4.60736 2.02504C4.31508 2.04892 4.16561 2.0922 4.06135 2.14533C3.81046 2.27316 3.60649 2.47713 3.47866 2.72801C3.42553 2.83228 3.38225 2.98175 3.35837 3.27403C3.33385 3.57409 3.33333 3.96228 3.33333 4.53333V11.4667C3.33333 12.0377 3.33385 12.4259 3.35837 12.726C3.38225 13.0183 3.42553 13.1677 3.47866 13.272C3.60649 13.5229 3.81046 13.7268 4.06135 13.8547C4.16561 13.9078 4.31508 13.9511 4.60736 13.975C4.90742 13.9995 5.29561 14 5.86667 14H10.1333C10.7044 14 11.0926 13.9995 11.3926 13.975C11.6849 13.9511 11.8344 13.9078 11.9387 13.8547C12.1895 13.7268 12.3935 13.5229 12.5213 13.272C12.5745 13.1677 12.6178 13.0183 12.6416 12.726C12.6661 12.4259 12.6667 12.0377 12.6667 11.4667V6.65882C12.6667 6.30728 12.6647 6.12385 12.6534 6.00005L10.3787 6.00005C10.2105 6.00007 10.0466 6.00009 9.90785 5.98875C9.75545 5.9763 9.57563 5.94692 9.39468 5.85472C9.1438 5.72689 8.93982 5.52292 8.81199 5.27204C8.71979 5.09109 8.69042 4.91126 8.67796 4.75887C8.66663 4.62009 8.66665 4.45623 8.66667 4.28797L8.66667 2.01323ZM9.59573 0.899979C9.44514 0.832472 9.28838 0.778989 9.12743 0.740348C8.81896 0.666293 8.4991 0.666445 8.07577 0.666647C8.05342 0.666657 8.03079 0.666668 8.00785 0.666668L5.83913 0.666668C5.30249 0.666659 4.85958 0.666652 4.49878 0.69613C4.12405 0.726747 3.77958 0.792457 3.45603 0.957317C2.95426 1.21298 2.54631 1.62093 2.29065 2.12269C2.12579 2.44625 2.06008 2.79072 2.02946 3.16545C1.99998 3.52625 1.99999 3.96915 2 4.5058V11.4942C1.99999 12.0308 1.99998 12.4738 2.02946 12.8346C2.06008 13.2093 2.12579 13.5538 2.29065 13.8773C2.54631 14.3791 2.95426 14.787 3.45603 15.0427C3.77958 15.2075 4.12405 15.2733 4.49878 15.3039C4.85958 15.3333 5.30248 15.3333 5.83912 15.3333H10.1609C10.6975 15.3333 11.1404 15.3333 11.5012 15.3039C11.876 15.2733 12.2204 15.2075 12.544 15.0427C13.0457 14.787 13.4537 14.3791 13.7094 13.8773C13.8742 13.5538 13.9399 13.2093 13.9705 12.8346C14 12.4738 14 12.0309 14 11.4942V6.65882C14 6.63588 14 6.61325 14 6.5909C14.0002 6.16757 14.0004 5.8477 13.9263 5.53924C13.8878 5.37876 13.8345 5.22244 13.7673 5.07225C13.7631 5.06246 13.7587 5.05279 13.7541 5.04325C13.7105 4.94899 13.6615 4.85722 13.607 4.76843C13.4413 4.49795 13.215 4.27188 12.9155 3.97268C12.8997 3.95688 12.8837 3.94089 12.8675 3.92467L10.742 1.79919C10.7258 1.78297 10.7098 1.76696 10.694 1.75115C10.3948 1.45166 10.1687 1.22538 9.89824 1.05963C9.80909 1.005 9.71693 0.955736 9.62227 0.912052C9.61353 0.907841 9.60468 0.903814 9.59573 0.899979ZM10 2.94281V4.26672C10 4.4644 10.0005 4.57257 10.0069 4.65029C10.0071 4.65339 10.0074 4.65632 10.0076 4.65908C10.0104 4.65934 10.0133 4.65959 10.0164 4.65985C10.0941 4.6662 10.2023 4.66672 10.4 4.66672H11.7239L10 2.94281ZM4.66667 8.66667C4.66667 8.29848 4.96514 8 5.33333 8H10.6667C11.0349 8 11.3333 8.29848 11.3333 8.66667C11.3333 9.03486 11.0349 9.33333 10.6667 9.33333H5.33333C4.96514 9.33333 4.66667 9.03486 4.66667 8.66667ZM4.66667 11.3333C4.66667 10.9651 4.96514 10.6667 5.33333 10.6667H9.33333C9.70152 10.6667 10 10.9651 10 11.3333C10 11.7015 9.70152 12 9.33333 12H5.33333C4.96514 12 4.66667 11.7015 4.66667 11.3333Z", "fill", "#5D6983"], ["pTooltip", "Download as .CSV", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["strokeWidth", "6", 3, "style"], ["pTooltip", "Send E-mail", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click", "ngStyle"], [3, "ngStyle"], ["clip-path", "url(#clip0_1459_10510)"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M12.8893 4.05321L7.77869 9.16384L9.3341 13.1635L12.8893 4.05321ZM6.83588 8.22103L11.9465 3.1104L2.83626 6.66562L6.83588 8.22103ZM13.7648 0.982783C13.8869 0.94731 14.1325 0.883567 14.3964 0.97171C14.6945 1.0713 14.9284 1.30523 15.028 1.60333C15.1161 1.86718 15.0524 2.11281 15.0169 2.23494C14.9783 2.36803 14.9163 2.52664 14.8542 2.68578L10.4426 13.9905C10.3732 14.1684 10.306 14.3407 10.2402 14.4737C10.1834 14.5886 10.057 14.8328 9.79457 14.9691C9.5052 15.1195 9.1607 15.1193 8.8715 14.9686C8.60925 14.832 8.48308 14.5876 8.4264 14.4726C8.3608 14.3396 8.2938 14.1672 8.22462 13.9892L6.48466 9.51505L2.034 7.78424C2.02616 7.78119 2.01832 7.77814 2.0105 7.7751C1.83252 7.70592 1.66016 7.63891 1.5271 7.57331C1.41213 7.51663 1.16775 7.39046 1.03112 7.12822C0.880444 6.83902 0.880241 6.49452 1.03058 6.20514C1.1669 5.94274 1.41113 5.81628 1.52603 5.75947C1.65902 5.69371 1.8313 5.6265 2.00919 5.55711C2.01702 5.55406 2.02485 5.551 2.03269 5.54794L13.3139 1.14551C13.4731 1.08337 13.6317 1.02144 13.7648 0.982783Z", "fill", "#5D6983"], ["id", "clip0_1459_10510"], ["width", "16", "height", "16", "fill", "white"], ["pTooltip", "Duplicate", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["pTooltip", "Delete", "tooltipPosition", "top", "positionTop", "-5", 1, "action", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M7.44162 0.666657H8.55968C8.91111 0.666645 9.21429 0.666635 9.464 0.687037C9.72757 0.708571 9.98971 0.756115 10.242 0.884645C10.6183 1.07639 10.9243 1.38235 11.116 1.75868C11.2445 2.01093 11.2921 2.27308 11.3136 2.53664C11.3319 2.76049 11.3338 3.0273 11.334 3.33332H14.0007C14.3688 3.33332 14.6673 3.6318 14.6673 3.99999C14.6673 4.36818 14.3688 4.66666 14.0007 4.66666H13.334V11.4942C13.334 12.0308 13.334 12.4737 13.3045 12.8345C13.2739 13.2093 13.2082 13.5537 13.0433 13.8773C12.7877 14.3791 12.3797 14.787 11.878 15.0427C11.5544 15.2075 11.2099 15.2732 10.8352 15.3039C10.4744 15.3333 10.0315 15.3333 9.49487 15.3333H6.50644C5.9698 15.3333 5.52689 15.3333 5.1661 15.3039C4.79137 15.2732 4.4469 15.2075 4.12334 15.0427C3.62158 14.787 3.21363 14.3791 2.95797 13.8773C2.79311 13.5537 2.7274 13.2093 2.69678 12.8345C2.6673 12.4737 2.66731 12.0308 2.66732 11.4942L2.66732 4.66666H2.00065C1.63246 4.66666 1.33398 4.36818 1.33398 3.99999C1.33398 3.6318 1.63246 3.33332 2.00065 3.33332H4.66734C4.66752 3.0273 4.66941 2.76049 4.6877 2.53664C4.70923 2.27308 4.75678 2.01093 4.8853 1.75868C5.07705 1.38235 5.38301 1.07639 5.75934 0.884645C6.01159 0.756115 6.27374 0.708571 6.5373 0.687037C6.78701 0.666635 7.09019 0.666645 7.44162 0.666657ZM4.00065 4.66666V11.4667C4.00065 12.0377 4.00117 12.4259 4.02569 12.726C4.04957 13.0182 4.09285 13.1677 4.14598 13.272C4.27381 13.5229 4.47778 13.7268 4.72866 13.8547C4.83293 13.9078 4.9824 13.9511 5.27468 13.975C5.57474 13.9995 5.96293 14 6.53398 14H9.46732C10.0384 14 10.4266 13.9995 10.7266 13.975C11.0189 13.9511 11.1684 13.9078 11.2726 13.8547C11.5235 13.7268 11.7275 13.5229 11.8553 13.272C11.9085 13.1677 11.9517 13.0182 11.9756 12.726C12.0001 12.4259 12.0007 12.0377 12.0007 11.4667V4.66666H4.00065ZM10.0006 3.33332H6.0007C6.00099 3.02326 6.00303 2.81131 6.0166 2.64522C6.0314 2.46411 6.05652 2.39696 6.07331 2.364C6.13723 2.23856 6.23922 2.13657 6.36466 2.07265C6.39762 2.05586 6.46477 2.03074 6.64588 2.01594C6.83477 2.00051 7.08295 1.99999 7.46732 1.99999H8.53398C8.91835 1.99999 9.16654 2.00051 9.35543 2.01594C9.53654 2.03074 9.60368 2.05586 9.63664 2.07265C9.76209 2.13657 9.86407 2.23856 9.92799 2.364C9.94478 2.39696 9.9699 2.46411 9.9847 2.64522C9.99827 2.81131 10.0003 3.02326 10.0006 3.33332ZM6.66732 6.99999C7.03551 6.99999 7.33398 7.29847 7.33398 7.66666V11C7.33398 11.3682 7.03551 11.6667 6.66732 11.6667C6.29913 11.6667 6.00065 11.3682 6.00065 11V7.66666C6.00065 7.29847 6.29913 6.99999 6.66732 6.99999ZM9.33398 6.99999C9.70217 6.99999 10.0007 7.29847 10.0007 7.66666V11C10.0007 11.3682 9.70217 11.6667 9.33398 11.6667C8.96579 11.6667 8.66732 11.3682 8.66732 11V7.66666C8.66732 7.29847 8.96579 6.99999 9.33398 6.99999Z", "fill", "#5D6983"], ["strokeWidth", "6"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.00065 1.33334C8.36884 1.33334 8.66732 1.63182 8.66732 2.00001V8.39053L10.8626 6.19527C11.1229 5.93492 11.545 5.93492 11.8054 6.19527C12.0657 6.45562 12.0657 6.87773 11.8054 7.13808L8.47206 10.4714C8.21171 10.7318 7.7896 10.7318 7.52925 10.4714L4.19591 7.13808C3.93556 6.87773 3.93556 6.45562 4.19591 6.19527C4.45626 5.93492 4.87837 5.93492 5.13872 6.19527L7.33398 8.39053V2.00001C7.33398 1.63182 7.63246 1.33334 8.00065 1.33334ZM2.00065 9.33334C2.36884 9.33334 2.66732 9.63182 2.66732 10V10.8C2.66732 11.3711 2.66784 11.7593 2.69235 12.0593C2.71623 12.3516 2.75952 12.5011 2.81264 12.6053C2.94047 12.8562 3.14445 13.0602 3.39533 13.188C3.4996 13.2411 3.64907 13.2844 3.94134 13.3083C4.2414 13.3328 4.6296 13.3333 5.20065 13.3333H10.8007C11.3717 13.3333 11.7599 13.3328 12.06 13.3083C12.3522 13.2844 12.5017 13.2411 12.606 13.188C12.8569 13.0602 13.0608 12.8562 13.1887 12.6053C13.2418 12.5011 13.2851 12.3516 13.3089 12.0593C13.3335 11.7593 13.334 11.3711 13.334 10.8V10C13.334 9.63182 13.6325 9.33334 14.0007 9.33334C14.3688 9.33334 14.6673 9.63182 14.6673 10V10.8276C14.6673 11.3642 14.6673 11.8071 14.6379 12.1679C14.6072 12.5426 14.5415 12.8871 14.3767 13.2107C14.121 13.7124 13.7131 14.1204 13.2113 14.376C12.8877 14.5409 12.5433 14.6066 12.1685 14.6372C11.8077 14.6667 11.3648 14.6667 10.8282 14.6667H5.1731C4.63646 14.6667 4.19356 14.6667 3.83277 14.6372C3.45804 14.6066 3.11357 14.5409 2.79001 14.376C2.28824 14.1204 1.8803 13.7124 1.62463 13.2107C1.45977 12.8871 1.39406 12.5426 1.36345 12.1679C1.33397 11.8071 1.33398 11.3642 1.33398 10.8275L1.33398 10C1.33398 9.63182 1.63246 9.33334 2.00065 9.33334Z", "fill", "#5D6983"], ["clip-path", "url(#clip0_1459_11002)"], ["d", "M5.33398 5.33334V3.46668C5.33398 2.71994 5.33398 2.34657 5.47931 2.06136C5.60714 1.81047 5.81111 1.6065 6.062 1.47867C6.34721 1.33334 6.72058 1.33334 7.46732 1.33334H12.534C13.2807 1.33334 13.6541 1.33334 13.9393 1.47867C14.1902 1.6065 14.3942 1.81047 14.522 2.06136C14.6673 2.34657 14.6673 2.71994 14.6673 3.46668V8.53334C14.6673 9.28008 14.6673 9.65348 14.522 9.93868C14.3942 10.1895 14.1902 10.3935 13.9393 10.5213C13.6541 10.6667 13.2807 10.6667 12.534 10.6667H10.6673M3.46732 14.6667H8.53398C9.28072 14.6667 9.65412 14.6667 9.93932 14.5213C10.1902 14.3935 10.3942 14.1895 10.522 13.9387C10.6673 13.6535 10.6673 13.2801 10.6673 12.5333V7.46668C10.6673 6.71994 10.6673 6.34657 10.522 6.06136C10.3942 5.81047 10.1902 5.6065 9.93932 5.47867C9.65412 5.33334 9.28072 5.33334 8.53398 5.33334H3.46732C2.72058 5.33334 2.34721 5.33334 2.062 5.47867C1.81111 5.6065 1.60714 5.81047 1.47931 6.06136C1.33398 6.34657 1.33398 6.71994 1.33398 7.46668V12.5333C1.33398 13.2801 1.33398 13.6535 1.47931 13.9387C1.60714 14.1895 1.81111 14.3935 2.062 14.5213C2.34721 14.6667 2.72058 14.6667 3.46732 14.6667Z", "stroke", "#5D6983", "stroke-width", "1.6", "stroke-linecap", "round", "stroke-linejoin", "round"], ["id", "clip0_1459_11002"], ["title", "Delete Template", "description", "Template will be deleted and all settings including sending\n schedule will not be saved. <br />Are you sure you want to delete\n the template?", 3, "loadingChange", "visibleChange", "confirm", "loading", "visible"], [3, "visibleChange", "visible", "selectedTemplate"], [3, "visibleChange", "confirm", "visible", "isSaveMode", "action"]], template: function TemplateSelectModalComponent_Template(rf, ctx) {
55543
55558
  if (rf & 1) {
55544
55559
  const _r1 = \u0275\u0275getCurrentView();
55545
55560
  \u0275\u0275elementStart(0, "lib-dm-button-lib", 1);
@@ -55581,9 +55596,6 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55581
55596
  PopoverModule,
55582
55597
  Popover,
55583
55598
  FormsModule,
55584
- DefaultValueAccessor,
55585
- NgControlStatus,
55586
- NgModel,
55587
55599
  DmButtonLibComponent,
55588
55600
  InputText,
55589
55601
  NgClass,
@@ -55595,7 +55607,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55595
55607
  ], 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 });
55596
55608
  };
55597
55609
  (() => {
55598
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-EHYSURWH.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-ORMI2PEU.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55610
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-RKNM3CPU.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-4M25FGA6.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
55599
55611
  setClassMetadata(TemplateSelectModalComponent, [{
55600
55612
  type: Component,
55601
55613
  args: [{ selector: "lib-template-select-modal", standalone: true, imports: [
@@ -55653,15 +55665,16 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
55653
55665
  />\r
55654
55666
  </svg>\r
55655
55667
  <input\r
55656
- [(ngModel)]="searchQuery"\r
55668
+ (input)="onSearchChange($event)"\r
55669
+ [value]="searchQuery()"\r
55657
55670
  id="inputRangePicker"\r
55658
55671
  placeholder="Enter Template Name"\r
55659
55672
  class="form-control-field search-input"\r
55660
55673
  pInputText\r
55661
55674
  />\r
55662
- @if(searchQuery) {\r
55675
+ @if(searchQuery()) {\r
55663
55676
  <svg\r
55664
- (click)="searchQuery = ''"\r
55677
+ (click)="searchQuery.set('')"\r
55665
55678
  class="clear-icon"\r
55666
55679
  width="14"\r
55667
55680
  height="14"\r
@@ -57433,6 +57446,7 @@ function AppComponent_Conditional_12_ng_template_2_Conditional_5_Template(rf, ct
57433
57446
  \u0275\u0275listener("outsideClickEmitter", function AppComponent_Conditional_12_ng_template_2_Conditional_5_Template_lib_dm_button_lib_outsideClickEmitter_1_listener() {
57434
57447
  \u0275\u0275restoreView(_r5);
57435
57448
  const ctx_r2 = \u0275\u0275nextContext(3);
57449
+ ctx_r2.setPrevVisibleFields();
57436
57450
  return \u0275\u0275resetView(ctx_r2.clearFilters());
57437
57451
  });
57438
57452
  \u0275\u0275elementStart(2, "div", 26);
@@ -57445,6 +57459,7 @@ function AppComponent_Conditional_12_ng_template_2_Conditional_5_Template(rf, ct
57445
57459
  \u0275\u0275listener("outsideClickEmitter", function AppComponent_Conditional_12_ng_template_2_Conditional_5_Template_lib_dm_button_lib_outsideClickEmitter_5_listener() {
57446
57460
  \u0275\u0275restoreView(_r5);
57447
57461
  const ctx_r2 = \u0275\u0275nextContext(3);
57462
+ ctx_r2.setPrevVisibleFields();
57448
57463
  return \u0275\u0275resetView(ctx_r2.configureReportModalVisible.set(true));
57449
57464
  });
57450
57465
  \u0275\u0275elementStart(6, "div", 30);
@@ -57971,6 +57986,7 @@ var AppComponent = class _AppComponent {
57971
57986
  }
57972
57987
  });
57973
57988
  allConfigurationFields;
57989
+ prevVisibleFields = [];
57974
57990
  requiredFields = [
57975
57991
  "merchant_name",
57976
57992
  "verification_creation_date",
@@ -58145,11 +58161,11 @@ var AppComponent = class _AppComponent {
58145
58161
  return acc;
58146
58162
  }, []);
58147
58163
  if (this.filterForm) {
58148
- this.visibleFieldsSignal.set(visibleFields);
58149
58164
  this.filterForm.patchValue(template.input_params.fieldValues);
58150
58165
  } else {
58151
58166
  this.buildFilterForm(allFields, visibleFields, template.input_params.fieldValues);
58152
58167
  }
58168
+ this.visibleFieldsSignal.set(visibleFields);
58153
58169
  this.filterForm.markAsDirty();
58154
58170
  this.filterForm.markAsUntouched();
58155
58171
  }
@@ -58184,12 +58200,13 @@ var AppComponent = class _AppComponent {
58184
58200
  allFields: this.allFieldsSignal()
58185
58201
  };
58186
58202
  const currentTemplate = this.templateSignal();
58203
+ const baseTemplate = this.templateService.baseTemplate();
58187
58204
  if (!this.isTemplateSaved() || !currentTemplate) {
58188
58205
  this.templateService.saveTemplate(null, null, payload, this.reportId, null, true).pipe(takeUntilDestroyed(this.destroyRef), take(1)).subscribe((template) => {
58189
- const params = currentTemplate && !currentTemplate.is_temporary && currentTemplate.template_name && template.template_id ? {
58206
+ const params = currentTemplate && (!currentTemplate.is_temporary && currentTemplate.template_name && template.template_id || baseTemplate && currentTemplate.is_temporary && baseTemplate.template_id !== template.template_id) ? {
58190
58207
  modificationId: template.template_id,
58191
- templateName: currentTemplate.template_name,
58192
- templateId: currentTemplate.template_id
58208
+ templateName: baseTemplate?.template_name || currentTemplate.template_name,
58209
+ templateId: baseTemplate?.template_id || currentTemplate.template_id
58193
58210
  } : {
58194
58211
  modificationId: null,
58195
58212
  templateName: null,
@@ -58606,21 +58623,13 @@ var AppComponent = class _AppComponent {
58606
58623
  applyDefaultValues(onClearFilters = false, onApplyConfigurationFields = false) {
58607
58624
  if (!this.filterForm || !this.visibleFieldsSignal())
58608
58625
  return;
58609
- const documentFieldIds = [
58610
- "documents_type",
58611
- "documents_status",
58612
- "documents_expiry_date",
58613
- "documents_created_date"
58614
- ];
58615
- const allFields = this.allFieldsSignal() || [];
58616
- const isDocumentsFieldSelected = !!this.visibleFieldsSignal().find((item) => item["field_id"] == "documents");
58617
- const documentsFields = allFields.filter((item) => documentFieldIds.includes(item.field_id));
58618
- const visibleFields = !isDocumentsFieldSelected ? this.visibleFieldsSignal() : [...this.visibleFieldsSignal(), ...documentsFields];
58626
+ const prevVisibleFieldsIds = this.prevVisibleFields.map(({ field_id }) => field_id);
58627
+ const visibleFields = this.getAllVisibleFields();
58619
58628
  const fieldsWithDateRange = this.visibleFieldsSignal().filter((item) => item.field_id !== "verification_updated_date" && item.field_data_type === "TIMESTAMP");
58620
58629
  Object.keys(this.filterForm.controls).forEach((control) => {
58621
58630
  const isFieldVisible = !!visibleFields.find((item) => item["field_id"] == control);
58622
58631
  const isSetDefaultDateRange = !!fieldsWithDateRange.find((item) => item["field_id"] == control);
58623
- if (isFieldVisible && isSetDefaultDateRange && (onClearFilters || onApplyConfigurationFields && !this.getControl(control)?.touched && !this.getControl(control)?.dirty && !this.getControl(control)?.value)) {
58632
+ if (isFieldVisible && isSetDefaultDateRange && (onClearFilters || onApplyConfigurationFields && !prevVisibleFieldsIds.includes(control))) {
58624
58633
  this.filterForm.controls[control].reset({
58625
58634
  alias: "custom",
58626
58635
  start: (0, import_moment2.default)().startOf("day").toDate(),
@@ -58640,6 +58649,21 @@ var AppComponent = class _AppComponent {
58640
58649
  nullUndefinedOrEmpty(value) {
58641
58650
  return value === null || value === void 0 || value === "";
58642
58651
  }
58652
+ getAllVisibleFields() {
58653
+ const documentFieldIds = [
58654
+ "documents_type",
58655
+ "documents_status",
58656
+ "documents_expiry_date",
58657
+ "documents_created_date"
58658
+ ];
58659
+ const allFields = this.allFieldsSignal() || [];
58660
+ const isDocumentsFieldSelected = !!this.visibleFieldsSignal().find((item) => item["field_id"] == "documents");
58661
+ const documentsFields = allFields.filter((item) => documentFieldIds.includes(item.field_id));
58662
+ return !isDocumentsFieldSelected ? [...this.visibleFieldsSignal()] : [...this.visibleFieldsSignal(), ...documentsFields];
58663
+ }
58664
+ setPrevVisibleFields() {
58665
+ this.prevVisibleFields = [...this.getAllVisibleFields()];
58666
+ }
58643
58667
  static \u0275fac = function AppComponent_Factory(__ngFactoryType__) {
58644
58668
  return new (__ngFactoryType__ || _AppComponent)();
58645
58669
  };
@@ -58812,7 +58836,7 @@ var AppComponent = class _AppComponent {
58812
58836
  size="medium"\r
58813
58837
  variant="secondary-outlined"\r
58814
58838
  [disabled]="filterForm && !filterForm.dirty"\r
58815
- (outsideClickEmitter)="clearFilters()"\r
58839
+ (outsideClickEmitter)="setPrevVisibleFields(); clearFilters()"\r
58816
58840
  >\r
58817
58841
  <div\r
58818
58842
  class="dm-button-icon"\r
@@ -58843,7 +58867,7 @@ var AppComponent = class _AppComponent {
58843
58867
  text="Configure Report"\r
58844
58868
  size="medium"\r
58845
58869
  variant="secondary-outlined"\r
58846
- (outsideClickEmitter)="configureReportModalVisible.set(true)"\r
58870
+ (outsideClickEmitter)="setPrevVisibleFields(); configureReportModalVisible.set(true)"\r
58847
58871
  >\r
58848
58872
  <div class="dm-button-icon" icon-left>\r
58849
58873
  <svg\r