realreport-designer 1.10.8 → 1.10.10
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.
|
@@ -6053,6 +6053,34 @@ declare interface IContextMenuOwner {
|
|
|
6053
6053
|
registerContextMenu(menuKey: string, contextMenus: MenuItem[]): void;
|
|
6054
6054
|
}
|
|
6055
6055
|
|
|
6056
|
+
/**
|
|
6057
|
+
* 복붙한 아이템의 정보
|
|
6058
|
+
*/
|
|
6059
|
+
declare interface ICopiedAndPastedItem {
|
|
6060
|
+
/**
|
|
6061
|
+
* 복사한 아이템의 정보
|
|
6062
|
+
*/
|
|
6063
|
+
target: ICopyTargetItem[];
|
|
6064
|
+
/**
|
|
6065
|
+
* 붙여넣은 아이템
|
|
6066
|
+
*/
|
|
6067
|
+
pastedItem: ReportItem[];
|
|
6068
|
+
pastedTarget: ReportPageItem;
|
|
6069
|
+
/**
|
|
6070
|
+
* 붙여넣은 횟수
|
|
6071
|
+
*/
|
|
6072
|
+
pastedCount: number;
|
|
6073
|
+
}
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* 복사한 아이템의 정보
|
|
6077
|
+
*/
|
|
6078
|
+
declare interface ICopyTargetItem {
|
|
6079
|
+
left: number;
|
|
6080
|
+
top: number;
|
|
6081
|
+
text?: string;
|
|
6082
|
+
}
|
|
6083
|
+
|
|
6056
6084
|
declare interface ICsvDataInfo {
|
|
6057
6085
|
/**
|
|
6058
6086
|
* 컬럼들의 이름이 표시되는 행 번호. 행은 1부터 시작.
|
|
@@ -10640,6 +10668,7 @@ declare class ReportEditor extends ReportEditorBase<PrintContext> implements IRe
|
|
|
10640
10668
|
get tableBandDesigner(): TableBandDesigner;
|
|
10641
10669
|
get simpleBandDesigner(): SimpleBandDesigner;
|
|
10642
10670
|
get editContianer(): LayerElement;
|
|
10671
|
+
get reportItemClipboardManager(): ReportItemClipboardManager;
|
|
10643
10672
|
showAlert(item: ReportItem, message: string): void;
|
|
10644
10673
|
findDropTarget(source: any, target: HTMLElement): {
|
|
10645
10674
|
target: HTMLElement;
|
|
@@ -11644,6 +11673,58 @@ declare interface ReportItemBorderWidths {
|
|
|
11644
11673
|
bottom: number;
|
|
11645
11674
|
}
|
|
11646
11675
|
|
|
11676
|
+
/**
|
|
11677
|
+
* 복사 붙여넣기 시 복사 또는 붙여넗기한 아이템들을 관리하는 매니저
|
|
11678
|
+
*/
|
|
11679
|
+
declare class ReportItemClipboardManager extends EventAware {
|
|
11680
|
+
static readonly OFFSET_X = 12;
|
|
11681
|
+
static readonly OFFSET_Y = 12;
|
|
11682
|
+
/**
|
|
11683
|
+
* 복사한 아이템
|
|
11684
|
+
*/
|
|
11685
|
+
private _copiedItems;
|
|
11686
|
+
/**
|
|
11687
|
+
* 붙여넣기한 아이템 정보
|
|
11688
|
+
*/
|
|
11689
|
+
private _copiedAndPastedItems;
|
|
11690
|
+
/**
|
|
11691
|
+
* 붙여넣기한 아이템
|
|
11692
|
+
*/
|
|
11693
|
+
private _pastedItems;
|
|
11694
|
+
/**
|
|
11695
|
+
* 붙여넣은 컨테이너
|
|
11696
|
+
*/
|
|
11697
|
+
private _pasteTarget;
|
|
11698
|
+
/**
|
|
11699
|
+
* 붙여넣은 컨테이너가 바뀌었는지 확인
|
|
11700
|
+
*/
|
|
11701
|
+
private _chagedParent;
|
|
11702
|
+
get copiedItems(): ReportItem[];
|
|
11703
|
+
get pastedItems(): ReportItem[];
|
|
11704
|
+
get copiedAndPastedItems(): ICopiedAndPastedItem[];
|
|
11705
|
+
/**
|
|
11706
|
+
* 복사한 아이템을 저장
|
|
11707
|
+
*/
|
|
11708
|
+
addCopiedItems(items: ReportItem[]): void;
|
|
11709
|
+
/**
|
|
11710
|
+
* 붙여넣기한 아이템을 저장
|
|
11711
|
+
*/
|
|
11712
|
+
addPastedItems(copyTarget: ICopyTargetItem[], pastedItems: ReportItem[]): void;
|
|
11713
|
+
/**
|
|
11714
|
+
* 붙여넣기 한 아이템의 위치를 반환
|
|
11715
|
+
*/
|
|
11716
|
+
getPastedItemPosition(item: ReportItem): ICopyTargetItem | null;
|
|
11717
|
+
/**
|
|
11718
|
+
* 아이템의 위치를 반환
|
|
11719
|
+
*/
|
|
11720
|
+
private $_getPosition;
|
|
11721
|
+
/**
|
|
11722
|
+
* 몇번째 붙여넣기 된 아이템인지 번호와 함께 text반환
|
|
11723
|
+
* 예) Text Copy-1
|
|
11724
|
+
*/
|
|
11725
|
+
private $_getText;
|
|
11726
|
+
}
|
|
11727
|
+
|
|
11647
11728
|
declare abstract class ReportItemCollection<T extends ReportPageItem = ReportPageItem> extends ReportPageItem {
|
|
11648
11729
|
canRemoveFrom(): boolean;
|
|
11649
11730
|
canParentOf(itemType: string): boolean;
|
|
@@ -14644,6 +14725,8 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14644
14725
|
private static readonly styleProps;
|
|
14645
14726
|
private _colspan;
|
|
14646
14727
|
private _rowspan;
|
|
14728
|
+
private _oldColspan;
|
|
14729
|
+
private _oldRowspan;
|
|
14647
14730
|
private _applyEndStyles;
|
|
14648
14731
|
private _styleCallback;
|
|
14649
14732
|
private _onGetStyles;
|
|
@@ -14667,11 +14750,15 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14667
14750
|
*/
|
|
14668
14751
|
get colspan(): number;
|
|
14669
14752
|
set colspan(value: number);
|
|
14753
|
+
get oldColspan(): number;
|
|
14754
|
+
set oldColspan(value: number);
|
|
14670
14755
|
/**
|
|
14671
14756
|
* row span
|
|
14672
14757
|
*/
|
|
14673
14758
|
get rowspan(): number;
|
|
14674
14759
|
set rowspan(value: number);
|
|
14760
|
+
get oldRowspan(): number;
|
|
14761
|
+
set oldRowspan(value: number);
|
|
14675
14762
|
/**
|
|
14676
14763
|
* true면 span 됐을 때 마지막 셀에 해당하는 tableRowStyles, tableColumnStyles를 적용한다.
|
|
14677
14764
|
* autoMerge된 셀의 rowspan은 적용되지 않는다.
|
|
@@ -14685,6 +14772,7 @@ declare class TableCell extends ReportItemCollectionItem {
|
|
|
14685
14772
|
get onGetStyles(): string;
|
|
14686
14773
|
set onGetStyles(value: string);
|
|
14687
14774
|
adoptDragSource(source: any): IDropResult;
|
|
14775
|
+
resetSelection(): void;
|
|
14688
14776
|
get itemType(): string;
|
|
14689
14777
|
get collection(): TableCellCollection;
|
|
14690
14778
|
get page(): ReportPageBase;
|
|
@@ -15117,6 +15205,7 @@ declare class TableSelection implements ISelectionSource {
|
|
|
15117
15205
|
getCells(ignoreHiddens: boolean): TableCell[];
|
|
15118
15206
|
resizeTo(cell: TableCell): boolean;
|
|
15119
15207
|
resizeBy(dx: number, dy: number): boolean;
|
|
15208
|
+
softEquals(cell: TableCell): boolean;
|
|
15120
15209
|
equals(cell: TableCell): boolean;
|
|
15121
15210
|
}
|
|
15122
15211
|
|