@everymatrix/stage-mm-verification-report 1.0.17 → 1.0.19
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 +46 -51
- package/main.js.map +1 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -39653,7 +39653,6 @@ var VerificationService = class _VerificationService {
|
|
|
39653
39653
|
apiTracingInfo;
|
|
39654
39654
|
verificationRequestBodyStrategy;
|
|
39655
39655
|
httpClient;
|
|
39656
|
-
sessionData;
|
|
39657
39656
|
destroyRef = inject(DestroyRef);
|
|
39658
39657
|
constructor(apiHandlerService, sessionService, apiTracingInfo, verificationRequestBodyStrategy, httpClient) {
|
|
39659
39658
|
this.apiHandlerService = apiHandlerService;
|
|
@@ -39661,7 +39660,6 @@ var VerificationService = class _VerificationService {
|
|
|
39661
39660
|
this.apiTracingInfo = apiTracingInfo;
|
|
39662
39661
|
this.verificationRequestBodyStrategy = verificationRequestBodyStrategy;
|
|
39663
39662
|
this.httpClient = httpClient;
|
|
39664
|
-
this.sessionData = this.sessionService.sessionData;
|
|
39665
39663
|
}
|
|
39666
39664
|
runReport(config) {
|
|
39667
39665
|
const url = this.apiHandlerService.getACSBaseUrl("mm_verification_report");
|
|
@@ -57888,6 +57886,7 @@ var AppComponent = class _AppComponent {
|
|
|
57888
57886
|
});
|
|
57889
57887
|
}
|
|
57890
57888
|
ngOnDestroy() {
|
|
57889
|
+
console.log("this.ctrl-onDestroy", this);
|
|
57891
57890
|
window.removeEventListener("message", this.reloadListener);
|
|
57892
57891
|
}
|
|
57893
57892
|
initializeApp() {
|
|
@@ -58332,55 +58331,49 @@ var AppComponent = class _AppComponent {
|
|
|
58332
58331
|
}
|
|
58333
58332
|
reloadListener = (e) => {
|
|
58334
58333
|
if (e.data?.type === "ReloadReportData") {
|
|
58335
|
-
this.
|
|
58336
|
-
this.sessionService.setInitData(null);
|
|
58337
|
-
this.sessionService.getHeaders();
|
|
58338
|
-
this.tracingInfoService.setInitData(null);
|
|
58339
|
-
this.tracingInfoService.getTracingInfo();
|
|
58340
|
-
this.initializeApp();
|
|
58334
|
+
console.log("this.ctrl.on-reload", this);
|
|
58341
58335
|
}
|
|
58342
58336
|
};
|
|
58343
|
-
setInitState() {
|
|
58344
|
-
|
|
58345
|
-
|
|
58346
|
-
|
|
58347
|
-
|
|
58348
|
-
|
|
58349
|
-
|
|
58350
|
-
|
|
58351
|
-
|
|
58352
|
-
|
|
58353
|
-
|
|
58354
|
-
|
|
58355
|
-
|
|
58356
|
-
|
|
58357
|
-
|
|
58358
|
-
|
|
58359
|
-
|
|
58360
|
-
|
|
58361
|
-
|
|
58362
|
-
|
|
58363
|
-
|
|
58364
|
-
|
|
58365
|
-
|
|
58366
|
-
|
|
58367
|
-
|
|
58368
|
-
|
|
58369
|
-
|
|
58370
|
-
|
|
58371
|
-
|
|
58372
|
-
|
|
58373
|
-
|
|
58374
|
-
|
|
58375
|
-
|
|
58376
|
-
|
|
58377
|
-
|
|
58378
|
-
|
|
58379
|
-
|
|
58380
|
-
|
|
58381
|
-
|
|
58382
|
-
|
|
58383
|
-
}
|
|
58337
|
+
// private setInitState() {
|
|
58338
|
+
// this.isTemplateSaved.set(true);
|
|
58339
|
+
// this.csvLoading.set(false);
|
|
58340
|
+
// this.templateCsvLoadingConfig.set({ templateId: '', isLoading: false });
|
|
58341
|
+
// this.configureReportModalVisible.set(false);
|
|
58342
|
+
// this.modalVisible.set(false);
|
|
58343
|
+
// this.domainsOverloadVisible.set(false);
|
|
58344
|
+
// this.lookupsSignal.set(undefined);
|
|
58345
|
+
// this.domainLookupsSignal.set(undefined);
|
|
58346
|
+
// this.allFieldsSignal.set(undefined);
|
|
58347
|
+
// this.tableColumns = [];
|
|
58348
|
+
// if (this.filterForm) this.clearFilters();
|
|
58349
|
+
// this.isPanelOpened = true;
|
|
58350
|
+
// this.tableData = [];
|
|
58351
|
+
// this.generalTotal = '';
|
|
58352
|
+
// this.limit.set(100);
|
|
58353
|
+
// this.offset = 0;
|
|
58354
|
+
// this.showReportTable.set(false);
|
|
58355
|
+
// this.tableLoading = false;
|
|
58356
|
+
// this.runState = false;
|
|
58357
|
+
// this.documentsModal = false;
|
|
58358
|
+
// this.isOldTableStyle = false;
|
|
58359
|
+
// this.domainsOverloadSaveMode = true;
|
|
58360
|
+
// this.orderBy = null;
|
|
58361
|
+
// this.orderDirection = null;
|
|
58362
|
+
// this.templateSignal.set(null);
|
|
58363
|
+
// this.templateService.templatesList.set([]);
|
|
58364
|
+
// this.allConfigurationFields = [];
|
|
58365
|
+
// this.scrollHeight = 350;
|
|
58366
|
+
// if (this.gridOptions) {
|
|
58367
|
+
// this.gridOptions.columnDefs = [];
|
|
58368
|
+
// this.gridOptions.data = [];
|
|
58369
|
+
// this.gridOptions.dataLoading = this.tableLoading;
|
|
58370
|
+
// this.gridOptions.isVisible = false;
|
|
58371
|
+
// this.gridOptions.paginationPageSize = this.limit();
|
|
58372
|
+
// this.gridOptions.totalItems = 0;
|
|
58373
|
+
// this.gridOptions.paginationCurrentPage = 1;
|
|
58374
|
+
// this.gridOptions.scrollHeight = 360;
|
|
58375
|
+
// }
|
|
58376
|
+
// }
|
|
58384
58377
|
clearTemplate() {
|
|
58385
58378
|
if (this.filterForm)
|
|
58386
58379
|
this.clearFilters();
|
|
@@ -59404,8 +59397,10 @@ var report = "everymatrix-mm-verification-report";
|
|
|
59404
59397
|
scriptLoader.loadAngularJsAndUiGridIfNeeded().then(() => {
|
|
59405
59398
|
platformBrowser().bootstrapModule(AppModule).then(() => {
|
|
59406
59399
|
const element = document.querySelector(report);
|
|
59407
|
-
const shadowRoot = element.shadowRoot;
|
|
59408
|
-
const target = shadowRoot.querySelector(`.${report}`);
|
|
59400
|
+
const shadowRoot = element && element.shadowRoot;
|
|
59401
|
+
const target = shadowRoot && shadowRoot.querySelector(`.${report}`);
|
|
59402
|
+
if (!target)
|
|
59403
|
+
return;
|
|
59409
59404
|
if (!UiGridCommonService.getAngularJsMainModuleName()) {
|
|
59410
59405
|
if (!UiGridCommonService.isAngularjsModuleDefined(module)) {
|
|
59411
59406
|
UiGridCommonService.initAngularjsApp(module);
|