realreport 1.9.2 → 1.9.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/dist/realreport.css +649 -607
- package/dist/realreport.d.ts +67 -5
- package/dist/realreport.es.js +1 -1
- package/dist/realreport.js +1 -1
- package/package.json +1 -1
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.9.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.9.3
|
|
4
|
+
* commit 2271fa8
|
|
5
5
|
|
|
6
6
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
7
7
|
https://real-report.com
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* RealReport Core v1.9.
|
|
12
|
+
* RealReport Core v1.9.3
|
|
13
13
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
14
14
|
* All Rights Reserved.
|
|
15
|
-
* commit
|
|
15
|
+
* commit 91fd0621edacdc2db9f742493fcb46ba3bc6567b
|
|
16
16
|
*/
|
|
17
17
|
type ConfigObject$1 = {
|
|
18
18
|
[key: string]: any;
|
|
@@ -1397,7 +1397,7 @@ type TreeItemSource = {
|
|
|
1397
1397
|
iconType?: TreeItemIconType;
|
|
1398
1398
|
children?: TreeItemSource[];
|
|
1399
1399
|
};
|
|
1400
|
-
type TreeItemIconType = 'group' | 'report' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
1400
|
+
type TreeItemIconType = 'group' | 'report' | 'reportFolder' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
1401
1401
|
|
|
1402
1402
|
/**
|
|
1403
1403
|
* Asset item base.
|
|
@@ -1792,6 +1792,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
1792
1792
|
indexOfField(field: IBandDataField): number;
|
|
1793
1793
|
setField(index: number, field: IBandDataField): void;
|
|
1794
1794
|
getSaveFields(): IBandDataField[];
|
|
1795
|
+
getSaveValues(): any[];
|
|
1795
1796
|
getNextFieldName(prefix?: string): string;
|
|
1796
1797
|
getFieldNames(): string[];
|
|
1797
1798
|
addField(index: number, field: IBandDataField): boolean;
|
|
@@ -1804,6 +1805,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
1804
1805
|
abstract getFieldValues(field: string | number, rows?: number[]): any[];
|
|
1805
1806
|
get isBand(): boolean;
|
|
1806
1807
|
preparePrint(ctx: PrintContext, design: boolean): void;
|
|
1808
|
+
protected _getSampleValues(): any[];
|
|
1807
1809
|
protected _readRows(): void;
|
|
1808
1810
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode$1): void;
|
|
1809
1811
|
}
|
|
@@ -1831,6 +1833,7 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
1831
1833
|
get sample(): any[];
|
|
1832
1834
|
getValues(): any[];
|
|
1833
1835
|
setValues(vals: any[]): void;
|
|
1836
|
+
getFieldSample(): any[];
|
|
1834
1837
|
setSource(source: any[]): void;
|
|
1835
1838
|
/**
|
|
1836
1839
|
* 특정 모드의 데이터를 일회성으로 조작하기 위한 편의성 메서드 (callback 실행 후 모드는 원복됨)
|
|
@@ -1839,6 +1842,7 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
1839
1842
|
getSaveType(): string;
|
|
1840
1843
|
protected _doDataFetched(fetchedData: unknown): void;
|
|
1841
1844
|
private $_cloneRow;
|
|
1845
|
+
protected _getSampleValues(): any[];
|
|
1842
1846
|
protected _readRows(): void;
|
|
1843
1847
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode$1): void;
|
|
1844
1848
|
}
|
|
@@ -1889,6 +1893,7 @@ declare class DesignDataManager extends EventAware$1 implements IReportDataProvi
|
|
|
1889
1893
|
}
|
|
1890
1894
|
|
|
1891
1895
|
interface IOutlineSource {
|
|
1896
|
+
hash: number;
|
|
1892
1897
|
outlineParent: IOutlineSource;
|
|
1893
1898
|
outlineExpandable: boolean;
|
|
1894
1899
|
outlineItems?: IOutlineSource[];
|
|
@@ -2843,6 +2848,7 @@ declare class DataBandCollection extends ReportGroupItem {
|
|
|
2843
2848
|
get owner(): DataBand;
|
|
2844
2849
|
protected _getChildPropInfos(item: ReportItem): IPropInfo[];
|
|
2845
2850
|
getSaveType(): string;
|
|
2851
|
+
canFold(): boolean;
|
|
2846
2852
|
get outlineLabel(): string;
|
|
2847
2853
|
get designLevel(): number;
|
|
2848
2854
|
get marqueeParent(): ReportItem;
|
|
@@ -3143,6 +3149,7 @@ declare class TableBand extends DataBand {
|
|
|
3143
3149
|
setPrinting(ctx: PrintContext, pr: number, trows?: number): void;
|
|
3144
3150
|
getSaveType(): string;
|
|
3145
3151
|
get outlineLabel(): string;
|
|
3152
|
+
canFold(): boolean;
|
|
3146
3153
|
get isBand(): boolean;
|
|
3147
3154
|
protected _ignoreItems(): boolean;
|
|
3148
3155
|
protected _getEditProps(): IPropInfo[];
|
|
@@ -3424,6 +3431,7 @@ declare class SimpleBand extends DataBand {
|
|
|
3424
3431
|
get outlineLabel(): string;
|
|
3425
3432
|
get isBand(): boolean;
|
|
3426
3433
|
protected _ignoreItems(): boolean;
|
|
3434
|
+
canFold(): boolean;
|
|
3427
3435
|
protected _getEditProps(): IPropInfo[];
|
|
3428
3436
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
3429
3437
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
@@ -3754,6 +3762,8 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
3754
3762
|
abstract getLines(): ReportItemView[];
|
|
3755
3763
|
abstract printRow(ctx: PrintContext, row: number): any;
|
|
3756
3764
|
getSibling(item: ReportItemView, delta: number): ReportItemView;
|
|
3765
|
+
findMasterBand(band: DataBand): DataBand;
|
|
3766
|
+
getBandLevel(masterBand: DataBand, band: DataBand): string;
|
|
3757
3767
|
abstract addMasterRow(page: HTMLDivElement, headerView: any, rowView: any, x: number, y: number): number;
|
|
3758
3768
|
abstract prepareAsync(doc: Document, ctx: PrintContext, width: number, subRows: number[], masterRow: number): BandPrintInfo<any>;
|
|
3759
3769
|
abstract prepareSubBand(doc: Document, ctx: PrintContext, width: number, dataRows: number[]): BandPrintInfo<any>;
|
|
@@ -3762,6 +3772,7 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
3762
3772
|
protected _getPrev(item: ReportItemView): ReportItemView;
|
|
3763
3773
|
private $_prepareDetailDataBand;
|
|
3764
3774
|
private $_prepareDetailBandGroup;
|
|
3775
|
+
private $_setBandLevel;
|
|
3765
3776
|
}
|
|
3766
3777
|
|
|
3767
3778
|
/**
|
|
@@ -6836,6 +6847,34 @@ declare class Report extends EventAware$1 implements IEditCommandStackOwner, IPr
|
|
|
6836
6847
|
protected _fireAlert(item: ReportItem, message: string): void;
|
|
6837
6848
|
}
|
|
6838
6849
|
|
|
6850
|
+
/**
|
|
6851
|
+
* ItemAddSection
|
|
6852
|
+
*/
|
|
6853
|
+
declare class ItemAddSection<S extends PageSection> extends PageSection {
|
|
6854
|
+
static readonly $_ctor: string;
|
|
6855
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
6856
|
+
private _targetSection;
|
|
6857
|
+
constructor(target: S);
|
|
6858
|
+
get targetSection(): S;
|
|
6859
|
+
get pathLabel(): string;
|
|
6860
|
+
canResize(dir: ResizeDirection): boolean;
|
|
6861
|
+
canFold(): boolean;
|
|
6862
|
+
protected _getStyleProps(): string[];
|
|
6863
|
+
protected _getEditProps(): IPropInfo[];
|
|
6864
|
+
canContainsBand(): boolean;
|
|
6865
|
+
canContainsBandGroup(): boolean;
|
|
6866
|
+
}
|
|
6867
|
+
/**
|
|
6868
|
+
* BodyItemAddSection
|
|
6869
|
+
*/
|
|
6870
|
+
declare class BodyItemAddSection extends ItemAddSection<PageBody> {
|
|
6871
|
+
static readonly $_ctor: string;
|
|
6872
|
+
constructor(target: PageBody);
|
|
6873
|
+
get pathLabel(): string;
|
|
6874
|
+
get outlineLabel(): string;
|
|
6875
|
+
protected _doItemAdded(item: ReportItem, index: number): void;
|
|
6876
|
+
}
|
|
6877
|
+
|
|
6839
6878
|
/**
|
|
6840
6879
|
* 리포트 페이지 모델. 하나 이상의 section들로 구성된다.
|
|
6841
6880
|
*
|
|
@@ -6881,6 +6920,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6881
6920
|
saveTag: string;
|
|
6882
6921
|
private _loading;
|
|
6883
6922
|
private _removing;
|
|
6923
|
+
private _addItemSection;
|
|
6884
6924
|
constructor(report: Report, name?: string);
|
|
6885
6925
|
addListener(listener: object): IEventAware;
|
|
6886
6926
|
removeListener(listener: object): IEventAware;
|
|
@@ -6918,6 +6958,11 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6918
6958
|
*/
|
|
6919
6959
|
get body(): PageBody;
|
|
6920
6960
|
set body(section: PageBody);
|
|
6961
|
+
/**
|
|
6962
|
+
* addItemSection
|
|
6963
|
+
*/
|
|
6964
|
+
get addItemSection(): ItemAddSection<PageBody>;
|
|
6965
|
+
set addItemSection(section: ItemAddSection<PageBody>);
|
|
6921
6966
|
get backContainer(): PageItemContainer;
|
|
6922
6967
|
set backContainer(section: PageItemContainer);
|
|
6923
6968
|
/**
|
|
@@ -7250,6 +7295,16 @@ declare class PageFooterElement extends InheritableSectionElement<PageFooter> {
|
|
|
7250
7295
|
protected _isContexable(): boolean;
|
|
7251
7296
|
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
7252
7297
|
}
|
|
7298
|
+
/** @internal */
|
|
7299
|
+
declare class BodyItemAddSectionElement extends SectionElement<ItemAddSection<PageSection>> {
|
|
7300
|
+
constructor(doc: Document, model?: BodyItemAddSection);
|
|
7301
|
+
protected _doDispose(): void;
|
|
7302
|
+
get debugLabel(): string;
|
|
7303
|
+
protected _getCssSelector(): string;
|
|
7304
|
+
protected _isContexable(): boolean;
|
|
7305
|
+
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
7306
|
+
protected _doSizeChanged(): void;
|
|
7307
|
+
}
|
|
7253
7308
|
|
|
7254
7309
|
/**
|
|
7255
7310
|
* @internal
|
|
@@ -7410,16 +7465,19 @@ interface PageViewOptions {
|
|
|
7410
7465
|
reportFooterEnabled?: boolean;
|
|
7411
7466
|
pageHeaderEnabled?: boolean;
|
|
7412
7467
|
pageFooterEnabled?: boolean;
|
|
7468
|
+
addBodyItemSectionEnabled?: boolean;
|
|
7413
7469
|
}
|
|
7414
7470
|
/** @internal */
|
|
7415
7471
|
declare class PageView extends LayerElement$1 {
|
|
7416
7472
|
private static readonly DEFAULT_PAGE_VIEW_OPTIONS;
|
|
7473
|
+
private static readonly PAGE_BOTTOM_GAP;
|
|
7417
7474
|
private _model;
|
|
7418
7475
|
private _reportHeaderView?;
|
|
7419
7476
|
private _reportFooterView?;
|
|
7420
7477
|
private _pageHeaderView?;
|
|
7421
7478
|
private _pageFooterView?;
|
|
7422
7479
|
private _bodyView;
|
|
7480
|
+
private _addBodyItemSectionView;
|
|
7423
7481
|
private _backView?;
|
|
7424
7482
|
private _frontView?;
|
|
7425
7483
|
private _sections;
|
|
@@ -7442,6 +7500,8 @@ declare class PageView extends LayerElement$1 {
|
|
|
7442
7500
|
get pageFooterView(): PageFooterElement;
|
|
7443
7501
|
/** bodyView */
|
|
7444
7502
|
get bodyView(): PageBodyElement;
|
|
7503
|
+
/** addItemElement */
|
|
7504
|
+
get addItemSectionElement(): BodyItemAddSectionElement;
|
|
7445
7505
|
/** backFloatingView */
|
|
7446
7506
|
get backFloatingView(): PageItemContainerElement;
|
|
7447
7507
|
/** frontFloatingView */
|
|
@@ -7567,6 +7627,8 @@ declare class ReportView extends LayerElement$1 implements IImageContainer {
|
|
|
7567
7627
|
protected _layoutPageBorders(rReport: Rectangle$1, rPage: Rectangle$1): void;
|
|
7568
7628
|
private $_layout;
|
|
7569
7629
|
protected _afterLayout(ctx: PrintContext, bounds: Rectangle$1): void;
|
|
7630
|
+
$_setRectPageViews(ctx: PrintContext, pageViews: PageView[], bounds: Rectangle$1, size: Size$1): void;
|
|
7631
|
+
$_getOverflowHeight(): number;
|
|
7570
7632
|
$_afterRender(ctx: PrintContext): void;
|
|
7571
7633
|
$_createElement(item: ReportItem): ReportElement;
|
|
7572
7634
|
/**
|