realreport 1.11.5 → 1.11.6
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/dist/realreport.css +1 -1
- package/dist/realreport.d.ts +131 -17
- package/dist/realreport.es.js +3 -3
- package/dist/realreport.js +3 -3
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.11.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.11.6
|
|
4
|
+
* commit b7afabd
|
|
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.
|
|
14
|
+
* RealReport Core v1.11.6
|
|
15
15
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
16
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
17
|
+
* commit 159f9d790b0cbdf13f762f0abe6014798b391299
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
|
@@ -10972,7 +10972,6 @@ declare abstract class TextItemElementBase<T extends TextItemBase> extends Repor
|
|
|
10972
10972
|
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
10973
10973
|
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
10974
10974
|
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size$1;
|
|
10975
|
-
protected _doAfterMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number, size: Size$1): void;
|
|
10976
10975
|
_doLayoutContent(ctx: PrintContext): void;
|
|
10977
10976
|
refreshPrintValues(ctx: PrintContext): void;
|
|
10978
10977
|
isDom(dom: HTMLElement): boolean;
|
|
@@ -14946,6 +14945,29 @@ interface IDropResult {
|
|
|
14946
14945
|
hintHeight?: number;
|
|
14947
14946
|
}
|
|
14948
14947
|
|
|
14948
|
+
/**
|
|
14949
|
+
* 출력 시 데이터를 제공한다.
|
|
14950
|
+
*/
|
|
14951
|
+
declare class ReportDataProvider extends Base$1 implements IReportDataProvider {
|
|
14952
|
+
private _dataMap;
|
|
14953
|
+
private _contextData;
|
|
14954
|
+
protected _doDispose(): void;
|
|
14955
|
+
preparePrint(ctx: PrintContext): void;
|
|
14956
|
+
getAll(): IReportData[];
|
|
14957
|
+
get(name: string): IReportData;
|
|
14958
|
+
getContextValue(path: string): any;
|
|
14959
|
+
/**
|
|
14960
|
+
* @param path data name + "." + data path
|
|
14961
|
+
*/
|
|
14962
|
+
getValue(path: string, row: number): any;
|
|
14963
|
+
getValueAt(data: string, path: string, row: number): any;
|
|
14964
|
+
getFieldValues(data: string, field: string, rows?: number[]): any[];
|
|
14965
|
+
clear(): ReportDataProvider;
|
|
14966
|
+
register(name: string, data: IReportData): ReportDataProvider;
|
|
14967
|
+
load(source: any, clear?: boolean): ReportDataProvider;
|
|
14968
|
+
remove(name: string): void;
|
|
14969
|
+
}
|
|
14970
|
+
|
|
14949
14971
|
type EditableItemValue = string | number | boolean;
|
|
14950
14972
|
interface EditableItem {
|
|
14951
14973
|
reportItemElement: ReportItemView;
|
|
@@ -49162,6 +49184,7 @@ declare abstract class ReportViewBase {
|
|
|
49162
49184
|
}[]): void;
|
|
49163
49185
|
protected _checkPrintContainerZoom(): void;
|
|
49164
49186
|
protected _createContainer(container: string | HTMLDivElement): PrintContainer | ExcelPrintContainer;
|
|
49187
|
+
protected _dispose(): void;
|
|
49165
49188
|
get containerId(): string;
|
|
49166
49189
|
set containerId(container: string | HTMLDivElement);
|
|
49167
49190
|
get version(): string;
|
|
@@ -49208,8 +49231,10 @@ declare class ReportViewer extends ReportViewBase {
|
|
|
49208
49231
|
get report(): ExcelReport | Email | Report;
|
|
49209
49232
|
get dataSet(): ReportDataSet;
|
|
49210
49233
|
set dataSet(v: ReportDataSet);
|
|
49234
|
+
get reportDataProvider(): ReportDataProvider;
|
|
49211
49235
|
get isPaging(): boolean;
|
|
49212
49236
|
get languages(): string[];
|
|
49237
|
+
dispose(): void;
|
|
49213
49238
|
/**
|
|
49214
49239
|
* container에 리포트를 preview로 렌더링 합니다.
|
|
49215
49240
|
*/
|
|
@@ -49272,20 +49297,20 @@ declare class ReportViewer extends ReportViewBase {
|
|
|
49272
49297
|
|
|
49273
49298
|
/** REPORT CORE */
|
|
49274
49299
|
|
|
49275
|
-
interface GridReportHeader {
|
|
49300
|
+
interface GridReportHeader$1 {
|
|
49276
49301
|
items: TextItem[];
|
|
49277
49302
|
}
|
|
49278
|
-
interface GridReportTitle extends TextItem {
|
|
49303
|
+
interface GridReportTitle$1 extends TextItem {
|
|
49279
49304
|
sample?: string;
|
|
49280
49305
|
}
|
|
49281
|
-
interface GridReportOptions extends ReportOptions {
|
|
49306
|
+
interface GridReportOptions$1 extends ReportOptions {
|
|
49282
49307
|
paper?: PaperOptions;
|
|
49283
|
-
title?: GridReportTitle;
|
|
49284
|
-
subTitle?: GridReportTitle;
|
|
49285
|
-
gridHeader?: GridReportHeader;
|
|
49308
|
+
title?: GridReportTitle$1;
|
|
49309
|
+
subTitle?: GridReportTitle$1;
|
|
49310
|
+
gridHeader?: GridReportHeader$1;
|
|
49286
49311
|
pageHeader?: PageHeader;
|
|
49287
49312
|
pageFooter?: PageFooter;
|
|
49288
|
-
layout
|
|
49313
|
+
layout?: GridReportLayout;
|
|
49289
49314
|
}
|
|
49290
49315
|
/**
|
|
49291
49316
|
* GridreportViewer
|
|
@@ -49294,8 +49319,12 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49294
49319
|
private _grid;
|
|
49295
49320
|
private _gridValues;
|
|
49296
49321
|
private _gridTable;
|
|
49297
|
-
protected _options: GridReportOptions;
|
|
49298
|
-
constructor(container: string | HTMLDivElement, grid: GridView, options?: GridReportOptions);
|
|
49322
|
+
protected _options: GridReportOptions$1;
|
|
49323
|
+
constructor(container: string | HTMLDivElement, grid: GridView, options?: GridReportOptions$1);
|
|
49324
|
+
/**
|
|
49325
|
+
* Row Indicator가 있는 경우 시작 컬럼 인덱스는 1
|
|
49326
|
+
*/
|
|
49327
|
+
get startColIdx(): number;
|
|
49299
49328
|
/**
|
|
49300
49329
|
* 컨테이너에 미리보기 랜더링
|
|
49301
49330
|
*/
|
|
@@ -49304,6 +49333,8 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49304
49333
|
* 출력 준비전 그리드 정보로 리포트 정보를 생성한다.
|
|
49305
49334
|
*/
|
|
49306
49335
|
print(options: PrintOptions): Promise<void>;
|
|
49336
|
+
saveReport(options?: GridReportSaveOptions): void;
|
|
49337
|
+
exportImage(imageOptions?: ImageExportOptions$1): Promise<void>;
|
|
49307
49338
|
/**
|
|
49308
49339
|
* 타이틀 또는 서브 타이틀 추가
|
|
49309
49340
|
* @param title GridReportTitle 객체
|
|
@@ -49336,7 +49367,16 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49336
49367
|
*/
|
|
49337
49368
|
private _addGridTable;
|
|
49338
49369
|
private _prepare;
|
|
49339
|
-
|
|
49370
|
+
/**
|
|
49371
|
+
* 강제로 그리드 뷰 렌더링
|
|
49372
|
+
* @param grid GridView
|
|
49373
|
+
*/
|
|
49374
|
+
private $_forceGridViewRender;
|
|
49375
|
+
private $_applyItemStyles;
|
|
49376
|
+
/**
|
|
49377
|
+
* 컬럼 이름을 기준으로 스타일을 적용한다.
|
|
49378
|
+
*/
|
|
49379
|
+
private $_applyColumnOptions;
|
|
49340
49380
|
}
|
|
49341
49381
|
|
|
49342
49382
|
/**
|
|
@@ -49369,6 +49409,7 @@ declare class ReportCompositeViewer extends ReportViewBase {
|
|
|
49369
49409
|
exportPdfBlob(options: PDFExportBlobOptions): Promise<Blob>;
|
|
49370
49410
|
exportImage(imageOptions: ImageExportOptions$1): void;
|
|
49371
49411
|
exportDocument(options: DocumentExportOptions): void;
|
|
49412
|
+
dispose(): void;
|
|
49372
49413
|
private _checkReportFormSet;
|
|
49373
49414
|
}
|
|
49374
49415
|
|
|
@@ -49384,17 +49425,90 @@ type ReportFormSet = {
|
|
|
49384
49425
|
};
|
|
49385
49426
|
type ReportFormSets = ReportFormSet[];
|
|
49386
49427
|
|
|
49428
|
+
type CommonStyleName = 'color' | 'backgroundColor' | 'fontSize' | 'fontWeight';
|
|
49429
|
+
/**
|
|
49430
|
+
* 그리드 리포트 그리드 헤더 영역 전체 스타일
|
|
49431
|
+
*/
|
|
49432
|
+
type HeaderStyleName = CommonStyleName;
|
|
49433
|
+
type HeaderStyles = {
|
|
49434
|
+
[key in HeaderStyleName]?: string | undefined;
|
|
49435
|
+
};
|
|
49387
49436
|
/**
|
|
49388
49437
|
* 컬럼 이름
|
|
49389
49438
|
*/
|
|
49390
49439
|
type ColumnName = string;
|
|
49440
|
+
/**
|
|
49441
|
+
* 컬럼 스타일 이름
|
|
49442
|
+
*/
|
|
49443
|
+
type ColumnStyleName = CommonStyleName;
|
|
49444
|
+
type ColumnStyles = {
|
|
49445
|
+
[key in ColumnStyleName]?: string | undefined;
|
|
49446
|
+
};
|
|
49391
49447
|
/**
|
|
49392
49448
|
* 그리드 리포트 레이아웃 정보
|
|
49393
49449
|
*/
|
|
49394
49450
|
type GridReportLayout = {
|
|
49451
|
+
/**
|
|
49452
|
+
* 보고서 생성시 제외할 그리드의 컬럼이름
|
|
49453
|
+
*/
|
|
49395
49454
|
exclude?: ColumnName[];
|
|
49396
|
-
|
|
49455
|
+
/**
|
|
49456
|
+
* 그리드의 너비에 맞게 리포트의 컬럼 너비를 자동 조정
|
|
49457
|
+
*/
|
|
49458
|
+
autoWidth?: boolean;
|
|
49459
|
+
/**
|
|
49460
|
+
* 데이터 행의 최소 높이
|
|
49461
|
+
*/
|
|
49462
|
+
minRowHeight?: number;
|
|
49463
|
+
/**
|
|
49464
|
+
* 그리드 리포트 헤더 영역 전체 설정
|
|
49465
|
+
*/
|
|
49466
|
+
header?: GridReportLayoutHeader;
|
|
49467
|
+
/**
|
|
49468
|
+
* 로우 인디케이터 영역 설정
|
|
49469
|
+
*/
|
|
49470
|
+
rowIndicator?: {
|
|
49471
|
+
visible: boolean;
|
|
49472
|
+
header?: {
|
|
49473
|
+
styles?: HeaderStyles;
|
|
49474
|
+
};
|
|
49475
|
+
styles?: ColumnStyles;
|
|
49476
|
+
};
|
|
49477
|
+
/**
|
|
49478
|
+
* 각 컬럼 레이아웃에 대한 설정
|
|
49479
|
+
*/
|
|
49480
|
+
columns?: {
|
|
49481
|
+
name: string;
|
|
49482
|
+
header?: {
|
|
49483
|
+
styles?: HeaderStyles;
|
|
49484
|
+
};
|
|
49485
|
+
styles: ColumnStyles;
|
|
49486
|
+
}[];
|
|
49397
49487
|
};
|
|
49488
|
+
/**
|
|
49489
|
+
* 그리드 리포트 헤더 레이아웃 정보
|
|
49490
|
+
*/
|
|
49491
|
+
interface GridReportLayoutHeader {
|
|
49492
|
+
styles: HeaderStyles;
|
|
49493
|
+
}
|
|
49494
|
+
interface GridReportOptions extends ReportOptions {
|
|
49495
|
+
paper?: PaperOptions;
|
|
49496
|
+
title?: GridReportTitle;
|
|
49497
|
+
subTitle?: GridReportTitle;
|
|
49498
|
+
gridHeader?: GridReportHeader;
|
|
49499
|
+
pageHeader?: PageHeader;
|
|
49500
|
+
pageFooter?: PageFooter;
|
|
49501
|
+
layout?: GridReportLayout;
|
|
49502
|
+
}
|
|
49503
|
+
interface GridReportHeader {
|
|
49504
|
+
items: TextItem[];
|
|
49505
|
+
}
|
|
49506
|
+
interface GridReportTitle extends TextItem {
|
|
49507
|
+
sample?: string;
|
|
49508
|
+
}
|
|
49509
|
+
interface GridReportSaveOptions {
|
|
49510
|
+
fileName?: string;
|
|
49511
|
+
}
|
|
49398
49512
|
type GridReportItemSource = {
|
|
49399
49513
|
type: string;
|
|
49400
49514
|
value: string;
|
|
@@ -49557,4 +49671,4 @@ declare const IMG_EXPORT_DEFAULT_OPTIONS: ImageExportOptions;
|
|
|
49557
49671
|
*/
|
|
49558
49672
|
declare const ZOOM_ERROR_MESSAGE = "\uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778 \uACBD\uC6B0\uB9CC \uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778\uC9C0 \uD655\uC778\uD574 \uC8FC\uC138\uC694.";
|
|
49559
49673
|
|
|
49560
|
-
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, GridReportItemSource, GridReportLayout, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE };
|
|
49674
|
+
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE };
|