realreport 1.9.2 → 1.9.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 +743 -661
- package/dist/realreport.d.ts +159 -13
- package/dist/realreport.es.js +10 -1
- package/dist/realreport.js +10 -1
- package/package.json +1 -1
package/dist/realreport.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.9.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.9.4
|
|
4
|
+
* commit e6834dd
|
|
5
5
|
|
|
6
|
+
* {@link https://real-report.com}
|
|
6
7
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
7
|
-
https://real-report.com
|
|
8
8
|
* All Rights Reserved.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* RealReport Core v1.9.
|
|
12
|
+
* RealReport Core v1.9.4
|
|
13
13
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
14
14
|
* All Rights Reserved.
|
|
15
|
-
* commit
|
|
15
|
+
* commit 8239402f0d47181a735208f664f905b6fad990b7
|
|
16
16
|
*/
|
|
17
17
|
type ConfigObject$1 = {
|
|
18
18
|
[key: string]: any;
|
|
@@ -1112,6 +1112,7 @@ declare enum PropCategory {
|
|
|
1112
1112
|
TOOLTIP = "tooltip",
|
|
1113
1113
|
CROSSHAIR = "crosshair",
|
|
1114
1114
|
OPTIONS = "options",
|
|
1115
|
+
BODY = "body",
|
|
1115
1116
|
CREDITS = "credits",
|
|
1116
1117
|
STYLES = "Styles",
|
|
1117
1118
|
EMAIL_FORM_INFO = "email form info",
|
|
@@ -1397,7 +1398,7 @@ type TreeItemSource = {
|
|
|
1397
1398
|
iconType?: TreeItemIconType;
|
|
1398
1399
|
children?: TreeItemSource[];
|
|
1399
1400
|
};
|
|
1400
|
-
type TreeItemIconType = 'group' | 'report' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
1401
|
+
type TreeItemIconType = 'group' | 'report' | 'reportFolder' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
1401
1402
|
|
|
1402
1403
|
/**
|
|
1403
1404
|
* Asset item base.
|
|
@@ -1741,7 +1742,7 @@ declare class BandDataView extends Base$1 implements IBandDataView {
|
|
|
1741
1742
|
|
|
1742
1743
|
interface IBandDataField {
|
|
1743
1744
|
fieldName: string;
|
|
1744
|
-
dataType?: "text" | "number" | "bool" | "datetime";
|
|
1745
|
+
dataType?: "text" | "number" | "bool" | "array" | "datetime";
|
|
1745
1746
|
source?: string;
|
|
1746
1747
|
expression?: string;
|
|
1747
1748
|
format?: string;
|
|
@@ -1792,6 +1793,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
1792
1793
|
indexOfField(field: IBandDataField): number;
|
|
1793
1794
|
setField(index: number, field: IBandDataField): void;
|
|
1794
1795
|
getSaveFields(): IBandDataField[];
|
|
1796
|
+
getSaveValues(): any[];
|
|
1795
1797
|
getNextFieldName(prefix?: string): string;
|
|
1796
1798
|
getFieldNames(): string[];
|
|
1797
1799
|
addField(index: number, field: IBandDataField): boolean;
|
|
@@ -1804,6 +1806,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
1804
1806
|
abstract getFieldValues(field: string | number, rows?: number[]): any[];
|
|
1805
1807
|
get isBand(): boolean;
|
|
1806
1808
|
preparePrint(ctx: PrintContext, design: boolean): void;
|
|
1809
|
+
protected _getSampleValues(): any[];
|
|
1807
1810
|
protected _readRows(): void;
|
|
1808
1811
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode$1): void;
|
|
1809
1812
|
}
|
|
@@ -1831,6 +1834,7 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
1831
1834
|
get sample(): any[];
|
|
1832
1835
|
getValues(): any[];
|
|
1833
1836
|
setValues(vals: any[]): void;
|
|
1837
|
+
getFieldSample(): any[];
|
|
1834
1838
|
setSource(source: any[]): void;
|
|
1835
1839
|
/**
|
|
1836
1840
|
* 특정 모드의 데이터를 일회성으로 조작하기 위한 편의성 메서드 (callback 실행 후 모드는 원복됨)
|
|
@@ -1839,6 +1843,7 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
1839
1843
|
getSaveType(): string;
|
|
1840
1844
|
protected _doDataFetched(fetchedData: unknown): void;
|
|
1841
1845
|
private $_cloneRow;
|
|
1846
|
+
protected _getSampleValues(): any[];
|
|
1842
1847
|
protected _readRows(): void;
|
|
1843
1848
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode$1): void;
|
|
1844
1849
|
}
|
|
@@ -1889,6 +1894,7 @@ declare class DesignDataManager extends EventAware$1 implements IReportDataProvi
|
|
|
1889
1894
|
}
|
|
1890
1895
|
|
|
1891
1896
|
interface IOutlineSource {
|
|
1897
|
+
hash: number;
|
|
1892
1898
|
outlineParent: IOutlineSource;
|
|
1893
1899
|
outlineExpandable: boolean;
|
|
1894
1900
|
outlineItems?: IOutlineSource[];
|
|
@@ -2497,6 +2503,19 @@ declare abstract class DataBandRowGroup extends ReportGroupItem {
|
|
|
2497
2503
|
protected _doSave(target: object): void;
|
|
2498
2504
|
getPropDomain(prop: IPropInfo): any[];
|
|
2499
2505
|
}
|
|
2506
|
+
interface BandBorders {
|
|
2507
|
+
border: string;
|
|
2508
|
+
borderLeft: string;
|
|
2509
|
+
borderRight: string;
|
|
2510
|
+
borderTop: string;
|
|
2511
|
+
borderBottom: string;
|
|
2512
|
+
}
|
|
2513
|
+
interface BorderWidths {
|
|
2514
|
+
left: number;
|
|
2515
|
+
right: number;
|
|
2516
|
+
top: number;
|
|
2517
|
+
bottom: number;
|
|
2518
|
+
}
|
|
2500
2519
|
/**
|
|
2501
2520
|
* Data band base class.
|
|
2502
2521
|
*
|
|
@@ -2800,6 +2819,9 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2800
2819
|
getMin(field: string, count: number, rows?: number[]): number;
|
|
2801
2820
|
getMax(field: string, count: number, rows?: number[]): number;
|
|
2802
2821
|
getAvg(field: string, count: number, rows?: number[]): number;
|
|
2822
|
+
getBandBorders(): BandBorders;
|
|
2823
|
+
getBandBorderWidths(): BorderWidths;
|
|
2824
|
+
hasBorder(): boolean;
|
|
2803
2825
|
getPropDomain(prop: IPropInfo): any[];
|
|
2804
2826
|
/**
|
|
2805
2827
|
* 출력시 사용되는 밴드의 정보를 초기값으로 초기화
|
|
@@ -2843,6 +2865,7 @@ declare class DataBandCollection extends ReportGroupItem {
|
|
|
2843
2865
|
get owner(): DataBand;
|
|
2844
2866
|
protected _getChildPropInfos(item: ReportItem): IPropInfo[];
|
|
2845
2867
|
getSaveType(): string;
|
|
2868
|
+
canFold(): boolean;
|
|
2846
2869
|
get outlineLabel(): string;
|
|
2847
2870
|
get designLevel(): number;
|
|
2848
2871
|
get marqueeParent(): ReportItem;
|
|
@@ -3143,6 +3166,8 @@ declare class TableBand extends DataBand {
|
|
|
3143
3166
|
setPrinting(ctx: PrintContext, pr: number, trows?: number): void;
|
|
3144
3167
|
getSaveType(): string;
|
|
3145
3168
|
get outlineLabel(): string;
|
|
3169
|
+
canFold(): boolean;
|
|
3170
|
+
protected _getStyleProps(): string[];
|
|
3146
3171
|
get isBand(): boolean;
|
|
3147
3172
|
protected _ignoreItems(): boolean;
|
|
3148
3173
|
protected _getEditProps(): IPropInfo[];
|
|
@@ -3424,7 +3449,9 @@ declare class SimpleBand extends DataBand {
|
|
|
3424
3449
|
get outlineLabel(): string;
|
|
3425
3450
|
get isBand(): boolean;
|
|
3426
3451
|
protected _ignoreItems(): boolean;
|
|
3452
|
+
canFold(): boolean;
|
|
3427
3453
|
protected _getEditProps(): IPropInfo[];
|
|
3454
|
+
protected _getStyleProps(): string[];
|
|
3428
3455
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
3429
3456
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3430
3457
|
protected _doSave(target: object): void;
|
|
@@ -3747,6 +3774,7 @@ type ReportGroupItemView = ReportGroupItemElement<ReportGroupItem>;
|
|
|
3747
3774
|
declare abstract class BandElement<T extends DataBand> extends ReportGroupItemElement<T> {
|
|
3748
3775
|
static readonly END_ROW_MESSAGE_CLASS = "rr-end-row-message";
|
|
3749
3776
|
static readonly END_ROW_CLASS = "rr-end-row";
|
|
3777
|
+
static readonly BORDER_CONTAINER = "rr-band-border-container";
|
|
3750
3778
|
abstract get rowView(): ReportGroupItemView;
|
|
3751
3779
|
private _needFooterView;
|
|
3752
3780
|
get needFooterView(): boolean;
|
|
@@ -3754,6 +3782,8 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
3754
3782
|
abstract getLines(): ReportItemView[];
|
|
3755
3783
|
abstract printRow(ctx: PrintContext, row: number): any;
|
|
3756
3784
|
getSibling(item: ReportItemView, delta: number): ReportItemView;
|
|
3785
|
+
findMasterBand(band: DataBand): DataBand;
|
|
3786
|
+
getBandLevel(masterBand: DataBand, band: DataBand): string;
|
|
3757
3787
|
abstract addMasterRow(page: HTMLDivElement, headerView: any, rowView: any, x: number, y: number): number;
|
|
3758
3788
|
abstract prepareAsync(doc: Document, ctx: PrintContext, width: number, subRows: number[], masterRow: number): BandPrintInfo<any>;
|
|
3759
3789
|
abstract prepareSubBand(doc: Document, ctx: PrintContext, width: number, dataRows: number[]): BandPrintInfo<any>;
|
|
@@ -3762,6 +3792,7 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
3762
3792
|
protected _getPrev(item: ReportItemView): ReportItemView;
|
|
3763
3793
|
private $_prepareDetailDataBand;
|
|
3764
3794
|
private $_prepareDetailBandGroup;
|
|
3795
|
+
private $_setBandLevel;
|
|
3765
3796
|
}
|
|
3766
3797
|
|
|
3767
3798
|
/**
|
|
@@ -4203,6 +4234,7 @@ declare class CrosstabBandTitle extends ReportItem {
|
|
|
4203
4234
|
/** text */
|
|
4204
4235
|
get text(): string;
|
|
4205
4236
|
set text(value: string);
|
|
4237
|
+
get page(): ReportPage;
|
|
4206
4238
|
protected _getEditProps(): any[];
|
|
4207
4239
|
protected _getStyleProps(): string[];
|
|
4208
4240
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
@@ -4218,6 +4250,7 @@ declare class CrosstabNullValue extends ReportItem {
|
|
|
4218
4250
|
/** text */
|
|
4219
4251
|
get text(): string;
|
|
4220
4252
|
set text(value: string);
|
|
4253
|
+
get page(): ReportPage;
|
|
4221
4254
|
protected _getEditProps(): any[];
|
|
4222
4255
|
protected _getStyleProps(): string[];
|
|
4223
4256
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
@@ -4413,7 +4446,7 @@ type RCLegendConfig = {
|
|
|
4413
4446
|
declare enum RCLegendAlignBase {
|
|
4414
4447
|
CHART = "chart",
|
|
4415
4448
|
PARENT = "parent",
|
|
4416
|
-
|
|
4449
|
+
BODY = "body"
|
|
4417
4450
|
}
|
|
4418
4451
|
declare enum RCLegendItemsAlign {
|
|
4419
4452
|
START = "start",
|
|
@@ -4430,7 +4463,7 @@ declare enum RCLegendLocation {
|
|
|
4430
4463
|
BOTTOM = "bottom",
|
|
4431
4464
|
LEFT = "left",
|
|
4432
4465
|
RIGHT = "right",
|
|
4433
|
-
|
|
4466
|
+
BODY = "body"
|
|
4434
4467
|
}
|
|
4435
4468
|
|
|
4436
4469
|
interface RCSubtitleConfig {
|
|
@@ -4479,6 +4512,7 @@ interface RCAxisConfigBase {
|
|
|
4479
4512
|
name?: string;
|
|
4480
4513
|
maxValue?: number;
|
|
4481
4514
|
minValue?: number;
|
|
4515
|
+
startAngle?: number;
|
|
4482
4516
|
marginFar?: number;
|
|
4483
4517
|
marginNear?: number;
|
|
4484
4518
|
maxPadding?: number;
|
|
@@ -4486,19 +4520,25 @@ interface RCAxisConfigBase {
|
|
|
4486
4520
|
label?: RCAxisLabelConfig;
|
|
4487
4521
|
grid?: RCAxisGridConfig;
|
|
4488
4522
|
line?: RCAxisLineConfig;
|
|
4489
|
-
tick?:
|
|
4523
|
+
tick?: RCAxisTickConfig;
|
|
4490
4524
|
crosshair?: RCAxisCorssHairConfig;
|
|
4491
4525
|
}
|
|
4492
4526
|
interface RCAxisTitleConfig {
|
|
4493
4527
|
text: string;
|
|
4494
4528
|
visible?: boolean;
|
|
4495
|
-
align?:
|
|
4529
|
+
align?: RCAxisTitleConfigAlign;
|
|
4496
4530
|
gap?: number;
|
|
4497
4531
|
offset?: number;
|
|
4498
|
-
rotation?:
|
|
4532
|
+
rotation?: RCAxisTitleConfigRotation;
|
|
4499
4533
|
backgroundStyle?: RCSvgStyles;
|
|
4500
4534
|
style?: RCSvgStyles;
|
|
4501
4535
|
}
|
|
4536
|
+
declare enum RCAxisTitleConfigAlign {
|
|
4537
|
+
MIDDLE = "middle",
|
|
4538
|
+
START = "start",
|
|
4539
|
+
END = "end"
|
|
4540
|
+
}
|
|
4541
|
+
type RCAxisTitleConfigRotation = 0 | 90 | 270 | -90 | -270;
|
|
4502
4542
|
interface RCAxisLabelConfig {
|
|
4503
4543
|
visible?: boolean;
|
|
4504
4544
|
text?: string;
|
|
@@ -4620,6 +4660,8 @@ interface RCSeriesPointLabelConfig {
|
|
|
4620
4660
|
visible?: boolean;
|
|
4621
4661
|
text?: string;
|
|
4622
4662
|
style?: RCSvgStyles;
|
|
4663
|
+
offset?: number;
|
|
4664
|
+
position?: RCSeriesPointLabelPosition;
|
|
4623
4665
|
}
|
|
4624
4666
|
interface RCSeriesTooltipConfig {
|
|
4625
4667
|
visible?: boolean;
|
|
@@ -4645,11 +4687,21 @@ declare enum RCSeriesMarkerShape {
|
|
|
4645
4687
|
ITRIANGLE = "itriangle",
|
|
4646
4688
|
RECTANGLE = "rectangle"
|
|
4647
4689
|
}
|
|
4690
|
+
declare enum RCSeriesPointLabelPosition {
|
|
4691
|
+
AUTO = "auto",
|
|
4692
|
+
FOOT = "foot",
|
|
4693
|
+
HEAD = "head",
|
|
4694
|
+
INSIDE = "inside",
|
|
4695
|
+
INSIDEFIRST = "insideFirst",
|
|
4696
|
+
OUTSIDE = "outside",
|
|
4697
|
+
OUTSIDEFIRST = "outsideFirst"
|
|
4698
|
+
}
|
|
4648
4699
|
|
|
4649
4700
|
/**
|
|
4650
4701
|
* RealChart
|
|
4651
4702
|
*/
|
|
4652
4703
|
type RCConfig = {
|
|
4704
|
+
polar: boolean;
|
|
4653
4705
|
inverted?: boolean;
|
|
4654
4706
|
title?: RCTitleConfig;
|
|
4655
4707
|
subtitle?: RCSubtitleConfig;
|
|
@@ -4658,6 +4710,7 @@ type RCConfig = {
|
|
|
4658
4710
|
xAxis: RCAxisConfig[];
|
|
4659
4711
|
yAxis: RCAxisConfig[];
|
|
4660
4712
|
series: RCSeriesConfig[];
|
|
4713
|
+
body?: RCBodyConfig;
|
|
4661
4714
|
};
|
|
4662
4715
|
/**
|
|
4663
4716
|
* Options
|
|
@@ -4666,6 +4719,12 @@ type RCOptionsConfig = {
|
|
|
4666
4719
|
animatable?: boolean;
|
|
4667
4720
|
credits?: RCCreditsConfig;
|
|
4668
4721
|
};
|
|
4722
|
+
/**
|
|
4723
|
+
* Body
|
|
4724
|
+
*/
|
|
4725
|
+
type RCBodyConfig = {
|
|
4726
|
+
circular?: boolean;
|
|
4727
|
+
};
|
|
4669
4728
|
/**
|
|
4670
4729
|
* Etc
|
|
4671
4730
|
*/
|
|
@@ -4832,6 +4891,7 @@ declare class RCAxisLabel extends RCAxisTextObject<RCAxisLabelConfig> {
|
|
|
4832
4891
|
protected _getStyleProps(): string[];
|
|
4833
4892
|
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4834
4893
|
protected _doSave(target: ReportTarget): void;
|
|
4894
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
4835
4895
|
}
|
|
4836
4896
|
|
|
4837
4897
|
declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem, C> {
|
|
@@ -4841,6 +4901,7 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4841
4901
|
static readonly PROP_MIN_VALUE = "minValue";
|
|
4842
4902
|
static readonly PROP_STRICT_MAX = "strictMax";
|
|
4843
4903
|
static readonly PROP_STRICT_MIN = "strictMin";
|
|
4904
|
+
static readonly PROP_START_ANGLE = "startAngle";
|
|
4844
4905
|
static readonly PROP_TITLE = "title";
|
|
4845
4906
|
static readonly PROP_LABEL = "label";
|
|
4846
4907
|
static readonly PROP_GRID = "grid";
|
|
@@ -4852,6 +4913,7 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4852
4913
|
private _minValue;
|
|
4853
4914
|
private _strictMax;
|
|
4854
4915
|
private _strictMin;
|
|
4916
|
+
private _startAngle;
|
|
4855
4917
|
private _title;
|
|
4856
4918
|
private _label;
|
|
4857
4919
|
private _grid;
|
|
@@ -4869,6 +4931,8 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4869
4931
|
set maxValue(value: number);
|
|
4870
4932
|
get minValue(): number;
|
|
4871
4933
|
set minValue(value: number);
|
|
4934
|
+
get startAngle(): number;
|
|
4935
|
+
set startAngle(value: number);
|
|
4872
4936
|
get strictMax(): number;
|
|
4873
4937
|
set strictMax(value: number);
|
|
4874
4938
|
get strictMin(): number;
|
|
@@ -5034,7 +5098,7 @@ declare class RCTitle extends ChartTextObject$1<RealChartItem, RCTitleConfig> {
|
|
|
5034
5098
|
|
|
5035
5099
|
declare class RCLegend extends ChartObject$1<RealChartItem, RCLegendConfig> {
|
|
5036
5100
|
static readonly PROP_ALIGN_BASE = "alignBase";
|
|
5037
|
-
static readonly PROP_ALIGN_BASE_DEFAULT_VALUE = RCLegendAlignBase.
|
|
5101
|
+
static readonly PROP_ALIGN_BASE_DEFAULT_VALUE = RCLegendAlignBase.BODY;
|
|
5038
5102
|
static readonly PROP_GAP = "gap";
|
|
5039
5103
|
static readonly PROP_GAP_DEFAULT_VALUE = 6;
|
|
5040
5104
|
static readonly PROP_ITEM_GAP = "itemGap";
|
|
@@ -5106,6 +5170,7 @@ declare class RCLegend extends ChartObject$1<RealChartItem, RCLegendConfig> {
|
|
|
5106
5170
|
protected _setSubStyle(prop: string, style: string, value: any): void;
|
|
5107
5171
|
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5108
5172
|
protected _doSave(target: ReportTarget): void;
|
|
5173
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5109
5174
|
}
|
|
5110
5175
|
|
|
5111
5176
|
declare class RCOptions extends ChartObject$1<RealChartItem, RCOptionsConfig> {
|
|
@@ -5124,6 +5189,21 @@ declare class RCOptions extends ChartObject$1<RealChartItem, RCOptionsConfig> {
|
|
|
5124
5189
|
protected _doSave(target: ReportTarget): void;
|
|
5125
5190
|
}
|
|
5126
5191
|
|
|
5192
|
+
declare class RCBody extends ChartObject$1<RealChartItem, RCBodyConfig> {
|
|
5193
|
+
static readonly PROP_CIRCULAR = "circular";
|
|
5194
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5195
|
+
private _circular;
|
|
5196
|
+
constructor(chart: RealChartItem);
|
|
5197
|
+
get circular(): boolean;
|
|
5198
|
+
set circular(value: boolean);
|
|
5199
|
+
getChartConfig(context: PrintContext): RCBodyConfig;
|
|
5200
|
+
getSaveLabel(): string;
|
|
5201
|
+
protected _doDefaultInit(): void;
|
|
5202
|
+
protected _getEditProps(): IPropInfo[];
|
|
5203
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5204
|
+
protected _doSave(target: ReportTarget): void;
|
|
5205
|
+
}
|
|
5206
|
+
|
|
5127
5207
|
/**
|
|
5128
5208
|
* Chart Item
|
|
5129
5209
|
*/
|
|
@@ -5137,6 +5217,8 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
5137
5217
|
static readonly PROP_SUBTITLE = "subtitle";
|
|
5138
5218
|
static readonly PROP_LEGEND = "legend";
|
|
5139
5219
|
static readonly PROP_OPTIONS = "options";
|
|
5220
|
+
static readonly PROP_POLAR = "polar";
|
|
5221
|
+
static readonly PROP_BODY = "body";
|
|
5140
5222
|
static readonly PROPINFOS: IPropInfo[];
|
|
5141
5223
|
static readonly STYLE_PROPS: string[];
|
|
5142
5224
|
static readonly $_ctor: string;
|
|
@@ -5149,6 +5231,8 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
5149
5231
|
private _subtitle;
|
|
5150
5232
|
private _legend;
|
|
5151
5233
|
private _options;
|
|
5234
|
+
private _body;
|
|
5235
|
+
private _polar;
|
|
5152
5236
|
constructor(name: string);
|
|
5153
5237
|
get outlineLabel(): string;
|
|
5154
5238
|
get outlineItems(): IOutlineSource[];
|
|
@@ -5162,6 +5246,9 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
5162
5246
|
get subtitle(): RCSubtitle;
|
|
5163
5247
|
get legend(): RCLegend;
|
|
5164
5248
|
get options(): RCOptions;
|
|
5249
|
+
get polar(): boolean;
|
|
5250
|
+
set polar(value: boolean);
|
|
5251
|
+
get body(): RCBody;
|
|
5165
5252
|
addNewXAxis(type: RCAxisType): RCAxis;
|
|
5166
5253
|
addNewYAxis(type: RCAxisType): RCAxis;
|
|
5167
5254
|
addAxis(axis: RCAxis): void;
|
|
@@ -6241,6 +6328,10 @@ declare class PrintContainer extends VisualContainer$1 {
|
|
|
6241
6328
|
* 한 페이지당 수정가능한 아이템 정보를 찾아서 정보를 최신화 시킨다.
|
|
6242
6329
|
*/
|
|
6243
6330
|
private $_addEditableItems;
|
|
6331
|
+
/**
|
|
6332
|
+
* 보더가 적용될 컨테이너를 생성하고 보더 너비만큼 반환한다.
|
|
6333
|
+
*/
|
|
6334
|
+
private $_addBorderContainer;
|
|
6244
6335
|
protected _fireScrollEnd: () => void;
|
|
6245
6336
|
}
|
|
6246
6337
|
|
|
@@ -6836,6 +6927,34 @@ declare class Report extends EventAware$1 implements IEditCommandStackOwner, IPr
|
|
|
6836
6927
|
protected _fireAlert(item: ReportItem, message: string): void;
|
|
6837
6928
|
}
|
|
6838
6929
|
|
|
6930
|
+
/**
|
|
6931
|
+
* ItemAddSection
|
|
6932
|
+
*/
|
|
6933
|
+
declare class ItemAddSection<S extends PageSection> extends PageSection {
|
|
6934
|
+
static readonly $_ctor: string;
|
|
6935
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
6936
|
+
private _targetSection;
|
|
6937
|
+
constructor(target: S);
|
|
6938
|
+
get targetSection(): S;
|
|
6939
|
+
get pathLabel(): string;
|
|
6940
|
+
canResize(dir: ResizeDirection): boolean;
|
|
6941
|
+
canFold(): boolean;
|
|
6942
|
+
protected _getStyleProps(): string[];
|
|
6943
|
+
protected _getEditProps(): IPropInfo[];
|
|
6944
|
+
canContainsBand(): boolean;
|
|
6945
|
+
canContainsBandGroup(): boolean;
|
|
6946
|
+
}
|
|
6947
|
+
/**
|
|
6948
|
+
* BodyItemAddSection
|
|
6949
|
+
*/
|
|
6950
|
+
declare class BodyItemAddSection extends ItemAddSection<PageBody> {
|
|
6951
|
+
static readonly $_ctor: string;
|
|
6952
|
+
constructor(target: PageBody);
|
|
6953
|
+
get pathLabel(): string;
|
|
6954
|
+
get outlineLabel(): string;
|
|
6955
|
+
protected _doItemAdded(item: ReportItem, index: number): void;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6839
6958
|
/**
|
|
6840
6959
|
* 리포트 페이지 모델. 하나 이상의 section들로 구성된다.
|
|
6841
6960
|
*
|
|
@@ -6881,6 +7000,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6881
7000
|
saveTag: string;
|
|
6882
7001
|
private _loading;
|
|
6883
7002
|
private _removing;
|
|
7003
|
+
private _addItemSection;
|
|
6884
7004
|
constructor(report: Report, name?: string);
|
|
6885
7005
|
addListener(listener: object): IEventAware;
|
|
6886
7006
|
removeListener(listener: object): IEventAware;
|
|
@@ -6918,6 +7038,11 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6918
7038
|
*/
|
|
6919
7039
|
get body(): PageBody;
|
|
6920
7040
|
set body(section: PageBody);
|
|
7041
|
+
/**
|
|
7042
|
+
* addItemSection
|
|
7043
|
+
*/
|
|
7044
|
+
get addItemSection(): ItemAddSection<PageBody>;
|
|
7045
|
+
set addItemSection(section: ItemAddSection<PageBody>);
|
|
6921
7046
|
get backContainer(): PageItemContainer;
|
|
6922
7047
|
set backContainer(section: PageItemContainer);
|
|
6923
7048
|
/**
|
|
@@ -7250,6 +7375,16 @@ declare class PageFooterElement extends InheritableSectionElement<PageFooter> {
|
|
|
7250
7375
|
protected _isContexable(): boolean;
|
|
7251
7376
|
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
7252
7377
|
}
|
|
7378
|
+
/** @internal */
|
|
7379
|
+
declare class BodyItemAddSectionElement extends SectionElement<ItemAddSection<PageSection>> {
|
|
7380
|
+
constructor(doc: Document, model?: BodyItemAddSection);
|
|
7381
|
+
protected _doDispose(): void;
|
|
7382
|
+
get debugLabel(): string;
|
|
7383
|
+
protected _getCssSelector(): string;
|
|
7384
|
+
protected _isContexable(): boolean;
|
|
7385
|
+
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
7386
|
+
protected _doSizeChanged(): void;
|
|
7387
|
+
}
|
|
7253
7388
|
|
|
7254
7389
|
/**
|
|
7255
7390
|
* @internal
|
|
@@ -7410,16 +7545,19 @@ interface PageViewOptions {
|
|
|
7410
7545
|
reportFooterEnabled?: boolean;
|
|
7411
7546
|
pageHeaderEnabled?: boolean;
|
|
7412
7547
|
pageFooterEnabled?: boolean;
|
|
7548
|
+
addBodyItemSectionEnabled?: boolean;
|
|
7413
7549
|
}
|
|
7414
7550
|
/** @internal */
|
|
7415
7551
|
declare class PageView extends LayerElement$1 {
|
|
7416
7552
|
private static readonly DEFAULT_PAGE_VIEW_OPTIONS;
|
|
7553
|
+
private static readonly PAGE_BOTTOM_GAP;
|
|
7417
7554
|
private _model;
|
|
7418
7555
|
private _reportHeaderView?;
|
|
7419
7556
|
private _reportFooterView?;
|
|
7420
7557
|
private _pageHeaderView?;
|
|
7421
7558
|
private _pageFooterView?;
|
|
7422
7559
|
private _bodyView;
|
|
7560
|
+
private _addBodyItemSectionView;
|
|
7423
7561
|
private _backView?;
|
|
7424
7562
|
private _frontView?;
|
|
7425
7563
|
private _sections;
|
|
@@ -7442,6 +7580,8 @@ declare class PageView extends LayerElement$1 {
|
|
|
7442
7580
|
get pageFooterView(): PageFooterElement;
|
|
7443
7581
|
/** bodyView */
|
|
7444
7582
|
get bodyView(): PageBodyElement;
|
|
7583
|
+
/** addItemElement */
|
|
7584
|
+
get addItemSectionElement(): BodyItemAddSectionElement;
|
|
7445
7585
|
/** backFloatingView */
|
|
7446
7586
|
get backFloatingView(): PageItemContainerElement;
|
|
7447
7587
|
/** frontFloatingView */
|
|
@@ -7567,6 +7707,8 @@ declare class ReportView extends LayerElement$1 implements IImageContainer {
|
|
|
7567
7707
|
protected _layoutPageBorders(rReport: Rectangle$1, rPage: Rectangle$1): void;
|
|
7568
7708
|
private $_layout;
|
|
7569
7709
|
protected _afterLayout(ctx: PrintContext, bounds: Rectangle$1): void;
|
|
7710
|
+
$_setRectPageViews(ctx: PrintContext, pageViews: PageView[], bounds: Rectangle$1, size: Size$1): void;
|
|
7711
|
+
$_getOverflowHeight(): number;
|
|
7570
7712
|
$_afterRender(ctx: PrintContext): void;
|
|
7571
7713
|
$_createElement(item: ReportItem): ReportElement;
|
|
7572
7714
|
/**
|
|
@@ -7918,6 +8060,10 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
|
|
|
7918
8060
|
*/
|
|
7919
8061
|
setBandBoundPosition(ctx: PrintContext, model: BandModel, div: HTMLDivElement): void;
|
|
7920
8062
|
setBandPrevIndex(index: number): void;
|
|
8063
|
+
createBorderContaienr(doc: Document, y: number, w: number, name: string, tModel: string): HTMLDivElement;
|
|
8064
|
+
setBorderContainerStyle(borderContainer: HTMLDivElement, styles: {
|
|
8065
|
+
[x: string]: string;
|
|
8066
|
+
}): void;
|
|
7921
8067
|
protected _setX(dom: HTMLElement, x: number): void;
|
|
7922
8068
|
protected _setY(dom: HTMLElement, y: number): void;
|
|
7923
8069
|
protected _setPos(dom: HTMLElement, x: number, y: number): void;
|