realreport-designer 1.9.2 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/realreport-designer.cjs +920 -833
- package/dist/realreport-designer.d.ts +223 -65
- package/dist/realreport-designer.js +48923 -42471
- package/dist/realreport-designer.umd.js +920 -833
- package/dist/styles/realreport-designer.css +2459 -2377
- package/package.json +1 -1
|
@@ -131,6 +131,7 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
131
131
|
get sample(): any[];
|
|
132
132
|
getValues(): any[];
|
|
133
133
|
setValues(vals: any[]): void;
|
|
134
|
+
getFieldSample(): any[];
|
|
134
135
|
setSource(source: any[]): void;
|
|
135
136
|
/**
|
|
136
137
|
* 특정 모드의 데이터를 일회성으로 조작하기 위한 편의성 메서드 (callback 실행 후 모드는 원복됨)
|
|
@@ -139,10 +140,19 @@ declare class BandArrayData extends BandData implements IBandData {
|
|
|
139
140
|
getSaveType(): string;
|
|
140
141
|
protected _doDataFetched(fetchedData: unknown): void;
|
|
141
142
|
private $_cloneRow;
|
|
143
|
+
protected _getSampleValues(): any[];
|
|
142
144
|
protected _readRows(): void;
|
|
143
145
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode): void;
|
|
144
146
|
}
|
|
145
147
|
|
|
148
|
+
declare interface BandBorders {
|
|
149
|
+
border: string;
|
|
150
|
+
borderLeft: string;
|
|
151
|
+
borderRight: string;
|
|
152
|
+
borderTop: string;
|
|
153
|
+
borderBottom: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
146
156
|
declare class BandCollectionElement extends ReportGroupItemElement<DataBandCollection> {
|
|
147
157
|
constructor(doc: Document, model: DataBandCollection);
|
|
148
158
|
protected _doDispose(): void;
|
|
@@ -171,6 +181,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
171
181
|
indexOfField(field: IBandDataField): number;
|
|
172
182
|
setField(index: number, field: IBandDataField): void;
|
|
173
183
|
getSaveFields(): IBandDataField[];
|
|
184
|
+
getSaveValues(): any[];
|
|
174
185
|
getNextFieldName(prefix?: string): string;
|
|
175
186
|
getFieldNames(): string[];
|
|
176
187
|
addField(index: number, field: IBandDataField): boolean;
|
|
@@ -183,6 +194,7 @@ declare abstract class BandData extends LinkableReportData {
|
|
|
183
194
|
abstract getFieldValues(field: string | number, rows?: number[]): any[];
|
|
184
195
|
get isBand(): boolean;
|
|
185
196
|
preparePrint(ctx: PrintContext, design: boolean): void;
|
|
197
|
+
protected _getSampleValues(): any[];
|
|
186
198
|
protected _readRows(): void;
|
|
187
199
|
protected _prepareCalcField(fields: IBandDataField[], fieldMap: any, calcField: IBandDataField, index: number, node: ExpressionNode): void;
|
|
188
200
|
}
|
|
@@ -207,6 +219,7 @@ declare class BandDataView extends Base implements IBandDataView {
|
|
|
207
219
|
declare abstract class BandElement<T extends DataBand> extends ReportGroupItemElement<T> {
|
|
208
220
|
static readonly END_ROW_MESSAGE_CLASS = "rr-end-row-message";
|
|
209
221
|
static readonly END_ROW_CLASS = "rr-end-row";
|
|
222
|
+
static readonly BORDER_CONTAINER = "rr-band-border-container";
|
|
210
223
|
abstract get rowView(): ReportGroupItemView;
|
|
211
224
|
private _needFooterView;
|
|
212
225
|
get needFooterView(): boolean;
|
|
@@ -214,6 +227,8 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
214
227
|
abstract getLines(): ReportItemView[];
|
|
215
228
|
abstract printRow(ctx: PrintContext, row: number): any;
|
|
216
229
|
getSibling(item: ReportItemView, delta: number): ReportItemView;
|
|
230
|
+
findMasterBand(band: DataBand): DataBand;
|
|
231
|
+
getBandLevel(masterBand: DataBand, band: DataBand): string;
|
|
217
232
|
abstract addMasterRow(page: HTMLDivElement, headerView: any, rowView: any, x: number, y: number): number;
|
|
218
233
|
abstract prepareAsync(doc: Document, ctx: PrintContext, width: number, subRows: number[], masterRow: number): BandPrintInfo<any>;
|
|
219
234
|
abstract prepareSubBand(doc: Document, ctx: PrintContext, width: number, dataRows: number[]): BandPrintInfo<any>;
|
|
@@ -222,6 +237,7 @@ declare abstract class BandElement<T extends DataBand> extends ReportGroupItemEl
|
|
|
222
237
|
protected _getPrev(item: ReportItemView): ReportItemView;
|
|
223
238
|
private $_prepareDetailDataBand;
|
|
224
239
|
private $_prepareDetailBandGroup;
|
|
240
|
+
private $_setBandLevel;
|
|
225
241
|
}
|
|
226
242
|
|
|
227
243
|
declare class BandFooterPrintInfo {
|
|
@@ -335,6 +351,10 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
|
|
|
335
351
|
*/
|
|
336
352
|
setBandBoundPosition(ctx: PrintContext, model: BandModel, div: HTMLDivElement): void;
|
|
337
353
|
setBandPrevIndex(index: number): void;
|
|
354
|
+
createBorderContaienr(doc: Document, y: number, w: number, name: string, tModel: string): HTMLDivElement;
|
|
355
|
+
setBorderContainerStyle(borderContainer: HTMLDivElement, styles: {
|
|
356
|
+
[x: string]: string;
|
|
357
|
+
}): void;
|
|
338
358
|
protected _setX(dom: HTMLElement, x: number): void;
|
|
339
359
|
protected _setY(dom: HTMLElement, y: number): void;
|
|
340
360
|
protected _setPos(dom: HTMLElement, x: number, y: number): void;
|
|
@@ -388,6 +408,26 @@ declare interface BandTemplate {
|
|
|
388
408
|
|
|
389
409
|
/* Excluded from this release type: Base */
|
|
390
410
|
|
|
411
|
+
/**
|
|
412
|
+
* BodyItemAddSection
|
|
413
|
+
*/
|
|
414
|
+
declare class BodyItemAddSection extends ItemAddSection<PageBody> {
|
|
415
|
+
static readonly $_ctor: string;
|
|
416
|
+
constructor(target: PageBody);
|
|
417
|
+
get pathLabel(): string;
|
|
418
|
+
get outlineLabel(): string;
|
|
419
|
+
protected _doItemAdded(item: ReportItem, index: number): void;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* Excluded from this release type: BodyItemAddSectionElement */
|
|
423
|
+
|
|
424
|
+
declare interface BorderWidths {
|
|
425
|
+
left: number;
|
|
426
|
+
right: number;
|
|
427
|
+
top: number;
|
|
428
|
+
bottom: number;
|
|
429
|
+
}
|
|
430
|
+
|
|
391
431
|
/**
|
|
392
432
|
* 자식들의 위치를 지정할 수 있는 container.
|
|
393
433
|
* 위치 설정이 안된 item은 중앙에 정렬 시킨다.
|
|
@@ -532,7 +572,7 @@ declare abstract class ChartAxisCollection<T extends ChartItem, C = unknown> ext
|
|
|
532
572
|
abstract getChartConfig(context: PrintContext): C[];
|
|
533
573
|
abstract getSaveLabel(): string;
|
|
534
574
|
defaultInit(): void;
|
|
535
|
-
load(loader: IReportLoader, source: ReportSource): void;
|
|
575
|
+
load(loader: IReportLoader, source: ReportSource$1): void;
|
|
536
576
|
save(target: ReportTarget): boolean;
|
|
537
577
|
get(index: number): ChartAxis<T, C>;
|
|
538
578
|
indexOf(axis: ChartAxis<T, C>): number;
|
|
@@ -548,7 +588,7 @@ declare abstract class ChartAxisCollection<T extends ChartItem, C = unknown> ext
|
|
|
548
588
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
549
589
|
getCollectionLabel(): string;
|
|
550
590
|
protected _doMoveItem(from: number, to: number): boolean;
|
|
551
|
-
protected abstract _createAxis(loader: IReportLoader, src: ReportSource): ChartAxis<T, C>;
|
|
591
|
+
protected abstract _createAxis(loader: IReportLoader, src: ReportSource$1): ChartAxis<T, C>;
|
|
552
592
|
protected abstract _axesChanged(): void;
|
|
553
593
|
protected _doDefaultInit(): void;
|
|
554
594
|
private $_invalidateAxes;
|
|
@@ -567,7 +607,7 @@ declare abstract class ChartDataObject<T extends ChartItem, C = unknown> extends
|
|
|
567
607
|
protected _getEditProps(): IPropInfo[];
|
|
568
608
|
getPropDomain(prop: IPropInfo): any[];
|
|
569
609
|
getPlaceHolder(prop: IPropInfo): string;
|
|
570
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
610
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
571
611
|
protected _doSave(target: ReportTarget): void;
|
|
572
612
|
}
|
|
573
613
|
|
|
@@ -648,14 +688,14 @@ declare abstract class ChartObject<T extends ChartItem, C = unknown> extends Rep
|
|
|
648
688
|
get styles(): Styles;
|
|
649
689
|
set styles(value: Styles);
|
|
650
690
|
defaultInit(): void;
|
|
651
|
-
load(loader: IReportLoader, source: ReportSource): void;
|
|
691
|
+
load(loader: IReportLoader, source: ReportSource$1): void;
|
|
652
692
|
save(target: ReportTarget): boolean;
|
|
653
693
|
abstract getChartConfig(context: PrintContext): C;
|
|
654
694
|
get dataParent(): ReportGroupItem;
|
|
655
695
|
get marqueeParent(): ReportItem;
|
|
656
696
|
isCollection(): boolean;
|
|
657
697
|
protected _doDefaultInit(): void;
|
|
658
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
698
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
659
699
|
protected _doSave(target: ReportTarget): void;
|
|
660
700
|
protected _getEditProps(): IPropInfo[];
|
|
661
701
|
protected _getStyleProps(): string[];
|
|
@@ -797,7 +837,7 @@ declare abstract class ChartSeriesCollection<T extends ChartItem, C = unknown> e
|
|
|
797
837
|
abstract getChartConfig(context: PrintContext): C[];
|
|
798
838
|
getSaveLabel(): string;
|
|
799
839
|
defaultInit(): void;
|
|
800
|
-
load(loader: IReportLoader, source: ReportSource): void;
|
|
840
|
+
load(loader: IReportLoader, source: ReportSource$1): void;
|
|
801
841
|
save(target: ReportTarget): boolean;
|
|
802
842
|
get(index: number): ChartSeries<T, C>;
|
|
803
843
|
indexOf(series: ChartSeries<T, C>): number;
|
|
@@ -814,7 +854,7 @@ declare abstract class ChartSeriesCollection<T extends ChartItem, C = unknown> e
|
|
|
814
854
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
815
855
|
getCollectionLabel(): string;
|
|
816
856
|
protected _doMoveItem(from: number, to: number): boolean;
|
|
817
|
-
protected abstract _createSeries(loader: IReportLoader, src: ReportSource): ChartSeries<T, C>;
|
|
857
|
+
protected abstract _createSeries(loader: IReportLoader, src: ReportSource$1): ChartSeries<T, C>;
|
|
818
858
|
protected abstract _seriesChanged(): void;
|
|
819
859
|
protected _doDefaultInit(): void;
|
|
820
860
|
private $_invalidateSeriesList;
|
|
@@ -845,7 +885,7 @@ declare abstract class ChartTextObject<T extends ChartItem, C = unknown> extends
|
|
|
845
885
|
set text(value: string);
|
|
846
886
|
protected _getEditProps(): IPropInfo[];
|
|
847
887
|
protected _getStyleProps(): string[];
|
|
848
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
888
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
849
889
|
protected _doSave(target: ReportTarget): void;
|
|
850
890
|
}
|
|
851
891
|
|
|
@@ -1009,6 +1049,7 @@ declare class CrosstabBandTitle extends ReportItem {
|
|
|
1009
1049
|
/** text */
|
|
1010
1050
|
get text(): string;
|
|
1011
1051
|
set text(value: string);
|
|
1052
|
+
get page(): ReportPage;
|
|
1012
1053
|
protected _getEditProps(): any[];
|
|
1013
1054
|
protected _getStyleProps(): string[];
|
|
1014
1055
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
@@ -1230,6 +1271,7 @@ declare class CrosstabNullValue extends ReportItem {
|
|
|
1230
1271
|
/** text */
|
|
1231
1272
|
get text(): string;
|
|
1232
1273
|
set text(value: string);
|
|
1274
|
+
get page(): ReportPage;
|
|
1233
1275
|
protected _getEditProps(): any[];
|
|
1234
1276
|
protected _getStyleProps(): string[];
|
|
1235
1277
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
@@ -1634,6 +1676,9 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
1634
1676
|
getMin(field: string, count: number, rows?: number[]): number;
|
|
1635
1677
|
getMax(field: string, count: number, rows?: number[]): number;
|
|
1636
1678
|
getAvg(field: string, count: number, rows?: number[]): number;
|
|
1679
|
+
getBandBorders(): BandBorders;
|
|
1680
|
+
getBandBorderWidths(): BorderWidths;
|
|
1681
|
+
hasBorder(): boolean;
|
|
1637
1682
|
getPropDomain(prop: IPropInfo): any[];
|
|
1638
1683
|
/**
|
|
1639
1684
|
* 출력시 사용되는 밴드의 정보를 초기값으로 초기화
|
|
@@ -1678,6 +1723,7 @@ declare class DataBandCollection extends ReportGroupItem {
|
|
|
1678
1723
|
get owner(): DataBand;
|
|
1679
1724
|
protected _getChildPropInfos(item: ReportItem): IPropInfo[];
|
|
1680
1725
|
getSaveType(): string;
|
|
1726
|
+
canFold(): boolean;
|
|
1681
1727
|
get outlineLabel(): string;
|
|
1682
1728
|
get designLevel(): number;
|
|
1683
1729
|
get marqueeParent(): ReportItem;
|
|
@@ -2705,7 +2751,7 @@ declare interface IBandData extends IReportData {
|
|
|
2705
2751
|
|
|
2706
2752
|
declare interface IBandDataField {
|
|
2707
2753
|
fieldName: string;
|
|
2708
|
-
dataType?: "text" | "number" | "bool" | "datetime";
|
|
2754
|
+
dataType?: "text" | "number" | "bool" | "array" | "datetime";
|
|
2709
2755
|
source?: string;
|
|
2710
2756
|
expression?: string;
|
|
2711
2757
|
format?: string;
|
|
@@ -2822,6 +2868,7 @@ declare abstract class InheritableSectionElement<T extends InheritableSection> e
|
|
|
2822
2868
|
}
|
|
2823
2869
|
|
|
2824
2870
|
declare interface IOutlineSource {
|
|
2871
|
+
hash: number;
|
|
2825
2872
|
outlineParent: IOutlineSource;
|
|
2826
2873
|
outlineExpandable: boolean;
|
|
2827
2874
|
outlineItems?: IOutlineSource[];
|
|
@@ -2918,11 +2965,6 @@ declare interface IReportAssetItem {
|
|
|
2918
2965
|
data: string;
|
|
2919
2966
|
}
|
|
2920
2967
|
|
|
2921
|
-
declare interface IReportBody {
|
|
2922
|
-
id?: string;
|
|
2923
|
-
body?: Record<string, any>;
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
2968
|
declare interface IReportData {
|
|
2927
2969
|
name: string;
|
|
2928
2970
|
isBand: boolean;
|
|
@@ -3005,30 +3047,21 @@ declare interface IReportDesignerOptions {
|
|
|
3005
3047
|
/** action bar에서 클릭 대신 아이템 아이콘을 drag해서 생성 */
|
|
3006
3048
|
dragInsert?: boolean;
|
|
3007
3049
|
/** callbacks */
|
|
3008
|
-
getReportListCallback?: () => Promise<
|
|
3009
|
-
getReportCallback?: (reportId: string) => Promise<
|
|
3010
|
-
saveReportCallback?: (report:
|
|
3050
|
+
getReportListCallback?: () => Promise<ReportListSource>;
|
|
3051
|
+
getReportCallback?: (reportId: string) => Promise<IReportSource>;
|
|
3052
|
+
saveReportCallback?: (report: Record<string, any>, reportId: string, reportContext: ReportContext) => Promise<SaveCallbackResponse | null>;
|
|
3011
3053
|
getOptionsCallback?: () => Promise<Partial<IReportDesignerOptions>>;
|
|
3012
3054
|
saveOptionsCallback?: (options: IReportDesignerOptions) => Promise<string | null>;
|
|
3013
3055
|
}
|
|
3014
3056
|
|
|
3015
|
-
declare interface IReportInfo {
|
|
3016
|
-
id: string;
|
|
3017
|
-
group?: string;
|
|
3018
|
-
name: string;
|
|
3019
|
-
author?: string;
|
|
3020
|
-
description?: string;
|
|
3021
|
-
thumbnail?: string;
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
3057
|
/**
|
|
3025
3058
|
* Report loader spec.
|
|
3026
3059
|
*/
|
|
3027
3060
|
declare interface IReportLoader {
|
|
3028
3061
|
getCreator(type: string): (name: string) => ReportItem;
|
|
3029
3062
|
createItem(type: any): ReportItem;
|
|
3030
|
-
createRealChartAxis(collection: RCAxisCollection, src: ReportSource): RCAxis;
|
|
3031
|
-
createRealChartSeries(collection: RCSeriesCollection, src: ReportSource): RCSeries;
|
|
3063
|
+
createRealChartAxis(collection: RCAxisCollection, src: ReportSource$1): RCAxis;
|
|
3064
|
+
createRealChartSeries(collection: RCSeriesCollection, src: ReportSource$1): RCSeries;
|
|
3032
3065
|
createHichartSeries(chart: HichartItem, src: any): HichartSeries;
|
|
3033
3066
|
}
|
|
3034
3067
|
|
|
@@ -3039,9 +3072,9 @@ declare interface IReportResponse {
|
|
|
3039
3072
|
}
|
|
3040
3073
|
|
|
3041
3074
|
declare interface IReportServer {
|
|
3042
|
-
getReportList(): Promise<
|
|
3043
|
-
getReport(id: string): Promise<
|
|
3044
|
-
saveReport?(report:
|
|
3075
|
+
getReportList(): Promise<ReportListSource>;
|
|
3076
|
+
getReport(id: string): Promise<IReportSource>;
|
|
3077
|
+
saveReport?(report: Record<string, any>, id: string, reportContext: ReportContext): Promise<IReportResponse | null>;
|
|
3045
3078
|
getDataGroups(parent?: string): Promise<string[]>;
|
|
3046
3079
|
getDataList(group: string): Promise<IReportDataInfo[]>;
|
|
3047
3080
|
getData?(id: string): Promise<IReportDataInfo>;
|
|
@@ -3051,6 +3084,11 @@ declare interface IReportServer {
|
|
|
3051
3084
|
saveOptions?: (options: IReportDesignerOptions) => Promise<string>;
|
|
3052
3085
|
}
|
|
3053
3086
|
|
|
3087
|
+
declare interface IReportSource {
|
|
3088
|
+
id?: string;
|
|
3089
|
+
source?: Record<string, any>;
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3054
3092
|
declare interface ISelectionSource {
|
|
3055
3093
|
selectItem: ReportPageItem;
|
|
3056
3094
|
canSelectedWith(other: ISelectionSource): boolean;
|
|
@@ -3392,6 +3430,24 @@ declare interface ITableGroupPrintInfo extends IGroupPrintInfo {
|
|
|
3392
3430
|
needNextPage: boolean;
|
|
3393
3431
|
}
|
|
3394
3432
|
|
|
3433
|
+
/**
|
|
3434
|
+
* ItemAddSection
|
|
3435
|
+
*/
|
|
3436
|
+
declare class ItemAddSection<S extends PageSection> extends PageSection {
|
|
3437
|
+
static readonly $_ctor: string;
|
|
3438
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
3439
|
+
private _targetSection;
|
|
3440
|
+
constructor(target: S);
|
|
3441
|
+
get targetSection(): S;
|
|
3442
|
+
get pathLabel(): string;
|
|
3443
|
+
canResize(dir: ResizeDirection): boolean;
|
|
3444
|
+
canFold(): boolean;
|
|
3445
|
+
protected _getStyleProps(): string[];
|
|
3446
|
+
protected _getEditProps(): IPropInfo[];
|
|
3447
|
+
canContainsBand(): boolean;
|
|
3448
|
+
canContainsBandGroup(): boolean;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3395
3451
|
declare enum ItemMoveType {
|
|
3396
3452
|
INNER = "inner",
|
|
3397
3453
|
OUTER = "outer"
|
|
@@ -3581,6 +3637,7 @@ declare interface PageViewOptions {
|
|
|
3581
3637
|
reportFooterEnabled?: boolean;
|
|
3582
3638
|
pageHeaderEnabled?: boolean;
|
|
3583
3639
|
pageFooterEnabled?: boolean;
|
|
3640
|
+
addBodyItemSectionEnabled?: boolean;
|
|
3584
3641
|
}
|
|
3585
3642
|
|
|
3586
3643
|
/**
|
|
@@ -3924,6 +3981,7 @@ declare enum PropCategory {
|
|
|
3924
3981
|
TOOLTIP = "tooltip",
|
|
3925
3982
|
CROSSHAIR = "crosshair",
|
|
3926
3983
|
OPTIONS = "options",
|
|
3984
|
+
BODY = "body",
|
|
3927
3985
|
CREDITS = "credits",
|
|
3928
3986
|
STYLES = "Styles",
|
|
3929
3987
|
EMAIL_FORM_INFO = "email form info",
|
|
@@ -3981,8 +4039,8 @@ export declare class R2Server implements IReportServer {
|
|
|
3981
4039
|
getDataList(group: string): Promise<IReportDataInfo[]>;
|
|
3982
4040
|
getData(id: string): Promise<IReportDataInfo>;
|
|
3983
4041
|
getReportGroups(): Promise<string[]>;
|
|
3984
|
-
getReportList(group?: string): Promise<
|
|
3985
|
-
getReport(id: string): Promise<
|
|
4042
|
+
getReportList(group?: string): Promise<ReportListSource>;
|
|
4043
|
+
getReport(id: string): Promise<IReportSource>;
|
|
3986
4044
|
getOptions(): Promise<Partial<IReportDesignerOptions>>;
|
|
3987
4045
|
saveOptions(options: IReportDesignerOptions): Promise<string>;
|
|
3988
4046
|
saveReport(report: Report_2, id?: string): Promise<IReportResponse | null>;
|
|
@@ -4004,6 +4062,7 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4004
4062
|
static readonly PROP_MIN_VALUE = "minValue";
|
|
4005
4063
|
static readonly PROP_STRICT_MAX = "strictMax";
|
|
4006
4064
|
static readonly PROP_STRICT_MIN = "strictMin";
|
|
4065
|
+
static readonly PROP_START_ANGLE = "startAngle";
|
|
4007
4066
|
static readonly PROP_TITLE = "title";
|
|
4008
4067
|
static readonly PROP_LABEL = "label";
|
|
4009
4068
|
static readonly PROP_GRID = "grid";
|
|
@@ -4015,6 +4074,7 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4015
4074
|
private _minValue;
|
|
4016
4075
|
private _strictMax;
|
|
4017
4076
|
private _strictMin;
|
|
4077
|
+
private _startAngle;
|
|
4018
4078
|
private _title;
|
|
4019
4079
|
private _label;
|
|
4020
4080
|
private _grid;
|
|
@@ -4032,6 +4092,8 @@ declare abstract class RCAxis<C = RCAxisConfig> extends ChartAxis<RealChartItem,
|
|
|
4032
4092
|
set maxValue(value: number);
|
|
4033
4093
|
get minValue(): number;
|
|
4034
4094
|
set minValue(value: number);
|
|
4095
|
+
get startAngle(): number;
|
|
4096
|
+
set startAngle(value: number);
|
|
4035
4097
|
get strictMax(): number;
|
|
4036
4098
|
set strictMax(value: number);
|
|
4037
4099
|
get strictMin(): number;
|
|
@@ -4062,6 +4124,7 @@ declare interface RCAxisConfigBase {
|
|
|
4062
4124
|
name?: string;
|
|
4063
4125
|
maxValue?: number;
|
|
4064
4126
|
minValue?: number;
|
|
4127
|
+
startAngle?: number;
|
|
4065
4128
|
marginFar?: number;
|
|
4066
4129
|
marginNear?: number;
|
|
4067
4130
|
maxPadding?: number;
|
|
@@ -4069,7 +4132,7 @@ declare interface RCAxisConfigBase {
|
|
|
4069
4132
|
label?: RCAxisLabelConfig;
|
|
4070
4133
|
grid?: RCAxisGridConfig;
|
|
4071
4134
|
line?: RCAxisLineConfig;
|
|
4072
|
-
tick?:
|
|
4135
|
+
tick?: RCAxisTickConfig;
|
|
4073
4136
|
crosshair?: RCAxisCorssHairConfig;
|
|
4074
4137
|
}
|
|
4075
4138
|
|
|
@@ -4106,7 +4169,7 @@ declare class RCAxisGrid extends RCAxisObject<RCAxisGridConfig> {
|
|
|
4106
4169
|
getSaveLabel(): string;
|
|
4107
4170
|
protected _getEditProps(): IPropInfo[];
|
|
4108
4171
|
protected _getStyleProps(): string[];
|
|
4109
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4172
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4110
4173
|
protected _doSave(target: ReportTarget): void;
|
|
4111
4174
|
}
|
|
4112
4175
|
|
|
@@ -4135,8 +4198,9 @@ declare class RCAxisLabel extends RCAxisTextObject<RCAxisLabelConfig> {
|
|
|
4135
4198
|
getCollapsedPropCategories(): string[];
|
|
4136
4199
|
protected _getEditProps(): IPropInfo[];
|
|
4137
4200
|
protected _getStyleProps(): string[];
|
|
4138
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4201
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4139
4202
|
protected _doSave(target: ReportTarget): void;
|
|
4203
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
4140
4204
|
}
|
|
4141
4205
|
|
|
4142
4206
|
declare enum RCAxisLabelAutoArrange {
|
|
@@ -4211,7 +4275,7 @@ declare class RCAxisTick extends RCAxisObject<RCAxisTickConfig> {
|
|
|
4211
4275
|
getSaveLabel(): string;
|
|
4212
4276
|
protected _getEditProps(): IPropInfo[];
|
|
4213
4277
|
protected _getStyleProps(): string[];
|
|
4214
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4278
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4215
4279
|
protected _doSave(target: ReportTarget): void;
|
|
4216
4280
|
}
|
|
4217
4281
|
|
|
@@ -4235,14 +4299,22 @@ declare class RCAxisTitle extends RCAxisTextObject<RCAxisTitleConfig> {
|
|
|
4235
4299
|
declare interface RCAxisTitleConfig {
|
|
4236
4300
|
text: string;
|
|
4237
4301
|
visible?: boolean;
|
|
4238
|
-
align?:
|
|
4302
|
+
align?: RCAxisTitleConfigAlign;
|
|
4239
4303
|
gap?: number;
|
|
4240
4304
|
offset?: number;
|
|
4241
|
-
rotation?:
|
|
4305
|
+
rotation?: RCAxisTitleConfigRotation;
|
|
4242
4306
|
backgroundStyle?: RCSvgStyles;
|
|
4243
4307
|
style?: RCSvgStyles;
|
|
4244
4308
|
}
|
|
4245
4309
|
|
|
4310
|
+
declare enum RCAxisTitleConfigAlign {
|
|
4311
|
+
MIDDLE = "middle",
|
|
4312
|
+
START = "start",
|
|
4313
|
+
END = "end"
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
declare type RCAxisTitleConfigRotation = 0 | 90 | 270 | -90 | -270;
|
|
4317
|
+
|
|
4246
4318
|
declare type RCAxisType = 'category' | 'linear' | 'log' | 'time';
|
|
4247
4319
|
|
|
4248
4320
|
declare type RCBarSeriesConfig = {
|
|
@@ -4257,6 +4329,28 @@ declare type RCBarSeriesConfig = {
|
|
|
4257
4329
|
belowStyle?: RCSvgStyles;
|
|
4258
4330
|
} & RCSeriesPointConfig & RCSeriesConfigBase;
|
|
4259
4331
|
|
|
4332
|
+
declare class RCBody extends ChartObject<RealChartItem, RCBodyConfig> {
|
|
4333
|
+
static readonly PROP_CIRCULAR = "circular";
|
|
4334
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
4335
|
+
private _circular;
|
|
4336
|
+
constructor(chart: RealChartItem);
|
|
4337
|
+
get circular(): boolean;
|
|
4338
|
+
set circular(value: boolean);
|
|
4339
|
+
getChartConfig(context: PrintContext): RCBodyConfig;
|
|
4340
|
+
getSaveLabel(): string;
|
|
4341
|
+
protected _doDefaultInit(): void;
|
|
4342
|
+
protected _getEditProps(): IPropInfo[];
|
|
4343
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4344
|
+
protected _doSave(target: ReportTarget): void;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
/**
|
|
4348
|
+
* Body
|
|
4349
|
+
*/
|
|
4350
|
+
declare type RCBodyConfig = {
|
|
4351
|
+
circular?: boolean;
|
|
4352
|
+
};
|
|
4353
|
+
|
|
4260
4354
|
declare interface RCCategoryAxisConfig extends RCAxisConfigBase {
|
|
4261
4355
|
type: 'category';
|
|
4262
4356
|
categories: string[];
|
|
@@ -4267,6 +4361,7 @@ declare interface RCCategoryAxisConfig extends RCAxisConfigBase {
|
|
|
4267
4361
|
* RealChart
|
|
4268
4362
|
*/
|
|
4269
4363
|
declare type RCConfig = {
|
|
4364
|
+
polar: boolean;
|
|
4270
4365
|
inverted?: boolean;
|
|
4271
4366
|
title?: RCTitleConfig;
|
|
4272
4367
|
subtitle?: RCSubtitleConfig;
|
|
@@ -4275,6 +4370,7 @@ declare type RCConfig = {
|
|
|
4275
4370
|
xAxis: RCAxisConfig[];
|
|
4276
4371
|
yAxis: RCAxisConfig[];
|
|
4277
4372
|
series: RCSeriesConfig[];
|
|
4373
|
+
body?: RCBodyConfig;
|
|
4278
4374
|
};
|
|
4279
4375
|
|
|
4280
4376
|
declare type RCCreditsConfig = {
|
|
@@ -4291,7 +4387,7 @@ declare type RCCreditsConfig = {
|
|
|
4291
4387
|
|
|
4292
4388
|
declare class RCLegend extends ChartObject<RealChartItem, RCLegendConfig> {
|
|
4293
4389
|
static readonly PROP_ALIGN_BASE = "alignBase";
|
|
4294
|
-
static readonly PROP_ALIGN_BASE_DEFAULT_VALUE = RCLegendAlignBase.
|
|
4390
|
+
static readonly PROP_ALIGN_BASE_DEFAULT_VALUE = RCLegendAlignBase.BODY;
|
|
4295
4391
|
static readonly PROP_GAP = "gap";
|
|
4296
4392
|
static readonly PROP_GAP_DEFAULT_VALUE = 6;
|
|
4297
4393
|
static readonly PROP_ITEM_GAP = "itemGap";
|
|
@@ -4361,14 +4457,15 @@ declare class RCLegend extends ChartObject<RealChartItem, RCLegendConfig> {
|
|
|
4361
4457
|
getSubStyleProps(prop: string): IPropInfo[];
|
|
4362
4458
|
protected _getSubStyle(prop: string, style: string): any;
|
|
4363
4459
|
protected _setSubStyle(prop: string, style: string, value: any): void;
|
|
4364
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4460
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4365
4461
|
protected _doSave(target: ReportTarget): void;
|
|
4462
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
4366
4463
|
}
|
|
4367
4464
|
|
|
4368
4465
|
declare enum RCLegendAlignBase {
|
|
4369
4466
|
CHART = "chart",
|
|
4370
4467
|
PARENT = "parent",
|
|
4371
|
-
|
|
4468
|
+
BODY = "body"
|
|
4372
4469
|
}
|
|
4373
4470
|
|
|
4374
4471
|
declare type RCLegendConfig = {
|
|
@@ -4406,7 +4503,7 @@ declare enum RCLegendLocation {
|
|
|
4406
4503
|
BOTTOM = "bottom",
|
|
4407
4504
|
LEFT = "left",
|
|
4408
4505
|
RIGHT = "right",
|
|
4409
|
-
|
|
4506
|
+
BODY = "body"
|
|
4410
4507
|
}
|
|
4411
4508
|
|
|
4412
4509
|
declare interface RCLinearAxisConfig extends RCAxisConfigBase {
|
|
@@ -4446,7 +4543,7 @@ declare class RCOptions extends ChartObject<RealChartItem, RCOptionsConfig> {
|
|
|
4446
4543
|
getSaveLabel(): string;
|
|
4447
4544
|
protected _doDefaultInit(): void;
|
|
4448
4545
|
protected _getEditProps(): IPropInfo[];
|
|
4449
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
4546
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
4450
4547
|
protected _doSave(target: ReportTarget): void;
|
|
4451
4548
|
}
|
|
4452
4549
|
|
|
@@ -4498,7 +4595,7 @@ declare abstract class RCSeries<C = RCSeriesConfig> extends ChartSeries<RealChar
|
|
|
4498
4595
|
|
|
4499
4596
|
declare class RCSeriesCollection extends ChartSeriesCollection<RealChartItem, RCSeriesConfig> {
|
|
4500
4597
|
getChartConfig(context: PrintContext): RCSeriesConfig[];
|
|
4501
|
-
protected _createSeries(loader: IReportLoader, src: ReportSource): RCSeries;
|
|
4598
|
+
protected _createSeries(loader: IReportLoader, src: ReportSource$1): RCSeries;
|
|
4502
4599
|
protected _seriesChanged(): void;
|
|
4503
4600
|
}
|
|
4504
4601
|
|
|
@@ -4539,6 +4636,18 @@ declare interface RCSeriesPointLabelConfig {
|
|
|
4539
4636
|
visible?: boolean;
|
|
4540
4637
|
text?: string;
|
|
4541
4638
|
style?: RCSvgStyles;
|
|
4639
|
+
offset?: number;
|
|
4640
|
+
position?: RCSeriesPointLabelPosition;
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
declare enum RCSeriesPointLabelPosition {
|
|
4644
|
+
AUTO = "auto",
|
|
4645
|
+
FOOT = "foot",
|
|
4646
|
+
HEAD = "head",
|
|
4647
|
+
INSIDE = "inside",
|
|
4648
|
+
INSIDEFIRST = "insideFirst",
|
|
4649
|
+
OUTSIDE = "outside",
|
|
4650
|
+
OUTSIDEFIRST = "outsideFirst"
|
|
4542
4651
|
}
|
|
4543
4652
|
|
|
4544
4653
|
declare interface RCSeriesTooltipConfig {
|
|
@@ -4612,7 +4721,7 @@ declare class RCXAxisCollection extends RCAxisCollection {
|
|
|
4612
4721
|
get direction(): RCAxisDirection;
|
|
4613
4722
|
get displayPath(): string;
|
|
4614
4723
|
getSaveLabel(): string;
|
|
4615
|
-
protected _createAxis(loader: IReportLoader, src: ReportSource): RCAxis;
|
|
4724
|
+
protected _createAxis(loader: IReportLoader, src: ReportSource$1): RCAxis;
|
|
4616
4725
|
protected _axesChanged(): void;
|
|
4617
4726
|
}
|
|
4618
4727
|
|
|
@@ -4621,7 +4730,7 @@ declare class RCYAxisCollection extends RCAxisCollection {
|
|
|
4621
4730
|
get direction(): RCAxisDirection;
|
|
4622
4731
|
get displayPath(): string;
|
|
4623
4732
|
getSaveLabel(): string;
|
|
4624
|
-
protected _createAxis(loader: IReportLoader, src: ReportSource): RCAxis;
|
|
4733
|
+
protected _createAxis(loader: IReportLoader, src: ReportSource$1): RCAxis;
|
|
4625
4734
|
protected _axesChanged(): void;
|
|
4626
4735
|
}
|
|
4627
4736
|
|
|
@@ -4638,6 +4747,8 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
4638
4747
|
static readonly PROP_SUBTITLE = "subtitle";
|
|
4639
4748
|
static readonly PROP_LEGEND = "legend";
|
|
4640
4749
|
static readonly PROP_OPTIONS = "options";
|
|
4750
|
+
static readonly PROP_POLAR = "polar";
|
|
4751
|
+
static readonly PROP_BODY = "body";
|
|
4641
4752
|
static readonly PROPINFOS: IPropInfo[];
|
|
4642
4753
|
static readonly STYLE_PROPS: string[];
|
|
4643
4754
|
static readonly $_ctor: string;
|
|
@@ -4650,6 +4761,8 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
4650
4761
|
private _subtitle;
|
|
4651
4762
|
private _legend;
|
|
4652
4763
|
private _options;
|
|
4764
|
+
private _body;
|
|
4765
|
+
private _polar;
|
|
4653
4766
|
constructor(name: string);
|
|
4654
4767
|
get outlineLabel(): string;
|
|
4655
4768
|
get outlineItems(): IOutlineSource[];
|
|
@@ -4663,6 +4776,9 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
4663
4776
|
get subtitle(): RCSubtitle;
|
|
4664
4777
|
get legend(): RCLegend;
|
|
4665
4778
|
get options(): RCOptions;
|
|
4779
|
+
get polar(): boolean;
|
|
4780
|
+
set polar(value: boolean);
|
|
4781
|
+
get body(): RCBody;
|
|
4666
4782
|
addNewXAxis(type: RCAxisType): RCAxis;
|
|
4667
4783
|
addNewYAxis(type: RCAxisType): RCAxis;
|
|
4668
4784
|
addAxis(axis: RCAxis): void;
|
|
@@ -4682,7 +4798,7 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
4682
4798
|
protected _getEditProps(): IPropInfo[];
|
|
4683
4799
|
protected _getStyleProps(): string[];
|
|
4684
4800
|
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
4685
|
-
protected _doLoad(loader: IReportLoader, src: ReportSource): void;
|
|
4801
|
+
protected _doLoad(loader: IReportLoader, src: ReportSource$1): void;
|
|
4686
4802
|
protected _doSave(target: ReportTarget): void;
|
|
4687
4803
|
canAddTo(group: ReportGroupItem): boolean;
|
|
4688
4804
|
}
|
|
@@ -4982,6 +5098,11 @@ declare class Report_2 extends EventAware implements IEditCommandStackOwner, IPr
|
|
|
4982
5098
|
protected _fireAlert(item: ReportItem, message: string): void;
|
|
4983
5099
|
}
|
|
4984
5100
|
|
|
5101
|
+
declare type ReportContext = {
|
|
5102
|
+
name: string;
|
|
5103
|
+
isModified: boolean;
|
|
5104
|
+
};
|
|
5105
|
+
|
|
4985
5106
|
declare abstract class ReportData extends Base {
|
|
4986
5107
|
private _name;
|
|
4987
5108
|
private _dp;
|
|
@@ -5014,17 +5135,30 @@ export declare class ReportDesigner {
|
|
|
5014
5135
|
}
|
|
5015
5136
|
|
|
5016
5137
|
declare interface ReportDesignerOptions {
|
|
5138
|
+
/**
|
|
5139
|
+
* asset panel 표시 여부
|
|
5140
|
+
* @default true
|
|
5141
|
+
*/
|
|
5017
5142
|
showAssetPanel?: boolean;
|
|
5143
|
+
/**
|
|
5144
|
+
* data panel 표시 여부
|
|
5145
|
+
* @default true
|
|
5146
|
+
*/
|
|
5018
5147
|
showDataPanel?: boolean;
|
|
5148
|
+
/**
|
|
5149
|
+
* script panel 표시 여부
|
|
5150
|
+
* @default true
|
|
5151
|
+
*/
|
|
5019
5152
|
showScriptPanel?: boolean;
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5153
|
+
/**
|
|
5154
|
+
* 왼쪽 아이템바에서 클릭 대신 아이템 아이콘을 drag해서 생성할지 여부
|
|
5155
|
+
* @default true
|
|
5156
|
+
*/
|
|
5024
5157
|
dragInsert?: boolean;
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5158
|
+
/** callbacks */
|
|
5159
|
+
getReportListCallback?: () => Promise<ReportListSource>;
|
|
5160
|
+
getReportCallback?: (reportId: string) => Promise<IReportSource>;
|
|
5161
|
+
saveReportCallback?: (report: Record<string, any>, reportId?: string) => Promise<{
|
|
5028
5162
|
reportId: string;
|
|
5029
5163
|
message: any;
|
|
5030
5164
|
} | null>;
|
|
@@ -5045,7 +5179,7 @@ declare class ReportEditableObject<T extends ReportItem> extends ReportItemObjec
|
|
|
5045
5179
|
get level(): number;
|
|
5046
5180
|
constructor(item: T);
|
|
5047
5181
|
getSaveLabel(): string;
|
|
5048
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5182
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
5049
5183
|
protected _doSave(target: ReportTarget): void;
|
|
5050
5184
|
getEditProps(): IPropInfo[];
|
|
5051
5185
|
getPropDomain(prop: IPropInfo): any[];
|
|
@@ -5187,6 +5321,12 @@ declare abstract class ReportGroupItem extends ReportItem {
|
|
|
5187
5321
|
|
|
5188
5322
|
declare type ReportGroupItemView = ReportGroupItemElement<ReportGroupItem>;
|
|
5189
5323
|
|
|
5324
|
+
declare type ReportGroupSource = {
|
|
5325
|
+
type: 'group';
|
|
5326
|
+
name: string;
|
|
5327
|
+
children: ReportListSource;
|
|
5328
|
+
};
|
|
5329
|
+
|
|
5190
5330
|
/**
|
|
5191
5331
|
* Report header model.
|
|
5192
5332
|
*/
|
|
@@ -5761,7 +5901,7 @@ declare abstract class ReportItemCollectionItem extends ReportPageItem {
|
|
|
5761
5901
|
get collection(): ReportItemCollection<any>;
|
|
5762
5902
|
get level(): number;
|
|
5763
5903
|
protected _doLoad(src: any): void;
|
|
5764
|
-
protected _doAfterLoad(src: ReportSource): void;
|
|
5904
|
+
protected _doAfterLoad(src: ReportSource$1): void;
|
|
5765
5905
|
protected _doSave(target: any): void;
|
|
5766
5906
|
protected _doAfterSave(target: ReportTarget): void;
|
|
5767
5907
|
protected abstract _getStyleProps(): string[];
|
|
@@ -5819,11 +5959,11 @@ declare abstract class ReportItemObject<T extends ReportItem> extends ReportPage
|
|
|
5819
5959
|
get styles(): Styles;
|
|
5820
5960
|
set styles(value: Styles);
|
|
5821
5961
|
defaultInit(): void;
|
|
5822
|
-
load(loader: IReportLoader, source: ReportSource): void;
|
|
5962
|
+
load(loader: IReportLoader, source: ReportSource$1): void;
|
|
5823
5963
|
save(target: ReportTarget): boolean;
|
|
5824
5964
|
isCollection(): boolean;
|
|
5825
5965
|
protected _doDefaultInit(): void;
|
|
5826
|
-
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5966
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource$1): void;
|
|
5827
5967
|
protected _doSave(target: ReportTarget): void;
|
|
5828
5968
|
protected _getEditProps(): IPropInfo[];
|
|
5829
5969
|
protected _getStyleProps(): string[];
|
|
@@ -5896,13 +6036,15 @@ declare type ReportItemView = ReportItemElement<ReportItem>;
|
|
|
5896
6036
|
|
|
5897
6037
|
declare type ReportItemVisibleCallback = (ctx: PrintContext, item: ReportItem, row: number, value: any) => boolean;
|
|
5898
6038
|
|
|
6039
|
+
declare type ReportListSource = (ReportGroupSource | ReportSource)[];
|
|
6040
|
+
|
|
5899
6041
|
declare interface ReportObject {
|
|
5900
6042
|
/**
|
|
5901
6043
|
* 속성 불러오기
|
|
5902
6044
|
* @param loader 리포트 속성 로더
|
|
5903
6045
|
* @param source 리포트 속성을 불러올 소스
|
|
5904
6046
|
*/
|
|
5905
|
-
load(loader: IReportLoader, source: ReportSource): void;
|
|
6047
|
+
load(loader: IReportLoader, source: ReportSource$1): void;
|
|
5906
6048
|
/**
|
|
5907
6049
|
* 속성 저장하기
|
|
5908
6050
|
* @param target 리포트 속성을 저장할 타겟
|
|
@@ -5971,6 +6113,7 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
5971
6113
|
saveTag: string;
|
|
5972
6114
|
private _loading;
|
|
5973
6115
|
private _removing;
|
|
6116
|
+
private _addItemSection;
|
|
5974
6117
|
constructor(report: Report_2, name?: string);
|
|
5975
6118
|
addListener(listener: object): IEventAware;
|
|
5976
6119
|
removeListener(listener: object): IEventAware;
|
|
@@ -6008,6 +6151,11 @@ declare class ReportPage extends ReportGroupItem implements IEventAware {
|
|
|
6008
6151
|
*/
|
|
6009
6152
|
get body(): PageBody;
|
|
6010
6153
|
set body(section: PageBody);
|
|
6154
|
+
/**
|
|
6155
|
+
* addItemSection
|
|
6156
|
+
*/
|
|
6157
|
+
get addItemSection(): ItemAddSection<PageBody>;
|
|
6158
|
+
set addItemSection(section: ItemAddSection<PageBody>);
|
|
6011
6159
|
get backContainer(): PageItemContainer;
|
|
6012
6160
|
set backContainer(section: PageItemContainer);
|
|
6013
6161
|
/**
|
|
@@ -6296,9 +6444,9 @@ declare class ReportRootItem extends ReportGroupItem {
|
|
|
6296
6444
|
}
|
|
6297
6445
|
|
|
6298
6446
|
declare interface ReportServer {
|
|
6299
|
-
getReportList(): Promise<
|
|
6300
|
-
getReport(id: string): Promise<
|
|
6301
|
-
saveReport?(report:
|
|
6447
|
+
getReportList(): Promise<ReportListSource>;
|
|
6448
|
+
getReport(id: string): Promise<IReportSource>;
|
|
6449
|
+
saveReport?(report: Record<string, any>, id?: string): Promise<IReportResponse | null>;
|
|
6302
6450
|
getDataGroups(parent?: string): Promise<string[]>;
|
|
6303
6451
|
getDataList(group: string): Promise<IReportDataInfo[]>;
|
|
6304
6452
|
getData?(id: string): Promise<IReportDataInfo>;
|
|
@@ -6306,7 +6454,13 @@ declare interface ReportServer {
|
|
|
6306
6454
|
getAssetList(group: string): Promise<IReportAssetItem[]>;
|
|
6307
6455
|
}
|
|
6308
6456
|
|
|
6309
|
-
declare type ReportSource = Record<string, unknown> | Record<string, unknown>[];
|
|
6457
|
+
declare type ReportSource$1 = Record<string, unknown> | Record<string, unknown>[];
|
|
6458
|
+
|
|
6459
|
+
declare type ReportSource = {
|
|
6460
|
+
type: 'report';
|
|
6461
|
+
id: string;
|
|
6462
|
+
name: string;
|
|
6463
|
+
};
|
|
6310
6464
|
|
|
6311
6465
|
declare type ReportTarget = Record<string, unknown> | Record<string, unknown>[];
|
|
6312
6466
|
|
|
@@ -6404,7 +6558,9 @@ declare class SimpleBand extends DataBand {
|
|
|
6404
6558
|
get outlineLabel(): string;
|
|
6405
6559
|
get isBand(): boolean;
|
|
6406
6560
|
protected _ignoreItems(): boolean;
|
|
6561
|
+
canFold(): boolean;
|
|
6407
6562
|
protected _getEditProps(): IPropInfo[];
|
|
6563
|
+
protected _getStyleProps(): string[];
|
|
6408
6564
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
6409
6565
|
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
6410
6566
|
protected _doSave(target: object): void;
|
|
@@ -6835,6 +6991,8 @@ declare class TableBand extends DataBand {
|
|
|
6835
6991
|
setPrinting(ctx: PrintContext, pr: number, trows?: number): void;
|
|
6836
6992
|
getSaveType(): string;
|
|
6837
6993
|
get outlineLabel(): string;
|
|
6994
|
+
canFold(): boolean;
|
|
6995
|
+
protected _getStyleProps(): string[];
|
|
6838
6996
|
get isBand(): boolean;
|
|
6839
6997
|
protected _ignoreItems(): boolean;
|
|
6840
6998
|
protected _getEditProps(): IPropInfo[];
|
|
@@ -7696,7 +7854,7 @@ declare abstract class TextItemBase extends ReportItem {
|
|
|
7696
7854
|
|
|
7697
7855
|
/* Excluded from this release type: TextItemElementBase */
|
|
7698
7856
|
|
|
7699
|
-
declare type TreeItemIconType = 'group' | 'report' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
7857
|
+
declare type TreeItemIconType = 'group' | 'report' | 'reportFolder' | 'asset' | 'favorite' | 'bandData' | 'simpleData' | 'language';
|
|
7700
7858
|
|
|
7701
7859
|
declare type TreeItemSource = {
|
|
7702
7860
|
name: string;
|