realreport 1.10.3 → 1.10.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.
- package/dist/realreport.css +1 -1
- package/dist/realreport.d.ts +77 -37
- 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.10.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.10.4
|
|
4
|
+
* commit b11cc0a
|
|
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.10.
|
|
14
|
+
* RealReport Core v1.10.4
|
|
15
15
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
16
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
17
|
+
* commit f8009ee1c49638603fa7227836c820a59e19a28f
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
|
@@ -7488,8 +7488,6 @@ declare class PageItemContainerElement extends BoundedContainerElement<PageItemC
|
|
|
7488
7488
|
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size$1;
|
|
7489
7489
|
}
|
|
7490
7490
|
|
|
7491
|
-
type PrintPageCallback = (ctx: PrintContext, page: PrintPage, pageNo: number) => void;
|
|
7492
|
-
type PrintEndCallback = (ctx: PrintContext, pages: PrintPage[]) => void;
|
|
7493
7491
|
declare class PageSectionGuard extends ReportItemElement<ReportPage> {
|
|
7494
7492
|
get guardLabel(): string;
|
|
7495
7493
|
}
|
|
@@ -7789,6 +7787,7 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
|
|
|
7789
7787
|
private $_getDownPages;
|
|
7790
7788
|
private $_setGroupFooterPB;
|
|
7791
7789
|
private $_addBorderContainer;
|
|
7790
|
+
protected _createPage(doc: Document, parent: HTMLDivElement): HTMLDivElement;
|
|
7792
7791
|
}
|
|
7793
7792
|
/**
|
|
7794
7793
|
* @internal
|
|
@@ -7796,6 +7795,7 @@ declare class TableBandPrintInfo extends BandPrintInfo<TableBand> {
|
|
|
7796
7795
|
* 1. 한 행(복수 tr 가능)은 페이지를 넘어갈 수 없다. 현재 상태에서 넘치면 다음 페이지에 출력한다.
|
|
7797
7796
|
**/
|
|
7798
7797
|
declare class TableBandElement extends BandElement<TableBand> implements ITable {
|
|
7798
|
+
static readonly CLASS_NAME = "rr-tableband";
|
|
7799
7799
|
static readonly HEADER_CLASS = "-rrp-tableband-header";
|
|
7800
7800
|
static readonly FOOTER_CLASS = "-rrp-tableband-footer";
|
|
7801
7801
|
static readonly ROW_CLASS = "-rrp-tableband-row";
|
|
@@ -8131,6 +8131,9 @@ declare abstract class TextBandSection extends StackContainer {
|
|
|
8131
8131
|
protected _datable(): boolean;
|
|
8132
8132
|
canCopy(): boolean;
|
|
8133
8133
|
canResize(dir: ResizeDirection): boolean;
|
|
8134
|
+
/**
|
|
8135
|
+
* TextBand Header, Footer는 기본 visible이 false로 따로 처리함
|
|
8136
|
+
*/
|
|
8134
8137
|
protected _getEditProps(): IPropInfo[];
|
|
8135
8138
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8136
8139
|
protected _doSave(target: object): void;
|
|
@@ -8139,12 +8142,14 @@ declare class TextBandHeader extends TextBandSection {
|
|
|
8139
8142
|
static readonly $_ctor: string;
|
|
8140
8143
|
get outlineLabel(): string;
|
|
8141
8144
|
get pathLabel(): string;
|
|
8145
|
+
canDelete(): boolean;
|
|
8142
8146
|
}
|
|
8143
8147
|
declare class TextBandFooter extends TextBandSection {
|
|
8144
8148
|
static readonly PROPINFOS: IPropInfo[];
|
|
8145
8149
|
static readonly $_ctor: string;
|
|
8146
8150
|
get outlineLabel(): string;
|
|
8147
8151
|
get pathLabel(): string;
|
|
8152
|
+
canDelete(): boolean;
|
|
8148
8153
|
protected _getEditProps(): IPropInfo[];
|
|
8149
8154
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8150
8155
|
protected _doSave(target: object): void;
|
|
@@ -8195,10 +8200,15 @@ declare class TextBand extends ReportBandItem {
|
|
|
8195
8200
|
getSaveType(): string;
|
|
8196
8201
|
protected _valueable(): boolean;
|
|
8197
8202
|
protected _ignoreItems(): boolean;
|
|
8203
|
+
/**
|
|
8204
|
+
* ReportGroupItem은 onGetValue 이벤트를 사용하지 않는 설정이 기본설정
|
|
8205
|
+
* TextBand는 Text 속성에 값 하나만 연결해서 사용하기 때문에 onGetValue를 사용할 수 있도록 설정한다.
|
|
8206
|
+
*/
|
|
8198
8207
|
protected _getEditProps(): IPropInfo[];
|
|
8199
8208
|
protected _getStyleProps(): string[];
|
|
8200
8209
|
canAdoptDragSource(source: any): boolean;
|
|
8201
8210
|
canAdd(item: ReportItem): boolean;
|
|
8211
|
+
canRemove(item: ReportItem): boolean;
|
|
8202
8212
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8203
8213
|
protected _doSave(target: object): void;
|
|
8204
8214
|
}
|
|
@@ -13911,6 +13921,67 @@ interface IDropResult {
|
|
|
13911
13921
|
hintHeight?: number;
|
|
13912
13922
|
}
|
|
13913
13923
|
|
|
13924
|
+
type SignLine = Array<{
|
|
13925
|
+
x: number;
|
|
13926
|
+
y: number;
|
|
13927
|
+
w: number;
|
|
13928
|
+
t: number;
|
|
13929
|
+
}>;
|
|
13930
|
+
interface ISignResult {
|
|
13931
|
+
width: number;
|
|
13932
|
+
height: number;
|
|
13933
|
+
lines: SignLine[];
|
|
13934
|
+
}
|
|
13935
|
+
|
|
13936
|
+
interface IStampResult {
|
|
13937
|
+
data: string;
|
|
13938
|
+
}
|
|
13939
|
+
|
|
13940
|
+
interface IPrintReport {
|
|
13941
|
+
report: Report;
|
|
13942
|
+
data: IReportDataProvider;
|
|
13943
|
+
}
|
|
13944
|
+
interface ISinglePageOptions {
|
|
13945
|
+
border: boolean;
|
|
13946
|
+
}
|
|
13947
|
+
interface IItemPrintInfo {
|
|
13948
|
+
reportName: string;
|
|
13949
|
+
name: string;
|
|
13950
|
+
data?: string;
|
|
13951
|
+
row?: number;
|
|
13952
|
+
field?: string;
|
|
13953
|
+
value?: number;
|
|
13954
|
+
}
|
|
13955
|
+
type PrintPageCallback = (ctx: PrintContext, page: PrintPage, pageNo: number) => void;
|
|
13956
|
+
type PrintEndCallback = (ctx: PrintContext, pages: PrintPage[]) => void;
|
|
13957
|
+
type SignCallback = (item: IItemPrintInfo, sign: ISignResult) => void;
|
|
13958
|
+
type StampCallback = (item: IItemPrintInfo, stamp: IStampResult) => void;
|
|
13959
|
+
interface IPreviewOptions {
|
|
13960
|
+
debug?: boolean;
|
|
13961
|
+
async?: boolean;
|
|
13962
|
+
pageMark?: boolean;
|
|
13963
|
+
optimize?: boolean;
|
|
13964
|
+
pageDelay?: number;
|
|
13965
|
+
noScroll?: boolean;
|
|
13966
|
+
noIndicator?: boolean;
|
|
13967
|
+
singlePage?: boolean;
|
|
13968
|
+
singlePageOptions?: ISinglePageOptions;
|
|
13969
|
+
align?: Align;
|
|
13970
|
+
paging?: boolean;
|
|
13971
|
+
language?: string;
|
|
13972
|
+
editable?: boolean;
|
|
13973
|
+
callback?: PrintPageCallback;
|
|
13974
|
+
endCallback?: PrintEndCallback;
|
|
13975
|
+
signCallback?: SignCallback;
|
|
13976
|
+
stampCallback?: StampCallback;
|
|
13977
|
+
}
|
|
13978
|
+
interface IPrintOptions {
|
|
13979
|
+
report: Report | (Report | IPrintReport)[];
|
|
13980
|
+
data: IReportDataProvider;
|
|
13981
|
+
preview?: boolean;
|
|
13982
|
+
id?: string;
|
|
13983
|
+
previewOptions?: IPreviewOptions;
|
|
13984
|
+
}
|
|
13914
13985
|
declare abstract class PrintContainerBase extends VisualContainer$1 {
|
|
13915
13986
|
static readonly CLASS_NAME = "rr-report-container";
|
|
13916
13987
|
static readonly PREVIEW_CLASS = "rr-report-preview";
|
|
@@ -13977,37 +14048,6 @@ declare class PrintEditableItemManager extends Base$1 {
|
|
|
13977
14048
|
private $_getMarkerElementIndex;
|
|
13978
14049
|
}
|
|
13979
14050
|
|
|
13980
|
-
interface IPrintReport {
|
|
13981
|
-
report: Report;
|
|
13982
|
-
data: IReportDataProvider;
|
|
13983
|
-
}
|
|
13984
|
-
interface IPreviewOptions {
|
|
13985
|
-
debug?: boolean;
|
|
13986
|
-
async?: boolean;
|
|
13987
|
-
pageMark?: boolean;
|
|
13988
|
-
optimize?: boolean;
|
|
13989
|
-
pageDelay?: number;
|
|
13990
|
-
noScroll?: boolean;
|
|
13991
|
-
noIndicator?: boolean;
|
|
13992
|
-
singlePage?: boolean;
|
|
13993
|
-
singlePageOptions?: ISinglePageOptions;
|
|
13994
|
-
align?: Align;
|
|
13995
|
-
paging?: boolean;
|
|
13996
|
-
language?: string;
|
|
13997
|
-
editable?: boolean;
|
|
13998
|
-
callback?: PrintPageCallback;
|
|
13999
|
-
endCallback?: PrintEndCallback;
|
|
14000
|
-
}
|
|
14001
|
-
interface IPrintOptions {
|
|
14002
|
-
report: Report | (Report | IPrintReport)[];
|
|
14003
|
-
data: IReportDataProvider;
|
|
14004
|
-
preview?: boolean;
|
|
14005
|
-
id?: string;
|
|
14006
|
-
previewOptions?: IPreviewOptions;
|
|
14007
|
-
}
|
|
14008
|
-
interface ISinglePageOptions {
|
|
14009
|
-
border: boolean;
|
|
14010
|
-
}
|
|
14011
14051
|
declare class PrintContainer extends PrintContainerBase {
|
|
14012
14052
|
static setMarkerElementsVisible(pages: PrintPage[], visible: boolean): void;
|
|
14013
14053
|
private _pageGap;
|