realreport-designer 1.11.9 → 1.11.11
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 +191 -187
- package/dist/realreport-designer.d.ts +21 -3
- package/dist/realreport-designer.js +29907 -29646
- package/dist/realreport-designer.umd.js +201 -197
- package/dist/styles/realreport-designer.css +1 -1
- package/package.json +1 -1
|
@@ -421,6 +421,7 @@ declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
|
|
|
421
421
|
groupInfos: (TextPrintInfo | BandPrintInfo<BandModel> | TextBandPrintInfo)[];
|
|
422
422
|
left: string;
|
|
423
423
|
gap: number;
|
|
424
|
+
bandWidth: number;
|
|
424
425
|
isEnded(): boolean;
|
|
425
426
|
getRows(): any[];
|
|
426
427
|
rollback(page: HTMLDivElement): void;
|
|
@@ -4253,6 +4254,7 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
4253
4254
|
private _cells;
|
|
4254
4255
|
private _heights;
|
|
4255
4256
|
private _sheetContextValueManager;
|
|
4257
|
+
private _pendingCells;
|
|
4256
4258
|
reportView: ExcelReportView;
|
|
4257
4259
|
sheetView: ExcelSheetView;
|
|
4258
4260
|
printView: SheetPrintView;
|
|
@@ -4283,6 +4285,11 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
4283
4285
|
setCellHeight(cell: HTMLTableCellElement): void;
|
|
4284
4286
|
setCellFixedHeight(cell: HTMLTableCellElement): void;
|
|
4285
4287
|
setConditionalFormatting(options: IConditionalFormattingOptions): void;
|
|
4288
|
+
addPendingCell(pendingContext: IExcelRenderInfo): void;
|
|
4289
|
+
/**
|
|
4290
|
+
* Pending 상태의 셀들을 모두 처리한다.
|
|
4291
|
+
*/
|
|
4292
|
+
resolvePendingCells(): Promise<void>;
|
|
4286
4293
|
preparePrint(report?: ExcelReport): void;
|
|
4287
4294
|
}
|
|
4288
4295
|
|
|
@@ -6490,7 +6497,7 @@ declare interface IExcelGroupItem {
|
|
|
6490
6497
|
}
|
|
6491
6498
|
|
|
6492
6499
|
declare interface IExcellImage {
|
|
6493
|
-
image:
|
|
6500
|
+
image: any;
|
|
6494
6501
|
width: number;
|
|
6495
6502
|
height?: number;
|
|
6496
6503
|
}
|
|
@@ -6563,7 +6570,8 @@ declare interface ImageExportOptions {
|
|
|
6563
6570
|
|
|
6564
6571
|
declare enum ImageFit {
|
|
6565
6572
|
CONTAIN = "contain",
|
|
6566
|
-
COVER = "cover"
|
|
6573
|
+
COVER = "cover",
|
|
6574
|
+
FILL = "fill"
|
|
6567
6575
|
}
|
|
6568
6576
|
|
|
6569
6577
|
/**
|
|
@@ -10596,6 +10604,13 @@ export declare class ReportDesigner {
|
|
|
10596
10604
|
setReportTemplates(templates: UserReportCategoryTemplate[]): Promise<void>;
|
|
10597
10605
|
setDataTemplates(templates: UserDataTemplateGroup[]): Promise<void>;
|
|
10598
10606
|
setAssetTemplates(templates: UserAssetTemplateGroup[]): Promise<void>;
|
|
10607
|
+
/**
|
|
10608
|
+
* 웹 디자이너에서 사용할 폰트를 동기적으로 등록
|
|
10609
|
+
* {@link https://realreport.co.kr/docs/api/ReportDesigner#registerfonts}
|
|
10610
|
+
* @param fonts - 사용자 정의 폰트 소스 배열
|
|
10611
|
+
* @param defaultFont - 기본 폰트
|
|
10612
|
+
* @returns 폰트가 로드되는 시간을 동기적으로 처리가능하도록 Promise<void> 반환
|
|
10613
|
+
*/
|
|
10599
10614
|
registerFonts(fonts: UserFontSource[], defaultFont?: string): Promise<void>;
|
|
10600
10615
|
setDesignMode(previewMode: any): void;
|
|
10601
10616
|
newReportTemplate(): void;
|
|
@@ -13789,7 +13804,7 @@ declare class SheetEditor extends ReportContainer<ExcelPrintContext> {
|
|
|
13789
13804
|
get sx(): number;
|
|
13790
13805
|
get sy(): number;
|
|
13791
13806
|
onGetStampImage: () => Promise<string>;
|
|
13792
|
-
preview(report: ExcelReport, data: ReportDataProvider, options: IPreviewOptions, allPages?: boolean): void
|
|
13807
|
+
preview(report: ExcelReport, data: ReportDataProvider, options: IPreviewOptions, allPages?: boolean): Promise<void>;
|
|
13793
13808
|
load(file: File): Promise<void>;
|
|
13794
13809
|
invalidateExtents(): void;
|
|
13795
13810
|
invalidateColumnWidths(): void;
|
|
@@ -13866,11 +13881,13 @@ declare class SheetEditTable extends ExcelTableElementBase {
|
|
|
13866
13881
|
private $_prepareColumns;
|
|
13867
13882
|
private $_prepareRows;
|
|
13868
13883
|
private $_recalcHeights;
|
|
13884
|
+
private $_getTotalRowHeight;
|
|
13869
13885
|
/**
|
|
13870
13886
|
* [주의] cells가 위에서 아래로, 왼쪽에 오른쪽으로 정렬되어 있다고 가정한다.
|
|
13871
13887
|
*/
|
|
13872
13888
|
private $_renderCells;
|
|
13873
13889
|
private $_writeCell;
|
|
13890
|
+
private $_prepareBarcodeContent;
|
|
13874
13891
|
private $_prepareImageContent;
|
|
13875
13892
|
private $_prepareBarContent;
|
|
13876
13893
|
private $_prepareConditionalFormattingRef;
|
|
@@ -16115,6 +16132,7 @@ declare class TextPrintInfo {
|
|
|
16115
16132
|
bandCellWidth: number;
|
|
16116
16133
|
bandCellHeight: number;
|
|
16117
16134
|
element: TextItemElement;
|
|
16135
|
+
isPrinted: boolean;
|
|
16118
16136
|
constructor(bandCellWidth: number, bandCellHeight: number, element: TextItemElement);
|
|
16119
16137
|
}
|
|
16120
16138
|
|