devexpress-reporting-angular 22.1.7-build-22339-0228 → 22.2.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.
Files changed (77) hide show
  1. package/README.md +34 -34
  2. package/all.d.ts +6 -0
  3. package/bundles/devexpress-reporting-angular-core.umd.js +67 -52
  4. package/bundles/devexpress-reporting-angular-core.umd.js.map +1 -1
  5. package/bundles/devexpress-reporting-angular-dx-report-designer.umd.js +372 -125
  6. package/bundles/devexpress-reporting-angular-dx-report-designer.umd.js.map +1 -1
  7. package/bundles/devexpress-reporting-angular-dx-report-viewer.umd.js +274 -184
  8. package/bundles/devexpress-reporting-angular-dx-report-viewer.umd.js.map +1 -1
  9. package/bundles/devexpress-reporting-angular.umd.js +127 -81
  10. package/bundles/devexpress-reporting-angular.umd.js.map +1 -1
  11. package/core/_settingsProvider.d.ts +3 -0
  12. package/core/devexpress-reporting-angular-core.d.ts +1 -0
  13. package/core/dx-reporting.component.d.ts +3 -0
  14. package/core/index.d.ts +2 -1
  15. package/core/package.json +0 -1
  16. package/devexpress-reporting-angular.d.ts +1 -0
  17. package/dx-report-designer/devexpress-reporting-angular-dx-report-designer.d.ts +1 -0
  18. package/dx-report-designer/dx-report-designer.component.d.ts +37 -3
  19. package/dx-report-designer/dx-report-designer.module.d.ts +12 -0
  20. package/dx-report-designer/dxrd-callbacks.d.ts +3 -0
  21. package/dx-report-designer/dxrd-datasource-settings.component.d.ts +14 -0
  22. package/dx-report-designer/dxrd-designer-model-settings.component.d.ts +43 -0
  23. package/dx-report-designer/dxrd-preview-settings.component.d.ts +20 -0
  24. package/dx-report-designer/dxrd-request-options.d.ts +3 -0
  25. package/dx-report-designer/dxrd-wizard-settings.component.d.ts +23 -0
  26. package/dx-report-designer/index.d.ts +6 -2
  27. package/dx-report-designer/package.json +0 -1
  28. package/dx-report-viewer/devexpress-reporting-angular-dx-report-viewer.d.ts +1 -0
  29. package/dx-report-viewer/dx-report-viewer.component.d.ts +7 -4
  30. package/dx-report-viewer/dx-report-viewer.module.d.ts +13 -0
  31. package/dx-report-viewer/dxrv-callbacks.d.ts +3 -0
  32. package/dx-report-viewer/dxrv-export-settings.component.d.ts +10 -1
  33. package/dx-report-viewer/dxrv-mobile-mode-settings.component.d.ts +3 -0
  34. package/dx-report-viewer/dxrv-progressbar-settings.component.d.ts +9 -1
  35. package/dx-report-viewer/dxrv-remote-settings.component.d.ts +3 -0
  36. package/dx-report-viewer/dxrv-request-options.d.ts +3 -0
  37. package/dx-report-viewer/dxrv-tabpanel-settings.component.d.ts +3 -0
  38. package/dx-report-viewer/package.json +0 -1
  39. package/esm2015/all.js +24 -13
  40. package/esm2015/core/_input-converters.js +1 -1
  41. package/esm2015/core/_settingsProvider.js +2 -0
  42. package/esm2015/core/dx-reporting.component.js +27 -14
  43. package/esm2015/core/index.js +3 -2
  44. package/esm2015/dx-report-designer/dx-report-designer.component.js +35 -20
  45. package/esm2015/dx-report-designer/dx-report-designer.module.js +48 -19
  46. package/esm2015/dx-report-designer/dxrd-callbacks.js +73 -40
  47. package/esm2015/dx-report-designer/dxrd-datasource-settings.component.js +38 -0
  48. package/esm2015/dx-report-designer/dxrd-designer-model-settings.component.js +48 -0
  49. package/esm2015/dx-report-designer/dxrd-preview-settings.component.js +28 -0
  50. package/esm2015/dx-report-designer/dxrd-request-options.js +17 -12
  51. package/esm2015/dx-report-designer/dxrd-wizard-settings.component.js +59 -0
  52. package/esm2015/dx-report-designer/index.js +7 -3
  53. package/esm2015/dx-report-viewer/dx-report-viewer.component.js +50 -29
  54. package/esm2015/dx-report-viewer/dx-report-viewer.module.js +46 -27
  55. package/esm2015/dx-report-viewer/dxrv-callbacks.js +41 -24
  56. package/esm2015/dx-report-viewer/dxrv-export-settings.component.js +24 -12
  57. package/esm2015/dx-report-viewer/dxrv-mobile-mode-settings.component.js +15 -11
  58. package/esm2015/dx-report-viewer/dxrv-progressbar-settings.component.js +21 -11
  59. package/esm2015/dx-report-viewer/dxrv-remote-settings.component.js +15 -11
  60. package/esm2015/dx-report-viewer/dxrv-request-options.js +18 -13
  61. package/esm2015/dx-report-viewer/dxrv-tabpanel-settings.component.js +15 -11
  62. package/esm2015/dx-report-viewer/index.js +1 -1
  63. package/esm2015/index.js +3 -3
  64. package/fesm2015/devexpress-reporting-angular-core.js +27 -14
  65. package/fesm2015/devexpress-reporting-angular-core.js.map +1 -1
  66. package/fesm2015/devexpress-reporting-angular-dx-report-designer.js +321 -90
  67. package/fesm2015/devexpress-reporting-angular-dx-report-designer.js.map +1 -1
  68. package/fesm2015/devexpress-reporting-angular-dx-report-viewer.js +243 -155
  69. package/fesm2015/devexpress-reporting-angular-dx-report-viewer.js.map +1 -1
  70. package/fesm2015/devexpress-reporting-angular.js +26 -15
  71. package/fesm2015/devexpress-reporting-angular.js.map +1 -1
  72. package/index.d.ts +2 -2
  73. package/package.json +2 -3
  74. package/core/devexpress-reporting-angular-core.metadata.json +0 -1
  75. package/devexpress-reporting-angular.metadata.json +0 -1
  76. package/dx-report-designer/devexpress-reporting-angular-dx-report-designer.metadata.json +0 -1
  77. package/dx-report-viewer/devexpress-reporting-angular-dx-report-viewer.metadata.json +0 -1
package/esm2015/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Public API Surface of reporting-angular
3
3
  */
4
+ export { DxReportDesignerCallbacksComponent, DxReportDesignerComponent, DxReportDesignerDataSourceSettingsComponent, DxReportDesignerModelSettingsComponent, DxReportDesignerModule, DxReportDesignerPreviewSettingsComponent, DxReportDesignerRequestOptionsComponent, DxReportDesignerWizardSettingsComponent } from 'devexpress-reporting-angular/dx-report-designer';
5
+ export { DxReportViewerCallbacksComponent, DxReportViewerComponent, DxReportViewerExportSettingsComponent, DxReportViewerMobileModeSettingsComponent, DxReportViewerModule, DxReportViewerProgressBarSettingsComponent, DxReportViewerRemoteSettingsComponent, DxReportViewerRequestOptionsComponent, DxReportViewerTabPanelSettingsComponent } from 'devexpress-reporting-angular/dx-report-viewer';
4
6
  export * from './all';
5
- export { DxReportViewerComponent, DxReportViewerModule, DxReportViewerCallbacksComponent, DxReportViewerMobileModeSettingsComponent, DxReportViewerProgressBarSettingsComponent, DxReportViewerExportSettingsComponent, DxReportViewerRemoteSettingsComponent, DxReportViewerRequestOptionsComponent, DxReportViewerTabPanelSettingsComponent } from 'devexpress-reporting-angular/dx-report-viewer';
6
- export { DxReportDesignerComponent, DxReportDesignerModule, DxReportDesignerRequestOptionsComponent, DxReportDesignerCallbacksComponent } from 'devexpress-reporting-angular/dx-report-designer';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTs7R0FFRztBQUNILGNBQWMsT0FBTyxDQUFDO0FBQ3RCLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsb0JBQW9CLEVBQ3BCLGdDQUFnQyxFQUNoQyx5Q0FBeUMsRUFDekMsMENBQTBDLEVBQzFDLHFDQUFxQyxFQUNyQyxxQ0FBcUMsRUFDckMscUNBQXFDLEVBQ3JDLHVDQUF1QyxFQUMxQyxNQUFNLCtDQUErQyxDQUFDO0FBQ3ZELE9BQU8sRUFDSCx5QkFBeUIsRUFDekIsc0JBQXNCLEVBQ3RCLHVDQUF1QyxFQUN2QyxrQ0FBa0MsRUFDckMsTUFBTSxpREFBaUQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiByZXBvcnRpbmctYW5ndWxhclxuICovXG5leHBvcnQgKiBmcm9tICcuL2FsbCc7XG5leHBvcnQge1xuICAgIER4UmVwb3J0Vmlld2VyQ29tcG9uZW50LFxuICAgIER4UmVwb3J0Vmlld2VyTW9kdWxlLFxuICAgIER4UmVwb3J0Vmlld2VyQ2FsbGJhY2tzQ29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pbmdzQ29tcG9uZW50LFxyXG4gICAgRHhSZXBvcnRWaWV3ZXJNb2JpbGVNb2RlU2V0dGluZ3NDb21wb25lbnQsXHJcbiAgICBEeFJlcG9ydFZpZXdlck1vZHVsZSxcclxuICAgIER4UmVwb3J0Vmlld2VyUHJvZ3Jlc3NCYXJTZXR0aW5nc0NvbXBvbmVudCxcclxuICAgIER4UmVwb3J0Vmlld2VyUmVtb3RlU2V0dGluZ3NDb21wb25lbnQsXHJcbiAgICBEeFJlcG9ydFZpZXdlclJlcXVlc3RPcHRpb25zQ29tcG9uZW50LFxyXG4gICAgRHhSZXBvcnRWaWV3ZXJUYWJQYW5lbFNldHRpbmdzQ29tcG9uZW50XHJcbn0gZnJvbSAnZGV2ZXhwcmVzcy1yZXBvcnRpbmctYW5ndWxhci9keC1yZXBvcnQtdmlld2VyJztcclxuZXhwb3J0ICogZnJvbSAnLi9hbGwnO1xyXG5cclxuIl19
@@ -1,5 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
- import { Renderer2, Inject, PLATFORM_ID, ViewChild, Input } from '@angular/core';
2
+ import * as i0 from '@angular/core';
3
+ import { PLATFORM_ID, Component, Inject, ViewChild, Input } from '@angular/core';
3
4
  import { isPlatformBrowser } from '@angular/common';
4
5
  import * as ko from 'knockout';
5
6
 
@@ -70,24 +71,36 @@ class DxReportingComponent {
70
71
  return (eventName, args) => component.callbacks && component.callbacks[eventName] && component.callbacks[eventName].emit({ sender: component.bindingSender, args: args, component: component });
71
72
  }
72
73
  }
73
- DxReportingComponent.ctorParameters = () => [
74
- { type: Renderer2 },
75
- { type: Object, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
76
- ];
77
- DxReportingComponent.propDecorators = {
78
- control: [{ type: ViewChild, args: ['control',] }],
79
- height: [{ type: Input }],
80
- width: [{ type: Input }],
81
- cssClass: [{ type: Input }],
82
- rtl: [{ type: Input }],
83
- developmentMode: [{ type: Input }]
84
- };
74
+ DxReportingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportingComponent, deps: [{ token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
75
+ DxReportingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportingComponent, selector: "ng-component", inputs: { height: "height", width: "width", cssClass: "cssClass", rtl: "rtl", developmentMode: "developmentMode" }, viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true }], ngImport: i0, template: '', isInline: true });
85
76
  __decorate([
86
77
  _inputConverter(_booleanConverter)
87
78
  ], DxReportingComponent.prototype, "rtl", void 0);
88
79
  __decorate([
89
80
  _inputConverter(_booleanConverter)
90
- ], DxReportingComponent.prototype, "developmentMode", void 0);
81
+ ], DxReportingComponent.prototype, "developmentMode", void 0);
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportingComponent, decorators: [{
83
+ type: Component,
84
+ args: [{
85
+ template: ''
86
+ }]
87
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: Object, decorators: [{
88
+ type: Inject,
89
+ args: [PLATFORM_ID]
90
+ }] }]; }, propDecorators: { control: [{
91
+ type: ViewChild,
92
+ args: ['control']
93
+ }], height: [{
94
+ type: Input
95
+ }], width: [{
96
+ type: Input
97
+ }], cssClass: [{
98
+ type: Input
99
+ }], rtl: [{
100
+ type: Input
101
+ }], developmentMode: [{
102
+ type: Input
103
+ }] } });
91
104
 
92
105
  /*
93
106
  * Public API Surface of reporting-angular/core
@@ -1 +1 @@
1
- {"version":3,"file":"devexpress-reporting-angular-core.js","sources":["../../../core/_input-converters.ts","../../../core/dx-reporting.component.ts","../../../core/index.ts","../../../core/devexpress-reporting-angular-core.ts"],"sourcesContent":["export const _booleanConverter = (value: any) => {\n if(value === null || value === undefined || typeof value === 'boolean')\n return value;\n\n return value.toString() === 'true';\n};\n\nexport const _numberConverter = (value: any) => {\n if(value === null || value === undefined || typeof value === 'number')\n return value;\n\n return parseFloat(value.toString());\n};\n\nexport function _inputConverter(converter: (value: any) => any) {\n return (target: Object, key: string) => {\n const definition = Object.getOwnPropertyDescriptor(target, key);\n if(definition) {\n Object.defineProperty(target, key, {\n get: definition.get,\n set: newValue => {\n definition.set(converter(newValue));\n },\n enumerable: true,\n configurable: true\n });\n } else {\n Object.defineProperty(target, key, {\n get: function () {\n return this['__' + key];\n },\n set: function (newValue) {\n this['__' + key] = converter(newValue);\n },\n enumerable: true,\n configurable: true\n });\n }\n };\n}","import { AfterViewInit, Renderer2, ElementRef, ViewChild, Input, Inject, PLATFORM_ID, OnDestroy } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport * as ko from 'knockout';\nimport { _booleanConverter, _inputConverter } from './_input-converters';\n\nexport abstract class DxReportingComponent implements AfterViewInit, OnDestroy {\n private _koBinding;\n bindingSender: any;\n callbacks: any;\n @ViewChild('control')\n control: ElementRef;\n\n constructor(private renderer: Renderer2, @Inject(PLATFORM_ID) private platformId: Object) { }\n abstract getControlOptions();\n abstract getCallbacks();\n abstract getKoBinding(options: any);\n\n ngAfterViewInit() {\n if(isPlatformBrowser(this.platformId)) {\n this.callbacks = this.getCallbacks();\n const options = this.getControlOptions();\n this._koBinding = this.getKoBinding(options);\n this.bindingSender = this._koBinding.sender;\n this._koBinding.applyBindings(this.control.nativeElement);\n }\n }\n ngOnDestroy() {\n ko.cleanNode(this.control.nativeElement);\n this._koBinding = null;\n this.bindingSender = null;\n this.callbacks = null;\n this.control = null;\n }\n\n getEventRaiser() {\n var component = this;\n return (eventName, args?) => component.callbacks && component.callbacks[eventName] && component.callbacks[eventName].emit({ sender: component.bindingSender, args: args, component: component });\n }\n\n @Input() height: string = '800px';\n @Input() width: string = '100%';\n @Input() cssClass: string = '';\n\n @Input()\n @_inputConverter(_booleanConverter)\n rtl: boolean;\n @Input()\n @_inputConverter(_booleanConverter)\n developmentMode: boolean;\n}\n","/*\n * Public API Surface of reporting-angular/core\n */\nexport * from './_input-converters';\nexport * from './dx-reporting.component';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAa,MAAA,iBAAiB,GAAG,CAAC,KAAU,KAAI;IAC5C,IAAG,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,SAAS;AAClE,QAAA,OAAO,KAAK,CAAC;AAEjB,IAAA,OAAO,KAAK,CAAC,QAAQ,EAAE,KAAK,MAAM,CAAC;AACvC,EAAE;AAEW,MAAA,gBAAgB,GAAG,CAAC,KAAU,KAAI;IAC3C,IAAG,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ;AACjE,QAAA,OAAO,KAAK,CAAC;AAEjB,IAAA,OAAO,UAAU,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AACxC,EAAE;AAEI,SAAU,eAAe,CAAC,SAA8B,EAAA;AAC1D,IAAA,OAAO,CAAC,MAAc,EAAE,GAAW,KAAI;QACnC,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAChE,QAAA,IAAG,UAAU,EAAE;AACX,YAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE;gBAC/B,GAAG,EAAE,UAAU,CAAC,GAAG;gBACnB,GAAG,EAAE,QAAQ,IAAG;oBACZ,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;iBACvC;AACD,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,YAAY,EAAE,IAAI;AACrB,aAAA,CAAC,CAAC;AACN,SAAA;AAAM,aAAA;AACH,YAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE;AAC/B,gBAAA,GAAG,EAAE,YAAA;AACD,oBAAA,OAAO,IAAI,CA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AA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;AACtB,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;KACvB;IAED,cAAc,GAAA;QACV,IAAI,SAAS,GAAG,IAAI,CAAC;AACrB,QAAA,OAAO,CAAC,SAAS,EAAE,IAAK,KAAK,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;KACpM;;;YArCqB,SAAS,EAAA;YAYmD,MAAM,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAA9C,MAAM,EAAA,IAAA,EAAA,CAAC,WAAW,EAAA,EAAA,CAAA,EAAA;;;AAH3D,IAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,SAAS,SAAC,SAAS,EAAA,EAAA,CAAA;qBA8BnB,KAAK,EAAA,CAAA;oBACL,KAAK,EAAA,CAAA;uBACL,KAAK,EAAA,CAAA;kBAEL,KAAK,EAAA,CAAA;8BAGL,KAAK,EAAA,CAAA;;AADN,UAAA,CAAA;IADC,eAAe,CAAC,iBAAiB,CAAC;AACtB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,KAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAGb,UAAA,CAAA;IADC,eAAe,CAAC,iBAAiB,CAAC;AACV,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,iBAAA,EAAA,KAAA,CAAA,CAAA;;AChD3B;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"devexpress-reporting-angular-core.js","sources":["../../../core/_input-converters.ts","../../../core/dx-reporting.component.ts","../../../core/index.ts","../../../core/devexpress-reporting-angular-core.ts"],"sourcesContent":["export const _booleanConverter = (value: any) => {\r\n if(value === null || value === undefined || typeof value === 'boolean')\r\n return value;\r\n\r\n return value.toString() === 'true';\r\n};\r\n\r\nexport const _numberConverter = (value: any) => {\r\n if(value === null || value === undefined || typeof value === 'number')\r\n return value;\r\n\r\n return parseFloat(value.toString());\r\n};\r\n\r\nexport function _inputConverter(converter: (value: any) => any) {\r\n return (target: Object, key: string) => {\r\n const definition = Object.getOwnPropertyDescriptor(target, key);\r\n if(definition) {\r\n Object.defineProperty(target, key, {\r\n get: definition.get,\r\n set: newValue => {\r\n definition.set(converter(newValue));\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n } else {\r\n Object.defineProperty(target, key, {\r\n get: function () {\r\n return this['__' + key];\r\n },\r\n set: function (newValue) {\r\n this['__' + key] = converter(newValue);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n }\r\n };\r\n}","import { AfterViewInit, Renderer2, ElementRef, ViewChild, Input, Inject, PLATFORM_ID, OnDestroy, Component } from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\nimport * as ko from 'knockout';\r\nimport { _booleanConverter, _inputConverter } from './_input-converters';\r\n@Component({\r\n template: ''\r\n})\r\nexport abstract class DxReportingComponent implements AfterViewInit, OnDestroy {\r\n private _koBinding;\r\n bindingSender: any;\r\n callbacks: any;\r\n @ViewChild('control')\r\n control: ElementRef;\r\n\r\n constructor(private renderer: Renderer2, @Inject(PLATFORM_ID) private platformId: Object) { }\r\n abstract getControlOptions();\r\n abstract getCallbacks();\r\n abstract getKoBinding(options: any);\r\n\r\n ngAfterViewInit() {\r\n if(isPlatformBrowser(this.platformId)) {\r\n this.callbacks = this.getCallbacks();\r\n const options = this.getControlOptions();\r\n this._koBinding = this.getKoBinding(options);\r\n this.bindingSender = this._koBinding.sender;\r\n this._koBinding.applyBindings(this.control.nativeElement);\r\n }\r\n }\r\n ngOnDestroy() {\r\n ko.cleanNode(this.control.nativeElement);\r\n this._koBinding = null;\r\n this.bindingSender = null;\r\n this.callbacks = null;\r\n this.control = null;\r\n }\r\n\r\n getEventRaiser() {\r\n var component = this;\r\n return (eventName, args?) => component.callbacks && component.callbacks[eventName] && component.callbacks[eventName].emit({ sender: component.bindingSender, args: args, component: component });\r\n }\r\n\r\n @Input() height: string = '800px';\r\n @Input() width: string = '100%';\r\n @Input() cssClass: string = '';\r\n\r\n @Input()\r\n @_inputConverter(_booleanConverter)\r\n rtl: boolean;\r\n @Input()\r\n @_inputConverter(_booleanConverter)\r\n developmentMode: boolean;\r\n}\r\n","/*\r\n * Public API Surface of reporting-angular/core\r\n */\r\nexport * from './dx-reporting.component';\r\nexport * from './_input-converters';\r\nexport * from './_settingsProvider';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAa,MAAA,iBAAiB,GAAG,CAAC,KAAU,KAAI;IAC5C,IAAG,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,SAAS;AAClE,QAAA,OAAO,KAAK,CAAC;AAEjB,IAAA,OAAO,KAAK,CAAC,QAAQ,EAAE,KAAK,MAAM,CAAC;AACvC,EAAE;AAEW,MAAA,gBAAgB,GAAG,CAAC,KAAU,KAAI;IAC3C,IAAG,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ;AACjE,QAAA,OAAO,KAAK,CAAC;AAEjB,IAAA,OAAO,UAAU,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AACxC,EAAE;AAEI,SAAU,eAAe,CAAC,SAA8B,EAAA;AAC1D,IAAA,OAAO,CAAC,MAAc,EAAE,GAAW,KAAI;QACnC,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAChE,QAAA,IAAG,UAAU,EAAE;AACX,YAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE;gBAC/B,GAAG,EAAE,UAAU,CAAC,GAAG;gBACn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AiB,CAAC;AACtB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,KAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAGb,UAAA,CAAA;IADC,eAAe,CAAC,iBAAiB,CAAC;AACV,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,iBAAA,EAAA,KAAA,CAAA,CAAA,CAAA;4FA3CL,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,EAAE;AACf,iBAAA,CAAA;kFAQmF,MAAM,EAAA,UAAA,EAAA,CAAA;0BAA9C,MAAM;2BAAC,WAAW,CAAA;4CAF5D,OAAO,EAAA,CAAA;sBADN,SAAS;uBAAC,SAAS,CAAA;gBA8BX,MAAM,EAAA,CAAA;sBAAd,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBAIN,GAAG,EAAA,CAAA;sBAFF,KAAK;gBAKN,eAAe,EAAA,CAAA;sBAFd,KAAK;;;AChDR;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,22 +1,12 @@
1
- import { Component, Input, EventEmitter, Output, ViewEncapsulation, Renderer2, Inject, PLATFORM_ID, ContentChild, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, Output, Input, ContentChild, PLATFORM_ID, ViewEncapsulation, Inject, NgModule } from '@angular/core';
3
3
  import { JSReportDesignerBinding } from 'devexpress-reporting/dx-reportdesigner';
4
4
  import * as ko from 'knockout';
5
- import { DxReportingComponent } from 'devexpress-reporting-angular/core';
6
-
7
- class DxReportDesignerRequestOptionsComponent {
8
- }
9
- DxReportDesignerRequestOptionsComponent.decorators = [
10
- { type: Component, args: [{
11
- template: '',
12
- selector: 'dxrd-request-options'
13
- },] }
14
- ];
15
- DxReportDesignerRequestOptionsComponent.propDecorators = {
16
- getDesignerModelAction: [{ type: Input }],
17
- getLocalizationAction: [{ type: Input }],
18
- host: [{ type: Input }]
19
- };
5
+ import { _inputConverter, _booleanConverter, DxReportingComponent } from 'devexpress-reporting-angular/core';
6
+ import { __decorate } from 'tslib';
7
+ import { DxReportViewerProgressBarSettingsComponent, DxReportViewerExportSettingsComponent } from 'devexpress-reporting-angular/dx-report-viewer';
8
+ import * as i1 from '@angular/common';
9
+ import { CommonModule } from '@angular/common';
20
10
 
21
11
  class DxReportDesignerCallbacksComponent {
22
12
  constructor() {
@@ -53,45 +43,250 @@ class DxReportDesignerCallbacksComponent {
53
43
  this.PreviewOnExport = new EventEmitter();
54
44
  }
55
45
  }
56
- DxReportDesignerCallbacksComponent.decorators = [
57
- { type: Component, args: [{
58
- template: '',
59
- selector: 'dxrd-callbacks'
60
- },] }
61
- ];
62
- DxReportDesignerCallbacksComponent.propDecorators = {
63
- CustomizeElements: [{ type: Output }],
64
- ExitDesigner: [{ type: Output }],
65
- ReportSaving: [{ type: Output }],
66
- ReportSaved: [{ type: Output }],
67
- ReportOpened: [{ type: Output }],
68
- ReportOpening: [{ type: Output }],
69
- TabChanged: [{ type: Output }],
70
- ReportTabClosing: [{ type: Output }],
71
- ReportTabClosed: [{ type: Output }],
72
- ComponentAdded: [{ type: Output }],
73
- CustomizeParameterEditors: [{ type: Output }],
74
- CustomizeSaveDialog: [{ type: Output }],
75
- CustomizeSaveAsDialog: [{ type: Output }],
76
- CustomizeOpenDialog: [{ type: Output }],
77
- CustomizeToolbox: [{ type: Output }],
78
- CustomizeFieldListActions: [{ type: Output }],
79
- CustomizeMenuActions: [{ type: Output }],
80
- CustomizeLocalization: [{ type: Output }],
81
- BeforeRender: [{ type: Output }],
82
- OnServerError: [{ type: Output }],
83
- CustomizeWizard: [{ type: Output }],
84
- PreviewClick: [{ type: Output }],
85
- PreviewCustomizeElements: [{ type: Output }],
86
- PreviewCustomizeMenuActions: [{ type: Output }],
87
- PreviewEditingFieldChanged: [{ type: Output }],
88
- PreviewDocumentReady: [{ type: Output }],
89
- PreviewParametersReset: [{ type: Output }],
90
- PreviewParametersInitialized: [{ type: Output }],
91
- PreviewCustomizeExportOptions: [{ type: Output }],
92
- PreviewParametersSubmitted: [{ type: Output }],
93
- PreviewOnExport: [{ type: Output }]
94
- };
46
+ DxReportDesignerCallbacksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerCallbacksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
+ DxReportDesignerCallbacksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerCallbacksComponent, selector: "dxrd-callbacks", outputs: { CustomizeElements: "CustomizeElements", ExitDesigner: "ExitDesigner", ReportSaving: "ReportSaving", ReportSaved: "ReportSaved", ReportOpened: "ReportOpened", ReportOpening: "ReportOpening", TabChanged: "TabChanged", ReportTabClosing: "ReportTabClosing", ReportTabClosed: "ReportTabClosed", ComponentAdded: "ComponentAdded", CustomizeParameterEditors: "CustomizeParameterEditors", CustomizeSaveDialog: "CustomizeSaveDialog", CustomizeSaveAsDialog: "CustomizeSaveAsDialog", CustomizeOpenDialog: "CustomizeOpenDialog", CustomizeToolbox: "CustomizeToolbox", CustomizeFieldListActions: "CustomizeFieldListActions", CustomizeMenuActions: "CustomizeMenuActions", CustomizeLocalization: "CustomizeLocalization", BeforeRender: "BeforeRender", OnServerError: "OnServerError", CustomizeWizard: "CustomizeWizard", PreviewClick: "PreviewClick", PreviewCustomizeElements: "PreviewCustomizeElements", PreviewCustomizeMenuActions: "PreviewCustomizeMenuActions", PreviewEditingFieldChanged: "PreviewEditingFieldChanged", PreviewDocumentReady: "PreviewDocumentReady", PreviewParametersReset: "PreviewParametersReset", PreviewParametersInitialized: "PreviewParametersInitialized", PreviewCustomizeExportOptions: "PreviewCustomizeExportOptions", PreviewParametersSubmitted: "PreviewParametersSubmitted", PreviewOnExport: "PreviewOnExport" }, ngImport: i0, template: '', isInline: true });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerCallbacksComponent, decorators: [{
49
+ type: Component,
50
+ args: [{
51
+ template: '',
52
+ selector: 'dxrd-callbacks'
53
+ }]
54
+ }], propDecorators: { CustomizeElements: [{
55
+ type: Output
56
+ }], ExitDesigner: [{
57
+ type: Output
58
+ }], ReportSaving: [{
59
+ type: Output
60
+ }], ReportSaved: [{
61
+ type: Output
62
+ }], ReportOpened: [{
63
+ type: Output
64
+ }], ReportOpening: [{
65
+ type: Output
66
+ }], TabChanged: [{
67
+ type: Output
68
+ }], ReportTabClosing: [{
69
+ type: Output
70
+ }], ReportTabClosed: [{
71
+ type: Output
72
+ }], ComponentAdded: [{
73
+ type: Output
74
+ }], CustomizeParameterEditors: [{
75
+ type: Output
76
+ }], CustomizeSaveDialog: [{
77
+ type: Output
78
+ }], CustomizeSaveAsDialog: [{
79
+ type: Output
80
+ }], CustomizeOpenDialog: [{
81
+ type: Output
82
+ }], CustomizeToolbox: [{
83
+ type: Output
84
+ }], CustomizeFieldListActions: [{
85
+ type: Output
86
+ }], CustomizeMenuActions: [{
87
+ type: Output
88
+ }], CustomizeLocalization: [{
89
+ type: Output
90
+ }], BeforeRender: [{
91
+ type: Output
92
+ }], OnServerError: [{
93
+ type: Output
94
+ }], CustomizeWizard: [{
95
+ type: Output
96
+ }], PreviewClick: [{
97
+ type: Output
98
+ }], PreviewCustomizeElements: [{
99
+ type: Output
100
+ }], PreviewCustomizeMenuActions: [{
101
+ type: Output
102
+ }], PreviewEditingFieldChanged: [{
103
+ type: Output
104
+ }], PreviewDocumentReady: [{
105
+ type: Output
106
+ }], PreviewParametersReset: [{
107
+ type: Output
108
+ }], PreviewParametersInitialized: [{
109
+ type: Output
110
+ }], PreviewCustomizeExportOptions: [{
111
+ type: Output
112
+ }], PreviewParametersSubmitted: [{
113
+ type: Output
114
+ }], PreviewOnExport: [{
115
+ type: Output
116
+ }] } });
117
+
118
+ class DxReportDesignerDataSourceSettingsComponent {
119
+ getSerializableSettings() {
120
+ return {
121
+ allowAddDataSource: this.allowAddDataSource,
122
+ allowRemoveDataSource: this.allowRemoveDataSource,
123
+ allowEditDataSource: this.allowEditDataSource
124
+ };
125
+ }
126
+ }
127
+ DxReportDesignerDataSourceSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerDataSourceSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
128
+ DxReportDesignerDataSourceSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerDataSourceSettingsComponent, selector: "dxrd-datasource-settings", inputs: { allowAddDataSource: "allowAddDataSource", allowRemoveDataSource: "allowRemoveDataSource", allowEditDataSource: "allowEditDataSource" }, ngImport: i0, template: '', isInline: true });
129
+ __decorate([
130
+ _inputConverter(_booleanConverter)
131
+ ], DxReportDesignerDataSourceSettingsComponent.prototype, "allowAddDataSource", void 0);
132
+ __decorate([
133
+ _inputConverter(_booleanConverter)
134
+ ], DxReportDesignerDataSourceSettingsComponent.prototype, "allowRemoveDataSource", void 0);
135
+ __decorate([
136
+ _inputConverter(_booleanConverter)
137
+ ], DxReportDesignerDataSourceSettingsComponent.prototype, "allowEditDataSource", void 0);
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerDataSourceSettingsComponent, decorators: [{
139
+ type: Component,
140
+ args: [{
141
+ template: '',
142
+ selector: 'dxrd-datasource-settings'
143
+ }]
144
+ }], propDecorators: { allowAddDataSource: [{
145
+ type: Input
146
+ }], allowRemoveDataSource: [{
147
+ type: Input
148
+ }], allowEditDataSource: [{
149
+ type: Input
150
+ }] } });
151
+
152
+ class DxReportDesignerPreviewSettingsComponent {
153
+ getSerializableSettings() {
154
+ var _a, _b;
155
+ return {
156
+ exportSettings: (_a = this.exportSettings) === null || _a === void 0 ? void 0 : _a.getSerializableSettings(),
157
+ progressBarSettings: (_b = this.porgressbarSettings) === null || _b === void 0 ? void 0 : _b.getSerializableSettings()
158
+ };
159
+ }
160
+ }
161
+ DxReportDesignerPreviewSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerPreviewSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
162
+ DxReportDesignerPreviewSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerPreviewSettingsComponent, selector: "dxrd-preview-settings", queries: [{ propertyName: "porgressbarSettings", first: true, predicate: DxReportViewerProgressBarSettingsComponent, descendants: true }, { propertyName: "exportSettings", first: true, predicate: DxReportViewerExportSettingsComponent, descendants: true }], ngImport: i0, template: '', isInline: true });
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerPreviewSettingsComponent, decorators: [{
164
+ type: Component,
165
+ args: [{
166
+ template: '',
167
+ selector: 'dxrd-preview-settings'
168
+ }]
169
+ }], propDecorators: { porgressbarSettings: [{
170
+ type: ContentChild,
171
+ args: [DxReportViewerProgressBarSettingsComponent]
172
+ }], exportSettings: [{
173
+ type: ContentChild,
174
+ args: [DxReportViewerExportSettingsComponent]
175
+ }] } });
176
+
177
+ class DxReportDesignerWizardSettingsComponent {
178
+ getSerializableSettings() {
179
+ return {
180
+ useMasterDetailWizard: this.useMasterDetailWizard,
181
+ enableJsonDataSource: this.enableJsonDataSource,
182
+ enableSqlDataSource: this.enableSqlDataSource,
183
+ enableObjectDataSource: this.enableObjectDataSource,
184
+ enableFederationDataSource: this.enableFederationDataSource,
185
+ useFullscreenWizard: this.useFullscreenWizard,
186
+ reportWizardTemplatesSearchBoxVisibility: this.reportWizardTemplatesSearchBoxVisibility
187
+ };
188
+ }
189
+ }
190
+ DxReportDesignerWizardSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerWizardSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
191
+ DxReportDesignerWizardSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerWizardSettingsComponent, selector: "dxrd-wizard-settings", inputs: { useMasterDetailWizard: "useMasterDetailWizard", enableJsonDataSource: "enableJsonDataSource", enableSqlDataSource: "enableSqlDataSource", enableObjectDataSource: "enableObjectDataSource", enableFederationDataSource: "enableFederationDataSource", useFullscreenWizard: "useFullscreenWizard", reportWizardTemplatesSearchBoxVisibility: "reportWizardTemplatesSearchBoxVisibility" }, ngImport: i0, template: '', isInline: true });
192
+ __decorate([
193
+ _inputConverter(_booleanConverter)
194
+ ], DxReportDesignerWizardSettingsComponent.prototype, "useMasterDetailWizard", void 0);
195
+ __decorate([
196
+ _inputConverter(_booleanConverter)
197
+ ], DxReportDesignerWizardSettingsComponent.prototype, "enableJsonDataSource", void 0);
198
+ __decorate([
199
+ _inputConverter(_booleanConverter)
200
+ ], DxReportDesignerWizardSettingsComponent.prototype, "enableSqlDataSource", void 0);
201
+ __decorate([
202
+ _inputConverter(_booleanConverter)
203
+ ], DxReportDesignerWizardSettingsComponent.prototype, "enableObjectDataSource", void 0);
204
+ __decorate([
205
+ _inputConverter(_booleanConverter)
206
+ ], DxReportDesignerWizardSettingsComponent.prototype, "enableFederationDataSource", void 0);
207
+ __decorate([
208
+ _inputConverter(_booleanConverter)
209
+ ], DxReportDesignerWizardSettingsComponent.prototype, "useFullscreenWizard", void 0);
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerWizardSettingsComponent, decorators: [{
211
+ type: Component,
212
+ args: [{
213
+ template: '',
214
+ selector: 'dxrd-wizard-settings'
215
+ }]
216
+ }], propDecorators: { useMasterDetailWizard: [{
217
+ type: Input
218
+ }], enableJsonDataSource: [{
219
+ type: Input
220
+ }], enableSqlDataSource: [{
221
+ type: Input
222
+ }], enableObjectDataSource: [{
223
+ type: Input
224
+ }], enableFederationDataSource: [{
225
+ type: Input
226
+ }], useFullscreenWizard: [{
227
+ type: Input
228
+ }], reportWizardTemplatesSearchBoxVisibility: [{
229
+ type: Input
230
+ }] } });
231
+
232
+ class DxReportDesignerModelSettingsComponent {
233
+ getSerializableSettings() {
234
+ var _a, _b, _c;
235
+ return {
236
+ reportPreviewSettings: (_a = this.previewSettings) === null || _a === void 0 ? void 0 : _a.getSerializableSettings(),
237
+ wizardSettings: (_b = this.wizardSettings) === null || _b === void 0 ? void 0 : _b.getSerializableSettings(),
238
+ dataSourceSettings: (_c = this.dataSourceSettings) === null || _c === void 0 ? void 0 : _c.getSerializableSettings(),
239
+ allowMDI: this.allowMDI,
240
+ rightToLeft: this.rightToLeft
241
+ };
242
+ }
243
+ }
244
+ DxReportDesignerModelSettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModelSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
245
+ DxReportDesignerModelSettingsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerModelSettingsComponent, selector: "dxrd-designer-model-settings", inputs: { allowMDI: "allowMDI", rightToLeft: "rightToLeft" }, queries: [{ propertyName: "previewSettings", first: true, predicate: DxReportDesignerPreviewSettingsComponent, descendants: true }, { propertyName: "wizardSettings", first: true, predicate: DxReportDesignerWizardSettingsComponent, descendants: true }, { propertyName: "dataSourceSettings", first: true, predicate: DxReportDesignerDataSourceSettingsComponent, descendants: true }], ngImport: i0, template: '', isInline: true });
246
+ __decorate([
247
+ _inputConverter(_booleanConverter)
248
+ ], DxReportDesignerModelSettingsComponent.prototype, "allowMDI", void 0);
249
+ __decorate([
250
+ _inputConverter(_booleanConverter)
251
+ ], DxReportDesignerModelSettingsComponent.prototype, "rightToLeft", void 0);
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModelSettingsComponent, decorators: [{
253
+ type: Component,
254
+ args: [{
255
+ template: '',
256
+ selector: 'dxrd-designer-model-settings'
257
+ }]
258
+ }], propDecorators: { allowMDI: [{
259
+ type: Input
260
+ }], rightToLeft: [{
261
+ type: Input
262
+ }], previewSettings: [{
263
+ type: ContentChild,
264
+ args: [DxReportDesignerPreviewSettingsComponent]
265
+ }], wizardSettings: [{
266
+ type: ContentChild,
267
+ args: [DxReportDesignerWizardSettingsComponent]
268
+ }], dataSourceSettings: [{
269
+ type: ContentChild,
270
+ args: [DxReportDesignerDataSourceSettingsComponent]
271
+ }] } });
272
+
273
+ class DxReportDesignerRequestOptionsComponent {
274
+ }
275
+ DxReportDesignerRequestOptionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerRequestOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
276
+ DxReportDesignerRequestOptionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerRequestOptionsComponent, selector: "dxrd-request-options", inputs: { getDesignerModelAction: "getDesignerModelAction", getLocalizationAction: "getLocalizationAction", host: "host" }, ngImport: i0, template: '', isInline: true });
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerRequestOptionsComponent, decorators: [{
278
+ type: Component,
279
+ args: [{
280
+ template: '',
281
+ selector: 'dxrd-request-options'
282
+ }]
283
+ }], propDecorators: { getDesignerModelAction: [{
284
+ type: Input
285
+ }], getLocalizationAction: [{
286
+ type: Input
287
+ }], host: [{
288
+ type: Input
289
+ }] } });
95
290
 
96
291
  class DxReportDesignerComponent extends DxReportingComponent {
97
292
  constructor(renderer, platformId) {
@@ -105,11 +300,13 @@ class DxReportDesignerComponent extends DxReportingComponent {
105
300
  return new JSReportDesignerBinding(options, this.getEventRaiser());
106
301
  }
107
302
  getControlOptions() {
303
+ var _a;
108
304
  return {
109
- rtl: this.rtl,
305
+ rightToLeft: this.rtl,
110
306
  developmentMode: this.developmentMode,
111
307
  reportUrl: this.koReportUrl,
112
308
  requestOptions: this.requestOptions,
309
+ designerModelSettings: (_a = this.designerModelSettings) === null || _a === void 0 ? void 0 : _a.getSerializableSettings(),
113
310
  callbacks: { designer: {}, preview: {} }
114
311
  };
115
312
  }
@@ -118,6 +315,7 @@ class DxReportDesignerComponent extends DxReportingComponent {
118
315
  this.requestOptions = null;
119
316
  this.callbacksComponent = null;
120
317
  this.koReportUrl = null;
318
+ this.designerModelSettings = null;
121
319
  }
122
320
  GetDesignerModel() {
123
321
  return this.bindingSender.GetDesignerModel();
@@ -132,41 +330,74 @@ class DxReportDesignerComponent extends DxReportingComponent {
132
330
  this.koReportUrl(reportUrl);
133
331
  }
134
332
  }
135
- DxReportDesignerComponent.decorators = [
136
- { type: Component, args: [{
137
- selector: 'dx-report-designer',
138
- encapsulation: ViewEncapsulation.None,
139
- template: "<div #control [ngClass]=\"cssClass\" [ngStyle]=\"{'width': width, 'height': height }\">\n <div data-bind=\"dxReportDesigner: $data\"></div>\n</div>"
140
- },] }
141
- ];
142
- DxReportDesignerComponent.ctorParameters = () => [
143
- { type: Renderer2 },
144
- { type: Object, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
145
- ];
146
- DxReportDesignerComponent.propDecorators = {
147
- requestOptions: [{ type: ContentChild, args: [DxReportDesignerRequestOptionsComponent,] }],
148
- callbacksComponent: [{ type: ContentChild, args: [DxReportDesignerCallbacksComponent,] }],
149
- reportUrl: [{ type: Input }]
150
- };
333
+ DxReportDesignerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerComponent, deps: [{ token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
334
+ DxReportDesignerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: DxReportDesignerComponent, selector: "dx-report-designer", inputs: { reportUrl: "reportUrl" }, queries: [{ propertyName: "requestOptions", first: true, predicate: DxReportDesignerRequestOptionsComponent, descendants: true }, { propertyName: "callbacksComponent", first: true, predicate: DxReportDesignerCallbacksComponent, descendants: true }, { propertyName: "designerModelSettings", first: true, predicate: DxReportDesignerModelSettingsComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div #control [ngClass]=\"cssClass\" [ngStyle]=\"{'width': width, 'height': height }\">\r\n <div data-bind=\"dxReportDesigner: $data\"></div>\r\n</div>", directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerComponent, decorators: [{
336
+ type: Component,
337
+ args: [{
338
+ selector: 'dx-report-designer',
339
+ encapsulation: ViewEncapsulation.None,
340
+ templateUrl: './dx-report-designer.component.html',
341
+ styleUrls: []
342
+ }]
343
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: Object, decorators: [{
344
+ type: Inject,
345
+ args: [PLATFORM_ID]
346
+ }] }]; }, propDecorators: { requestOptions: [{
347
+ type: ContentChild,
348
+ args: [DxReportDesignerRequestOptionsComponent]
349
+ }], callbacksComponent: [{
350
+ type: ContentChild,
351
+ args: [DxReportDesignerCallbacksComponent]
352
+ }], designerModelSettings: [{
353
+ type: ContentChild,
354
+ args: [DxReportDesignerModelSettingsComponent]
355
+ }], reportUrl: [{
356
+ type: Input
357
+ }] } });
151
358
 
152
359
  class DxReportDesignerModule {
153
360
  }
154
- DxReportDesignerModule.decorators = [
155
- { type: NgModule, args: [{
156
- id: 'DxReportDesignerModule',
157
- imports: [CommonModule],
158
- declarations: [
159
- DxReportDesignerCallbacksComponent,
160
- DxReportDesignerRequestOptionsComponent,
161
- DxReportDesignerComponent
162
- ],
163
- exports: [
164
- DxReportDesignerCallbacksComponent,
165
- DxReportDesignerRequestOptionsComponent,
166
- DxReportDesignerComponent
167
- ]
168
- },] }
169
- ];
361
+ DxReportDesignerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
362
+ DxReportDesignerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModule, declarations: [DxReportDesignerCallbacksComponent,
363
+ DxReportDesignerRequestOptionsComponent,
364
+ DxReportDesignerComponent,
365
+ DxReportDesignerPreviewSettingsComponent,
366
+ DxReportDesignerWizardSettingsComponent,
367
+ DxReportDesignerDataSourceSettingsComponent,
368
+ DxReportDesignerModelSettingsComponent], imports: [CommonModule], exports: [DxReportDesignerCallbacksComponent,
369
+ DxReportDesignerRequestOptionsComponent,
370
+ DxReportDesignerComponent,
371
+ DxReportDesignerPreviewSettingsComponent,
372
+ DxReportDesignerWizardSettingsComponent,
373
+ DxReportDesignerDataSourceSettingsComponent,
374
+ DxReportDesignerModelSettingsComponent], id: 'DxReportDesignerModule' });
375
+ DxReportDesignerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModule, imports: [[CommonModule]] });
376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DxReportDesignerModule, decorators: [{
377
+ type: NgModule,
378
+ args: [{
379
+ id: 'DxReportDesignerModule',
380
+ imports: [CommonModule],
381
+ declarations: [
382
+ DxReportDesignerCallbacksComponent,
383
+ DxReportDesignerRequestOptionsComponent,
384
+ DxReportDesignerComponent,
385
+ DxReportDesignerPreviewSettingsComponent,
386
+ DxReportDesignerWizardSettingsComponent,
387
+ DxReportDesignerDataSourceSettingsComponent,
388
+ DxReportDesignerModelSettingsComponent
389
+ ],
390
+ exports: [
391
+ DxReportDesignerCallbacksComponent,
392
+ DxReportDesignerRequestOptionsComponent,
393
+ DxReportDesignerComponent,
394
+ DxReportDesignerPreviewSettingsComponent,
395
+ DxReportDesignerWizardSettingsComponent,
396
+ DxReportDesignerDataSourceSettingsComponent,
397
+ DxReportDesignerModelSettingsComponent
398
+ ]
399
+ }]
400
+ }] });
170
401
 
171
402
  /*
172
403
  * Public API Surface of reporting-angular/report-designer
@@ -176,5 +407,5 @@ DxReportDesignerModule.decorators = [
176
407
  * Generated bundle index. Do not edit.
177
408
  */
178
409
 
179
- export { DxReportDesignerCallbacksComponent, DxReportDesignerComponent, DxReportDesignerModule, DxReportDesignerRequestOptionsComponent };
410
+ export { DxReportDesignerCallbacksComponent, DxReportDesignerComponent, DxReportDesignerDataSourceSettingsComponent, DxReportDesignerModelSettingsComponent, DxReportDesignerModule, DxReportDesignerPreviewSettingsComponent, DxReportDesignerRequestOptionsComponent, DxReportDesignerWizardSettingsComponent };
180
411
  //# sourceMappingURL=devexpress-reporting-angular-dx-report-designer.js.map