realreport 1.11.1 → 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.css +1 -1
- package/dist/realreport.d.ts +579 -5
- package/dist/realreport.es.js +3 -3
- package/dist/realreport.js +3 -3
- package/package.json +1 -1
package/dist/realreport.css
CHANGED
package/dist/realreport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="pdfkit" />
|
|
2
2
|
/**
|
|
3
|
-
* RealReport v1.11.
|
|
4
|
-
* commit
|
|
3
|
+
* RealReport v1.11.2
|
|
4
|
+
* commit 092724d
|
|
5
5
|
|
|
6
6
|
* {@link https://real-report.com}
|
|
7
7
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
import { Cvfo, Style } from 'exceljs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* RealReport Core v1.11.
|
|
14
|
+
* RealReport Core v1.11.2
|
|
15
15
|
* Copyright (C) 2013-2025 WooriTech Inc.
|
|
16
16
|
* All Rights Reserved.
|
|
17
|
-
* commit
|
|
17
|
+
* commit 2452e52b87d234824f030dc50f4967a3d573573b
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
|
|
@@ -1330,6 +1330,8 @@ declare enum PropCategory {
|
|
|
1330
1330
|
OPTIONS = "options",
|
|
1331
1331
|
BODY = "body",
|
|
1332
1332
|
CREDITS = "credits",
|
|
1333
|
+
COLOR_SCALE = "colorScale",
|
|
1334
|
+
MAP = "map",
|
|
1333
1335
|
STYLES = "Styles",
|
|
1334
1336
|
EMAIL_FORM_INFO = "email form info",
|
|
1335
1337
|
EMAIL_LAYOUT = "email layout",
|
|
@@ -1370,12 +1372,75 @@ interface IPropInfo {
|
|
|
1370
1372
|
description?: string;
|
|
1371
1373
|
expandable?: boolean;
|
|
1372
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Report 혹은 ReportItem들의 속성 집합 모델.
|
|
1377
|
+
*/
|
|
1378
|
+
declare class PropertyModel extends EventAware$1 {
|
|
1379
|
+
static readonly SOURCE_CHANGED = "onPropertySourceChanged";
|
|
1380
|
+
static readonly VALUE_CHANGED = "onPropertyValueChanged";
|
|
1381
|
+
private _name;
|
|
1382
|
+
private _modelMap;
|
|
1383
|
+
private _groupMap;
|
|
1384
|
+
private _styleGroup;
|
|
1385
|
+
private _childStyleMap;
|
|
1386
|
+
private _source;
|
|
1387
|
+
private _sources;
|
|
1388
|
+
private _groups;
|
|
1389
|
+
private _models;
|
|
1390
|
+
private _includedPropNames;
|
|
1391
|
+
constructor(name?: string);
|
|
1392
|
+
get name(): string;
|
|
1393
|
+
/** source */
|
|
1394
|
+
get source(): IPropertySource;
|
|
1395
|
+
set source(value: IPropertySource);
|
|
1396
|
+
/**
|
|
1397
|
+
* 리포트에서 복수 선택시 설정된다.
|
|
1398
|
+
*/
|
|
1399
|
+
get sources(): IPropertySource[];
|
|
1400
|
+
set sources(value: IPropertySource[]);
|
|
1401
|
+
/** groupCount */
|
|
1402
|
+
get groupCount(): number;
|
|
1403
|
+
/**
|
|
1404
|
+
* sub model count
|
|
1405
|
+
*/
|
|
1406
|
+
get modelCount(): number;
|
|
1407
|
+
/**
|
|
1408
|
+
* 현재 모델에 포함해야 할 속성을 정의 (undefined일 경우에는 모든 속성을 포함, 빈 배열을 모든 속성 무시)
|
|
1409
|
+
*/
|
|
1410
|
+
get includedPropNames(): string[] | undefined;
|
|
1411
|
+
set includedPropNames(value: string[] | undefined);
|
|
1412
|
+
getGroup(index: number): PropertyGroup;
|
|
1413
|
+
getModel(index: number): PropertyModel;
|
|
1414
|
+
findItem(prop: string): PropertyItem;
|
|
1415
|
+
refresh(): void;
|
|
1416
|
+
updateValue(source: IPropertySource, item: PropertyItem, value: any): void;
|
|
1417
|
+
updateValueByName(name: string, source: IPropertySource, item: PropertyItem, value: any): void;
|
|
1418
|
+
private $_borrowGroup;
|
|
1419
|
+
private $_borrowModel;
|
|
1420
|
+
private $_clear;
|
|
1421
|
+
private $_buildSource;
|
|
1422
|
+
private $_buildModels;
|
|
1423
|
+
private $_buildItems;
|
|
1424
|
+
private $_isIncludeProp;
|
|
1425
|
+
protected _fireSourceChanged(): void;
|
|
1426
|
+
protected _fireValueChanged(source: IPropertySource, item: PropertyItem, value: any): void;
|
|
1427
|
+
}
|
|
1373
1428
|
interface ModelPropertyTypeProps {
|
|
1374
1429
|
/**
|
|
1375
1430
|
* 포함해야할 모델 내부 속성을 정의
|
|
1376
1431
|
*/
|
|
1377
1432
|
include?: string[];
|
|
1378
1433
|
}
|
|
1434
|
+
/**
|
|
1435
|
+
* Sub property model property.
|
|
1436
|
+
*/
|
|
1437
|
+
declare class ModelProperty extends PropertyItem {
|
|
1438
|
+
static readonly $_ctor: string;
|
|
1439
|
+
private _model;
|
|
1440
|
+
constructor(prop: IPropInfo);
|
|
1441
|
+
/** model */
|
|
1442
|
+
get model(): PropertyModel;
|
|
1443
|
+
}
|
|
1379
1444
|
|
|
1380
1445
|
/**
|
|
1381
1446
|
* 자식 item들을 순서대로 쌓아가며 배치한다.
|
|
@@ -5075,6 +5140,460 @@ declare class RealChartItem extends ChartItem<RCConfig> {
|
|
|
5075
5140
|
canAddTo(group: ReportGroupItem): boolean;
|
|
5076
5141
|
}
|
|
5077
5142
|
|
|
5143
|
+
type VerticalAlign$1 = 'top' | 'middle' | 'bottom';
|
|
5144
|
+
type Align$1 = 'left' | 'center' | 'right';
|
|
5145
|
+
interface RealMapChartSvgStyles {
|
|
5146
|
+
transform?: string;
|
|
5147
|
+
fill?: string;
|
|
5148
|
+
fillOpacity?: string;
|
|
5149
|
+
stroke?: string;
|
|
5150
|
+
strokeWidth?: string;
|
|
5151
|
+
strokeDasharray?: string;
|
|
5152
|
+
fontFamily?: string;
|
|
5153
|
+
fontSize?: string;
|
|
5154
|
+
fontWeight?: string;
|
|
5155
|
+
fontStyle?: string;
|
|
5156
|
+
rx?: string;
|
|
5157
|
+
textAlign?: Align$1;
|
|
5158
|
+
padding?: string;
|
|
5159
|
+
}
|
|
5160
|
+
interface BaseConfig {
|
|
5161
|
+
visible?: boolean;
|
|
5162
|
+
style?: RealMapChartSvgStyles;
|
|
5163
|
+
}
|
|
5164
|
+
declare const REALMAP_TEXT_STYLE_NAMES: (keyof RealMapChartSvgStyles)[];
|
|
5165
|
+
|
|
5166
|
+
interface RealMapChartMapSeriesConfig extends SeriesConfig {
|
|
5167
|
+
type: 'map';
|
|
5168
|
+
pointColors: Function | null;
|
|
5169
|
+
}
|
|
5170
|
+
|
|
5171
|
+
interface PieCategory {
|
|
5172
|
+
name: string;
|
|
5173
|
+
color: string;
|
|
5174
|
+
}
|
|
5175
|
+
interface RealMapChartPieSeriesConfig extends SeriesConfig {
|
|
5176
|
+
type: 'pie';
|
|
5177
|
+
radius?: string;
|
|
5178
|
+
startAngle?: number;
|
|
5179
|
+
totalAngle?: number;
|
|
5180
|
+
clockwise?: boolean;
|
|
5181
|
+
categories?: PieCategory[];
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
type LabelPosition = 'auto' | 'bottom' | 'center' | 'left' | 'right' | 'top';
|
|
5185
|
+
type RealMapChartSeriesType = 'map' | 'pie';
|
|
5186
|
+
interface PointLabel extends BaseConfig {
|
|
5187
|
+
text?: string;
|
|
5188
|
+
position?: LabelPosition;
|
|
5189
|
+
numberFormat?: string;
|
|
5190
|
+
}
|
|
5191
|
+
type Data = any;
|
|
5192
|
+
interface SeriesConfig extends BaseConfig {
|
|
5193
|
+
color?: string;
|
|
5194
|
+
name?: string;
|
|
5195
|
+
pointLabel?: PointLabel;
|
|
5196
|
+
data?: Data;
|
|
5197
|
+
mapKeys?: string | string[];
|
|
5198
|
+
dataUrl?: string;
|
|
5199
|
+
valueField?: string;
|
|
5200
|
+
}
|
|
5201
|
+
type RealMapChartSeriesConfig = RealMapChartMapSeriesConfig | RealMapChartPieSeriesConfig;
|
|
5202
|
+
|
|
5203
|
+
type AxisFitTo = 'body' | 'map';
|
|
5204
|
+
interface RealMapChartAxisGridConfig {
|
|
5205
|
+
visible: boolean;
|
|
5206
|
+
fitTo: AxisFitTo;
|
|
5207
|
+
line: {
|
|
5208
|
+
step: number;
|
|
5209
|
+
};
|
|
5210
|
+
}
|
|
5211
|
+
|
|
5212
|
+
type Projection = undefined | 'orthographic' | 'equalearth' | 'miller' | 'mercator';
|
|
5213
|
+
interface RealMapChartBodyConfig {
|
|
5214
|
+
projection?: Projection;
|
|
5215
|
+
scroll?: number;
|
|
5216
|
+
zoom?: number;
|
|
5217
|
+
panY?: number;
|
|
5218
|
+
rotationX?: number;
|
|
5219
|
+
rotationY?: number;
|
|
5220
|
+
scrollable: boolean;
|
|
5221
|
+
zoomable: boolean;
|
|
5222
|
+
}
|
|
5223
|
+
|
|
5224
|
+
declare enum ColorScaleLayout {
|
|
5225
|
+
AUTO = "auto",
|
|
5226
|
+
VERTICAL = "vertical",
|
|
5227
|
+
HORIZONTAL = "horizontal"
|
|
5228
|
+
}
|
|
5229
|
+
declare enum ColorScaleLocation {
|
|
5230
|
+
BODY = "body",
|
|
5231
|
+
BOTTOM = "bottom",
|
|
5232
|
+
LEFT = "left",
|
|
5233
|
+
RIGHT = "right",
|
|
5234
|
+
TOP = "top"
|
|
5235
|
+
}
|
|
5236
|
+
interface RealMapChartColorScaleConfig extends BaseConfig {
|
|
5237
|
+
visible: boolean;
|
|
5238
|
+
barLength: string | number;
|
|
5239
|
+
barWidth: number;
|
|
5240
|
+
gap: number;
|
|
5241
|
+
layout: ColorScaleLayout;
|
|
5242
|
+
location?: ColorScaleLocation;
|
|
5243
|
+
logBase: number;
|
|
5244
|
+
maxColor: string;
|
|
5245
|
+
minColor: string;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
interface RealMapChartCreditsConfig extends BaseConfig {
|
|
5249
|
+
text?: string;
|
|
5250
|
+
url?: string;
|
|
5251
|
+
offsetX?: number;
|
|
5252
|
+
offsetY?: number;
|
|
5253
|
+
align?: Align$1;
|
|
5254
|
+
verticalAlign?: VerticalAlign$1;
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
interface RealMapChartTitleOptions extends BaseConfig {
|
|
5258
|
+
text?: string;
|
|
5259
|
+
align?: Align$1;
|
|
5260
|
+
}
|
|
5261
|
+
type RealMapChartTitleConfig = RealMapChartTitleOptions | boolean;
|
|
5262
|
+
|
|
5263
|
+
interface MapSource {
|
|
5264
|
+
url: string;
|
|
5265
|
+
padding?: number;
|
|
5266
|
+
exclude?: string[];
|
|
5267
|
+
}
|
|
5268
|
+
type RealMapChartMapConfig = MapSource;
|
|
5269
|
+
interface RealMapConfig {
|
|
5270
|
+
title?: RealMapChartTitleConfig;
|
|
5271
|
+
subtitle?: RealMapChartTitleConfig;
|
|
5272
|
+
map: RealMapChartMapConfig;
|
|
5273
|
+
body: RealMapChartBodyConfig;
|
|
5274
|
+
series: RealMapChartSeriesConfig[];
|
|
5275
|
+
credits?: RealMapChartCreditsConfig;
|
|
5276
|
+
colorScale?: RealMapChartColorScaleConfig;
|
|
5277
|
+
axis?: {
|
|
5278
|
+
grid?: RealMapChartAxisGridConfig;
|
|
5279
|
+
};
|
|
5280
|
+
zoomPanel: {
|
|
5281
|
+
visible: false;
|
|
5282
|
+
};
|
|
5283
|
+
}
|
|
5284
|
+
|
|
5285
|
+
declare class RealMapChartAxisGrid extends ChartObject$1<RealMapItem, RealMapChartAxisGridConfig> {
|
|
5286
|
+
static readonly PROP_FIT_TO = "fitTo";
|
|
5287
|
+
static readonly PROP_LINE_STEP = "lineStep";
|
|
5288
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5289
|
+
private _fitTo;
|
|
5290
|
+
private _lineStep;
|
|
5291
|
+
constructor(chart: RealMapItem);
|
|
5292
|
+
get fitTo(): AxisFitTo;
|
|
5293
|
+
set fitTo(value: AxisFitTo);
|
|
5294
|
+
get lineStep(): number;
|
|
5295
|
+
set lineStep(value: number);
|
|
5296
|
+
getChartConfig(context: PrintContext): RealMapChartAxisGridConfig;
|
|
5297
|
+
getSaveLabel(): string;
|
|
5298
|
+
protected _getEditProps(): IPropInfo[];
|
|
5299
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5300
|
+
protected _doSave(target: ReportTarget): void;
|
|
5301
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
declare class RealMapChartBody extends ChartObject$1<RealMapItem, RealMapChartBodyConfig> {
|
|
5305
|
+
static readonly PROP_PROJECTION = "projection";
|
|
5306
|
+
static readonly PROP_SCROLL = "scroll";
|
|
5307
|
+
static readonly PROP_ZOOM = "zoom";
|
|
5308
|
+
static readonly PROP_PAN_Y = "panY";
|
|
5309
|
+
static readonly PROP_ROTATION_X = "rotationX";
|
|
5310
|
+
static readonly PROP_ROTATION_Y = "rotationY";
|
|
5311
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5312
|
+
private _projection;
|
|
5313
|
+
private _scroll;
|
|
5314
|
+
private _zoom;
|
|
5315
|
+
private _panY;
|
|
5316
|
+
private _rotationX;
|
|
5317
|
+
private _rotationY;
|
|
5318
|
+
get projection(): Projection;
|
|
5319
|
+
set projection(value: Projection);
|
|
5320
|
+
get scroll(): number;
|
|
5321
|
+
set scroll(value: number);
|
|
5322
|
+
get zoom(): number;
|
|
5323
|
+
set zoom(value: number);
|
|
5324
|
+
get panY(): number;
|
|
5325
|
+
set panY(value: number);
|
|
5326
|
+
get rotationX(): number;
|
|
5327
|
+
set rotationX(value: number);
|
|
5328
|
+
get rotationY(): number;
|
|
5329
|
+
set rotationY(value: number);
|
|
5330
|
+
getChartConfig(context: PrintContext): RealMapChartBodyConfig;
|
|
5331
|
+
getSaveLabel(): string;
|
|
5332
|
+
protected _getEditProps(): IPropInfo[];
|
|
5333
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5334
|
+
protected _doSave(target: ReportTarget): void;
|
|
5335
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
declare class RealMapChartColorScale extends ChartObject$1<RealMapItem, RealMapChartColorScaleConfig> {
|
|
5339
|
+
static readonly PROP_ALIGN = "align";
|
|
5340
|
+
static readonly PROP_BAR_LENGTH = "barLength";
|
|
5341
|
+
static readonly PROP_BAR_WIDTH = "barWidth";
|
|
5342
|
+
static readonly PROP_DISPLAY = "display";
|
|
5343
|
+
static readonly PROP_GAP = "gap";
|
|
5344
|
+
static readonly PROP_LAYOUT = "layout";
|
|
5345
|
+
static readonly PROP_LOCATION = "location";
|
|
5346
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
5347
|
+
static readonly PROP_LOG_BASE = "logBase";
|
|
5348
|
+
static readonly PROP_MAX_COLOR = "maxColor";
|
|
5349
|
+
static readonly PROP_MIN_COLOR = "minColor";
|
|
5350
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5351
|
+
private _barLength;
|
|
5352
|
+
private _barWidth;
|
|
5353
|
+
private _gap;
|
|
5354
|
+
private _layout;
|
|
5355
|
+
private _location;
|
|
5356
|
+
private _logBase;
|
|
5357
|
+
private _maxColor;
|
|
5358
|
+
private _minColor;
|
|
5359
|
+
constructor(chart: RealMapItem);
|
|
5360
|
+
get barLength(): string;
|
|
5361
|
+
set barLength(value: string);
|
|
5362
|
+
get barWidth(): number;
|
|
5363
|
+
set barWidth(value: number);
|
|
5364
|
+
get gap(): number;
|
|
5365
|
+
set gap(value: number);
|
|
5366
|
+
get layout(): ColorScaleLayout;
|
|
5367
|
+
set layout(value: ColorScaleLayout);
|
|
5368
|
+
get location(): ColorScaleLocation;
|
|
5369
|
+
set location(value: ColorScaleLocation);
|
|
5370
|
+
get logBase(): number;
|
|
5371
|
+
set logBase(value: number);
|
|
5372
|
+
get maxColor(): string;
|
|
5373
|
+
set maxColor(value: string);
|
|
5374
|
+
get minColor(): string;
|
|
5375
|
+
set minColor(value: string);
|
|
5376
|
+
getChartConfig(context: PrintContext): RealMapChartColorScaleConfig;
|
|
5377
|
+
getSaveLabel(): string;
|
|
5378
|
+
protected _getEditProps(): IPropInfo[];
|
|
5379
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5380
|
+
protected _doSave(target: ReportTarget): void;
|
|
5381
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5384
|
+
declare class RealMapChartCredits extends ChartObject$1<RealMapItem, RealMapChartCreditsConfig> {
|
|
5385
|
+
static readonly PROP_TEXT = "text";
|
|
5386
|
+
static readonly PROP_URL = "url";
|
|
5387
|
+
static readonly PROP_OFFSET_X = "offsetX";
|
|
5388
|
+
static readonly PROP_OFFSET_Y = "offsetY";
|
|
5389
|
+
static readonly PROP_ALIGN = "align";
|
|
5390
|
+
static readonly PROP_VERTICAL_ALIGN = "verticalAlign";
|
|
5391
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5392
|
+
private _text;
|
|
5393
|
+
private _url;
|
|
5394
|
+
private _offset_x;
|
|
5395
|
+
private _offset_y;
|
|
5396
|
+
private _align;
|
|
5397
|
+
private _verticalAlign;
|
|
5398
|
+
get text(): string;
|
|
5399
|
+
set text(value: string);
|
|
5400
|
+
get url(): string;
|
|
5401
|
+
set url(value: string);
|
|
5402
|
+
get offsetX(): number;
|
|
5403
|
+
set offsetX(value: number);
|
|
5404
|
+
get offsetY(): number;
|
|
5405
|
+
set offsetY(value: number);
|
|
5406
|
+
get align(): RealMapChartCreditsConfig['align'];
|
|
5407
|
+
set align(value: RealMapChartCreditsConfig['align']);
|
|
5408
|
+
get verticalAlign(): RealMapChartCreditsConfig['verticalAlign'];
|
|
5409
|
+
set verticalAlign(value: RealMapChartCreditsConfig['verticalAlign']);
|
|
5410
|
+
getChartConfig(context: PrintContext): RealMapChartCreditsConfig;
|
|
5411
|
+
getSaveLabel(): string;
|
|
5412
|
+
protected _getEditProps(): IPropInfo[];
|
|
5413
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5414
|
+
protected _doSave(target: ReportTarget): void;
|
|
5415
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5416
|
+
}
|
|
5417
|
+
|
|
5418
|
+
declare class RealMapChartMap extends ChartObject$1<RealMapItem, RealMapChartMapConfig> {
|
|
5419
|
+
static readonly PROP_URL = "url";
|
|
5420
|
+
static readonly PROP_PADDING = "padding";
|
|
5421
|
+
static readonly PROP_EXCLUDE = "exclude";
|
|
5422
|
+
static readonly PROPINFOS: {
|
|
5423
|
+
name: string;
|
|
5424
|
+
category: PropCategory;
|
|
5425
|
+
type: typeof ListableProperty;
|
|
5426
|
+
indented: boolean;
|
|
5427
|
+
default: any;
|
|
5428
|
+
}[];
|
|
5429
|
+
private _url;
|
|
5430
|
+
private _padding;
|
|
5431
|
+
private _exclude;
|
|
5432
|
+
get url(): string;
|
|
5433
|
+
set url(value: string);
|
|
5434
|
+
get padding(): number;
|
|
5435
|
+
set padding(value: number);
|
|
5436
|
+
get exclude(): string;
|
|
5437
|
+
set exclude(value: string);
|
|
5438
|
+
private $_getMapUrl;
|
|
5439
|
+
private $_parseArrayLikeString;
|
|
5440
|
+
getChartConfig(context: PrintContext): RealMapChartMapConfig;
|
|
5441
|
+
getSaveLabel(): string;
|
|
5442
|
+
protected _doDefaultInit(): void;
|
|
5443
|
+
protected _getEditProps(): {
|
|
5444
|
+
name: string;
|
|
5445
|
+
category: PropCategory;
|
|
5446
|
+
type: typeof ListableProperty;
|
|
5447
|
+
indented: boolean;
|
|
5448
|
+
default: any;
|
|
5449
|
+
}[];
|
|
5450
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5451
|
+
protected _doSave(target: ReportTarget): void;
|
|
5452
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5453
|
+
private $_getExclude;
|
|
5454
|
+
}
|
|
5455
|
+
|
|
5456
|
+
declare abstract class RealMapSeries<C = RealMapChartSeriesConfig> extends ChartSeries$1<RealMapItem, C> {
|
|
5457
|
+
static readonly PROP_TYPE = "type";
|
|
5458
|
+
static readonly PROP_NAME = "name";
|
|
5459
|
+
static readonly PROP_USE_DATA_URL = "dataUrl";
|
|
5460
|
+
static readonly PROP_USE_MAP_KEYS = "mapKeys";
|
|
5461
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5462
|
+
private _name;
|
|
5463
|
+
private _type;
|
|
5464
|
+
private _dataUrl;
|
|
5465
|
+
private _mapKeys;
|
|
5466
|
+
get name(): string;
|
|
5467
|
+
set name(value: string);
|
|
5468
|
+
get type(): string;
|
|
5469
|
+
set type(value: string);
|
|
5470
|
+
get dataUrl(): string;
|
|
5471
|
+
set dataUrl(value: string);
|
|
5472
|
+
get mapKeys(): string;
|
|
5473
|
+
set mapKeys(value: string);
|
|
5474
|
+
isUsed(data: IReportData): boolean;
|
|
5475
|
+
protected getDataValues(): unknown[];
|
|
5476
|
+
protected _getEditProps(): IPropInfo[];
|
|
5477
|
+
protected _doLoad(loader: IReportLoader, src: any): void;
|
|
5478
|
+
protected _doSave(target: ReportTarget): void;
|
|
5479
|
+
protected _getMapKeys(): string[];
|
|
5480
|
+
protected _parseArrayLikeString(value: string): string[];
|
|
5481
|
+
protected _parseData(data: unknown[]): object[];
|
|
5482
|
+
}
|
|
5483
|
+
|
|
5484
|
+
declare class RealMapChartMapSeries extends RealMapSeries<RealMapChartMapSeriesConfig> {
|
|
5485
|
+
static readonly PROP_POINT_COLOR = "pointColors";
|
|
5486
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5487
|
+
private _pointColors;
|
|
5488
|
+
private _pointColorsCallback;
|
|
5489
|
+
constructor(collection: RealMapChartSeriesCollection);
|
|
5490
|
+
get pointColors(): string;
|
|
5491
|
+
set pointColors(value: string);
|
|
5492
|
+
getChartConfig(context: PrintContext): RealMapChartMapSeriesConfig;
|
|
5493
|
+
protected _getEditProps(): IPropInfo[];
|
|
5494
|
+
protected _doLoad(loader: IReportLoader, source: ReportSource): void;
|
|
5495
|
+
protected _doSave(target: ReportTarget): void;
|
|
5496
|
+
}
|
|
5497
|
+
|
|
5498
|
+
declare class RealMapChartSubTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
5499
|
+
static readonly PROP_ALIGN = "align";
|
|
5500
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5501
|
+
private static readonly STYLES;
|
|
5502
|
+
private _align;
|
|
5503
|
+
constructor(chart: RealMapItem);
|
|
5504
|
+
get align(): Align;
|
|
5505
|
+
set align(value: Align);
|
|
5506
|
+
getSaveLabel(): string;
|
|
5507
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
5508
|
+
protected _getEditProps(): IPropInfo[];
|
|
5509
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
5510
|
+
getCollapsedPropCategories(): string[];
|
|
5511
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5512
|
+
}
|
|
5513
|
+
|
|
5514
|
+
declare class RealMapChartTitle extends ChartTextObject$1<RealMapItem, RealMapChartTitleConfig> {
|
|
5515
|
+
static readonly PROP_ALIGN = "align";
|
|
5516
|
+
static readonly PROPINFOS: IPropInfo[];
|
|
5517
|
+
private static readonly STYLES;
|
|
5518
|
+
private _align;
|
|
5519
|
+
constructor(chart: RealMapItem);
|
|
5520
|
+
get align(): Align;
|
|
5521
|
+
set align(value: Align);
|
|
5522
|
+
getSaveLabel(): string;
|
|
5523
|
+
getChartConfig(context: PrintContext): RealMapChartTitleConfig;
|
|
5524
|
+
protected _getEditProps(): IPropInfo[];
|
|
5525
|
+
protected _getStyleProps(): typeof REALMAP_TEXT_STYLE_NAMES;
|
|
5526
|
+
getCollapsedPropCategories(): string[];
|
|
5527
|
+
getPropDomain(prop: IPropInfo): any[];
|
|
5528
|
+
}
|
|
5529
|
+
|
|
5530
|
+
declare class RealMapItem extends ChartItem<RealMapConfig> {
|
|
5531
|
+
static readonly PROP_TITLE = "title";
|
|
5532
|
+
static readonly PROP_SUBTITLE = "subtitle";
|
|
5533
|
+
static readonly PROP_MAP = "map";
|
|
5534
|
+
static readonly PROP_BODY = "body";
|
|
5535
|
+
static readonly PROP_CREDITS = "credits";
|
|
5536
|
+
static readonly PROP_COLOR_SCALE = "colorScale";
|
|
5537
|
+
static readonly PROP_SERIES_COLLECTION = "serieCollection";
|
|
5538
|
+
static readonly PROP_GRID = "grid";
|
|
5539
|
+
static readonly PROPINFOS: ({
|
|
5540
|
+
name: string;
|
|
5541
|
+
category: PropCategory;
|
|
5542
|
+
type: typeof ModelProperty;
|
|
5543
|
+
indented: boolean;
|
|
5544
|
+
default: any;
|
|
5545
|
+
visible?: undefined;
|
|
5546
|
+
} | {
|
|
5547
|
+
name: string;
|
|
5548
|
+
category: PropCategory;
|
|
5549
|
+
type: typeof ModelProperty;
|
|
5550
|
+
indented: boolean;
|
|
5551
|
+
default: any;
|
|
5552
|
+
visible: () => boolean;
|
|
5553
|
+
})[];
|
|
5554
|
+
static readonly STYLE_PROPS: string[];
|
|
5555
|
+
static readonly $_ctor: string;
|
|
5556
|
+
static readonly ITEM_TYPE = "RealMap";
|
|
5557
|
+
private _title;
|
|
5558
|
+
private _subtitle;
|
|
5559
|
+
private _body;
|
|
5560
|
+
private _credits;
|
|
5561
|
+
private _colorScale;
|
|
5562
|
+
private _map;
|
|
5563
|
+
private _seriesCollection;
|
|
5564
|
+
private _grid;
|
|
5565
|
+
constructor(name: string);
|
|
5566
|
+
get title(): RealMapChartTitle;
|
|
5567
|
+
get subtitle(): RealMapChartSubTitle;
|
|
5568
|
+
get body(): RealMapChartBody;
|
|
5569
|
+
get credits(): RealMapChartCredits;
|
|
5570
|
+
get map(): RealMapChartMap;
|
|
5571
|
+
get colorScale(): RealMapChartColorScale;
|
|
5572
|
+
get seriesCollection(): RealMapChartSeriesCollection;
|
|
5573
|
+
get grid(): RealMapChartAxisGrid;
|
|
5574
|
+
getChartConfig(context: PrintContext): RealMapConfig;
|
|
5575
|
+
emitSeriesChanged(): void;
|
|
5576
|
+
addNewSeries(type: RealMapChartSeriesType): RealMapChartMapSeries;
|
|
5577
|
+
addSeries(series: RealMapChartMapSeries): void;
|
|
5578
|
+
removeSeries(series: RealMapChartMapSeries): void;
|
|
5579
|
+
selectSeries(series: RealMapChartMapSeries | null): void;
|
|
5580
|
+
needDesignWidth(): boolean;
|
|
5581
|
+
needDesignHeight(): boolean;
|
|
5582
|
+
protected _doDefaultInit(loader: IReportLoader, parent: ReportGroupItem, hintWidth: number, hintHeight: number): void;
|
|
5583
|
+
protected _getStyleProps(): string[];
|
|
5584
|
+
protected _getEditProps(): IPropInfo[];
|
|
5585
|
+
protected _doLoad(loader: IReportLoader, src: ReportSource): void;
|
|
5586
|
+
protected _doSave(target: ReportTarget): void;
|
|
5587
|
+
getSaveType(): string;
|
|
5588
|
+
isUsed(data: IReportData): boolean;
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
declare class RealMapChartSeriesCollection extends ChartSeriesCollection$1<RealMapItem, RealMapChartSeriesConfig> {
|
|
5592
|
+
getChartConfig(context: PrintContext): RealMapChartSeriesConfig[];
|
|
5593
|
+
protected _createSeries(loader: IReportLoader, src: ReportSource): RealMapSeries;
|
|
5594
|
+
protected _seriesChanged(): void;
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5078
5597
|
declare enum ReportItemType {
|
|
5079
5598
|
TEXT = "text",
|
|
5080
5599
|
SUMMARY = "summary",
|
|
@@ -5106,6 +5625,7 @@ declare enum ReportItemType {
|
|
|
5106
5625
|
SVG = "svg",
|
|
5107
5626
|
SIGN = "sign",
|
|
5108
5627
|
REALCHART = "realchart",
|
|
5628
|
+
REALMAP = "realmap",
|
|
5109
5629
|
HICHART = "hichart",
|
|
5110
5630
|
PAGE = "page"
|
|
5111
5631
|
}
|
|
@@ -8874,6 +9394,8 @@ declare class Report extends ReportBase<ReportPage> {
|
|
|
8874
9394
|
addHichartSeries(chart: HichartItem, seriesType: string): HichartSeries;
|
|
8875
9395
|
addHichartPlotLine(axis: HichartAxis, config?: object): HichartAxisPlotLine;
|
|
8876
9396
|
addHichartPlotBand(axis: HichartAxis, config?: object): HichartAxisPlotBand;
|
|
9397
|
+
addRealMapSeries(collection: RealMapChartSeriesCollection, type: RealMapChartSeriesType): void;
|
|
9398
|
+
removeRealMapSeries(collection: RealMapChartSeriesCollection, index: number): void;
|
|
8877
9399
|
/**
|
|
8878
9400
|
* 테이블 행을 추가한다.
|
|
8879
9401
|
*
|
|
@@ -9977,6 +10499,9 @@ type MenuItem$1 = {
|
|
|
9977
10499
|
visible?: ((clickedElement: HTMLElement, menu: MenuItem$1) => boolean) | boolean;
|
|
9978
10500
|
tag?: any;
|
|
9979
10501
|
};
|
|
10502
|
+
interface IContextMenuOwner {
|
|
10503
|
+
registerContextMenu(menuKey: string, contextMenus: MenuItem$1[]): void;
|
|
10504
|
+
}
|
|
9980
10505
|
|
|
9981
10506
|
interface IEditMarqueeTarget {
|
|
9982
10507
|
target: ReportPageItem;
|
|
@@ -9996,7 +10521,7 @@ declare abstract class EditMarquee<T extends ReportElement> extends VisualElemen
|
|
|
9996
10521
|
set target(value: T);
|
|
9997
10522
|
get targetItem(): ReportItem;
|
|
9998
10523
|
isRootView(dom: HTMLElement): boolean;
|
|
9999
|
-
getMenu(): MenuItem$1[];
|
|
10524
|
+
getMenu(target: HTMLElement): MenuItem$1[];
|
|
10000
10525
|
layout(reportView: IReportEditView): void;
|
|
10001
10526
|
protected _getCssSelector(): string;
|
|
10002
10527
|
get findable(): boolean;
|
|
@@ -10142,6 +10667,47 @@ declare class RealChartMarquee extends EditMarquee<RealChartItemElement> {
|
|
|
10142
10667
|
private $_layoutAxisItem;
|
|
10143
10668
|
}
|
|
10144
10669
|
|
|
10670
|
+
declare class RealMapItemElement extends ReportItemElement<RealMapItem> implements AsyncLoadable {
|
|
10671
|
+
private _chartDiv;
|
|
10672
|
+
private _wrapper;
|
|
10673
|
+
protected _getCssSelector(): string;
|
|
10674
|
+
get debugLabel(): string;
|
|
10675
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
10676
|
+
protected _doMeasure(ctx: PrintContext, dom: HTMLElement, hintWidth: number, hintHeight: number): Size$1;
|
|
10677
|
+
protected _doLayoutContent(ctx: PrintContext): void;
|
|
10678
|
+
isDom(dom: HTMLElement): boolean;
|
|
10679
|
+
loadAsync(): Promise<void>;
|
|
10680
|
+
private $_prepareWrapper;
|
|
10681
|
+
private $_layoutWrapper;
|
|
10682
|
+
}
|
|
10683
|
+
|
|
10684
|
+
declare class RealMapChartMarquee extends EditMarquee<RealMapItemElement> {
|
|
10685
|
+
private static readonly STYLE_NAME;
|
|
10686
|
+
private static readonly SERIES_TAG;
|
|
10687
|
+
private static readonly ITEM_WIDTH;
|
|
10688
|
+
private static readonly ITEM_HEIGHT;
|
|
10689
|
+
private static readonly ITEM_GAP;
|
|
10690
|
+
private static readonly ITEM_MARGIN;
|
|
10691
|
+
private static readonly MAP_MENU;
|
|
10692
|
+
static getTarget(target: ReportPageItem, dom: HTMLElement): IEditMarqueeTarget | null;
|
|
10693
|
+
private MAP_MENUS;
|
|
10694
|
+
private getSeriesMenu;
|
|
10695
|
+
private _mapItem;
|
|
10696
|
+
private _seriesItems;
|
|
10697
|
+
constructor(doc: Document, menuOwner: IContextMenuOwner);
|
|
10698
|
+
get editor(): ReportEditor;
|
|
10699
|
+
isRootView(dom: HTMLElement): boolean;
|
|
10700
|
+
getMenu(target: HTMLElement): MenuItem$1[];
|
|
10701
|
+
protected _getCssSelector(): string;
|
|
10702
|
+
protected _initDom(doc: Document, dom: HTMLElement): void;
|
|
10703
|
+
protected _doLayout(doc: Document, dom: HTMLElement, r: Rectangle$1): void;
|
|
10704
|
+
private $_layoutChart;
|
|
10705
|
+
private $_layoutSeriesItems;
|
|
10706
|
+
private $_prepareItems;
|
|
10707
|
+
private $_addSeries;
|
|
10708
|
+
private $_removeSeries;
|
|
10709
|
+
}
|
|
10710
|
+
|
|
10145
10711
|
/** @internal */
|
|
10146
10712
|
declare class HichartItemElement extends ReportItemElement<HichartItem> {
|
|
10147
10713
|
private _chartDiv;
|
|
@@ -10506,6 +11072,7 @@ declare class ReportEditLayer extends LayerElement$1 {
|
|
|
10506
11072
|
ColumnBoxContainer: typeof ColumnBoxMarquee;
|
|
10507
11073
|
RowBoxContainer: typeof RowBoxMarquee;
|
|
10508
11074
|
RealChartItem: typeof RealChartMarquee;
|
|
11075
|
+
RealMapItem: typeof RealMapChartMarquee;
|
|
10509
11076
|
HichartItem: typeof HichartMarquee;
|
|
10510
11077
|
EmailRealChartItem: typeof RealChartMarquee;
|
|
10511
11078
|
EmailTableContainer: typeof TableContainerMarquee;
|
|
@@ -11496,6 +12063,7 @@ declare class ReportEditor extends ReportEditorBase<PrintContext> implements IRe
|
|
|
11496
12063
|
private _tableDesigner;
|
|
11497
12064
|
private _tableBandDesigner;
|
|
11498
12065
|
private _simpleBandDesigner;
|
|
12066
|
+
private _contextMenuMap;
|
|
11499
12067
|
/**
|
|
11500
12068
|
* 복사 붙여넣기한 아이템들을 관리하는 매니저
|
|
11501
12069
|
*/
|
|
@@ -13281,11 +13849,13 @@ declare abstract class ReportItemCollection<T extends ReportPageItem = ReportPag
|
|
|
13281
13849
|
declare class FloatingContainer extends ReportGroupItem {
|
|
13282
13850
|
static readonly PROP_ANCHOR_TARGET = "anchorTarget";
|
|
13283
13851
|
static readonly PROP_ANCHOR_POSITION = "anchorPosition";
|
|
13852
|
+
static readonly PROP_REPEAT = "repeat";
|
|
13284
13853
|
static readonly PROPINFOS: IPropInfo[];
|
|
13285
13854
|
static readonly $_ctor: string;
|
|
13286
13855
|
static readonly ITEM_TYPE = "Floating Container";
|
|
13287
13856
|
private _anchorTarget;
|
|
13288
13857
|
private _anchorPosition;
|
|
13858
|
+
private _repeat;
|
|
13289
13859
|
constructor(name: string);
|
|
13290
13860
|
/** anchorTarget */
|
|
13291
13861
|
get anchorTarget(): string;
|
|
@@ -13293,6 +13863,9 @@ declare class FloatingContainer extends ReportGroupItem {
|
|
|
13293
13863
|
/** anchorPosition */
|
|
13294
13864
|
get anchorPosition(): AnchorPosition;
|
|
13295
13865
|
set anchorPosition(value: AnchorPosition);
|
|
13866
|
+
/** repeat */
|
|
13867
|
+
get repeat(): boolean;
|
|
13868
|
+
set repeat(value: boolean);
|
|
13296
13869
|
getSaveType(): string;
|
|
13297
13870
|
get outlineLabel(): string;
|
|
13298
13871
|
protected _maxChildCount(): number;
|
|
@@ -14033,6 +14606,7 @@ interface IReportLoader {
|
|
|
14033
14606
|
createRealChartAxis?(collection: RCAxisCollection, src: ReportSource): RCAxis;
|
|
14034
14607
|
createRealChartSeries?(collection: RCSeriesCollection, src: ReportSource): RCSeries;
|
|
14035
14608
|
createHichartSeries?(chart: HichartItem, src: any): HichartSeries;
|
|
14609
|
+
createRealMapChartSeries?(chart: RealMapChartSeriesCollection, src: ReportSource): RealMapSeries;
|
|
14036
14610
|
}
|
|
14037
14611
|
|
|
14038
14612
|
declare const enum Cursor$1 {
|