realreport 1.7.3 → 1.7.4
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 +0 -7
- package/dist/realreport.d.ts +57 -12
- package/dist/realreport.es.js +1 -1
- package/dist/realreport.js +1 -1
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
|
|
29
29
|
.rr-report-preview {
|
|
30
30
|
position: absolute;
|
|
31
|
-
padding: 1px;
|
|
32
|
-
/** 현재 이 설정이 없으면 중간 빈 페이지가 출력된다! */
|
|
33
31
|
background-color: transparent;
|
|
34
32
|
}
|
|
35
33
|
|
|
@@ -381,16 +379,11 @@
|
|
|
381
379
|
|
|
382
380
|
.rr-page-break {
|
|
383
381
|
margin-bottom: 20px;
|
|
384
|
-
/** preview page 간격 */
|
|
385
382
|
border: 1px solid gray;
|
|
386
383
|
box-sizing: border-box;
|
|
387
384
|
box-shadow: rgba(50, 54, 57, 0.15) 0px 1px 3px 1px;
|
|
388
385
|
}
|
|
389
386
|
|
|
390
|
-
.rr-print-back {
|
|
391
|
-
position: absolute !important;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
387
|
@page {
|
|
395
388
|
margin: 0;
|
|
396
389
|
}
|
package/dist/realreport.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
/**
|
|
4
|
-
* RealReport v1.7.
|
|
5
|
-
* commit
|
|
4
|
+
* RealReport v1.7.4
|
|
5
|
+
* commit 8931b86
|
|
6
6
|
|
|
7
7
|
* Copyright (C) 2013-2023 WooriTech Inc.
|
|
8
8
|
https://real-report.com
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* RealReport Core v1.7.
|
|
13
|
+
* RealReport Core v1.7.4
|
|
14
14
|
* Copyright (C) 2013-2023 WooriTech Inc.
|
|
15
15
|
* All Rights Reserved.
|
|
16
|
-
* commit
|
|
16
|
+
* commit 92946b63c6b2aff0d7e155f742427f8fa8647b35
|
|
17
17
|
*/
|
|
18
18
|
declare const enum Cursor$1 {
|
|
19
19
|
DEFAULT = "default",
|
|
@@ -2524,6 +2524,7 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2524
2524
|
static readonly PROP_DATA_BAND_END_ROW_COUNT = "endRowCount";
|
|
2525
2525
|
static readonly PROP_DATA_BAND_MAX_END_ROW_COUNT = "maxEndRowCount";
|
|
2526
2526
|
static readonly PROP_DATA_BAND_END_ROW_MESSAGE = "endRowMessage";
|
|
2527
|
+
static readonly PROP_DATA_BAND_REPEAT_HEADER = "repeatHeader";
|
|
2527
2528
|
static readonly PROP_DATA_BAND_ALWAYS_HEADER = "alwaysHeader";
|
|
2528
2529
|
static readonly PROP_DATA_BAND_NO_SPLIT = "noSplit";
|
|
2529
2530
|
static readonly PROP_DATA_BAND_SORT_FIELD = "sortField";
|
|
@@ -2544,6 +2545,7 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2544
2545
|
private _repeatMastreRow;
|
|
2545
2546
|
private _repeatDetailHeader;
|
|
2546
2547
|
private _repeatDetailFooter;
|
|
2548
|
+
private _repeatHeader;
|
|
2547
2549
|
private _alwaysHeader;
|
|
2548
2550
|
private _noSplit;
|
|
2549
2551
|
private _sortField;
|
|
@@ -2703,6 +2705,11 @@ declare abstract class DataBand extends ReportGroupItem {
|
|
|
2703
2705
|
*/
|
|
2704
2706
|
get repeatDetailFooter(): boolean;
|
|
2705
2707
|
set repeatDetailFooter(value: boolean);
|
|
2708
|
+
/**
|
|
2709
|
+
* 첫번째 밴드 헤더를 출력 후 장을 넘어갈 때 반복해서 헤더를 표시한다.
|
|
2710
|
+
*/
|
|
2711
|
+
get repeatHeader(): boolean;
|
|
2712
|
+
set repeatHeader(value: boolean);
|
|
2706
2713
|
/**
|
|
2707
2714
|
* true면 데이터행 없이 footer만 표시되는 경우에도 header를 표시한다.
|
|
2708
2715
|
*/
|
|
@@ -3505,7 +3512,13 @@ declare abstract class ReportItemElement<T extends ReportItem> extends ReportEle
|
|
|
3505
3512
|
getEditText(): string;
|
|
3506
3513
|
setEditText(report: Report, text: string): void;
|
|
3507
3514
|
refreshPrintValues(ctx: PrintContext): void;
|
|
3508
|
-
|
|
3515
|
+
/**
|
|
3516
|
+
* - ReportItem에 visibileCallback 핸들러가 정의되어 있다면 핸들러의 반환값에 의해 아이템 표시여부 결정
|
|
3517
|
+
* - 핸들러가 정의되어 있지 않거나 반환값이 boolean 값이 아닐경우 기존 아이템 속성의 Visible 값으로 표시여부 결정
|
|
3518
|
+
* @param {PrintContext} ctx - PrintContext 객체 정보
|
|
3519
|
+
* @returns {boolean}
|
|
3520
|
+
*/
|
|
3521
|
+
isPrintable(ctx: PrintContext): boolean;
|
|
3509
3522
|
protected _getModel(): T;
|
|
3510
3523
|
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
3511
3524
|
protected _setBindMarker(visible?: boolean, system?: boolean): void;
|
|
@@ -5220,6 +5233,7 @@ type ReportItemValueCallback = (ctx: PrintContext, item: ReportItem, row: number
|
|
|
5220
5233
|
type ReportItemStyleCallback = (ctx: PrintContext, item: ReportItem, row: number, value: any) => {
|
|
5221
5234
|
[key: string]: string | undefined;
|
|
5222
5235
|
};
|
|
5236
|
+
type ReportItemVisibleCallback = (ctx: PrintContext, item: ReportItem, row: number, value: any) => boolean;
|
|
5223
5237
|
/**
|
|
5224
5238
|
* Report 구성 요소 기반 클래스.
|
|
5225
5239
|
*
|
|
@@ -5239,6 +5253,7 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
5239
5253
|
static readonly PROP_BOTTOM = "bottom";
|
|
5240
5254
|
static readonly PROP_DESIGN_BORDER = "designBorder";
|
|
5241
5255
|
static readonly PROP_ON_GET_VALUE = "onGetValue";
|
|
5256
|
+
static readonly PROP_ON_GET_VISIBLE = "onGetVisible";
|
|
5242
5257
|
static readonly PROP_STYLES = "styles";
|
|
5243
5258
|
static readonly PROP_ON_GET_STYLES = "onGetStyles";
|
|
5244
5259
|
static readonly PROP_VISIBLE = "visible";
|
|
@@ -5291,6 +5306,8 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
5291
5306
|
private _name;
|
|
5292
5307
|
private _tag;
|
|
5293
5308
|
private _visible;
|
|
5309
|
+
private _visibleCallback;
|
|
5310
|
+
private _onGetVisible;
|
|
5294
5311
|
private _data;
|
|
5295
5312
|
private _value;
|
|
5296
5313
|
private _valueCallback;
|
|
@@ -5319,6 +5336,8 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
5319
5336
|
private _valueCallbackDelegate;
|
|
5320
5337
|
private _styleCallbackFunc;
|
|
5321
5338
|
private _styleCallbackDelegate;
|
|
5339
|
+
private _visibleCallbackFunc;
|
|
5340
|
+
private _visibleCallbackDelegate;
|
|
5322
5341
|
private _leftDim;
|
|
5323
5342
|
private _rightDim;
|
|
5324
5343
|
private _topDim;
|
|
@@ -5468,6 +5487,14 @@ declare abstract class ReportItem extends ReportPageItem {
|
|
|
5468
5487
|
/** valueCallback */
|
|
5469
5488
|
get valueCallback(): ReportItemValueCallback;
|
|
5470
5489
|
set valueCallback(value: ReportItemValueCallback);
|
|
5490
|
+
/**
|
|
5491
|
+
* onGetVisible
|
|
5492
|
+
*/
|
|
5493
|
+
get onGetVisible(): string;
|
|
5494
|
+
set onGetVisible(value: string);
|
|
5495
|
+
/** visibleCallback */
|
|
5496
|
+
get visibleCallback(): ReportItemVisibleCallback;
|
|
5497
|
+
set visibleCallback(value: ReportItemVisibleCallback);
|
|
5471
5498
|
/** styles */
|
|
5472
5499
|
get styles(): Styles;
|
|
5473
5500
|
set styles(value: Styles);
|
|
@@ -6961,6 +6988,8 @@ interface IPreviewOptions {
|
|
|
6961
6988
|
noScroll?: boolean;
|
|
6962
6989
|
noIndicator?: boolean;
|
|
6963
6990
|
singlePage?: boolean;
|
|
6991
|
+
singlePageOptions?: ISinglePageOptions;
|
|
6992
|
+
align?: Align;
|
|
6964
6993
|
callback?: PrintPageCallback;
|
|
6965
6994
|
endCallback?: PrintEndCallback;
|
|
6966
6995
|
}
|
|
@@ -6971,6 +7000,9 @@ interface IPrintOptions {
|
|
|
6971
7000
|
id?: string;
|
|
6972
7001
|
previewOptions?: IPreviewOptions;
|
|
6973
7002
|
}
|
|
7003
|
+
interface ISinglePageOptions {
|
|
7004
|
+
border: boolean;
|
|
7005
|
+
}
|
|
6974
7006
|
declare class PrintContainer extends VisualContainer$1 {
|
|
6975
7007
|
static readonly CLASS_NAME = "rr-report-container";
|
|
6976
7008
|
static readonly PREVIEW_CLASS = "rr-report-preview";
|
|
@@ -7006,6 +7038,8 @@ declare class PrintContainer extends VisualContainer$1 {
|
|
|
7006
7038
|
get zoom(): number;
|
|
7007
7039
|
set zoom(value: number);
|
|
7008
7040
|
get pages(): PrintPage[];
|
|
7041
|
+
get align(): Align;
|
|
7042
|
+
set align(value: Align);
|
|
7009
7043
|
print(options: IPrintOptions): void;
|
|
7010
7044
|
printSingle(options: IPrintOptions): void;
|
|
7011
7045
|
printAll(options: IPrintOptions): void;
|
|
@@ -41158,25 +41192,36 @@ declare type GridReportLayout = {
|
|
|
41158
41192
|
* 리포트 프리뷰 옵션
|
|
41159
41193
|
*/
|
|
41160
41194
|
declare type PreviewOptions = {
|
|
41161
|
-
/**
|
|
41162
|
-
* 리포트간 간격 조절 옵션
|
|
41163
|
-
*/
|
|
41164
|
-
pageGap?: number;
|
|
41165
41195
|
/**
|
|
41166
41196
|
* 비동기 출력 여부
|
|
41167
|
-
*
|
|
41197
|
+
* @defaultValue `false`
|
|
41168
41198
|
*/
|
|
41169
41199
|
async?: boolean;
|
|
41170
41200
|
/**
|
|
41171
41201
|
* 비동기 출력시 출력 페이지 마커 표시 여부
|
|
41172
|
-
*
|
|
41202
|
+
* @defaultValue `false`
|
|
41173
41203
|
*/
|
|
41174
41204
|
pageMark?: boolean;
|
|
41175
41205
|
/**
|
|
41176
41206
|
* 비동기 출력시 출력 페이지마다 스크롤 이동 여부
|
|
41177
|
-
*
|
|
41207
|
+
* @defaultValue `true`
|
|
41178
41208
|
*/
|
|
41179
41209
|
noScroll?: boolean;
|
|
41210
|
+
/**
|
|
41211
|
+
* 리포트 컨테이너에 페이지 정렬 설정
|
|
41212
|
+
* @defaultValue `Align.CENTER`
|
|
41213
|
+
*/
|
|
41214
|
+
align?: Align;
|
|
41215
|
+
/**
|
|
41216
|
+
* 리포트를 한장에 여백없이 출력하는 옵션
|
|
41217
|
+
* @defaultValue `false`
|
|
41218
|
+
*/
|
|
41219
|
+
singlePage?: boolean;
|
|
41220
|
+
/**
|
|
41221
|
+
* 싱글 페이지일 경우 관련 옵션
|
|
41222
|
+
* @defaultValue `{ border: true }`
|
|
41223
|
+
*/
|
|
41224
|
+
singlePageOptions?: ISinglePageOptions;
|
|
41180
41225
|
/**
|
|
41181
41226
|
* 미리보기가 시작될때 호출되는 콜백함수
|
|
41182
41227
|
*/
|