realreport-designer 1.11.0 → 1.11.2
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-designer.cjs +193 -192
- package/dist/realreport-designer.d.ts +549 -11
- package/dist/realreport-designer.js +28179 -26615
- package/dist/realreport-designer.umd.js +187 -186
- package/dist/styles/realreport-designer.css +5 -1
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ import { Cvfo } from 'exceljs';
|
|
|
2
2
|
import { default as default_2 } from 'csstype';
|
|
3
3
|
import { Style } from 'exceljs';
|
|
4
4
|
|
|
5
|
+
declare type Align$1 = 'left' | 'center' | 'right';
|
|
6
|
+
|
|
5
7
|
declare enum Align {
|
|
6
8
|
LEFT = "left",
|
|
7
9
|
CENTER = "center",
|
|
@@ -151,6 +153,8 @@ declare interface AsyncLoadable {
|
|
|
151
153
|
loadAsync(ctx: PrintContextBase): Promise<void>;
|
|
152
154
|
}
|
|
153
155
|
|
|
156
|
+
declare type AxisFitTo = 'body' | 'map';
|
|
157
|
+
|
|
154
158
|
/**
|
|
155
159
|
* {}들의 배열.
|
|
156
160
|
* values는 리포트에 저장하지 않는다.
|
|
@@ -414,7 +418,7 @@ declare class BandGroupMarquee extends EditMarquee<BandGroupElement> {
|
|
|
414
418
|
|
|
415
419
|
declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
|
|
416
420
|
group: BandGroup;
|
|
417
|
-
groupInfos: (
|
|
421
|
+
groupInfos: (TextPrintInfo | BandPrintInfo<BandModel> | TextBandPrintInfo)[];
|
|
418
422
|
left: string;
|
|
419
423
|
gap: number;
|
|
420
424
|
isEnded(): boolean;
|
|
@@ -429,13 +433,6 @@ declare class BandGroupPrintInfo extends BandPrintInfo<BandGroup> {
|
|
|
429
433
|
private $_attachVeritcalBandGroup;
|
|
430
434
|
}
|
|
431
435
|
|
|
432
|
-
declare class BandGroupTextPrintInfo {
|
|
433
|
-
bandCellWidth: number;
|
|
434
|
-
bandCellHeight: number;
|
|
435
|
-
element: TextItemElement;
|
|
436
|
-
constructor(bandCellWidth: number, bandCellHeight: number, element: TextItemElement);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
436
|
declare abstract class BandItemElement<T extends ReportBandItem = ReportBandItem> extends ReportGroupItemElement<T> {
|
|
440
437
|
abstract getLines(): ReportItemElement[];
|
|
441
438
|
getSibling(item: ReportItemElement, delta: number): ReportItemElement;
|
|
@@ -662,6 +659,11 @@ declare type BarcodeOutput = 'image' | 'font';
|
|
|
662
659
|
|
|
663
660
|
/* Excluded from this release type: Base */
|
|
664
661
|
|
|
662
|
+
declare interface BaseConfig {
|
|
663
|
+
visible?: boolean;
|
|
664
|
+
style?: RealMapChartSvgStyles;
|
|
665
|
+
}
|
|
666
|
+
|
|
665
667
|
/**
|
|
666
668
|
* BodyItemAddSection
|
|
667
669
|
*/
|
|
@@ -1169,6 +1171,20 @@ declare class ColorPaletteAsset extends AssetItem {
|
|
|
1169
1171
|
protected _doSave(target: any): void;
|
|
1170
1172
|
}
|
|
1171
1173
|
|
|
1174
|
+
declare enum ColorScaleLayout {
|
|
1175
|
+
AUTO = "auto",
|
|
1176
|
+
VERTICAL = "vertical",
|
|
1177
|
+
HORIZONTAL = "horizontal"
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
declare enum ColorScaleLocation {
|
|
1181
|
+
BODY = "body",
|
|
1182
|
+
BOTTOM = "bottom",
|
|
1183
|
+
LEFT = "left",
|
|
1184
|
+
RIGHT = "right",
|
|
1185
|
+
TOP = "top"
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1172
1188
|
/**
|
|
1173
1189
|
* 수직으로 자식 item들을 배치한다.
|
|
1174
1190
|
* Html flex box를 활용한다.
|
|
@@ -1723,6 +1739,8 @@ declare const enum Cursor {
|
|
|
1723
1739
|
NOT_ALLOWED = "not-allowed"
|
|
1724
1740
|
}
|
|
1725
1741
|
|
|
1742
|
+
declare type Data = any;
|
|
1743
|
+
|
|
1726
1744
|
/**
|
|
1727
1745
|
* Data band base class.
|
|
1728
1746
|
*
|
|
@@ -2710,7 +2728,7 @@ declare abstract class EditMarquee<T extends ReportElement> extends VisualElemen
|
|
|
2710
2728
|
set target(value: T);
|
|
2711
2729
|
get targetItem(): ReportItem;
|
|
2712
2730
|
isRootView(dom: HTMLElement): boolean;
|
|
2713
|
-
getMenu(): MenuItem[];
|
|
2731
|
+
getMenu(target: HTMLElement): MenuItem[];
|
|
2714
2732
|
layout(reportView: IReportEditView): void;
|
|
2715
2733
|
protected _getCssSelector(): string;
|
|
2716
2734
|
get findable(): boolean;
|
|
@@ -5057,11 +5075,13 @@ declare interface FindResult {
|
|
|
5057
5075
|
declare class FloatingContainer extends ReportGroupItem {
|
|
5058
5076
|
static readonly PROP_ANCHOR_TARGET = "anchorTarget";
|
|
5059
5077
|
static readonly PROP_ANCHOR_POSITION = "anchorPosition";
|
|
5078
|
+
static readonly PROP_REPEAT = "repeat";
|
|
5060
5079
|
static readonly PROPINFOS: IPropInfo[];
|
|
5061
5080
|
static readonly $_ctor: string;
|
|
5062
5081
|
static readonly ITEM_TYPE = "Floating Container";
|
|
5063
5082
|
private _anchorTarget;
|
|
5064
5083
|
private _anchorPosition;
|
|
5084
|
+
private _repeat;
|
|
5065
5085
|
constructor(name: string);
|
|
5066
5086
|
/** anchorTarget */
|
|
5067
5087
|
get anchorTarget(): string;
|
|
@@ -5069,6 +5089,9 @@ declare class FloatingContainer extends ReportGroupItem {
|
|
|
5069
5089
|
/** anchorPosition */
|
|
5070
5090
|
get anchorPosition(): AnchorPosition;
|
|
5071
5091
|
set anchorPosition(value: AnchorPosition);
|
|
5092
|
+
/** repeat */
|
|
5093
|
+
get repeat(): boolean;
|
|
5094
|
+
set repeat(value: boolean);
|
|
5072
5095
|
getSaveType(): string;
|
|
5073
5096
|
get outlineLabel(): string;
|
|
5074
5097
|
protected _maxChildCount(): number;
|
|
@@ -6852,6 +6875,7 @@ declare interface IReportLoader {
|
|
|
6852
6875
|
createRealChartAxis?(collection: RCAxisCollection, src: ReportSource): RCAxis;
|
|
6853
6876
|
createRealChartSeries?(collection: RCSeriesCollection, src: ReportSource): RCSeries;
|
|
6854
6877
|
createHichartSeries?(chart: HichartItem, src: any): HichartSeries;
|
|
6878
|
+
createRealMapChartSeries?(chart: RealMapChartSeriesCollection, src: ReportSource): RealMapSeries;
|
|
6855
6879
|
}
|
|
6856
6880
|
|
|
6857
6881
|
declare interface IReportServer {
|
|
@@ -7455,6 +7479,8 @@ declare interface IUserDataTemplateItem {
|
|
|
7455
7479
|
template?: ISimpleDataTemplate | IBandDataTemplate;
|
|
7456
7480
|
}
|
|
7457
7481
|
|
|
7482
|
+
declare type LabelPosition = 'auto' | 'bottom' | 'center' | 'left' | 'right' | 'top';
|
|
7483
|
+
|
|
7458
7484
|
declare type LanguageCode = keyof typeof ISO_639_LANGUAGES;
|
|
7459
7485
|
|
|
7460
7486
|
declare type LanguageItem = {
|
|
@@ -7528,6 +7554,12 @@ declare class ListableProperty extends StringProperty {
|
|
|
7528
7554
|
|
|
7529
7555
|
declare const LocalFileTypes: readonly ["json", "csv", "excel"];
|
|
7530
7556
|
|
|
7557
|
+
declare interface MapSource {
|
|
7558
|
+
url: string;
|
|
7559
|
+
padding?: number;
|
|
7560
|
+
exclude?: string[];
|
|
7561
|
+
}
|
|
7562
|
+
|
|
7531
7563
|
declare type MenuItem = {
|
|
7532
7564
|
type: 'text';
|
|
7533
7565
|
label?: ((clickedElement: HTMLElement, menu: MenuItem) => string) | string;
|
|
@@ -7562,6 +7594,17 @@ declare type MenuItem = {
|
|
|
7562
7594
|
|
|
7563
7595
|
declare type MessageLevel = 'error' | 'warn' | 'info';
|
|
7564
7596
|
|
|
7597
|
+
/**
|
|
7598
|
+
* Sub property model property.
|
|
7599
|
+
*/
|
|
7600
|
+
declare class ModelProperty extends PropertyItem {
|
|
7601
|
+
static readonly $_ctor: string;
|
|
7602
|
+
private _model;
|
|
7603
|
+
constructor(prop: IPropInfo);
|
|
7604
|
+
/** model */
|
|
7605
|
+
get model(): PropertyModel;
|
|
7606
|
+
}
|
|
7607
|
+
|
|
7565
7608
|
declare interface ModelPropertyTypeProps {
|
|
7566
7609
|
/**
|
|
7567
7610
|
* 포함해야할 모델 내부 속성을 정의
|
|
@@ -8069,8 +8112,19 @@ declare interface PdfPermissions {
|
|
|
8069
8112
|
|
|
8070
8113
|
declare type PdfVersion = '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
|
|
8071
8114
|
|
|
8115
|
+
declare interface PieCategory {
|
|
8116
|
+
name: string;
|
|
8117
|
+
color: string;
|
|
8118
|
+
}
|
|
8119
|
+
|
|
8072
8120
|
/* Excluded from this release type: Point */
|
|
8073
8121
|
|
|
8122
|
+
declare interface PointLabel extends BaseConfig {
|
|
8123
|
+
text?: string;
|
|
8124
|
+
position?: LabelPosition;
|
|
8125
|
+
numberFormat?: string;
|
|
8126
|
+
}
|
|
8127
|
+
|
|
8074
8128
|
declare abstract class PopupElement extends ReportElement implements Closable {
|
|
8075
8129
|
close(): void;
|
|
8076
8130
|
protected _doClose(): void;
|
|
@@ -8457,6 +8511,8 @@ declare enum PrintUnit {
|
|
|
8457
8511
|
MILLI = "mm"
|
|
8458
8512
|
}
|
|
8459
8513
|
|
|
8514
|
+
declare type Projection = undefined | 'orthographic' | 'equalearth' | 'miller' | 'mercator';
|
|
8515
|
+
|
|
8460
8516
|
declare enum PropCategory {
|
|
8461
8517
|
DESIGN = "design",
|
|
8462
8518
|
BASIC = "basic",
|
|
@@ -8506,6 +8562,8 @@ declare enum PropCategory {
|
|
|
8506
8562
|
OPTIONS = "options",
|
|
8507
8563
|
BODY = "body",
|
|
8508
8564
|
CREDITS = "credits",
|
|
8565
|
+
COLOR_SCALE = "colorScale",
|
|
8566
|
+
MAP = "map",
|
|
8509
8567
|
STYLES = "Styles",
|
|
8510
8568
|
EMAIL_FORM_INFO = "email form info",
|
|
8511
8569
|
EMAIL_LAYOUT = "email layout",
|
|
@@ -9569,6 +9627,460 @@ declare class RealChartMarquee extends EditMarquee<RealChartItemElement> {
|
|
|
9569
9627
|
private $_layoutAxisItem;
|
|
9570
9628
|
}
|
|
9571
9629
|
|
|
9630
|
+
declare const REALMAP_TEXT_STYLE_NAMES: (keyof RealMapChartSvgStyles)[];
|
|
9631
|
+
|
|
9632
|
+
declare class RealMapChartAxisGrid extends ChartObject$1<RealMapItem, RealMapChartAxisGridConfig> {
|
|
9633
|
+
static readonly PROP_FIT_TO = "fitTo";
|
|
9634
|
+
static readonly PROP_LINE_STEP = "lineStep";
|
|
9635
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9636
|
+
private _fitTo;
|
|
9637
|
+
private _lineStep;
|
|
9638
|
+
constructor(chart: RealMapItem);
|
|
9639
|
+
get fitTo(): AxisFitTo;
|
|
9640
|
+
set fitTo(value: AxisFitTo);
|
|
9641
|
+
get lineStep(): number;
|
|
9642
|
+
set lineStep(value: number);
|
|
9643
|
+
getChartConfig(context: PrintContext): RealMapChartAxisGridConfig;
|
|
9644
|
+
getSaveLabel(): string;
|
|
9645
|
+
protected _getEditProps(): IPropInfo[];
|
|
9646
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9647
|
+
protected _doSave(target: ReportTarget): void;
|
|
9648
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9649
|
+
}
|
|
9650
|
+
|
|
9651
|
+
declare interface RealMapChartAxisGridConfig {
|
|
9652
|
+
visible: boolean;
|
|
9653
|
+
fitTo: AxisFitTo;
|
|
9654
|
+
line: {
|
|
9655
|
+
step: number;
|
|
9656
|
+
};
|
|
9657
|
+
}
|
|
9658
|
+
|
|
9659
|
+
declare class RealMapChartBody extends ChartObject$1<RealMapItem, RealMapChartBodyConfig> {
|
|
9660
|
+
static readonly PROP_PROJECTION = "projection";
|
|
9661
|
+
static readonly PROP_SCROLL = "scroll";
|
|
9662
|
+
static readonly PROP_ZOOM = "zoom";
|
|
9663
|
+
static readonly PROP_PAN_Y = "panY";
|
|
9664
|
+
static readonly PROP_ROTATION_X = "rotationX";
|
|
9665
|
+
static readonly PROP_ROTATION_Y = "rotationY";
|
|
9666
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9667
|
+
private _projection;
|
|
9668
|
+
private _scroll;
|
|
9669
|
+
private _zoom;
|
|
9670
|
+
private _panY;
|
|
9671
|
+
private _rotationX;
|
|
9672
|
+
private _rotationY;
|
|
9673
|
+
get projection(): Projection;
|
|
9674
|
+
set projection(value: Projection);
|
|
9675
|
+
get scroll(): number;
|
|
9676
|
+
set scroll(value: number);
|
|
9677
|
+
get zoom(): number;
|
|
9678
|
+
set zoom(value: number);
|
|
9679
|
+
get panY(): number;
|
|
9680
|
+
set panY(value: number);
|
|
9681
|
+
get rotationX(): number;
|
|
9682
|
+
set rotationX(value: number);
|
|
9683
|
+
get rotationY(): number;
|
|
9684
|
+
set rotationY(value: number);
|
|
9685
|
+
getChartConfig(context: PrintContext): RealMapChartBodyConfig;
|
|
9686
|
+
getSaveLabel(): string;
|
|
9687
|
+
protected _getEditProps(): IPropInfo[];
|
|
9688
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9689
|
+
protected _doSave(target: ReportTarget): void;
|
|
9690
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9691
|
+
}
|
|
9692
|
+
|
|
9693
|
+
declare interface RealMapChartBodyConfig {
|
|
9694
|
+
projection?: Projection;
|
|
9695
|
+
scroll?: number;
|
|
9696
|
+
zoom?: number;
|
|
9697
|
+
panY?: number;
|
|
9698
|
+
rotationX?: number;
|
|
9699
|
+
rotationY?: number;
|
|
9700
|
+
scrollable: boolean;
|
|
9701
|
+
zoomable: boolean;
|
|
9702
|
+
}
|
|
9703
|
+
|
|
9704
|
+
declare class RealMapChartColorScale extends ChartObject$1<RealMapItem, RealMapChartColorScaleConfig> {
|
|
9705
|
+
static readonly PROP_ALIGN = "align";
|
|
9706
|
+
static readonly PROP_BAR_LENGTH = "barLength";
|
|
9707
|
+
static readonly PROP_BAR_WIDTH = "barWidth";
|
|
9708
|
+
static readonly PROP_DISPLAY = "display";
|
|
9709
|
+
static readonly PROP_GAP = "gap";
|
|
9710
|
+
static readonly PROP_LAYOUT = "layout";
|
|
9711
|
+
static readonly PROP_LOCATION = "location";
|
|
9712
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
9713
|
+
static readonly PROP_LOG_BASE = "logBase";
|
|
9714
|
+
static readonly PROP_MAX_COLOR = "maxColor";
|
|
9715
|
+
static readonly PROP_MIN_COLOR = "minColor";
|
|
9716
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9717
|
+
private _barLength;
|
|
9718
|
+
private _barWidth;
|
|
9719
|
+
private _gap;
|
|
9720
|
+
private _layout;
|
|
9721
|
+
private _location;
|
|
9722
|
+
private _logBase;
|
|
9723
|
+
private _maxColor;
|
|
9724
|
+
private _minColor;
|
|
9725
|
+
constructor(chart: RealMapItem);
|
|
9726
|
+
get barLength(): string;
|
|
9727
|
+
set barLength(value: string);
|
|
9728
|
+
get barWidth(): number;
|
|
9729
|
+
set barWidth(value: number);
|
|
9730
|
+
get gap(): number;
|
|
9731
|
+
set gap(value: number);
|
|
9732
|
+
get layout(): ColorScaleLayout;
|
|
9733
|
+
set layout(value: ColorScaleLayout);
|
|
9734
|
+
get location(): ColorScaleLocation;
|
|
9735
|
+
set location(value: ColorScaleLocation);
|
|
9736
|
+
get logBase(): number;
|
|
9737
|
+
set logBase(value: number);
|
|
9738
|
+
get maxColor(): string;
|
|
9739
|
+
set maxColor(value: string);
|
|
9740
|
+
get minColor(): string;
|
|
9741
|
+
set minColor(value: string);
|
|
9742
|
+
getChartConfig(context: PrintContext): RealMapChartColorScaleConfig;
|
|
9743
|
+
getSaveLabel(): string;
|
|
9744
|
+
protected _getEditProps(): IPropInfo[];
|
|
9745
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9746
|
+
protected _doSave(target: ReportTarget): void;
|
|
9747
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9748
|
+
}
|
|
9749
|
+
|
|
9750
|
+
declare interface RealMapChartColorScaleConfig extends BaseConfig {
|
|
9751
|
+
visible: boolean;
|
|
9752
|
+
barLength: string | number;
|
|
9753
|
+
barWidth: number;
|
|
9754
|
+
gap: number;
|
|
9755
|
+
layout: ColorScaleLayout;
|
|
9756
|
+
location?: ColorScaleLocation;
|
|
9757
|
+
logBase: number;
|
|
9758
|
+
maxColor: string;
|
|
9759
|
+
minColor: string;
|
|
9760
|
+
}
|
|
9761
|
+
|
|
9762
|
+
declare class RealMapChartCredits extends ChartObject$1<RealMapItem, RealMapChartCreditsConfig> {
|
|
9763
|
+
static readonly PROP_TEXT = "text";
|
|
9764
|
+
static readonly PROP_URL = "url";
|
|
9765
|
+
static readonly PROP_OFFSET_X = "offsetX";
|
|
9766
|
+
static readonly PROP_OFFSET_Y = "offsetY";
|
|
9767
|
+
static readonly PROP_ALIGN = "align";
|
|
9768
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
9769
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9770
|
+
private _text;
|
|
9771
|
+
private _url;
|
|
9772
|
+
private _offset_x;
|
|
9773
|
+
private _offset_y;
|
|
9774
|
+
private _align;
|
|
9775
|
+
private _verticalAlign;
|
|
9776
|
+
get text(): string;
|
|
9777
|
+
set text(value: string);
|
|
9778
|
+
get url(): string;
|
|
9779
|
+
set url(value: string);
|
|
9780
|
+
get offsetX(): number;
|
|
9781
|
+
set offsetX(value: number);
|
|
9782
|
+
get offsetY(): number;
|
|
9783
|
+
set offsetY(value: number);
|
|
9784
|
+
get align(): RealMapChartCreditsConfig['align'];
|
|
9785
|
+
set align(value: RealMapChartCreditsConfig['align']);
|
|
9786
|
+
get verticalAlign(): RealMapChartCreditsConfig['verticalAlign'];
|
|
9787
|
+
set verticalAlign(value: RealMapChartCreditsConfig['verticalAlign']);
|
|
9788
|
+
getChartConfig(context: PrintContext): RealMapChartCreditsConfig;
|
|
9789
|
+
getSaveLabel(): string;
|
|
9790
|
+
protected _getEditProps(): IPropInfo[];
|
|
9791
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9792
|
+
protected _doSave(target: ReportTarget): void;
|
|
9793
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9794
|
+
}
|
|
9795
|
+
|
|
9796
|
+
declare interface RealMapChartCreditsConfig extends BaseConfig {
|
|
9797
|
+
text?: string;
|
|
9798
|
+
url?: string;
|
|
9799
|
+
offsetX?: number;
|
|
9800
|
+
offsetY?: number;
|
|
9801
|
+
align?: Align$1;
|
|
9802
|
+
verticalAlign?: VerticalAlign$1;
|
|
9803
|
+
}
|
|
9804
|
+
|
|
9805
|
+
declare class RealMapChartMap extends ChartObject$1<RealMapItem, RealMapChartMapConfig> {
|
|
9806
|
+
static readonly PROP_URL = "url";
|
|
9807
|
+
static readonly PROP_PADDING = "padding";
|
|
9808
|
+
static readonly PROP_EXCLUDE = "exclude";
|
|
9809
|
+
static readonly PROPINFOS: {
|
|
9810
|
+
name: string;
|
|
9811
|
+
category: PropCategory;
|
|
9812
|
+
type: typeof ListableProperty;
|
|
9813
|
+
indented: boolean;
|
|
9814
|
+
default: any;
|
|
9815
|
+
}[];
|
|
9816
|
+
private _url;
|
|
9817
|
+
private _padding;
|
|
9818
|
+
private _exclude;
|
|
9819
|
+
get url(): string;
|
|
9820
|
+
set url(value: string);
|
|
9821
|
+
get padding(): number;
|
|
9822
|
+
set padding(value: number);
|
|
9823
|
+
get exclude(): string;
|
|
9824
|
+
set exclude(value: string);
|
|
9825
|
+
private $_getMapUrl;
|
|
9826
|
+
private $_parseArrayLikeString;
|
|
9827
|
+
getChartConfig(context: PrintContext): RealMapChartMapConfig;
|
|
9828
|
+
getSaveLabel(): string;
|
|
9829
|
+
protected _doDefaultInit(): void;
|
|
9830
|
+
protected _getEditProps(): {
|
|
9831
|
+
name: string;
|
|
9832
|
+
category: PropCategory;
|
|
9833
|
+
type: typeof ListableProperty;
|
|
9834
|
+
indented: boolean;
|
|
9835
|
+
default: any;
|
|
9836
|
+
}[];
|
|
9837
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9838
|
+
protected _doSave(target: ReportTarget): void;
|
|
9839
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9840
|
+
private $_getExclude;
|
|
9841
|
+
}
|
|
9842
|
+
|
|
9843
|
+
declare type RealMapChartMapConfig = MapSource;
|
|
9844
|
+
|
|
9845
|
+
declare class RealMapChartMapSeries extends RealMapSeries<RealMapChartMapSeriesConfig> {
|
|
9846
|
+
static readonly PROP_POINT_COLOR = "pointColors";
|
|
9847
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9848
|
+
private _pointColors;
|
|
9849
|
+
private _pointColorsCallback;
|
|
9850
|
+
constructor(collection: RealMapChartSeriesCollection);
|
|
9851
|
+
get pointColors(): string;
|
|
9852
|
+
set pointColors(value: string);
|
|
9853
|
+
getChartConfig(context: PrintContext): RealMapChartMapSeriesConfig;
|
|
9854
|
+
protected _getEditProps(): IPropInfo[];
|
|
9855
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9856
|
+
protected _doSave(target: ReportTarget): void;
|
|
9857
|
+
}
|
|
9858
|
+
|
|
9859
|
+
declare interface RealMapChartMapSeriesConfig extends SeriesConfig {
|
|
9860
|
+
type: 'map';
|
|
9861
|
+
pointColors: Function | null;
|
|
9862
|
+
}
|
|
9863
|
+
|
|
9864
|
+
declare class RealMapChartMarquee extends EditMarquee<RealMapItemElement> {
|
|
9865
|
+
private static readonly STYLE_NAME;
|
|
9866
|
+
private static readonly SERIES_TAG;
|
|
9867
|
+
private static readonly ITEM_WIDTH;
|
|
9868
|
+
private static readonly ITEM_HEIGHT;
|
|
9869
|
+
private static readonly ITEM_GAP;
|
|
9870
|
+
private static readonly ITEM_MARGIN;
|
|
9871
|
+
private static readonly MAP_MENU;
|
|
9872
|
+
static getTarget(target: ReportPageItem, dom: HTMLElement): IEditMarqueeTarget | null;
|
|
9873
|
+
private MAP_MENUS;
|
|
9874
|
+
private getSeriesMenu;
|
|
9875
|
+
private _mapItem;
|
|
9876
|
+
private _seriesItems;
|
|
9877
|
+
constructor(doc: Document, menuOwner: IContextMenuOwner);
|
|
9878
|
+
get editor(): ReportEditor;
|
|
9879
|
+
isRootView(dom: HTMLElement): boolean;
|
|
9880
|
+
getMenu(target: HTMLElement): MenuItem[];
|
|
9881
|
+
protected _getCssSelector(): string;
|
|
9882
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
9883
|
+
protected _doLayout(doc: Document, dom: HTMLElement, r: Rectangle): void;
|
|
9884
|
+
private $_layoutChart;
|
|
9885
|
+
private $_layoutSeriesItems;
|
|
9886
|
+
private $_prepareItems;
|
|
9887
|
+
private $_addSeries;
|
|
9888
|
+
private $_removeSeries;
|
|
9889
|
+
}
|
|
9890
|
+
|
|
9891
|
+
declare interface RealMapChartPieSeriesConfig extends SeriesConfig {
|
|
9892
|
+
type: 'pie';
|
|
9893
|
+
radius?: string;
|
|
9894
|
+
startAngle?: number;
|
|
9895
|
+
totalAngle?: number;
|
|
9896
|
+
clockwise?: boolean;
|
|
9897
|
+
categories?: PieCategory[];
|
|
9898
|
+
}
|
|
9899
|
+
|
|
9900
|
+
declare class RealMapChartSeriesCollection extends ChartSeriesCollection$1<RealMapItem, RealMapChartSeriesConfig> {
|
|
9901
|
+
getChartConfig(context: PrintContext): RealMapChartSeriesConfig[];
|
|
9902
|
+
protected _createSeries(loader: IReportLoader, src: ReportSource): RealMapSeries;
|
|
9903
|
+
protected _seriesChanged(): void;
|
|
9904
|
+
}
|
|
9905
|
+
|
|
9906
|
+
declare type RealMapChartSeriesConfig = RealMapChartMapSeriesConfig | RealMapChartPieSeriesConfig;
|
|
9907
|
+
|
|
9908
|
+
declare type RealMapChartSeriesType = 'map' | 'pie';
|
|
9909
|
+
|
|
9910
|
+
declare class RealMapChartSubTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
9911
|
+
static readonly PROP_ALIGN = "align";
|
|
9912
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9913
|
+
private static readonly STYLES;
|
|
9914
|
+
private _align;
|
|
9915
|
+
constructor(chart: RealMapItem);
|
|
9916
|
+
get align(): Align;
|
|
9917
|
+
set align(value: Align);
|
|
9918
|
+
getSaveLabel(): string;
|
|
9919
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
9920
|
+
protected _getEditProps(): IPropInfo[];
|
|
9921
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
9922
|
+
getCollapsedPropCategories(): string[];
|
|
9923
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9924
|
+
}
|
|
9925
|
+
|
|
9926
|
+
declare interface RealMapChartSvgStyles {
|
|
9927
|
+
transform?: string;
|
|
9928
|
+
fill?: string;
|
|
9929
|
+
fillOpacity?: string;
|
|
9930
|
+
stroke?: string;
|
|
9931
|
+
strokeWidth?: string;
|
|
9932
|
+
strokeDasharray?: string;
|
|
9933
|
+
fontFamily?: string;
|
|
9934
|
+
fontSize?: string;
|
|
9935
|
+
fontWeight?: string;
|
|
9936
|
+
fontStyle?: string;
|
|
9937
|
+
rx?: string;
|
|
9938
|
+
textAlign?: Align$1;
|
|
9939
|
+
padding?: string;
|
|
9940
|
+
}
|
|
9941
|
+
|
|
9942
|
+
declare class RealMapChartTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
9943
|
+
static readonly PROP_ALIGN = "align";
|
|
9944
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9945
|
+
private static readonly STYLES;
|
|
9946
|
+
private _align;
|
|
9947
|
+
constructor(chart: RealMapItem);
|
|
9948
|
+
get align(): Align;
|
|
9949
|
+
set align(value: Align);
|
|
9950
|
+
getSaveLabel(): string;
|
|
9951
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
9952
|
+
protected _getEditProps(): IPropInfo[];
|
|
9953
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
9954
|
+
getCollapsedPropCategories(): string[];
|
|
9955
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9956
|
+
}
|
|
9957
|
+
|
|
9958
|
+
declare type RealMapChartTitleConfig = RealMapChartTitleOptions | boolean;
|
|
9959
|
+
|
|
9960
|
+
declare interface RealMapChartTitleOptions extends BaseConfig {
|
|
9961
|
+
text?: string;
|
|
9962
|
+
align?: Align$1;
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9965
|
+
declare interface RealMapConfig {
|
|
9966
|
+
title?: RealMapChartTitleConfig;
|
|
9967
|
+
subtitle?: RealMapChartTitleConfig;
|
|
9968
|
+
map: RealMapChartMapConfig;
|
|
9969
|
+
body: RealMapChartBodyConfig;
|
|
9970
|
+
series: RealMapChartSeriesConfig[];
|
|
9971
|
+
credits?: RealMapChartCreditsConfig;
|
|
9972
|
+
colorScale?: RealMapChartColorScaleConfig;
|
|
9973
|
+
axis?: {
|
|
9974
|
+
grid?: RealMapChartAxisGridConfig;
|
|
9975
|
+
};
|
|
9976
|
+
zoomPanel: {
|
|
9977
|
+
visible: false;
|
|
9978
|
+
};
|
|
9979
|
+
}
|
|
9980
|
+
|
|
9981
|
+
declare class RealMapItem extends ChartItem<RealMapConfig> {
|
|
9982
|
+
static readonly PROP_TITLE = "title";
|
|
9983
|
+
static readonly PROP_SUBTITLE = "subtitle";
|
|
9984
|
+
static readonly PROP_MAP = "map";
|
|
9985
|
+
static readonly PROP_BODY = "body";
|
|
9986
|
+
static readonly PROP_CREDITS = "credits";
|
|
9987
|
+
static readonly PROP_COLOR_SCALE = "colorScale";
|
|
9988
|
+
static readonly PROP_SERIES_COLLECTION = "serieCollection";
|
|
9989
|
+
static readonly PROP_GRID = "grid";
|
|
9990
|
+
static readonly PROPINFOS: ({
|
|
9991
|
+
name: string;
|
|
9992
|
+
category: PropCategory;
|
|
9993
|
+
type: typeof ModelProperty;
|
|
9994
|
+
indented: boolean;
|
|
9995
|
+
default: any;
|
|
9996
|
+
visible?: undefined;
|
|
9997
|
+
} | {
|
|
9998
|
+
name: string;
|
|
9999
|
+
category: PropCategory;
|
|
10000
|
+
type: typeof ModelProperty;
|
|
10001
|
+
indented: boolean;
|
|
10002
|
+
default: any;
|
|
10003
|
+
visible: () => boolean;
|
|
10004
|
+
})[];
|
|
10005
|
+
static readonly STYLE_PROPS: string[];
|
|
10006
|
+
static readonly $_ctor: string;
|
|
10007
|
+
static readonly ITEM_TYPE = "RealMap";
|
|
10008
|
+
private _title;
|
|
10009
|
+
private _subtitle;
|
|
10010
|
+
private _body;
|
|
10011
|
+
private _credits;
|
|
10012
|
+
private _colorScale;
|
|
10013
|
+
private _map;
|
|
10014
|
+
private _seriesCollection;
|
|
10015
|
+
private _grid;
|
|
10016
|
+
constructor(name: string);
|
|
10017
|
+
get title(): RealMapChartTitle;
|
|
10018
|
+
get subtitle(): RealMapChartSubTitle;
|
|
10019
|
+
get body(): RealMapChartBody;
|
|
10020
|
+
get credits(): RealMapChartCredits;
|
|
10021
|
+
get map(): RealMapChartMap;
|
|
10022
|
+
get colorScale(): RealMapChartColorScale;
|
|
10023
|
+
get seriesCollection(): RealMapChartSeriesCollection;
|
|
10024
|
+
get grid(): RealMapChartAxisGrid;
|
|
10025
|
+
getChartConfig(context: PrintContext): RealMapConfig;
|
|
10026
|
+
emitSeriesChanged(): void;
|
|
10027
|
+
addNewSeries(type: RealMapChartSeriesType): RealMapChartMapSeries;
|
|
10028
|
+
addSeries(series: RealMapChartMapSeries): void;
|
|
10029
|
+
removeSeries(series: RealMapChartMapSeries): void;
|
|
10030
|
+
selectSeries(series: RealMapChartMapSeries | null): void;
|
|
10031
|
+
needDesignWidth(): boolean;
|
|
10032
|
+
needDesignHeight(): boolean;
|
|
10033
|
+
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
10034
|
+
protected _getStyleProps(): string[];
|
|
10035
|
+
protected _getEditProps(): IPropInfo[];
|
|
10036
|
+
protected _doLoad(loader: IReportLoader, src: ReportSource): void;
|
|
10037
|
+
protected _doSave(target: ReportTarget): void;
|
|
10038
|
+
getSaveType(): string;
|
|
10039
|
+
isUsed(data: IReportData): boolean;
|
|
10040
|
+
}
|
|
10041
|
+
|
|
10042
|
+
declare class RealMapItemElement extends ReportItemElement<RealMapItem> implements AsyncLoadable {
|
|
10043
|
+
private _chartDiv;
|
|
10044
|
+
private _wrapper;
|
|
10045
|
+
protected _getCssSelector(): string;
|
|
10046
|
+
get debugLabel(): string;
|
|
10047
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
10048
|
+
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size;
|
|
10049
|
+
protected _doLayoutContent(ctx: PrintContext): void;
|
|
10050
|
+
isDom(dom: HTMLElement): boolean;
|
|
10051
|
+
loadAsync(): Promise<void>;
|
|
10052
|
+
private $_prepareWrapper;
|
|
10053
|
+
private $_layoutWrapper;
|
|
10054
|
+
}
|
|
10055
|
+
|
|
10056
|
+
declare abstract class RealMapSeries<C = RealMapChartSeriesConfig> extends ChartSeries$1<RealMapItem, C> {
|
|
10057
|
+
static readonly PROP_TYPE = "type";
|
|
10058
|
+
static readonly PROP_NAME = "name";
|
|
10059
|
+
static readonly PROP_USE_DATA_URL = "dataUrl";
|
|
10060
|
+
static readonly PROP_USE_MAP_KEYS = "mapKeys";
|
|
10061
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
10062
|
+
private _name;
|
|
10063
|
+
private _type;
|
|
10064
|
+
private _dataUrl;
|
|
10065
|
+
private _mapKeys;
|
|
10066
|
+
get name(): string;
|
|
10067
|
+
set name(value: string);
|
|
10068
|
+
get type(): string;
|
|
10069
|
+
set type(value: string);
|
|
10070
|
+
get dataUrl(): string;
|
|
10071
|
+
set dataUrl(value: string);
|
|
10072
|
+
get mapKeys(): string;
|
|
10073
|
+
set mapKeys(value: string);
|
|
10074
|
+
isUsed(data: IReportData): boolean;
|
|
10075
|
+
protected getDataValues(): unknown[];
|
|
10076
|
+
protected _getEditProps(): IPropInfo[];
|
|
10077
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
10078
|
+
protected _doSave(target: ReportTarget): void;
|
|
10079
|
+
protected _getMapKeys(): string[];
|
|
10080
|
+
protected _parseArrayLikeString(value: string): string[];
|
|
10081
|
+
protected _parseData(data: unknown[]): object[];
|
|
10082
|
+
}
|
|
10083
|
+
|
|
9572
10084
|
/* Excluded from this release type: Rectangle */
|
|
9573
10085
|
|
|
9574
10086
|
declare class RemoteInfo extends Base {
|
|
@@ -9600,6 +10112,8 @@ declare class Report_2 extends ReportBase<ReportPage> {
|
|
|
9600
10112
|
addHichartSeries(chart: HichartItem, seriesType: string): HichartSeries;
|
|
9601
10113
|
addHichartPlotLine(axis: HichartAxis, config?: object): HichartAxisPlotLine;
|
|
9602
10114
|
addHichartPlotBand(axis: HichartAxis, config?: object): HichartAxisPlotBand;
|
|
10115
|
+
addRealMapSeries(collection: RealMapChartSeriesCollection, type: RealMapChartSeriesType): void;
|
|
10116
|
+
removeRealMapSeries(collection: RealMapChartSeriesCollection, index: number): void;
|
|
9603
10117
|
/**
|
|
9604
10118
|
* 테이블 행을 추가한다.
|
|
9605
10119
|
*
|
|
@@ -10530,6 +11044,7 @@ declare class ReportEditLayer extends LayerElement {
|
|
|
10530
11044
|
ColumnBoxContainer: typeof ColumnBoxMarquee;
|
|
10531
11045
|
RowBoxContainer: typeof RowBoxMarquee;
|
|
10532
11046
|
RealChartItem: typeof RealChartMarquee;
|
|
11047
|
+
RealMapItem: typeof RealMapChartMarquee;
|
|
10533
11048
|
HichartItem: typeof HichartMarquee;
|
|
10534
11049
|
EmailRealChartItem: typeof RealChartMarquee;
|
|
10535
11050
|
EmailTableContainer: typeof TableContainerMarquee;
|
|
@@ -10597,6 +11112,7 @@ declare class ReportEditor extends ReportEditorBase<PrintContext> implements IRe
|
|
|
10597
11112
|
private _tableDesigner;
|
|
10598
11113
|
private _tableBandDesigner;
|
|
10599
11114
|
private _simpleBandDesigner;
|
|
11115
|
+
private _contextMenuMap;
|
|
10600
11116
|
/**
|
|
10601
11117
|
* 복사 붙여넣기한 아이템들을 관리하는 매니저
|
|
10602
11118
|
*/
|
|
@@ -11906,6 +12422,7 @@ declare enum ReportItemType {
|
|
|
11906
12422
|
SVG = "svg",
|
|
11907
12423
|
SIGN = "sign",
|
|
11908
12424
|
REALCHART = "realchart",
|
|
12425
|
+
REALMAP = "realmap",
|
|
11909
12426
|
HICHART = "hichart",
|
|
11910
12427
|
PAGE = "page"
|
|
11911
12428
|
}
|
|
@@ -12965,6 +13482,16 @@ declare interface SelectOption {
|
|
|
12965
13482
|
label: string;
|
|
12966
13483
|
}
|
|
12967
13484
|
|
|
13485
|
+
declare interface SeriesConfig extends BaseConfig {
|
|
13486
|
+
color?: string;
|
|
13487
|
+
name?: string;
|
|
13488
|
+
pointLabel?: PointLabel;
|
|
13489
|
+
data?: Data;
|
|
13490
|
+
mapKeys?: string | string[];
|
|
13491
|
+
dataUrl?: string;
|
|
13492
|
+
valueField?: string;
|
|
13493
|
+
}
|
|
13494
|
+
|
|
12968
13495
|
declare type ServerReportGroupSource = {
|
|
12969
13496
|
type: 'group';
|
|
12970
13497
|
name: string;
|
|
@@ -14457,6 +14984,8 @@ declare class TableBandRowGroupCollection extends ReportItemCollection<TableBand
|
|
|
14457
14984
|
remove(group: TableBandRowGroup): boolean;
|
|
14458
14985
|
clear(): boolean;
|
|
14459
14986
|
getValidGroups(data: IBandData): TableBandRowGroup[];
|
|
14987
|
+
removeCols(index: number, count: number): void;
|
|
14988
|
+
resetCells(): void;
|
|
14460
14989
|
get page(): ReportPageBase;
|
|
14461
14990
|
get displayPath(): string;
|
|
14462
14991
|
get level(): number;
|
|
@@ -14641,6 +15170,8 @@ declare abstract class TableBase extends CellContainer {
|
|
|
14641
15170
|
* 가장 상단의 item만 보존된다.
|
|
14642
15171
|
*/
|
|
14643
15172
|
mergeCells(r1: number, c1: number, r2: number, c2: number): void;
|
|
15173
|
+
removeCols(index: number, count: number): void;
|
|
15174
|
+
resetCells(): void;
|
|
14644
15175
|
protected _getEditProps(): IPropInfo[];
|
|
14645
15176
|
protected _getStyleProps(): string[];
|
|
14646
15177
|
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
@@ -14658,8 +15189,6 @@ declare abstract class TableBase extends CellContainer {
|
|
|
14658
15189
|
isAncestorOf(item: ReportPageItem): boolean;
|
|
14659
15190
|
protected _createRows(): TableRowCollection;
|
|
14660
15191
|
protected _spanChanged(cell: TableCell): void;
|
|
14661
|
-
protected _resetCells(): void;
|
|
14662
|
-
protected _removeCols(index: number, count: number): void;
|
|
14663
15192
|
protected _addCols(col: number, count: number): void;
|
|
14664
15193
|
protected _moveCols(col: number, count: number, newCol: number): void;
|
|
14665
15194
|
protected _removeRows(index: number, count: number): void;
|
|
@@ -15478,6 +16007,13 @@ declare abstract class TextItemBase extends ReportItem {
|
|
|
15478
16007
|
|
|
15479
16008
|
/* Excluded from this release type: TextItemElementBase */
|
|
15480
16009
|
|
|
16010
|
+
declare class TextPrintInfo {
|
|
16011
|
+
bandCellWidth: number;
|
|
16012
|
+
bandCellHeight: number;
|
|
16013
|
+
element: TextItemElement;
|
|
16014
|
+
constructor(bandCellWidth: number, bandCellHeight: number, element: TextItemElement);
|
|
16015
|
+
}
|
|
16016
|
+
|
|
15481
16017
|
declare type ToolButonVariant = 'default' | 'outline' | 'filled' | 'subtle';
|
|
15482
16018
|
|
|
15483
16019
|
declare interface ToolButtonOptions {
|
|
@@ -15923,6 +16459,8 @@ declare abstract class ValueProperty extends PropertyItem {
|
|
|
15923
16459
|
|
|
15924
16460
|
declare type ValueString = string | number;
|
|
15925
16461
|
|
|
16462
|
+
declare type VerticalAlign$1 = 'top' | 'middle' | 'bottom';
|
|
16463
|
+
|
|
15926
16464
|
declare enum VerticalAlign {
|
|
15927
16465
|
TOP = "top",
|
|
15928
16466
|
MIDDLE = "middle",
|