realreport 1.7.9 → 1.7.10

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.
@@ -389,10 +389,6 @@
389
389
  }
390
390
 
391
391
  @media print {
392
- @page rotated {
393
- page-orientation: rotate-left;
394
- }
395
-
396
392
  .rr-print-page-portrait {
397
393
  margin: 0 !important;
398
394
  border: none !important;
@@ -403,7 +399,6 @@
403
399
  }
404
400
 
405
401
  .rr-print-page-landscape {
406
- page: rotated !important;
407
402
  margin: 0 !important;
408
403
  border: none !important;
409
404
  box-shadow: none !important;
@@ -1,8 +1,7 @@
1
1
  /// <reference types="pdfkit" />
2
- /// <reference types="node" />
3
2
  /**
4
- * RealReport v1.7.9
5
- * commit 27b0a21
3
+ * RealReport v1.7.10
4
+ * commit ad3c5b1
6
5
 
7
6
  * Copyright (C) 2013-2023 WooriTech Inc.
8
7
  https://real-report.com
@@ -10,10 +9,10 @@
10
9
  */
11
10
 
12
11
  /**
13
- * RealReport Core v1.7.9
12
+ * RealReport Core v1.7.10
14
13
  * Copyright (C) 2013-2023 WooriTech Inc.
15
14
  * All Rights Reserved.
16
- * commit f97017e22373c5951f797b36085ec48058b12f47
15
+ * commit a06bb0b54f667ef578f5763cab17426190ed05f5
17
16
  */
18
17
  declare const enum Cursor$1 {
19
18
  DEFAULT = "default",
@@ -4096,9 +4095,9 @@ declare class PaperOptions extends Base$1 {
4096
4095
  getContentRect(r: Rectangle$1): Rectangle$1;
4097
4096
  getClientRect(page: ReportPage): Rectangle$1;
4098
4097
  applyExtents(page: ReportPage, css: CSSStyleDeclaration): void;
4099
- applyPreviewExtents(page: ReportPage, css: CSSStyleDeclaration): {
4100
- width: string;
4101
- height: string;
4098
+ applyPreviewExtents(page: ReportPage, css: CSSStyleDeclaration, paperOrientation: PaperOrientation): {
4099
+ pageWidth: number;
4100
+ pageHeight: number;
4102
4101
  };
4103
4102
  applyClient(page: ReportPage, css: CSSStyleDeclaration): void;
4104
4103
  applyPreviewClient(page: ReportPage, css: CSSStyleDeclaration): {
@@ -7108,6 +7107,8 @@ declare class PrintContainer extends VisualContainer$1 {
7108
7107
  private $_getContainer;
7109
7108
  private $_getPreviewer;
7110
7109
  private $_getPageHeight;
7110
+ private $_getPrintBack;
7111
+ private $_removeBackContainer;
7111
7112
  private $_resetPreviewer;
7112
7113
  private $_buildOutput;
7113
7114
  private $_setFrontBackLayer;
@@ -7131,7 +7132,7 @@ interface PdfFont {
7131
7132
  style?: 'normal' | 'italic';
7132
7133
  weight?: 'normal' | 'bold';
7133
7134
  }
7134
- interface IPdfPermissions {
7135
+ interface PdfPermissions {
7135
7136
  printing?: 'lowResolution' | 'highResolution';
7136
7137
  modifying?: boolean;
7137
7138
  copying?: boolean;
@@ -7160,11 +7161,6 @@ interface ImageExportOptions {
7160
7161
  tiff?: ITiffOptions;
7161
7162
  }
7162
7163
 
7163
- interface DocExportOptions {
7164
- type: 'hwp' | 'docx' | 'pptx';
7165
- fileName?: string;
7166
- }
7167
-
7168
7164
  /**
7169
7165
  * 데이터 필드의 데이터 자료형
7170
7166
  *
@@ -41047,6 +41043,10 @@ declare type ErrorParams = {
41047
41043
  msg?: string;
41048
41044
  };
41049
41045
 
41046
+ interface DocExportOptions {
41047
+ type: string;
41048
+ filename?: string;
41049
+ }
41050
41050
  /**
41051
41051
  * ReportViewer base class
41052
41052
  */
@@ -41060,7 +41060,7 @@ declare abstract class ReportViewBase {
41060
41060
  abstract preview(options: PreviewOptions): void;
41061
41061
  abstract exportPdf(options: PDFExportOptions): Promise<void>;
41062
41062
  abstract exportImage(imageOptions: ImageExportOptions): void;
41063
- abstract exportDocument(documentOptions: DocExportOptions): void;
41063
+ abstract exportDocument(options: DocExportOptions): void;
41064
41064
  /**
41065
41065
  * 컨테이너의 상태를 체크하기 위한 조건과 조건에 맞을 경우의 에러 처리코드를 넘겨 줍니다.
41066
41066
  * checker.is 가 true이면 errorParams로 error() 를 실행 합니다.
@@ -41121,12 +41121,12 @@ declare class ReportViewer extends ReportViewBase {
41121
41121
  * 이미지 내보내기 함수
41122
41122
  * @param imageOptions
41123
41123
  */
41124
- exportImage(imageOptions?: ImageExportOptions): void;
41124
+ exportImage(imageOptions: ImageExportOptions): Promise<void>;
41125
41125
  /**
41126
41126
  * 문서 내보내기 함수
41127
- * @param documentOptions
41127
+ * @param options
41128
41128
  */
41129
- exportDocument(documentOptions?: DocExportOptions): void;
41129
+ exportDocument(options?: DocExportOptions): Promise<void>;
41130
41130
  private _checkReport;
41131
41131
  }
41132
41132
 
@@ -41191,7 +41191,7 @@ declare class GridReportViewer extends ReportViewer {
41191
41191
  */
41192
41192
  private _addGridTable;
41193
41193
  private _prepare;
41194
- exportImage(imageOptions?: ImageExportOptions): void;
41194
+ exportImage(imageOptions?: ImageExportOptions): Promise<void>;
41195
41195
  }
41196
41196
 
41197
41197
  /**
@@ -41209,7 +41209,7 @@ declare class ReportCompositeViewer extends ReportViewBase {
41209
41209
  preview(options?: PreviewOptions): void;
41210
41210
  exportPdf(options: PDFExportOptions): Promise<void>;
41211
41211
  exportImage(imageOptions: ImageExportOptions): void;
41212
- exportDocument(documentOptions: DocExportOptions): void;
41212
+ exportDocument(options: DocExportOptions): void;
41213
41213
  private _checkReportFormSet;
41214
41214
  }
41215
41215
 
@@ -41310,7 +41310,7 @@ declare type PDFExportOptions = {
41310
41310
  /**
41311
41311
  * 권한에 따른 기능을 제한 할 수 있습니다.
41312
41312
  */
41313
- permissions: IPdfPermissions;
41313
+ permissions: PdfPermissions;
41314
41314
  pdfVersion: '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
41315
41315
  };
41316
41316