realreport 1.11.7 → 1.11.9
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.css +1 -1
- package/dist/realreport.d.ts +105 -9
- package/dist/realreport.es.js +3 -3
- package/dist/realreport.js +3 -3
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.11.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.11.9
|
|
4
|
+
* commit 32f9e9e
|
|
5
5
|
|
|
6
6
|
* {@link https://real-report.com}
|
|
7
7
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { Cvfo, Style } from 'exceljs';
|
|
12
|
+
import { ExportOptions as ExportOptions$1 } from '@realgrid/realchart';
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
|
-
* RealReport Core v1.11.
|
|
15
|
+
* RealReport Core v1.11.9
|
|
15
16
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
17
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
18
|
+
* commit ae70ee50fe99ee75356750e89b71d8448f60fff0
|
|
18
19
|
*/
|
|
19
20
|
|
|
20
21
|
|
|
@@ -3442,6 +3443,7 @@ declare abstract class PopupElement extends ReportElement implements Closable {
|
|
|
3442
3443
|
/** @internal */
|
|
3443
3444
|
declare abstract class ReportItemElement<T extends ReportItem = ReportItem> extends ReportElement {
|
|
3444
3445
|
static readonly FOLDED_HEIGHT = 22;
|
|
3446
|
+
static readonly BASE_CLASS_NAME = "rr-item-element";
|
|
3445
3447
|
/**
|
|
3446
3448
|
* 리포트 아이템 표시 여부 확인하기
|
|
3447
3449
|
*
|
|
@@ -6192,6 +6194,7 @@ declare class BarcodeItem extends ReportItem {
|
|
|
6192
6194
|
static readonly PROP_TEXT_ALIGN = "textAlign";
|
|
6193
6195
|
static readonly PROP_FLAT = "flat";
|
|
6194
6196
|
static readonly PROP_LAST_CHAR = "lastChar";
|
|
6197
|
+
static readonly PROP_AUTO_SCALE = "autoScale";
|
|
6195
6198
|
/** Barcode를 표현할 수 있는 영역의 최소 크기 (한 변 기준, px단위) */
|
|
6196
6199
|
static readonly BARCODE_WIDTH_MIN_SIZE = 50;
|
|
6197
6200
|
static readonly BARCODE_HEIGHT_MIN_SIZE = 15;
|
|
@@ -6208,6 +6211,7 @@ declare class BarcodeItem extends ReportItem {
|
|
|
6208
6211
|
private _textMargin;
|
|
6209
6212
|
private _flat;
|
|
6210
6213
|
private _lastChar;
|
|
6214
|
+
private _autoScale;
|
|
6211
6215
|
constructor(name: string);
|
|
6212
6216
|
/** format */
|
|
6213
6217
|
get format(): BarcodeFormat;
|
|
@@ -6246,6 +6250,11 @@ declare class BarcodeItem extends ReportItem {
|
|
|
6246
6250
|
set flat(value: boolean);
|
|
6247
6251
|
get lastChar(): string;
|
|
6248
6252
|
set lastChar(value: string);
|
|
6253
|
+
/**
|
|
6254
|
+
* autoSize
|
|
6255
|
+
*/
|
|
6256
|
+
get autoScale(): boolean;
|
|
6257
|
+
set autoScale(value: boolean);
|
|
6249
6258
|
convertText(s: string): string;
|
|
6250
6259
|
getSaveType(): string;
|
|
6251
6260
|
get outlineLabel(): string;
|
|
@@ -6954,6 +6963,15 @@ interface IExcellImage {
|
|
|
6954
6963
|
width: number;
|
|
6955
6964
|
height?: number;
|
|
6956
6965
|
}
|
|
6966
|
+
interface IExcelBarcode {
|
|
6967
|
+
value: string;
|
|
6968
|
+
format: string;
|
|
6969
|
+
barWidth: number;
|
|
6970
|
+
showText: boolean;
|
|
6971
|
+
textAlign: 'left' | 'center' | 'right';
|
|
6972
|
+
textPosition: 'bottom' | 'top';
|
|
6973
|
+
textMargin: number;
|
|
6974
|
+
}
|
|
6957
6975
|
interface IExcelCell {
|
|
6958
6976
|
info?: IExcelRenderInfo;
|
|
6959
6977
|
r: number;
|
|
@@ -6974,6 +6992,7 @@ interface IExcelCell {
|
|
|
6974
6992
|
annotation?: string;
|
|
6975
6993
|
link?: string;
|
|
6976
6994
|
image?: IExcellImage;
|
|
6995
|
+
barcode?: IExcelBarcode;
|
|
6977
6996
|
spark?: any;
|
|
6978
6997
|
style?: Styles;
|
|
6979
6998
|
rotation?: number | 'vertical';
|
|
@@ -6984,6 +7003,9 @@ interface IExcelCell {
|
|
|
6984
7003
|
cbandGroup?: IExcelBandGroupContext;
|
|
6985
7004
|
cband?: IExcelBandContext;
|
|
6986
7005
|
bandSectionType?: BandSectionType;
|
|
7006
|
+
contextValue?: {
|
|
7007
|
+
value: '${pages}' | '%{pages}' | '${page}' | '%{page}';
|
|
7008
|
+
};
|
|
6987
7009
|
}
|
|
6988
7010
|
type IExcelBandExcelMatrix = IExcelCell[];
|
|
6989
7011
|
interface IExcelBandGroupContext {
|
|
@@ -7118,6 +7140,7 @@ declare class ExcelBarcodeItem extends BarcodeItem {
|
|
|
7118
7140
|
cols: number;
|
|
7119
7141
|
};
|
|
7120
7142
|
write(ctx: ExcelPrintContext): IExcelRenderInfo;
|
|
7143
|
+
getText(ctx: ExcelPrintContext): string;
|
|
7121
7144
|
get marqueeParent(): ReportItem;
|
|
7122
7145
|
protected _getEditProps(): IPropInfo[];
|
|
7123
7146
|
canFold(): boolean;
|
|
@@ -8093,6 +8116,22 @@ declare class ExcelDataBandRowGroup extends DataBandRowGroup {
|
|
|
8093
8116
|
protected _doPrepareLayout(printing: boolean): void;
|
|
8094
8117
|
}
|
|
8095
8118
|
|
|
8119
|
+
/**
|
|
8120
|
+
* 시트 Context 값 관련 관리 클래스
|
|
8121
|
+
*/
|
|
8122
|
+
declare class SheetContextValueManager {
|
|
8123
|
+
private _refreshContextValueElements;
|
|
8124
|
+
constructor();
|
|
8125
|
+
registerRefreshContextValueElement(element: HTMLElement): void;
|
|
8126
|
+
/**
|
|
8127
|
+
* ContextValue 관련 요소들의 값을 갱신
|
|
8128
|
+
* TODO: 이후에는 ContextValue 값에 따라 갱신할 요소를 구분할 수 있도록 개선 필요
|
|
8129
|
+
* - ${pages}, %{pages}
|
|
8130
|
+
* @param value 갱신해야 할 값
|
|
8131
|
+
*/
|
|
8132
|
+
refreshContextValueElements(value: any): void;
|
|
8133
|
+
}
|
|
8134
|
+
|
|
8096
8135
|
type SignLine = Array<{
|
|
8097
8136
|
x: number;
|
|
8098
8137
|
y: number;
|
|
@@ -8451,6 +8490,7 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
8451
8490
|
private _saveSameStartPrintedRowCount;
|
|
8452
8491
|
private _cells;
|
|
8453
8492
|
private _heights;
|
|
8493
|
+
private _sheetContextValueManager;
|
|
8454
8494
|
reportView: ExcelReportView;
|
|
8455
8495
|
sheetView: ExcelSheetView;
|
|
8456
8496
|
printView: SheetPrintView;
|
|
@@ -8472,6 +8512,8 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
8472
8512
|
set cells(cells: IExcelRenderInfo[][]);
|
|
8473
8513
|
get heights(): number[][];
|
|
8474
8514
|
set heights(heights: number[][]);
|
|
8515
|
+
get sheetContextValueManager(): SheetContextValueManager;
|
|
8516
|
+
constructor(printing?: boolean);
|
|
8475
8517
|
getItemCell(item: ExcelItems | ExcelGroupItems): HTMLTableCellElement;
|
|
8476
8518
|
getCell(row: number, col: number): HTMLTableCellElement;
|
|
8477
8519
|
getItemRect(item: ExcelItems | ExcelGroupItem): IRect;
|
|
@@ -10678,6 +10720,7 @@ declare class RowBoxMarquee extends EditMarquee<RowBoxContainerElement> {
|
|
|
10678
10720
|
}
|
|
10679
10721
|
|
|
10680
10722
|
declare class RealChartItemElement extends ReportItemElement<RealChartItem> implements AsyncLoadable {
|
|
10723
|
+
static readonly ITEM_CLASS = "rr-chart";
|
|
10681
10724
|
private _chartDiv;
|
|
10682
10725
|
private _wrapper;
|
|
10683
10726
|
protected _getCssSelector(): string;
|
|
@@ -15246,6 +15289,15 @@ declare class Email extends Report {
|
|
|
15246
15289
|
protected _createPage(): ReportPage;
|
|
15247
15290
|
}
|
|
15248
15291
|
|
|
15292
|
+
interface RealChartImageExportOptions extends ExportOptions$1 {
|
|
15293
|
+
type?: 'png';
|
|
15294
|
+
fontFamily?: string;
|
|
15295
|
+
}
|
|
15296
|
+
|
|
15297
|
+
type EmailHtmlExportOptions = {
|
|
15298
|
+
chartOptions?: RealChartImageExportOptions;
|
|
15299
|
+
};
|
|
15300
|
+
|
|
15249
15301
|
declare class ExcelPrintContainer extends PrintContainerBase {
|
|
15250
15302
|
private _context;
|
|
15251
15303
|
private _indicator;
|
|
@@ -15277,6 +15329,7 @@ declare class ExcelPrintContainer extends PrintContainerBase {
|
|
|
15277
15329
|
getCurrentPage(scrollHeight: number, scrollTop: number): number;
|
|
15278
15330
|
loadAsyncLoadableElements(): Promise<void>;
|
|
15279
15331
|
protected _doPrepareContainer(doc: Document, dom: HTMLElement): void;
|
|
15332
|
+
protected _setPrintMode(reports: ReportBase | (ReportBase | IPrintReport)[]): void;
|
|
15280
15333
|
private $_printReport;
|
|
15281
15334
|
private $_getPageHeight;
|
|
15282
15335
|
}
|
|
@@ -49279,7 +49332,7 @@ declare class ReportViewer extends ReportViewBase {
|
|
|
49279
49332
|
/**
|
|
49280
49333
|
* 이메일 HTML 내보내기 함수
|
|
49281
49334
|
*/
|
|
49282
|
-
exportEmailHtml(): Promise<string>;
|
|
49335
|
+
exportEmailHtml({ chartOptions, }: EmailHtmlExportOptions): Promise<string>;
|
|
49283
49336
|
/**
|
|
49284
49337
|
* 배열로 넘긴 데이터를 기반으로 여러 파일로 분리해서 문서파일을 다운로드한다.
|
|
49285
49338
|
* @param options
|
|
@@ -49309,8 +49362,16 @@ interface GridReportHeader$1 {
|
|
|
49309
49362
|
interface GridReportTitle$1 extends TextItem {
|
|
49310
49363
|
sample?: string;
|
|
49311
49364
|
}
|
|
49365
|
+
interface GridReportPaperOptions {
|
|
49366
|
+
orientation?: PaperOrientation;
|
|
49367
|
+
paperSize?: 'A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'A7' | 'A8';
|
|
49368
|
+
marginLeft?: number;
|
|
49369
|
+
marginRight?: number;
|
|
49370
|
+
marginTop?: number;
|
|
49371
|
+
marginBottom?: number;
|
|
49372
|
+
}
|
|
49312
49373
|
interface GridReportOptions$1 extends ReportOptions {
|
|
49313
|
-
paper?:
|
|
49374
|
+
paper?: GridReportPaperOptions;
|
|
49314
49375
|
title?: GridReportTitle$1;
|
|
49315
49376
|
subTitle?: GridReportTitle$1;
|
|
49316
49377
|
gridHeader?: GridReportHeader$1;
|
|
@@ -49325,6 +49386,7 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49325
49386
|
static readonly HEADER_ITEM_STYLES: string[];
|
|
49326
49387
|
static readonly HEADER_STYLES: string[];
|
|
49327
49388
|
static readonly CELL_STYLES: string[];
|
|
49389
|
+
static readonly PAPER_SIZES: string[];
|
|
49328
49390
|
private _grid;
|
|
49329
49391
|
private _gridValues;
|
|
49330
49392
|
private _gridTable;
|
|
@@ -49415,6 +49477,10 @@ declare class GridReportViewer extends ReportViewer {
|
|
|
49415
49477
|
* 컬럼 옵션 스타일을 적용한다.
|
|
49416
49478
|
*/
|
|
49417
49479
|
private $_applyColumnOptions;
|
|
49480
|
+
/**
|
|
49481
|
+
*
|
|
49482
|
+
*/
|
|
49483
|
+
private $_getPaperSize;
|
|
49418
49484
|
}
|
|
49419
49485
|
|
|
49420
49486
|
/**
|
|
@@ -49445,12 +49511,42 @@ declare class ReportCompositeViewer extends ReportViewBase {
|
|
|
49445
49511
|
* @param options PDFExportBlobOptions
|
|
49446
49512
|
*/
|
|
49447
49513
|
exportPdfBlob(options: PDFExportBlobOptions): Promise<Blob>;
|
|
49448
|
-
|
|
49449
|
-
|
|
49514
|
+
/**
|
|
49515
|
+
* 문서 내보내기 함수
|
|
49516
|
+
* @param options
|
|
49517
|
+
*/
|
|
49518
|
+
exportDocument(options?: DocumentExportOptions): Promise<void>;
|
|
49519
|
+
/**
|
|
49520
|
+
* 리포트를 문서 파일 형식의 Blob 데이터로 반환
|
|
49521
|
+
* @param options
|
|
49522
|
+
*/
|
|
49523
|
+
exportDocumentBlob(options?: DocumentExportBlobOptions): Promise<Blob>;
|
|
49524
|
+
/**
|
|
49525
|
+
* 이미지 내보내기 함수
|
|
49526
|
+
* @param imageOptions
|
|
49527
|
+
*/
|
|
49528
|
+
exportImage(imageOptions: ImageExportOptions): Promise<void>;
|
|
49529
|
+
/**
|
|
49530
|
+
* 리포트를 이미지로 변환 후 Blob 배열 형식으로 반환
|
|
49531
|
+
* @param imageOptions
|
|
49532
|
+
*/
|
|
49533
|
+
exportImageBlob(imageOptions?: ImageExportBlobOptions): Promise<Blob[]>;
|
|
49450
49534
|
dispose(): void;
|
|
49451
49535
|
private _checkReportFormSet;
|
|
49536
|
+
/**
|
|
49537
|
+
* 현재 리포트가 문서(pptx, hwp, docs)를 지원하는지 여부를 결정합니다.
|
|
49538
|
+
*/
|
|
49539
|
+
private $_hasSupportDocument;
|
|
49452
49540
|
}
|
|
49453
49541
|
|
|
49542
|
+
declare class Globals {
|
|
49543
|
+
static getVersion(): string;
|
|
49544
|
+
static setLicenseKey(license: string): void;
|
|
49545
|
+
}
|
|
49546
|
+
|
|
49547
|
+
declare const getVersion: typeof Globals.getVersion;
|
|
49548
|
+
declare const setLicenseKey: typeof Globals.setLicenseKey;
|
|
49549
|
+
|
|
49454
49550
|
interface ReportOptions {
|
|
49455
49551
|
zoom: number;
|
|
49456
49552
|
}
|
|
@@ -49726,4 +49822,4 @@ declare const IMG_EXPORT_DEFAULT_OPTIONS: ImageExportOptions;
|
|
|
49726
49822
|
*/
|
|
49727
49823
|
declare const ZOOM_ERROR_MESSAGE = "\uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778 \uACBD\uC6B0\uB9CC \uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uD398\uC774\uC9C0 \uBC30\uC728 \uAC12\uC774 100%\uC778\uC9C0 \uD655\uC778\uD574 \uC8FC\uC138\uC694.";
|
|
49728
49824
|
|
|
49729
|
-
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE };
|
|
49825
|
+
export { DOC_EXPORT_DEFAULT_OPTIONS, DocumentExportBlobOptions, DocumentExportOptions, DocumentsExportFromDataOptions, GridReportHeader, GridReportItemSource, GridReportLayout, GridReportLayoutHeader, GridReportOptions, GridReportSaveOptions, GridReportTitle, GridReportViewer, IMG_EXPORT_DEFAULT_OPTIONS, ImageExportBlobOptions, ImageExportOptions, LayoutColumn, PDFExportBlobOptions, PDFExportOptions, PreviewOptions, PrintOptions, ReportCompositeViewer, ReportData, ReportDataSet, ReportForm, ReportFormSet, ReportFormSets, ReportOptions, ReportViewer, ZOOM_ERROR_MESSAGE, getVersion, setLicenseKey };
|