realreport 1.11.17 → 1.11.19

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- RealReport v1.11.17
2
+ RealReport v1.11.19
3
3
  Copyright (C) 2013-2025 WooriTech Inc.
4
4
  All Rights Reserved.
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="pdfkit" />
2
2
  /**
3
- * RealReport v1.11.17
4
- * commit 090d121
3
+ * RealReport v1.11.19
4
+ * commit b8ad875
5
5
 
6
6
  * {@link https://real-report.com}
7
7
  * Copyright (C) 2013-2025 WooriTech Inc.
@@ -12,10 +12,10 @@ import { Cvfo, Style } from 'exceljs';
12
12
  import { ExportOptions as ExportOptions$1 } from '@realgrid/realchart';
13
13
 
14
14
  /**
15
- * RealReport Core v1.11.17
15
+ * RealReport Core v1.11.19
16
16
  * Copyright (C) 2013-2025 WooriTech Inc.
17
17
  * All Rights Reserved.
18
- * commit 3ff0fc5a45f53a0a2a5f0739ceddfd6fd4d207bc
18
+ * commit 08bc096c5c8c72a0247b80423083e30e55817b2c
19
19
  */
20
20
 
21
21
 
@@ -8977,6 +8977,36 @@ declare class TextBand extends ReportBandItem {
8977
8977
  protected _doSave(target: object): void;
8978
8978
  }
8979
8979
 
8980
+ declare class MarkdownBand extends ReportItem {
8981
+ static readonly DEFAULT_WIDTH = "100%";
8982
+ static readonly DEFAULT_HEIGHT = 100;
8983
+ static readonly ALLOWED_TAGS: string[];
8984
+ static readonly PROP_HTML = "html";
8985
+ static readonly PROPINFOS: IPropInfo[];
8986
+ static readonly STYLE_PROPS: string[];
8987
+ static readonly $_ctor: string;
8988
+ static readonly ITEM_TYPE = "Markdown Band";
8989
+ private _html;
8990
+ rowIndex: number;
8991
+ constructor(name: string);
8992
+ get html(): string;
8993
+ set html(value: string);
8994
+ getHtml(ctx: PrintContext$1): string;
8995
+ getPrintText(ctx: PrintContext$1): string;
8996
+ getSaveType(): string;
8997
+ get outlineLabel(): string;
8998
+ protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
8999
+ protected _getEditProps(): IPropInfo[];
9000
+ protected _getStyleProps(): string[];
9001
+ protected _doLoad(loader: IReportLoader, src: any): void;
9002
+ protected _doSave(target: object): void;
9003
+ canRotate(): boolean;
9004
+ canAdoptDragSource(source: any): boolean;
9005
+ adoptDragSource(source: any): IDropResult;
9006
+ canPropAdoptDragSource(prop: IPropInfo, source: any): boolean;
9007
+ adoptPropDragSource(prop: IPropInfo, source: any): IDropResult;
9008
+ }
9009
+
8980
9010
  /**
8981
9011
  * 출력 시 데이터를 제공한다.
8982
9012
  */
@@ -11382,9 +11412,19 @@ type FontSource = {
11382
11412
  weight: FontWeight;
11383
11413
  format: FontFormat;
11384
11414
  };
11415
+ /**
11416
+ * 사용자가 등록할 폰트 소스 정보
11417
+ */
11385
11418
  type UserFontSource = {
11419
+ /** 폰트 이름 */
11386
11420
  name: string;
11421
+ /** 폰트 데이터 (URL, Blob 등) */
11387
11422
  source: string | Blob;
11423
+ /**
11424
+ * @deprecated Use `weight` instead. This property will be removed in a future version.
11425
+ */
11426
+ fontWeight?: FontWeight;
11427
+ /** 폰트 굵기 */
11388
11428
  weight: FontWeight;
11389
11429
  };
11390
11430
  type FontWeight = '100' | '200' | '300' | '400' | '500' | '600' | 'normal' | 'bold';
@@ -11797,6 +11837,7 @@ declare enum ReportItemType {
11797
11837
  SPACE = "space",
11798
11838
  SIMPLEBAND = "simpleband",
11799
11839
  TABLEBAND = "tableband",
11840
+ MARKDOWNBAND = "markdownband",
11800
11841
  BANDGROUP = "bandgroup",
11801
11842
  BANDCELL = "bandcell",
11802
11843
  CROSSTAB = "crosstab",
@@ -13366,7 +13407,7 @@ declare abstract class PrintContextBase<R extends ReportBase = ReportBase> exten
13366
13407
  private _tags;
13367
13408
  private _bandSave;
13368
13409
  async: boolean;
13369
- band: DataBand | CrosstabBand | TextBand;
13410
+ band: DataBand | CrosstabBand | TextBand | MarkdownBand;
13370
13411
  pages: PrintPage[];
13371
13412
  floatings: HTMLDivElement[];
13372
13413
  reportCount: number;
@@ -49734,6 +49775,7 @@ declare abstract class ReportViewBase {
49734
49775
  open(source: string | ReportForm | ReportFormSet | (string | ReportFormSet)[], options?: PreviewOptions & {
49735
49776
  preview?: boolean;
49736
49777
  }): Promise<void>;
49778
+ isPagePrinted(): boolean;
49737
49779
  private $_checkL;
49738
49780
  private $_isReportSource;
49739
49781
  private $_isReportFormSet;
@@ -49776,7 +49818,7 @@ declare class ReportViewer extends ReportViewBase {
49776
49818
  * 리포트를 Pdf 파일 변환 후 Blob 데이터로 반환
49777
49819
  * @param options PDFExportOptions
49778
49820
  */
49779
- exportPdfBlob(options: PDFExportBlobOptions): Promise<Blob>;
49821
+ exportPdfBlob(options?: PDFExportBlobOptions): Promise<Blob>;
49780
49822
  /**
49781
49823
  * 이미지 내보내기 함수
49782
49824
  * @param imageOptions
@@ -49806,6 +49848,7 @@ declare class ReportViewer extends ReportViewBase {
49806
49848
  * @param options
49807
49849
  */
49808
49850
  exportDocumentsFromData({ fileName, reportForm, dataSets, type, }: DocumentsExportFromDataOptions): Promise<void>;
49851
+ private $_printPdf;
49809
49852
  private _checkReport;
49810
49853
  /**
49811
49854
  * API 링크가 있는 데이터는 받아온 후에 사용자가 넘겨준 데이터에서 교체한다.
@@ -50223,6 +50266,10 @@ type PrintOptions = {
50223
50266
  * @defaultValue 2000
50224
50267
  */
50225
50268
  timeout?: number;
50269
+ /**
50270
+ * PDF 파일을 기반으로 출력을 진행합니다.
50271
+ */
50272
+ usePdf?: boolean;
50226
50273
  };
50227
50274
  /**
50228
50275
  * PDF내보내기시 인자로 사용되는 옵션
@@ -50259,7 +50306,7 @@ type PDFExportOptions = {
50259
50306
  permissions?: PdfPermissions;
50260
50307
  pdfVersion?: '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
50261
50308
  };
50262
- type PDFExportBlobOptions = Omit<PDFExportOptions, 'filename' | 'preview'>;
50309
+ type PDFExportBlobOptions = Omit<PDFExportOptions, 'preview'>;
50263
50310
  declare enum CCITTScheme {
50264
50311
  GROUP_3 = "g3",
50265
50312
  GROUP_3_2D = "g3-2d",