mmhglobal-dynamicform 2.41.1 → 2.41.3
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/README.md +5 -0
- package/esm2020/lib/services/main.service.mjs +7 -6
- package/esm2020/lib/uicontent/uicontent.component.mjs +1 -2
- package/esm2020/lib/zgrid/zgrid.component.mjs +2 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +7 -7
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +7 -7
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -880,7 +880,7 @@ class MainService {
|
|
|
880
880
|
};
|
|
881
881
|
console.log('MainService constructor');
|
|
882
882
|
this.environment = this.zcoreService.getEnvironment();
|
|
883
|
-
this.oauthEnvironmentUrl = this.
|
|
883
|
+
this.oauthEnvironmentUrl = this.zcoreService.getOauthUrl();
|
|
884
884
|
this.router.events.subscribe((event) => {
|
|
885
885
|
if (event instanceof NavigationStart) {
|
|
886
886
|
this.handleNavigationStart(event);
|
|
@@ -919,15 +919,16 @@ class MainService {
|
|
|
919
919
|
console.log(event);
|
|
920
920
|
}
|
|
921
921
|
handleNavigationError(event) {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
925
|
-
}
|
|
922
|
+
const duration = performance.now() - this.navigationStartTime;
|
|
923
|
+
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
926
924
|
console.log(event.error);
|
|
927
925
|
this.removeLastNavigateRecord();
|
|
928
926
|
}
|
|
929
927
|
updateAppMonPerformance(triggerType, url, isSuccess, duration) {
|
|
930
928
|
var _a;
|
|
929
|
+
if (this.environment.skipAppmon) {
|
|
930
|
+
return of({});
|
|
931
|
+
}
|
|
931
932
|
// Initialize appmonDomainUrl if missing
|
|
932
933
|
if (!this.resourceApiService.appmonDomainUrl) {
|
|
933
934
|
this.resourceApiService.appmonDomainUrl = sessionStorage.getItem('AppmonDomainUrl') || '';
|
|
@@ -5442,7 +5443,6 @@ class UicontentComponent {
|
|
|
5442
5443
|
console.log(this.group);
|
|
5443
5444
|
}
|
|
5444
5445
|
isSITEnvironment() {
|
|
5445
|
-
// return environment.e1OauthUrl.startsWith('https://oauthdev.');
|
|
5446
5446
|
return this.zcoreService.isDebugSession() && !this.isFieldElement();
|
|
5447
5447
|
}
|
|
5448
5448
|
isFieldElement() {
|
|
@@ -10189,7 +10189,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
10189
10189
|
}
|
|
10190
10190
|
};
|
|
10191
10191
|
this.environment = this.zcoreService.getEnvironment();
|
|
10192
|
-
this.oauthUrl =
|
|
10192
|
+
this.oauthUrl = this.zcoreService.getOauthUrl();
|
|
10193
10193
|
this.allResults = this.allResults.bind(this);
|
|
10194
10194
|
this.refreshData = this.refreshData.bind(this);
|
|
10195
10195
|
this.clearData = this.clearData.bind(this);
|