realreport 1.1.8 → 1.2.0
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/bind-marker-sys.png +0 -0
- package/dist/bind-marker.png +0 -0
- package/dist/realreport.css +77 -19
- package/dist/realreport.d.ts +965 -48
- package/dist/realreport.es.js +1 -1
- package/dist/realreport.js +1 -1
- package/package.json +4 -40
- package/dist/realreport.ie11.js +0 -1
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.2.0
|
|
4
|
+
* commit 5ef147c
|
|
5
5
|
|
|
6
6
|
* Copyright (C) 2013-2022 WooriTech Inc.
|
|
7
7
|
https://real-report.com
|
|
@@ -152,6 +152,7 @@ declare abstract class Base {
|
|
|
152
152
|
assignFrom(source: any): void;
|
|
153
153
|
extend(source: ConfigObject): void;
|
|
154
154
|
toProxy(): ConfigObject;
|
|
155
|
+
assignProps(target: object, props: string[], all?: boolean): object;
|
|
155
156
|
toString(): string;
|
|
156
157
|
}
|
|
157
158
|
|
|
@@ -781,9 +782,9 @@ declare abstract class VisualContainer extends EventAware implements VisualToolO
|
|
|
781
782
|
getHtml(): string;
|
|
782
783
|
addElement(element: VisualElement): boolean;
|
|
783
784
|
removeElement(element: VisualElement): boolean;
|
|
784
|
-
addFeedback(element: UIElement): boolean;
|
|
785
|
+
addFeedback(element: UIElement | HTMLElement): boolean;
|
|
785
786
|
addFeedbacks(...elements: UIElement[]): void;
|
|
786
|
-
removeFeedback(element: UIElement): boolean;
|
|
787
|
+
removeFeedback(element: UIElement | HTMLElement): boolean;
|
|
787
788
|
removeFeedbacks(...elements: UIElement[]): void;
|
|
788
789
|
resetSize(callback?: any): void;
|
|
789
790
|
measureText(style: string, text: string): number;
|
|
@@ -1040,6 +1041,66 @@ declare class LayerElement extends VisualElement {
|
|
|
1040
1041
|
protected _doDraw(element: HTMLElement): void;
|
|
1041
1042
|
}
|
|
1042
1043
|
|
|
1044
|
+
/**
|
|
1045
|
+
* Property 모델 구성 요소.
|
|
1046
|
+
*/
|
|
1047
|
+
declare abstract class PropertyItem extends Base {
|
|
1048
|
+
private _prop;
|
|
1049
|
+
private _group;
|
|
1050
|
+
constructor(prop: IPropInfo);
|
|
1051
|
+
get group(): PropertyGroup;
|
|
1052
|
+
get prop(): IPropInfo;
|
|
1053
|
+
get name(): string;
|
|
1054
|
+
get label(): string;
|
|
1055
|
+
get domain(): any[];
|
|
1056
|
+
get parent(): any;
|
|
1057
|
+
isVisible(source: IPropertySource): boolean;
|
|
1058
|
+
isReadOnly(source: IPropertySource): boolean;
|
|
1059
|
+
getValue(source: IPropertySource): any;
|
|
1060
|
+
setValue(source: IPropertySource, value: any): void;
|
|
1061
|
+
setValues(sources: IPropertySource[], value: any): void;
|
|
1062
|
+
hasColor(): boolean;
|
|
1063
|
+
}
|
|
1064
|
+
declare class PropertyGroup extends Base {
|
|
1065
|
+
private _label;
|
|
1066
|
+
private _items;
|
|
1067
|
+
private _pool;
|
|
1068
|
+
source: IPropertySource;
|
|
1069
|
+
constructor(label: string);
|
|
1070
|
+
get label(): string;
|
|
1071
|
+
get count(): number;
|
|
1072
|
+
get(index: number): PropertyItem;
|
|
1073
|
+
borrow(info: IPropInfo): PropertyItem;
|
|
1074
|
+
add(item: PropertyItem): void;
|
|
1075
|
+
clear(): void;
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* Value property base.
|
|
1079
|
+
*/
|
|
1080
|
+
declare abstract class ValueProperty extends PropertyItem {
|
|
1081
|
+
private _defaultValue;
|
|
1082
|
+
constructor(prop: IPropInfo);
|
|
1083
|
+
/**
|
|
1084
|
+
* 기본값.
|
|
1085
|
+
*/
|
|
1086
|
+
get defaultValue(): any;
|
|
1087
|
+
set defaultValue(value: any);
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* String property.
|
|
1091
|
+
*/
|
|
1092
|
+
declare class StringProperty extends ValueProperty {
|
|
1093
|
+
static readonly $_ctor: string;
|
|
1094
|
+
constructor(prop: IPropInfo);
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* 참조 항목 list를 갖는 property.
|
|
1098
|
+
*/
|
|
1099
|
+
declare class ListableProperty extends StringProperty {
|
|
1100
|
+
static readonly $_ctor: string;
|
|
1101
|
+
constructor(prop: IPropInfo);
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1043
1104
|
/**
|
|
1044
1105
|
*/
|
|
1045
1106
|
declare class PageItemContainer extends BoundedContainer {
|
|
@@ -1089,8 +1150,8 @@ declare abstract class BoxContainer extends ReportGroupItem {
|
|
|
1089
1150
|
* ReportPage에서 bodyItems를 통해 호출한다.
|
|
1090
1151
|
*/
|
|
1091
1152
|
loadProps(src: any): void;
|
|
1092
|
-
protected _getEditProps(): IPropInfo[];
|
|
1093
1153
|
protected _datable(): boolean;
|
|
1154
|
+
protected _getEditProps(): IPropInfo[];
|
|
1094
1155
|
protected _getStyleProps(): string[];
|
|
1095
1156
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
1096
1157
|
protected _doSave(target: object): void;
|
|
@@ -1216,6 +1277,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
1216
1277
|
static readonly ITEM_REMOVED = "onPageItemRemoved";
|
|
1217
1278
|
static readonly ITEMS_REMOVED = "onPageItemsRemoved";
|
|
1218
1279
|
static readonly ITEM_CHANGED = "onPageItemChanged";
|
|
1280
|
+
static readonly COLLECTION_CHANGED = "onPageCollectionChanged";
|
|
1219
1281
|
static readonly $_ctor: string;
|
|
1220
1282
|
private _report;
|
|
1221
1283
|
private _events;
|
|
@@ -1298,6 +1360,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
1298
1360
|
private $_removeItem;
|
|
1299
1361
|
private $_itemsRemoved;
|
|
1300
1362
|
private $_itemChanged;
|
|
1363
|
+
private $_collectionChanged;
|
|
1301
1364
|
/**
|
|
1302
1365
|
* ReportItem.name에서 호출한다.
|
|
1303
1366
|
*/
|
|
@@ -1315,6 +1378,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
1315
1378
|
protected _fireItemRemoved(item: ReportPageItem, oldParent: ReportGroupItem): void;
|
|
1316
1379
|
protected _fireItemsRemoved(items: ReportPageItem[]): void;
|
|
1317
1380
|
protected _fireItemChanged(item: ReportPageItem, prop: string, value: any, oldValue: any): void;
|
|
1381
|
+
protected _fireCollectionChanged(collection: ReportItemCollection<any>): void;
|
|
1318
1382
|
}
|
|
1319
1383
|
/**
|
|
1320
1384
|
* Report header/footer, Page header/footer를 제외한 리포트 페이지 영역.
|
|
@@ -1612,12 +1676,41 @@ declare abstract class BandData extends ReportData$1 {
|
|
|
1612
1676
|
readValue(field: IBandDataField, value: any): any;
|
|
1613
1677
|
readRow(row: any): any;
|
|
1614
1678
|
dateToStr(field: IBandDataField, v: Date): string;
|
|
1615
|
-
abstract getFieldValues(field: string | number): any[];
|
|
1679
|
+
abstract getFieldValues(field: string | number, rows?: number[]): any[];
|
|
1616
1680
|
get isBand(): boolean;
|
|
1617
1681
|
preparePrint(ctx: PrintContext, design: boolean): void;
|
|
1618
1682
|
protected _readRows(): void;
|
|
1619
1683
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode): void;
|
|
1620
1684
|
}
|
|
1685
|
+
/**
|
|
1686
|
+
* {}들의 배열.
|
|
1687
|
+
* values는 리포트에 저장하지 않는다.
|
|
1688
|
+
* 필요하다면 application이 별도로 관리한다. (파일로 저장/로드)
|
|
1689
|
+
* (필드.sample로 최초 한 행을 생성하고, 추후 다른 tool로 관리할 수 있도록 한다.)
|
|
1690
|
+
*/
|
|
1691
|
+
declare class BandArrayData extends BandData implements IBandData {
|
|
1692
|
+
private _values;
|
|
1693
|
+
private _sampleCount;
|
|
1694
|
+
private _sampled;
|
|
1695
|
+
constructor(name: string, fields: IBandDataField[], values: any[], sampleCount?: number, dp?: IReportDataProvider);
|
|
1696
|
+
get rowCount(): number;
|
|
1697
|
+
getRowValues(row: number): any;
|
|
1698
|
+
getValue(path: string): any;
|
|
1699
|
+
getRowValue(row: number, field: string | number): any;
|
|
1700
|
+
getFieldValues(field: string | number, rows?: number[]): any[];
|
|
1701
|
+
equalValues(row: number, fields: string[], values: any[]): boolean;
|
|
1702
|
+
equalRows(row1: number, row2: number, fields?: string[]): boolean;
|
|
1703
|
+
findRows(values: object): number[];
|
|
1704
|
+
get sample(): any[];
|
|
1705
|
+
getValues(): any[];
|
|
1706
|
+
setValues(vals: any[]): void;
|
|
1707
|
+
getSaveType(): string;
|
|
1708
|
+
getSaveValues(): any;
|
|
1709
|
+
private $_cloneRow;
|
|
1710
|
+
private $_prepareSample;
|
|
1711
|
+
protected _readRows(): void;
|
|
1712
|
+
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode): void;
|
|
1713
|
+
}
|
|
1621
1714
|
|
|
1622
1715
|
/**
|
|
1623
1716
|
* Design-time data provider
|
|
@@ -1644,7 +1737,7 @@ declare class DesignDataManager extends EventAware implements IReportDataProvide
|
|
|
1644
1737
|
*/
|
|
1645
1738
|
getValue(path: string, row: number): any;
|
|
1646
1739
|
getValueAt(data: string, path: string, row: number): any;
|
|
1647
|
-
getFieldValues(data: string, field: string): any[];
|
|
1740
|
+
getFieldValues(data: string, field: string, rows?: number[]): any[];
|
|
1648
1741
|
addData(data: IReportData): boolean;
|
|
1649
1742
|
removeData(data: string | IReportData): IReportData;
|
|
1650
1743
|
dataNameChanged(data: IReportData, oldName: string): void;
|
|
@@ -1711,7 +1804,6 @@ declare class TableRow extends ReportItemCollectionItem {
|
|
|
1711
1804
|
get displayPath(): string;
|
|
1712
1805
|
get collection(): TableRowCollection;
|
|
1713
1806
|
get marqueeParent(): ReportItem;
|
|
1714
|
-
get level(): number;
|
|
1715
1807
|
isAncestor(group: ReportGroupItem): boolean;
|
|
1716
1808
|
canRemoveFrom(): boolean;
|
|
1717
1809
|
canSelectedWith(other: ISelectionSource): boolean;
|
|
@@ -1732,6 +1824,7 @@ declare class TableRowCollection extends ReportItemCollection<TableRow> {
|
|
|
1732
1824
|
get outlineExpandable(): boolean;
|
|
1733
1825
|
get outlineItems(): IOutlineSource[];
|
|
1734
1826
|
getSaveType(): string;
|
|
1827
|
+
get owner(): ReportItem;
|
|
1735
1828
|
/** table */
|
|
1736
1829
|
get table(): TableBase;
|
|
1737
1830
|
/** count */
|
|
@@ -1768,6 +1861,7 @@ declare class TableRowCollection extends ReportItemCollection<TableRow> {
|
|
|
1768
1861
|
get level(): number;
|
|
1769
1862
|
get marqueeParent(): ReportItem;
|
|
1770
1863
|
isAncestor(group: ReportGroupItem): boolean;
|
|
1864
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
1771
1865
|
private $_add;
|
|
1772
1866
|
private $_invalidateRows;
|
|
1773
1867
|
private $_rowChanged;
|
|
@@ -1878,6 +1972,7 @@ declare class TableCellCollection extends ReportItemCollection<TableCell> {
|
|
|
1878
1972
|
get outlineItems(): IOutlineSource[];
|
|
1879
1973
|
getSaveType(): string;
|
|
1880
1974
|
isCollectionProp(): boolean;
|
|
1975
|
+
get owner(): ReportItem;
|
|
1881
1976
|
/** table */
|
|
1882
1977
|
get table(): TableBase;
|
|
1883
1978
|
/** count */
|
|
@@ -1890,6 +1985,7 @@ declare class TableCellCollection extends ReportItemCollection<TableCell> {
|
|
|
1890
1985
|
getColCount(row: number): number;
|
|
1891
1986
|
get(index: number): TableCell;
|
|
1892
1987
|
getAt(row: number, col: number): TableCell;
|
|
1988
|
+
indexOf(item: TableCell): number;
|
|
1893
1989
|
getRectangle(from: TableCell, to: TableCell): IRect;
|
|
1894
1990
|
getRectangleCells(from: TableCell, to: TableCell, ignoreHiddens?: boolean): TableCell[];
|
|
1895
1991
|
/**
|
|
@@ -1953,6 +2049,7 @@ declare class TableCellCollection extends ReportItemCollection<TableCell> {
|
|
|
1953
2049
|
get level(): number;
|
|
1954
2050
|
get marqueeParent(): ReportItem;
|
|
1955
2051
|
isAncestor(group: ReportGroupItem): boolean;
|
|
2052
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
1956
2053
|
protected _createCell(row: number, col: number): TableCell;
|
|
1957
2054
|
}
|
|
1958
2055
|
declare type TableBounds = {
|
|
@@ -2137,7 +2234,6 @@ declare abstract class TableColumnBase extends ReportItemCollectionItem {
|
|
|
2137
2234
|
getWidth(bounds: number): number;
|
|
2138
2235
|
get itemType(): string;
|
|
2139
2236
|
get page(): ReportPage;
|
|
2140
|
-
get level(): number;
|
|
2141
2237
|
canSelectedWith(other: ISelectionSource): boolean;
|
|
2142
2238
|
protected _getStyleProps(): string[];
|
|
2143
2239
|
protected _doLoad(src: any): void;
|
|
@@ -2200,9 +2296,10 @@ declare abstract class TableColumnCollectionBase<T extends ReportGroupItem, C ex
|
|
|
2200
2296
|
get level(): number;
|
|
2201
2297
|
get marqueeParent(): ReportItem;
|
|
2202
2298
|
isAncestor(group: ReportGroupItem): boolean;
|
|
2299
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
2203
2300
|
protected abstract _createColumn(src: any): C;
|
|
2204
2301
|
private $_add;
|
|
2205
|
-
private $
|
|
2302
|
+
private $_resetColumns;
|
|
2206
2303
|
private $_columnChanged;
|
|
2207
2304
|
}
|
|
2208
2305
|
|
|
@@ -2468,8 +2565,10 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2468
2565
|
getMin(field: string, count: number, rows?: number[]): number;
|
|
2469
2566
|
getMax(field: string, count: number, rows?: number[]): number;
|
|
2470
2567
|
getAvg(field: string, count: number, rows?: number[]): number;
|
|
2568
|
+
abstract containsInSection(item: ReportItem): boolean;
|
|
2471
2569
|
get designLevel(): number;
|
|
2472
2570
|
get dataDominant(): boolean;
|
|
2571
|
+
protected _datable(): boolean;
|
|
2473
2572
|
protected _getEditProps(): IPropInfo[];
|
|
2474
2573
|
protected _getStyleProps(): string[];
|
|
2475
2574
|
canAddTo(group: ReportGroupItem): boolean;
|
|
@@ -2702,6 +2801,7 @@ declare class TableBandRowGroupCollection extends ReportItemCollection<TableBand
|
|
|
2702
2801
|
get outlineExpandable(): boolean;
|
|
2703
2802
|
get outlineItems(): IOutlineSource[];
|
|
2704
2803
|
getSaveType(): string;
|
|
2804
|
+
get owner(): ReportItem;
|
|
2705
2805
|
/** band */
|
|
2706
2806
|
get band(): TableBand;
|
|
2707
2807
|
/** count */
|
|
@@ -2724,6 +2824,7 @@ declare class TableBandRowGroupCollection extends ReportItemCollection<TableBand
|
|
|
2724
2824
|
get displayPath(): string;
|
|
2725
2825
|
get level(): number;
|
|
2726
2826
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
2827
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
2727
2828
|
private $_add;
|
|
2728
2829
|
private $_invalidateGroups;
|
|
2729
2830
|
private $_groupChanged;
|
|
@@ -2797,7 +2898,6 @@ declare class TableBand extends DataBand {
|
|
|
2797
2898
|
get outlineLabel(): string;
|
|
2798
2899
|
get isBand(): boolean;
|
|
2799
2900
|
protected _ignoreItems(): boolean;
|
|
2800
|
-
protected _valueable(): boolean;
|
|
2801
2901
|
protected _getEditProps(): IPropInfo[];
|
|
2802
2902
|
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
2803
2903
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
@@ -2810,6 +2910,7 @@ declare class TableBand extends DataBand {
|
|
|
2810
2910
|
remove(item: ReportPageItem): void;
|
|
2811
2911
|
getNextDetailRows(ctx: PrintContext): number[];
|
|
2812
2912
|
skipDetailRows(ctx: PrintContext): void;
|
|
2913
|
+
containsInSection(item: ReportItem): boolean;
|
|
2813
2914
|
}
|
|
2814
2915
|
|
|
2815
2916
|
declare class TableColumn extends TableColumnBase {
|
|
@@ -2912,7 +3013,6 @@ declare abstract class SimpleBandSection extends StackContainer {
|
|
|
2912
3013
|
setFieldOf(item: ReportItem, value: string): void;
|
|
2913
3014
|
get designLevel(): number;
|
|
2914
3015
|
get marqueeParent(): ReportItem;
|
|
2915
|
-
protected _getStyleProps(): string[];
|
|
2916
3016
|
canResize(dir: ResizeDirection): boolean;
|
|
2917
3017
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
2918
3018
|
protected _doSave(target: object): void;
|
|
@@ -3011,6 +3111,7 @@ declare class SimpleBandRowGroupCollection extends ReportItemCollection<SimpleBa
|
|
|
3011
3111
|
getSaveType(): string;
|
|
3012
3112
|
canRemoveFrom(): boolean;
|
|
3013
3113
|
canParentOf(itemType: string): boolean;
|
|
3114
|
+
get owner(): ReportItem;
|
|
3014
3115
|
/** band */
|
|
3015
3116
|
get band(): SimpleBand;
|
|
3016
3117
|
/** count */
|
|
@@ -3033,6 +3134,7 @@ declare class SimpleBandRowGroupCollection extends ReportItemCollection<SimpleBa
|
|
|
3033
3134
|
get displayPath(): string;
|
|
3034
3135
|
get level(): number;
|
|
3035
3136
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
3137
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
3036
3138
|
private $_add;
|
|
3037
3139
|
private $_invalidateGroups;
|
|
3038
3140
|
private $_groupChanged;
|
|
@@ -3070,7 +3172,6 @@ declare class SimpleBand extends DataBand {
|
|
|
3070
3172
|
getSaveType(): string;
|
|
3071
3173
|
get outlineLabel(): string;
|
|
3072
3174
|
get isBand(): boolean;
|
|
3073
|
-
protected _valueable(): boolean;
|
|
3074
3175
|
protected _ignoreItems(): boolean;
|
|
3075
3176
|
protected _getEditProps(): IPropInfo[];
|
|
3076
3177
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
@@ -3082,6 +3183,7 @@ declare class SimpleBand extends DataBand {
|
|
|
3082
3183
|
canRemove(item: ReportItem): boolean;
|
|
3083
3184
|
getNextDetailRows(ctx: PrintContext): number[];
|
|
3084
3185
|
skipDetailRows(ctx: PrintContext): void;
|
|
3186
|
+
containsInSection(item: ReportItem): boolean;
|
|
3085
3187
|
}
|
|
3086
3188
|
|
|
3087
3189
|
/**
|
|
@@ -3228,10 +3330,11 @@ declare abstract class ReportGroupItemElement<T extends ReportGroupItem> extends
|
|
|
3228
3330
|
constructor(doc: Document, model: T, name: string);
|
|
3229
3331
|
protected _doDispose(): void;
|
|
3230
3332
|
get navigable(): boolean;
|
|
3333
|
+
get lazyLayoutChildren(): boolean;
|
|
3231
3334
|
isContentDom(dom: HTMLElement): boolean;
|
|
3232
3335
|
findElement(modelName: string): ReportItemView;
|
|
3233
3336
|
findElementOf(dom: HTMLElement): ReportItemView;
|
|
3234
|
-
getElementOf(model:
|
|
3337
|
+
getElementOf(model: ReportPageItem): ReportElement;
|
|
3235
3338
|
indexOfElement(elt: ReportItemView): number;
|
|
3236
3339
|
getLeaves(): ReportItemView[];
|
|
3237
3340
|
getFirst(): ReportItemView;
|
|
@@ -3265,8 +3368,8 @@ declare abstract class ReportGroupItemElement<T extends ReportGroupItem> extends
|
|
|
3265
3368
|
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size;
|
|
3266
3369
|
protected _doPrepareMeasure(ctx: PrintContext, dom: HTMLElement): void;
|
|
3267
3370
|
protected _getDesignText(): string;
|
|
3268
|
-
protected _setDesignContent(empty: boolean): void;
|
|
3269
|
-
protected _doMeasureItem(ctx: PrintContext, elt: ReportElement, hintWidth: number, hintHeight: number): void;
|
|
3371
|
+
protected _setDesignContent(empty: boolean, designView: HTMLDivElement): void;
|
|
3372
|
+
protected _doMeasureItem(ctx: PrintContext, index: number, elt: ReportElement, hintWidth: number, hintHeight: number): void;
|
|
3270
3373
|
protected _createElement(report: ReportView, parent: ReportElement, item: ReportItem): ReportElement;
|
|
3271
3374
|
protected _buildItems(ctx: PrintContext, report: ReportView, model: ReportGroupItem): void;
|
|
3272
3375
|
protected _prepareChild(child: ReportElement): void;
|
|
@@ -3286,6 +3389,309 @@ interface ITable {
|
|
|
3286
3389
|
getColPoints(): number[];
|
|
3287
3390
|
}
|
|
3288
3391
|
|
|
3392
|
+
declare enum CrosstabSummary {
|
|
3393
|
+
SUM = "sum",
|
|
3394
|
+
AVG = "avg",
|
|
3395
|
+
MIN = "min",
|
|
3396
|
+
MAX = "max",
|
|
3397
|
+
COUNT = "count",
|
|
3398
|
+
DISTINCT = "distinct"
|
|
3399
|
+
}
|
|
3400
|
+
declare class CrosstabFieldHeader extends ReportItem {
|
|
3401
|
+
static readonly PROP_SUFFIX = "suffix";
|
|
3402
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3403
|
+
private _suffix;
|
|
3404
|
+
private _field;
|
|
3405
|
+
constructor(field: CrosstabField, source: any);
|
|
3406
|
+
get field(): CrosstabField;
|
|
3407
|
+
/** suffix */
|
|
3408
|
+
get suffix(): string;
|
|
3409
|
+
set suffix(value: string);
|
|
3410
|
+
get page(): ReportPage;
|
|
3411
|
+
get outlineSource(): IOutlineSource;
|
|
3412
|
+
protected _getEditProps(): IPropInfo[];
|
|
3413
|
+
protected _getStyleProps(): string[];
|
|
3414
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3415
|
+
protected _doSave(target: object): void;
|
|
3416
|
+
}
|
|
3417
|
+
declare class CrosstabFieldSummary extends ReportItem {
|
|
3418
|
+
static readonly PROP_SUMMARY = "summary";
|
|
3419
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3420
|
+
private _summary;
|
|
3421
|
+
private _field;
|
|
3422
|
+
constructor(field: CrosstabField, source: any);
|
|
3423
|
+
get field(): CrosstabField;
|
|
3424
|
+
/** summary */
|
|
3425
|
+
get summary(): CrosstabSummary;
|
|
3426
|
+
set summary(value: CrosstabSummary);
|
|
3427
|
+
get page(): ReportPage;
|
|
3428
|
+
get outlineSource(): IOutlineSource;
|
|
3429
|
+
protected _getEditProps(): IPropInfo[];
|
|
3430
|
+
protected _getStyleProps(): string[];
|
|
3431
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3432
|
+
protected _doSave(target: object): void;
|
|
3433
|
+
}
|
|
3434
|
+
declare abstract class CrosstabField extends ReportItemCollectionItem {
|
|
3435
|
+
static readonly PROP_FIELD = "field";
|
|
3436
|
+
static readonly PROP_VALUE = "value";
|
|
3437
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3438
|
+
private static readonly styleProps;
|
|
3439
|
+
private _field;
|
|
3440
|
+
private _value;
|
|
3441
|
+
private _index;
|
|
3442
|
+
fieldIndex: number;
|
|
3443
|
+
dataType: string;
|
|
3444
|
+
private _header;
|
|
3445
|
+
private _summary;
|
|
3446
|
+
constructor(collection: CrosstabFieldCollection<any>, source: any);
|
|
3447
|
+
/** band */
|
|
3448
|
+
get band(): CrosstabBand;
|
|
3449
|
+
/** index */
|
|
3450
|
+
get index(): number;
|
|
3451
|
+
/** field */
|
|
3452
|
+
get field(): string;
|
|
3453
|
+
set field(value: string);
|
|
3454
|
+
/** value */
|
|
3455
|
+
get value(): string;
|
|
3456
|
+
set value(value: string);
|
|
3457
|
+
/** header */
|
|
3458
|
+
get header(): CrosstabFieldHeader;
|
|
3459
|
+
/** summary */
|
|
3460
|
+
get summary(): CrosstabFieldSummary;
|
|
3461
|
+
get itemType(): string;
|
|
3462
|
+
get page(): ReportPage;
|
|
3463
|
+
get displayPath(): string;
|
|
3464
|
+
get collection(): CrosstabFieldCollection<any>;
|
|
3465
|
+
get marqueeParent(): ReportItem;
|
|
3466
|
+
isAncestor(group: ReportGroupItem): boolean;
|
|
3467
|
+
getEditProps(): IPropInfo[];
|
|
3468
|
+
protected _getStyleProps(): string[];
|
|
3469
|
+
protected _changed(prop: string, newValue: any, oldValue: any): void;
|
|
3470
|
+
protected _doLoad(src: any): void;
|
|
3471
|
+
protected _doSave(target: any): any;
|
|
3472
|
+
}
|
|
3473
|
+
declare abstract class CrosstabFieldCollection<T extends CrosstabField> extends ReportItemCollection<T> {
|
|
3474
|
+
private _band;
|
|
3475
|
+
private _type;
|
|
3476
|
+
private _fields;
|
|
3477
|
+
constructor(owner: CrosstabBand, type: string);
|
|
3478
|
+
get band(): CrosstabBand;
|
|
3479
|
+
load(src: any[]): void;
|
|
3480
|
+
save(target: any): void;
|
|
3481
|
+
contains(field: string): boolean;
|
|
3482
|
+
getField(field: string): T;
|
|
3483
|
+
indexOf(field: T): number;
|
|
3484
|
+
add(field: any, index?: number): T;
|
|
3485
|
+
removeAt(index: number): boolean;
|
|
3486
|
+
remove(field: T): void;
|
|
3487
|
+
get owner(): ReportItem;
|
|
3488
|
+
get count(): number;
|
|
3489
|
+
get items(): CrosstabField[];
|
|
3490
|
+
get outlineLabel(): string;
|
|
3491
|
+
get outlineParent(): IOutlineSource;
|
|
3492
|
+
get outlineExpandable(): boolean;
|
|
3493
|
+
get outlineItems(): IOutlineSource[];
|
|
3494
|
+
get page(): ReportPage;
|
|
3495
|
+
get displayPath(): string;
|
|
3496
|
+
get level(): number;
|
|
3497
|
+
get(index: number): T;
|
|
3498
|
+
getSaveType(): string;
|
|
3499
|
+
private $_add;
|
|
3500
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
3501
|
+
protected abstract _createField(src: any): T;
|
|
3502
|
+
protected _resetFields(): void;
|
|
3503
|
+
protected _fieldChanged(field: CrosstabField): void;
|
|
3504
|
+
}
|
|
3505
|
+
declare type CrosstabFieldCell = CrosstabField | CrosstabFieldHeader | CrosstabFieldSummary;
|
|
3506
|
+
declare class CrosstabRowField extends CrosstabField {
|
|
3507
|
+
get itemType(): string;
|
|
3508
|
+
getCollectionLabel(): string;
|
|
3509
|
+
}
|
|
3510
|
+
declare class CrosstabRowFieldCollection extends CrosstabFieldCollection<CrosstabRowField> {
|
|
3511
|
+
constructor(owner: CrosstabBand);
|
|
3512
|
+
protected _createField(src: any): CrosstabRowField;
|
|
3513
|
+
}
|
|
3514
|
+
declare class CrosstabColumnField extends CrosstabField {
|
|
3515
|
+
constructor(collection: CrosstabColumnFieldCollection, source: any);
|
|
3516
|
+
get itemType(): string;
|
|
3517
|
+
getCollectionLabel(): string;
|
|
3518
|
+
protected _doLoad(src: any): void;
|
|
3519
|
+
protected _doSave(target: any): any;
|
|
3520
|
+
}
|
|
3521
|
+
declare class CrosstabColumnFieldCollection extends CrosstabFieldCollection<CrosstabColumnField> {
|
|
3522
|
+
constructor(owner: CrosstabBand);
|
|
3523
|
+
protected _createField(src: any): CrosstabColumnField;
|
|
3524
|
+
}
|
|
3525
|
+
declare class CrosstabValueField extends CrosstabField {
|
|
3526
|
+
get itemType(): string;
|
|
3527
|
+
getCollectionLabel(): string;
|
|
3528
|
+
}
|
|
3529
|
+
declare class CrosstabValueFieldCollection extends CrosstabFieldCollection<CrosstabValueField> {
|
|
3530
|
+
constructor(owner: CrosstabBand);
|
|
3531
|
+
protected _createField(src: any): CrosstabRowField;
|
|
3532
|
+
}
|
|
3533
|
+
declare class CrosstabRec {
|
|
3534
|
+
private _keys;
|
|
3535
|
+
private _rows;
|
|
3536
|
+
private sum;
|
|
3537
|
+
constructor(keys: any[], rows: number[]);
|
|
3538
|
+
get rowCount(): number;
|
|
3539
|
+
getKey(field: number): any;
|
|
3540
|
+
getSummary(data: IBandData, field: number, exp: string): number;
|
|
3541
|
+
}
|
|
3542
|
+
interface IFilter {
|
|
3543
|
+
select(data: IBandData, row: number): boolean;
|
|
3544
|
+
}
|
|
3545
|
+
declare class RecCollection {
|
|
3546
|
+
private _band;
|
|
3547
|
+
private _filters;
|
|
3548
|
+
private _recs;
|
|
3549
|
+
constructor(band: CrosstabBand);
|
|
3550
|
+
get count(): number;
|
|
3551
|
+
getKey(rec: number, field: number): any;
|
|
3552
|
+
getRec(index: number): CrosstabRec;
|
|
3553
|
+
getRecs(start?: number, end?: number): CrosstabRec[];
|
|
3554
|
+
setFilters(filters: IFilter[]): void;
|
|
3555
|
+
build(data: BandArrayData): void;
|
|
3556
|
+
private $_collectRows;
|
|
3557
|
+
private $_sortRows;
|
|
3558
|
+
private $_buildRecs;
|
|
3559
|
+
}
|
|
3560
|
+
declare class CrosstabColumn {
|
|
3561
|
+
hash: number;
|
|
3562
|
+
parent: CrosstabColumn;
|
|
3563
|
+
private _field;
|
|
3564
|
+
private _value;
|
|
3565
|
+
private _children;
|
|
3566
|
+
constructor(field: CrosstabColumnField, value: any);
|
|
3567
|
+
get field(): CrosstabColumnField;
|
|
3568
|
+
get value(): any;
|
|
3569
|
+
get count(): number;
|
|
3570
|
+
get children(): CrosstabColumn[];
|
|
3571
|
+
get level(): number;
|
|
3572
|
+
get leafCount(): number;
|
|
3573
|
+
getChild(index: number): CrosstabColumn;
|
|
3574
|
+
clear(): void;
|
|
3575
|
+
add(column: CrosstabColumn, force?: boolean): void;
|
|
3576
|
+
sort(): void;
|
|
3577
|
+
getHeader(): string;
|
|
3578
|
+
}
|
|
3579
|
+
declare class CrosstabLeafColumn extends CrosstabColumn {
|
|
3580
|
+
private _valueField;
|
|
3581
|
+
constructor(field: CrosstabColumnField, valueField: CrosstabValueField, value: any);
|
|
3582
|
+
get valueField(): CrosstabValueField;
|
|
3583
|
+
get leafCount(): number;
|
|
3584
|
+
getHeader(): string;
|
|
3585
|
+
}
|
|
3586
|
+
declare class ColumnCollection {
|
|
3587
|
+
private _band;
|
|
3588
|
+
private _root;
|
|
3589
|
+
_leafs: CrosstabLeafColumn[];
|
|
3590
|
+
constructor(band: CrosstabBand);
|
|
3591
|
+
get root(): CrosstabColumn;
|
|
3592
|
+
get count(): number;
|
|
3593
|
+
get leafCount(): number;
|
|
3594
|
+
get levels(): number;
|
|
3595
|
+
get(index: number): CrosstabColumn;
|
|
3596
|
+
getLeaf(index: number): CrosstabLeafColumn;
|
|
3597
|
+
getColumns(parent: CrosstabColumn, columns: CrosstabColumn[][]): void;
|
|
3598
|
+
build(recs: RecCollection): void;
|
|
3599
|
+
private $_collectColumns;
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
* rowField들이 동일한 행들.
|
|
3603
|
+
*/
|
|
3604
|
+
declare class CrosstabRow {
|
|
3605
|
+
private _values;
|
|
3606
|
+
private _recs;
|
|
3607
|
+
private _map;
|
|
3608
|
+
constructor(band: CrosstabBand, values: any[], recs: CrosstabRec[]);
|
|
3609
|
+
getValue(index: number): any;
|
|
3610
|
+
getRec(index: number): CrosstabRec;
|
|
3611
|
+
getColumnRec(column: CrosstabColumn): CrosstabRec;
|
|
3612
|
+
getSummary(data: IBandData, column: CrosstabColumn, field: number, value: string): number;
|
|
3613
|
+
}
|
|
3614
|
+
declare class RowCollection {
|
|
3615
|
+
private _band;
|
|
3616
|
+
private _rows;
|
|
3617
|
+
constructor(band: CrosstabBand);
|
|
3618
|
+
get rowCount(): number;
|
|
3619
|
+
getRow(index: number): CrosstabRow;
|
|
3620
|
+
build(data: BandArrayData, recs: RecCollection): void;
|
|
3621
|
+
private $_collectRows;
|
|
3622
|
+
}
|
|
3623
|
+
/**
|
|
3624
|
+
* Crosstab band topLeft 모서리 셀에 표시되는 내용에 대한 모델.
|
|
3625
|
+
*/
|
|
3626
|
+
declare class CrosstabBandTitle extends ReportItem {
|
|
3627
|
+
static readonly PROP_TEXT = "text";
|
|
3628
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3629
|
+
private static readonly styleProps;
|
|
3630
|
+
private _text;
|
|
3631
|
+
private _band;
|
|
3632
|
+
constructor(band: CrosstabBand);
|
|
3633
|
+
/** text */
|
|
3634
|
+
get text(): string;
|
|
3635
|
+
set text(value: string);
|
|
3636
|
+
protected _getEditProps(): any[];
|
|
3637
|
+
protected _getStyleProps(): string[];
|
|
3638
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3639
|
+
protected _doSave(target: object): void;
|
|
3640
|
+
}
|
|
3641
|
+
/**
|
|
3642
|
+
* Crosstab band
|
|
3643
|
+
*/
|
|
3644
|
+
declare class CrosstabBand extends ReportGroupItem {
|
|
3645
|
+
static readonly PROP_TITLE = "title";
|
|
3646
|
+
static readonly PROP_MAX_ROW_COUNT = "maxRowCount";
|
|
3647
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3648
|
+
static readonly $_ctor: string;
|
|
3649
|
+
static getFieldOf(cell: CrosstabFieldCell): CrosstabField;
|
|
3650
|
+
static getBandOf(cell: CrosstabFieldCell): CrosstabBand;
|
|
3651
|
+
private _maxRowCount;
|
|
3652
|
+
private _title;
|
|
3653
|
+
private _rowFields;
|
|
3654
|
+
private _columnFields;
|
|
3655
|
+
private _valueFields;
|
|
3656
|
+
private _recs;
|
|
3657
|
+
_columns: ColumnCollection;
|
|
3658
|
+
private _rows;
|
|
3659
|
+
constructor(name: string);
|
|
3660
|
+
/**
|
|
3661
|
+
* Cross table 생성시 사용될 원본 데이터 최대 행 수.
|
|
3662
|
+
*/
|
|
3663
|
+
get maxRowCount(): number;
|
|
3664
|
+
set maxRowCount(value: number);
|
|
3665
|
+
/**
|
|
3666
|
+
* title
|
|
3667
|
+
*/
|
|
3668
|
+
get title(): CrosstabBandTitle;
|
|
3669
|
+
/** rowFields */
|
|
3670
|
+
get rowFields(): CrosstabRowFieldCollection;
|
|
3671
|
+
/** columnFields */
|
|
3672
|
+
get columnFields(): CrosstabColumnFieldCollection;
|
|
3673
|
+
/** valueFields */
|
|
3674
|
+
get valueFields(): CrosstabValueFieldCollection;
|
|
3675
|
+
get rows(): RowCollection;
|
|
3676
|
+
get bandData(): BandArrayData;
|
|
3677
|
+
containsField(field: string): boolean;
|
|
3678
|
+
getRowField(index: number): CrosstabField;
|
|
3679
|
+
getColumnField(index: number): CrosstabColumnField;
|
|
3680
|
+
getGroupFields(): CrosstabField[];
|
|
3681
|
+
build(): void;
|
|
3682
|
+
getCellValue(data: BandArrayData, r: number, c: number): any;
|
|
3683
|
+
getSaveType(): string;
|
|
3684
|
+
get outlineLabel(): string;
|
|
3685
|
+
get outlineItems(): IOutlineSource[];
|
|
3686
|
+
get isBand(): boolean;
|
|
3687
|
+
protected _datable(): boolean;
|
|
3688
|
+
protected _getEditProps(): IPropInfo[];
|
|
3689
|
+
isAncestorOf(item: ReportPageItem): boolean;
|
|
3690
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3691
|
+
protected _doSave(target: any): void;
|
|
3692
|
+
_fieldsChanged(field: CrosstabField): void;
|
|
3693
|
+
}
|
|
3694
|
+
|
|
3289
3695
|
declare enum PaperSize {
|
|
3290
3696
|
A0 = "A0",
|
|
3291
3697
|
A1 = "A1",
|
|
@@ -3441,7 +3847,7 @@ declare class ReportRootItem extends ReportGroupItem {
|
|
|
3441
3847
|
/**
|
|
3442
3848
|
* Report model.
|
|
3443
3849
|
*/
|
|
3444
|
-
declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
3850
|
+
declare class Report extends EventAware implements IEditCommandStackOwner, IPropertyContainer {
|
|
3445
3851
|
static readonly RESET = "onReportReset";
|
|
3446
3852
|
static readonly PAPER_CHANGED = "onReportPaperChanged";
|
|
3447
3853
|
static readonly ITEM_ADD = "onReportItemAdd";
|
|
@@ -3451,6 +3857,7 @@ declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
|
3451
3857
|
static readonly ITEMS_REMOVED = "onReportItemsRemoved";
|
|
3452
3858
|
static readonly ITEM_CHANGED = "onReportItemChanged";
|
|
3453
3859
|
static readonly ITEM_MOVED = "onReportItemMoved";
|
|
3860
|
+
static readonly COLLECTION_CHANGED = "onReportCollectionChanged";
|
|
3454
3861
|
static readonly COMMANDS_STACK_CHANGED = "onReportCommandStackChanged";
|
|
3455
3862
|
static readonly DIRTY_CHANGED = "onReportDirtyChanged";
|
|
3456
3863
|
static readonly DATA_ADDED = "onReportDataAdded";
|
|
@@ -3485,6 +3892,7 @@ declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
|
3485
3892
|
onDesignDataManagerFieldNameChanged(dm: DesignDataManager, data: IReportData, newName: string, oldName: string): void;
|
|
3486
3893
|
editCommandStackChanged(stack: EditCommandStack, cmd: EditCommand, undoable: boolean, redoable: boolean): void;
|
|
3487
3894
|
editCommandStackDirtyChanged(stack: EditCommandStack): void;
|
|
3895
|
+
addCollectionItem(collection: IPropertySource): void;
|
|
3488
3896
|
/** @internal */
|
|
3489
3897
|
get loader(): IReportLoader;
|
|
3490
3898
|
/** info */
|
|
@@ -3528,6 +3936,10 @@ declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
|
3528
3936
|
itemByName(name: string): ReportItem;
|
|
3529
3937
|
defaultInit(item: ReportItem, group: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
3530
3938
|
addItem(parent: ReportGroupItem, item: ReportItem, index?: number): boolean;
|
|
3939
|
+
moveCollectionItem(collection: ReportItemCollection<any>, from: number, to: number): void;
|
|
3940
|
+
addChartSeries(chart: HichartItem, seriesType: string): HichartSeries;
|
|
3941
|
+
addHichartPlotLine(axis: HichartAxis, config?: object): HichartAxisPlotLine;
|
|
3942
|
+
addHichartPlotBand(axis: HichartAxis, config?: object): HichartAxisPlotBand;
|
|
3531
3943
|
/**
|
|
3532
3944
|
* 테이블 행을 추가한다.
|
|
3533
3945
|
*
|
|
@@ -3567,6 +3979,7 @@ declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
|
3567
3979
|
*/
|
|
3568
3980
|
moveTableColumns(table: TableContainer | TableBand, col: number, count: number, delta: number): void;
|
|
3569
3981
|
moveTableColumnsToNearest(table: TableContainer | TableBand, col: number, count: number, delta: number): void;
|
|
3982
|
+
addCrosstabField(collection: CrosstabFieldCollection<any>, field: string): void;
|
|
3570
3983
|
/**
|
|
3571
3984
|
* 리포트 아이템을 제거한다.
|
|
3572
3985
|
*
|
|
@@ -3639,10 +4052,12 @@ declare class Report extends EventAware implements IEditCommandStackOwner {
|
|
|
3639
4052
|
private onPageItemRemoved;
|
|
3640
4053
|
private onPageItemsRemoved;
|
|
3641
4054
|
private onPageItemChanged;
|
|
4055
|
+
private onPageCollectionChanged;
|
|
3642
4056
|
protected _fireReset(): void;
|
|
3643
4057
|
protected _firePaperChanged(): void;
|
|
3644
4058
|
protected _fireItemAdd(group: ReportGroupItem, item: ReportItem, index: number): boolean;
|
|
3645
4059
|
protected _fireItemMoved(item: ReportItem, index: number): void;
|
|
4060
|
+
protected _fireCollectionChanged(collection: ReportItemCollection<any>): void;
|
|
3646
4061
|
protected _fireCellMerged(cell: TableCell): void;
|
|
3647
4062
|
protected _fireAlert(item: ReportItem, message: string): void;
|
|
3648
4063
|
}
|
|
@@ -3664,6 +4079,7 @@ declare abstract class ChartObject<T extends ReportGroupItem> extends ReportItem
|
|
|
3664
4079
|
constructor(chart: T, name?: string);
|
|
3665
4080
|
get chart(): T;
|
|
3666
4081
|
canHide(): boolean;
|
|
4082
|
+
getWrapper(): object;
|
|
3667
4083
|
get page(): ReportPage;
|
|
3668
4084
|
get report(): Report;
|
|
3669
4085
|
get dataParent(): ReportGroupItem;
|
|
@@ -3689,17 +4105,26 @@ declare abstract class ChartTextObject<T extends ReportGroupItem> extends ChartO
|
|
|
3689
4105
|
protected _getStyleProps(): string[];
|
|
3690
4106
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3691
4107
|
protected _doSave(target: object): void;
|
|
4108
|
+
getWrapper(): object;
|
|
3692
4109
|
}
|
|
3693
4110
|
declare abstract class ChartSeries<T extends ReportGroupItem> extends ChartObject<T> {
|
|
4111
|
+
static readonly PROP_SERIES_ID = "id";
|
|
4112
|
+
static readonly PROP_DESIGN_VISIBLE = "designVisible";
|
|
3694
4113
|
static readonly PROP_VALUE_FIELD = "valueField";
|
|
3695
4114
|
static readonly PROP_VALUES = "values";
|
|
3696
4115
|
static readonly PROPINFOS: IPropInfo[];
|
|
4116
|
+
private _id;
|
|
3697
4117
|
private _designVisible;
|
|
3698
4118
|
private _valueField;
|
|
3699
4119
|
private _values;
|
|
3700
4120
|
constructor(chart: T);
|
|
3701
4121
|
getPropDomain(prop: IPropInfo): any[];
|
|
3702
4122
|
abstract get seriesType(): string;
|
|
4123
|
+
/**
|
|
4124
|
+
* id
|
|
4125
|
+
*/
|
|
4126
|
+
get id(): string;
|
|
4127
|
+
set id(value: string);
|
|
3703
4128
|
/**
|
|
3704
4129
|
* design visible
|
|
3705
4130
|
*/
|
|
@@ -3715,7 +4140,8 @@ declare abstract class ChartSeries<T extends ReportGroupItem> extends ChartObjec
|
|
|
3715
4140
|
*/
|
|
3716
4141
|
get values(): number[];
|
|
3717
4142
|
set values(value: number[]);
|
|
3718
|
-
|
|
4143
|
+
hasValuesProp(): boolean;
|
|
4144
|
+
getValues(ctx: PrintContext, dp: IReportDataProvider): any[];
|
|
3719
4145
|
getSaveType(): string;
|
|
3720
4146
|
get displayPath(): string;
|
|
3721
4147
|
get outlineLabel(): string;
|
|
@@ -3725,12 +4151,13 @@ declare abstract class ChartSeries<T extends ReportGroupItem> extends ChartObjec
|
|
|
3725
4151
|
}
|
|
3726
4152
|
declare abstract class ChartSeriesCollection<T extends ReportGroupItem> extends ReportItemCollection<ChartSeries<T>> {
|
|
3727
4153
|
private _chart;
|
|
3728
|
-
|
|
4154
|
+
protected _series: ChartSeries<T>[];
|
|
3729
4155
|
constructor(chart?: T);
|
|
3730
4156
|
get outlineParent(): IOutlineSource;
|
|
3731
4157
|
get outlineLabel(): string;
|
|
3732
4158
|
get outlineExpandable(): boolean;
|
|
3733
4159
|
get outlineItems(): IOutlineSource[];
|
|
4160
|
+
get owner(): ReportItem;
|
|
3734
4161
|
/** chart */
|
|
3735
4162
|
get chart(): T;
|
|
3736
4163
|
/** count */
|
|
@@ -3757,23 +4184,84 @@ declare abstract class ChartSeriesCollection<T extends ReportGroupItem> extends
|
|
|
3757
4184
|
private $_add;
|
|
3758
4185
|
private $_invalidateSeries;
|
|
3759
4186
|
private $_seriesChanged;
|
|
4187
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
3760
4188
|
}
|
|
3761
4189
|
|
|
4190
|
+
declare enum HichartDash {
|
|
4191
|
+
DASH = "Dash",
|
|
4192
|
+
DASH_DOT = "DashDot",
|
|
4193
|
+
DOT = "Dot",
|
|
4194
|
+
LONG_DASH = "LongDash",
|
|
4195
|
+
LONG_DASH_DOT = "LongDashDot",
|
|
4196
|
+
LONG_DASH_DOT_DOT = "LongDashDotDot",
|
|
4197
|
+
SHORT_DASH = "ShortDash",
|
|
4198
|
+
SHORT_DASH_DOT = "ShortDashDot",
|
|
4199
|
+
SHORT_DASH_DOT_DOT = "ShortDashDotDot",
|
|
4200
|
+
SHORT_DOT = "ShortDot",
|
|
4201
|
+
SOLID = "Solid"
|
|
4202
|
+
}
|
|
3762
4203
|
/**
|
|
3763
4204
|
* Chart title.
|
|
3764
4205
|
*/
|
|
3765
4206
|
declare class HichartTitle extends ChartTextObject<HichartItem> {
|
|
4207
|
+
static readonly PROP_TITLE_ALIGN = "align";
|
|
4208
|
+
static readonly PROP_TITLE_VERTICAL_ALIGN = "verticalAlign";
|
|
4209
|
+
static readonly PROP_TITLE_X = "x";
|
|
4210
|
+
static readonly PROP_TITLE_Y = "y";
|
|
4211
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4212
|
+
private _align;
|
|
4213
|
+
private _verticalAlign;
|
|
4214
|
+
private _x;
|
|
4215
|
+
private _y;
|
|
4216
|
+
constructor(chart: HichartItem);
|
|
4217
|
+
/**
|
|
4218
|
+
* align
|
|
4219
|
+
*/
|
|
4220
|
+
get align(): Align;
|
|
4221
|
+
set align(value: Align);
|
|
4222
|
+
/**
|
|
4223
|
+
* vertical align
|
|
4224
|
+
*/
|
|
4225
|
+
get verticalAlign(): VerticalAlign;
|
|
4226
|
+
set verticalAlign(value: VerticalAlign);
|
|
4227
|
+
/**
|
|
4228
|
+
* x
|
|
4229
|
+
*/
|
|
4230
|
+
get x(): number;
|
|
4231
|
+
set x(value: number);
|
|
4232
|
+
/**
|
|
4233
|
+
* y
|
|
4234
|
+
*/
|
|
4235
|
+
get y(): number;
|
|
4236
|
+
set y(value: number);
|
|
4237
|
+
getWrapper(): object;
|
|
4238
|
+
getSaveLabel(): string;
|
|
4239
|
+
protected _getEditProps(): IPropInfo[];
|
|
4240
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4241
|
+
protected _doSave(target: object): void;
|
|
4242
|
+
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
4243
|
+
}
|
|
4244
|
+
declare class HichartSubtitle extends HichartTitle {
|
|
3766
4245
|
constructor(chart: HichartItem);
|
|
3767
4246
|
getSaveLabel(): string;
|
|
4247
|
+
protected _isDefaultVisible(): boolean;
|
|
3768
4248
|
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
3769
4249
|
}
|
|
4250
|
+
declare enum HichartStacking {
|
|
4251
|
+
NORMAL = "normal",
|
|
4252
|
+
PERCENT = "percent"
|
|
4253
|
+
}
|
|
3770
4254
|
/**
|
|
3771
4255
|
* Highcharts chart item.
|
|
3772
4256
|
*/
|
|
3773
4257
|
declare class HichartItem extends ReportGroupItem {
|
|
3774
4258
|
static readonly PROP_HICHART_THEME = "theme";
|
|
3775
4259
|
static readonly PROP_HICHART_INVERTED = "inverted";
|
|
4260
|
+
static readonly PROP_HICHART_STACKING = "stacking";
|
|
4261
|
+
static readonly PROP_HICHART_PLOT_BORDER_WIDTH = "plotBorderWidth";
|
|
4262
|
+
static readonly PROP_HICHART_PLOT_BORDER_COLOR = "plotBorderColor";
|
|
3776
4263
|
static readonly PROP_HICHART_TITLE = "title";
|
|
4264
|
+
static readonly PROP_HICHART_SUBTITLE = "subtitle";
|
|
3777
4265
|
static readonly PROP_HICHART_XAXIS = "xAxis";
|
|
3778
4266
|
static readonly PROP_HICHART_YAXIS = "yAxis";
|
|
3779
4267
|
static readonly PROP_HICHART_LEGEND = "legend";
|
|
@@ -3784,7 +4272,12 @@ declare class HichartItem extends ReportGroupItem {
|
|
|
3784
4272
|
static readonly ITEM_TYPE = "Highchart";
|
|
3785
4273
|
private _theme;
|
|
3786
4274
|
private _inverted;
|
|
4275
|
+
private _stacking;
|
|
4276
|
+
private _plotBorderWidth;
|
|
4277
|
+
private _plotBorderColor;
|
|
4278
|
+
private _colors;
|
|
3787
4279
|
private _title;
|
|
4280
|
+
private _subtitle;
|
|
3788
4281
|
private _xAxis;
|
|
3789
4282
|
private _yAxis;
|
|
3790
4283
|
private _legend;
|
|
@@ -3797,8 +4290,19 @@ declare class HichartItem extends ReportGroupItem {
|
|
|
3797
4290
|
/** inverted */
|
|
3798
4291
|
get inverted(): boolean;
|
|
3799
4292
|
set inverted(value: boolean);
|
|
4293
|
+
/** stacking */
|
|
4294
|
+
get stacking(): HichartStacking;
|
|
4295
|
+
set stacking(value: HichartStacking);
|
|
4296
|
+
/** plotBorderWidth */
|
|
4297
|
+
get plotBorderWidth(): number;
|
|
4298
|
+
set plotBorderWidth(value: number);
|
|
4299
|
+
/** plotBorderColor */
|
|
4300
|
+
get plotBorderColor(): string;
|
|
4301
|
+
set plotBorderColor(value: string);
|
|
3800
4302
|
/** title */
|
|
3801
4303
|
get title(): HichartTitle;
|
|
4304
|
+
/** subtitle */
|
|
4305
|
+
get subtitle(): HichartSubtitle;
|
|
3802
4306
|
/** xAxis */
|
|
3803
4307
|
get xAxis(): HichartXAxis;
|
|
3804
4308
|
/** yAxis */
|
|
@@ -3815,6 +4319,7 @@ declare class HichartItem extends ReportGroupItem {
|
|
|
3815
4319
|
addSeries(series: any, index?: number): HichartSeries;
|
|
3816
4320
|
removeSeries(series: HichartSeries): void;
|
|
3817
4321
|
selectSeries(series: HichartSeries): void;
|
|
4322
|
+
getParentBand(): DataBand;
|
|
3818
4323
|
getSaveType(): string;
|
|
3819
4324
|
get outlineLabel(): string;
|
|
3820
4325
|
needDesignWidth(): boolean;
|
|
@@ -3831,41 +4336,296 @@ declare class HichartItem extends ReportGroupItem {
|
|
|
3831
4336
|
* Axis title.
|
|
3832
4337
|
*/
|
|
3833
4338
|
declare class HichartAxisTitle extends ChartTextObject<HichartItem> {
|
|
4339
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4340
|
+
constructor(chart: HichartItem);
|
|
4341
|
+
getSaveLabel(): string;
|
|
4342
|
+
canRotate(): boolean;
|
|
4343
|
+
protected _getEditProps(): IPropInfo[];
|
|
4344
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4345
|
+
protected _doSave(target: object): void;
|
|
4346
|
+
getWrapper(): object;
|
|
4347
|
+
}
|
|
4348
|
+
declare class HichartAxisLabels extends ChartObject<HichartItem> {
|
|
4349
|
+
static readonly PROP_ALIGN = "align";
|
|
4350
|
+
static readonly PROP_FORMAT = "format";
|
|
4351
|
+
static readonly PROP_PADDING = "padding";
|
|
4352
|
+
static readonly PROP_STAGGER_LINES = "staggerLines";
|
|
4353
|
+
static readonly PROP_STEP = "step";
|
|
4354
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4355
|
+
private _align;
|
|
4356
|
+
private _format;
|
|
4357
|
+
private _padding;
|
|
4358
|
+
private _staggerLines;
|
|
4359
|
+
private _step;
|
|
3834
4360
|
constructor(chart: HichartItem);
|
|
4361
|
+
/** align */
|
|
4362
|
+
get align(): Align;
|
|
4363
|
+
set align(value: Align);
|
|
4364
|
+
/** format */
|
|
4365
|
+
get format(): string;
|
|
4366
|
+
set format(value: string);
|
|
4367
|
+
/** padding */
|
|
4368
|
+
get padding(): number;
|
|
4369
|
+
set padding(value: number);
|
|
4370
|
+
/** staggerLines */
|
|
4371
|
+
get staggerLines(): number;
|
|
4372
|
+
set staggerLines(value: number);
|
|
4373
|
+
/** step */
|
|
4374
|
+
get step(): number;
|
|
4375
|
+
set step(value: number);
|
|
4376
|
+
canRotate(): boolean;
|
|
3835
4377
|
getSaveLabel(): string;
|
|
4378
|
+
protected _getEditProps(): IPropInfo[];
|
|
4379
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4380
|
+
protected _doSave(target: object): void;
|
|
4381
|
+
getWrapper(): object;
|
|
3836
4382
|
}
|
|
3837
|
-
declare
|
|
3838
|
-
static readonly
|
|
4383
|
+
declare class HichartAxisPlotLabel extends ChartObject<HichartItem> {
|
|
4384
|
+
static readonly PROP_ALIGN = "align";
|
|
4385
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
4386
|
+
static readonly PROP_TEXT = "text";
|
|
4387
|
+
static readonly PROP_TEXT_ALIGN = "textAlign";
|
|
4388
|
+
static readonly PROP_X = "x";
|
|
4389
|
+
static readonly PROP_Y = "y";
|
|
3839
4390
|
static readonly PROPINFOS: IPropInfo[];
|
|
3840
|
-
private
|
|
4391
|
+
private static readonly styleProps;
|
|
4392
|
+
private _align;
|
|
4393
|
+
private _verticalAlign;
|
|
4394
|
+
private _text;
|
|
4395
|
+
private _textAlign;
|
|
4396
|
+
private _x;
|
|
4397
|
+
private _y;
|
|
3841
4398
|
constructor(chart: HichartItem);
|
|
3842
|
-
|
|
3843
|
-
get
|
|
4399
|
+
/** align */
|
|
4400
|
+
get align(): Align;
|
|
4401
|
+
set align(value: Align);
|
|
4402
|
+
/** verticalAlign */
|
|
4403
|
+
get verticalAlign(): VerticalAlign;
|
|
4404
|
+
set verticalAlign(value: VerticalAlign);
|
|
4405
|
+
/** text */
|
|
4406
|
+
get text(): string;
|
|
4407
|
+
set text(value: string);
|
|
4408
|
+
/** textAlign */
|
|
4409
|
+
get textAlign(): Align;
|
|
4410
|
+
set textAlign(value: Align);
|
|
4411
|
+
/** x */
|
|
4412
|
+
get x(): number;
|
|
4413
|
+
set x(value: number);
|
|
4414
|
+
/** y */
|
|
4415
|
+
get y(): number;
|
|
4416
|
+
set y(value: number);
|
|
4417
|
+
getSaveLabel(): string;
|
|
4418
|
+
canRotate(): boolean;
|
|
3844
4419
|
protected _getEditProps(): IPropInfo[];
|
|
4420
|
+
protected _getStyleProps(): string[];
|
|
3845
4421
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3846
4422
|
protected _doSave(target: object): void;
|
|
4423
|
+
getWrapper(): object;
|
|
3847
4424
|
}
|
|
3848
|
-
declare class
|
|
4425
|
+
declare class HichartAxisPlotLine extends ReportItemCollectionItem {
|
|
4426
|
+
static readonly PROP_VALUE = "value";
|
|
4427
|
+
static readonly PROP_COLOR = "color";
|
|
4428
|
+
static readonly PROP_WIDTH = "width";
|
|
4429
|
+
static readonly PROP_DASH_STYLE = "dashStyle";
|
|
4430
|
+
static readonly PROP_LABEL = "label";
|
|
4431
|
+
static readonly PROP_Z_INDEX = "zIndex";
|
|
4432
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4433
|
+
private _value;
|
|
4434
|
+
private _color;
|
|
4435
|
+
private _width;
|
|
4436
|
+
private _dashStyle;
|
|
4437
|
+
private _zIndex;
|
|
4438
|
+
private _index;
|
|
4439
|
+
private _label;
|
|
4440
|
+
constructor(collection: HichartAxisPlotLineCollection, src: any);
|
|
4441
|
+
/** value */
|
|
4442
|
+
get value(): number;
|
|
4443
|
+
set value(value: number);
|
|
4444
|
+
/** color */
|
|
4445
|
+
get color(): string;
|
|
4446
|
+
set color(value: string);
|
|
4447
|
+
/** width */
|
|
4448
|
+
get width(): number;
|
|
4449
|
+
set width(value: number);
|
|
4450
|
+
/** dashStyle */
|
|
4451
|
+
get dashStyle(): HichartDash;
|
|
4452
|
+
set dashStyle(value: HichartDash);
|
|
4453
|
+
/** zIndex */
|
|
4454
|
+
get zIndex(): number;
|
|
4455
|
+
set zIndex(value: number);
|
|
4456
|
+
get label(): HichartAxisPlotLabel;
|
|
4457
|
+
get itemType(): string;
|
|
4458
|
+
get index(): number;
|
|
4459
|
+
get page(): ReportPage;
|
|
4460
|
+
get collection(): HichartAxisPlotLineCollection;
|
|
4461
|
+
get displayPath(): string;
|
|
4462
|
+
get marqueeParent(): ReportItem;
|
|
4463
|
+
protected _getStyleProps(): string[];
|
|
4464
|
+
getEditProps(): IPropInfo[];
|
|
4465
|
+
protected _doLoad(src: any): void;
|
|
4466
|
+
protected _doSave(target: any): void;
|
|
4467
|
+
getWrapper(): object;
|
|
4468
|
+
getCollectionLabel(): string;
|
|
4469
|
+
}
|
|
4470
|
+
declare class HichartAxisPlotLineCollection extends ReportItemCollection<HichartAxisPlotLine> {
|
|
4471
|
+
private _owner;
|
|
4472
|
+
private _lines;
|
|
4473
|
+
constructor(owner: HichartAxis);
|
|
4474
|
+
get owner(): ReportItem;
|
|
4475
|
+
get axis(): HichartAxis;
|
|
4476
|
+
load(src: any): void;
|
|
4477
|
+
save(target: any): void;
|
|
4478
|
+
indexOf(item: HichartAxisPlotLine): number;
|
|
4479
|
+
add(line: HichartAxisPlotLine | ConfigObject, index?: number): HichartAxisPlotLine;
|
|
4480
|
+
remove(line: HichartAxisPlotLine): void;
|
|
4481
|
+
getWrapper(): any;
|
|
4482
|
+
get count(): number;
|
|
4483
|
+
get items(): ReportPageItem[];
|
|
4484
|
+
get outlineParent(): IOutlineSource;
|
|
4485
|
+
get outlineExpandable(): boolean;
|
|
4486
|
+
get outlineLabel(): string;
|
|
4487
|
+
get outlineItems(): IOutlineSource[];
|
|
4488
|
+
isEditableCollection(): boolean;
|
|
4489
|
+
getCollectionLabel(): string;
|
|
4490
|
+
get page(): ReportPage;
|
|
4491
|
+
get displayPath(): string;
|
|
4492
|
+
get level(): number;
|
|
4493
|
+
get marqueeParent(): ReportItem;
|
|
4494
|
+
get(index: number): HichartAxisPlotLine;
|
|
4495
|
+
getSaveType(): string;
|
|
4496
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
4497
|
+
private $_resetLines;
|
|
4498
|
+
}
|
|
4499
|
+
declare class HichartAxisPlotBand extends ReportItemCollectionItem {
|
|
4500
|
+
static readonly PROP_FROM = "from";
|
|
4501
|
+
static readonly PROP_TO = "to";
|
|
4502
|
+
static readonly PROP_COLOR = "color";
|
|
4503
|
+
static readonly PROP_LABEL = "label";
|
|
4504
|
+
static readonly PROP_Z_INDEX = "zIndex";
|
|
4505
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4506
|
+
private _color;
|
|
4507
|
+
private _from;
|
|
4508
|
+
private _to;
|
|
4509
|
+
private _zIndex;
|
|
4510
|
+
private _index;
|
|
4511
|
+
private _label;
|
|
4512
|
+
constructor(collection: HichartAxisPlotBandCollection, src: any);
|
|
4513
|
+
/** color */
|
|
4514
|
+
get color(): string;
|
|
4515
|
+
set color(value: string);
|
|
4516
|
+
/** from */
|
|
4517
|
+
get from(): number;
|
|
4518
|
+
set from(value: number);
|
|
4519
|
+
/** to */
|
|
4520
|
+
get to(): number;
|
|
4521
|
+
set to(value: number);
|
|
4522
|
+
/** zIndex */
|
|
4523
|
+
get zIndex(): number;
|
|
4524
|
+
set zIndex(value: number);
|
|
4525
|
+
get label(): HichartAxisPlotLabel;
|
|
4526
|
+
get itemType(): string;
|
|
4527
|
+
get index(): number;
|
|
4528
|
+
get page(): ReportPage;
|
|
4529
|
+
get collection(): HichartAxisPlotBandCollection;
|
|
4530
|
+
get displayPath(): string;
|
|
4531
|
+
get marqueeParent(): ReportItem;
|
|
4532
|
+
protected _getStyleProps(): string[];
|
|
4533
|
+
getEditProps(): IPropInfo[];
|
|
4534
|
+
protected _doLoad(src: any): void;
|
|
4535
|
+
protected _doSave(target: any): void;
|
|
4536
|
+
getWrapper(): object;
|
|
4537
|
+
getCollectionLabel(): string;
|
|
4538
|
+
}
|
|
4539
|
+
declare class HichartAxisPlotBandCollection extends ReportItemCollection<HichartAxisPlotBand> {
|
|
4540
|
+
private _owner;
|
|
4541
|
+
private _bands;
|
|
4542
|
+
constructor(owner: HichartAxis);
|
|
4543
|
+
get owner(): ReportItem;
|
|
4544
|
+
get axis(): HichartAxis;
|
|
4545
|
+
load(src: any): void;
|
|
4546
|
+
save(target: any): void;
|
|
4547
|
+
indexOf(item: HichartAxisPlotBand): number;
|
|
4548
|
+
add(band: HichartAxisPlotBand | ConfigObject, index?: number): HichartAxisPlotBand;
|
|
4549
|
+
remove(line: HichartAxisPlotBand): void;
|
|
4550
|
+
getWrapper(): any;
|
|
4551
|
+
get count(): number;
|
|
4552
|
+
get items(): ReportPageItem[];
|
|
4553
|
+
get outlineParent(): IOutlineSource;
|
|
4554
|
+
get outlineExpandable(): boolean;
|
|
4555
|
+
get outlineLabel(): string;
|
|
4556
|
+
get outlineItems(): IOutlineSource[];
|
|
4557
|
+
isEditableCollection(): boolean;
|
|
4558
|
+
getCollectionLabel(): string;
|
|
4559
|
+
get page(): ReportPage;
|
|
4560
|
+
get displayPath(): string;
|
|
4561
|
+
get level(): number;
|
|
4562
|
+
get marqueeParent(): ReportItem;
|
|
4563
|
+
get(index: number): HichartAxisPlotBand;
|
|
4564
|
+
getSaveType(): string;
|
|
4565
|
+
protected _doMoveItem(from: number, to: number): boolean;
|
|
4566
|
+
private $_resetBands;
|
|
4567
|
+
}
|
|
4568
|
+
declare abstract class HichartAxis extends ChartObject<HichartItem> {
|
|
4569
|
+
static readonly PROP_TITLE = "title";
|
|
3849
4570
|
static readonly PROP_CATEGORIES = "categories";
|
|
3850
4571
|
static readonly PROP_CATEGORY_FIELD = "categoryField";
|
|
4572
|
+
static readonly PROP_LABELS = "labels";
|
|
4573
|
+
static readonly PROP_MIN_PADDING = "minPadding";
|
|
4574
|
+
static readonly PROP_MAX_PADDING = "maxPadding";
|
|
4575
|
+
static readonly PROP_PLOT_LINES = "plotLines";
|
|
4576
|
+
static readonly PROP_PLOT_BANDS = "plotBands";
|
|
3851
4577
|
static readonly PROPINFOS: IPropInfo[];
|
|
3852
4578
|
private _categories;
|
|
3853
4579
|
private _categoryField;
|
|
4580
|
+
private _minPadding;
|
|
4581
|
+
private _maxPadding;
|
|
4582
|
+
private _title;
|
|
4583
|
+
private _labels;
|
|
4584
|
+
private _plotLines;
|
|
4585
|
+
private _plotBands;
|
|
3854
4586
|
constructor(chart: HichartItem);
|
|
3855
4587
|
getPropDomain(prop: IPropInfo): any[];
|
|
4588
|
+
getPopupPropLabel(prop: string): string;
|
|
4589
|
+
get outlineItems(): IOutlineSource[];
|
|
4590
|
+
get outlineExpandable(): boolean;
|
|
4591
|
+
get title(): HichartAxisTitle;
|
|
4592
|
+
get labels(): HichartAxisLabels;
|
|
3856
4593
|
/** categories */
|
|
3857
4594
|
get categories(): string[];
|
|
3858
4595
|
set categories(value: string[]);
|
|
3859
4596
|
/** categoryField */
|
|
3860
4597
|
get categoryField(): string;
|
|
3861
4598
|
set categoryField(value: string);
|
|
4599
|
+
/** minPadding */
|
|
4600
|
+
get minPadding(): number;
|
|
4601
|
+
set minPadding(value: number);
|
|
4602
|
+
/** minPadding */
|
|
4603
|
+
get maxPadding(): number;
|
|
4604
|
+
set maxPadding(value: number);
|
|
4605
|
+
get plotLines(): HichartAxisPlotLineCollection;
|
|
4606
|
+
get plotBands(): HichartAxisPlotBandCollection;
|
|
3862
4607
|
getCategories(printing: boolean, dp: IReportDataProvider): any[];
|
|
4608
|
+
abstract getPlotLineConfig(): object;
|
|
4609
|
+
abstract getPlotBandConfig(): object;
|
|
4610
|
+
get outlineParent(): IOutlineSource;
|
|
4611
|
+
protected _getEditProps(): IPropInfo[];
|
|
4612
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
4613
|
+
protected _doSave(target: object): void;
|
|
4614
|
+
getWrapper(): object;
|
|
4615
|
+
}
|
|
4616
|
+
declare class HichartXAxis extends HichartAxis {
|
|
4617
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4618
|
+
constructor(chart: HichartItem);
|
|
4619
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
3863
4620
|
getSaveLabel(): string;
|
|
3864
4621
|
get displayPath(): string;
|
|
3865
4622
|
get outlineLabel(): string;
|
|
3866
4623
|
protected _getEditProps(): IPropInfo[];
|
|
3867
4624
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3868
4625
|
protected _doSave(target: object): void;
|
|
4626
|
+
getWrapper(): object;
|
|
4627
|
+
getPlotLineConfig(): object;
|
|
4628
|
+
getPlotBandConfig(): object;
|
|
3869
4629
|
}
|
|
3870
4630
|
declare class HichartYAxis extends HichartAxis {
|
|
3871
4631
|
static readonly PROP_MIN = "min";
|
|
@@ -3886,25 +4646,59 @@ declare class HichartYAxis extends HichartAxis {
|
|
|
3886
4646
|
protected _getEditProps(): IPropInfo[];
|
|
3887
4647
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3888
4648
|
protected _doSave(target: object): void;
|
|
4649
|
+
getWrapper(): object;
|
|
4650
|
+
getPlotLineConfig(): object;
|
|
4651
|
+
getPlotBandConfig(): object;
|
|
3889
4652
|
}
|
|
3890
4653
|
declare abstract class HichartSeries extends ChartSeries<HichartItem> {
|
|
4654
|
+
static readonly PROP_SERIES_COLOR = "color";
|
|
4655
|
+
static readonly PROP_SERIES_COLORS = "colors";
|
|
4656
|
+
static readonly PROP_SERIES_COLOR_BY_POINT = "colorByPoint";
|
|
4657
|
+
static readonly PROP_SERIES_SHOW_IN_LEGEND = "showInLegend";
|
|
3891
4658
|
static readonly PROPINFOS: IPropInfo[];
|
|
4659
|
+
private _color;
|
|
4660
|
+
private _colors;
|
|
4661
|
+
private _colorByPoint;
|
|
4662
|
+
private _showInLegend;
|
|
3892
4663
|
constructor(chart: HichartItem);
|
|
3893
4664
|
/**
|
|
3894
|
-
*
|
|
4665
|
+
* color
|
|
4666
|
+
*/
|
|
4667
|
+
get color(): string;
|
|
4668
|
+
set color(value: string);
|
|
4669
|
+
/**
|
|
4670
|
+
* colors
|
|
3895
4671
|
*/
|
|
4672
|
+
get colors(): string[];
|
|
4673
|
+
set colors(value: string[]);
|
|
4674
|
+
/**
|
|
4675
|
+
* colorByPoint
|
|
4676
|
+
*/
|
|
4677
|
+
get colorByPoint(): boolean;
|
|
4678
|
+
set colorByPoint(value: boolean);
|
|
4679
|
+
/**
|
|
4680
|
+
* showInLegend
|
|
4681
|
+
*/
|
|
4682
|
+
get showInLegend(): boolean;
|
|
4683
|
+
set showInLegend(value: boolean);
|
|
3896
4684
|
canHideMarker(): boolean;
|
|
3897
|
-
|
|
4685
|
+
wrap(target: any): any;
|
|
3898
4686
|
get outlineParent(): IOutlineSource;
|
|
3899
4687
|
protected _getEditProps(): IPropInfo[];
|
|
3900
|
-
|
|
4688
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
3901
4689
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3902
4690
|
protected _doSave(target: object): void;
|
|
3903
4691
|
getCollectionLabel(): string;
|
|
3904
4692
|
canRemoveFrom(): boolean;
|
|
4693
|
+
getValues(ctx: PrintContext, dp: IReportDataProvider): any[];
|
|
4694
|
+
protected _getFieldProps(): string[];
|
|
4695
|
+
protected _getValues(ctx: PrintContext, prop: string, dp: IReportDataProvider): number[];
|
|
3905
4696
|
}
|
|
3906
4697
|
declare class HichartSeriesCollection extends ChartSeriesCollection<HichartItem> {
|
|
3907
4698
|
constructor(chart?: HichartItem);
|
|
4699
|
+
getIds(exept: string): string[];
|
|
4700
|
+
getCollectionLabel(): string;
|
|
4701
|
+
isCollectionProp(): boolean;
|
|
3908
4702
|
protected _createSeries(loader: IReportLoader, src: any): HichartSeries;
|
|
3909
4703
|
protected _seriesChanged(series: HichartSeries): void;
|
|
3910
4704
|
}
|
|
@@ -3917,10 +4711,20 @@ declare class HichartLegend extends ChartObject<HichartItem> {
|
|
|
3917
4711
|
static readonly PROP_HICHART_ALIGN = "align";
|
|
3918
4712
|
static readonly PROP_HICHART_VERTICAL_ALIGN = "verticalAlign";
|
|
3919
4713
|
static readonly PROP_HICHART_LAYOUT = "layout";
|
|
4714
|
+
static readonly PROP_HICHART_FLOATING = "floating";
|
|
4715
|
+
static readonly PROP_HICHART_X = "x";
|
|
4716
|
+
static readonly PROP_HICHART_Y = "y";
|
|
4717
|
+
static readonly PROP_HICHART_BORDER_WIDTH = "borderWidth";
|
|
4718
|
+
static readonly PROP_HICHART_SHADOW = "shadow";
|
|
3920
4719
|
static readonly PROPINFOS: IPropInfo[];
|
|
3921
4720
|
private _layout;
|
|
3922
4721
|
private _align;
|
|
3923
4722
|
private _verticalAlign;
|
|
4723
|
+
private _floating;
|
|
4724
|
+
private _x;
|
|
4725
|
+
private _y;
|
|
4726
|
+
private _borderWidth;
|
|
4727
|
+
private _shadow;
|
|
3924
4728
|
constructor(chart?: HichartItem);
|
|
3925
4729
|
/** align */
|
|
3926
4730
|
get align(): Align;
|
|
@@ -3931,11 +4735,38 @@ declare class HichartLegend extends ChartObject<HichartItem> {
|
|
|
3931
4735
|
/** layout */
|
|
3932
4736
|
get layout(): HichartLegendLayout;
|
|
3933
4737
|
set layout(value: HichartLegendLayout);
|
|
4738
|
+
/**
|
|
4739
|
+
* flaoting
|
|
4740
|
+
*/
|
|
4741
|
+
get floating(): boolean;
|
|
4742
|
+
set floating(value: boolean);
|
|
4743
|
+
/**
|
|
4744
|
+
* x
|
|
4745
|
+
*/
|
|
4746
|
+
get x(): number;
|
|
4747
|
+
set x(value: number);
|
|
4748
|
+
/**
|
|
4749
|
+
* y
|
|
4750
|
+
*/
|
|
4751
|
+
get y(): number;
|
|
4752
|
+
set y(value: number);
|
|
4753
|
+
/**
|
|
4754
|
+
* border width
|
|
4755
|
+
*/
|
|
4756
|
+
get borderWidth(): number;
|
|
4757
|
+
set borderWidth(value: number);
|
|
4758
|
+
/**
|
|
4759
|
+
* flaoting
|
|
4760
|
+
*/
|
|
4761
|
+
get shadow(): boolean;
|
|
4762
|
+
set shadow(value: boolean);
|
|
4763
|
+
getSaveLabel(): string;
|
|
4764
|
+
protected _isDefaultVisible(): boolean;
|
|
3934
4765
|
protected _getEditProps(): IPropInfo[];
|
|
4766
|
+
protected _getStyleProps(): string[];
|
|
3935
4767
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
3936
4768
|
protected _doSave(target: object): void;
|
|
3937
|
-
|
|
3938
|
-
protected _isDefaultVisible(): boolean;
|
|
4769
|
+
getWrapper(): object;
|
|
3939
4770
|
}
|
|
3940
4771
|
|
|
3941
4772
|
/**
|
|
@@ -3998,13 +4829,17 @@ declare abstract class ReportPageItem extends Base implements ISelectionSource,
|
|
|
3998
4829
|
*/
|
|
3999
4830
|
isDominantProp(prop: IPropInfo): boolean;
|
|
4000
4831
|
isCollectionProp(): boolean;
|
|
4832
|
+
isEditableCollection(): boolean;
|
|
4833
|
+
isCollectionItem(): boolean;
|
|
4001
4834
|
getPropertySources(): IPropertySource[];
|
|
4002
4835
|
getCollectionLabel(): string;
|
|
4003
4836
|
setItemsStyleProperty(sources: IPropertySource[], prop: string, value: any): void;
|
|
4837
|
+
getPopupPropLabel(prop: string): string;
|
|
4004
4838
|
abstract get page(): ReportPage;
|
|
4005
4839
|
abstract get displayPath(): string;
|
|
4006
4840
|
abstract get level(): number;
|
|
4007
4841
|
abstract get styles(): Styles;
|
|
4842
|
+
get outlineSource(): IOutlineSource;
|
|
4008
4843
|
get parent(): ReportGroupItem;
|
|
4009
4844
|
get dataParent(): ReportGroupItem;
|
|
4010
4845
|
get displayParent(): ReportPageItem;
|
|
@@ -4029,6 +4864,10 @@ declare abstract class ReportPageItem extends Base implements ISelectionSource,
|
|
|
4029
4864
|
*/
|
|
4030
4865
|
protected _savePropOf(target: object, info: IPropInfo): void;
|
|
4031
4866
|
protected _savePropsOf(target: object, infos: IPropInfo[]): void;
|
|
4867
|
+
protected _loadObject(item: ReportItem, loader: IReportLoader, src: any): void;
|
|
4868
|
+
protected _loadObjects(items: ReportItem[], loader: IReportLoader, src: any): void;
|
|
4869
|
+
protected _saveObject(item: ReportItem, target: any): void;
|
|
4870
|
+
protected _saveObjects(items: ReportItem[], target: any): void;
|
|
4032
4871
|
protected _arrangePaddingStyles(styles: Styles): void;
|
|
4033
4872
|
protected _validateSize(v: ValueString): ValueString;
|
|
4034
4873
|
}
|
|
@@ -4072,6 +4911,24 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
4072
4911
|
static readonly PROP_LOCKED = "locked";
|
|
4073
4912
|
static readonly PROP_PAGE_BREAK = "pageBreak";
|
|
4074
4913
|
static readonly PROP_STYLE_CALLBACK = "styleCallback";
|
|
4914
|
+
static readonly PROP_ROTATION = "rotation";
|
|
4915
|
+
static readonly DATA_PROP: {
|
|
4916
|
+
name: string;
|
|
4917
|
+
category: PropCategory;
|
|
4918
|
+
type: typeof ListableProperty;
|
|
4919
|
+
multiple: boolean;
|
|
4920
|
+
default: any;
|
|
4921
|
+
domain: any;
|
|
4922
|
+
};
|
|
4923
|
+
static readonly VALUE_PROP: {
|
|
4924
|
+
name: string;
|
|
4925
|
+
category: PropCategory;
|
|
4926
|
+
type: typeof ListableProperty;
|
|
4927
|
+
multiple: boolean;
|
|
4928
|
+
default: any;
|
|
4929
|
+
domain: any;
|
|
4930
|
+
validate: (source: ReportItem, value: any) => void;
|
|
4931
|
+
};
|
|
4075
4932
|
static readonly PROPINFOS: IPropInfo[];
|
|
4076
4933
|
static readonly SIZE_PROPINFOS: IPropInfo[];
|
|
4077
4934
|
static readonly VALUE_PROPINFOS: IPropInfo[];
|
|
@@ -4088,6 +4945,7 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
4088
4945
|
private _height;
|
|
4089
4946
|
private _minWidth;
|
|
4090
4947
|
private _minHeight;
|
|
4948
|
+
private _rotation;
|
|
4091
4949
|
private _styles;
|
|
4092
4950
|
private _styleCallback;
|
|
4093
4951
|
private _onGetStyles;
|
|
@@ -4218,6 +5076,11 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
4218
5076
|
*/
|
|
4219
5077
|
get minHeight(): ValueString;
|
|
4220
5078
|
set minHeight(value: ValueString);
|
|
5079
|
+
/**
|
|
5080
|
+
* rotation
|
|
5081
|
+
*/
|
|
5082
|
+
get rotation(): number;
|
|
5083
|
+
set rotation(value: number);
|
|
4221
5084
|
/**
|
|
4222
5085
|
* onGetValue
|
|
4223
5086
|
*/
|
|
@@ -4344,10 +5207,12 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
4344
5207
|
getHeight(domain: number): number;
|
|
4345
5208
|
getMinWidth(domain: number): number;
|
|
4346
5209
|
getMinHeight(domain: number): number;
|
|
5210
|
+
canSized(): boolean;
|
|
4347
5211
|
canResize(dir: ResizeDirection): boolean;
|
|
4348
5212
|
canResizeWidth(): boolean;
|
|
4349
5213
|
canResizeHeight(): boolean;
|
|
4350
5214
|
resize(width: number, height: number): ReportItem;
|
|
5215
|
+
canRotate(): boolean;
|
|
4351
5216
|
hasStyle(style: string): boolean;
|
|
4352
5217
|
getStyle(style: string): string;
|
|
4353
5218
|
setStyle(style: string, value: string): void;
|
|
@@ -4413,10 +5278,6 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
4413
5278
|
protected _doSave(target: object): void;
|
|
4414
5279
|
protected _doPrepareLayout(printing: boolean): void;
|
|
4415
5280
|
protected _doPreparePrint(ctx: PrintContext): void;
|
|
4416
|
-
protected _loadObject(item: ReportItem, loader: IReportLoader, src: any): void;
|
|
4417
|
-
protected _loadObjects(items: ReportItem[], loader: IReportLoader, src: any): void;
|
|
4418
|
-
protected _saveObject(item: ReportItem, target: any): void;
|
|
4419
|
-
protected _saveObjects(items: ReportItem[], target: any): void;
|
|
4420
5281
|
}
|
|
4421
5282
|
/**
|
|
4422
5283
|
* 하나 이상의 report item을 포함하는 group item 기반 클래스.
|
|
@@ -4454,7 +5315,8 @@ declare abstract class ReportGroupItem extends ReportItem {
|
|
|
4454
5315
|
needDesignHeight(): boolean;
|
|
4455
5316
|
get(index: number): ReportItem;
|
|
4456
5317
|
canContainsBand(): boolean;
|
|
4457
|
-
|
|
5318
|
+
canContainsBandGroup(): boolean;
|
|
5319
|
+
contains(item: ReportPageItem, deep?: boolean): boolean;
|
|
4458
5320
|
indexOf(item: ReportPageItem): number;
|
|
4459
5321
|
getNames(list: string[], recursive?: boolean): string[];
|
|
4460
5322
|
find(name: string, recursive?: boolean): ReportItem;
|
|
@@ -4466,6 +5328,7 @@ declare abstract class ReportGroupItem extends ReportItem {
|
|
|
4466
5328
|
add(item: ReportPageItem, index?: number, silent?: boolean): boolean;
|
|
4467
5329
|
canRemove(item: ReportItem): boolean;
|
|
4468
5330
|
remove(item: ReportItem): void;
|
|
5331
|
+
removeLast(): void;
|
|
4469
5332
|
clear(): void;
|
|
4470
5333
|
getMoveType(item: ReportItem): ItemMoveType;
|
|
4471
5334
|
canResizeChild(item: ReportItem, dir: ResizeDirection): boolean;
|
|
@@ -4538,14 +5401,15 @@ declare abstract class ReportItemCollectionItem extends ReportPageItem {
|
|
|
4538
5401
|
setItemsSubStyleProperty(sources: IPropertySource[], prop: string, style: string, value: any): void;
|
|
4539
5402
|
canPropAdoptDragSource(prop: IPropInfo, source: any): boolean;
|
|
4540
5403
|
adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
|
|
5404
|
+
isCollectionItem(): boolean;
|
|
4541
5405
|
abstract get itemType(): string;
|
|
4542
5406
|
/** styles */
|
|
4543
5407
|
get styles(): Styles;
|
|
4544
5408
|
set styles(value: Styles);
|
|
4545
|
-
get collection(): ReportItemCollection<any>;
|
|
4546
|
-
get level(): number;
|
|
4547
5409
|
load(src: any): void;
|
|
4548
5410
|
save(target: any): any;
|
|
5411
|
+
get collection(): ReportItemCollection<any>;
|
|
5412
|
+
get level(): number;
|
|
4549
5413
|
protected _doLoad(src: any): void;
|
|
4550
5414
|
protected _doSave(target: any): void;
|
|
4551
5415
|
protected abstract _getStyleProps(): string[];
|
|
@@ -4575,17 +5439,22 @@ declare abstract class ReportItemCollection<T extends ReportPageItem> extends Re
|
|
|
4575
5439
|
adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
|
|
4576
5440
|
isCollectionProp(): boolean;
|
|
4577
5441
|
getPropertySources(): IPropertySource[];
|
|
5442
|
+
abstract get owner(): ReportItem;
|
|
4578
5443
|
abstract get count(): number;
|
|
4579
5444
|
abstract get items(): ReportPageItem[];
|
|
4580
5445
|
abstract get(index: number): T;
|
|
5446
|
+
abstract indexOf(item: T): number;
|
|
4581
5447
|
preparePrint(ctx: PrintContext): void;
|
|
4582
5448
|
forEach(callback: (item: T, index: number) => void): void;
|
|
5449
|
+
protected abstract _doMoveItem(from: number, to: number): boolean;
|
|
5450
|
+
moveItem(from: number, to: number): boolean;
|
|
4583
5451
|
get styles(): Styles;
|
|
4584
5452
|
protected _itemChanged(item: ReportPageItem, prop: string, newValue: any, oldValue: any): void;
|
|
4585
5453
|
protected _itemAdded(item: ReportPageItem): void;
|
|
4586
5454
|
protected _itemsAdded(items: ReportPageItem[]): void;
|
|
4587
5455
|
protected _itemRemoved(item: ReportPageItem, oldParent: ReportGroupItem): void;
|
|
4588
5456
|
protected _itemsRemoved(items: ReportPageItem[]): void;
|
|
5457
|
+
protected _indexChanged(): void;
|
|
4589
5458
|
protected _doPreparePrint(ctx: PrintContext): void;
|
|
4590
5459
|
}
|
|
4591
5460
|
declare enum AnchorPosition {
|
|
@@ -4664,7 +5533,7 @@ declare abstract class CellContainer extends ReportGroupItem {
|
|
|
4664
5533
|
/** @internal */
|
|
4665
5534
|
noPrepareCell: boolean;
|
|
4666
5535
|
constructor(name: string);
|
|
4667
|
-
contains(item: ReportItem): boolean;
|
|
5536
|
+
contains(item: ReportItem, deep?: boolean): boolean;
|
|
4668
5537
|
indexOf(item: ReportItem): number;
|
|
4669
5538
|
findCell(item: ReportItem): CellGroup;
|
|
4670
5539
|
find(name: string, recursive?: boolean): ReportItem;
|
|
@@ -4699,8 +5568,48 @@ interface IPropertySource {
|
|
|
4699
5568
|
canPropAdoptDragSource(prop: IPropInfo, source: any): boolean;
|
|
4700
5569
|
adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
|
|
4701
5570
|
isCollectionProp(): boolean;
|
|
4702
|
-
|
|
5571
|
+
isEditableCollection(): boolean;
|
|
5572
|
+
isCollectionItem(): boolean;
|
|
4703
5573
|
getCollectionLabel(): string;
|
|
5574
|
+
getPropertySources(): IPropertySource[];
|
|
5575
|
+
getPopupPropLabel(prop: string): string;
|
|
5576
|
+
}
|
|
5577
|
+
interface IPropertyContainer {
|
|
5578
|
+
addCollectionItem(collection: IPropertySource): void;
|
|
5579
|
+
removeItem(item: IPropertySource): void;
|
|
5580
|
+
}
|
|
5581
|
+
declare enum PropCategory {
|
|
5582
|
+
DESIGN = "design",
|
|
5583
|
+
BASIC = "basic",
|
|
5584
|
+
TEXT = "text",
|
|
5585
|
+
DATA = "data",
|
|
5586
|
+
BOUND = "bound",
|
|
5587
|
+
EVENT = "event",
|
|
5588
|
+
EDITOR = "editor",
|
|
5589
|
+
REPORT = "report",
|
|
5590
|
+
PAPER = "paper",
|
|
5591
|
+
BOX = "box",
|
|
5592
|
+
TABLE = "table",
|
|
5593
|
+
BARCODE = "barcode",
|
|
5594
|
+
CELL = "cell",
|
|
5595
|
+
BAND = "band",
|
|
5596
|
+
BAND_GROUP = "band group",
|
|
5597
|
+
BAND_CELL = "band cell",
|
|
5598
|
+
FIELD = "field",
|
|
5599
|
+
COLUMN = "column",
|
|
5600
|
+
ROW = "row",
|
|
5601
|
+
CHART = "chart",
|
|
5602
|
+
TITLE = "title",
|
|
5603
|
+
SUBTITLE = "subtitle",
|
|
5604
|
+
AXIS = "axis",
|
|
5605
|
+
XAXIS = "x Axis",
|
|
5606
|
+
YAXIS = "y Axis",
|
|
5607
|
+
SERIES = "series",
|
|
5608
|
+
LABEL = "label",
|
|
5609
|
+
LABELS = "labels",
|
|
5610
|
+
DATA_LABELS = "dataLabels",
|
|
5611
|
+
MARKER = "marker",
|
|
5612
|
+
LEGEND = "legend"
|
|
4704
5613
|
}
|
|
4705
5614
|
interface IPropInfo {
|
|
4706
5615
|
name: string;
|
|
@@ -4709,9 +5618,11 @@ interface IPropInfo {
|
|
|
4709
5618
|
typeProps?: any;
|
|
4710
5619
|
parent?: string;
|
|
4711
5620
|
indented?: boolean;
|
|
5621
|
+
calculated?: boolean;
|
|
5622
|
+
collection?: boolean;
|
|
4712
5623
|
visible?: (source: IPropertySource) => boolean;
|
|
4713
|
-
multiple
|
|
4714
|
-
default
|
|
5624
|
+
multiple?: boolean;
|
|
5625
|
+
default?: any;
|
|
4715
5626
|
readonly?: boolean;
|
|
4716
5627
|
domain?: any[] | any;
|
|
4717
5628
|
label?: string;
|
|
@@ -4719,6 +5630,7 @@ interface IPropInfo {
|
|
|
4719
5630
|
params?: any;
|
|
4720
5631
|
signature?: string;
|
|
4721
5632
|
validate?: (source: IPropertySource, inputValue: any) => void;
|
|
5633
|
+
refresh?: boolean;
|
|
4722
5634
|
description?: string;
|
|
4723
5635
|
}
|
|
4724
5636
|
|
|
@@ -4912,7 +5824,6 @@ declare abstract class BoxContainerElement<T extends BoxContainer> extends Repor
|
|
|
4912
5824
|
protected _paddings: any;
|
|
4913
5825
|
protected _gap: number;
|
|
4914
5826
|
constructor(doc: Document, model: T, name: string);
|
|
4915
|
-
protected _doDispose(): void;
|
|
4916
5827
|
get gap(): number;
|
|
4917
5828
|
get debugLabel(): string;
|
|
4918
5829
|
protected _needDesignBox(): boolean;
|
|
@@ -4958,7 +5869,7 @@ declare class PageBodyElement extends ReportElement {
|
|
|
4958
5869
|
isPageDom(dom: HTMLElement): boolean;
|
|
4959
5870
|
findElement(modelName: string): ReportItemElement<ReportItem>;
|
|
4960
5871
|
findElementOf(dom: HTMLElement): ReportItemElement<ReportItem>;
|
|
4961
|
-
getElementOf(model:
|
|
5872
|
+
getElementOf(model: ReportPageItem): ReportElement;
|
|
4962
5873
|
/**
|
|
4963
5874
|
* 페이지의 한 행을 전부 차지하는가?
|
|
4964
5875
|
*/
|
|
@@ -5023,7 +5934,7 @@ declare class PageView extends LayerElement {
|
|
|
5023
5934
|
private _frontView;
|
|
5024
5935
|
private _sections;
|
|
5025
5936
|
private _sectionGuard;
|
|
5026
|
-
constructor(doc: Document
|
|
5937
|
+
constructor(doc: Document);
|
|
5027
5938
|
protected _doDispose(): void;
|
|
5028
5939
|
/** model */
|
|
5029
5940
|
get model(): ReportPage;
|
|
@@ -5049,7 +5960,7 @@ declare class PageView extends LayerElement {
|
|
|
5049
5960
|
afterRender(ctx: PrintContext): void;
|
|
5050
5961
|
findElement(modelName: string): ReportElement;
|
|
5051
5962
|
findElementOf(dom: HTMLElement): ReportElement;
|
|
5052
|
-
getElementOf(model:
|
|
5963
|
+
getElementOf(model: ReportPageItem): ReportElement;
|
|
5053
5964
|
getAllElements(root: ReportElement, bounds: Rectangle): ReportItemView[];
|
|
5054
5965
|
print(doc: Document, ctx: PrintContext, y: number): PrintPage[];
|
|
5055
5966
|
getSections(): ReportElement[];
|
|
@@ -5094,6 +6005,7 @@ declare class ReportView extends LayerElement implements IImageContainer {
|
|
|
5094
6005
|
private _editable;
|
|
5095
6006
|
private _emptyView;
|
|
5096
6007
|
private _pageView;
|
|
6008
|
+
private _activePage;
|
|
5097
6009
|
private _boxMeasurer;
|
|
5098
6010
|
private _boxInner;
|
|
5099
6011
|
private _nameMap;
|
|
@@ -5123,7 +6035,7 @@ declare class ReportView extends LayerElement implements IImageContainer {
|
|
|
5123
6035
|
};
|
|
5124
6036
|
findElement(modelName: string): ReportElement;
|
|
5125
6037
|
findElementOf(dom: HTMLElement): ReportElement;
|
|
5126
|
-
getElementOf(model:
|
|
6038
|
+
getElementOf(model: ReportPageItem): ReportElement;
|
|
5127
6039
|
getItemBoundingRect(element: VisualElement): Rectangle;
|
|
5128
6040
|
protected _getCssSelector(): string;
|
|
5129
6041
|
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
@@ -5167,7 +6079,8 @@ declare class PrintContext extends Base {
|
|
|
5167
6079
|
private _page;
|
|
5168
6080
|
private _detailPageCount;
|
|
5169
6081
|
private _detailPage;
|
|
5170
|
-
|
|
6082
|
+
detailRows: number[];
|
|
6083
|
+
noValueCallback: boolean;
|
|
5171
6084
|
report: Report;
|
|
5172
6085
|
container: HTMLDivElement;
|
|
5173
6086
|
headerHeight: number;
|
|
@@ -5187,6 +6100,7 @@ declare class PrintContext extends Base {
|
|
|
5187
6100
|
contextValues: ReportItemView[];
|
|
5188
6101
|
private _userData;
|
|
5189
6102
|
private _tags;
|
|
6103
|
+
private _bandSave;
|
|
5190
6104
|
constructor(printing?: boolean);
|
|
5191
6105
|
/**
|
|
5192
6106
|
* printing
|
|
@@ -5252,6 +6166,8 @@ declare class PrintContext extends Base {
|
|
|
5252
6166
|
unsetTag(tag: string): void;
|
|
5253
6167
|
getTag(tag: string, def?: any): any;
|
|
5254
6168
|
getValue(data: string, row: number, field: string): any;
|
|
6169
|
+
saveBand(): void;
|
|
6170
|
+
restoreBand(): void;
|
|
5255
6171
|
}
|
|
5256
6172
|
interface IReportData {
|
|
5257
6173
|
name: string;
|
|
@@ -5268,7 +6184,7 @@ interface IReportDataProvider {
|
|
|
5268
6184
|
getContextValue(path: string): any;
|
|
5269
6185
|
getValue(path: string, row: number): any;
|
|
5270
6186
|
getValueAt(data: string, path: string, row: number): any;
|
|
5271
|
-
getFieldValues(data: string, field: string): any[];
|
|
6187
|
+
getFieldValues(data: string, field: string, rows?: number[]): any[];
|
|
5272
6188
|
addData?(data: IReportData): boolean;
|
|
5273
6189
|
removeData?(data: string | IReportData): IReportData;
|
|
5274
6190
|
dataNameChanged?(data: IReportData, oldName: string): void;
|
|
@@ -5404,6 +6320,7 @@ declare abstract class ReportViewBase {
|
|
|
5404
6320
|
protected _options: ReportOptions;
|
|
5405
6321
|
protected _cm: boolean;
|
|
5406
6322
|
protected _container: PrintContainer | undefined;
|
|
6323
|
+
protected _currentPage: number;
|
|
5407
6324
|
constructor(container: string | HTMLDivElement, options?: ReportOptions);
|
|
5408
6325
|
abstract preview(): void;
|
|
5409
6326
|
abstract exportPdf(fonts: PdfFont[]): void;
|