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
|
@@ -875,7 +875,7 @@ class MainService {
|
|
|
875
875
|
};
|
|
876
876
|
console.log('MainService constructor');
|
|
877
877
|
this.environment = this.zcoreService.getEnvironment();
|
|
878
|
-
this.oauthEnvironmentUrl = this.
|
|
878
|
+
this.oauthEnvironmentUrl = this.zcoreService.getOauthUrl();
|
|
879
879
|
this.router.events.subscribe((event) => {
|
|
880
880
|
if (event instanceof NavigationStart) {
|
|
881
881
|
this.handleNavigationStart(event);
|
|
@@ -913,14 +913,15 @@ class MainService {
|
|
|
913
913
|
console.log(event);
|
|
914
914
|
}
|
|
915
915
|
handleNavigationError(event) {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
919
|
-
}
|
|
916
|
+
const duration = performance.now() - this.navigationStartTime;
|
|
917
|
+
this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
|
|
920
918
|
console.log(event.error);
|
|
921
919
|
this.removeLastNavigateRecord();
|
|
922
920
|
}
|
|
923
921
|
updateAppMonPerformance(triggerType, url, isSuccess, duration) {
|
|
922
|
+
if (this.environment.skipAppmon) {
|
|
923
|
+
return of({});
|
|
924
|
+
}
|
|
924
925
|
// Initialize appmonDomainUrl if missing
|
|
925
926
|
if (!this.resourceApiService.appmonDomainUrl) {
|
|
926
927
|
this.resourceApiService.appmonDomainUrl = sessionStorage.getItem('AppmonDomainUrl') || '';
|
|
@@ -5413,7 +5414,6 @@ class UicontentComponent {
|
|
|
5413
5414
|
console.log(this.group);
|
|
5414
5415
|
}
|
|
5415
5416
|
isSITEnvironment() {
|
|
5416
|
-
// return environment.e1OauthUrl.startsWith('https://oauthdev.');
|
|
5417
5417
|
return this.zcoreService.isDebugSession() && !this.isFieldElement();
|
|
5418
5418
|
}
|
|
5419
5419
|
isFieldElement() {
|
|
@@ -10139,7 +10139,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
10139
10139
|
}
|
|
10140
10140
|
};
|
|
10141
10141
|
this.environment = this.zcoreService.getEnvironment();
|
|
10142
|
-
this.oauthUrl =
|
|
10142
|
+
this.oauthUrl = this.zcoreService.getOauthUrl();
|
|
10143
10143
|
this.allResults = this.allResults.bind(this);
|
|
10144
10144
|
this.refreshData = this.refreshData.bind(this);
|
|
10145
10145
|
this.clearData = this.clearData.bind(this);
|