realreport-designer 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-designer.cjs +207 -176
- package/dist/realreport-designer.d.ts +51 -0
- package/dist/realreport-designer.js +22528 -21867
- package/dist/realreport-designer.umd.js +209 -178
- package/dist/styles/realreport-designer.css +1 -1
- package/package.json +1 -1
|
@@ -591,6 +591,7 @@ declare class BarcodeItem extends ReportItem {
|
|
|
591
591
|
static readonly PROP_TEXT_ALIGN = "textAlign";
|
|
592
592
|
static readonly PROP_FLAT = "flat";
|
|
593
593
|
static readonly PROP_LAST_CHAR = "lastChar";
|
|
594
|
+
static readonly PROP_AUTO_SCALE = "autoScale";
|
|
594
595
|
/** Barcode를 표현할 수 있는 영역의 최소 크기 (한 변 기준, px단위) */
|
|
595
596
|
static readonly BARCODE_WIDTH_MIN_SIZE = 50;
|
|
596
597
|
static readonly BARCODE_HEIGHT_MIN_SIZE = 15;
|
|
@@ -607,6 +608,7 @@ declare class BarcodeItem extends ReportItem {
|
|
|
607
608
|
private _textMargin;
|
|
608
609
|
private _flat;
|
|
609
610
|
private _lastChar;
|
|
611
|
+
private _autoScale;
|
|
610
612
|
constructor(name: string);
|
|
611
613
|
/** format */
|
|
612
614
|
get format(): BarcodeFormat;
|
|
@@ -645,6 +647,11 @@ declare class BarcodeItem extends ReportItem {
|
|
|
645
647
|
set flat(value: boolean);
|
|
646
648
|
get lastChar(): string;
|
|
647
649
|
set lastChar(value: string);
|
|
650
|
+
/**
|
|
651
|
+
* autoSize
|
|
652
|
+
*/
|
|
653
|
+
get autoScale(): boolean;
|
|
654
|
+
set autoScale(value: boolean);
|
|
648
655
|
convertText(s: string): string;
|
|
649
656
|
getSaveType(): string;
|
|
650
657
|
get outlineLabel(): string;
|
|
@@ -3059,6 +3066,7 @@ declare class ExcelBarcodeItem extends BarcodeItem {
|
|
|
3059
3066
|
cols: number;
|
|
3060
3067
|
};
|
|
3061
3068
|
write(ctx: ExcelPrintContext): IExcelRenderInfo;
|
|
3069
|
+
getText(ctx: ExcelPrintContext): string;
|
|
3062
3070
|
get marqueeParent(): ReportItem;
|
|
3063
3071
|
protected _getEditProps(): IPropInfo[];
|
|
3064
3072
|
canFold(): boolean;
|
|
@@ -4244,6 +4252,7 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
4244
4252
|
private _saveSameStartPrintedRowCount;
|
|
4245
4253
|
private _cells;
|
|
4246
4254
|
private _heights;
|
|
4255
|
+
private _sheetContextValueManager;
|
|
4247
4256
|
reportView: ExcelReportView;
|
|
4248
4257
|
sheetView: ExcelSheetView;
|
|
4249
4258
|
printView: SheetPrintView;
|
|
@@ -4265,6 +4274,8 @@ declare class ExcelPrintContext extends PrintContextBase<ExcelReport> {
|
|
|
4265
4274
|
set cells(cells: IExcelRenderInfo[][]);
|
|
4266
4275
|
get heights(): number[][];
|
|
4267
4276
|
set heights(heights: number[][]);
|
|
4277
|
+
get sheetContextValueManager(): SheetContextValueManager;
|
|
4278
|
+
constructor(printing?: boolean);
|
|
4268
4279
|
getItemCell(item: ExcelItems | ExcelGroupItems): HTMLTableCellElement;
|
|
4269
4280
|
getCell(row: number, col: number): HTMLTableCellElement;
|
|
4270
4281
|
getItemRect(item: ExcelItems | ExcelGroupItem): IRect;
|
|
@@ -5198,6 +5209,13 @@ declare enum FormulaConverterErrorCode {
|
|
|
5198
5209
|
BAND_NOT_FOUND = "BAND_NOT_FOUND"
|
|
5199
5210
|
}
|
|
5200
5211
|
|
|
5212
|
+
export declare const getVersion: typeof Globals.getVersion;
|
|
5213
|
+
|
|
5214
|
+
declare class Globals {
|
|
5215
|
+
static getVersion(): string;
|
|
5216
|
+
static setLicenseKey(license: string): void;
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5201
5219
|
/**
|
|
5202
5220
|
* Header bar contaioner 모델.
|
|
5203
5221
|
*/
|
|
@@ -6373,6 +6391,16 @@ declare interface IExcelBandGroupContext {
|
|
|
6373
6391
|
children: IExcelBandGroupContext[];
|
|
6374
6392
|
}
|
|
6375
6393
|
|
|
6394
|
+
declare interface IExcelBarcode {
|
|
6395
|
+
value: string;
|
|
6396
|
+
format: string;
|
|
6397
|
+
barWidth: number;
|
|
6398
|
+
showText: boolean;
|
|
6399
|
+
textAlign: 'left' | 'center' | 'right';
|
|
6400
|
+
textPosition: 'bottom' | 'top';
|
|
6401
|
+
textMargin: number;
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6376
6404
|
declare interface IExcelBoxContext {
|
|
6377
6405
|
model: string;
|
|
6378
6406
|
}
|
|
@@ -6397,6 +6425,7 @@ declare interface IExcelCell {
|
|
|
6397
6425
|
annotation?: string;
|
|
6398
6426
|
link?: string;
|
|
6399
6427
|
image?: IExcellImage;
|
|
6428
|
+
barcode?: IExcelBarcode;
|
|
6400
6429
|
spark?: any;
|
|
6401
6430
|
style?: Styles;
|
|
6402
6431
|
rotation?: number | 'vertical';
|
|
@@ -6407,6 +6436,9 @@ declare interface IExcelCell {
|
|
|
6407
6436
|
cbandGroup?: IExcelBandGroupContext;
|
|
6408
6437
|
cband?: IExcelBandContext;
|
|
6409
6438
|
bandSectionType?: BandSectionType;
|
|
6439
|
+
contextValue?: {
|
|
6440
|
+
value: '${pages}' | '%{pages}' | '${page}' | '%{page}';
|
|
6441
|
+
};
|
|
6410
6442
|
}
|
|
6411
6443
|
|
|
6412
6444
|
declare interface IExcelDataBar {
|
|
@@ -9591,6 +9623,7 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
9591
9623
|
}
|
|
9592
9624
|
|
|
9593
9625
|
declare class RealChartItemElement extends ReportItemElement<RealChartItem> implements AsyncLoadable {
|
|
9626
|
+
static readonly ITEM_CLASS = "rr-chart";
|
|
9594
9627
|
private _chartDiv;
|
|
9595
9628
|
private _wrapper;
|
|
9596
9629
|
protected _getCssSelector(): string;
|
|
@@ -13520,6 +13553,8 @@ declare type ServerReportSource = {
|
|
|
13520
13553
|
|
|
13521
13554
|
declare type ServerReportSources = (ServerReportGroupSource | ServerReportSource)[];
|
|
13522
13555
|
|
|
13556
|
+
export declare const setLicenseKey: typeof Globals.setLicenseKey;
|
|
13557
|
+
|
|
13523
13558
|
/**
|
|
13524
13559
|
* A sheet design model.
|
|
13525
13560
|
*/
|
|
@@ -13695,6 +13730,22 @@ declare class SheetColumnHeaderView extends ExcelColumnHeaderView {
|
|
|
13695
13730
|
protected _getCssSelector(): string;
|
|
13696
13731
|
}
|
|
13697
13732
|
|
|
13733
|
+
/**
|
|
13734
|
+
* 시트 Context 값 관련 관리 클래스
|
|
13735
|
+
*/
|
|
13736
|
+
declare class SheetContextValueManager {
|
|
13737
|
+
private _refreshContextValueElements;
|
|
13738
|
+
constructor();
|
|
13739
|
+
registerRefreshContextValueElement(element: HTMLElement): void;
|
|
13740
|
+
/**
|
|
13741
|
+
* ContextValue 관련 요소들의 값을 갱신
|
|
13742
|
+
* TODO: 이후에는 ContextValue 값에 따라 갱신할 요소를 구분할 수 있도록 개선 필요
|
|
13743
|
+
* - ${pages}, %{pages}
|
|
13744
|
+
* @param value 갱신해야 할 값
|
|
13745
|
+
*/
|
|
13746
|
+
refreshContextValueElements(value: any): void;
|
|
13747
|
+
}
|
|
13748
|
+
|
|
13698
13749
|
/**
|
|
13699
13750
|
* Excel 리포트 결과를 sheet-base로 표시한다.
|
|
13700
13751
|
*/
|