realreport 1.3.1 → 1.3.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 CHANGED
@@ -1,15 +1,8 @@
1
1
  # RealReport
2
2
 
3
3
  [RealReport](https://real-report.com)는 Javascript 리포팅 라이브러리입니다.
4
- e
5
- RealReport 사용하려면 반드시 제품 [라이선스](https://real-report.com/license)가 필요합니다. 라이선스를 발급 받고 제품을 다운로드하는 더 자세한 방법은 [라이선스 발급](https://real-report.com/license) 페이지를 참조하세요.
6
-
7
- ## 배포
8
-
9
- ### examples 배포 구조
10
-
11
- <img width="871" alt="image" src="https://user-images.githubusercontent.com/6207238/181147115-33cc9432-2770-4514-9def-92e6d09390f6.png">
12
4
 
5
+ RealReport 사용하려면 반드시 제품 [라이선스](https://real-report.com/license)가 필요합니다. 라이선스를 발급 받고 제품을 다운로드하는 더 자세한 방법은 [라이선스 발급](https://real-report.com/license) 페이지를 참조하세요.
13
6
 
14
7
  ## JavaScript 설치
15
8
 
package/dist/README.md CHANGED
@@ -1,15 +1,8 @@
1
1
  # RealReport
2
2
 
3
3
  [RealReport](https://real-report.com)는 Javascript 리포팅 라이브러리입니다.
4
- e
5
- RealReport 사용하려면 반드시 제품 [라이선스](https://real-report.com/license)가 필요합니다. 라이선스를 발급 받고 제품을 다운로드하는 더 자세한 방법은 [라이선스 발급](https://real-report.com/license) 페이지를 참조하세요.
6
-
7
- ## 배포
8
-
9
- ### examples 배포 구조
10
-
11
- <img width="871" alt="image" src="https://user-images.githubusercontent.com/6207238/181147115-33cc9432-2770-4514-9def-92e6d09390f6.png">
12
4
 
5
+ RealReport 사용하려면 반드시 제품 [라이선스](https://real-report.com/license)가 필요합니다. 라이선스를 발급 받고 제품을 다운로드하는 더 자세한 방법은 [라이선스 발급](https://real-report.com/license) 페이지를 참조하세요.
13
6
 
14
7
  ## JavaScript 설치
15
8
 
@@ -327,6 +327,9 @@
327
327
  margin: 0;
328
328
  }
329
329
  @media print {
330
+ .rr-report-preview {
331
+ padding: 0 !important;
332
+ }
330
333
  .rr-page-break {
331
334
  page-break-after: always;
332
335
  page-break-inside: avoid;
@@ -1,13 +1,21 @@
1
1
  /// <reference types="node" />
2
2
  /**
3
- * RealReport v1.3.1
4
- * commit a5ee7dd
3
+ * RealReport v1.3.3
4
+ * commit f0a96e5
5
5
 
6
6
  * Copyright (C) 2013-2022 WooriTech Inc.
7
7
  https://real-report.com
8
8
  * All Rights Reserved.
9
9
  */
10
10
 
11
+ /**
12
+ * RealReport Core v1.3.3
13
+ * Copyright (C) 2013-2022 WooriTech Inc.
14
+ * All Rights Reserved.
15
+ * commit 35685972bfc1eb0941f061468aac79f778427c39
16
+ */
17
+
18
+
11
19
  declare const enum Cursor$1 {
12
20
  DEFAULT = "default",
13
21
  AUTO = "auto",
@@ -5105,7 +5113,7 @@ declare abstract class ReportItem extends ReportPageItem {
5105
5113
  * 리포트에 지정된 data의 특정 값(들)을 지시하는 경로.
5106
5114
  * "::" 앞쪽에서 설정된 data 이름이 없는 경우,
5107
5115
  * 자신으로 시작해서 Report까지 가장 가까운 곳(dataParent)에 설정된 data에서 값을 가져온다.
5108
- * '${page}', '${pages}', '${date}' 등으로 print context 값을 지정할 수도 있다.
5116
+ * '${page}', '%{page}', '${pages}', '%{pages}', '${date}', '%{date}' 등으로 print context 값을 지정할 수도 있다.
5109
5117
  */
5110
5118
  get value(): string;
5111
5119
  set value(value: string);
@@ -6021,7 +6029,9 @@ declare class PageView extends LayerElement$1 {
6021
6029
  findElementOf(dom: HTMLElement): ReportElement;
6022
6030
  getElementOf(model: ReportPageItem): ReportElement;
6023
6031
  getAllElements(root: ReportElement, bounds: Rectangle$1): ReportItemView[];
6024
- print(doc: Document, ctx: PrintContext, y: number): PrintPage[];
6032
+ preparePrint(doc: Document, ctx: PrintContext): PageBodyOutput;
6033
+ print(ctx: PrintContext, pagebodyOutput: PageBodyOutput, currentPrintedPageCount?: number): PrintPage[];
6034
+ refreshPageHeader(doc: Document, ctx: PrintContext): HTMLDivElement;
6025
6035
  getSections(): ReportElement[];
6026
6036
  /**
6027
6037
  * 페이지의 한 행을 전부 차지하는가?
@@ -6127,6 +6137,7 @@ declare class ReportView extends LayerElement$1 implements IImageContainer {
6127
6137
  */
6128
6138
  declare class PrintContext extends Base$1 {
6129
6139
  private _printing;
6140
+ private _compositePrinting;
6130
6141
  private _dp;
6131
6142
  private _desingDp;
6132
6143
  private _assets;
@@ -6138,6 +6149,8 @@ declare class PrintContext extends Base$1 {
6138
6149
  private _page;
6139
6150
  private _detailPageCount;
6140
6151
  private _detailPage;
6152
+ private _compositePageCount;
6153
+ private _compositePage;
6141
6154
  detailRows: number[];
6142
6155
  noValueCallback: boolean;
6143
6156
  report: Report;
@@ -6160,11 +6173,15 @@ declare class PrintContext extends Base$1 {
6160
6173
  private _userData;
6161
6174
  private _tags;
6162
6175
  private _bandSave;
6163
- constructor(printing?: boolean);
6176
+ constructor(printing?: boolean, compositePrinting?: boolean);
6164
6177
  /**
6165
6178
  * printing
6166
6179
  */
6167
6180
  get printing(): boolean;
6181
+ /**
6182
+ * compositePrinting 복합 출력 여부를 반환
6183
+ */
6184
+ get compositePrinting(): boolean;
6168
6185
  /**
6169
6186
  * data provider
6170
6187
  */
@@ -6215,10 +6232,20 @@ declare class PrintContext extends Base$1 {
6215
6232
  * detail page index.
6216
6233
  */
6217
6234
  get detailPage(): number;
6235
+ /**
6236
+ * compositePage count.
6237
+ */
6238
+ get compositePageCount(): number;
6239
+ /**
6240
+ * compositePage index.
6241
+ */
6242
+ get compositePage(): number;
6218
6243
  preparePrint(report?: Report): void;
6219
6244
  preparePage(page: number): void;
6220
6245
  setDetailPage(count: number, page: number): void;
6221
6246
  finishPrint(pageCount: number): void;
6247
+ setCompositePage(printedPageCount?: number): void;
6248
+ setCompositePageCount(compostePageCount: number): void;
6222
6249
  getUserData(): any;
6223
6250
  getCurrentValue(prop: string): any;
6224
6251
  setTag(tag: string, value: any): void;
@@ -40389,12 +40416,15 @@ declare abstract class ReportViewBase {
40389
40416
  protected _cm: boolean;
40390
40417
  protected _container: PrintContainer | undefined;
40391
40418
  protected _currentPage: number;
40419
+ protected _containerId: string;
40392
40420
  constructor(container: string | HTMLDivElement, options?: ReportOptions);
40393
40421
  abstract preview(): void;
40394
40422
  abstract exportPdf(fonts: PdfFont[]): void;
40395
40423
  abstract exportImage(imageOptions: ImageExportOptions): void;
40396
40424
  abstract exportDocument(documentOptions: DocExportOptions): void;
40397
40425
  protected _checkPrintContainer(): void;
40426
+ get containerId(): string;
40427
+ set containerId(container: string | HTMLDivElement);
40398
40428
  get version(): string;
40399
40429
  get zoom(): number;
40400
40430
  set zoom(v: number);