realreport-designer 1.10.9 → 1.10.12
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 +213 -198
- package/dist/realreport-designer.d.ts +106 -2
- package/dist/realreport-designer.js +52448 -50330
- package/dist/realreport-designer.umd.js +233 -218
- package/dist/styles/realreport-designer.css +27 -5
- package/package.json +1 -1
|
@@ -527,6 +527,10 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
|
|
|
527
527
|
protected _resetRowIndex(row: BandPrintInfo<SimpleBand | TableBand | BandGroup>): void;
|
|
528
528
|
protected _prepareDetailBandPrintNext(ctx: PrintContextBase, band: DataBand, row: BandPrintInfo<SimpleBand | TableBand | BandGroup>, rows: BandPrintRow[], rowsPerPage: number): void;
|
|
529
529
|
protected _isNextRowDataRow(rows: BandPrintRow[]): boolean;
|
|
530
|
+
/**
|
|
531
|
+
* 밴드 디테일 영역에서 SummaryItem 계산을 위한 데이터 준비
|
|
532
|
+
*/
|
|
533
|
+
protected _prepareBandDetailSummary(ctx: PrintContext, band: DataBand): void;
|
|
530
534
|
}
|
|
531
535
|
|
|
532
536
|
declare type BandPrintRow = number | BandFooterPrintInfo | BandPrintInfo<any> | EndRowMarker;
|
|
@@ -2008,6 +2012,7 @@ declare abstract class DataBand extends ReportBandItem {
|
|
|
2008
2012
|
getMin(field: string, count: number, rows?: number[]): number;
|
|
2009
2013
|
getMax(field: string, count: number, rows?: number[]): number;
|
|
2010
2014
|
getAvg(field: string, count: number, rows?: number[]): number;
|
|
2015
|
+
getGroupField(field: string, count: number, rows?: number[]): string;
|
|
2011
2016
|
getPropDomain(prop: IPropInfo): any[];
|
|
2012
2017
|
/**
|
|
2013
2018
|
* 출력시 사용되는 밴드의 정보를 초기값으로 초기화
|
|
@@ -2036,6 +2041,7 @@ declare abstract class DataBand extends ReportBandItem {
|
|
|
2036
2041
|
private $_getSum;
|
|
2037
2042
|
private $_getMin;
|
|
2038
2043
|
private $_getMax;
|
|
2044
|
+
private $_getGroupField;
|
|
2039
2045
|
protected _createDataBandCollection(): DataBandCollection;
|
|
2040
2046
|
}
|
|
2041
2047
|
|
|
@@ -4906,6 +4912,7 @@ declare class FieldListManager extends VisualElement {
|
|
|
4906
4912
|
private _moveFieldEnabled;
|
|
4907
4913
|
private _onSearchFieldRefresh;
|
|
4908
4914
|
private _saveOrderWhenFieldOrderChanged;
|
|
4915
|
+
private _fieldsLabelElement;
|
|
4909
4916
|
constructor(doc: Document, name: string, label: string);
|
|
4910
4917
|
protected _doDispose(): void;
|
|
4911
4918
|
get fieldContainer(): HTMLDivElement;
|
|
@@ -4918,6 +4925,7 @@ declare class FieldListManager extends VisualElement {
|
|
|
4918
4925
|
get firstFieldElement(): Element;
|
|
4919
4926
|
get lastFieldElement(): Element;
|
|
4920
4927
|
get selectedElement(): HTMLElement;
|
|
4928
|
+
get fieldsLabelElement(): Element;
|
|
4921
4929
|
get isSorting(): boolean;
|
|
4922
4930
|
get isSearching(): boolean;
|
|
4923
4931
|
set sortEnabled(value: boolean);
|
|
@@ -4944,6 +4952,7 @@ declare class FieldListManager extends VisualElement {
|
|
|
4944
4952
|
getFieldsByOriginalOrder(): FieldElementInfo[];
|
|
4945
4953
|
close(): void;
|
|
4946
4954
|
refreshUpDownBtn(): void;
|
|
4955
|
+
refreshFieldsLabel(): void;
|
|
4947
4956
|
focusSearchField(): void;
|
|
4948
4957
|
scrollToFirstField(): void;
|
|
4949
4958
|
scrollToLastField(): void;
|
|
@@ -6053,6 +6062,34 @@ declare interface IContextMenuOwner {
|
|
|
6053
6062
|
registerContextMenu(menuKey: string, contextMenus: MenuItem[]): void;
|
|
6054
6063
|
}
|
|
6055
6064
|
|
|
6065
|
+
/**
|
|
6066
|
+
* 복붙한 아이템의 정보
|
|
6067
|
+
*/
|
|
6068
|
+
declare interface ICopiedAndPastedItem {
|
|
6069
|
+
/**
|
|
6070
|
+
* 복사한 아이템의 정보
|
|
6071
|
+
*/
|
|
6072
|
+
target: ICopyTargetItem[];
|
|
6073
|
+
/**
|
|
6074
|
+
* 붙여넣은 아이템
|
|
6075
|
+
*/
|
|
6076
|
+
pastedItem: ReportItem[];
|
|
6077
|
+
pastedTarget: ReportPageItem;
|
|
6078
|
+
/**
|
|
6079
|
+
* 붙여넣은 횟수
|
|
6080
|
+
*/
|
|
6081
|
+
pastedCount: number;
|
|
6082
|
+
}
|
|
6083
|
+
|
|
6084
|
+
/**
|
|
6085
|
+
* 복사한 아이템의 정보
|
|
6086
|
+
*/
|
|
6087
|
+
declare interface ICopyTargetItem {
|
|
6088
|
+
left: number;
|
|
6089
|
+
top: number;
|
|
6090
|
+
text?: string;
|
|
6091
|
+
}
|
|
6092
|
+
|
|
6056
6093
|
declare interface ICsvDataInfo {
|
|
6057
6094
|
/**
|
|
6058
6095
|
* 컬럼들의 이름이 표시되는 행 번호. 행은 1부터 시작.
|
|
@@ -6354,12 +6391,18 @@ declare interface IExcelRenderInfo {
|
|
|
6354
6391
|
row: number;
|
|
6355
6392
|
col: number;
|
|
6356
6393
|
rowCount?: number;
|
|
6357
|
-
|
|
6394
|
+
/**
|
|
6395
|
+
* 해당 아이템이 출력해야하는 행 수
|
|
6396
|
+
*/
|
|
6397
|
+
runRows: number;
|
|
6358
6398
|
colCount?: number;
|
|
6359
6399
|
band?: IExcelBandContext;
|
|
6360
6400
|
box?: boolean;
|
|
6361
6401
|
sign?: any;
|
|
6362
6402
|
stamp?: any;
|
|
6403
|
+
/**
|
|
6404
|
+
* 아이템이 출력해야 할 정확한 행 위치
|
|
6405
|
+
*/
|
|
6363
6406
|
r?: number;
|
|
6364
6407
|
cells: IExcelCell | IExcelCell[];
|
|
6365
6408
|
hCells?: IExcelCell[];
|
|
@@ -10640,6 +10683,7 @@ declare class ReportEditor extends ReportEditorBase<PrintContext> implements IRe
|
|
|
10640
10683
|
get tableBandDesigner(): TableBandDesigner;
|
|
10641
10684
|
get simpleBandDesigner(): SimpleBandDesigner;
|
|
10642
10685
|
get editContianer(): LayerElement;
|
|
10686
|
+
get reportItemClipboardManager(): ReportItemClipboardManager;
|
|
10643
10687
|
showAlert(item: ReportItem, message: string): void;
|
|
10644
10688
|
findDropTarget(source: any, target: HTMLElement): {
|
|
10645
10689
|
target: HTMLElement;
|
|
@@ -11644,6 +11688,58 @@ declare interface ReportItemBorderWidths {
|
|
|
11644
11688
|
bottom: number;
|
|
11645
11689
|
}
|
|
11646
11690
|
|
|
11691
|
+
/**
|
|
11692
|
+
* 복사 붙여넣기 시 복사 또는 붙여넗기한 아이템들을 관리하는 매니저
|
|
11693
|
+
*/
|
|
11694
|
+
declare class ReportItemClipboardManager extends EventAware {
|
|
11695
|
+
static readonly OFFSET_X = 12;
|
|
11696
|
+
static readonly OFFSET_Y = 12;
|
|
11697
|
+
/**
|
|
11698
|
+
* 복사한 아이템
|
|
11699
|
+
*/
|
|
11700
|
+
private _copiedItems;
|
|
11701
|
+
/**
|
|
11702
|
+
* 붙여넣기한 아이템 정보
|
|
11703
|
+
*/
|
|
11704
|
+
private _copiedAndPastedItems;
|
|
11705
|
+
/**
|
|
11706
|
+
* 붙여넣기한 아이템
|
|
11707
|
+
*/
|
|
11708
|
+
private _pastedItems;
|
|
11709
|
+
/**
|
|
11710
|
+
* 붙여넣은 컨테이너
|
|
11711
|
+
*/
|
|
11712
|
+
private _pasteTarget;
|
|
11713
|
+
/**
|
|
11714
|
+
* 붙여넣은 컨테이너가 바뀌었는지 확인
|
|
11715
|
+
*/
|
|
11716
|
+
private _chagedParent;
|
|
11717
|
+
get copiedItems(): ReportItem[];
|
|
11718
|
+
get pastedItems(): ReportItem[];
|
|
11719
|
+
get copiedAndPastedItems(): ICopiedAndPastedItem[];
|
|
11720
|
+
/**
|
|
11721
|
+
* 복사한 아이템을 저장
|
|
11722
|
+
*/
|
|
11723
|
+
addCopiedItems(items: ReportItem[]): void;
|
|
11724
|
+
/**
|
|
11725
|
+
* 붙여넣기한 아이템을 저장
|
|
11726
|
+
*/
|
|
11727
|
+
addPastedItems(copyTarget: ICopyTargetItem[], pastedItems: ReportItem[]): void;
|
|
11728
|
+
/**
|
|
11729
|
+
* 붙여넣기 한 아이템의 위치를 반환
|
|
11730
|
+
*/
|
|
11731
|
+
getPastedItemPosition(item: ReportItem): ICopyTargetItem | null;
|
|
11732
|
+
/**
|
|
11733
|
+
* 아이템의 위치를 반환
|
|
11734
|
+
*/
|
|
11735
|
+
private $_getPosition;
|
|
11736
|
+
/**
|
|
11737
|
+
* 몇번째 붙여넣기 된 아이템인지 번호와 함께 text반환
|
|
11738
|
+
* 예) Text Copy-1
|
|
11739
|
+
*/
|
|
11740
|
+
private $_getText;
|
|
11741
|
+
}
|
|
11742
|
+
|
|
11647
11743
|
declare abstract class ReportItemCollection<T extends ReportPageItem = ReportPageItem> extends ReportPageItem {
|
|
11648
11744
|
canRemoveFrom(): boolean;
|
|
11649
11745
|
canParentOf(itemType: string): boolean;
|
|
@@ -13964,7 +14060,7 @@ declare class SummaryItem extends TextItemBase {
|
|
|
13964
14060
|
*/
|
|
13965
14061
|
get expression(): string;
|
|
13966
14062
|
set expression(value: string);
|
|
13967
|
-
getSummary(runtime: DataBandSummaryRuntime): any;
|
|
14063
|
+
getSummary(runtime: DataBandSummaryRuntime, ctx: PrintContext | ExcelPrintContext): any;
|
|
13968
14064
|
getSaveType(): string;
|
|
13969
14065
|
canAddToFrontContainer(): boolean;
|
|
13970
14066
|
canAddToBackContainer(): boolean;
|
|
@@ -14644,6 +14740,8 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14644
14740
|
private static readonly styleProps;
|
|
14645
14741
|
private _colspan;
|
|
14646
14742
|
private _rowspan;
|
|
14743
|
+
private _oldColspan;
|
|
14744
|
+
private _oldRowspan;
|
|
14647
14745
|
private _applyEndStyles;
|
|
14648
14746
|
private _styleCallback;
|
|
14649
14747
|
private _onGetStyles;
|
|
@@ -14667,11 +14765,15 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14667
14765
|
*/
|
|
14668
14766
|
get colspan(): number;
|
|
14669
14767
|
set colspan(value: number);
|
|
14768
|
+
get oldColspan(): number;
|
|
14769
|
+
set oldColspan(value: number);
|
|
14670
14770
|
/**
|
|
14671
14771
|
* row span
|
|
14672
14772
|
*/
|
|
14673
14773
|
get rowspan(): number;
|
|
14674
14774
|
set rowspan(value: number);
|
|
14775
|
+
get oldRowspan(): number;
|
|
14776
|
+
set oldRowspan(value: number);
|
|
14675
14777
|
/**
|
|
14676
14778
|
* true면 span 됐을 때 마지막 셀에 해당하는 tableRowStyles, tableColumnStyles를 적용한다.
|
|
14677
14779
|
* autoMerge된 셀의 rowspan은 적용되지 않는다.
|
|
@@ -14685,6 +14787,7 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14685
14787
|
get onGetStyles(): string;
|
|
14686
14788
|
set onGetStyles(value: string);
|
|
14687
14789
|
adoptDragSource(source: any): IDropResult;
|
|
14790
|
+
resetSelection(): void;
|
|
14688
14791
|
get itemType(): string;
|
|
14689
14792
|
get collection(): TableCellCollection;
|
|
14690
14793
|
get page(): ReportPageBase;
|
|
@@ -15117,6 +15220,7 @@ declare class TableSelection implements ISelectionSource {
|
|
|
15117
15220
|
getCells(ignoreHiddens: boolean): TableCell[];
|
|
15118
15221
|
resizeTo(cell: TableCell): boolean;
|
|
15119
15222
|
resizeBy(dx: number, dy: number): boolean;
|
|
15223
|
+
softEquals(cell: TableCell): boolean;
|
|
15120
15224
|
equals(cell: TableCell): boolean;
|
|
15121
15225
|
}
|
|
15122
15226
|
|