realreport 1.9.4 → 1.9.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 +21 -6
- package/dist/realreport.d.ts +194 -145
- package/dist/realreport.es.js +3 -3
- package/dist/realreport.js +3 -3
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
RealReport v1.9.
|
|
2
|
+
RealReport v1.9.6
|
|
3
3
|
Copyright (C) 2013-2024 WooriTech Inc.
|
|
4
4
|
All Rights Reserved.
|
|
5
5
|
*/
|
|
@@ -813,6 +813,11 @@ All Rights Reserved.
|
|
|
813
813
|
border-bottom: 1px solid lightgray;
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
+
.rr-table.rr-crosstab thead tr td {
|
|
817
|
+
font-size: 10px;
|
|
818
|
+
border: 1px solid #aaa;
|
|
819
|
+
}
|
|
820
|
+
|
|
816
821
|
.rr-crosstab-field-cell {
|
|
817
822
|
text-align: center;
|
|
818
823
|
}
|
|
@@ -873,6 +878,10 @@ All Rights Reserved.
|
|
|
873
878
|
border-radius: 3px;
|
|
874
879
|
}
|
|
875
880
|
|
|
881
|
+
.rr-crosstab {
|
|
882
|
+
font-size: 10px;
|
|
883
|
+
}
|
|
884
|
+
|
|
876
885
|
.rr-crosstab-head {
|
|
877
886
|
padding: 2px 1px !important;
|
|
878
887
|
font-size: 10px;
|
|
@@ -882,7 +891,6 @@ All Rights Reserved.
|
|
|
882
891
|
|
|
883
892
|
.rr-crosstab-value {
|
|
884
893
|
padding: 1px 1px !important;
|
|
885
|
-
font-size: 10px;
|
|
886
894
|
text-align: right;
|
|
887
895
|
}
|
|
888
896
|
|
|
@@ -1316,7 +1324,7 @@ All Rights Reserved.
|
|
|
1316
1324
|
--rct-point-label-fill: #333;
|
|
1317
1325
|
|
|
1318
1326
|
--rct-point-label-line-stroke-width: 1px;
|
|
1319
|
-
--rct-point-label-line-stroke: #
|
|
1327
|
+
--rct-point-label-line-stroke: #55855560;
|
|
1320
1328
|
|
|
1321
1329
|
--rct-credits-fill: #777;
|
|
1322
1330
|
|
|
@@ -1538,9 +1546,9 @@ All Rights Reserved.
|
|
|
1538
1546
|
fill: var(--rct-legend-item-disabled);
|
|
1539
1547
|
text-decoration: var(--rct-legend-item-disabled-decoration);
|
|
1540
1548
|
}
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
}
|
|
1549
|
+
.rct-legend-item-label[data-empty] {
|
|
1550
|
+
fill: var(--rct-legend-item-disabled);
|
|
1551
|
+
}
|
|
1544
1552
|
.rct-legend-item-marker[data-hidden] {
|
|
1545
1553
|
fill: #aaa !important;
|
|
1546
1554
|
stroke: #aaa !important;
|
|
@@ -1548,6 +1556,13 @@ All Rights Reserved.
|
|
|
1548
1556
|
.rct-legend-item-marker[data-hidden] path[data-fill] {
|
|
1549
1557
|
fill: #aaa !important;
|
|
1550
1558
|
}
|
|
1559
|
+
.rct-legend-item-marker[data-empty] {
|
|
1560
|
+
fill: #aaa !important;
|
|
1561
|
+
stroke: #aaa !important;
|
|
1562
|
+
}
|
|
1563
|
+
.rct-legend-item-marker[data-empty] path[data-fill] {
|
|
1564
|
+
fill: #aaa !important;
|
|
1565
|
+
}
|
|
1551
1566
|
|
|
1552
1567
|
/** body */
|
|
1553
1568
|
.rct-body-background {
|
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.6
|
|
4
|
+
* commit 89557c1
|
|
5
5
|
|
|
6
6
|
* {@link https://real-report.com}
|
|
7
7
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* RealReport Core v1.9.
|
|
12
|
+
* RealReport Core v1.9.6
|
|
13
13
|
* Copyright (C) 2013-2024 WooriTech Inc.
|
|
14
14
|
* All Rights Reserved.
|
|
15
|
-
* commit
|
|
15
|
+
* commit 4c49ccb4b6a29006d0fcd4cc9a8e4430adcba9b2
|
|
16
16
|
*/
|
|
17
17
|
type ConfigObject$1 = {
|
|
18
18
|
[key: string]: any;
|
|
@@ -211,7 +211,7 @@ declare class DragTracker$1 extends Base$1 {
|
|
|
211
211
|
activate(): void;
|
|
212
212
|
deactivate(): void;
|
|
213
213
|
start(eventTarget: HTMLElement, x: number, y: number, shift: boolean, alt: boolean): boolean;
|
|
214
|
-
drag(eventTarget: HTMLElement, x: number, y: number): boolean;
|
|
214
|
+
drag(eventTarget: HTMLElement, x: number, y: number, meta: boolean): boolean;
|
|
215
215
|
cancel(): void;
|
|
216
216
|
drop(eventTarget: HTMLElement, x: number, y: number): void;
|
|
217
217
|
end(): void;
|
|
@@ -227,7 +227,7 @@ declare class DragTracker$1 extends Base$1 {
|
|
|
227
227
|
protected _doActivate(): void;
|
|
228
228
|
protected _doDeactivate(): void;
|
|
229
229
|
protected _doStart(eventTarget: HTMLElement, x: number, y: number, shfit: boolean, alt: boolean): boolean;
|
|
230
|
-
protected _doDrag(eventTarget: HTMLElement, x: number, y: number): boolean;
|
|
230
|
+
protected _doDrag(eventTarget: HTMLElement, x: number, y: number, meta: boolean): boolean;
|
|
231
231
|
protected _doCanceled(x: number, y: number): void;
|
|
232
232
|
protected _canAccept(eventTarget: HTMLElement, x: number, y: number): boolean;
|
|
233
233
|
protected _doCompleted(eventTarget: HTMLElement, x: number, y: number): void;
|
|
@@ -1769,6 +1769,7 @@ interface IBandData extends IReportData {
|
|
|
1769
1769
|
getField(index: number): IBandDataField;
|
|
1770
1770
|
getFields(): IBandDataField[];
|
|
1771
1771
|
getFieldByName(fieldName: string): IBandDataField;
|
|
1772
|
+
getFieldIndex(fieldName: string): number;
|
|
1772
1773
|
containsField(fieldName: string): boolean;
|
|
1773
1774
|
getRowValue(row: number, field: string | number): any;
|
|
1774
1775
|
getFieldValues(field: string | number): any[];
|
|
@@ -3912,27 +3913,68 @@ declare abstract class TableElement<T extends TableBase> extends ReportGroupItem
|
|
|
3912
3913
|
* @returns 셀 높이 (row 높이가 고정되어 있지 않고, 컨텐츠에 따라 늘어나는 경우는 undefined를 반환한다.)
|
|
3913
3914
|
*/
|
|
3914
3915
|
private $_calcCellHeight;
|
|
3916
|
+
private $_getBorderValue;
|
|
3917
|
+
private $_getTableBandBorder;
|
|
3915
3918
|
}
|
|
3916
3919
|
|
|
3917
|
-
|
|
3918
|
-
|
|
3920
|
+
/**
|
|
3921
|
+
* Crosstab band topLeft 모서리 셀에 표시되는 내용에 대한 모델.
|
|
3922
|
+
*/
|
|
3923
|
+
declare class CrosstabBandTitle extends ReportItem {
|
|
3924
|
+
static readonly PROP_TEXT = "text";
|
|
3919
3925
|
static readonly PROPINFOS: IPropInfo[];
|
|
3920
|
-
static readonly
|
|
3921
|
-
private
|
|
3922
|
-
private
|
|
3923
|
-
constructor(
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
set suffix(value: string);
|
|
3926
|
+
private static readonly styleProps;
|
|
3927
|
+
private _text;
|
|
3928
|
+
private _band;
|
|
3929
|
+
constructor(band: CrosstabBand);
|
|
3930
|
+
/** text */
|
|
3931
|
+
get text(): string;
|
|
3932
|
+
set text(value: string);
|
|
3928
3933
|
get page(): ReportPage;
|
|
3929
|
-
|
|
3930
|
-
protected _getEditProps(): IPropInfo[];
|
|
3934
|
+
protected _getEditProps(): any[];
|
|
3931
3935
|
protected _getStyleProps(): string[];
|
|
3932
|
-
getSaveLabel(): string;
|
|
3933
3936
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3934
3937
|
protected _doSave(target: object): void;
|
|
3935
3938
|
}
|
|
3939
|
+
|
|
3940
|
+
declare class CrosstabCell {
|
|
3941
|
+
private _keys;
|
|
3942
|
+
private _rows;
|
|
3943
|
+
private sum;
|
|
3944
|
+
private count;
|
|
3945
|
+
private min;
|
|
3946
|
+
private max;
|
|
3947
|
+
private avg;
|
|
3948
|
+
constructor(keys: any[], rows: number[]);
|
|
3949
|
+
get rowCount(): number;
|
|
3950
|
+
getKey(field: number): any;
|
|
3951
|
+
getValue(data: IBandData, field: number, exp: string): number;
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
interface IFilter {
|
|
3955
|
+
select(data: IBandData, row: number): boolean;
|
|
3956
|
+
}
|
|
3957
|
+
declare class CrosstabCellCollection {
|
|
3958
|
+
private _band;
|
|
3959
|
+
private _filters;
|
|
3960
|
+
private _cells;
|
|
3961
|
+
constructor(band: CrosstabBand);
|
|
3962
|
+
get count(): number;
|
|
3963
|
+
getKey(index: number, field: number): any;
|
|
3964
|
+
getCell(index: number): CrosstabCell;
|
|
3965
|
+
getCells(start?: number, end?: number): CrosstabCell[];
|
|
3966
|
+
setFilters(filters: IFilter[]): void;
|
|
3967
|
+
build(data: BandArrayData): void;
|
|
3968
|
+
private $_getUniqFieldDatas;
|
|
3969
|
+
/**
|
|
3970
|
+
* 넘어온 데이터대로 정렬순서를 정의한다.
|
|
3971
|
+
*/
|
|
3972
|
+
private $_recursiveSort;
|
|
3973
|
+
private $_collectRows;
|
|
3974
|
+
private $_sortRows;
|
|
3975
|
+
private $_buildCells;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3936
3978
|
/**
|
|
3937
3979
|
* 필드 summary 영역 (column 혹은 row)헤더 셀에 대한 설정.
|
|
3938
3980
|
*/
|
|
@@ -3956,16 +3998,24 @@ declare class CrosstabFieldSummaryHeader extends ReportItem {
|
|
|
3956
3998
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3957
3999
|
protected _doSave(target: object): void;
|
|
3958
4000
|
}
|
|
4001
|
+
|
|
4002
|
+
type FieldSummaryPosition = 'start' | 'last';
|
|
3959
4003
|
/**
|
|
3960
4004
|
* 필드 summary 영역 data 셀에 대한 설정.
|
|
3961
4005
|
* row field 설정이 column field 설정보다 우선하고, column field 설정이 value field 설정보다 우선한다.
|
|
3962
4006
|
*/
|
|
3963
4007
|
declare class CrosstabFieldSummary extends ReportItem {
|
|
4008
|
+
static readonly POSITIONS: readonly ["start", "last"];
|
|
4009
|
+
static readonly PROP_POSITION = "position";
|
|
3964
4010
|
static readonly PROPINFOS: IPropInfo[];
|
|
3965
4011
|
static readonly $_ctor: string;
|
|
4012
|
+
private _position;
|
|
3966
4013
|
private _field;
|
|
3967
4014
|
private _header;
|
|
3968
4015
|
constructor(field: CrosstabField, source: any);
|
|
4016
|
+
/** position */
|
|
4017
|
+
get position(): FieldSummaryPosition;
|
|
4018
|
+
set position(value: FieldSummaryPosition);
|
|
3969
4019
|
get field(): CrosstabField;
|
|
3970
4020
|
get header(): CrosstabFieldSummaryHeader;
|
|
3971
4021
|
get page(): ReportPage;
|
|
@@ -3976,6 +4026,32 @@ declare class CrosstabFieldSummary extends ReportItem {
|
|
|
3976
4026
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3977
4027
|
protected _doSave(target: object): void;
|
|
3978
4028
|
}
|
|
4029
|
+
|
|
4030
|
+
declare class CrosstabFieldHeader extends ReportItem {
|
|
4031
|
+
static readonly PROP_TEXT = "text";
|
|
4032
|
+
static readonly PROP_SUFFIX = "suffix";
|
|
4033
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4034
|
+
static readonly $_ctor: string;
|
|
4035
|
+
private _text;
|
|
4036
|
+
private _suffix;
|
|
4037
|
+
private _field;
|
|
4038
|
+
constructor(field: CrosstabField, source: any);
|
|
4039
|
+
get field(): CrosstabField;
|
|
4040
|
+
/** text */
|
|
4041
|
+
get text(): string;
|
|
4042
|
+
set text(value: string);
|
|
4043
|
+
/** suffix */
|
|
4044
|
+
get suffix(): string;
|
|
4045
|
+
set suffix(value: string);
|
|
4046
|
+
get page(): ReportPage;
|
|
4047
|
+
get outlineSource(): IOutlineSource;
|
|
4048
|
+
protected _getEditProps(): IPropInfo[];
|
|
4049
|
+
protected _getStyleProps(): string[];
|
|
4050
|
+
getSaveLabel(): string;
|
|
4051
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4052
|
+
protected _doSave(target: object): void;
|
|
4053
|
+
}
|
|
4054
|
+
|
|
3979
4055
|
declare abstract class CrosstabField extends ReportItemCollectionItem {
|
|
3980
4056
|
static readonly PROP_FIELD = "field";
|
|
3981
4057
|
static readonly PROPINFOS: IPropInfo[];
|
|
@@ -4010,50 +4086,11 @@ declare abstract class CrosstabField extends ReportItemCollectionItem {
|
|
|
4010
4086
|
protected _doLoad(src: any): void;
|
|
4011
4087
|
protected _doSave(target: any): any;
|
|
4012
4088
|
}
|
|
4013
|
-
declare abstract class CrosstabFieldCollection<T extends CrosstabField> extends ReportItemCollection<T> {
|
|
4014
|
-
private _band;
|
|
4015
|
-
private _type;
|
|
4016
|
-
private _fields;
|
|
4017
|
-
constructor(owner: CrosstabBand, type: string);
|
|
4018
|
-
get band(): CrosstabBand;
|
|
4019
|
-
load(src: any[]): void;
|
|
4020
|
-
save(target: any): void;
|
|
4021
|
-
contains(field: string): boolean;
|
|
4022
|
-
getField(field: string): T;
|
|
4023
|
-
slice(count: number): T[];
|
|
4024
|
-
indexOf(field: T): number;
|
|
4025
|
-
add(field: any, index?: number): T;
|
|
4026
|
-
removeAt(index: number): boolean;
|
|
4027
|
-
remove(field: T): void;
|
|
4028
|
-
get owner(): ReportItem;
|
|
4029
|
-
get count(): number;
|
|
4030
|
-
get items(): CrosstabField[];
|
|
4031
|
-
get outlineLabel(): string;
|
|
4032
|
-
get outlineParent(): IOutlineSource;
|
|
4033
|
-
get outlineExpandable(): boolean;
|
|
4034
|
-
get outlineItems(): IOutlineSource[];
|
|
4035
|
-
get page(): ReportPage;
|
|
4036
|
-
get displayPath(): string;
|
|
4037
|
-
get level(): number;
|
|
4038
|
-
get(index: number): T;
|
|
4039
|
-
getSaveType(): string;
|
|
4040
|
-
private $_add;
|
|
4041
|
-
protected _doMoveItem(from: number, to: number): boolean;
|
|
4042
|
-
protected abstract _createField(src: any): T;
|
|
4043
|
-
protected _resetFields(): void;
|
|
4044
|
-
protected _fieldChanged(field: CrosstabField): void;
|
|
4045
|
-
}
|
|
4046
|
-
type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSummary | CrosstabFieldSummaryHeader;
|
|
4047
4089
|
declare class CrosstabRowField extends CrosstabField {
|
|
4048
4090
|
static readonly $_ctor: string;
|
|
4049
4091
|
get itemType(): string;
|
|
4050
4092
|
getCollectionLabel(): string;
|
|
4051
4093
|
}
|
|
4052
|
-
declare class CrosstabRowFieldCollection extends CrosstabFieldCollection<CrosstabRowField> {
|
|
4053
|
-
static readonly $_ctor: string;
|
|
4054
|
-
constructor(owner: CrosstabBand);
|
|
4055
|
-
protected _createField(src: any): CrosstabRowField;
|
|
4056
|
-
}
|
|
4057
4094
|
declare class CrosstabColumnField extends CrosstabField {
|
|
4058
4095
|
static readonly PROPINFOS: IPropInfo[];
|
|
4059
4096
|
static readonly $_ctor: string;
|
|
@@ -4066,11 +4103,6 @@ declare class CrosstabColumnField extends CrosstabField {
|
|
|
4066
4103
|
protected _doLoad(src: any): void;
|
|
4067
4104
|
protected _doSave(target: any): any;
|
|
4068
4105
|
}
|
|
4069
|
-
declare class CrosstabColumnFieldCollection extends CrosstabFieldCollection<CrosstabColumnField> {
|
|
4070
|
-
static readonly $_ctor: string;
|
|
4071
|
-
constructor(owner: CrosstabBand);
|
|
4072
|
-
protected _createField(src: any): CrosstabColumnField;
|
|
4073
|
-
}
|
|
4074
4106
|
declare class CrosstabValueField extends CrosstabField {
|
|
4075
4107
|
static readonly DEF_FORMAT = "#,##0";
|
|
4076
4108
|
static readonly PROP_VALUE = "value";
|
|
@@ -4108,42 +4140,7 @@ declare class CrosstabValueField extends CrosstabField {
|
|
|
4108
4140
|
protected _doLoad(src: any): void;
|
|
4109
4141
|
protected _doSave(target: object): void;
|
|
4110
4142
|
}
|
|
4111
|
-
|
|
4112
|
-
static readonly $_ctor: string;
|
|
4113
|
-
constructor(owner: CrosstabBand);
|
|
4114
|
-
protected _createField(src: any): CrosstabValueField;
|
|
4115
|
-
}
|
|
4116
|
-
declare class CrosstabCell {
|
|
4117
|
-
private _keys;
|
|
4118
|
-
private _rows;
|
|
4119
|
-
private sum;
|
|
4120
|
-
private count;
|
|
4121
|
-
private min;
|
|
4122
|
-
private max;
|
|
4123
|
-
private avg;
|
|
4124
|
-
constructor(keys: any[], rows: number[]);
|
|
4125
|
-
get rowCount(): number;
|
|
4126
|
-
getKey(field: number): any;
|
|
4127
|
-
getValue(data: IBandData, field: number, exp: string): number;
|
|
4128
|
-
}
|
|
4129
|
-
interface IFilter {
|
|
4130
|
-
select(data: IBandData, row: number): boolean;
|
|
4131
|
-
}
|
|
4132
|
-
declare class CellCollection {
|
|
4133
|
-
private _band;
|
|
4134
|
-
private _filters;
|
|
4135
|
-
private _cells;
|
|
4136
|
-
constructor(band: CrosstabBand);
|
|
4137
|
-
get count(): number;
|
|
4138
|
-
getKey(index: number, field: number): any;
|
|
4139
|
-
getCell(index: number): CrosstabCell;
|
|
4140
|
-
getCells(start?: number, end?: number): CrosstabCell[];
|
|
4141
|
-
setFilters(filters: IFilter[]): void;
|
|
4142
|
-
build(data: BandArrayData): void;
|
|
4143
|
-
private $_collectRows;
|
|
4144
|
-
private $_sortRows;
|
|
4145
|
-
private $_buildCells;
|
|
4146
|
-
}
|
|
4143
|
+
|
|
4147
4144
|
declare class CrosstabColumn {
|
|
4148
4145
|
static readonly $_ctor: string;
|
|
4149
4146
|
hash: number;
|
|
@@ -4184,6 +4181,24 @@ declare class CrosstabSummaryColumn extends CrosstabColumn {
|
|
|
4184
4181
|
get summary(): CrosstabFieldSummary;
|
|
4185
4182
|
getHeader(): string;
|
|
4186
4183
|
}
|
|
4184
|
+
|
|
4185
|
+
declare abstract class CrosstabRowBase {
|
|
4186
|
+
abstract slice(count: number): any[];
|
|
4187
|
+
abstract getValue(index: number): any;
|
|
4188
|
+
abstract getColumnCell(column: CrosstabColumn): CrosstabCell;
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
declare class CrosstabRowCollection {
|
|
4192
|
+
private _band;
|
|
4193
|
+
private _rows;
|
|
4194
|
+
constructor(band: CrosstabBand);
|
|
4195
|
+
get rowCount(): number;
|
|
4196
|
+
getRow(index: number): CrosstabRowBase;
|
|
4197
|
+
build(data: BandArrayData, cells: CrosstabCellCollection): void;
|
|
4198
|
+
private $_collectRows;
|
|
4199
|
+
private $_collectSummaryRows;
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4187
4202
|
/**
|
|
4188
4203
|
* @internal
|
|
4189
4204
|
*
|
|
@@ -4191,7 +4206,7 @@ declare class CrosstabSummaryColumn extends CrosstabColumn {
|
|
|
4191
4206
|
* layer 마다 앞쪽에 summary 컬럼이 추가된다.
|
|
4192
4207
|
* row 컬럼들 + 마지막 leaf 목록을 기준으로 table 컬럼들이 구성된다.
|
|
4193
4208
|
*/
|
|
4194
|
-
declare class
|
|
4209
|
+
declare class CrosstabColumnCollection {
|
|
4195
4210
|
private _band;
|
|
4196
4211
|
private _root;
|
|
4197
4212
|
_leafs: CrosstabLeafColumn[];
|
|
@@ -4200,46 +4215,13 @@ declare class ColumnCollection$1 {
|
|
|
4200
4215
|
get count(): number;
|
|
4201
4216
|
get leafCount(): number;
|
|
4202
4217
|
get levels(): number;
|
|
4203
|
-
build(cells:
|
|
4218
|
+
build(cells: CrosstabCellCollection): void;
|
|
4204
4219
|
get(index: number): CrosstabColumn;
|
|
4205
4220
|
getLeaf(index: number): CrosstabLeafColumn;
|
|
4206
4221
|
getColumns(parent: CrosstabColumn, columns: CrosstabColumn[][]): void;
|
|
4207
4222
|
private $_collectColumns;
|
|
4208
4223
|
}
|
|
4209
|
-
|
|
4210
|
-
abstract slice(count: number): any[];
|
|
4211
|
-
abstract getValue(index: number): any;
|
|
4212
|
-
abstract getColumnCell(column: CrosstabColumn): CrosstabCell;
|
|
4213
|
-
}
|
|
4214
|
-
declare class RowCollection {
|
|
4215
|
-
private _band;
|
|
4216
|
-
private _rows;
|
|
4217
|
-
constructor(band: CrosstabBand);
|
|
4218
|
-
get rowCount(): number;
|
|
4219
|
-
getRow(index: number): CrosstabRowBase;
|
|
4220
|
-
build(data: BandArrayData, cells: CellCollection): void;
|
|
4221
|
-
private $_collectRows;
|
|
4222
|
-
private $_collectSummaryRows;
|
|
4223
|
-
}
|
|
4224
|
-
/**
|
|
4225
|
-
* Crosstab band topLeft 모서리 셀에 표시되는 내용에 대한 모델.
|
|
4226
|
-
*/
|
|
4227
|
-
declare class CrosstabBandTitle extends ReportItem {
|
|
4228
|
-
static readonly PROP_TEXT = "text";
|
|
4229
|
-
static readonly PROPINFOS: IPropInfo[];
|
|
4230
|
-
private static readonly styleProps;
|
|
4231
|
-
private _text;
|
|
4232
|
-
private _band;
|
|
4233
|
-
constructor(band: CrosstabBand);
|
|
4234
|
-
/** text */
|
|
4235
|
-
get text(): string;
|
|
4236
|
-
set text(value: string);
|
|
4237
|
-
get page(): ReportPage;
|
|
4238
|
-
protected _getEditProps(): any[];
|
|
4239
|
-
protected _getStyleProps(): string[];
|
|
4240
|
-
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4241
|
-
protected _doSave(target: object): void;
|
|
4242
|
-
}
|
|
4224
|
+
|
|
4243
4225
|
declare class CrosstabNullValue extends ReportItem {
|
|
4244
4226
|
static readonly PROP_TEXT = "text";
|
|
4245
4227
|
static readonly PROPINFOS: IPropInfo[];
|
|
@@ -4256,16 +4238,19 @@ declare class CrosstabNullValue extends ReportItem {
|
|
|
4256
4238
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4257
4239
|
protected _doSave(target: object): void;
|
|
4258
4240
|
}
|
|
4241
|
+
|
|
4242
|
+
type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSummary | CrosstabFieldSummaryHeader;
|
|
4259
4243
|
/**
|
|
4260
4244
|
* Crosstab band.
|
|
4261
4245
|
*
|
|
4262
|
-
* 1. rowFields + columnFields 로 정렬하고 그룹핑해서
|
|
4246
|
+
* 1. rowFields + columnFields 로 정렬하고 그룹핑해서 CrosstabCellCollection에 저장한다.
|
|
4263
4247
|
*/
|
|
4264
4248
|
declare class CrosstabBand extends ReportGroupItem {
|
|
4265
4249
|
static readonly PROP_TITLE = "title";
|
|
4266
4250
|
static readonly PROP_NULL_VALUE = "nullValue";
|
|
4267
4251
|
static readonly PROP_MAX_ROW_COUNT = "maxRowCount";
|
|
4268
4252
|
static readonly PROP_NO_SPLIT = "noSplit";
|
|
4253
|
+
static readonly PROP_VALUES_ON_ROWS = "valuesOnRows";
|
|
4269
4254
|
static readonly PROPINFOS: IPropInfo[];
|
|
4270
4255
|
static readonly $_ctor: string;
|
|
4271
4256
|
static isFieldCell(item: ReportPageItem): boolean;
|
|
@@ -4273,6 +4258,7 @@ declare class CrosstabBand extends ReportGroupItem {
|
|
|
4273
4258
|
static getBandOf(cell: CrosstabFieldCell): CrosstabBand;
|
|
4274
4259
|
private _maxRowCount;
|
|
4275
4260
|
private _noSplit;
|
|
4261
|
+
private _valuesOnRows;
|
|
4276
4262
|
private _title;
|
|
4277
4263
|
private _nullValue;
|
|
4278
4264
|
private _rowFields;
|
|
@@ -4294,6 +4280,11 @@ declare class CrosstabBand extends ReportGroupItem {
|
|
|
4294
4280
|
*/
|
|
4295
4281
|
get noSplit(): boolean;
|
|
4296
4282
|
set noSplit(value: boolean);
|
|
4283
|
+
/**
|
|
4284
|
+
* true면 value fields 정보를 행 기준으로 표시한다.
|
|
4285
|
+
*/
|
|
4286
|
+
get valuesOnRows(): boolean;
|
|
4287
|
+
set valuesOnRows(value: boolean);
|
|
4297
4288
|
/**
|
|
4298
4289
|
* title
|
|
4299
4290
|
*/
|
|
@@ -4309,9 +4300,9 @@ declare class CrosstabBand extends ReportGroupItem {
|
|
|
4309
4300
|
get columnFields(): CrosstabColumnFieldCollection;
|
|
4310
4301
|
/** valueFields */
|
|
4311
4302
|
get valueFields(): CrosstabValueFieldCollection;
|
|
4312
|
-
get rows():
|
|
4303
|
+
get rows(): CrosstabRowCollection;
|
|
4313
4304
|
get bandData(): BandArrayData;
|
|
4314
|
-
get columns():
|
|
4305
|
+
get columns(): CrosstabColumnCollection;
|
|
4315
4306
|
containsField(field: string): boolean;
|
|
4316
4307
|
getRowField(index: number): CrosstabField;
|
|
4317
4308
|
getColumnField(index: number): CrosstabColumnField;
|
|
@@ -4325,12 +4316,62 @@ declare class CrosstabBand extends ReportGroupItem {
|
|
|
4325
4316
|
get isBand(): boolean;
|
|
4326
4317
|
protected _datable(): boolean;
|
|
4327
4318
|
protected _getEditProps(): IPropInfo[];
|
|
4319
|
+
protected _getStyleProps(): string[];
|
|
4328
4320
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
4329
4321
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4330
4322
|
protected _doSave(target: any): void;
|
|
4331
4323
|
_fieldsChanged(field: CrosstabField): void;
|
|
4332
4324
|
}
|
|
4333
4325
|
|
|
4326
|
+
declare abstract class CrosstabFieldCollection<T extends CrosstabField> extends ReportItemCollection<T> {
|
|
4327
|
+
private _band;
|
|
4328
|
+
private _type;
|
|
4329
|
+
private _fields;
|
|
4330
|
+
constructor(owner: CrosstabBand, type: string);
|
|
4331
|
+
get band(): CrosstabBand;
|
|
4332
|
+
load(src: any[]): void;
|
|
4333
|
+
save(target: any): void;
|
|
4334
|
+
contains(field: string): boolean;
|
|
4335
|
+
getField(field: string): T;
|
|
4336
|
+
slice(count: number): T[];
|
|
4337
|
+
indexOf(field: T): number;
|
|
4338
|
+
add(field: any, index?: number): T;
|
|
4339
|
+
removeAt(index: number): boolean;
|
|
4340
|
+
remove(field: T): void;
|
|
4341
|
+
get owner(): ReportItem;
|
|
4342
|
+
get count(): number;
|
|
4343
|
+
get items(): CrosstabField[];
|
|
4344
|
+
get outlineLabel(): string;
|
|
4345
|
+
get outlineParent(): IOutlineSource;
|
|
4346
|
+
get outlineExpandable(): boolean;
|
|
4347
|
+
get outlineItems(): IOutlineSource[];
|
|
4348
|
+
get page(): ReportPage;
|
|
4349
|
+
get displayPath(): string;
|
|
4350
|
+
get level(): number;
|
|
4351
|
+
get(index: number): T;
|
|
4352
|
+
getSaveType(): string;
|
|
4353
|
+
private $_add;
|
|
4354
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
4355
|
+
protected abstract _createField(src: any): T;
|
|
4356
|
+
protected _resetFields(): void;
|
|
4357
|
+
protected _fieldChanged(field: CrosstabField): void;
|
|
4358
|
+
}
|
|
4359
|
+
declare class CrosstabRowFieldCollection extends CrosstabFieldCollection<CrosstabRowField> {
|
|
4360
|
+
static readonly $_ctor: string;
|
|
4361
|
+
constructor(owner: CrosstabBand);
|
|
4362
|
+
protected _createField(src: any): CrosstabRowField;
|
|
4363
|
+
}
|
|
4364
|
+
declare class CrosstabColumnFieldCollection extends CrosstabFieldCollection<CrosstabColumnField> {
|
|
4365
|
+
static readonly $_ctor: string;
|
|
4366
|
+
constructor(owner: CrosstabBand);
|
|
4367
|
+
protected _createField(src: any): CrosstabColumnField;
|
|
4368
|
+
}
|
|
4369
|
+
declare class CrosstabValueFieldCollection extends CrosstabFieldCollection<CrosstabValueField> {
|
|
4370
|
+
static readonly $_ctor: string;
|
|
4371
|
+
constructor(owner: CrosstabBand);
|
|
4372
|
+
protected _createField(src: any): CrosstabValueField;
|
|
4373
|
+
}
|
|
4374
|
+
|
|
4334
4375
|
interface ChartWrappable<ChartConfig> {
|
|
4335
4376
|
getChartConfig(context: PrintContext): ChartConfig;
|
|
4336
4377
|
}
|
|
@@ -5493,12 +5534,14 @@ declare class TextItem extends TextItemBase {
|
|
|
5493
5534
|
static readonly PROP_TEXT = "text";
|
|
5494
5535
|
static readonly PROP_ON_GET_CONTEXT_VALUE = "onGetContextValue";
|
|
5495
5536
|
static readonly PROP_I18N = "internationalization";
|
|
5537
|
+
static readonly PROP_MERGE_RULE = "mergeRule";
|
|
5496
5538
|
static readonly PROPINFOS: IPropInfo[];
|
|
5497
5539
|
static readonly $_ctor: string;
|
|
5498
5540
|
static readonly ITEM_TYPE = "Text";
|
|
5499
5541
|
private _text;
|
|
5500
5542
|
private _editing;
|
|
5501
5543
|
private _i18nObject;
|
|
5544
|
+
private _mergeRule;
|
|
5502
5545
|
private _contextValueCallback;
|
|
5503
5546
|
private _onGetContextValue;
|
|
5504
5547
|
private _contextValueCallbackFunc;
|
|
@@ -5515,6 +5558,11 @@ declare class TextItem extends TextItemBase {
|
|
|
5515
5558
|
*/
|
|
5516
5559
|
get editing(): EditableObject<TextItem>;
|
|
5517
5560
|
get internationalization(): I18nObject<TextItem>;
|
|
5561
|
+
/**
|
|
5562
|
+
* text
|
|
5563
|
+
*/
|
|
5564
|
+
get mergeRule(): string;
|
|
5565
|
+
set mergeRule(value: string);
|
|
5518
5566
|
/**
|
|
5519
5567
|
* onGetContextValue
|
|
5520
5568
|
*/
|
|
@@ -5764,7 +5812,7 @@ declare class EmailPageBody extends PageBody implements IEmailItem {
|
|
|
5764
5812
|
discriminator: "I_EMAIL_ITEM";
|
|
5765
5813
|
constructor();
|
|
5766
5814
|
protected _createPageBodyItems(): PageBodyItems;
|
|
5767
|
-
protected _getEditProps():
|
|
5815
|
+
protected _getEditProps(): any[];
|
|
5768
5816
|
protected _getStyleProps(): string[];
|
|
5769
5817
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
5770
5818
|
protected _doSave(target: object): void;
|
|
@@ -6226,6 +6274,7 @@ declare class PrintContainer extends VisualContainer$1 {
|
|
|
6226
6274
|
private _pageToGo?;
|
|
6227
6275
|
private _printEditLayer;
|
|
6228
6276
|
private _printEditableItemManager;
|
|
6277
|
+
private _floatingLayoutAction;
|
|
6229
6278
|
constructor(containerId: string | HTMLDivElement);
|
|
6230
6279
|
protected _doDispose(): void;
|
|
6231
6280
|
/** pageCount */
|
|
@@ -6243,11 +6292,11 @@ declare class PrintContainer extends VisualContainer$1 {
|
|
|
6243
6292
|
/**
|
|
6244
6293
|
* Report 에서 사용
|
|
6245
6294
|
*/
|
|
6246
|
-
get
|
|
6295
|
+
get reportItemRegistry(): ReportItemRegistry | null;
|
|
6247
6296
|
/**
|
|
6248
6297
|
* Composite Report 에서 사용
|
|
6249
6298
|
*/
|
|
6250
|
-
get
|
|
6299
|
+
get reportItemRegistries(): ReportItemRegistry[];
|
|
6251
6300
|
/**
|
|
6252
6301
|
* printEditableItemManager
|
|
6253
6302
|
*/
|
|
@@ -6328,9 +6377,6 @@ declare class PrintContainer extends VisualContainer$1 {
|
|
|
6328
6377
|
* 한 페이지당 수정가능한 아이템 정보를 찾아서 정보를 최신화 시킨다.
|
|
6329
6378
|
*/
|
|
6330
6379
|
private $_addEditableItems;
|
|
6331
|
-
/**
|
|
6332
|
-
* 보더가 적용될 컨테이너를 생성하고 보더 너비만큼 반환한다.
|
|
6333
|
-
*/
|
|
6334
6380
|
private $_addBorderContainer;
|
|
6335
6381
|
protected _fireScrollEnd: () => void;
|
|
6336
6382
|
}
|
|
@@ -43822,13 +43868,16 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
43822
43868
|
declare class ReportCompositeViewer extends ReportViewBase {
|
|
43823
43869
|
private _reportFormSets?;
|
|
43824
43870
|
private _reports;
|
|
43825
|
-
|
|
43871
|
+
private _reportViewPrinter;
|
|
43872
|
+
constructor(container: string | HTMLDivElement, formSets?: ReportFormSets, options?: ReportOptions);
|
|
43873
|
+
set formSets(formSets: ReportFormSets);
|
|
43826
43874
|
/**
|
|
43827
43875
|
* container에 formsset을 preview로 렌더링 합니다.
|
|
43828
43876
|
* 매핑 정보
|
|
43829
43877
|
* - form -> report
|
|
43830
43878
|
*/
|
|
43831
43879
|
preview(options?: PreviewOptions): void;
|
|
43880
|
+
print(options: PrintOptions): Promise<void>;
|
|
43832
43881
|
exportPdf(options: PDFExportOptions): Promise<void>;
|
|
43833
43882
|
exportImage(imageOptions: ImageExportOptions): void;
|
|
43834
43883
|
exportDocument(options: DocExportOptions): void;
|