realmap 1.0.7 → 1.0.8
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/band.d.ts +28 -0
- package/band.js +7 -0
- package/band.mjs +7 -0
- package/chart.d.ts +28 -0
- package/{dist/track.js → chart.js} +2 -2
- package/{dist/track.mjs → chart.mjs} +2 -2
- package/editor.d.ts +6 -0
- package/editor.js +7 -0
- package/editor.mjs +7 -0
- package/{dist/export.js → export.js} +2 -2
- package/{dist/export.mjs → export.mjs} +2 -2
- package/{dist/feature.js → feature.js} +1 -1
- package/{dist/feature.mjs → feature.mjs} +1 -1
- package/{dist/heatmap.js → heatmap.js} +1 -1
- package/{dist/heatmap.mjs → heatmap.mjs} +1 -1
- package/{dist/index.d.ts → index.d.ts} +248 -8
- package/index.js +7 -0
- package/index.mjs +7 -0
- package/package.json +59 -35
- package/{dist/styles/realmap-style.css → realmap-style.css} +11 -0
- package/{dist/sankey.js → sankey.js} +1 -1
- package/{dist/sankey.mjs → sankey.mjs} +1 -1
- package/table.d.ts +28 -0
- package/table.js +7 -0
- package/table.mjs +7 -0
- package/{dist/tiledweb.js → tiledweb.js} +1 -1
- package/{dist/tiledweb.mjs → tiledweb.mjs} +1 -1
- package/track.d.ts +39 -0
- package/track.js +7 -0
- package/track.mjs +7 -0
- package/{dist/vector.js → vector.js} +1 -1
- package/{dist/vector.mjs → vector.mjs} +1 -1
- package/dist/index.js +0 -7
- package/dist/index.mjs +0 -7
- package/dist/track.d.ts +0 -28
- /package/{dist/export.d.ts → export.d.ts} +0 -0
- /package/{dist/feature.d.ts → feature.d.ts} +0 -0
- /package/{dist/heatmap.d.ts → heatmap.d.ts} +0 -0
- /package/{dist/styles/realmap-export-style.css → realmap-export-style.css} +0 -0
- /package/{dist/sankey.d.ts → sankey.d.ts} +0 -0
- /package/{dist/tiledweb.d.ts → tiledweb.d.ts} +0 -0
- /package/{dist/vector.d.ts → vector.d.ts} +0 -0
|
@@ -94,6 +94,31 @@ type SVGStyleOrClass = SVGStyles | string;
|
|
|
94
94
|
*/
|
|
95
95
|
interface CSSStyles extends Partial<CSSStyleDeclaration> {
|
|
96
96
|
}
|
|
97
|
+
/** @internal */
|
|
98
|
+
interface CSSStyles2 extends CSSStyles {
|
|
99
|
+
display?: string;
|
|
100
|
+
position?: string;
|
|
101
|
+
alignItems?: string;
|
|
102
|
+
justifyContent?: string;
|
|
103
|
+
flexDirection?: string;
|
|
104
|
+
flexWrap?: string;
|
|
105
|
+
gap?: string;
|
|
106
|
+
flex?: string;
|
|
107
|
+
width?: string;
|
|
108
|
+
height?: string;
|
|
109
|
+
minHeight?: string;
|
|
110
|
+
minWidth?: string;
|
|
111
|
+
maxWidth?: string;
|
|
112
|
+
left?: string;
|
|
113
|
+
top?: string;
|
|
114
|
+
overflow?: string;
|
|
115
|
+
marginRight?: string;
|
|
116
|
+
whiteSpace?: string;
|
|
117
|
+
margin?: string;
|
|
118
|
+
marginLeft?: string;
|
|
119
|
+
pointerEvents?: string;
|
|
120
|
+
transform?: string;
|
|
121
|
+
}
|
|
97
122
|
interface ISides {
|
|
98
123
|
left: number;
|
|
99
124
|
right: number;
|
|
@@ -828,7 +853,7 @@ interface AnnotationAnimationOptions {
|
|
|
828
853
|
type: string;
|
|
829
854
|
duration?: number;
|
|
830
855
|
}
|
|
831
|
-
type AnnotationType = 'image' | 'shape' | 'text';
|
|
856
|
+
type AnnotationType = 'image' | 'shape' | 'text' | 'html';
|
|
832
857
|
/**
|
|
833
858
|
* Annotation 모델.<br/>
|
|
834
859
|
*
|
|
@@ -837,7 +862,8 @@ type AnnotationType = 'image' | 'shape' | 'text';
|
|
|
837
862
|
interface AnnotationOptions extends ChartItemOptions {
|
|
838
863
|
type?: AnnotationType;
|
|
839
864
|
/**
|
|
840
|
-
* true로 지정하면 시리즈들 위에
|
|
865
|
+
* true로 지정하면 시리즈들 위에 표시된다.<br/>
|
|
866
|
+
* 명시적으로 false로 지정해야 시리즈들 아래 표시된다.
|
|
841
867
|
*
|
|
842
868
|
* @default false
|
|
843
869
|
*/
|
|
@@ -1062,7 +1088,54 @@ interface TextAnnotationOptions extends AnnotationOptions {
|
|
|
1062
1088
|
*/
|
|
1063
1089
|
textOrientation?: TextOrientation;
|
|
1064
1090
|
}
|
|
1065
|
-
|
|
1091
|
+
declare const HtmlAnnotationType = "html";
|
|
1092
|
+
/**
|
|
1093
|
+
* HTML 어노테이션.<br/>
|
|
1094
|
+
* {@page op.AnnotationOptions#type}은 'html'이다.<br/>
|
|
1095
|
+
*
|
|
1096
|
+
* // TODO #fiddle annotation/html-annotation Html Annotation
|
|
1097
|
+
* @css 'rm-html-annotation'
|
|
1098
|
+
* @config chart.annotation[type=html]
|
|
1099
|
+
*/
|
|
1100
|
+
interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
1101
|
+
type?: typeof HtmlAnnotationType;
|
|
1102
|
+
/**
|
|
1103
|
+
* true로 설정되고 {@link text}가 설정된 경우에만 표시된다.
|
|
1104
|
+
*
|
|
1105
|
+
* @default true
|
|
1106
|
+
*/
|
|
1107
|
+
visible?: boolean;
|
|
1108
|
+
/**
|
|
1109
|
+
* 이 속성으로 지정한 html 내용을 표시한다.<br/>
|
|
1110
|
+
* '.'나 '#'으로 시작되는 html selector로 지정하면 해당하는 dom의 {@page https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
1111
|
+
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
1112
|
+
* 즉, document.{@page https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
1113
|
+
* 생성되는 dom의 스타일은 {@page htmlStyle}로 지정한다.
|
|
1114
|
+
*/
|
|
1115
|
+
html?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 이 속성으로 지정한 selector에 해당하는 dom의 {@page https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
1118
|
+
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
1119
|
+
* 즉, document.{@page https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
1120
|
+
* 이 속성이 {@page html}보다 우선한다. 다만, 존재하지 않은 dom을 지정한 경우 {@page html}에 지정한 내용을 대신 표시한다.
|
|
1121
|
+
* 생성되는 dom의 스타일은 {@page htmlStyle}로 지정한다.
|
|
1122
|
+
*/
|
|
1123
|
+
htmlFrom?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* {@page html}로 생성되는 최상위 dom에 적용되는 스타일셋.<br/>
|
|
1126
|
+
*/
|
|
1127
|
+
htmlStyle?: CSSStyleDeclaration;
|
|
1128
|
+
/**
|
|
1129
|
+
* @append
|
|
1130
|
+
* 너비를 반드시 지정해야 한다.<br/>
|
|
1131
|
+
* 지정하지 않으면 100 픽셀 너비로 표시한다.
|
|
1132
|
+
* {@page height 높이}를 지정하지 않으면 생성된 dom의 높이에 맞춰진다.
|
|
1133
|
+
*
|
|
1134
|
+
* @default 100
|
|
1135
|
+
*/
|
|
1136
|
+
width?: PercentSize;
|
|
1137
|
+
}
|
|
1138
|
+
type AnnotationOptionsType = ImageAnnotationOptions | ShapeAnnotationOptions | TextAnnotationOptions | HtmlAnnotationOptions;
|
|
1066
1139
|
|
|
1067
1140
|
/** @internal */
|
|
1068
1141
|
declare class Color {
|
|
@@ -1526,7 +1599,7 @@ declare class RmElement extends RmObject {
|
|
|
1526
1599
|
getStyle(prop: string): string;
|
|
1527
1600
|
hasStyle(className: string): boolean;
|
|
1528
1601
|
containsDom(dom: Element): boolean;
|
|
1529
|
-
addDom(dom: SVGElement): SVGElement;
|
|
1602
|
+
addDom(dom: SVGElement | HTMLElement): HTMLElement | SVGElement;
|
|
1530
1603
|
add<T extends RmElement>(child: T): T;
|
|
1531
1604
|
addAll(...children: RmElement[]): void;
|
|
1532
1605
|
insertChild<T extends RmElement>(child: T, before: RmElement): T;
|
|
@@ -1553,6 +1626,7 @@ declare class RmElement extends RmObject {
|
|
|
1553
1626
|
scale(value: number, yValue?: number): this;
|
|
1554
1627
|
trans(x: number, y: number): RmElement;
|
|
1555
1628
|
transp(p: IPoint): RmElement;
|
|
1629
|
+
transc(p: MapCoord): RmElement;
|
|
1556
1630
|
transEx(x: number, y: number, duration?: number, invalidate?: boolean): RmElement;
|
|
1557
1631
|
transX(x: number): RmElement;
|
|
1558
1632
|
transY(y: number): RmElement;
|
|
@@ -2036,6 +2110,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2036
2110
|
* 콘솔에 경고 메시지가 표시된다.
|
|
2037
2111
|
*/
|
|
2038
2112
|
dataUrl?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* {@page data}나 {@page dataUrl}로 지정된 데이터소스에서 시리즈 데이터로 가져올 배열의 위치를 지정한다.<br/>
|
|
2115
|
+
* "aaa.bbb" 형식으로 지정한다. 배열 항목은 숫자로 지정한다. "aaa.2.bbb".
|
|
2116
|
+
* 지정하지 않으면 최상위 JSON 객체를 그대로 사용한다.
|
|
2117
|
+
*/
|
|
2118
|
+
dataPath?: string;
|
|
2039
2119
|
/**
|
|
2040
2120
|
* {@page data}가 array로 제공되어 datapoint로 생성될 때,
|
|
2041
2121
|
* array의 각 항목에 해당하는 이름으로 datapoint source의 값을 사용한다.
|
|
@@ -3071,15 +3151,65 @@ declare const TiledWebSeriesType = "tiledweb";
|
|
|
3071
3151
|
interface TiledWebSeriesOptions extends SeriesOptions {
|
|
3072
3152
|
type?: typeof TiledWebSeriesType;
|
|
3073
3153
|
}
|
|
3154
|
+
/**
|
|
3155
|
+
* track 시리즈 outline 설정 옵션.<br/>
|
|
3156
|
+
*/
|
|
3157
|
+
interface TrackSeriesOutlineOptions extends ChartItemOptions {
|
|
3158
|
+
}
|
|
3074
3159
|
declare const TrackSeriesType = "track";
|
|
3075
3160
|
/**
|
|
3076
|
-
*
|
|
3161
|
+
* 출발 지점에서 도착 지점까지 복수 지점으로 이어지는 경로를 표시하는 시리즈.<br/>
|
|
3077
3162
|
* {@page op.SeriesOptions#type}은 'track'이다.<br/>
|
|
3078
3163
|
*
|
|
3079
3164
|
* @config chart.series[type=track]
|
|
3080
3165
|
*/
|
|
3081
3166
|
interface TrackSeriesOptions extends SeriesOptions {
|
|
3082
3167
|
type?: typeof TrackSeriesType;
|
|
3168
|
+
/**
|
|
3169
|
+
* 각 지점을 표시하는 모양.<br/>
|
|
3170
|
+
* 명시적으로 지정하지 않으면 기본 제공되는 shape 목록 중 하나로 자동 설정된다.<br/>
|
|
3171
|
+
*/
|
|
3172
|
+
shape?: Shape;
|
|
3173
|
+
/**
|
|
3174
|
+
* 지점 표시 {@page shape 도형}의 반지름.<br/>
|
|
3175
|
+
*
|
|
3176
|
+
* @default 3 픽셀
|
|
3177
|
+
*/
|
|
3178
|
+
radius?: number;
|
|
3179
|
+
/**
|
|
3180
|
+
* track 시리즈 outline 설정 옵션.<br/>
|
|
3181
|
+
*/
|
|
3182
|
+
outline?: TrackSeriesOutlineOptions | boolean;
|
|
3183
|
+
}
|
|
3184
|
+
declare const BandSeriesType = "band";
|
|
3185
|
+
/**
|
|
3186
|
+
* Band Series<br/>
|
|
3187
|
+
* {@page op.SeriesOptions#type}은 'band'이다.<br/>
|
|
3188
|
+
*
|
|
3189
|
+
* @config chart.series[type=band]
|
|
3190
|
+
*/
|
|
3191
|
+
interface BandSeriesOptions extends SeriesOptions {
|
|
3192
|
+
type?: typeof BandSeriesType;
|
|
3193
|
+
}
|
|
3194
|
+
declare const TableSeriesType = "table";
|
|
3195
|
+
/**
|
|
3196
|
+
* Table Series<br/>
|
|
3197
|
+
* {@page op.SeriesOptions#type}은 'table'이다.<br/>
|
|
3198
|
+
*
|
|
3199
|
+
* @config chart.series[type=table]
|
|
3200
|
+
*/
|
|
3201
|
+
interface TableSeriesOptions extends SeriesOptions {
|
|
3202
|
+
type?: typeof TableSeriesType;
|
|
3203
|
+
}
|
|
3204
|
+
declare const ChartSeriesType = "chart";
|
|
3205
|
+
/**
|
|
3206
|
+
* Chart Series<br/>
|
|
3207
|
+
* {@page op.SeriesOptions#type}은 'chart'이다.<br/>
|
|
3208
|
+
*
|
|
3209
|
+
* @config chart.series[type=chart]
|
|
3210
|
+
*/
|
|
3211
|
+
interface ChartSeriesOptions extends SeriesOptions {
|
|
3212
|
+
type?: typeof ChartSeriesType;
|
|
3083
3213
|
}
|
|
3084
3214
|
declare const SankeySeriesType = "sankey";
|
|
3085
3215
|
/**
|
|
@@ -4597,6 +4727,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4597
4727
|
static defaults: SeriesOptions;
|
|
4598
4728
|
static getPointTooltipParam(series: Series, point: DataPoint, param: string): any;
|
|
4599
4729
|
private _data;
|
|
4730
|
+
private _dataPath;
|
|
4600
4731
|
private _name;
|
|
4601
4732
|
index: number;
|
|
4602
4733
|
seriesIndex: number;
|
|
@@ -6245,6 +6376,7 @@ declare class MapSeriesPoint extends ValuePoint {
|
|
|
6245
6376
|
protected _readObject(series: MapSeries, v: any): void;
|
|
6246
6377
|
getLabel(index: number): string;
|
|
6247
6378
|
getParam(param: string): any;
|
|
6379
|
+
_valuesChanged(prev: any): boolean;
|
|
6248
6380
|
}
|
|
6249
6381
|
declare class MapSeriesDrilldown extends ChartItem<DrilldownOptions> {
|
|
6250
6382
|
static defaults: DrilldownOptions;
|
|
@@ -7451,6 +7583,10 @@ declare class LineElement extends PathElement {
|
|
|
7451
7583
|
setHLine(y: number, x1: number, x2: number): void;
|
|
7452
7584
|
setHLineC(y: number, x1: number, x2: number): void;
|
|
7453
7585
|
}
|
|
7586
|
+
declare class PolyLineElement extends PathElement {
|
|
7587
|
+
constructor(doc: Document, styleName?: string, lines?: (number | IPoint)[], curved?: boolean);
|
|
7588
|
+
setLines(pts: (number | MapCoord | IPoint)[], curved: boolean): void;
|
|
7589
|
+
}
|
|
7454
7590
|
|
|
7455
7591
|
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
7456
7592
|
|
|
@@ -8463,7 +8599,7 @@ declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
|
8463
8599
|
private _stroke;
|
|
8464
8600
|
private _strokeWidth;
|
|
8465
8601
|
constructor(chart: IChart);
|
|
8466
|
-
getShape(
|
|
8602
|
+
getShape(): Shape;
|
|
8467
8603
|
getRadius(): number;
|
|
8468
8604
|
setLegendMarkerStyle(marker: RmElement): void;
|
|
8469
8605
|
protected _createPoint(source: any): PointSeriesPoint;
|
|
@@ -8475,7 +8611,7 @@ declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
|
8475
8611
|
}
|
|
8476
8612
|
|
|
8477
8613
|
declare class RouteSeriesPoint extends DataPoint {
|
|
8478
|
-
coords: [
|
|
8614
|
+
coords: [MapCoord, MapCoord];
|
|
8479
8615
|
path: any[];
|
|
8480
8616
|
get lon1(): number;
|
|
8481
8617
|
get lat1(): number;
|
|
@@ -8598,6 +8734,26 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
8598
8734
|
protected _doSetSimple(src: any): boolean;
|
|
8599
8735
|
}
|
|
8600
8736
|
|
|
8737
|
+
/**
|
|
8738
|
+
* Text Annotation 모델.<br/>
|
|
8739
|
+
* {@page op.AnnotationOptions#type}은 {@page config.annotation.image 'shape'}이고,
|
|
8740
|
+
* {@page options 설정} 모델은 {@page op.ShapeAnnotationOptions}이다.
|
|
8741
|
+
*/
|
|
8742
|
+
declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
8743
|
+
static readonly DEF_SIZE = 100;
|
|
8744
|
+
static readonly type = "html";
|
|
8745
|
+
static defaults: HtmlAnnotationOptions;
|
|
8746
|
+
private _params;
|
|
8747
|
+
setParams(params: object): void;
|
|
8748
|
+
applyParams(target: string): string;
|
|
8749
|
+
/**
|
|
8750
|
+
* ${param;default}
|
|
8751
|
+
*/
|
|
8752
|
+
private $_apply;
|
|
8753
|
+
protected _isVisible(): boolean;
|
|
8754
|
+
protected _doSetSimple(src: any): boolean;
|
|
8755
|
+
}
|
|
8756
|
+
|
|
8601
8757
|
declare abstract class SeriesAnimation {
|
|
8602
8758
|
static reveal(series: SeriesView<Series>, options?: IRevealAnimation): void;
|
|
8603
8759
|
static grow(series: SeriesView<Series>, endHandler?: RmAnimationEndHandler): void;
|
|
@@ -8788,6 +8944,90 @@ declare class Utils {
|
|
|
8788
8944
|
min: number;
|
|
8789
8945
|
max: number;
|
|
8790
8946
|
};
|
|
8947
|
+
/**
|
|
8948
|
+
* @param path 'aaa.bbb.2.ccc' 형식으로 지정한다. 2는 배열 항목 index.
|
|
8949
|
+
*/
|
|
8950
|
+
static valueAt(data: any, path?: string): any;
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
interface IDomContaner {
|
|
8954
|
+
dom(): Element;
|
|
8955
|
+
}
|
|
8956
|
+
/**
|
|
8957
|
+
* @internal
|
|
8958
|
+
*
|
|
8959
|
+
* Utilities for HTML element.
|
|
8960
|
+
*/
|
|
8961
|
+
declare class Dom {
|
|
8962
|
+
static getWin(doc: Document): Window;
|
|
8963
|
+
static isVisible(elt: HTMLElement): boolean;
|
|
8964
|
+
static setVisible(elt: HTMLElement | SVGSVGElement, visible: boolean, visibleStyle?: string): boolean;
|
|
8965
|
+
static hide(elt: HTMLElement | SVGSVGElement): void;
|
|
8966
|
+
static show(elt: HTMLElement | SVGSVGElement, visibleStyle?: string): void;
|
|
8967
|
+
static addClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
8968
|
+
static removeClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
8969
|
+
static getImageUrl(css: CSSStyleDeclaration): string;
|
|
8970
|
+
static getFocused(): HTMLElement;
|
|
8971
|
+
static isAncestorOf(elt: HTMLElement, child: HTMLElement): boolean;
|
|
8972
|
+
static getOffset(elt: HTMLElement): {
|
|
8973
|
+
x: number;
|
|
8974
|
+
y: number;
|
|
8975
|
+
};
|
|
8976
|
+
static getSize(elt: HTMLElement): {
|
|
8977
|
+
width: number;
|
|
8978
|
+
height: number;
|
|
8979
|
+
};
|
|
8980
|
+
static moveX(elt: HTMLElement, x: number): void;
|
|
8981
|
+
static moveY(elt: HTMLElement, y: number): void;
|
|
8982
|
+
static move(elt: HTMLElement | SVGSVGElement, x: number, y: number): void;
|
|
8983
|
+
static moveI(elt: HTMLElement, x: number, y: number): void;
|
|
8984
|
+
static resize(elt: HTMLElement | SVGSVGElement, width: number, height: number): void;
|
|
8985
|
+
static resizeSVG(elt: SVGSVGElement, width: number, height: number): void;
|
|
8986
|
+
static setWidth(elt: HTMLElement, width: number): void;
|
|
8987
|
+
static setHeight(elt: HTMLElement, height: number): void;
|
|
8988
|
+
static getBrowserSize(elt?: HTMLElement): {
|
|
8989
|
+
width: number;
|
|
8990
|
+
height: number;
|
|
8991
|
+
};
|
|
8992
|
+
static setRect(elt: HTMLElement, r: IRect): void;
|
|
8993
|
+
static setBounds(elt: HTMLElement, x: number, y: number, w: number, h: number): void;
|
|
8994
|
+
static setBoundsEx(elt: HTMLElement, x: number, y: number, w: number, h: number): void;
|
|
8995
|
+
static getClientRect(elt: HTMLElement): ClientRect | DOMRect;
|
|
8996
|
+
static getChildIndex(elt: HTMLElement): number;
|
|
8997
|
+
static clearChildren(parent: Element): void;
|
|
8998
|
+
static clearElements(parent: Element): void;
|
|
8999
|
+
static append(elt: Node, child: Node): void;
|
|
9000
|
+
static addChild(elt: HTMLElement, child: HTMLElement): boolean;
|
|
9001
|
+
static removeChild(elt: HTMLElement, child: HTMLElement): boolean;
|
|
9002
|
+
static removeChildren(elt: Element, children: (Element | IDomContaner)[]): void;
|
|
9003
|
+
static remove(elt: Node): null;
|
|
9004
|
+
static clearStyle(elt: HTMLElement): void;
|
|
9005
|
+
static removeStyles(css: CSSStyleDeclaration, style: CSSStyles2): void;
|
|
9006
|
+
static setStyle(elt: HTMLElement, style: CSSStyles2): void;
|
|
9007
|
+
static replaceStyle(css: CSSStyleDeclaration, style: CSSStyles2, prevStyle: CSSStyles2): CSSStyles2;
|
|
9008
|
+
static createElement<K extends keyof HTMLElementTagNameMap>(doc: Document, tagName: K, style: CSSStyles2): HTMLElementTagNameMap[K];
|
|
9009
|
+
static htmlEncode(text: string): string;
|
|
9010
|
+
static setData(elt: HTMLElement | SVGSVGElement, name: string, value: any): void;
|
|
9011
|
+
static toggleData(elt: HTMLElement | SVGSVGElement, name: string, value: boolean): void;
|
|
9012
|
+
static getData(elt: HTMLElement, name: string): any;
|
|
9013
|
+
static hasData(elt: HTMLElement, name: string): boolean;
|
|
9014
|
+
static setVar(elt: HTMLElement | SVGSVGElement, name: string, value: string): void;
|
|
9015
|
+
static animate(elt: HTMLElement, prop: string, from: any, to: any, duration?: number, fill?: string): Animation;
|
|
9016
|
+
static setAttr(elt: Element, attr: string, value: any): void;
|
|
9017
|
+
static setAttrs(elt: Element, attrs: any): void;
|
|
9018
|
+
static getDomId(): string;
|
|
9019
|
+
static createBR(doc: Document, className: string): HTMLBRElement;
|
|
9020
|
+
static createSpan(doc: Document, style: CSSStyles2): HTMLSpanElement;
|
|
9021
|
+
static createCheckBox(doc: Document, style: CSSStyles2): HTMLInputElement;
|
|
9022
|
+
static createRadio(doc: Document, style: CSSStyles2): HTMLInputElement;
|
|
9023
|
+
static getPadding(dom: HTMLElement | SVGElement): ISides;
|
|
9024
|
+
static getPaddingEx(dom: HTMLElement | SVGElement): ISides;
|
|
9025
|
+
static stopAnimation(ani: Animation): null;
|
|
9026
|
+
static childByPath(dom: Node, path: number[]): Node;
|
|
9027
|
+
static childByClass<T extends Element>(parent: HTMLElement, className: string): T;
|
|
9028
|
+
static setDisabled(dom: Element, value: boolean): void;
|
|
9029
|
+
static setImportantStyle(css: CSSStyleDeclaration, property: string, value: string): void;
|
|
9030
|
+
static setNoScale(elt: SVGElement): void;
|
|
8791
9031
|
}
|
|
8792
9032
|
|
|
8793
9033
|
declare const getVersion: typeof Globals.getVersion;
|
|
@@ -8798,4 +9038,4 @@ declare const createChart: typeof Globals.createChart;
|
|
|
8798
9038
|
declare const createChartAsync: typeof Globals.createChartAsync;
|
|
8799
9039
|
declare const preset: typeof Globals.preset;
|
|
8800
9040
|
|
|
8801
|
-
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger, CreditsOptions, DataPoint, DataPointArgs as DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, ElementPool, ExportOptions, Exporter, ExporterOptions, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FigureSeries, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, IChart, ILegendSource, IPercentSize, IPointView, IRect, ISeries, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, LoadCallbackArgs, MapArea, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPoint, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, PointViewPool, PointViewPosition, ProjectionType, RAD_DEG, RadialGradientOptions, RectElement, RmElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGStyleOrClass, SVGStyles, SankeySeriesOptions, SankeySeriesType, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, ShapeAnnotation, ShapeAnnotationOptions, Size, SparkSeries, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, TrackSeriesOptions, TrackSeriesType, Utils, ValuePoint, ValueSeries, VectorSeriesOptions, VectorSeriesType, WaffleSeries, _isIE, absv, assignObj, calcPercent, copyObj, cos, createChart, createChartAsync, createRect, extend, fixnum, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setLogging, sin };
|
|
9041
|
+
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BandSeriesOptions, BandSeriesType, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions, ChartSeriesOptions, ChartSeriesType, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger, CreditsOptions, DataPoint, DataPointArgs as DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, Dom, ElementPool, ExportOptions, Exporter, ExporterOptions, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FigureSeries, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HtmlAnnotation, IChart, ILegendSource, IPercentSize, IPointView, IRect, ISeries, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, LayerElement, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, LoadCallbackArgs, MapArea, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapProjection, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPoint, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PathElement, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, PointViewPool, PointViewPosition, PolyLineElement, ProjectionType, RAD_DEG, RadialGradientOptions, RectElement, RmElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGStyleOrClass, SVGStyles, SankeySeriesOptions, SankeySeriesType, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, ShapeDrawer, Size, SparkSeries, Subtitle, SubtitleOptions, TableSeriesOptions, TableSeriesType, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, TrackSeriesOptions, TrackSeriesOutlineOptions, TrackSeriesType, Utils, ValuePoint, ValueSeries, VectorSeriesOptions, VectorSeriesType, WaffleSeries, _isIE, absv, assignObj, calcPercent, copyObj, cos, createChart, createChartAsync, createRect, extend, fixnum, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setLogging, sin };
|