mmhglobal-dynamicform 2.41.2 → 2.41.4
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 +6 -0
- package/esm2020/lib/services/main.service.mjs +2 -2
- package/esm2020/lib/uicontent/uicontent.component.mjs +1 -2
- package/esm2020/lib/zgrid/zgrid.component.mjs +2 -2
- package/esm2020/lib/zreport/zreport.component.mjs +6 -5
- package/esm2020/lib/zupload/zupload.component.mjs +2 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +8 -8
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +8 -8
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/zreport/zreport.component.d.ts +3 -2
- 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);
|
|
@@ -5414,7 +5414,6 @@ class UicontentComponent {
|
|
|
5414
5414
|
console.log(this.group);
|
|
5415
5415
|
}
|
|
5416
5416
|
isSITEnvironment() {
|
|
5417
|
-
// return environment.e1OauthUrl.startsWith('https://oauthdev.');
|
|
5418
5417
|
return this.zcoreService.isDebugSession() && !this.isFieldElement();
|
|
5419
5418
|
}
|
|
5420
5419
|
isFieldElement() {
|
|
@@ -9103,7 +9102,7 @@ class ZuploadComponent extends InputFieldBase {
|
|
|
9103
9102
|
size: 102400,
|
|
9104
9103
|
maxAutoRetries: 3,
|
|
9105
9104
|
};
|
|
9106
|
-
this.uploadAttachmentUrl = this.zcoreService.getEnvironment().uploadAttachmentUrl;
|
|
9105
|
+
this.uploadAttachmentUrl = this.zcoreService.normalizeUrl(this.zcoreService.getEnvironment().uploadAttachmentUrl);
|
|
9107
9106
|
this.uploadSaveUrl = this.uploadAttachmentUrl + this.uploadSaveUrl;
|
|
9108
9107
|
this.uploadRemoveUrl = this.uploadAttachmentUrl + this.uploadRemoveUrl;
|
|
9109
9108
|
}
|
|
@@ -10140,7 +10139,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
10140
10139
|
}
|
|
10141
10140
|
};
|
|
10142
10141
|
this.environment = this.zcoreService.getEnvironment();
|
|
10143
|
-
this.oauthUrl =
|
|
10142
|
+
this.oauthUrl = this.zcoreService.getOauthUrl();
|
|
10144
10143
|
this.allResults = this.allResults.bind(this);
|
|
10145
10144
|
this.refreshData = this.refreshData.bind(this);
|
|
10146
10145
|
this.clearData = this.clearData.bind(this);
|
|
@@ -11779,13 +11778,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImpor
|
|
|
11779
11778
|
|
|
11780
11779
|
/********** Angular **********/
|
|
11781
11780
|
class ZreportComponent extends FieldBase {
|
|
11782
|
-
constructor(componentService, fontAweSomeService, resourceApiService, authService, alertService) {
|
|
11781
|
+
constructor(componentService, fontAweSomeService, resourceApiService, authService, alertService, zcoreService) {
|
|
11783
11782
|
super(componentService);
|
|
11784
11783
|
this.componentService = componentService;
|
|
11785
11784
|
this.fontAweSomeService = fontAweSomeService;
|
|
11786
11785
|
this.resourceApiService = resourceApiService;
|
|
11787
11786
|
this.authService = authService;
|
|
11788
11787
|
this.alertService = alertService;
|
|
11788
|
+
this.zcoreService = zcoreService;
|
|
11789
11789
|
this.allowPrintPDF = true;
|
|
11790
11790
|
this.serviceUrl = null;
|
|
11791
11791
|
this.reportSource = null;
|
|
@@ -11934,18 +11934,18 @@ class ZreportComponent extends FieldBase {
|
|
|
11934
11934
|
this.reportSource.parameters.Authorization = this.authService.authorizationBearer.Authorization;
|
|
11935
11935
|
}
|
|
11936
11936
|
if (this.reportSource['url']) {
|
|
11937
|
-
this.serviceUrl = this.reportSource['url'];
|
|
11937
|
+
this.serviceUrl = this.zcoreService.normalizeUrl(this.reportSource['url']);
|
|
11938
11938
|
}
|
|
11939
11939
|
this.viewer.setReportSource(this.reportSource);
|
|
11940
11940
|
//this.viewer.refreshReport();
|
|
11941
11941
|
}
|
|
11942
11942
|
}
|
|
11943
|
-
ZreportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ZreportComponent, deps: [{ token: ZComponentService }, { token: i2.FontAweSomeService }, { token: i2.ResourceApiService }, { token: i2.AuthService }, { token: i2.AlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11943
|
+
ZreportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ZreportComponent, deps: [{ token: ZComponentService }, { token: i2.FontAweSomeService }, { token: i2.ResourceApiService }, { token: i2.AuthService }, { token: i2.AlertService }, { token: i2.ZCoreService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11944
11944
|
ZreportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.3", type: ZreportComponent, selector: "app-zreport", host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "viewer", first: true, predicate: ["reportViewer1"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div width=\"100%\" height=\"800px\"> \r\n <tr-viewer #reportViewer1\r\n [containerStyle]=\"viewerContainerStyle\"\r\n [serviceUrl]=\"serviceUrl\"\r\n [reportSource]=\"reportSource\"\r\n [viewMode]=\"'INTERACTIVE'\"\r\n [scaleMode]=\"'SPECIFIC'\"\r\n [scale]=\"1.0\"\r\n [enableAccessibility]=\"false\"\r\n [ready]=\"onReady\" \r\n [exportBegin]=\"onExportBegin\"\r\n [exportEnd]=\"onExportEnd\"\r\n [renderingBegin]=\"onRenderingBegin\"\r\n [renderingEnd]=\"onRenderingEnd\"\r\n [printBegin]=\"onPrintBegin\"\r\n [printEnd]=\"onPrintEnd\">\r\n </tr-viewer>\r\n</div>\r\n", styles: ["#reportViewer1{height:200px}#reportViewer1 .k-splitter .k-scrollable{overflow:hidden}.k-pdf-export,.k-pdf-export *{font-family:Arial Unicode MS}\n"], components: [{ type: i3$9.TelerikReportViewerComponent, selector: "tr-viewer", inputs: ["id", "serviceUrl", "reportServer", "templateUrl", "initialPageAreaImageUrl", "reportSource", "sendEmail", "parameters", "scale", "scaleMode", "viewMode", "pageMode", "persistSession", "parameterEditors", "authenticationToken", "printMode", "selector", "disabledButtonClass", "checkedButtonClass", "enableAccessibility", "searchMetadataOnDemand", "parametersAreaVisible", "documentMapVisible", "ready", "error", "parametersAreaPosition", "documentMapAreaPosition", "exportBegin", "exportEnd", "sendEmailBegin", "sendEmailEnd", "pageReady", "printBegin", "printEnd", "renderingBegin", "renderingEnd", "updateUi", "interactiveActionExecuting", "interactiveActionEnter", "interactiveActionLeave", "viewerToolTipOpening", "keepClientAlive", "containerStyle"] }] });
|
|
11945
11945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ZreportComponent, decorators: [{
|
|
11946
11946
|
type: Component,
|
|
11947
11947
|
args: [{ selector: "app-zreport", template: "<div width=\"100%\" height=\"800px\"> \r\n <tr-viewer #reportViewer1\r\n [containerStyle]=\"viewerContainerStyle\"\r\n [serviceUrl]=\"serviceUrl\"\r\n [reportSource]=\"reportSource\"\r\n [viewMode]=\"'INTERACTIVE'\"\r\n [scaleMode]=\"'SPECIFIC'\"\r\n [scale]=\"1.0\"\r\n [enableAccessibility]=\"false\"\r\n [ready]=\"onReady\" \r\n [exportBegin]=\"onExportBegin\"\r\n [exportEnd]=\"onExportEnd\"\r\n [renderingBegin]=\"onRenderingBegin\"\r\n [renderingEnd]=\"onRenderingEnd\"\r\n [printBegin]=\"onPrintBegin\"\r\n [printEnd]=\"onPrintEnd\">\r\n </tr-viewer>\r\n</div>\r\n", styles: ["#reportViewer1{height:200px}#reportViewer1 .k-splitter .k-scrollable{overflow:hidden}.k-pdf-export,.k-pdf-export *{font-family:Arial Unicode MS}\n"] }]
|
|
11948
|
-
}], ctorParameters: function () { return [{ type: ZComponentService }, { type: i2.FontAweSomeService }, { type: i2.ResourceApiService }, { type: i2.AuthService }, { type: i2.AlertService }]; }, propDecorators: { viewer: [{
|
|
11948
|
+
}], ctorParameters: function () { return [{ type: ZComponentService }, { type: i2.FontAweSomeService }, { type: i2.ResourceApiService }, { type: i2.AuthService }, { type: i2.AlertService }, { type: i2.ZCoreService }]; }, propDecorators: { viewer: [{
|
|
11949
11949
|
type: ViewChild,
|
|
11950
11950
|
args: ['reportViewer1', { static: false }]
|
|
11951
11951
|
}], onResize: [{
|