@everymatrix/stage-mm-verification-report 1.0.45 → 1.0.47
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/{chunk-5SLGHNOA.js → chunk-6BQ4W3Q7.js} +3 -3
- package/{chunk-LQWEMMSH.js → chunk-7GE4HYDF.js} +2 -2
- package/{chunk-XSSG23CW.js → chunk-O762TFRX.js} +29 -8
- package/chunk-O762TFRX.js.map +1 -0
- package/{chunk-56BPDXDC.js → chunk-U6MP4HHZ.js} +2 -2
- package/{chunk-YS5YUIJD.js → chunk-ZXVHPVXW.js} +3 -3
- package/index.html +1 -1
- package/main.js +109 -80
- package/main.js.map +1 -1
- package/package.json +1 -1
- package/chunk-XSSG23CW.js.map +0 -1
- /package/{chunk-5SLGHNOA.js.map → chunk-6BQ4W3Q7.js.map} +0 -0
- /package/{chunk-LQWEMMSH.js.map → chunk-7GE4HYDF.js.map} +0 -0
- /package/{chunk-56BPDXDC.js.map → chunk-U6MP4HHZ.js.map} +0 -0
- /package/{chunk-YS5YUIJD.js.map → chunk-ZXVHPVXW.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DmButtonLibComponent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O762TFRX.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent,
|
|
6
6
|
BaseStyle,
|
|
@@ -450,4 +450,4 @@ export {
|
|
|
450
450
|
ProgressSpinnerModule,
|
|
451
451
|
DeleteTemplateModalComponent
|
|
452
452
|
};
|
|
453
|
-
//# sourceMappingURL=chunk-
|
|
453
|
+
//# sourceMappingURL=chunk-U6MP4HHZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DomainsOverloadModalComponent
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7GE4HYDF.js";
|
|
4
|
+
import "./chunk-O762TFRX.js";
|
|
5
5
|
import "./chunk-2SMQV2OO.js";
|
|
6
6
|
import "./chunk-57JN4OKS.js";
|
|
7
7
|
export {
|
|
8
8
|
DomainsOverloadModalComponent
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-ZXVHPVXW.js.map
|
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-
|
|
11
|
+
<link rel="modulepreload" href="chunk-U6MP4HHZ.js"><link rel="modulepreload" href="chunk-7GE4HYDF.js"><link rel="modulepreload" href="chunk-O762TFRX.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-
|
|
4
|
+
} from "./chunk-U6MP4HHZ.js";
|
|
5
5
|
import {
|
|
6
6
|
DomainsOverloadModalComponent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7GE4HYDF.js";
|
|
8
8
|
import {
|
|
9
9
|
ApiHandlerService,
|
|
10
10
|
BrowserModule,
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
SendingService,
|
|
21
21
|
SessionService,
|
|
22
22
|
ShadowDomStyleInjectorService,
|
|
23
|
+
TEMPORARY_TEMPLATE_WARNING,
|
|
23
24
|
TIME_OPTIONS,
|
|
24
25
|
TemplateService,
|
|
25
26
|
TracingInfoService,
|
|
@@ -35,7 +36,7 @@ import {
|
|
|
35
36
|
provideHttpClient,
|
|
36
37
|
require_moment,
|
|
37
38
|
withInterceptors
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-O762TFRX.js";
|
|
39
40
|
import {
|
|
40
41
|
$dt,
|
|
41
42
|
AutoFocus,
|
|
@@ -23454,10 +23455,15 @@ var DmRangeDatePickerLibComponent = class _DmRangeDatePickerLibComponent {
|
|
|
23454
23455
|
}
|
|
23455
23456
|
onClear() {
|
|
23456
23457
|
this.dateControl.reset();
|
|
23458
|
+
this.dateControl.markAsTouched();
|
|
23459
|
+
this.dateControl.markAsDirty();
|
|
23457
23460
|
this.inputValue = "";
|
|
23458
23461
|
this._initialValue = null;
|
|
23459
|
-
if (this.control)
|
|
23462
|
+
if (this.control) {
|
|
23460
23463
|
this.control.reset();
|
|
23464
|
+
this.control.markAsTouched();
|
|
23465
|
+
this.control.markAsDirty();
|
|
23466
|
+
}
|
|
23461
23467
|
}
|
|
23462
23468
|
static \u0275fac = function DmRangeDatePickerLibComponent_Factory(__ngFactoryType__) {
|
|
23463
23469
|
return new (__ngFactoryType__ || _DmRangeDatePickerLibComponent)(\u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(ShadowDomStyleInjectorService));
|
|
@@ -52316,6 +52322,8 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
|
|
|
52316
52322
|
onShowDialog() {
|
|
52317
52323
|
if (this.isTemplatePresent) {
|
|
52318
52324
|
this.radioButtonControl.setValue("existing");
|
|
52325
|
+
} else {
|
|
52326
|
+
this.radioButtonControl.setValue("new");
|
|
52319
52327
|
}
|
|
52320
52328
|
}
|
|
52321
52329
|
close() {
|
|
@@ -52330,11 +52338,13 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
|
|
|
52330
52338
|
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({
|
|
52331
52339
|
next: (template) => {
|
|
52332
52340
|
this.radioButtonControl.setValue("existing");
|
|
52333
|
-
|
|
52334
|
-
|
|
52335
|
-
|
|
52336
|
-
|
|
52337
|
-
|
|
52341
|
+
this.templateService.setSearchParams({
|
|
52342
|
+
modificationId: null,
|
|
52343
|
+
templateName: null,
|
|
52344
|
+
templateId: template.template_id
|
|
52345
|
+
});
|
|
52346
|
+
this.templateService.templateChangedSubject.next(template);
|
|
52347
|
+
this.templateService.updateTemplateList(template);
|
|
52338
52348
|
this.templateService.template.set(template);
|
|
52339
52349
|
this.globalMessageService.showSuccessMessage({
|
|
52340
52350
|
detail: "The Report has been saved successfully"
|
|
@@ -52350,18 +52360,6 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
|
|
|
52350
52360
|
}
|
|
52351
52361
|
});
|
|
52352
52362
|
}
|
|
52353
|
-
updateTemplateList(template) {
|
|
52354
|
-
this.templateService.templatesList.update((arr) => {
|
|
52355
|
-
const list = [...arr];
|
|
52356
|
-
const index = list.findIndex((t) => t.template_id === template.template_id);
|
|
52357
|
-
if (index !== -1) {
|
|
52358
|
-
list[index] = template;
|
|
52359
|
-
} else {
|
|
52360
|
-
list.push(template);
|
|
52361
|
-
}
|
|
52362
|
-
return list;
|
|
52363
|
-
});
|
|
52364
|
-
}
|
|
52365
52363
|
hasConfiguredSendOptions() {
|
|
52366
52364
|
return this.template?.input_params.send_option;
|
|
52367
52365
|
}
|
|
@@ -53855,7 +53853,7 @@ var DmDatePickerLibComponent = class _DmDatePickerLibComponent {
|
|
|
53855
53853
|
|
|
53856
53854
|
// libs/shared/ui/components/src/lib/modals/send-settings-modal/send-settings-modal.ts
|
|
53857
53855
|
var _forTrack04 = ($index, $item) => $item.dag_id;
|
|
53858
|
-
var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-
|
|
53856
|
+
var SendSettingsModalComponent_Defer_3_DepsFn = () => [import("./chunk-6BQ4W3Q7.js").then((m) => m.DeleteTemplateModalComponent)];
|
|
53859
53857
|
var _c026 = () => ({ "width": "460px", "max-height": "540px" });
|
|
53860
53858
|
var _c151 = () => ({ width: "20px", height: "20px" });
|
|
53861
53859
|
var _c237 = () => ({ "min-width": "720px" });
|
|
@@ -54688,7 +54686,7 @@ var SendSettingsModalComponent = class _SendSettingsModalComponent {
|
|
|
54688
54686
|
], 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 });
|
|
54689
54687
|
};
|
|
54690
54688
|
(() => {
|
|
54691
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-
|
|
54689
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(SendSettingsModalComponent, () => [import("./chunk-6BQ4W3Q7.js").then((m) => m.DeleteTemplateModalComponent)], (DeleteTemplateModalComponent) => {
|
|
54692
54690
|
setClassMetadata(SendSettingsModalComponent, [{
|
|
54693
54691
|
type: Component,
|
|
54694
54692
|
args: [{ selector: "lib-send-settings-modal", standalone: true, imports: [
|
|
@@ -55144,8 +55142,8 @@ Are you sure you want to delete the schedule?"\r
|
|
|
55144
55142
|
|
|
55145
55143
|
// libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts
|
|
55146
55144
|
var _forTrack05 = ($index, $item) => $item.template_id;
|
|
55147
|
-
var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-
|
|
55148
|
-
var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-
|
|
55145
|
+
var TemplateSelectModalComponent_Defer_12_DepsFn = () => [import("./chunk-6BQ4W3Q7.js").then((m) => m.DeleteTemplateModalComponent)];
|
|
55146
|
+
var TemplateSelectModalComponent_Defer_16_DepsFn = () => [import("./chunk-ZXVHPVXW.js").then((m) => m.DomainsOverloadModalComponent)];
|
|
55149
55147
|
var _c027 = (a0) => ({ "selected-row": a0 });
|
|
55150
55148
|
var _c158 = () => ({ position: "relative" });
|
|
55151
55149
|
var _c238 = () => ({ width: "16px", height: "16px" });
|
|
@@ -55361,7 +55359,7 @@ function TemplateSelectModalComponent_Conditional_9_Conditional_0_Template(rf, c
|
|
|
55361
55359
|
if (rf & 2) {
|
|
55362
55360
|
const ctx_r3 = \u0275\u0275nextContext(2);
|
|
55363
55361
|
\u0275\u0275advance(10);
|
|
55364
|
-
\u0275\u0275repeater(ctx_r3.
|
|
55362
|
+
\u0275\u0275repeater(ctx_r3.filteredFieldsSignal());
|
|
55365
55363
|
}
|
|
55366
55364
|
}
|
|
55367
55365
|
function TemplateSelectModalComponent_Conditional_9_Conditional_1_Template(rf, ctx) {
|
|
@@ -55377,7 +55375,7 @@ function TemplateSelectModalComponent_Conditional_9_Template(rf, ctx) {
|
|
|
55377
55375
|
}
|
|
55378
55376
|
if (rf & 2) {
|
|
55379
55377
|
const ctx_r3 = \u0275\u0275nextContext();
|
|
55380
|
-
\u0275\u0275conditional(ctx_r3.
|
|
55378
|
+
\u0275\u0275conditional(ctx_r3.filteredFieldsSignal().length ? 0 : 1);
|
|
55381
55379
|
}
|
|
55382
55380
|
}
|
|
55383
55381
|
function TemplateSelectModalComponent_Conditional_10_Template(rf, ctx) {
|
|
@@ -55482,6 +55480,14 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55482
55480
|
domainsOverloadVisible = signal(false);
|
|
55483
55481
|
overloadCheckAction = "";
|
|
55484
55482
|
overloadCheckTemplate = null;
|
|
55483
|
+
filteredFieldsSignal = computed(() => {
|
|
55484
|
+
const query2 = this.searchQuery.trim().toLowerCase();
|
|
55485
|
+
const list = this.templateSignalList() || [];
|
|
55486
|
+
if (!query2) {
|
|
55487
|
+
return list.filter((item) => !item.is_temporary);
|
|
55488
|
+
}
|
|
55489
|
+
return list.filter((item) => !item.is_temporary && item.template_name.toLowerCase().includes(query2));
|
|
55490
|
+
});
|
|
55485
55491
|
constructor() {
|
|
55486
55492
|
effect(() => {
|
|
55487
55493
|
this.selectedTemplateId = this.templateService.template()?.template_id || "";
|
|
@@ -55493,7 +55499,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55493
55499
|
ngOnInit() {
|
|
55494
55500
|
this.loading.set(true);
|
|
55495
55501
|
this.templateService.getAllTemplates(this.reportId()).pipe(take(1), tap((templates) => {
|
|
55496
|
-
this.templateService.templatesList.set(templates
|
|
55502
|
+
this.templateService.templatesList.set(templates);
|
|
55497
55503
|
})).subscribe(() => this.loading.set(false));
|
|
55498
55504
|
}
|
|
55499
55505
|
deleteTemplate() {
|
|
@@ -55548,21 +55554,31 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55548
55554
|
editTemplate(template) {
|
|
55549
55555
|
if (template) {
|
|
55550
55556
|
if (template.template_id !== this.templateService.template()?.template_id) {
|
|
55551
|
-
this.templateService.
|
|
55557
|
+
this.templateService.setSearchParams({
|
|
55558
|
+
modificationId: null,
|
|
55559
|
+
templateName: null,
|
|
55560
|
+
templateId: template.template_id
|
|
55561
|
+
});
|
|
55552
55562
|
}
|
|
55553
55563
|
this.templateService.template.set(template);
|
|
55554
55564
|
this.templateService.templateChangedSubject.next(template);
|
|
55555
55565
|
} else {
|
|
55556
|
-
|
|
55557
|
-
|
|
55558
|
-
|
|
55566
|
+
this.templateService.setSearchParams({
|
|
55567
|
+
modificationId: null,
|
|
55568
|
+
templateName: null,
|
|
55569
|
+
templateId: null
|
|
55570
|
+
});
|
|
55559
55571
|
this.templateService.template.set(null);
|
|
55560
55572
|
this.templateService.templateChangedSubject.next(null);
|
|
55561
55573
|
}
|
|
55562
55574
|
}
|
|
55563
55575
|
runReport(template) {
|
|
55564
55576
|
if (this.templateService.template()?.template_id !== template.template_id) {
|
|
55565
|
-
this.templateService.
|
|
55577
|
+
this.templateService.setSearchParams({
|
|
55578
|
+
modificationId: null,
|
|
55579
|
+
templateName: null,
|
|
55580
|
+
templateId: template.template_id
|
|
55581
|
+
});
|
|
55566
55582
|
this.templateService.templateChangedSubject.next(template);
|
|
55567
55583
|
this.templateService.template.set(template);
|
|
55568
55584
|
}
|
|
@@ -55572,12 +55588,6 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55572
55588
|
this.templateCsvLoadingIds.add(template.template_id);
|
|
55573
55589
|
this.csvLoadEmitter.emit(template);
|
|
55574
55590
|
}
|
|
55575
|
-
get filteredUnselectedFields() {
|
|
55576
|
-
if (!this.searchQuery.trim()) {
|
|
55577
|
-
return this.templateSignalList();
|
|
55578
|
-
}
|
|
55579
|
-
return this.templateSignalList().filter((item) => item.template_name.toLowerCase().includes(this.searchQuery.toLowerCase()));
|
|
55580
|
-
}
|
|
55581
55591
|
domainsOverloadConfirm(event2) {
|
|
55582
55592
|
const { confirm } = event2;
|
|
55583
55593
|
if (confirm && this.overloadCheckTemplate) {
|
|
@@ -55634,7 +55644,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55634
55644
|
}
|
|
55635
55645
|
if (rf & 2) {
|
|
55636
55646
|
\u0275\u0275advance(7);
|
|
55637
|
-
\u0275\u0275conditional(ctx.
|
|
55647
|
+
\u0275\u0275conditional(ctx.filteredFieldsSignal() && !ctx.loading() ? 7 : -1);
|
|
55638
55648
|
\u0275\u0275advance(2);
|
|
55639
55649
|
\u0275\u0275conditional(!ctx.loading() ? 9 : 10);
|
|
55640
55650
|
\u0275\u0275advance(3);
|
|
@@ -55662,7 +55672,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55662
55672
|
], 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 });
|
|
55663
55673
|
};
|
|
55664
55674
|
(() => {
|
|
55665
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-
|
|
55675
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadataAsync(TemplateSelectModalComponent, () => [import("./chunk-6BQ4W3Q7.js").then((m) => m.DeleteTemplateModalComponent), import("./chunk-ZXVHPVXW.js").then((m) => m.DomainsOverloadModalComponent)], (DeleteTemplateModalComponent, DomainsOverloadModalComponent2) => {
|
|
55666
55676
|
setClassMetadata(TemplateSelectModalComponent, [{
|
|
55667
55677
|
type: Component,
|
|
55668
55678
|
args: [{ selector: "lib-template-select-modal", standalone: true, imports: [
|
|
@@ -55702,7 +55712,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55702
55712
|
</lib-dm-button-lib>\r
|
|
55703
55713
|
<p-popover #op>\r
|
|
55704
55714
|
<div class="popover-container">\r
|
|
55705
|
-
@if(
|
|
55715
|
+
@if(filteredFieldsSignal() && !loading()) {\r
|
|
55706
55716
|
<div class="template-list-search">\r
|
|
55707
55717
|
<svg\r
|
|
55708
55718
|
xmlns="http://www.w3.org/2000/svg"\r
|
|
@@ -55746,14 +55756,13 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55746
55756
|
</div>\r
|
|
55747
55757
|
}\r
|
|
55748
55758
|
<div class="template-list">\r
|
|
55749
|
-
@if(!loading()) { @if(
|
|
55750
|
-
filteredUnselectedFields.length) {\r
|
|
55759
|
+
@if(!loading()) { @if(filteredFieldsSignal().length) {\r
|
|
55751
55760
|
<div class="template-row template-row-header">\r
|
|
55752
55761
|
<div class="cell cell-header"><span>Template Name</span></div>\r
|
|
55753
55762
|
<div class="cell cell-header"><span>Template Description</span></div>\r
|
|
55754
55763
|
<div class="cell cell-header"><span>Actions</span></div>\r
|
|
55755
55764
|
</div>\r
|
|
55756
|
-
@for (template of
|
|
55765
|
+
@for (template of filteredFieldsSignal(); track template.template_id;\r
|
|
55757
55766
|
let i = $index) {\r
|
|
55758
55767
|
<div\r
|
|
55759
55768
|
class="template-row template-row-content"\r
|
|
@@ -55977,7 +55986,7 @@ var TemplateSelectModalComponent = class _TemplateSelectModalComponent {
|
|
|
55977
55986
|
});
|
|
55978
55987
|
})();
|
|
55979
55988
|
(() => {
|
|
55980
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(TemplateSelectModalComponent, { className: "TemplateSelectModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts", lineNumber:
|
|
55989
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(TemplateSelectModalComponent, { className: "TemplateSelectModalComponent", filePath: "libs/shared/ui/components/src/lib/modals/template-select-modal/template-select-modal.ts", lineNumber: 55 });
|
|
55981
55990
|
})();
|
|
55982
55991
|
|
|
55983
55992
|
// node_modules/primeng/fesm2022/primeng-toast.mjs
|
|
@@ -58173,12 +58182,6 @@ var AppComponent = class _AppComponent {
|
|
|
58173
58182
|
this.updateReport(template);
|
|
58174
58183
|
}
|
|
58175
58184
|
});
|
|
58176
|
-
this.templateService.savedTemplateSubject.pipe(takeUntilDestroyed(this.destroyRef), filter((data) => data !== null)).subscribe((template) => {
|
|
58177
|
-
if (template) {
|
|
58178
|
-
this.updateReport(template);
|
|
58179
|
-
}
|
|
58180
|
-
this.templateService.savedTemplateSubject.next(null);
|
|
58181
|
-
});
|
|
58182
58185
|
}
|
|
58183
58186
|
initializeApp() {
|
|
58184
58187
|
this.sessionService.sessionData$.pipe(takeUntilDestroyed(this.destroyRef), filter((data) => data !== null), take(1), mergeMap(() => combineLatest({
|
|
@@ -58216,8 +58219,10 @@ var AppComponent = class _AppComponent {
|
|
|
58216
58219
|
handleRouteChange = () => {
|
|
58217
58220
|
const params = new URLSearchParams(window.location.search);
|
|
58218
58221
|
const templateId = params.get("templateId");
|
|
58219
|
-
|
|
58220
|
-
|
|
58222
|
+
const modificationId = params.get("modificationId");
|
|
58223
|
+
const id = modificationId || templateId;
|
|
58224
|
+
if (id) {
|
|
58225
|
+
const currentTemplate = this.templateService.templatesList()?.find((item) => item.template_id === id);
|
|
58221
58226
|
this.templateSignal.set(currentTemplate);
|
|
58222
58227
|
this.templateService.templateChangedSubject.next(currentTemplate);
|
|
58223
58228
|
} else {
|
|
@@ -58257,10 +58262,12 @@ var AppComponent = class _AppComponent {
|
|
|
58257
58262
|
processTemplateIdFromUrl() {
|
|
58258
58263
|
const queryParams = new URLSearchParams(window.location.search);
|
|
58259
58264
|
const templateId = queryParams.get("templateId");
|
|
58260
|
-
|
|
58261
|
-
|
|
58265
|
+
const modificationId = queryParams.get("modificationId");
|
|
58266
|
+
const id = modificationId || templateId;
|
|
58267
|
+
if (id) {
|
|
58268
|
+
this.templateService.getTemplateById(this.reportId, id).pipe(takeUntilDestroyed(this.destroyRef), take(1)).subscribe((template) => {
|
|
58262
58269
|
if (template) {
|
|
58263
|
-
this.
|
|
58270
|
+
this.templateSignal.set(template);
|
|
58264
58271
|
this.applyTemplate(template);
|
|
58265
58272
|
} else {
|
|
58266
58273
|
this.clearTemplate();
|
|
@@ -58276,10 +58283,22 @@ var AppComponent = class _AppComponent {
|
|
|
58276
58283
|
visibleFields: this.visibleFieldsId,
|
|
58277
58284
|
allFields: this.allFieldsSignal()
|
|
58278
58285
|
};
|
|
58279
|
-
|
|
58286
|
+
const currentTemplate = this.templateSignal();
|
|
58287
|
+
if (!this.isTemplateSaved() || !currentTemplate) {
|
|
58280
58288
|
this.templateService.saveTemplate(null, null, payload, this.reportId, null, true).pipe(takeUntilDestroyed(this.destroyRef), take(1)).subscribe((template) => {
|
|
58281
|
-
|
|
58282
|
-
|
|
58289
|
+
const params = currentTemplate && !currentTemplate.is_temporary && currentTemplate.template_name && template.template_id ? {
|
|
58290
|
+
modificationId: template.template_id,
|
|
58291
|
+
templateName: currentTemplate.template_name,
|
|
58292
|
+
templateId: currentTemplate.template_id
|
|
58293
|
+
} : {
|
|
58294
|
+
modificationId: null,
|
|
58295
|
+
templateName: null,
|
|
58296
|
+
templateId: template.template_id
|
|
58297
|
+
};
|
|
58298
|
+
this.templateService.setSearchParams(params);
|
|
58299
|
+
this.templateService.updateTemplateList(template);
|
|
58300
|
+
this.templateSignal.set(template);
|
|
58301
|
+
this.applyTemplate(template);
|
|
58283
58302
|
});
|
|
58284
58303
|
}
|
|
58285
58304
|
}
|
|
@@ -58320,7 +58339,7 @@ var AppComponent = class _AppComponent {
|
|
|
58320
58339
|
}
|
|
58321
58340
|
this.filterForm.addControl(field.field_id, new FormControl(def, validators));
|
|
58322
58341
|
});
|
|
58323
|
-
this.filterForm.addControl("show_last_verification", new FormControl(true));
|
|
58342
|
+
this.filterForm.addControl("show_last_verification", new FormControl(values && !this.nullUndefinedOrEmpty(values["show_last_verification"]) ? !!values["show_last_verification"] : true));
|
|
58324
58343
|
if (values) {
|
|
58325
58344
|
this.isTemplateSaved.set(true);
|
|
58326
58345
|
}
|
|
@@ -58678,13 +58697,11 @@ var AppComponent = class _AppComponent {
|
|
|
58678
58697
|
if (this.filterForm)
|
|
58679
58698
|
this.clearFilters();
|
|
58680
58699
|
this.templateSignal.set(null);
|
|
58681
|
-
this.templateService.
|
|
58682
|
-
|
|
58683
|
-
|
|
58684
|
-
|
|
58685
|
-
|
|
58686
|
-
url.searchParams.delete("templateId");
|
|
58687
|
-
window.history.pushState({}, "", url.toString());
|
|
58700
|
+
this.templateService.setSearchParams({
|
|
58701
|
+
modificationId: null,
|
|
58702
|
+
templateName: null,
|
|
58703
|
+
templateId: null
|
|
58704
|
+
});
|
|
58688
58705
|
}
|
|
58689
58706
|
applyTableHeight(isPanelOpened) {
|
|
58690
58707
|
if (this.gridOptions) {
|
|
@@ -58695,27 +58712,40 @@ var AppComponent = class _AppComponent {
|
|
|
58695
58712
|
applyDefaultValues(onClearFilters = false, onApplyConfigurationFields = false) {
|
|
58696
58713
|
if (!this.filterForm || !this.visibleFieldsSignal())
|
|
58697
58714
|
return;
|
|
58698
|
-
const
|
|
58699
|
-
"
|
|
58715
|
+
const documentFieldIds = [
|
|
58716
|
+
"documents_type",
|
|
58717
|
+
"documents_status",
|
|
58700
58718
|
"documents_expiry_date",
|
|
58701
58719
|
"documents_created_date"
|
|
58702
58720
|
];
|
|
58703
|
-
const
|
|
58704
|
-
const
|
|
58721
|
+
const allFields = this.allFieldsSignal() || [];
|
|
58722
|
+
const isDocumentsFieldSelected = !!this.visibleFieldsSignal().find((item) => item["field_id"] == "documents");
|
|
58723
|
+
const documentsFields = allFields.filter((item) => documentFieldIds.includes(item.field_id));
|
|
58724
|
+
const visibleFields = !isDocumentsFieldSelected ? this.visibleFieldsSignal() : [...this.visibleFieldsSignal(), ...documentsFields];
|
|
58725
|
+
const fieldsWithDateRange = this.visibleFieldsSignal().filter((item) => item.field_id !== "verification_updated_date" && item.field_data_type === "TIMESTAMP");
|
|
58705
58726
|
Object.keys(this.filterForm.controls).forEach((control) => {
|
|
58706
|
-
const
|
|
58707
|
-
const
|
|
58708
|
-
if (
|
|
58727
|
+
const isFieldVisible = !!visibleFields.find((item) => item["field_id"] == control);
|
|
58728
|
+
const isSetDefaultDateRange = !!fieldsWithDateRange.find((item) => item["field_id"] == control);
|
|
58729
|
+
if (isFieldVisible && isSetDefaultDateRange && (onClearFilters || onApplyConfigurationFields && !this.getControl(control)?.touched && !this.getControl(control)?.dirty && !this.getControl(control)?.value)) {
|
|
58709
58730
|
this.filterForm.controls[control].reset({
|
|
58710
58731
|
alias: "custom",
|
|
58711
58732
|
start: (0, import_moment2.default)().startOf("day").toDate(),
|
|
58712
58733
|
end: (0, import_moment2.default)().endOf("day").toDate()
|
|
58713
58734
|
});
|
|
58714
|
-
} else if (onApplyConfigurationFields && !
|
|
58735
|
+
} else if (onApplyConfigurationFields && !isFieldVisible && this.getControl(control)?.value && control !== "show_last_verification") {
|
|
58715
58736
|
this.filterForm.controls[control].reset();
|
|
58716
58737
|
}
|
|
58717
58738
|
});
|
|
58718
58739
|
}
|
|
58740
|
+
get templateLabel() {
|
|
58741
|
+
const queryParams = new URLSearchParams(window.location.search);
|
|
58742
|
+
const modificationId = queryParams.get("modificationId") || "";
|
|
58743
|
+
const templateName = queryParams.get("templateName") || "";
|
|
58744
|
+
return this.templateSignal()?.is_temporary && !modificationId ? "" : this.templateSignal()?.template_name || (templateName ? TEMPORARY_TEMPLATE_WARNING + templateName : "");
|
|
58745
|
+
}
|
|
58746
|
+
nullUndefinedOrEmpty(value) {
|
|
58747
|
+
return value === null || value === void 0 || value === "";
|
|
58748
|
+
}
|
|
58719
58749
|
static \u0275fac = function AppComponent_Factory(__ngFactoryType__) {
|
|
58720
58750
|
return new (__ngFactoryType__ || _AppComponent)();
|
|
58721
58751
|
};
|
|
@@ -58759,7 +58789,6 @@ var AppComponent = class _AppComponent {
|
|
|
58759
58789
|
\u0275\u0275element(24, "lib-toast-message");
|
|
58760
58790
|
}
|
|
58761
58791
|
if (rf & 2) {
|
|
58762
|
-
let tmp_5_0;
|
|
58763
58792
|
\u0275\u0275advance(2);
|
|
58764
58793
|
\u0275\u0275storeLet(ctx.lookupsSignal());
|
|
58765
58794
|
\u0275\u0275advance();
|
|
@@ -58767,7 +58796,7 @@ var AppComponent = class _AppComponent {
|
|
|
58767
58796
|
\u0275\u0275advance();
|
|
58768
58797
|
\u0275\u0275storeLet(ctx.visibleFieldsSignal());
|
|
58769
58798
|
\u0275\u0275advance(6);
|
|
58770
|
-
\u0275\u0275textInterpolate(
|
|
58799
|
+
\u0275\u0275textInterpolate(ctx.templateLabel);
|
|
58771
58800
|
\u0275\u0275advance();
|
|
58772
58801
|
\u0275\u0275conditional(ctx.ready() && ctx.filterForm ? 11 : -1);
|
|
58773
58802
|
\u0275\u0275advance();
|
|
@@ -58850,7 +58879,7 @@ var AppComponent = class _AppComponent {
|
|
|
58850
58879
|
<div class="report-header-container">\r
|
|
58851
58880
|
<div class="report-titles-container">\r
|
|
58852
58881
|
<h1 class="report-title">Verification Report</h1>\r
|
|
58853
|
-
<h2 class="template-title">{{
|
|
58882
|
+
<h2 class="template-title">{{ templateLabel }}</h2>\r
|
|
58854
58883
|
</div>\r
|
|
58855
58884
|
@if (ready() && filterForm) {\r
|
|
58856
58885
|
<lib-template-select-modal\r
|
|
@@ -59354,7 +59383,7 @@ var AppComponent = class _AppComponent {
|
|
|
59354
59383
|
});
|
|
59355
59384
|
})();
|
|
59356
59385
|
(() => {
|
|
59357
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber:
|
|
59386
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "apps/reports/moneymatrix/verification/src/app/app.component.ts", lineNumber: 97 });
|
|
59358
59387
|
})();
|
|
59359
59388
|
|
|
59360
59389
|
// node_modules/@angular/elements/fesm2022/elements.mjs
|