@hpcc-js/common 2.65.0 → 2.66.1
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/LICENSE +43 -43
- package/README.md +59 -59
- package/dist/index.es6.js +7098 -7070
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +7141 -7107
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +21 -38
- package/src/CanvasWidget.ts +31 -31
- package/src/Class.ts +67 -67
- package/src/Database.ts +856 -856
- package/src/Entity.ts +235 -235
- package/src/EntityCard.ts +66 -66
- package/src/EntityPin.ts +103 -103
- package/src/EntityRect.css +15 -15
- package/src/EntityRect.ts +236 -236
- package/src/EntityVertex.ts +86 -86
- package/src/FAChar.css +2 -2
- package/src/FAChar.ts +82 -82
- package/src/HTMLWidget.ts +191 -191
- package/src/IList.ts +4 -4
- package/src/IMenu.ts +5 -5
- package/src/Icon.css +9 -9
- package/src/Icon.ts +164 -164
- package/src/Image.ts +95 -95
- package/src/List.css +13 -13
- package/src/List.ts +99 -99
- package/src/Menu.css +23 -23
- package/src/Menu.ts +138 -138
- package/src/Palette.ts +341 -341
- package/src/Platform.ts +125 -125
- package/src/ProgressBar.ts +105 -105
- package/src/PropertyExt.ts +793 -793
- package/src/ResizeSurface.css +39 -39
- package/src/ResizeSurface.ts +221 -221
- package/src/SVGWidget.ts +567 -567
- package/src/SVGZoomWidget.css +12 -12
- package/src/SVGZoomWidget.ts +416 -416
- package/src/Shape.css +3 -3
- package/src/Shape.ts +186 -186
- package/src/Surface.css +35 -35
- package/src/Surface.ts +350 -350
- package/src/Text.css +4 -4
- package/src/Text.ts +131 -131
- package/src/TextBox.css +4 -4
- package/src/TextBox.ts +168 -168
- package/src/TitleBar.css +99 -99
- package/src/TitleBar.ts +401 -401
- package/src/Transition.ts +45 -45
- package/src/Utility.ts +820 -820
- package/src/Widget.css +8 -8
- package/src/Widget.ts +712 -712
- package/src/WidgetArray.ts +13 -13
- package/src/__package__.ts +2 -2
- package/src/index.ts +55 -55
- package/types/CanvasWidget.d.ts +8 -8
- package/types/Class.d.ts +12 -12
- package/types/Database.d.ts +136 -136
- package/types/Entity.d.ts +88 -88
- package/types/EntityCard.d.ts +13 -13
- package/types/EntityPin.d.ts +22 -22
- package/types/EntityRect.d.ts +45 -45
- package/types/EntityVertex.d.ts +30 -30
- package/types/FAChar.d.ts +29 -29
- package/types/HTMLWidget.d.ts +27 -27
- package/types/IList.d.ts +4 -4
- package/types/IMenu.d.ts +5 -5
- package/types/Icon.d.ts +62 -62
- package/types/Image.d.ts +33 -33
- package/types/List.d.ts +15 -15
- package/types/Menu.d.ts +28 -28
- package/types/Palette.d.ts +19 -19
- package/types/Platform.d.ts +5 -5
- package/types/ProgressBar.d.ts +21 -21
- package/types/PropertyExt.d.ts +114 -114
- package/types/ResizeSurface.d.ts +23 -23
- package/types/SVGWidget.d.ts +77 -77
- package/types/SVGZoomWidget.d.ts +68 -68
- package/types/Shape.d.ts +34 -34
- package/types/Surface.d.ts +69 -69
- package/types/Text.d.ts +37 -37
- package/types/TextBox.d.ts +76 -76
- package/types/TitleBar.d.ts +117 -117
- package/types/Transition.d.ts +11 -11
- package/types/Utility.d.ts +100 -100
- package/types/Utility.d.ts.map +1 -1
- package/types/Widget.d.ts +149 -149
- package/types/WidgetArray.d.ts +6 -6
- package/types/__package__.d.ts +3 -3
- package/types/index.d.ts +52 -52
- package/types-3.4/Utility.d.ts +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/types/EntityPin.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
export declare class EntityPin extends Entity {
|
|
3
|
-
protected _element_textbox: any;
|
|
4
|
-
constructor();
|
|
5
|
-
enter(domNode: any, element: any): void;
|
|
6
|
-
update(domNode: any, element: any): void;
|
|
7
|
-
calcHeight(): any;
|
|
8
|
-
calcBackgroundBBox(is_hovering: any, title_bbox: any, icon_bbox: any, desc_bbox: any, _anno_h: any): {
|
|
9
|
-
width: number;
|
|
10
|
-
height: any;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface EntityPin {
|
|
14
|
-
titleOnlyShowOnHover(): boolean;
|
|
15
|
-
titleOnlyShowOnHover(_: boolean): this;
|
|
16
|
-
iconOnlyShowOnHover(): boolean;
|
|
17
|
-
iconOnlyShowOnHover(_: boolean): this;
|
|
18
|
-
descriptionOnlyShowOnHover(): boolean;
|
|
19
|
-
descriptionOnlyShowOnHover(_: boolean): this;
|
|
20
|
-
annotationOnlyShowOnHover(): boolean;
|
|
21
|
-
annotationOnlyShowOnHover(_: boolean): this;
|
|
22
|
-
}
|
|
1
|
+
import { Entity } from "./Entity";
|
|
2
|
+
export declare class EntityPin extends Entity {
|
|
3
|
+
protected _element_textbox: any;
|
|
4
|
+
constructor();
|
|
5
|
+
enter(domNode: any, element: any): void;
|
|
6
|
+
update(domNode: any, element: any): void;
|
|
7
|
+
calcHeight(): any;
|
|
8
|
+
calcBackgroundBBox(is_hovering: any, title_bbox: any, icon_bbox: any, desc_bbox: any, _anno_h: any): {
|
|
9
|
+
width: number;
|
|
10
|
+
height: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface EntityPin {
|
|
14
|
+
titleOnlyShowOnHover(): boolean;
|
|
15
|
+
titleOnlyShowOnHover(_: boolean): this;
|
|
16
|
+
iconOnlyShowOnHover(): boolean;
|
|
17
|
+
iconOnlyShowOnHover(_: boolean): this;
|
|
18
|
+
descriptionOnlyShowOnHover(): boolean;
|
|
19
|
+
descriptionOnlyShowOnHover(_: boolean): this;
|
|
20
|
+
annotationOnlyShowOnHover(): boolean;
|
|
21
|
+
annotationOnlyShowOnHover(_: boolean): this;
|
|
22
|
+
}
|
|
23
23
|
//# sourceMappingURL=EntityPin.d.ts.map
|
package/types/EntityRect.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
3
|
-
import { publish } from "./PropertyExt";
|
|
4
|
-
import { InputField } from "./Widget";
|
|
5
|
-
import "../src/EntityRect.css";
|
|
6
|
-
export declare class EntityRect extends Entity {
|
|
7
|
-
protected _element_textbox: any;
|
|
8
|
-
constructor();
|
|
9
|
-
enter(domNode: any, element: any): void;
|
|
10
|
-
update(domNode: any, element: any): void;
|
|
11
|
-
render(callback?: (w: EntityRect) => void): this;
|
|
12
|
-
}
|
|
13
|
-
export interface EntityRect {
|
|
14
|
-
fixedWidth(): number;
|
|
15
|
-
fixedWidth(_: number): this;
|
|
16
|
-
fixedHeight(): number;
|
|
17
|
-
fixedHeight(_: number): this;
|
|
18
|
-
}
|
|
19
|
-
export declare class EntityRectList extends HTMLWidget {
|
|
20
|
-
static __inputs: InputField[];
|
|
21
|
-
fixedHeight: publish<this, number>;
|
|
22
|
-
backgroundColor: publish<this, string>;
|
|
23
|
-
backgroundColorColumn: publish<this, string>;
|
|
24
|
-
borderColor: publish<this, string>;
|
|
25
|
-
borderColorColumn: publish<this, string>;
|
|
26
|
-
icon: publish<this, string>;
|
|
27
|
-
iconColumn: publish<this, string>;
|
|
28
|
-
iconColor: publish<this, string>;
|
|
29
|
-
iconColorColumn: publish<this, string>;
|
|
30
|
-
titleColumn: publish<this, string>;
|
|
31
|
-
titleColor: publish<this, string>;
|
|
32
|
-
titleColorColumn: publish<this, string>;
|
|
33
|
-
descriptionColumn: publish<this, string>;
|
|
34
|
-
descriptionColor: publish<this, string>;
|
|
35
|
-
descriptionColorColumn: publish<this, string>;
|
|
36
|
-
private _enityRectLocal;
|
|
37
|
-
constructor();
|
|
38
|
-
entityRectData(): any;
|
|
39
|
-
enter(domNode: any, element: any): void;
|
|
40
|
-
update(domNode: any, element: any): void;
|
|
41
|
-
exit(domNode: any, element: any): void;
|
|
42
|
-
click(row: any, column: any, selected: any): void;
|
|
43
|
-
dblclick(row: any, column: any, selected: any): void;
|
|
44
|
-
_selection: any;
|
|
45
|
-
}
|
|
1
|
+
import { Entity } from "./Entity";
|
|
2
|
+
import { HTMLWidget } from "./HTMLWidget";
|
|
3
|
+
import { publish } from "./PropertyExt";
|
|
4
|
+
import { InputField } from "./Widget";
|
|
5
|
+
import "../src/EntityRect.css";
|
|
6
|
+
export declare class EntityRect extends Entity {
|
|
7
|
+
protected _element_textbox: any;
|
|
8
|
+
constructor();
|
|
9
|
+
enter(domNode: any, element: any): void;
|
|
10
|
+
update(domNode: any, element: any): void;
|
|
11
|
+
render(callback?: (w: EntityRect) => void): this;
|
|
12
|
+
}
|
|
13
|
+
export interface EntityRect {
|
|
14
|
+
fixedWidth(): number;
|
|
15
|
+
fixedWidth(_: number): this;
|
|
16
|
+
fixedHeight(): number;
|
|
17
|
+
fixedHeight(_: number): this;
|
|
18
|
+
}
|
|
19
|
+
export declare class EntityRectList extends HTMLWidget {
|
|
20
|
+
static __inputs: InputField[];
|
|
21
|
+
fixedHeight: publish<this, number>;
|
|
22
|
+
backgroundColor: publish<this, string>;
|
|
23
|
+
backgroundColorColumn: publish<this, string>;
|
|
24
|
+
borderColor: publish<this, string>;
|
|
25
|
+
borderColorColumn: publish<this, string>;
|
|
26
|
+
icon: publish<this, string>;
|
|
27
|
+
iconColumn: publish<this, string>;
|
|
28
|
+
iconColor: publish<this, string>;
|
|
29
|
+
iconColorColumn: publish<this, string>;
|
|
30
|
+
titleColumn: publish<this, string>;
|
|
31
|
+
titleColor: publish<this, string>;
|
|
32
|
+
titleColorColumn: publish<this, string>;
|
|
33
|
+
descriptionColumn: publish<this, string>;
|
|
34
|
+
descriptionColor: publish<this, string>;
|
|
35
|
+
descriptionColorColumn: publish<this, string>;
|
|
36
|
+
private _enityRectLocal;
|
|
37
|
+
constructor();
|
|
38
|
+
entityRectData(): any;
|
|
39
|
+
enter(domNode: any, element: any): void;
|
|
40
|
+
update(domNode: any, element: any): void;
|
|
41
|
+
exit(domNode: any, element: any): void;
|
|
42
|
+
click(row: any, column: any, selected: any): void;
|
|
43
|
+
dblclick(row: any, column: any, selected: any): void;
|
|
44
|
+
_selection: any;
|
|
45
|
+
}
|
|
46
46
|
//# sourceMappingURL=EntityRect.d.ts.map
|
package/types/EntityVertex.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
import { TextBox } from "./TextBox";
|
|
3
|
-
export declare class EntityVertex extends Entity {
|
|
4
|
-
protected _textbox_widget: TextBox;
|
|
5
|
-
protected _element_textbox: any;
|
|
6
|
-
constructor();
|
|
7
|
-
enter(domNode: any, element: any): void;
|
|
8
|
-
update(): void;
|
|
9
|
-
exit(domNode: any, element: any): void;
|
|
10
|
-
}
|
|
11
|
-
export interface EntityVertex {
|
|
12
|
-
iconAnchor(): string;
|
|
13
|
-
iconAnchor(_: string): this;
|
|
14
|
-
iconColorFill(): string;
|
|
15
|
-
iconColorFill(_: string): this;
|
|
16
|
-
iconColorStroke(): string;
|
|
17
|
-
iconColorStroke(_: string): this;
|
|
18
|
-
shape_colorStroke(): string;
|
|
19
|
-
shape_colorStroke(_: string): this;
|
|
20
|
-
shape_colorFill(): string;
|
|
21
|
-
shape_colorFill(_: string): this;
|
|
22
|
-
text_colorFill(): string;
|
|
23
|
-
text_colorFill(_: string): this;
|
|
24
|
-
textboxColorStroke(): string;
|
|
25
|
-
textboxColorStroke(_: string): this;
|
|
26
|
-
textboxColorFill(): string;
|
|
27
|
-
textboxColorFill(_: string): this;
|
|
28
|
-
textboxFontColor(): string;
|
|
29
|
-
textboxFontColor(_: string): this;
|
|
30
|
-
}
|
|
1
|
+
import { Entity } from "./Entity";
|
|
2
|
+
import { TextBox } from "./TextBox";
|
|
3
|
+
export declare class EntityVertex extends Entity {
|
|
4
|
+
protected _textbox_widget: TextBox;
|
|
5
|
+
protected _element_textbox: any;
|
|
6
|
+
constructor();
|
|
7
|
+
enter(domNode: any, element: any): void;
|
|
8
|
+
update(): void;
|
|
9
|
+
exit(domNode: any, element: any): void;
|
|
10
|
+
}
|
|
11
|
+
export interface EntityVertex {
|
|
12
|
+
iconAnchor(): string;
|
|
13
|
+
iconAnchor(_: string): this;
|
|
14
|
+
iconColorFill(): string;
|
|
15
|
+
iconColorFill(_: string): this;
|
|
16
|
+
iconColorStroke(): string;
|
|
17
|
+
iconColorStroke(_: string): this;
|
|
18
|
+
shape_colorStroke(): string;
|
|
19
|
+
shape_colorStroke(_: string): this;
|
|
20
|
+
shape_colorFill(): string;
|
|
21
|
+
shape_colorFill(_: string): this;
|
|
22
|
+
text_colorFill(): string;
|
|
23
|
+
text_colorFill(_: string): this;
|
|
24
|
+
textboxColorStroke(): string;
|
|
25
|
+
textboxColorStroke(_: string): this;
|
|
26
|
+
textboxColorFill(): string;
|
|
27
|
+
textboxColorFill(_: string): this;
|
|
28
|
+
textboxFontColor(): string;
|
|
29
|
+
textboxFontColor(_: string): this;
|
|
30
|
+
}
|
|
31
31
|
//# sourceMappingURL=EntityVertex.d.ts.map
|
package/types/FAChar.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
-
import "../src/FAChar.css";
|
|
3
|
-
export declare class FAChar extends SVGWidget {
|
|
4
|
-
protected _text: any;
|
|
5
|
-
constructor();
|
|
6
|
-
enter(domNode: any, element: any): void;
|
|
7
|
-
calcChar(): string;
|
|
8
|
-
update(domNode: any, element: any): void;
|
|
9
|
-
exit(domNode: any, element: any): void;
|
|
10
|
-
click(): void;
|
|
11
|
-
dblclick(): void;
|
|
12
|
-
char: {
|
|
13
|
-
(): string;
|
|
14
|
-
(_: string): FAChar;
|
|
15
|
-
};
|
|
16
|
-
fontSize: {
|
|
17
|
-
(): number;
|
|
18
|
-
(_: number): FAChar;
|
|
19
|
-
};
|
|
20
|
-
text_colorFill: {
|
|
21
|
-
(): string;
|
|
22
|
-
(_: string): FAChar;
|
|
23
|
-
};
|
|
24
|
-
text_fontFamily: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): FAChar;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export declare const fontAwsesomeStyle: string;
|
|
1
|
+
import { SVGWidget } from "./SVGWidget";
|
|
2
|
+
import "../src/FAChar.css";
|
|
3
|
+
export declare class FAChar extends SVGWidget {
|
|
4
|
+
protected _text: any;
|
|
5
|
+
constructor();
|
|
6
|
+
enter(domNode: any, element: any): void;
|
|
7
|
+
calcChar(): string;
|
|
8
|
+
update(domNode: any, element: any): void;
|
|
9
|
+
exit(domNode: any, element: any): void;
|
|
10
|
+
click(): void;
|
|
11
|
+
dblclick(): void;
|
|
12
|
+
char: {
|
|
13
|
+
(): string;
|
|
14
|
+
(_: string): FAChar;
|
|
15
|
+
};
|
|
16
|
+
fontSize: {
|
|
17
|
+
(): number;
|
|
18
|
+
(_: number): FAChar;
|
|
19
|
+
};
|
|
20
|
+
text_colorFill: {
|
|
21
|
+
(): string;
|
|
22
|
+
(_: string): FAChar;
|
|
23
|
+
};
|
|
24
|
+
text_fontFamily: {
|
|
25
|
+
(): string;
|
|
26
|
+
(_: string): FAChar;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export declare const fontAwsesomeStyle: string;
|
|
30
30
|
//# sourceMappingURL=FAChar.d.ts.map
|
package/types/HTMLWidget.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Widget } from "./Widget";
|
|
2
|
-
export declare class HTMLWidget extends Widget {
|
|
3
|
-
private observer;
|
|
4
|
-
protected _drawStartPos: "origin" | "center";
|
|
5
|
-
protected _boundingBox: any;
|
|
6
|
-
constructor();
|
|
7
|
-
calcFrameWidth(element: any): number;
|
|
8
|
-
calcWidth(element: any): number;
|
|
9
|
-
calcFrameHeight(element: any): number;
|
|
10
|
-
calcHeight(element: any): number;
|
|
11
|
-
hasHScroll(element: any): boolean;
|
|
12
|
-
hasVScroll(element: any): boolean;
|
|
13
|
-
clientWidth(): number;
|
|
14
|
-
clientHeight(): number;
|
|
15
|
-
getBBox(refresh?: boolean, round?: boolean): {
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
reposition(pos?: any): this;
|
|
22
|
-
resize(size?: any): this;
|
|
23
|
-
target(): null | HTMLElement | SVGElement;
|
|
24
|
-
target(_: null | string | HTMLElement | SVGElement): this;
|
|
25
|
-
postUpdate(domNode: any, element: any): void;
|
|
26
|
-
exit(domNode?: any, element?: any): void;
|
|
27
|
-
}
|
|
1
|
+
import { Widget } from "./Widget";
|
|
2
|
+
export declare class HTMLWidget extends Widget {
|
|
3
|
+
private observer;
|
|
4
|
+
protected _drawStartPos: "origin" | "center";
|
|
5
|
+
protected _boundingBox: any;
|
|
6
|
+
constructor();
|
|
7
|
+
calcFrameWidth(element: any): number;
|
|
8
|
+
calcWidth(element: any): number;
|
|
9
|
+
calcFrameHeight(element: any): number;
|
|
10
|
+
calcHeight(element: any): number;
|
|
11
|
+
hasHScroll(element: any): boolean;
|
|
12
|
+
hasVScroll(element: any): boolean;
|
|
13
|
+
clientWidth(): number;
|
|
14
|
+
clientHeight(): number;
|
|
15
|
+
getBBox(refresh?: boolean, round?: boolean): {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
};
|
|
21
|
+
reposition(pos?: any): this;
|
|
22
|
+
resize(size?: any): this;
|
|
23
|
+
target(): null | HTMLElement | SVGElement;
|
|
24
|
+
target(_: null | string | HTMLElement | SVGElement): this;
|
|
25
|
+
postUpdate(domNode: any, element: any): void;
|
|
26
|
+
exit(domNode?: any, element?: any): void;
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=HTMLWidget.d.ts.map
|
package/types/IList.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IList {
|
|
2
|
-
click(d: any): any;
|
|
3
|
-
dblclick(d: any): any;
|
|
4
|
-
}
|
|
1
|
+
export interface IList {
|
|
2
|
+
click(d: any): any;
|
|
3
|
+
dblclick(d: any): any;
|
|
4
|
+
}
|
|
5
5
|
//# sourceMappingURL=IList.d.ts.map
|
package/types/IMenu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IMenu {
|
|
2
|
-
click(d: any): any;
|
|
3
|
-
preShowMenu(d: any): any;
|
|
4
|
-
postHideMenu(d: any): any;
|
|
5
|
-
}
|
|
1
|
+
export interface IMenu {
|
|
2
|
+
click(d: any): any;
|
|
3
|
+
preShowMenu(d: any): any;
|
|
4
|
+
postHideMenu(d: any): any;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=IMenu.d.ts.map
|
package/types/Icon.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
-
import "../src/Icon.css";
|
|
3
|
-
export declare class Icon extends SVGWidget {
|
|
4
|
-
protected _shapeWidget: any;
|
|
5
|
-
protected _faChar: any;
|
|
6
|
-
protected _defs: any;
|
|
7
|
-
protected _root: any;
|
|
8
|
-
protected _tooltipElement: any;
|
|
9
|
-
constructor();
|
|
10
|
-
getBBox(refresh?: boolean, round?: boolean): {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
contains(point: any): any;
|
|
17
|
-
intersection(pointA: any, pointB: any): any;
|
|
18
|
-
enter(domNode: any, element: any): void;
|
|
19
|
-
click(_domNode: any): void;
|
|
20
|
-
dblclick(_domNode: any): void;
|
|
21
|
-
_prevHash: any;
|
|
22
|
-
update(domNode: any, element: any): void;
|
|
23
|
-
exit(domNode: any, element: any): void;
|
|
24
|
-
shape: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): Icon;
|
|
27
|
-
};
|
|
28
|
-
faChar: {
|
|
29
|
-
(): string;
|
|
30
|
-
(_: string): Icon;
|
|
31
|
-
};
|
|
32
|
-
imageUrl: {
|
|
33
|
-
(): string;
|
|
34
|
-
(_: string): Icon;
|
|
35
|
-
};
|
|
36
|
-
image_colorFill: {
|
|
37
|
-
(): string;
|
|
38
|
-
(_: string): Icon;
|
|
39
|
-
};
|
|
40
|
-
image_colorFill_exists: () => boolean;
|
|
41
|
-
tooltip: {
|
|
42
|
-
(): string;
|
|
43
|
-
(_: string): Icon;
|
|
44
|
-
};
|
|
45
|
-
diameter: {
|
|
46
|
-
(): number;
|
|
47
|
-
(_: number): Icon;
|
|
48
|
-
};
|
|
49
|
-
paddingPercent: {
|
|
50
|
-
(): number;
|
|
51
|
-
(_: number): Icon;
|
|
52
|
-
};
|
|
53
|
-
shape_colorFill: {
|
|
54
|
-
(): string;
|
|
55
|
-
(_: string): Icon;
|
|
56
|
-
};
|
|
57
|
-
shape_colorFill_exists: () => boolean;
|
|
58
|
-
shape_colorStroke: {
|
|
59
|
-
(): string;
|
|
60
|
-
(_: string): Icon;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
1
|
+
import { SVGWidget } from "./SVGWidget";
|
|
2
|
+
import "../src/Icon.css";
|
|
3
|
+
export declare class Icon extends SVGWidget {
|
|
4
|
+
protected _shapeWidget: any;
|
|
5
|
+
protected _faChar: any;
|
|
6
|
+
protected _defs: any;
|
|
7
|
+
protected _root: any;
|
|
8
|
+
protected _tooltipElement: any;
|
|
9
|
+
constructor();
|
|
10
|
+
getBBox(refresh?: boolean, round?: boolean): {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
contains(point: any): any;
|
|
17
|
+
intersection(pointA: any, pointB: any): any;
|
|
18
|
+
enter(domNode: any, element: any): void;
|
|
19
|
+
click(_domNode: any): void;
|
|
20
|
+
dblclick(_domNode: any): void;
|
|
21
|
+
_prevHash: any;
|
|
22
|
+
update(domNode: any, element: any): void;
|
|
23
|
+
exit(domNode: any, element: any): void;
|
|
24
|
+
shape: {
|
|
25
|
+
(): string;
|
|
26
|
+
(_: string): Icon;
|
|
27
|
+
};
|
|
28
|
+
faChar: {
|
|
29
|
+
(): string;
|
|
30
|
+
(_: string): Icon;
|
|
31
|
+
};
|
|
32
|
+
imageUrl: {
|
|
33
|
+
(): string;
|
|
34
|
+
(_: string): Icon;
|
|
35
|
+
};
|
|
36
|
+
image_colorFill: {
|
|
37
|
+
(): string;
|
|
38
|
+
(_: string): Icon;
|
|
39
|
+
};
|
|
40
|
+
image_colorFill_exists: () => boolean;
|
|
41
|
+
tooltip: {
|
|
42
|
+
(): string;
|
|
43
|
+
(_: string): Icon;
|
|
44
|
+
};
|
|
45
|
+
diameter: {
|
|
46
|
+
(): number;
|
|
47
|
+
(_: number): Icon;
|
|
48
|
+
};
|
|
49
|
+
paddingPercent: {
|
|
50
|
+
(): number;
|
|
51
|
+
(_: number): Icon;
|
|
52
|
+
};
|
|
53
|
+
shape_colorFill: {
|
|
54
|
+
(): string;
|
|
55
|
+
(_: string): Icon;
|
|
56
|
+
};
|
|
57
|
+
shape_colorFill_exists: () => boolean;
|
|
58
|
+
shape_colorStroke: {
|
|
59
|
+
(): string;
|
|
60
|
+
(_: string): Icon;
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
63
|
//# sourceMappingURL=Icon.d.ts.map
|
package/types/Image.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
-
export declare class Image extends HTMLWidget {
|
|
3
|
-
private _imgElement;
|
|
4
|
-
constructor();
|
|
5
|
-
enter(domNode: any, element: any): void;
|
|
6
|
-
update(domNode: any, element: any): void;
|
|
7
|
-
styleImageElement(): void;
|
|
8
|
-
exit(domNode: any, element: any): void;
|
|
9
|
-
source: {
|
|
10
|
-
(): string;
|
|
11
|
-
(_: string): Image;
|
|
12
|
-
};
|
|
13
|
-
sizing: {
|
|
14
|
-
(): string;
|
|
15
|
-
(_: string): Image;
|
|
16
|
-
};
|
|
17
|
-
customWidth: {
|
|
18
|
-
(): string;
|
|
19
|
-
(_: string): Image;
|
|
20
|
-
};
|
|
21
|
-
customHeight: {
|
|
22
|
-
(): string;
|
|
23
|
-
(_: string): Image;
|
|
24
|
-
};
|
|
25
|
-
lockAspectRatio: {
|
|
26
|
-
(): boolean;
|
|
27
|
-
(_: boolean): Image;
|
|
28
|
-
};
|
|
29
|
-
alignment: {
|
|
30
|
-
(): string;
|
|
31
|
-
(_: string): Image;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
+
export declare class Image extends HTMLWidget {
|
|
3
|
+
private _imgElement;
|
|
4
|
+
constructor();
|
|
5
|
+
enter(domNode: any, element: any): void;
|
|
6
|
+
update(domNode: any, element: any): void;
|
|
7
|
+
styleImageElement(): void;
|
|
8
|
+
exit(domNode: any, element: any): void;
|
|
9
|
+
source: {
|
|
10
|
+
(): string;
|
|
11
|
+
(_: string): Image;
|
|
12
|
+
};
|
|
13
|
+
sizing: {
|
|
14
|
+
(): string;
|
|
15
|
+
(_: string): Image;
|
|
16
|
+
};
|
|
17
|
+
customWidth: {
|
|
18
|
+
(): string;
|
|
19
|
+
(_: string): Image;
|
|
20
|
+
};
|
|
21
|
+
customHeight: {
|
|
22
|
+
(): string;
|
|
23
|
+
(_: string): Image;
|
|
24
|
+
};
|
|
25
|
+
lockAspectRatio: {
|
|
26
|
+
(): boolean;
|
|
27
|
+
(_: boolean): Image;
|
|
28
|
+
};
|
|
29
|
+
alignment: {
|
|
30
|
+
(): string;
|
|
31
|
+
(_: string): Image;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
34
|
//# sourceMappingURL=Image.d.ts.map
|
package/types/List.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IList } from "./IList";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
3
|
-
import "../src/List.css";
|
|
4
|
-
export declare class List extends SVGWidget implements IList {
|
|
5
|
-
protected _listWidgets: any;
|
|
6
|
-
constructor();
|
|
7
|
-
update(domNode: any, element: any): void;
|
|
8
|
-
exit(domNode: any, element: any): void;
|
|
9
|
-
click(d: any): void;
|
|
10
|
-
dblclick(d: any): void;
|
|
11
|
-
anchor: {
|
|
12
|
-
(): string;
|
|
13
|
-
(_: string): List;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
1
|
+
import { IList } from "./IList";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget";
|
|
3
|
+
import "../src/List.css";
|
|
4
|
+
export declare class List extends SVGWidget implements IList {
|
|
5
|
+
protected _listWidgets: any;
|
|
6
|
+
constructor();
|
|
7
|
+
update(domNode: any, element: any): void;
|
|
8
|
+
exit(domNode: any, element: any): void;
|
|
9
|
+
click(d: any): void;
|
|
10
|
+
dblclick(d: any): void;
|
|
11
|
+
anchor: {
|
|
12
|
+
(): string;
|
|
13
|
+
(_: string): List;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
16
|
//# sourceMappingURL=List.d.ts.map
|
package/types/Menu.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Icon } from "./Icon";
|
|
2
|
-
import { IMenu } from "./IMenu";
|
|
3
|
-
import { List } from "./List";
|
|
4
|
-
import { SVGWidget } from "./SVGWidget";
|
|
5
|
-
import "../src/Menu.css";
|
|
6
|
-
export declare class Menu extends SVGWidget implements IMenu {
|
|
7
|
-
protected _icon: Icon;
|
|
8
|
-
protected _list: List;
|
|
9
|
-
protected _open: any;
|
|
10
|
-
constructor();
|
|
11
|
-
toggleMenu(): void;
|
|
12
|
-
showMenu(): void;
|
|
13
|
-
hideMenu(): void;
|
|
14
|
-
enter(domNode: any, element: any): void;
|
|
15
|
-
update(domNode: any, element: any): void;
|
|
16
|
-
exit(domNode: any, element: any): void;
|
|
17
|
-
click(d: any): void;
|
|
18
|
-
preShowMenu(): void;
|
|
19
|
-
postHideMenu(): void;
|
|
20
|
-
faChar: {
|
|
21
|
-
(): string;
|
|
22
|
-
(_: string): Menu;
|
|
23
|
-
};
|
|
24
|
-
paddingPercent: {
|
|
25
|
-
(): number;
|
|
26
|
-
(_: number): Menu;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
1
|
+
import { Icon } from "./Icon";
|
|
2
|
+
import { IMenu } from "./IMenu";
|
|
3
|
+
import { List } from "./List";
|
|
4
|
+
import { SVGWidget } from "./SVGWidget";
|
|
5
|
+
import "../src/Menu.css";
|
|
6
|
+
export declare class Menu extends SVGWidget implements IMenu {
|
|
7
|
+
protected _icon: Icon;
|
|
8
|
+
protected _list: List;
|
|
9
|
+
protected _open: any;
|
|
10
|
+
constructor();
|
|
11
|
+
toggleMenu(): void;
|
|
12
|
+
showMenu(): void;
|
|
13
|
+
hideMenu(): void;
|
|
14
|
+
enter(domNode: any, element: any): void;
|
|
15
|
+
update(domNode: any, element: any): void;
|
|
16
|
+
exit(domNode: any, element: any): void;
|
|
17
|
+
click(d: any): void;
|
|
18
|
+
preShowMenu(): void;
|
|
19
|
+
postHideMenu(): void;
|
|
20
|
+
faChar: {
|
|
21
|
+
(): string;
|
|
22
|
+
(_: string): Menu;
|
|
23
|
+
};
|
|
24
|
+
paddingPercent: {
|
|
25
|
+
(): number;
|
|
26
|
+
(_: number): Menu;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
29
|
//# sourceMappingURL=Menu.d.ts.map
|
package/types/Palette.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface PaletteFunc {
|
|
2
|
-
switch(id?: string, colors?: string[]): any;
|
|
3
|
-
type(): "ordinal" | "rainbow";
|
|
4
|
-
}
|
|
5
|
-
export interface OrdinalPaletteFunc extends PaletteFunc {
|
|
6
|
-
(label: string): string;
|
|
7
|
-
}
|
|
8
|
-
export declare function fetchOrdinalItem(): string[];
|
|
9
|
-
export declare function fetchOrdinalItem(id: string, colors?: string[]): OrdinalPaletteFunc;
|
|
10
|
-
export interface RainbowPaletteFunc extends PaletteFunc {
|
|
11
|
-
(value: number, domainLow: number, domainHigh: number): string;
|
|
12
|
-
}
|
|
13
|
-
export declare function fetchRainbowItem(): string[];
|
|
14
|
-
export declare function fetchRainbowItem(id: string): RainbowPaletteFunc;
|
|
15
|
-
export declare function fetchRainbowItem(id: string, colors: string[], steps?: number): RainbowPaletteFunc;
|
|
16
|
-
export declare function test(ordinalDivID: any, brewerDivID: any, customDivID: any, customArr: any, steps: any): void;
|
|
17
|
-
export declare const ordinal: typeof fetchOrdinalItem;
|
|
18
|
-
export declare const rainbow: typeof fetchRainbowItem;
|
|
19
|
-
export declare function textColor(backgroundColor: string): string;
|
|
1
|
+
export interface PaletteFunc {
|
|
2
|
+
switch(id?: string, colors?: string[]): any;
|
|
3
|
+
type(): "ordinal" | "rainbow";
|
|
4
|
+
}
|
|
5
|
+
export interface OrdinalPaletteFunc extends PaletteFunc {
|
|
6
|
+
(label: string): string;
|
|
7
|
+
}
|
|
8
|
+
export declare function fetchOrdinalItem(): string[];
|
|
9
|
+
export declare function fetchOrdinalItem(id: string, colors?: string[]): OrdinalPaletteFunc;
|
|
10
|
+
export interface RainbowPaletteFunc extends PaletteFunc {
|
|
11
|
+
(value: number, domainLow: number, domainHigh: number): string;
|
|
12
|
+
}
|
|
13
|
+
export declare function fetchRainbowItem(): string[];
|
|
14
|
+
export declare function fetchRainbowItem(id: string): RainbowPaletteFunc;
|
|
15
|
+
export declare function fetchRainbowItem(id: string, colors: string[], steps?: number): RainbowPaletteFunc;
|
|
16
|
+
export declare function test(ordinalDivID: any, brewerDivID: any, customDivID: any, customArr: any, steps: any): void;
|
|
17
|
+
export declare const ordinal: typeof fetchOrdinalItem;
|
|
18
|
+
export declare const rainbow: typeof fetchRainbowItem;
|
|
19
|
+
export declare function textColor(backgroundColor: string): string;
|
|
20
20
|
//# sourceMappingURL=Palette.d.ts.map
|