realreport 1.11.2 → 1.11.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.
@@ -1,21 +1,32 @@
1
1
  /*
2
- RealReport v1.11.2
2
+ RealReport v1.11.4
3
3
  Copyright (C) 2013-2025 WooriTech Inc.
4
4
  All Rights Reserved.
5
5
  */
6
- @charset "UTF-8"; .rr-report-root {
6
+ @charset "UTF-8";
7
+ sup {
8
+ vertical-align: super;
9
+ }
10
+
11
+ sub {
12
+ vertical-align: sub;
13
+ }
14
+
15
+ sub, sup {
16
+ font-size: smaller;
17
+ top: 0;
18
+ line-height: normal;
19
+ }
20
+
21
+ .rr-report-root {
7
22
  font-family: "Malgun Gothic", "맑은 고딕", AppleSDGothicNeo-Light, sans-serif;
8
23
  font-size: 13px;
9
24
  line-height: normal;
10
25
  color: #000000;
11
26
  -webkit-appearance: none;
12
27
  outline: none;
13
- -webkit-touch-callout: none;
14
- -webkit-user-select: none;
15
- -moz-user-select: none;
16
- -ms-user-select: none;
17
- user-select: none;
18
28
  -ms-touch-action: none;
29
+ -webkit-touch-callout: none;
19
30
  -webkit-print-color-adjust: exact;
20
31
  }
21
32
 
@@ -1710,12 +1721,12 @@ border-bottom: 1px solid #ccc; */
1710
1721
  display: flex;
1711
1722
  align-items: center;
1712
1723
  stroke-width: 1.5px;
1713
- stroke: var(--light-theme-icon-color);
1724
+ stroke: #f3f3f3;
1714
1725
  cursor: pointer;
1715
1726
  }
1716
1727
 
1717
- .rr-border-direction-icons-container:hover {
1718
- background: var(--rrd-light-theme-primary-color-4);
1728
+ .rr-border-direction-icons-container:hover>svg {
1729
+ opacity: 0.8;
1719
1730
  }
1720
1731
 
1721
1732
  @keyframes fade-out {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="pdfkit" />
2
2
  /**
3
- * RealReport v1.11.2
4
- * commit 092724d
3
+ * RealReport v1.11.4
4
+ * commit 6ba169b
5
5
 
6
6
  * {@link https://real-report.com}
7
7
  * Copyright (C) 2013-2025 WooriTech Inc.
@@ -11,10 +11,10 @@
11
11
  import { Cvfo, Style } from 'exceljs';
12
12
 
13
13
  /**
14
- * RealReport Core v1.11.2
14
+ * RealReport Core v1.11.4
15
15
  * Copyright (C) 2013-2025 WooriTech Inc.
16
16
  * All Rights Reserved.
17
- * commit 2452e52b87d234824f030dc50f4967a3d573573b
17
+ * commit 189f6588c79cc8beed517aec55c35bc1dc21851b
18
18
  */
19
19
 
20
20
 
@@ -8107,6 +8107,7 @@ interface IPreviewOptions {
8107
8107
  paging?: boolean;
8108
8108
  language?: string;
8109
8109
  editable?: boolean;
8110
+ textSelectable?: boolean;
8110
8111
  callback?: PrintPageCallback;
8111
8112
  endCallback?: PrintEndCallback;
8112
8113
  signCallback?: SignCallback;
@@ -14975,6 +14976,10 @@ declare class PrintContainer extends PrintContainerBase {
14975
14976
  private $_replacePages;
14976
14977
  private $_refreshHtmlItemValue;
14977
14978
  private $_printReport;
14979
+ /**
14980
+ * 페이지 구분없이 출력
14981
+ * - 이메일은 무조건 페이지 구분없이 출력한다.
14982
+ */
14978
14983
  private $_printPageless;
14979
14984
  private $_getPageHeight;
14980
14985
  private $_getPrintBack;
@@ -15156,6 +15161,41 @@ declare class Email extends Report {
15156
15161
  protected _createPage(): ReportPage;
15157
15162
  }
15158
15163
 
15164
+ declare class ExcelPrintContainer extends PrintContainerBase {
15165
+ private _context;
15166
+ private _indicator;
15167
+ private _printView;
15168
+ private _reportView;
15169
+ private _reportViews;
15170
+ private _contexts;
15171
+ private _pages;
15172
+ private _pageToGo?;
15173
+ private _cells;
15174
+ private _heights;
15175
+ get reportView(): ExcelReportView;
15176
+ get reportViews(): ExcelReportView[];
15177
+ get printView(): SheetPrintView;
15178
+ get context(): ExcelPrintContext;
15179
+ print(options: IPrintOptions): void;
15180
+ printSingle(options: IPrintOptions): void;
15181
+ printAll(options: IPrintOptions): void;
15182
+ get isPrinted(): boolean;
15183
+ /** pageCount */
15184
+ get pageCount(): number;
15185
+ /** page */
15186
+ get page(): number;
15187
+ set page(value: number);
15188
+ get pages(): PrintPage[];
15189
+ fitToWidth(): void;
15190
+ fitToHeight(): void;
15191
+ fitToPage(): void;
15192
+ getCurrentPage(scrollHeight: number, scrollTop: number): number;
15193
+ loadAsyncLoadableElements(): Promise<void>;
15194
+ protected _doPrepareContainer(doc: Document, dom: HTMLElement): void;
15195
+ private $_printReport;
15196
+ private $_getPageHeight;
15197
+ }
15198
+
15159
15199
  /**
15160
15200
  * 데이터 필드의 데이터 자료형
15161
15201
  *
@@ -49044,7 +49084,7 @@ type ErrorParams = {
49044
49084
  declare abstract class ReportViewBase {
49045
49085
  protected _options: ReportOptions;
49046
49086
  protected _cm: boolean;
49047
- protected _container: PrintContainer | undefined;
49087
+ protected _container: PrintContainer | ExcelPrintContainer | undefined;
49048
49088
  protected _currentPage: number;
49049
49089
  protected _containerId: string;
49050
49090
  constructor(container: string | HTMLDivElement, options?: ReportOptions);
@@ -49064,6 +49104,7 @@ declare abstract class ReportViewBase {
49064
49104
  errorParams: ErrorParams;
49065
49105
  }[]): void;
49066
49106
  protected _checkPrintContainerZoom(): void;
49107
+ protected _createContainer(container: string | HTMLDivElement): PrintContainer | ExcelPrintContainer;
49067
49108
  get containerId(): string;
49068
49109
  set containerId(container: string | HTMLDivElement);
49069
49110
  get version(): string;
@@ -49097,16 +49138,17 @@ declare abstract class ReportViewBase {
49097
49138
  declare class ReportViewer extends ReportViewBase {
49098
49139
  private _reportForm?;
49099
49140
  private _dataSet?;
49100
- protected _report: Report | Email;
49141
+ protected _report: ExcelReport | Email | Report;
49101
49142
  private _reportDataProvider;
49102
49143
  private _isPaging;
49103
49144
  private _reportViewPrinter;
49104
49145
  private _reportViewExporter;
49105
49146
  constructor(container: string | HTMLDivElement, reportForm?: ReportForm, dataSet?: ReportDataSet, options?: ReportOptions);
49106
49147
  protected _setReportForm(data: ReportForm | ReportForm[]): void;
49148
+ protected _createContainer(container: string | HTMLDivElement): PrintContainer | ExcelPrintContainer;
49107
49149
  get reportForm(): ReportForm;
49108
49150
  set reportForm(form: ReportForm);
49109
- get report(): Report | Email;
49151
+ get report(): ExcelReport | Email | Report;
49110
49152
  get dataSet(): ReportDataSet;
49111
49153
  set dataSet(v: ReportDataSet);
49112
49154
  get isPaging(): boolean;
@@ -49160,6 +49202,15 @@ declare class ReportViewer extends ReportViewBase {
49160
49202
  * API 링크가 있는 데이터는 받아온 후에 사용자가 넘겨준 데이터에서 교체한다.
49161
49203
  */
49162
49204
  private $_prepareLinkData;
49205
+ /**
49206
+ * Report(일반 리포트, 이메일 리포트) 타입인지 시트리포트 타입인지를 확인합니다.
49207
+ */
49208
+ private $_isReport;
49209
+ /**
49210
+ * 현재 리포트가 문서(pptx, hwp, docs)를 지원하는지 여부를 결정합니다.
49211
+ */
49212
+ private $_hasSupportDocument;
49213
+ private $_changeContainer;
49163
49214
  }
49164
49215
 
49165
49216
  /** REPORT CORE */
@@ -49339,6 +49390,19 @@ type PreviewOptions = {
49339
49390
  * @defaultValue `true`
49340
49391
  */
49341
49392
  paging?: boolean;
49393
+ /**
49394
+ * 미리보기가 시작될때 호출되는 콜백함수
49395
+ */
49396
+ callback?: PrintPageCallback;
49397
+ /**
49398
+ * 미리보기 끝날때 호출되는 콜백함수
49399
+ */
49400
+ endCallback?: PrintEndCallback;
49401
+ /**
49402
+ * 미리보기에서 텍스트 선택 가능 여부를 설정합니다.
49403
+ * @defaultValue false
49404
+ */
49405
+ textSelectable?: boolean;
49342
49406
  /**
49343
49407
  * 리포트를 한장에 여백없이 출력하는 옵션
49344
49408
  * @defaultValue `false`
@@ -49349,14 +49413,6 @@ type PreviewOptions = {
49349
49413
  * @defaultValue `{ border: true }`
49350
49414
  */
49351
49415
  singlePageOptions?: ISinglePageOptions;
49352
- /**
49353
- * 미리보기가 시작될때 호출되는 콜백함수
49354
- */
49355
- callback?: PrintPageCallback;
49356
- /**
49357
- * 미리보기 끝날때 호출되는 콜백함수
49358
- */
49359
- endCallback?: PrintEndCallback;
49360
49416
  };
49361
49417
  /**
49362
49418
  * 리포트 출력 옵션