realreport 1.7.5 → 1.7.7

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,8 +1,8 @@
1
1
  /// <reference types="pdfkit" />
2
2
  /// <reference types="node" />
3
3
  /**
4
- * RealReport v1.7.5
5
- * commit 02fedb9
4
+ * RealReport v1.7.7
5
+ * commit 6a8c377
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.5
13
+ * RealReport Core v1.7.7
14
14
  * Copyright (C) 2013-2023 WooriTech Inc.
15
15
  * All Rights Reserved.
16
- * commit 3d539c2b90f3209c824d1f7cce998547b8c7f724
16
+ * commit 3c7065afd6897afaf4cac9198485d136dcf84388
17
17
  */
18
18
  declare const enum Cursor$1 {
19
19
  DEFAULT = "default",
@@ -6876,6 +6876,8 @@ declare class PrintContext extends Base$1 {
6876
6876
  type ContextValueCallback = (ctx: PrintContext) => any;
6877
6877
  declare class PageBreaker {
6878
6878
  }
6879
+ declare class BandFooterPrintInfo {
6880
+ }
6879
6881
  declare class ReportFooterPrintInfo {
6880
6882
  }
6881
6883
  declare class EndRowMarker {
@@ -6883,6 +6885,7 @@ declare class EndRowMarker {
6883
6885
  maxCount: number;
6884
6886
  constructor(count: number, maxCount: number);
6885
6887
  }
6888
+ type BandPrintRow = number | BandFooterPrintInfo | BandPrintInfo<any> | EndRowMarker;
6886
6889
  declare abstract class BandPrintInfo<T extends ReportItem> {
6887
6890
  band: T;
6888
6891
  xBand: number;
@@ -6903,12 +6906,14 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
6903
6906
  */
6904
6907
  erc: number;
6905
6908
  detailRows: number[];
6909
+ isMasterRowPrintNext: boolean;
6910
+ needMasterHeader: boolean;
6906
6911
  abstract isEnded(): boolean;
6907
6912
  abstract getRows(): any[];
6908
6913
  abstract getNextPage(doc: Document, ctx: PrintContext, width: number, parent: HTMLDivElement): HTMLDivElement | null;
6909
6914
  rollback(page: HTMLDivElement): void;
6910
6915
  setMaxCount(rows: any[], count: number): void;
6911
- isRow(row: any): row is number;
6916
+ isDataRow(row: any): row is number;
6912
6917
  isBand(row: any): row is BandPrintInfo<any>;
6913
6918
  isGroupHeader(row: any): boolean;
6914
6919
  isGroupFooter(row: any): boolean;
@@ -6919,6 +6924,32 @@ declare abstract class BandPrintInfo<T extends ReportItem> {
6919
6924
  protected _createSectionPage(doc: Document, parent: HTMLDivElement): HTMLDivElement;
6920
6925
  protected _buildEndRows(marker: EndRowMarker, rowCount: number, rows: any[]): void;
6921
6926
  protected _unshiftEndRows(row: any, rows: any[]): void;
6927
+ /**
6928
+ * 마스터-디테일 형태에서 디테일이 출력되는 동안 페이지마다 마스터 행 출력 준비
6929
+ * 현재 출력중인 마스터 밴드 행 번호 사용
6930
+ * @param band 마스터 밴드 정보
6931
+ * @param rows 출력해야할 행 정보 목록
6932
+ * @see {@link https://github.com/realgrid/realreport/issues/1138}
6933
+ */
6934
+ protected _prepareRepeatMasterRow(band: DataBand, rows: BandPrintRow[]): void;
6935
+ /**
6936
+ * 마스터-디테일 밴드에서 마스터 헤더 출력여부와 관련된 값들에 대한 설정
6937
+ * @param band 출력중인 밴드 정보
6938
+ * @param bandHeaderPrinted 출력중인 페이지내에서 마스터 해더의 출력여부
6939
+ * @param printed 출력했는지 여부
6940
+ */
6941
+ protected _setBandHeaderPrintFlag(band: DataBand, printed: boolean): void;
6942
+ /**
6943
+ * 디테일 밴드를 계속 출력 or 끝 결정
6944
+ * @param ctx PrintContext
6945
+ * @param rows 현재 출력해야 할 행들에 대한 목록
6946
+ * @param row 현재 출력중인 행 정보
6947
+ * @param rowsPerPage 페이지에서 몇행 까지 출력할 수 있는지 정보
6948
+ * @returns true = 디테일 밴드 출력 끝, false = 다음장에 디테일 계속 출력
6949
+ */
6950
+ protected _isDetailBandPrintEnd(row: BandPrintInfo<SimpleBand | TableBand>): boolean;
6951
+ protected _resetRowIndex(row: BandPrintInfo<SimpleBand | TableBand>): void;
6952
+ protected _prepareDetailBandPrintNext(ctx: PrintContext, band: DataBand, row: BandPrintInfo<SimpleBand | TableBand>, rows: BandPrintRow[], rowsPerPage: number): void;
6922
6953
  }
6923
6954
  type PrintLine = HTMLElement | BandPrintInfo<any> | ReportFooterPrintInfo | PageBreaker;
6924
6955
  interface IReportData {