realreport-designer 1.9.4 → 1.9.6

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.
@@ -484,22 +484,6 @@ declare enum BoxItemsAlign {
484
484
  END = "end"
485
485
  }
486
486
 
487
- declare class CellCollection {
488
- private _band;
489
- private _filters;
490
- private _cells;
491
- constructor(band: CrosstabBand);
492
- get count(): number;
493
- getKey(index: number, field: number): any;
494
- getCell(index: number): CrosstabCell;
495
- getCells(start?: number, end?: number): CrosstabCell[];
496
- setFilters(filters: IFilter[]): void;
497
- build(data: BandArrayData): void;
498
- private $_collectRows;
499
- private $_sortRows;
500
- private $_buildCells;
501
- }
502
-
503
487
  /**
504
488
  * CellGroup들만을 자식으로 갖는다.
505
489
  */
@@ -955,8 +939,6 @@ declare class ColumnBoxContainerElement extends BoxContainerElement<ColumnBoxCon
955
939
  getRight(view: ReportItemView): ReportItemView;
956
940
  }
957
941
 
958
- /* Excluded from this release type: ColumnCollection */
959
-
960
942
  declare type ConfigObject = {
961
943
  [key: string]: any;
962
944
  };
@@ -964,13 +946,14 @@ declare type ConfigObject = {
964
946
  /**
965
947
  * Crosstab band.
966
948
  *
967
- * 1. rowFields + columnFields 로 정렬하고 그룹핑해서 cellCollection에 저장한다.
949
+ * 1. rowFields + columnFields 로 정렬하고 그룹핑해서 CrosstabCellCollection에 저장한다.
968
950
  */
969
951
  declare class CrosstabBand extends ReportGroupItem {
970
952
  static readonly PROP_TITLE = "title";
971
953
  static readonly PROP_NULL_VALUE = "nullValue";
972
954
  static readonly PROP_MAX_ROW_COUNT = "maxRowCount";
973
955
  static readonly PROP_NO_SPLIT = "noSplit";
956
+ static readonly PROP_VALUES_ON_ROWS = "valuesOnRows";
974
957
  static readonly PROPINFOS: IPropInfo[];
975
958
  static readonly $_ctor: string;
976
959
  static isFieldCell(item: ReportPageItem): boolean;
@@ -978,6 +961,7 @@ declare class CrosstabBand extends ReportGroupItem {
978
961
  static getBandOf(cell: CrosstabFieldCell): CrosstabBand;
979
962
  private _maxRowCount;
980
963
  private _noSplit;
964
+ private _valuesOnRows;
981
965
  private _title;
982
966
  private _nullValue;
983
967
  private _rowFields;
@@ -999,6 +983,11 @@ declare class CrosstabBand extends ReportGroupItem {
999
983
  */
1000
984
  get noSplit(): boolean;
1001
985
  set noSplit(value: boolean);
986
+ /**
987
+ * true면 value fields 정보를 행 기준으로 표시한다.
988
+ */
989
+ get valuesOnRows(): boolean;
990
+ set valuesOnRows(value: boolean);
1002
991
  /**
1003
992
  * title
1004
993
  */
@@ -1014,9 +1003,9 @@ declare class CrosstabBand extends ReportGroupItem {
1014
1003
  get columnFields(): CrosstabColumnFieldCollection;
1015
1004
  /** valueFields */
1016
1005
  get valueFields(): CrosstabValueFieldCollection;
1017
- get rows(): RowCollection;
1006
+ get rows(): CrosstabRowCollection;
1018
1007
  get bandData(): BandArrayData;
1019
- get columns(): ColumnCollection;
1008
+ get columns(): CrosstabColumnCollection;
1020
1009
  containsField(field: string): boolean;
1021
1010
  getRowField(index: number): CrosstabField;
1022
1011
  getColumnField(index: number): CrosstabColumnField;
@@ -1030,6 +1019,7 @@ declare class CrosstabBand extends ReportGroupItem {
1030
1019
  get isBand(): boolean;
1031
1020
  protected _datable(): boolean;
1032
1021
  protected _getEditProps(): IPropInfo[];
1022
+ protected _getStyleProps(): string[];
1033
1023
  isAncestorOf(item: ReportPageItem): boolean;
1034
1024
  protected _doLoad(loader: IReportLoader, src: any): void;
1035
1025
  protected _doSave(target: any): void;
@@ -1070,6 +1060,27 @@ declare class CrosstabCell {
1070
1060
  getValue(data: IBandData, field: number, exp: string): number;
1071
1061
  }
1072
1062
 
1063
+ declare class CrosstabCellCollection {
1064
+ private _band;
1065
+ private _filters;
1066
+ private _cells;
1067
+ constructor(band: CrosstabBand);
1068
+ get count(): number;
1069
+ getKey(index: number, field: number): any;
1070
+ getCell(index: number): CrosstabCell;
1071
+ getCells(start?: number, end?: number): CrosstabCell[];
1072
+ setFilters(filters: IFilter[]): void;
1073
+ build(data: BandArrayData): void;
1074
+ private $_getUniqFieldDatas;
1075
+ /**
1076
+ * 넘어온 데이터대로 정렬순서를 정의한다.
1077
+ */
1078
+ private $_recursiveSort;
1079
+ private $_collectRows;
1080
+ private $_sortRows;
1081
+ private $_buildCells;
1082
+ }
1083
+
1073
1084
  declare class CrosstabColumn {
1074
1085
  static readonly $_ctor: string;
1075
1086
  hash: number;
@@ -1096,6 +1107,8 @@ declare class CrosstabColumn {
1096
1107
  ancestorByVlevel(level: number): CrosstabColumn;
1097
1108
  }
1098
1109
 
1110
+ /* Excluded from this release type: CrosstabColumnCollection */
1111
+
1099
1112
  declare class CrosstabColumnField extends CrosstabField {
1100
1113
  static readonly PROPINFOS: IPropInfo[];
1101
1114
  static readonly $_ctor: string;
@@ -1187,13 +1200,18 @@ declare abstract class CrosstabFieldCollection<T extends CrosstabField> extends
1187
1200
  }
1188
1201
 
1189
1202
  declare class CrosstabFieldHeader extends ReportItem {
1203
+ static readonly PROP_TEXT = "text";
1190
1204
  static readonly PROP_SUFFIX = "suffix";
1191
1205
  static readonly PROPINFOS: IPropInfo[];
1192
1206
  static readonly $_ctor: string;
1207
+ private _text;
1193
1208
  private _suffix;
1194
1209
  private _field;
1195
1210
  constructor(field: CrosstabField, source: any);
1196
1211
  get field(): CrosstabField;
1212
+ /** text */
1213
+ get text(): string;
1214
+ set text(value: string);
1197
1215
  /** suffix */
1198
1216
  get suffix(): string;
1199
1217
  set suffix(value: string);
@@ -1211,11 +1229,17 @@ declare class CrosstabFieldHeader extends ReportItem {
1211
1229
  * row field 설정이 column field 설정보다 우선하고, column field 설정이 value field 설정보다 우선한다.
1212
1230
  */
1213
1231
  declare class CrosstabFieldSummary extends ReportItem {
1232
+ static readonly POSITIONS: readonly ["start", "last"];
1233
+ static readonly PROP_POSITION = "position";
1214
1234
  static readonly PROPINFOS: IPropInfo[];
1215
1235
  static readonly $_ctor: string;
1236
+ private _position;
1216
1237
  private _field;
1217
1238
  private _header;
1218
1239
  constructor(field: CrosstabField, source: any);
1240
+ /** position */
1241
+ get position(): FieldSummaryPosition;
1242
+ set position(value: FieldSummaryPosition);
1219
1243
  get field(): CrosstabField;
1220
1244
  get header(): CrosstabFieldSummaryHeader;
1221
1245
  get page(): ReportPage;
@@ -1284,6 +1308,17 @@ declare abstract class CrosstabRowBase {
1284
1308
  abstract getColumnCell(column: CrosstabColumn): CrosstabCell;
1285
1309
  }
1286
1310
 
1311
+ declare class CrosstabRowCollection {
1312
+ private _band;
1313
+ private _rows;
1314
+ constructor(band: CrosstabBand);
1315
+ get rowCount(): number;
1316
+ getRow(index: number): CrosstabRowBase;
1317
+ build(data: BandArrayData, cells: CrosstabCellCollection): void;
1318
+ private $_collectRows;
1319
+ private $_collectSummaryRows;
1320
+ }
1321
+
1287
1322
  declare class CrosstabRowField extends CrosstabField {
1288
1323
  static readonly $_ctor: string;
1289
1324
  get itemType(): string;
@@ -1961,6 +1996,8 @@ declare class EndRowMarker {
1961
1996
 
1962
1997
  /* Excluded from this release type: ExpressionRuntime */
1963
1998
 
1999
+ declare type FieldSummaryPosition = 'start' | 'last';
2000
+
1964
2001
  /* Excluded from this release type: FieldValueRuntime */
1965
2002
 
1966
2003
  /**
@@ -2740,6 +2777,7 @@ declare interface IBandData extends IReportData {
2740
2777
  getField(index: number): IBandDataField;
2741
2778
  getFields(): IBandDataField[];
2742
2779
  getFieldByName(fieldName: string): IBandDataField;
2780
+ getFieldIndex(fieldName: string): number;
2743
2781
  containsField(fieldName: string): boolean;
2744
2782
  getRowValue(row: number, field: string | number): any;
2745
2783
  getFieldValues(field: string | number): any[];
@@ -6501,17 +6539,6 @@ declare namespace ResizeDirection {
6501
6539
  function isIn(dir: ResizeDirection, ...dirs: ResizeDirection[]): boolean;
6502
6540
  }
6503
6541
 
6504
- declare class RowCollection {
6505
- private _band;
6506
- private _rows;
6507
- constructor(band: CrosstabBand);
6508
- get rowCount(): number;
6509
- getRow(index: number): CrosstabRowBase;
6510
- build(data: BandArrayData, cells: CellCollection): void;
6511
- private $_collectRows;
6512
- private $_collectSummaryRows;
6513
- }
6514
-
6515
6542
  declare type SaveCallbackResponse = {
6516
6543
  reportId: string;
6517
6544
  message?: string;