realreport-designer 1.11.1 → 1.11.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-designer.cjs +198 -200
- package/dist/realreport-designer.d.ts +538 -1
- package/dist/realreport-designer.js +28537 -27005
- package/dist/realreport-designer.umd.js +192 -194
- package/dist/styles/realreport-designer.css +5 -6
- 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는 리포트에 저장하지 않는다.
|
|
@@ -655,6 +659,11 @@ declare type BarcodeOutput = 'image' | 'font';
|
|
|
655
659
|
|
|
656
660
|
/* Excluded from this release type: Base */
|
|
657
661
|
|
|
662
|
+
declare interface BaseConfig {
|
|
663
|
+
visible?: boolean;
|
|
664
|
+
style?: RealMapChartSvgStyles;
|
|
665
|
+
}
|
|
666
|
+
|
|
658
667
|
/**
|
|
659
668
|
* BodyItemAddSection
|
|
660
669
|
*/
|
|
@@ -1162,6 +1171,20 @@ declare class ColorPaletteAsset extends AssetItem {
|
|
|
1162
1171
|
protected _doSave(target: any): void;
|
|
1163
1172
|
}
|
|
1164
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
|
+
|
|
1165
1188
|
/**
|
|
1166
1189
|
* 수직으로 자식 item들을 배치한다.
|
|
1167
1190
|
* Html flex box를 활용한다.
|
|
@@ -1716,6 +1739,8 @@ declare const enum Cursor {
|
|
|
1716
1739
|
NOT_ALLOWED = "not-allowed"
|
|
1717
1740
|
}
|
|
1718
1741
|
|
|
1742
|
+
declare type Data = any;
|
|
1743
|
+
|
|
1719
1744
|
/**
|
|
1720
1745
|
* Data band base class.
|
|
1721
1746
|
*
|
|
@@ -2703,7 +2728,7 @@ declare abstract class EditMarquee<T extends ReportElement> extends VisualElemen
|
|
|
2703
2728
|
set target(value: T);
|
|
2704
2729
|
get targetItem(): ReportItem;
|
|
2705
2730
|
isRootView(dom: HTMLElement): boolean;
|
|
2706
|
-
getMenu(): MenuItem[];
|
|
2731
|
+
getMenu(target: HTMLElement): MenuItem[];
|
|
2707
2732
|
layout(reportView: IReportEditView): void;
|
|
2708
2733
|
protected _getCssSelector(): string;
|
|
2709
2734
|
get findable(): boolean;
|
|
@@ -5050,11 +5075,13 @@ declare interface FindResult {
|
|
|
5050
5075
|
declare class FloatingContainer extends ReportGroupItem {
|
|
5051
5076
|
static readonly PROP_ANCHOR_TARGET = "anchorTarget";
|
|
5052
5077
|
static readonly PROP_ANCHOR_POSITION = "anchorPosition";
|
|
5078
|
+
static readonly PROP_REPEAT = "repeat";
|
|
5053
5079
|
static readonly PROPINFOS: IPropInfo[];
|
|
5054
5080
|
static readonly $_ctor: string;
|
|
5055
5081
|
static readonly ITEM_TYPE = "Floating Container";
|
|
5056
5082
|
private _anchorTarget;
|
|
5057
5083
|
private _anchorPosition;
|
|
5084
|
+
private _repeat;
|
|
5058
5085
|
constructor(name: string);
|
|
5059
5086
|
/** anchorTarget */
|
|
5060
5087
|
get anchorTarget(): string;
|
|
@@ -5062,6 +5089,9 @@ declare class FloatingContainer extends ReportGroupItem {
|
|
|
5062
5089
|
/** anchorPosition */
|
|
5063
5090
|
get anchorPosition(): AnchorPosition;
|
|
5064
5091
|
set anchorPosition(value: AnchorPosition);
|
|
5092
|
+
/** repeat */
|
|
5093
|
+
get repeat(): boolean;
|
|
5094
|
+
set repeat(value: boolean);
|
|
5065
5095
|
getSaveType(): string;
|
|
5066
5096
|
get outlineLabel(): string;
|
|
5067
5097
|
protected _maxChildCount(): number;
|
|
@@ -6612,6 +6642,7 @@ declare interface IPreviewOptions {
|
|
|
6612
6642
|
paging?: boolean;
|
|
6613
6643
|
language?: string;
|
|
6614
6644
|
editable?: boolean;
|
|
6645
|
+
textSelectable?: boolean;
|
|
6615
6646
|
callback?: PrintPageCallback;
|
|
6616
6647
|
endCallback?: PrintEndCallback;
|
|
6617
6648
|
signCallback?: SignCallback;
|
|
@@ -6845,6 +6876,7 @@ declare interface IReportLoader {
|
|
|
6845
6876
|
createRealChartAxis?(collection: RCAxisCollection, src: ReportSource): RCAxis;
|
|
6846
6877
|
createRealChartSeries?(collection: RCSeriesCollection, src: ReportSource): RCSeries;
|
|
6847
6878
|
createHichartSeries?(chart: HichartItem, src: any): HichartSeries;
|
|
6879
|
+
createRealMapChartSeries?(chart: RealMapChartSeriesCollection, src: ReportSource): RealMapSeries;
|
|
6848
6880
|
}
|
|
6849
6881
|
|
|
6850
6882
|
declare interface IReportServer {
|
|
@@ -7448,6 +7480,8 @@ declare interface IUserDataTemplateItem {
|
|
|
7448
7480
|
template?: ISimpleDataTemplate | IBandDataTemplate;
|
|
7449
7481
|
}
|
|
7450
7482
|
|
|
7483
|
+
declare type LabelPosition = 'auto' | 'bottom' | 'center' | 'left' | 'right' | 'top';
|
|
7484
|
+
|
|
7451
7485
|
declare type LanguageCode = keyof typeof ISO_639_LANGUAGES;
|
|
7452
7486
|
|
|
7453
7487
|
declare type LanguageItem = {
|
|
@@ -7521,6 +7555,12 @@ declare class ListableProperty extends StringProperty {
|
|
|
7521
7555
|
|
|
7522
7556
|
declare const LocalFileTypes: readonly ["json", "csv", "excel"];
|
|
7523
7557
|
|
|
7558
|
+
declare interface MapSource {
|
|
7559
|
+
url: string;
|
|
7560
|
+
padding?: number;
|
|
7561
|
+
exclude?: string[];
|
|
7562
|
+
}
|
|
7563
|
+
|
|
7524
7564
|
declare type MenuItem = {
|
|
7525
7565
|
type: 'text';
|
|
7526
7566
|
label?: ((clickedElement: HTMLElement, menu: MenuItem) => string) | string;
|
|
@@ -7555,6 +7595,17 @@ declare type MenuItem = {
|
|
|
7555
7595
|
|
|
7556
7596
|
declare type MessageLevel = 'error' | 'warn' | 'info';
|
|
7557
7597
|
|
|
7598
|
+
/**
|
|
7599
|
+
* Sub property model property.
|
|
7600
|
+
*/
|
|
7601
|
+
declare class ModelProperty extends PropertyItem {
|
|
7602
|
+
static readonly $_ctor: string;
|
|
7603
|
+
private _model;
|
|
7604
|
+
constructor(prop: IPropInfo);
|
|
7605
|
+
/** model */
|
|
7606
|
+
get model(): PropertyModel;
|
|
7607
|
+
}
|
|
7608
|
+
|
|
7558
7609
|
declare interface ModelPropertyTypeProps {
|
|
7559
7610
|
/**
|
|
7560
7611
|
* 포함해야할 모델 내부 속성을 정의
|
|
@@ -8062,8 +8113,19 @@ declare interface PdfPermissions {
|
|
|
8062
8113
|
|
|
8063
8114
|
declare type PdfVersion = '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3';
|
|
8064
8115
|
|
|
8116
|
+
declare interface PieCategory {
|
|
8117
|
+
name: string;
|
|
8118
|
+
color: string;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8065
8121
|
/* Excluded from this release type: Point */
|
|
8066
8122
|
|
|
8123
|
+
declare interface PointLabel extends BaseConfig {
|
|
8124
|
+
text?: string;
|
|
8125
|
+
position?: LabelPosition;
|
|
8126
|
+
numberFormat?: string;
|
|
8127
|
+
}
|
|
8128
|
+
|
|
8067
8129
|
declare abstract class PopupElement extends ReportElement implements Closable {
|
|
8068
8130
|
close(): void;
|
|
8069
8131
|
protected _doClose(): void;
|
|
@@ -8450,6 +8512,8 @@ declare enum PrintUnit {
|
|
|
8450
8512
|
MILLI = "mm"
|
|
8451
8513
|
}
|
|
8452
8514
|
|
|
8515
|
+
declare type Projection = undefined | 'orthographic' | 'equalearth' | 'miller' | 'mercator';
|
|
8516
|
+
|
|
8453
8517
|
declare enum PropCategory {
|
|
8454
8518
|
DESIGN = "design",
|
|
8455
8519
|
BASIC = "basic",
|
|
@@ -8499,6 +8563,8 @@ declare enum PropCategory {
|
|
|
8499
8563
|
OPTIONS = "options",
|
|
8500
8564
|
BODY = "body",
|
|
8501
8565
|
CREDITS = "credits",
|
|
8566
|
+
COLOR_SCALE = "colorScale",
|
|
8567
|
+
MAP = "map",
|
|
8502
8568
|
STYLES = "Styles",
|
|
8503
8569
|
EMAIL_FORM_INFO = "email form info",
|
|
8504
8570
|
EMAIL_LAYOUT = "email layout",
|
|
@@ -9562,6 +9628,460 @@ declare class RealChartMarquee extends EditMarquee<RealChartItemElement> {
|
|
|
9562
9628
|
private $_layoutAxisItem;
|
|
9563
9629
|
}
|
|
9564
9630
|
|
|
9631
|
+
declare const REALMAP_TEXT_STYLE_NAMES: (keyof RealMapChartSvgStyles)[];
|
|
9632
|
+
|
|
9633
|
+
declare class RealMapChartAxisGrid extends ChartObject$1<RealMapItem, RealMapChartAxisGridConfig> {
|
|
9634
|
+
static readonly PROP_FIT_TO = "fitTo";
|
|
9635
|
+
static readonly PROP_LINE_STEP = "lineStep";
|
|
9636
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9637
|
+
private _fitTo;
|
|
9638
|
+
private _lineStep;
|
|
9639
|
+
constructor(chart: RealMapItem);
|
|
9640
|
+
get fitTo(): AxisFitTo;
|
|
9641
|
+
set fitTo(value: AxisFitTo);
|
|
9642
|
+
get lineStep(): number;
|
|
9643
|
+
set lineStep(value: number);
|
|
9644
|
+
getChartConfig(context: PrintContext): RealMapChartAxisGridConfig;
|
|
9645
|
+
getSaveLabel(): string;
|
|
9646
|
+
protected _getEditProps(): IPropInfo[];
|
|
9647
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9648
|
+
protected _doSave(target: ReportTarget): void;
|
|
9649
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9650
|
+
}
|
|
9651
|
+
|
|
9652
|
+
declare interface RealMapChartAxisGridConfig {
|
|
9653
|
+
visible: boolean;
|
|
9654
|
+
fitTo: AxisFitTo;
|
|
9655
|
+
line: {
|
|
9656
|
+
step: number;
|
|
9657
|
+
};
|
|
9658
|
+
}
|
|
9659
|
+
|
|
9660
|
+
declare class RealMapChartBody extends ChartObject$1<RealMapItem, RealMapChartBodyConfig> {
|
|
9661
|
+
static readonly PROP_PROJECTION = "projection";
|
|
9662
|
+
static readonly PROP_SCROLL = "scroll";
|
|
9663
|
+
static readonly PROP_ZOOM = "zoom";
|
|
9664
|
+
static readonly PROP_PAN_Y = "panY";
|
|
9665
|
+
static readonly PROP_ROTATION_X = "rotationX";
|
|
9666
|
+
static readonly PROP_ROTATION_Y = "rotationY";
|
|
9667
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9668
|
+
private _projection;
|
|
9669
|
+
private _scroll;
|
|
9670
|
+
private _zoom;
|
|
9671
|
+
private _panY;
|
|
9672
|
+
private _rotationX;
|
|
9673
|
+
private _rotationY;
|
|
9674
|
+
get projection(): Projection;
|
|
9675
|
+
set projection(value: Projection);
|
|
9676
|
+
get scroll(): number;
|
|
9677
|
+
set scroll(value: number);
|
|
9678
|
+
get zoom(): number;
|
|
9679
|
+
set zoom(value: number);
|
|
9680
|
+
get panY(): number;
|
|
9681
|
+
set panY(value: number);
|
|
9682
|
+
get rotationX(): number;
|
|
9683
|
+
set rotationX(value: number);
|
|
9684
|
+
get rotationY(): number;
|
|
9685
|
+
set rotationY(value: number);
|
|
9686
|
+
getChartConfig(context: PrintContext): RealMapChartBodyConfig;
|
|
9687
|
+
getSaveLabel(): string;
|
|
9688
|
+
protected _getEditProps(): IPropInfo[];
|
|
9689
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9690
|
+
protected _doSave(target: ReportTarget): void;
|
|
9691
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9692
|
+
}
|
|
9693
|
+
|
|
9694
|
+
declare interface RealMapChartBodyConfig {
|
|
9695
|
+
projection?: Projection;
|
|
9696
|
+
scroll?: number;
|
|
9697
|
+
zoom?: number;
|
|
9698
|
+
panY?: number;
|
|
9699
|
+
rotationX?: number;
|
|
9700
|
+
rotationY?: number;
|
|
9701
|
+
scrollable: boolean;
|
|
9702
|
+
zoomable: boolean;
|
|
9703
|
+
}
|
|
9704
|
+
|
|
9705
|
+
declare class RealMapChartColorScale extends ChartObject$1<RealMapItem, RealMapChartColorScaleConfig> {
|
|
9706
|
+
static readonly PROP_ALIGN = "align";
|
|
9707
|
+
static readonly PROP_BAR_LENGTH = "barLength";
|
|
9708
|
+
static readonly PROP_BAR_WIDTH = "barWidth";
|
|
9709
|
+
static readonly PROP_DISPLAY = "display";
|
|
9710
|
+
static readonly PROP_GAP = "gap";
|
|
9711
|
+
static readonly PROP_LAYOUT = "layout";
|
|
9712
|
+
static readonly PROP_LOCATION = "location";
|
|
9713
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
9714
|
+
static readonly PROP_LOG_BASE = "logBase";
|
|
9715
|
+
static readonly PROP_MAX_COLOR = "maxColor";
|
|
9716
|
+
static readonly PROP_MIN_COLOR = "minColor";
|
|
9717
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9718
|
+
private _barLength;
|
|
9719
|
+
private _barWidth;
|
|
9720
|
+
private _gap;
|
|
9721
|
+
private _layout;
|
|
9722
|
+
private _location;
|
|
9723
|
+
private _logBase;
|
|
9724
|
+
private _maxColor;
|
|
9725
|
+
private _minColor;
|
|
9726
|
+
constructor(chart: RealMapItem);
|
|
9727
|
+
get barLength(): string;
|
|
9728
|
+
set barLength(value: string);
|
|
9729
|
+
get barWidth(): number;
|
|
9730
|
+
set barWidth(value: number);
|
|
9731
|
+
get gap(): number;
|
|
9732
|
+
set gap(value: number);
|
|
9733
|
+
get layout(): ColorScaleLayout;
|
|
9734
|
+
set layout(value: ColorScaleLayout);
|
|
9735
|
+
get location(): ColorScaleLocation;
|
|
9736
|
+
set location(value: ColorScaleLocation);
|
|
9737
|
+
get logBase(): number;
|
|
9738
|
+
set logBase(value: number);
|
|
9739
|
+
get maxColor(): string;
|
|
9740
|
+
set maxColor(value: string);
|
|
9741
|
+
get minColor(): string;
|
|
9742
|
+
set minColor(value: string);
|
|
9743
|
+
getChartConfig(context: PrintContext): RealMapChartColorScaleConfig;
|
|
9744
|
+
getSaveLabel(): string;
|
|
9745
|
+
protected _getEditProps(): IPropInfo[];
|
|
9746
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9747
|
+
protected _doSave(target: ReportTarget): void;
|
|
9748
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9749
|
+
}
|
|
9750
|
+
|
|
9751
|
+
declare interface RealMapChartColorScaleConfig extends BaseConfig {
|
|
9752
|
+
visible: boolean;
|
|
9753
|
+
barLength: string | number;
|
|
9754
|
+
barWidth: number;
|
|
9755
|
+
gap: number;
|
|
9756
|
+
layout: ColorScaleLayout;
|
|
9757
|
+
location?: ColorScaleLocation;
|
|
9758
|
+
logBase: number;
|
|
9759
|
+
maxColor: string;
|
|
9760
|
+
minColor: string;
|
|
9761
|
+
}
|
|
9762
|
+
|
|
9763
|
+
declare class RealMapChartCredits extends ChartObject$1<RealMapItem, RealMapChartCreditsConfig> {
|
|
9764
|
+
static readonly PROP_TEXT = "text";
|
|
9765
|
+
static readonly PROP_URL = "url";
|
|
9766
|
+
static readonly PROP_OFFSET_X = "offsetX";
|
|
9767
|
+
static readonly PROP_OFFSET_Y = "offsetY";
|
|
9768
|
+
static readonly PROP_ALIGN = "align";
|
|
9769
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
9770
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9771
|
+
private _text;
|
|
9772
|
+
private _url;
|
|
9773
|
+
private _offset_x;
|
|
9774
|
+
private _offset_y;
|
|
9775
|
+
private _align;
|
|
9776
|
+
private _verticalAlign;
|
|
9777
|
+
get text(): string;
|
|
9778
|
+
set text(value: string);
|
|
9779
|
+
get url(): string;
|
|
9780
|
+
set url(value: string);
|
|
9781
|
+
get offsetX(): number;
|
|
9782
|
+
set offsetX(value: number);
|
|
9783
|
+
get offsetY(): number;
|
|
9784
|
+
set offsetY(value: number);
|
|
9785
|
+
get align(): RealMapChartCreditsConfig['align'];
|
|
9786
|
+
set align(value: RealMapChartCreditsConfig['align']);
|
|
9787
|
+
get verticalAlign(): RealMapChartCreditsConfig['verticalAlign'];
|
|
9788
|
+
set verticalAlign(value: RealMapChartCreditsConfig['verticalAlign']);
|
|
9789
|
+
getChartConfig(context: PrintContext): RealMapChartCreditsConfig;
|
|
9790
|
+
getSaveLabel(): string;
|
|
9791
|
+
protected _getEditProps(): IPropInfo[];
|
|
9792
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9793
|
+
protected _doSave(target: ReportTarget): void;
|
|
9794
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9795
|
+
}
|
|
9796
|
+
|
|
9797
|
+
declare interface RealMapChartCreditsConfig extends BaseConfig {
|
|
9798
|
+
text?: string;
|
|
9799
|
+
url?: string;
|
|
9800
|
+
offsetX?: number;
|
|
9801
|
+
offsetY?: number;
|
|
9802
|
+
align?: Align$1;
|
|
9803
|
+
verticalAlign?: VerticalAlign$1;
|
|
9804
|
+
}
|
|
9805
|
+
|
|
9806
|
+
declare class RealMapChartMap extends ChartObject$1<RealMapItem, RealMapChartMapConfig> {
|
|
9807
|
+
static readonly PROP_URL = "url";
|
|
9808
|
+
static readonly PROP_PADDING = "padding";
|
|
9809
|
+
static readonly PROP_EXCLUDE = "exclude";
|
|
9810
|
+
static readonly PROPINFOS: {
|
|
9811
|
+
name: string;
|
|
9812
|
+
category: PropCategory;
|
|
9813
|
+
type: typeof ListableProperty;
|
|
9814
|
+
indented: boolean;
|
|
9815
|
+
default: any;
|
|
9816
|
+
}[];
|
|
9817
|
+
private _url;
|
|
9818
|
+
private _padding;
|
|
9819
|
+
private _exclude;
|
|
9820
|
+
get url(): string;
|
|
9821
|
+
set url(value: string);
|
|
9822
|
+
get padding(): number;
|
|
9823
|
+
set padding(value: number);
|
|
9824
|
+
get exclude(): string;
|
|
9825
|
+
set exclude(value: string);
|
|
9826
|
+
private $_getMapUrl;
|
|
9827
|
+
private $_parseArrayLikeString;
|
|
9828
|
+
getChartConfig(context: PrintContext): RealMapChartMapConfig;
|
|
9829
|
+
getSaveLabel(): string;
|
|
9830
|
+
protected _doDefaultInit(): void;
|
|
9831
|
+
protected _getEditProps(): {
|
|
9832
|
+
name: string;
|
|
9833
|
+
category: PropCategory;
|
|
9834
|
+
type: typeof ListableProperty;
|
|
9835
|
+
indented: boolean;
|
|
9836
|
+
default: any;
|
|
9837
|
+
}[];
|
|
9838
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9839
|
+
protected _doSave(target: ReportTarget): void;
|
|
9840
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9841
|
+
private $_getExclude;
|
|
9842
|
+
}
|
|
9843
|
+
|
|
9844
|
+
declare type RealMapChartMapConfig = MapSource;
|
|
9845
|
+
|
|
9846
|
+
declare class RealMapChartMapSeries extends RealMapSeries<RealMapChartMapSeriesConfig> {
|
|
9847
|
+
static readonly PROP_POINT_COLOR = "pointColors";
|
|
9848
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9849
|
+
private _pointColors;
|
|
9850
|
+
private _pointColorsCallback;
|
|
9851
|
+
constructor(collection: RealMapChartSeriesCollection);
|
|
9852
|
+
get pointColors(): string;
|
|
9853
|
+
set pointColors(value: string);
|
|
9854
|
+
getChartConfig(context: PrintContext): RealMapChartMapSeriesConfig;
|
|
9855
|
+
protected _getEditProps(): IPropInfo[];
|
|
9856
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
9857
|
+
protected _doSave(target: ReportTarget): void;
|
|
9858
|
+
}
|
|
9859
|
+
|
|
9860
|
+
declare interface RealMapChartMapSeriesConfig extends SeriesConfig {
|
|
9861
|
+
type: 'map';
|
|
9862
|
+
pointColors: Function | null;
|
|
9863
|
+
}
|
|
9864
|
+
|
|
9865
|
+
declare class RealMapChartMarquee extends EditMarquee<RealMapItemElement> {
|
|
9866
|
+
private static readonly STYLE_NAME;
|
|
9867
|
+
private static readonly SERIES_TAG;
|
|
9868
|
+
private static readonly ITEM_WIDTH;
|
|
9869
|
+
private static readonly ITEM_HEIGHT;
|
|
9870
|
+
private static readonly ITEM_GAP;
|
|
9871
|
+
private static readonly ITEM_MARGIN;
|
|
9872
|
+
private static readonly MAP_MENU;
|
|
9873
|
+
static getTarget(target: ReportPageItem, dom: HTMLElement): IEditMarqueeTarget | null;
|
|
9874
|
+
private MAP_MENUS;
|
|
9875
|
+
private getSeriesMenu;
|
|
9876
|
+
private _mapItem;
|
|
9877
|
+
private _seriesItems;
|
|
9878
|
+
constructor(doc: Document, menuOwner: IContextMenuOwner);
|
|
9879
|
+
get editor(): ReportEditor;
|
|
9880
|
+
isRootView(dom: HTMLElement): boolean;
|
|
9881
|
+
getMenu(target: HTMLElement): MenuItem[];
|
|
9882
|
+
protected _getCssSelector(): string;
|
|
9883
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
9884
|
+
protected _doLayout(doc: Document, dom: HTMLElement, r: Rectangle): void;
|
|
9885
|
+
private $_layoutChart;
|
|
9886
|
+
private $_layoutSeriesItems;
|
|
9887
|
+
private $_prepareItems;
|
|
9888
|
+
private $_addSeries;
|
|
9889
|
+
private $_removeSeries;
|
|
9890
|
+
}
|
|
9891
|
+
|
|
9892
|
+
declare interface RealMapChartPieSeriesConfig extends SeriesConfig {
|
|
9893
|
+
type: 'pie';
|
|
9894
|
+
radius?: string;
|
|
9895
|
+
startAngle?: number;
|
|
9896
|
+
totalAngle?: number;
|
|
9897
|
+
clockwise?: boolean;
|
|
9898
|
+
categories?: PieCategory[];
|
|
9899
|
+
}
|
|
9900
|
+
|
|
9901
|
+
declare class RealMapChartSeriesCollection extends ChartSeriesCollection$1<RealMapItem, RealMapChartSeriesConfig> {
|
|
9902
|
+
getChartConfig(context: PrintContext): RealMapChartSeriesConfig[];
|
|
9903
|
+
protected _createSeries(loader: IReportLoader, src: ReportSource): RealMapSeries;
|
|
9904
|
+
protected _seriesChanged(): void;
|
|
9905
|
+
}
|
|
9906
|
+
|
|
9907
|
+
declare type RealMapChartSeriesConfig = RealMapChartMapSeriesConfig | RealMapChartPieSeriesConfig;
|
|
9908
|
+
|
|
9909
|
+
declare type RealMapChartSeriesType = 'map' | 'pie';
|
|
9910
|
+
|
|
9911
|
+
declare class RealMapChartSubTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
9912
|
+
static readonly PROP_ALIGN = "align";
|
|
9913
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9914
|
+
private static readonly STYLES;
|
|
9915
|
+
private _align;
|
|
9916
|
+
constructor(chart: RealMapItem);
|
|
9917
|
+
get align(): Align;
|
|
9918
|
+
set align(value: Align);
|
|
9919
|
+
getSaveLabel(): string;
|
|
9920
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
9921
|
+
protected _getEditProps(): IPropInfo[];
|
|
9922
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
9923
|
+
getCollapsedPropCategories(): string[];
|
|
9924
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9925
|
+
}
|
|
9926
|
+
|
|
9927
|
+
declare interface RealMapChartSvgStyles {
|
|
9928
|
+
transform?: string;
|
|
9929
|
+
fill?: string;
|
|
9930
|
+
fillOpacity?: string;
|
|
9931
|
+
stroke?: string;
|
|
9932
|
+
strokeWidth?: string;
|
|
9933
|
+
strokeDasharray?: string;
|
|
9934
|
+
fontFamily?: string;
|
|
9935
|
+
fontSize?: string;
|
|
9936
|
+
fontWeight?: string;
|
|
9937
|
+
fontStyle?: string;
|
|
9938
|
+
rx?: string;
|
|
9939
|
+
textAlign?: Align$1;
|
|
9940
|
+
padding?: string;
|
|
9941
|
+
}
|
|
9942
|
+
|
|
9943
|
+
declare class RealMapChartTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
9944
|
+
static readonly PROP_ALIGN = "align";
|
|
9945
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
9946
|
+
private static readonly STYLES;
|
|
9947
|
+
private _align;
|
|
9948
|
+
constructor(chart: RealMapItem);
|
|
9949
|
+
get align(): Align;
|
|
9950
|
+
set align(value: Align);
|
|
9951
|
+
getSaveLabel(): string;
|
|
9952
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
9953
|
+
protected _getEditProps(): IPropInfo[];
|
|
9954
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
9955
|
+
getCollapsedPropCategories(): string[];
|
|
9956
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
9957
|
+
}
|
|
9958
|
+
|
|
9959
|
+
declare type RealMapChartTitleConfig = RealMapChartTitleOptions | boolean;
|
|
9960
|
+
|
|
9961
|
+
declare interface RealMapChartTitleOptions extends BaseConfig {
|
|
9962
|
+
text?: string;
|
|
9963
|
+
align?: Align$1;
|
|
9964
|
+
}
|
|
9965
|
+
|
|
9966
|
+
declare interface RealMapConfig {
|
|
9967
|
+
title?: RealMapChartTitleConfig;
|
|
9968
|
+
subtitle?: RealMapChartTitleConfig;
|
|
9969
|
+
map: RealMapChartMapConfig;
|
|
9970
|
+
body: RealMapChartBodyConfig;
|
|
9971
|
+
series: RealMapChartSeriesConfig[];
|
|
9972
|
+
credits?: RealMapChartCreditsConfig;
|
|
9973
|
+
colorScale?: RealMapChartColorScaleConfig;
|
|
9974
|
+
axis?: {
|
|
9975
|
+
grid?: RealMapChartAxisGridConfig;
|
|
9976
|
+
};
|
|
9977
|
+
zoomPanel: {
|
|
9978
|
+
visible: false;
|
|
9979
|
+
};
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9982
|
+
declare class RealMapItem extends ChartItem<RealMapConfig> {
|
|
9983
|
+
static readonly PROP_TITLE = "title";
|
|
9984
|
+
static readonly PROP_SUBTITLE = "subtitle";
|
|
9985
|
+
static readonly PROP_MAP = "map";
|
|
9986
|
+
static readonly PROP_BODY = "body";
|
|
9987
|
+
static readonly PROP_CREDITS = "credits";
|
|
9988
|
+
static readonly PROP_COLOR_SCALE = "colorScale";
|
|
9989
|
+
static readonly PROP_SERIES_COLLECTION = "serieCollection";
|
|
9990
|
+
static readonly PROP_GRID = "grid";
|
|
9991
|
+
static readonly PROPINFOS: ({
|
|
9992
|
+
name: string;
|
|
9993
|
+
category: PropCategory;
|
|
9994
|
+
type: typeof ModelProperty;
|
|
9995
|
+
indented: boolean;
|
|
9996
|
+
default: any;
|
|
9997
|
+
visible?: undefined;
|
|
9998
|
+
} | {
|
|
9999
|
+
name: string;
|
|
10000
|
+
category: PropCategory;
|
|
10001
|
+
type: typeof ModelProperty;
|
|
10002
|
+
indented: boolean;
|
|
10003
|
+
default: any;
|
|
10004
|
+
visible: () => boolean;
|
|
10005
|
+
})[];
|
|
10006
|
+
static readonly STYLE_PROPS: string[];
|
|
10007
|
+
static readonly $_ctor: string;
|
|
10008
|
+
static readonly ITEM_TYPE = "RealMap";
|
|
10009
|
+
private _title;
|
|
10010
|
+
private _subtitle;
|
|
10011
|
+
private _body;
|
|
10012
|
+
private _credits;
|
|
10013
|
+
private _colorScale;
|
|
10014
|
+
private _map;
|
|
10015
|
+
private _seriesCollection;
|
|
10016
|
+
private _grid;
|
|
10017
|
+
constructor(name: string);
|
|
10018
|
+
get title(): RealMapChartTitle;
|
|
10019
|
+
get subtitle(): RealMapChartSubTitle;
|
|
10020
|
+
get body(): RealMapChartBody;
|
|
10021
|
+
get credits(): RealMapChartCredits;
|
|
10022
|
+
get map(): RealMapChartMap;
|
|
10023
|
+
get colorScale(): RealMapChartColorScale;
|
|
10024
|
+
get seriesCollection(): RealMapChartSeriesCollection;
|
|
10025
|
+
get grid(): RealMapChartAxisGrid;
|
|
10026
|
+
getChartConfig(context: PrintContext): RealMapConfig;
|
|
10027
|
+
emitSeriesChanged(): void;
|
|
10028
|
+
addNewSeries(type: RealMapChartSeriesType): RealMapChartMapSeries;
|
|
10029
|
+
addSeries(series: RealMapChartMapSeries): void;
|
|
10030
|
+
removeSeries(series: RealMapChartMapSeries): void;
|
|
10031
|
+
selectSeries(series: RealMapChartMapSeries | null): void;
|
|
10032
|
+
needDesignWidth(): boolean;
|
|
10033
|
+
needDesignHeight(): boolean;
|
|
10034
|
+
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
10035
|
+
protected _getStyleProps(): string[];
|
|
10036
|
+
protected _getEditProps(): IPropInfo[];
|
|
10037
|
+
protected _doLoad(loader: IReportLoader, src: ReportSource): void;
|
|
10038
|
+
protected _doSave(target: ReportTarget): void;
|
|
10039
|
+
getSaveType(): string;
|
|
10040
|
+
isUsed(data: IReportData): boolean;
|
|
10041
|
+
}
|
|
10042
|
+
|
|
10043
|
+
declare class RealMapItemElement extends ReportItemElement<RealMapItem> implements AsyncLoadable {
|
|
10044
|
+
private _chartDiv;
|
|
10045
|
+
private _wrapper;
|
|
10046
|
+
protected _getCssSelector(): string;
|
|
10047
|
+
get debugLabel(): string;
|
|
10048
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
10049
|
+
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size;
|
|
10050
|
+
protected _doLayoutContent(ctx: PrintContext): void;
|
|
10051
|
+
isDom(dom: HTMLElement): boolean;
|
|
10052
|
+
loadAsync(): Promise<void>;
|
|
10053
|
+
private $_prepareWrapper;
|
|
10054
|
+
private $_layoutWrapper;
|
|
10055
|
+
}
|
|
10056
|
+
|
|
10057
|
+
declare abstract class RealMapSeries<C = RealMapChartSeriesConfig> extends ChartSeries$1<RealMapItem, C> {
|
|
10058
|
+
static readonly PROP_TYPE = "type";
|
|
10059
|
+
static readonly PROP_NAME = "name";
|
|
10060
|
+
static readonly PROP_USE_DATA_URL = "dataUrl";
|
|
10061
|
+
static readonly PROP_USE_MAP_KEYS = "mapKeys";
|
|
10062
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
10063
|
+
private _name;
|
|
10064
|
+
private _type;
|
|
10065
|
+
private _dataUrl;
|
|
10066
|
+
private _mapKeys;
|
|
10067
|
+
get name(): string;
|
|
10068
|
+
set name(value: string);
|
|
10069
|
+
get type(): string;
|
|
10070
|
+
set type(value: string);
|
|
10071
|
+
get dataUrl(): string;
|
|
10072
|
+
set dataUrl(value: string);
|
|
10073
|
+
get mapKeys(): string;
|
|
10074
|
+
set mapKeys(value: string);
|
|
10075
|
+
isUsed(data: IReportData): boolean;
|
|
10076
|
+
protected getDataValues(): unknown[];
|
|
10077
|
+
protected _getEditProps(): IPropInfo[];
|
|
10078
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
10079
|
+
protected _doSave(target: ReportTarget): void;
|
|
10080
|
+
protected _getMapKeys(): string[];
|
|
10081
|
+
protected _parseArrayLikeString(value: string): string[];
|
|
10082
|
+
protected _parseData(data: unknown[]): object[];
|
|
10083
|
+
}
|
|
10084
|
+
|
|
9565
10085
|
/* Excluded from this release type: Rectangle */
|
|
9566
10086
|
|
|
9567
10087
|
declare class RemoteInfo extends Base {
|
|
@@ -9593,6 +10113,8 @@ declare class Report_2 extends ReportBase<ReportPage> {
|
|
|
9593
10113
|
addHichartSeries(chart: HichartItem, seriesType: string): HichartSeries;
|
|
9594
10114
|
addHichartPlotLine(axis: HichartAxis, config?: object): HichartAxisPlotLine;
|
|
9595
10115
|
addHichartPlotBand(axis: HichartAxis, config?: object): HichartAxisPlotBand;
|
|
10116
|
+
addRealMapSeries(collection: RealMapChartSeriesCollection, type: RealMapChartSeriesType): void;
|
|
10117
|
+
removeRealMapSeries(collection: RealMapChartSeriesCollection, index: number): void;
|
|
9596
10118
|
/**
|
|
9597
10119
|
* 테이블 행을 추가한다.
|
|
9598
10120
|
*
|
|
@@ -10523,6 +11045,7 @@ declare class ReportEditLayer extends LayerElement {
|
|
|
10523
11045
|
ColumnBoxContainer: typeof ColumnBoxMarquee;
|
|
10524
11046
|
RowBoxContainer: typeof RowBoxMarquee;
|
|
10525
11047
|
RealChartItem: typeof RealChartMarquee;
|
|
11048
|
+
RealMapItem: typeof RealMapChartMarquee;
|
|
10526
11049
|
HichartItem: typeof HichartMarquee;
|
|
10527
11050
|
EmailRealChartItem: typeof RealChartMarquee;
|
|
10528
11051
|
EmailTableContainer: typeof TableContainerMarquee;
|
|
@@ -10590,6 +11113,7 @@ declare class ReportEditor extends ReportEditorBase<PrintContext> implements IRe
|
|
|
10590
11113
|
private _tableDesigner;
|
|
10591
11114
|
private _tableBandDesigner;
|
|
10592
11115
|
private _simpleBandDesigner;
|
|
11116
|
+
private _contextMenuMap;
|
|
10593
11117
|
/**
|
|
10594
11118
|
* 복사 붙여넣기한 아이템들을 관리하는 매니저
|
|
10595
11119
|
*/
|
|
@@ -11899,6 +12423,7 @@ declare enum ReportItemType {
|
|
|
11899
12423
|
SVG = "svg",
|
|
11900
12424
|
SIGN = "sign",
|
|
11901
12425
|
REALCHART = "realchart",
|
|
12426
|
+
REALMAP = "realmap",
|
|
11902
12427
|
HICHART = "hichart",
|
|
11903
12428
|
PAGE = "page"
|
|
11904
12429
|
}
|
|
@@ -12958,6 +13483,16 @@ declare interface SelectOption {
|
|
|
12958
13483
|
label: string;
|
|
12959
13484
|
}
|
|
12960
13485
|
|
|
13486
|
+
declare interface SeriesConfig extends BaseConfig {
|
|
13487
|
+
color?: string;
|
|
13488
|
+
name?: string;
|
|
13489
|
+
pointLabel?: PointLabel;
|
|
13490
|
+
data?: Data;
|
|
13491
|
+
mapKeys?: string | string[];
|
|
13492
|
+
dataUrl?: string;
|
|
13493
|
+
valueField?: string;
|
|
13494
|
+
}
|
|
13495
|
+
|
|
12961
13496
|
declare type ServerReportGroupSource = {
|
|
12962
13497
|
type: 'group';
|
|
12963
13498
|
name: string;
|
|
@@ -15925,6 +16460,8 @@ declare abstract class ValueProperty extends PropertyItem {
|
|
|
15925
16460
|
|
|
15926
16461
|
declare type ValueString = string | number;
|
|
15927
16462
|
|
|
16463
|
+
declare type VerticalAlign$1 = 'top' | 'middle' | 'bottom';
|
|
16464
|
+
|
|
15928
16465
|
declare enum VerticalAlign {
|
|
15929
16466
|
TOP = "top",
|
|
15930
16467
|
MIDDLE = "middle",
|