realreport-designer 1.11.8 → 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 +176 -160
- package/dist/realreport-designer.d.ts +41 -0
- package/dist/realreport-designer.js +16874 -16546
- package/dist/realreport-designer.umd.js +177 -161
- 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;
|
|
@@ -6380,6 +6391,16 @@ declare interface IExcelBandGroupContext {
|
|
|
6380
6391
|
children: IExcelBandGroupContext[];
|
|
6381
6392
|
}
|
|
6382
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
|
+
|
|
6383
6404
|
declare interface IExcelBoxContext {
|
|
6384
6405
|
model: string;
|
|
6385
6406
|
}
|
|
@@ -6404,6 +6425,7 @@ declare interface IExcelCell {
|
|
|
6404
6425
|
annotation?: string;
|
|
6405
6426
|
link?: string;
|
|
6406
6427
|
image?: IExcellImage;
|
|
6428
|
+
barcode?: IExcelBarcode;
|
|
6407
6429
|
spark?: any;
|
|
6408
6430
|
style?: Styles;
|
|
6409
6431
|
rotation?: number | 'vertical';
|
|
@@ -6414,6 +6436,9 @@ declare interface IExcelCell {
|
|
|
6414
6436
|
cbandGroup?: IExcelBandGroupContext;
|
|
6415
6437
|
cband?: IExcelBandContext;
|
|
6416
6438
|
bandSectionType?: BandSectionType;
|
|
6439
|
+
contextValue?: {
|
|
6440
|
+
value: '${pages}' | '%{pages}' | '${page}' | '%{page}';
|
|
6441
|
+
};
|
|
6417
6442
|
}
|
|
6418
6443
|
|
|
6419
6444
|
declare interface IExcelDataBar {
|
|
@@ -13705,6 +13730,22 @@ declare class SheetColumnHeaderView extends ExcelColumnHeaderView {
|
|
|
13705
13730
|
protected _getCssSelector(): string;
|
|
13706
13731
|
}
|
|
13707
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
|
+
|
|
13708
13749
|
/**
|
|
13709
13750
|
* Excel 리포트 결과를 sheet-base로 표시한다.
|
|
13710
13751
|
*/
|