@everymatrix/stage-mm-verification-report 1.0.27 → 1.0.28
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 +5 -17
- package/main.js.map +1 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -59431,28 +59431,16 @@ scriptLoader.loadAngularJsAndUiGridIfNeeded().then(() => {
|
|
|
59431
59431
|
const target = shadowRoot && shadowRoot.querySelector(`.${report}`);
|
|
59432
59432
|
if (!target) {
|
|
59433
59433
|
const observer = new MutationObserver(() => {
|
|
59434
|
-
|
|
59435
|
-
|
|
59436
|
-
|
|
59437
|
-
|
|
59438
|
-
|
|
59439
|
-
}
|
|
59440
|
-
});
|
|
59434
|
+
const app = document.querySelector(report);
|
|
59435
|
+
if (app && app.shadowRoot && app.shadowRoot.querySelector(`.${report}`)) {
|
|
59436
|
+
observer.disconnect();
|
|
59437
|
+
UiGridCommonService.init(app.shadowRoot.querySelector(`.${report}`), module);
|
|
59438
|
+
}
|
|
59441
59439
|
});
|
|
59442
59440
|
observer.observe(document.body, { childList: true, subtree: true });
|
|
59443
59441
|
} else {
|
|
59444
59442
|
UiGridCommonService.init(target, module);
|
|
59445
59443
|
}
|
|
59446
|
-
if (!UiGridCommonService.getAngularJsMainModuleName()) {
|
|
59447
|
-
if (!UiGridCommonService.isAngularjsModuleDefined(module)) {
|
|
59448
|
-
UiGridCommonService.initAngularjsApp(module);
|
|
59449
|
-
}
|
|
59450
|
-
if (!UiGridCommonService.isElementBootstrapped(target)) {
|
|
59451
|
-
UiGridCommonService.bootstrapAngularjsApp(target, module);
|
|
59452
|
-
}
|
|
59453
|
-
} else {
|
|
59454
|
-
UiGridCommonService.compileAngularjsApp(target);
|
|
59455
|
-
}
|
|
59456
59444
|
});
|
|
59457
59445
|
}).catch((err) => console.error(err));
|
|
59458
59446
|
/*! Bundled license information:
|