realreport 1.10.2 → 1.10.3
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 +164 -82
- 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.10.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.10.3
|
|
4
|
+
* commit f18571d
|
|
5
5
|
|
|
6
6
|
* {@link https://real-report.com}
|
|
7
7
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
import { Cvfo, Style } from 'exceljs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* RealReport Core v1.10.
|
|
14
|
+
* RealReport Core v1.10.3
|
|
15
15
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
16
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
17
|
+
* commit 9251a246de9d33c2eff359b31f01de9eb48a9bb4
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
|
@@ -7471,6 +7471,7 @@ declare class PageBodyElement extends ReportElement {
|
|
|
7471
7471
|
declare class PageItemContainerElement extends BoundedContainerElement<PageItemContainer> {
|
|
7472
7472
|
static readonly FRONT_CONTAINER_CLASS = "rr-front-container";
|
|
7473
7473
|
static readonly BACK_CONTAINER_CLASS = "rr-back-container";
|
|
7474
|
+
static isDomInFrontBackLayer(dom: HTMLElement): boolean;
|
|
7474
7475
|
private _emptySize;
|
|
7475
7476
|
private _findable;
|
|
7476
7477
|
constructor(doc: Document, model: PageItemContainer, styleName: string, emptySize?: boolean);
|
|
@@ -8114,9 +8115,167 @@ declare class HichartMarquee extends EditMarquee<HichartItemElement> {
|
|
|
8114
8115
|
private $_prepareSeries;
|
|
8115
8116
|
}
|
|
8116
8117
|
|
|
8118
|
+
declare abstract class TextBandSection extends StackContainer {
|
|
8119
|
+
static readonly PROP_REPEAT = "repeat";
|
|
8120
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
8121
|
+
private _repeat;
|
|
8122
|
+
private _band;
|
|
8123
|
+
constructor(band: TextBand);
|
|
8124
|
+
/** band */
|
|
8125
|
+
get band(): TextBand;
|
|
8126
|
+
/** repeat */
|
|
8127
|
+
get repeat(): boolean;
|
|
8128
|
+
set repeat(value: boolean);
|
|
8129
|
+
get designLevel(): number;
|
|
8130
|
+
get marqueeParent(): ReportItem;
|
|
8131
|
+
protected _datable(): boolean;
|
|
8132
|
+
canCopy(): boolean;
|
|
8133
|
+
canResize(dir: ResizeDirection): boolean;
|
|
8134
|
+
protected _getEditProps(): IPropInfo[];
|
|
8135
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8136
|
+
protected _doSave(target: object): void;
|
|
8137
|
+
}
|
|
8138
|
+
declare class TextBandHeader extends TextBandSection {
|
|
8139
|
+
static readonly $_ctor: string;
|
|
8140
|
+
get outlineLabel(): string;
|
|
8141
|
+
get pathLabel(): string;
|
|
8142
|
+
}
|
|
8143
|
+
declare class TextBandFooter extends TextBandSection {
|
|
8144
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
8145
|
+
static readonly $_ctor: string;
|
|
8146
|
+
get outlineLabel(): string;
|
|
8147
|
+
get pathLabel(): string;
|
|
8148
|
+
protected _getEditProps(): IPropInfo[];
|
|
8149
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8150
|
+
protected _doSave(target: object): void;
|
|
8151
|
+
}
|
|
8152
|
+
type TextBandLine = {
|
|
8153
|
+
r: IRect;
|
|
8154
|
+
line: string;
|
|
8155
|
+
};
|
|
8156
|
+
/**
|
|
8157
|
+
* 페이지를 넘길 수 있는 멀티 라인 텍스트 아이템.
|
|
8158
|
+
*/
|
|
8159
|
+
declare class TextBand extends ReportBandItem {
|
|
8160
|
+
static readonly PROP_TEXT = "text";
|
|
8161
|
+
static readonly PROP_LINE_SEPARATORS = "lineSeparators";
|
|
8162
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
8163
|
+
static readonly STYLE_PROPS: string[];
|
|
8164
|
+
static readonly $_ctor: string;
|
|
8165
|
+
static readonly ITEM_TYPE = "Text Band";
|
|
8166
|
+
private _text;
|
|
8167
|
+
private _lineSeparators;
|
|
8168
|
+
private _editing;
|
|
8169
|
+
private _header;
|
|
8170
|
+
private _footer;
|
|
8171
|
+
prevHead: boolean;
|
|
8172
|
+
rowIndex: number;
|
|
8173
|
+
_pr: number;
|
|
8174
|
+
_pageNo: number;
|
|
8175
|
+
constructor(name: string);
|
|
8176
|
+
/** header */
|
|
8177
|
+
get header(): TextBandHeader;
|
|
8178
|
+
/** footer */
|
|
8179
|
+
get footer(): TextBandFooter;
|
|
8180
|
+
/** text */
|
|
8181
|
+
get text(): string;
|
|
8182
|
+
set text(value: string);
|
|
8183
|
+
/** html */
|
|
8184
|
+
get lineSeparators(): string;
|
|
8185
|
+
set lineSeparators(value: string);
|
|
8186
|
+
/**
|
|
8187
|
+
* editing
|
|
8188
|
+
* - 텍스트를 미리보기 시점에 수정가능하게 하는 속성
|
|
8189
|
+
*/
|
|
8190
|
+
get editing(): EditableObject<TextBand>;
|
|
8191
|
+
getText(v: any): string;
|
|
8192
|
+
getDesignText(): string;
|
|
8193
|
+
isEmpty(): boolean;
|
|
8194
|
+
get outlineLabel(): string;
|
|
8195
|
+
getSaveType(): string;
|
|
8196
|
+
protected _valueable(): boolean;
|
|
8197
|
+
protected _ignoreItems(): boolean;
|
|
8198
|
+
protected _getEditProps(): IPropInfo[];
|
|
8199
|
+
protected _getStyleProps(): string[];
|
|
8200
|
+
canAdoptDragSource(source: any): boolean;
|
|
8201
|
+
canAdd(item: ReportItem): boolean;
|
|
8202
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
8203
|
+
protected _doSave(target: object): void;
|
|
8204
|
+
}
|
|
8205
|
+
|
|
8206
|
+
/**
|
|
8207
|
+
* Report Editable 속성 관련하여 수정가능한 영역 표시를 위해 작성
|
|
8208
|
+
*/
|
|
8209
|
+
declare class EditableMarker extends VisualElement$1 {
|
|
8210
|
+
static readonly CLASS_NAME = "rr-editable-marker";
|
|
8211
|
+
static readonly DEFAULT_BACKGROUND_COLOR = "#0ea5e9";
|
|
8212
|
+
private $_originalValue;
|
|
8213
|
+
get originalValue(): string;
|
|
8214
|
+
set originalValue(value: string);
|
|
8215
|
+
constructor(doc: Document);
|
|
8216
|
+
get isLayer(): boolean;
|
|
8217
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
8218
|
+
setOriginalValue(value: string): void;
|
|
8219
|
+
setMarkerSize(width: number, height: number): void;
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8222
|
+
declare class TextBandSectionElement extends StackContainerElement<TextBandSection> {
|
|
8223
|
+
constructor(doc: Document, model: TextBandSection, styleName: string);
|
|
8224
|
+
get debugLabel(): string;
|
|
8225
|
+
protected _getCssSelector(): string;
|
|
8226
|
+
protected _needDesignBox(): boolean;
|
|
8227
|
+
protected _needContentBox(): boolean;
|
|
8228
|
+
protected _doAfterMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number, sz: Size$1): void;
|
|
8229
|
+
}
|
|
8230
|
+
/** @internal */
|
|
8231
|
+
declare class TextBandElement extends BandItemElement<TextBand> {
|
|
8232
|
+
static readonly CLASS_NAME = "rr-textband";
|
|
8233
|
+
static readonly HEADER_CLASS = "rr-band-header";
|
|
8234
|
+
static readonly FOOTER_CLASS = "rr-band-footer";
|
|
8235
|
+
static readonly BODY_CLASS = "rr-textband-body";
|
|
8236
|
+
static parseLines(span: HTMLSpanElement, text: string): TextBandLine[];
|
|
8237
|
+
private _bodyView;
|
|
8238
|
+
private _headerView;
|
|
8239
|
+
private _footerView;
|
|
8240
|
+
private _headViews;
|
|
8241
|
+
private _hBody;
|
|
8242
|
+
private _lines;
|
|
8243
|
+
private _editableMarkers;
|
|
8244
|
+
constructor(doc: Document, model: TextBand);
|
|
8245
|
+
get headerView(): TextBandSectionElement;
|
|
8246
|
+
/** footerView */
|
|
8247
|
+
get footerView(): TextBandSectionElement;
|
|
8248
|
+
prepareAsync(doc: Document, ctx: PrintContext, width: number): TextBandPrintInfo;
|
|
8249
|
+
addEditableMarker(): EditableMarker;
|
|
8250
|
+
get debugLabel(): string;
|
|
8251
|
+
isDom(dom: Element): boolean;
|
|
8252
|
+
protected _getCssSelector(): string;
|
|
8253
|
+
protected _needDesignBox(): boolean;
|
|
8254
|
+
protected _getDesignText(): string;
|
|
8255
|
+
getLines(): ReportItemElement[];
|
|
8256
|
+
protected _getStyleTarget(dom: HTMLElement): HTMLElement;
|
|
8257
|
+
protected _doMeasure(ctx: PrintContextBase, dom: HTMLElement, hintWidth: number, hintHeight: number): Size$1;
|
|
8258
|
+
protected _doLayoutContent(ctx: PrintContextBase): void;
|
|
8259
|
+
private $_getPrintText;
|
|
8260
|
+
private $_prepareHeads;
|
|
8261
|
+
}
|
|
8262
|
+
declare class TextBandPrintInfo {
|
|
8263
|
+
band: TextBand;
|
|
8264
|
+
bandView: TextBandElement;
|
|
8265
|
+
headerView: TextBandSectionElement;
|
|
8266
|
+
footerView: TextBandSectionElement;
|
|
8267
|
+
text: string;
|
|
8268
|
+
lines: TextBandLine[];
|
|
8269
|
+
bandCellWidth: number;
|
|
8270
|
+
bandCellHeight: number;
|
|
8271
|
+
isEnded(): boolean;
|
|
8272
|
+
getNextPage(doc: Document, ctx: PrintContext, pageWidth: number, parent: HTMLDivElement): HTMLDivElement;
|
|
8273
|
+
protected _createPage(doc: Document, parent: HTMLDivElement): HTMLDivElement;
|
|
8274
|
+
}
|
|
8275
|
+
|
|
8117
8276
|
declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
|
|
8118
8277
|
group: BandGroup;
|
|
8119
|
-
bands: BandPrintInfo<any>[];
|
|
8278
|
+
bands: BandPrintInfo<any>[] | TextBandPrintInfo[];
|
|
8120
8279
|
left: string;
|
|
8121
8280
|
gap: number;
|
|
8122
8281
|
isEnded(): boolean;
|
|
@@ -11414,83 +11573,6 @@ interface ISimpleGroupPrintInfo extends IGroupPrintInfo {
|
|
|
11414
11573
|
}
|
|
11415
11574
|
type SimpleBandPrintRow = BandPrintRow | ISimpleGroupPrintInfo;
|
|
11416
11575
|
|
|
11417
|
-
declare abstract class TextBandSection extends StackContainer {
|
|
11418
|
-
static readonly PROP_REPEAT = "repeat";
|
|
11419
|
-
static readonly PROPINFOS: IPropInfo[];
|
|
11420
|
-
private _repeat;
|
|
11421
|
-
private _band;
|
|
11422
|
-
constructor(band: TextBand);
|
|
11423
|
-
/** band */
|
|
11424
|
-
get band(): TextBand;
|
|
11425
|
-
/** repeat */
|
|
11426
|
-
get repeat(): boolean;
|
|
11427
|
-
set repeat(value: boolean);
|
|
11428
|
-
get designLevel(): number;
|
|
11429
|
-
get marqueeParent(): ReportItem;
|
|
11430
|
-
protected _datable(): boolean;
|
|
11431
|
-
canCopy(): boolean;
|
|
11432
|
-
canResize(dir: ResizeDirection): boolean;
|
|
11433
|
-
protected _getEditProps(): IPropInfo[];
|
|
11434
|
-
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11435
|
-
protected _doSave(target: object): void;
|
|
11436
|
-
}
|
|
11437
|
-
declare class TextBandHeader extends TextBandSection {
|
|
11438
|
-
static readonly $_ctor: string;
|
|
11439
|
-
get outlineLabel(): string;
|
|
11440
|
-
get pathLabel(): string;
|
|
11441
|
-
}
|
|
11442
|
-
declare class TextBandFooter extends TextBandSection {
|
|
11443
|
-
static readonly PROPINFOS: IPropInfo[];
|
|
11444
|
-
static readonly $_ctor: string;
|
|
11445
|
-
get outlineLabel(): string;
|
|
11446
|
-
get pathLabel(): string;
|
|
11447
|
-
protected _getEditProps(): IPropInfo[];
|
|
11448
|
-
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11449
|
-
protected _doSave(target: object): void;
|
|
11450
|
-
}
|
|
11451
|
-
/**
|
|
11452
|
-
* 페이지를 넘길 수 있는 멀티 라인 텍스트 아이템.
|
|
11453
|
-
*/
|
|
11454
|
-
declare class TextBand extends ReportBandItem {
|
|
11455
|
-
static readonly PROP_TEXT = "text";
|
|
11456
|
-
static readonly PROP_LINE_SEPARATORS = "lineSeparators";
|
|
11457
|
-
static readonly PROPINFOS: IPropInfo[];
|
|
11458
|
-
static readonly STYLE_PROPS: string[];
|
|
11459
|
-
static readonly $_ctor: string;
|
|
11460
|
-
static readonly ITEM_TYPE = "Text Band";
|
|
11461
|
-
private _text;
|
|
11462
|
-
private _lineSeparators;
|
|
11463
|
-
private _header;
|
|
11464
|
-
private _footer;
|
|
11465
|
-
prevHead: boolean;
|
|
11466
|
-
rowIndex: number;
|
|
11467
|
-
_pr: number;
|
|
11468
|
-
_pageNo: number;
|
|
11469
|
-
constructor(name: string);
|
|
11470
|
-
/** header */
|
|
11471
|
-
get header(): TextBandHeader;
|
|
11472
|
-
/** footer */
|
|
11473
|
-
get footer(): TextBandFooter;
|
|
11474
|
-
/** text */
|
|
11475
|
-
get text(): string;
|
|
11476
|
-
set text(value: string);
|
|
11477
|
-
/** html */
|
|
11478
|
-
get lineSeparators(): string;
|
|
11479
|
-
set lineSeparators(value: string);
|
|
11480
|
-
getText(v: any): string;
|
|
11481
|
-
getDesignText(): string;
|
|
11482
|
-
isEmpty(): boolean;
|
|
11483
|
-
get outlineLabel(): string;
|
|
11484
|
-
getSaveType(): string;
|
|
11485
|
-
protected _valueable(): boolean;
|
|
11486
|
-
protected _getEditProps(): IPropInfo[];
|
|
11487
|
-
protected _getStyleProps(): string[];
|
|
11488
|
-
canAdoptDragSource(source: any): boolean;
|
|
11489
|
-
canAdd(item: ReportItem): boolean;
|
|
11490
|
-
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
11491
|
-
protected _doSave(target: object): void;
|
|
11492
|
-
}
|
|
11493
|
-
|
|
11494
11576
|
interface AsyncLoadable {
|
|
11495
11577
|
loadAsync(ctx: PrintContextBase): Promise<void>;
|
|
11496
11578
|
}
|