realreport 1.11.24 → 1.11.26
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 +136 -44
- 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,24 +1,18 @@
|
|
|
1
|
-
/// <reference types="pdfkit" />
|
|
2
1
|
/**
|
|
3
|
-
* RealReport v1.11.
|
|
4
|
-
* commit
|
|
2
|
+
* RealReport v1.11.26
|
|
3
|
+
* commit 83d7e40
|
|
5
4
|
|
|
6
5
|
* {@link https://real-report.com}
|
|
7
6
|
* Copyright (C) 2013-2026 WooriTech Inc.
|
|
8
7
|
* All Rights Reserved.
|
|
9
8
|
*/
|
|
10
9
|
|
|
11
|
-
import { Cvfo, Style } from 'exceljs';
|
|
12
|
-
import { ExportOptions as ExportOptions$1 } from '@realgrid/realchart';
|
|
13
|
-
|
|
14
10
|
/**
|
|
15
|
-
* RealReport Core v1.11.
|
|
11
|
+
* RealReport Core v1.11.26
|
|
16
12
|
* Copyright (C) 2013-2026 WooriTech Inc.
|
|
17
13
|
* All Rights Reserved.
|
|
18
|
-
* commit
|
|
14
|
+
* commit 938d41985d8f9627ef7aaa32af4451cae881d333
|
|
19
15
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
16
|
type ConfigObject$2 = {
|
|
23
17
|
[key: string]: any;
|
|
24
18
|
};
|
|
@@ -4242,7 +4236,7 @@ declare abstract class ChartObject$1<T extends ChartItem, C = unknown> extends R
|
|
|
4242
4236
|
private _chart;
|
|
4243
4237
|
private _styles;
|
|
4244
4238
|
constructor(chart: T);
|
|
4245
|
-
get outlineParent(): IOutlineSource
|
|
4239
|
+
get outlineParent(): IOutlineSource;
|
|
4246
4240
|
get outlineExpandable(): boolean;
|
|
4247
4241
|
get outlineLabel(): string;
|
|
4248
4242
|
getSaveType(): string;
|
|
@@ -5737,7 +5731,7 @@ declare abstract class ReportItemObject<T extends ReportItem> extends ReportPage
|
|
|
5737
5731
|
private _item;
|
|
5738
5732
|
private _styles;
|
|
5739
5733
|
constructor(item: T);
|
|
5740
|
-
get outlineParent(): IOutlineSource
|
|
5734
|
+
get outlineParent(): IOutlineSource;
|
|
5741
5735
|
get outlineExpandable(): boolean;
|
|
5742
5736
|
get outlineLabel(): string;
|
|
5743
5737
|
getSaveType(): string;
|
|
@@ -6899,6 +6893,114 @@ declare abstract class ExcelDataBandRowGroupSection extends ExcelDataBandSection
|
|
|
6899
6893
|
write(ctx: ExcelPrintContext, group: IBandRowGroup): IExcelCell[];
|
|
6900
6894
|
}
|
|
6901
6895
|
|
|
6896
|
+
/**
|
|
6897
|
+
* exceljs 타입을 따로 선언해서 사용
|
|
6898
|
+
* 사용자 환경의 skipLipCheck 설정 때문
|
|
6899
|
+
*/
|
|
6900
|
+
type CfvoTypes = 'percentile' | 'percent' | 'num' | 'min' | 'max' | 'formula' | 'autoMin' | 'autoMax';
|
|
6901
|
+
interface Cvfo {
|
|
6902
|
+
type: CfvoTypes;
|
|
6903
|
+
value?: number;
|
|
6904
|
+
}
|
|
6905
|
+
interface Style {
|
|
6906
|
+
numFmt: string;
|
|
6907
|
+
font: Partial<Font>;
|
|
6908
|
+
alignment: Partial<Alignment>;
|
|
6909
|
+
protection: Partial<Protection>;
|
|
6910
|
+
border: Partial<Borders>;
|
|
6911
|
+
fill: Fill;
|
|
6912
|
+
}
|
|
6913
|
+
type Fill = FillPattern | FillGradientAngle | FillGradientPath;
|
|
6914
|
+
type FillPatterns = 'none' | 'solid' | 'darkVertical' | 'darkHorizontal' | 'darkGrid' | 'darkTrellis' | 'darkDown' | 'darkUp' | 'lightVertical' | 'lightHorizontal' | 'lightGrid' | 'lightTrellis' | 'lightDown' | 'lightUp' | 'darkGray' | 'mediumGray' | 'lightGray' | 'gray125' | 'gray0625';
|
|
6915
|
+
interface FillPattern {
|
|
6916
|
+
type: 'pattern';
|
|
6917
|
+
pattern: FillPatterns;
|
|
6918
|
+
fgColor?: Partial<Color>;
|
|
6919
|
+
bgColor?: Partial<Color>;
|
|
6920
|
+
}
|
|
6921
|
+
interface GradientStop {
|
|
6922
|
+
position: number;
|
|
6923
|
+
color: Partial<Color>;
|
|
6924
|
+
}
|
|
6925
|
+
interface FillGradientAngle {
|
|
6926
|
+
type: 'gradient';
|
|
6927
|
+
gradient: 'angle';
|
|
6928
|
+
/**
|
|
6929
|
+
* For 'angle' gradient, specifies the direction of the gradient. 0 is from the left to the right.
|
|
6930
|
+
* Values from 1 - 359 rotates the direction clockwise
|
|
6931
|
+
*/
|
|
6932
|
+
degree: number;
|
|
6933
|
+
/**
|
|
6934
|
+
* Specifies the gradient colour sequence. Is an array of objects containing position and
|
|
6935
|
+
* color starting with position 0 and ending with position 1.
|
|
6936
|
+
* Intermediary positions may be used to specify other colours on the path.
|
|
6937
|
+
*/
|
|
6938
|
+
stops: GradientStop[];
|
|
6939
|
+
}
|
|
6940
|
+
interface FillGradientPath {
|
|
6941
|
+
type: 'gradient';
|
|
6942
|
+
gradient: 'path';
|
|
6943
|
+
path: string;
|
|
6944
|
+
center: {
|
|
6945
|
+
left: number;
|
|
6946
|
+
top: number;
|
|
6947
|
+
};
|
|
6948
|
+
stops: GradientStop[];
|
|
6949
|
+
}
|
|
6950
|
+
interface Font {
|
|
6951
|
+
name: string;
|
|
6952
|
+
size: number;
|
|
6953
|
+
family: number;
|
|
6954
|
+
scheme: 'minor' | 'major' | 'none';
|
|
6955
|
+
charset: number;
|
|
6956
|
+
color: Partial<Color>;
|
|
6957
|
+
bold: boolean;
|
|
6958
|
+
italic: boolean;
|
|
6959
|
+
underline: boolean | 'none' | 'single' | 'double' | 'singleAccounting' | 'doubleAccounting';
|
|
6960
|
+
vertAlign: 'superscript' | 'subscript';
|
|
6961
|
+
strike: boolean;
|
|
6962
|
+
outline: boolean;
|
|
6963
|
+
}
|
|
6964
|
+
interface Color {
|
|
6965
|
+
/**
|
|
6966
|
+
* Hex string for alpha-red-green-blue e.g. FF00FF00
|
|
6967
|
+
*/
|
|
6968
|
+
argb: string;
|
|
6969
|
+
/**
|
|
6970
|
+
* Choose a theme by index
|
|
6971
|
+
*/
|
|
6972
|
+
theme: number;
|
|
6973
|
+
}
|
|
6974
|
+
interface Alignment {
|
|
6975
|
+
horizontal: 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';
|
|
6976
|
+
vertical: 'top' | 'middle' | 'bottom' | 'distributed' | 'justify';
|
|
6977
|
+
wrapText: boolean;
|
|
6978
|
+
shrinkToFit: boolean;
|
|
6979
|
+
indent: number;
|
|
6980
|
+
readingOrder: 'rtl' | 'ltr';
|
|
6981
|
+
textRotation: number | 'vertical';
|
|
6982
|
+
}
|
|
6983
|
+
interface Protection {
|
|
6984
|
+
locked: boolean;
|
|
6985
|
+
hidden: boolean;
|
|
6986
|
+
}
|
|
6987
|
+
interface BorderDiagonal extends Border {
|
|
6988
|
+
up: boolean;
|
|
6989
|
+
down: boolean;
|
|
6990
|
+
}
|
|
6991
|
+
interface Borders {
|
|
6992
|
+
top: Partial<Border>;
|
|
6993
|
+
left: Partial<Border>;
|
|
6994
|
+
bottom: Partial<Border>;
|
|
6995
|
+
right: Partial<Border>;
|
|
6996
|
+
diagonal: Partial<BorderDiagonal>;
|
|
6997
|
+
}
|
|
6998
|
+
interface Border {
|
|
6999
|
+
style: BorderStyle;
|
|
7000
|
+
color: Partial<Color>;
|
|
7001
|
+
}
|
|
7002
|
+
type BorderStyle = 'thin' | 'dotted' | 'hair' | 'medium' | 'double' | 'thick' | 'dashed' | 'dashDot' | 'dashDotDot' | 'slantDashDot' | 'mediumDashed' | 'mediumDashDotDot' | 'mediumDashDot';
|
|
7003
|
+
|
|
6902
7004
|
interface IExcelDataBar {
|
|
6903
7005
|
color: string;
|
|
6904
7006
|
width: string;
|
|
@@ -9440,15 +9542,15 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
|
|
|
9440
9542
|
prevGroupPageBreak: PageBreakMode;
|
|
9441
9543
|
/** paragraphFlow 모드 상태 */
|
|
9442
9544
|
paragraphFlowState: {
|
|
9443
|
-
/** 현재 처리 중인
|
|
9444
|
-
|
|
9545
|
+
/** 현재 처리 중인 row의 텍스트 라인들 [컬럼인덱스][라인인덱스] */
|
|
9546
|
+
currentRowColumnTextLines: {
|
|
9445
9547
|
r: IRect;
|
|
9446
9548
|
line: string;
|
|
9447
9549
|
}[][];
|
|
9448
9550
|
/** 현재 처리 중인 DataRow 내 행 인덱스 (Row Count가 2이상인 경우) */
|
|
9449
9551
|
rowIndex: number;
|
|
9450
|
-
/** 모든
|
|
9451
|
-
|
|
9552
|
+
/** 모든 row의 텍스트 라인들 [행인덱스][컬럼인덱스][라인인덱스] */
|
|
9553
|
+
allRowColumnTextLines: {
|
|
9452
9554
|
r: IRect;
|
|
9453
9555
|
line: string;
|
|
9454
9556
|
}[][][];
|
|
@@ -9481,6 +9583,10 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
|
|
|
9481
9583
|
* paragraphFlow 상태 초기화 (리셋)
|
|
9482
9584
|
*/
|
|
9483
9585
|
private $_resetParagraphFlowState;
|
|
9586
|
+
/**
|
|
9587
|
+
* 현재 row 이후로 paragraphFlow에서 아직 출력해야 할 text/image가 남아있는지 확인한다.
|
|
9588
|
+
*/
|
|
9589
|
+
private $_hasPendingParagraphFlowWork;
|
|
9484
9590
|
/**
|
|
9485
9591
|
* 셀의 텍스트 아이템에서 실제 렌더링 스타일 정보를 캡처
|
|
9486
9592
|
*/
|
|
@@ -10046,7 +10152,7 @@ declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
|
|
|
10046
10152
|
getRows(): any[];
|
|
10047
10153
|
rollback(page: HTMLDivElement): void;
|
|
10048
10154
|
getNextPage(doc: Document, ctx: PrintContext$1, width: number, parent: HTMLDivElement): HTMLDivElement | null;
|
|
10049
|
-
getNoPagingPage(doc: Document, ctx: PrintContext$1, width: number, parent: HTMLDivElement): HTMLDivElement;
|
|
10155
|
+
getNoPagingPage(doc: Document, ctx: PrintContext$1, width: number, parent: HTMLDivElement): HTMLDivElement | null;
|
|
10050
10156
|
getEmptyDataBandPage(doc: Document, ctx: PrintContext$1, bandPrintInfo: BandGroupPrintInfo, width: number, parent: HTMLDivElement): HTMLDivElement;
|
|
10051
10157
|
resetRowIndex(): void;
|
|
10052
10158
|
private $_createBandGroupPage;
|
|
@@ -11529,23 +11635,23 @@ declare class FontResource extends EventAware$1 {
|
|
|
11529
11635
|
private $_fireFontRemoved;
|
|
11530
11636
|
}
|
|
11531
11637
|
|
|
11532
|
-
declare enum CCITTScheme
|
|
11638
|
+
declare enum CCITTScheme {
|
|
11533
11639
|
GROUP_3 = "g3",
|
|
11534
11640
|
GROUP_3_2D = "g3-2d",
|
|
11535
11641
|
GROUP_4 = "g4"
|
|
11536
11642
|
}
|
|
11537
11643
|
|
|
11538
|
-
interface ITiffOptions
|
|
11644
|
+
interface ITiffOptions {
|
|
11539
11645
|
dpi?: number;
|
|
11540
11646
|
grayscale?: boolean;
|
|
11541
|
-
encoding?: CCITTScheme
|
|
11647
|
+
encoding?: CCITTScheme;
|
|
11542
11648
|
}
|
|
11543
11649
|
|
|
11544
|
-
interface ImageExportOptions
|
|
11650
|
+
interface ImageExportOptions {
|
|
11545
11651
|
type?: 'png' | 'jpeg' | 'jpg' | 'gif' | 'tif' | 'tiff';
|
|
11546
11652
|
fileName?: string;
|
|
11547
11653
|
zipName?: string;
|
|
11548
|
-
tiff?: ITiffOptions
|
|
11654
|
+
tiff?: ITiffOptions;
|
|
11549
11655
|
}
|
|
11550
11656
|
interface PdfFont {
|
|
11551
11657
|
name: string;
|
|
@@ -11735,7 +11841,7 @@ declare class ExcelPrintContainer extends PrintContainerBase {
|
|
|
11735
11841
|
private $_getPageHeight;
|
|
11736
11842
|
}
|
|
11737
11843
|
|
|
11738
|
-
interface RealChartImageExportOptions
|
|
11844
|
+
interface RealChartImageExportOptions {
|
|
11739
11845
|
type?: 'png';
|
|
11740
11846
|
fontFamily?: string;
|
|
11741
11847
|
}
|
|
@@ -13664,7 +13770,7 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
|
|
|
13664
13770
|
abstract isEnded(): boolean;
|
|
13665
13771
|
abstract getRows(): any[];
|
|
13666
13772
|
abstract getNextPage(doc: Document, ctx: PrintContextBase, width: number, parent: HTMLDivElement): HTMLDivElement | null;
|
|
13667
|
-
abstract getNoPagingPage(doc: Document, ctx: PrintContextBase, width: number, parent: HTMLDivElement): HTMLDivElement;
|
|
13773
|
+
abstract getNoPagingPage(doc: Document, ctx: PrintContextBase, width: number, parent: HTMLDivElement): HTMLDivElement | null;
|
|
13668
13774
|
abstract getEmptyDataBandPage(doc: Document, ctx: PrintContextBase, bandPrintInfo: BandPrintInfo<T>, width: number, parent: HTMLDivElement): HTMLDivElement | null;
|
|
13669
13775
|
abstract resetRowIndex(): void;
|
|
13670
13776
|
rollback(page: HTMLDivElement): void;
|
|
@@ -49804,7 +49910,7 @@ declare abstract class ReportViewBase {
|
|
|
49804
49910
|
constructor(container: string | HTMLDivElement, options?: ReportOptions);
|
|
49805
49911
|
abstract preview(options: PreviewOptions): Promise<void>;
|
|
49806
49912
|
abstract exportPdf(options: PDFExportOptions): Promise<void>;
|
|
49807
|
-
abstract exportImage(imageOptions: ImageExportOptions
|
|
49913
|
+
abstract exportImage(imageOptions: ImageExportOptions): void;
|
|
49808
49914
|
abstract exportDocument(options: DocumentExportOptions): void;
|
|
49809
49915
|
protected abstract _setReportForm(data: ReportForm | ReportForm | ReportFormSets): void;
|
|
49810
49916
|
/**
|
|
@@ -49891,7 +49997,7 @@ declare class ReportViewer extends ReportViewBase {
|
|
|
49891
49997
|
* 이미지 내보내기 함수
|
|
49892
49998
|
* @param imageOptions
|
|
49893
49999
|
*/
|
|
49894
|
-
exportImage(imageOptions:
|
|
50000
|
+
exportImage(imageOptions: ExportImageOptions): Promise<void>;
|
|
49895
50001
|
/**
|
|
49896
50002
|
* 리포트를 이미지로 변환 후 Blob 배열 형식으로 반환
|
|
49897
50003
|
* @param imageOptions
|
|
@@ -49981,7 +50087,7 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49981
50087
|
*/
|
|
49982
50088
|
print(options: PrintOptions): Promise<void>;
|
|
49983
50089
|
saveReport(options?: GridReportSaveOptions): void;
|
|
49984
|
-
exportImage(imageOptions?: ImageExportOptions
|
|
50090
|
+
exportImage(imageOptions?: ImageExportOptions): Promise<void>;
|
|
49985
50091
|
/**
|
|
49986
50092
|
* Report 객체 초기화 및 생성
|
|
49987
50093
|
*/
|
|
@@ -50100,7 +50206,7 @@ declare class ReportCompositeViewer extends ReportViewBase {
|
|
|
50100
50206
|
* 이미지 내보내기 함수
|
|
50101
50207
|
* @param imageOptions
|
|
50102
50208
|
*/
|
|
50103
|
-
exportImage(imageOptions:
|
|
50209
|
+
exportImage(imageOptions: ExportImageOptions): Promise<void>;
|
|
50104
50210
|
/**
|
|
50105
50211
|
* 리포트를 이미지로 변환 후 Blob 배열 형식으로 반환
|
|
50106
50212
|
* @param imageOptions
|
|
@@ -50375,22 +50481,8 @@ type PDFExportOptions = {
|
|
|
50375
50481
|
pdfVersion?: '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
|
|
50376
50482
|
};
|
|
50377
50483
|
type PDFExportBlobOptions = Omit<PDFExportOptions, 'preview'>;
|
|
50378
|
-
|
|
50379
|
-
GROUP_3 = "g3",
|
|
50380
|
-
GROUP_3_2D = "g3-2d",
|
|
50381
|
-
GROUP_4 = "g4"
|
|
50382
|
-
}
|
|
50383
|
-
interface ITiffOptions {
|
|
50384
|
-
dpi?: number;
|
|
50385
|
-
grayscale?: boolean;
|
|
50386
|
-
encoding?: CCITTScheme;
|
|
50387
|
-
}
|
|
50388
|
-
interface ImageExportOptions {
|
|
50389
|
-
type?: 'png' | 'jpeg' | 'jpg' | 'gif' | 'tif' | 'tiff';
|
|
50390
|
-
fileName?: string;
|
|
50484
|
+
interface ExportImageOptions extends ImageExportOptions {
|
|
50391
50485
|
filename?: string;
|
|
50392
|
-
zipName?: string;
|
|
50393
|
-
tiff?: ITiffOptions;
|
|
50394
50486
|
}
|
|
50395
50487
|
interface DocumentExportOptions {
|
|
50396
50488
|
type: string;
|
|
@@ -50415,4 +50507,4 @@ declare const IMG_EXPORT_DEFAULT_OPTIONS: ImageExportOptions;
|
|
|
50415
50507
|
*/
|
|
50416
50508
|
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.";
|
|
50417
50509
|
|
|
50418
|
-
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, FontStore, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE, getVersion, setLicenseKey };
|
|
50510
|
+
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, ExportImageOptions, FontStore, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE, getVersion, setLicenseKey };
|