mmhglobal-dynamicform 2.41.3 → 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 +3 -0
- package/esm2020/lib/zreport/zreport.component.mjs +6 -5
- package/esm2020/lib/zupload/zupload.component.mjs +2 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +6 -5
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +6 -5
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/zreport/zreport.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -9102,7 +9102,7 @@ class ZuploadComponent extends InputFieldBase {
|
|
|
9102
9102
|
size: 102400,
|
|
9103
9103
|
maxAutoRetries: 3,
|
|
9104
9104
|
};
|
|
9105
|
-
this.uploadAttachmentUrl = this.zcoreService.getEnvironment().uploadAttachmentUrl;
|
|
9105
|
+
this.uploadAttachmentUrl = this.zcoreService.normalizeUrl(this.zcoreService.getEnvironment().uploadAttachmentUrl);
|
|
9106
9106
|
this.uploadSaveUrl = this.uploadAttachmentUrl + this.uploadSaveUrl;
|
|
9107
9107
|
this.uploadRemoveUrl = this.uploadAttachmentUrl + this.uploadRemoveUrl;
|
|
9108
9108
|
}
|
|
@@ -11778,13 +11778,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImpor
|
|
|
11778
11778
|
|
|
11779
11779
|
/********** Angular **********/
|
|
11780
11780
|
class ZreportComponent extends FieldBase {
|
|
11781
|
-
constructor(componentService, fontAweSomeService, resourceApiService, authService, alertService) {
|
|
11781
|
+
constructor(componentService, fontAweSomeService, resourceApiService, authService, alertService, zcoreService) {
|
|
11782
11782
|
super(componentService);
|
|
11783
11783
|
this.componentService = componentService;
|
|
11784
11784
|
this.fontAweSomeService = fontAweSomeService;
|
|
11785
11785
|
this.resourceApiService = resourceApiService;
|
|
11786
11786
|
this.authService = authService;
|
|
11787
11787
|
this.alertService = alertService;
|
|
11788
|
+
this.zcoreService = zcoreService;
|
|
11788
11789
|
this.allowPrintPDF = true;
|
|
11789
11790
|
this.serviceUrl = null;
|
|
11790
11791
|
this.reportSource = null;
|
|
@@ -11933,18 +11934,18 @@ class ZreportComponent extends FieldBase {
|
|
|
11933
11934
|
this.reportSource.parameters.Authorization = this.authService.authorizationBearer.Authorization;
|
|
11934
11935
|
}
|
|
11935
11936
|
if (this.reportSource['url']) {
|
|
11936
|
-
this.serviceUrl = this.reportSource['url'];
|
|
11937
|
+
this.serviceUrl = this.zcoreService.normalizeUrl(this.reportSource['url']);
|
|
11937
11938
|
}
|
|
11938
11939
|
this.viewer.setReportSource(this.reportSource);
|
|
11939
11940
|
//this.viewer.refreshReport();
|
|
11940
11941
|
}
|
|
11941
11942
|
}
|
|
11942
|
-
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 });
|
|
11943
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"] }] });
|
|
11944
11945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ZreportComponent, decorators: [{
|
|
11945
11946
|
type: Component,
|
|
11946
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"] }]
|
|
11947
|
-
}], 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: [{
|
|
11948
11949
|
type: ViewChild,
|
|
11949
11950
|
args: ['reportViewer1', { static: false }]
|
|
11950
11951
|
}], onResize: [{
|