@everymatrix/stage-mm-verification-report 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.js +6 -6
- package/main.js.map +1 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -52322,8 +52322,8 @@ var SaveTemplateModalComponent = class _SaveTemplateModalComponent {
|
|
|
52322
52322
|
this.radioButtonControl.setValue("existing");
|
|
52323
52323
|
if (this.template?.template_id !== template.template_id) {
|
|
52324
52324
|
this.templateService.setUrlTemplateId(template.template_id);
|
|
52325
|
-
this.templateService.savedTemplateSubject.next(template);
|
|
52326
52325
|
}
|
|
52326
|
+
this.templateService.savedTemplateSubject.next(template);
|
|
52327
52327
|
this.updateTemplateList(template);
|
|
52328
52328
|
this.templateService.template.set(template);
|
|
52329
52329
|
this.globalMessageService.showSuccessMessage({
|
|
@@ -58165,7 +58165,7 @@ var AppComponent = class _AppComponent {
|
|
|
58165
58165
|
});
|
|
58166
58166
|
this.templateService.savedTemplateSubject.pipe(takeUntilDestroyed(this.destroyRef), filter((data) => data !== null)).subscribe((template) => {
|
|
58167
58167
|
if (template) {
|
|
58168
|
-
this.updateReport(template
|
|
58168
|
+
this.updateReport(template);
|
|
58169
58169
|
}
|
|
58170
58170
|
this.templateService.savedTemplateSubject.next(null);
|
|
58171
58171
|
});
|
|
@@ -58235,14 +58235,14 @@ var AppComponent = class _AppComponent {
|
|
|
58235
58235
|
} else {
|
|
58236
58236
|
this.buildFilterForm(allFields, visibleFields, template.input_params.fieldValues);
|
|
58237
58237
|
}
|
|
58238
|
-
this.filterForm.
|
|
58238
|
+
this.filterForm.markAsDirty();
|
|
58239
58239
|
this.filterForm.markAsUntouched();
|
|
58240
58240
|
}
|
|
58241
|
-
updateReport(template
|
|
58241
|
+
updateReport(template) {
|
|
58242
58242
|
this.applyTemplate(template);
|
|
58243
58243
|
this.runState = false;
|
|
58244
58244
|
this.showReportTable.set(false);
|
|
58245
|
-
this.isTemplateSaved.set(
|
|
58245
|
+
this.isTemplateSaved.set(true);
|
|
58246
58246
|
}
|
|
58247
58247
|
processTemplateIdFromUrl() {
|
|
58248
58248
|
const queryParams = new URLSearchParams(window.location.search);
|
|
@@ -58635,7 +58635,7 @@ var AppComponent = class _AppComponent {
|
|
|
58635
58635
|
return this.domainLookupsSignal()?.length === this.filterForm.get("merchant_name").value.length;
|
|
58636
58636
|
}
|
|
58637
58637
|
get isTemplateSavingEnabled() {
|
|
58638
|
-
return !this.isTemplateSaved() && this.filterForm
|
|
58638
|
+
return !this.isTemplateSaved() && this.filterForm?.get("merchant_name")?.value?.length > 0;
|
|
58639
58639
|
}
|
|
58640
58640
|
applyConfigurationFields(event2) {
|
|
58641
58641
|
this.isTemplateSaved.set(false);
|