@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/Shape.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
-
import "../src/Shape.css";
|
|
3
|
-
export declare class Shape extends SVGWidget {
|
|
4
|
-
protected _tooltipElement: any;
|
|
5
|
-
constructor();
|
|
6
|
-
contains(point: any): any;
|
|
7
|
-
intersection(pointA: any, pointB: any): any;
|
|
8
|
-
enter(domNode: any, element: any): void;
|
|
9
|
-
_prevHash: any;
|
|
10
|
-
update(_domNode: any, element: any): void;
|
|
11
|
-
getShapeElementTag(_shape: any): any;
|
|
12
|
-
pinPath(): string;
|
|
13
|
-
click(): void;
|
|
14
|
-
dblclick(): void;
|
|
15
|
-
}
|
|
16
|
-
export interface Shape {
|
|
17
|
-
shape(): string;
|
|
18
|
-
shape(_: string): this;
|
|
19
|
-
colorStroke(): string;
|
|
20
|
-
colorStroke(_: string): this;
|
|
21
|
-
colorFill(): string;
|
|
22
|
-
colorFill(_: string): this;
|
|
23
|
-
colorFill_exists(): boolean;
|
|
24
|
-
radius(): number;
|
|
25
|
-
radius(_: number): this;
|
|
26
|
-
cornerRadius(): number;
|
|
27
|
-
cornerRadius(_: number): this;
|
|
28
|
-
arrowHeight(): number;
|
|
29
|
-
arrowHeight(_: number): this;
|
|
30
|
-
arrowWidth(): number;
|
|
31
|
-
arrowWidth(_: number): this;
|
|
32
|
-
tooltip(): string;
|
|
33
|
-
tooltip(_: string): this;
|
|
34
|
-
}
|
|
1
|
+
import { SVGWidget } from "./SVGWidget";
|
|
2
|
+
import "../src/Shape.css";
|
|
3
|
+
export declare class Shape extends SVGWidget {
|
|
4
|
+
protected _tooltipElement: any;
|
|
5
|
+
constructor();
|
|
6
|
+
contains(point: any): any;
|
|
7
|
+
intersection(pointA: any, pointB: any): any;
|
|
8
|
+
enter(domNode: any, element: any): void;
|
|
9
|
+
_prevHash: any;
|
|
10
|
+
update(_domNode: any, element: any): void;
|
|
11
|
+
getShapeElementTag(_shape: any): any;
|
|
12
|
+
pinPath(): string;
|
|
13
|
+
click(): void;
|
|
14
|
+
dblclick(): void;
|
|
15
|
+
}
|
|
16
|
+
export interface Shape {
|
|
17
|
+
shape(): string;
|
|
18
|
+
shape(_: string): this;
|
|
19
|
+
colorStroke(): string;
|
|
20
|
+
colorStroke(_: string): this;
|
|
21
|
+
colorFill(): string;
|
|
22
|
+
colorFill(_: string): this;
|
|
23
|
+
colorFill_exists(): boolean;
|
|
24
|
+
radius(): number;
|
|
25
|
+
radius(_: number): this;
|
|
26
|
+
cornerRadius(): number;
|
|
27
|
+
cornerRadius(_: number): this;
|
|
28
|
+
arrowHeight(): number;
|
|
29
|
+
arrowHeight(_: number): this;
|
|
30
|
+
arrowWidth(): number;
|
|
31
|
+
arrowWidth(_: number): this;
|
|
32
|
+
tooltip(): string;
|
|
33
|
+
tooltip(_: string): this;
|
|
34
|
+
}
|
|
35
35
|
//# sourceMappingURL=Shape.d.ts.map
|
package/types/Surface.d.ts
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import "d3-transition";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
3
|
-
import "../src/Surface.css";
|
|
4
|
-
export declare class Surface extends SVGWidget {
|
|
5
|
-
_origMenuParam: any;
|
|
6
|
-
_origShowContent: any;
|
|
7
|
-
protected _iconWidget: any;
|
|
8
|
-
protected _containerWidget: any;
|
|
9
|
-
protected _titleRectWidget: any;
|
|
10
|
-
protected _textWidget: any;
|
|
11
|
-
_menuWidget: any;
|
|
12
|
-
protected _surfaceButtons: any;
|
|
13
|
-
protected _clipRect: any;
|
|
14
|
-
protected buttonContainer: any;
|
|
15
|
-
constructor();
|
|
16
|
-
enter(_domNode: any, _element: any): void;
|
|
17
|
-
update(domNode: any, element: any): void;
|
|
18
|
-
exit(domNode: any, element: any): void;
|
|
19
|
-
intersection(pointA: any, pointB: any): any;
|
|
20
|
-
click(d: any): void;
|
|
21
|
-
showTitle: {
|
|
22
|
-
(): boolean;
|
|
23
|
-
(_: boolean): Surface;
|
|
24
|
-
};
|
|
25
|
-
title: {
|
|
26
|
-
(): string;
|
|
27
|
-
(_: string): Surface;
|
|
28
|
-
};
|
|
29
|
-
titleFontSize: {
|
|
30
|
-
(): string;
|
|
31
|
-
(_: string): Surface;
|
|
32
|
-
};
|
|
33
|
-
showIcon: {
|
|
34
|
-
(): boolean;
|
|
35
|
-
(_: boolean): Surface;
|
|
36
|
-
};
|
|
37
|
-
icon_faChar: {
|
|
38
|
-
(): string;
|
|
39
|
-
(_: string): Surface;
|
|
40
|
-
};
|
|
41
|
-
icon_shape: {
|
|
42
|
-
(): string;
|
|
43
|
-
(_: string): Surface;
|
|
44
|
-
};
|
|
45
|
-
content: {
|
|
46
|
-
(): any;
|
|
47
|
-
(_: any): Surface;
|
|
48
|
-
};
|
|
49
|
-
buttonAnnotations: {
|
|
50
|
-
(): any[];
|
|
51
|
-
(_: any[]): Surface;
|
|
52
|
-
};
|
|
53
|
-
buttonGutter: {
|
|
54
|
-
(): number;
|
|
55
|
-
(_: number): Surface;
|
|
56
|
-
};
|
|
57
|
-
showContent: {
|
|
58
|
-
(): boolean;
|
|
59
|
-
(_: boolean): Surface;
|
|
60
|
-
};
|
|
61
|
-
menu: {
|
|
62
|
-
(): any[];
|
|
63
|
-
(_: any[]): Surface;
|
|
64
|
-
};
|
|
65
|
-
menuPadding: {
|
|
66
|
-
(): number;
|
|
67
|
-
(_: number): Surface;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
1
|
+
import "d3-transition";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget";
|
|
3
|
+
import "../src/Surface.css";
|
|
4
|
+
export declare class Surface extends SVGWidget {
|
|
5
|
+
_origMenuParam: any;
|
|
6
|
+
_origShowContent: any;
|
|
7
|
+
protected _iconWidget: any;
|
|
8
|
+
protected _containerWidget: any;
|
|
9
|
+
protected _titleRectWidget: any;
|
|
10
|
+
protected _textWidget: any;
|
|
11
|
+
_menuWidget: any;
|
|
12
|
+
protected _surfaceButtons: any;
|
|
13
|
+
protected _clipRect: any;
|
|
14
|
+
protected buttonContainer: any;
|
|
15
|
+
constructor();
|
|
16
|
+
enter(_domNode: any, _element: any): void;
|
|
17
|
+
update(domNode: any, element: any): void;
|
|
18
|
+
exit(domNode: any, element: any): void;
|
|
19
|
+
intersection(pointA: any, pointB: any): any;
|
|
20
|
+
click(d: any): void;
|
|
21
|
+
showTitle: {
|
|
22
|
+
(): boolean;
|
|
23
|
+
(_: boolean): Surface;
|
|
24
|
+
};
|
|
25
|
+
title: {
|
|
26
|
+
(): string;
|
|
27
|
+
(_: string): Surface;
|
|
28
|
+
};
|
|
29
|
+
titleFontSize: {
|
|
30
|
+
(): string;
|
|
31
|
+
(_: string): Surface;
|
|
32
|
+
};
|
|
33
|
+
showIcon: {
|
|
34
|
+
(): boolean;
|
|
35
|
+
(_: boolean): Surface;
|
|
36
|
+
};
|
|
37
|
+
icon_faChar: {
|
|
38
|
+
(): string;
|
|
39
|
+
(_: string): Surface;
|
|
40
|
+
};
|
|
41
|
+
icon_shape: {
|
|
42
|
+
(): string;
|
|
43
|
+
(_: string): Surface;
|
|
44
|
+
};
|
|
45
|
+
content: {
|
|
46
|
+
(): any;
|
|
47
|
+
(_: any): Surface;
|
|
48
|
+
};
|
|
49
|
+
buttonAnnotations: {
|
|
50
|
+
(): any[];
|
|
51
|
+
(_: any[]): Surface;
|
|
52
|
+
};
|
|
53
|
+
buttonGutter: {
|
|
54
|
+
(): number;
|
|
55
|
+
(_: number): Surface;
|
|
56
|
+
};
|
|
57
|
+
showContent: {
|
|
58
|
+
(): boolean;
|
|
59
|
+
(_: boolean): Surface;
|
|
60
|
+
};
|
|
61
|
+
menu: {
|
|
62
|
+
(): any[];
|
|
63
|
+
(_: any[]): Surface;
|
|
64
|
+
};
|
|
65
|
+
menuPadding: {
|
|
66
|
+
(): number;
|
|
67
|
+
(_: number): Surface;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
70
|
//# sourceMappingURL=Surface.d.ts.map
|
package/types/Text.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
-
import "../src/Text.css";
|
|
3
|
-
export declare class Text extends SVGWidget {
|
|
4
|
-
private _textElement;
|
|
5
|
-
constructor();
|
|
6
|
-
getBBox(refresh?: boolean, round?: boolean): {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
};
|
|
12
|
-
enter(domNode: any, element: any): void;
|
|
13
|
-
_prevHash: any;
|
|
14
|
-
update(domNode: any, element: any): void;
|
|
15
|
-
click(): void;
|
|
16
|
-
dblclick(): void;
|
|
17
|
-
}
|
|
18
|
-
export interface Text {
|
|
19
|
-
text(): string;
|
|
20
|
-
text(_: string): this;
|
|
21
|
-
fontFamily(): string;
|
|
22
|
-
fontFamily(_: string): this;
|
|
23
|
-
fontSize(): number;
|
|
24
|
-
fontSize(_: number): this;
|
|
25
|
-
anchor(): "start" | "middle" | "end";
|
|
26
|
-
anchor(_: "start" | "middle" | "end"): this;
|
|
27
|
-
colorFill(): string;
|
|
28
|
-
colorFill(_: string): this;
|
|
29
|
-
colorFill_default(): string;
|
|
30
|
-
colorFill_default(_: string): this;
|
|
31
|
-
colorStroke(): string;
|
|
32
|
-
colorStroke(_: string): this;
|
|
33
|
-
colorStroke_default(): string;
|
|
34
|
-
colorStroke_default(_: string): this;
|
|
35
|
-
rotation(): number;
|
|
36
|
-
rotation(_: number): Text;
|
|
37
|
-
}
|
|
1
|
+
import { SVGWidget } from "./SVGWidget";
|
|
2
|
+
import "../src/Text.css";
|
|
3
|
+
export declare class Text extends SVGWidget {
|
|
4
|
+
private _textElement;
|
|
5
|
+
constructor();
|
|
6
|
+
getBBox(refresh?: boolean, round?: boolean): {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
enter(domNode: any, element: any): void;
|
|
13
|
+
_prevHash: any;
|
|
14
|
+
update(domNode: any, element: any): void;
|
|
15
|
+
click(): void;
|
|
16
|
+
dblclick(): void;
|
|
17
|
+
}
|
|
18
|
+
export interface Text {
|
|
19
|
+
text(): string;
|
|
20
|
+
text(_: string): this;
|
|
21
|
+
fontFamily(): string;
|
|
22
|
+
fontFamily(_: string): this;
|
|
23
|
+
fontSize(): number;
|
|
24
|
+
fontSize(_: number): this;
|
|
25
|
+
anchor(): "start" | "middle" | "end";
|
|
26
|
+
anchor(_: "start" | "middle" | "end"): this;
|
|
27
|
+
colorFill(): string;
|
|
28
|
+
colorFill(_: string): this;
|
|
29
|
+
colorFill_default(): string;
|
|
30
|
+
colorFill_default(_: string): this;
|
|
31
|
+
colorStroke(): string;
|
|
32
|
+
colorStroke(_: string): this;
|
|
33
|
+
colorStroke_default(): string;
|
|
34
|
+
colorStroke_default(_: string): this;
|
|
35
|
+
rotation(): number;
|
|
36
|
+
rotation(_: number): Text;
|
|
37
|
+
}
|
|
38
38
|
//# sourceMappingURL=Text.d.ts.map
|
package/types/TextBox.d.ts
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { Shape } from "./Shape";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
3
|
-
import { Text } from "./Text";
|
|
4
|
-
import { ISize } from "./Widget";
|
|
5
|
-
import "../src/TextBox.css";
|
|
6
|
-
export declare class TextBox extends SVGWidget {
|
|
7
|
-
protected _shape: Shape;
|
|
8
|
-
protected _text: Text;
|
|
9
|
-
constructor();
|
|
10
|
-
padding(_: any): this;
|
|
11
|
-
getTextX(width: any): number;
|
|
12
|
-
getBBox(refresh?: boolean, round?: boolean): {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
enter(domNode: any, element: any): void;
|
|
19
|
-
_prevHash: any;
|
|
20
|
-
update(domNode: any, element: any): void;
|
|
21
|
-
exit(domNode: any, element: any): void;
|
|
22
|
-
click(): void;
|
|
23
|
-
dblclick(): void;
|
|
24
|
-
text: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): TextBox;
|
|
27
|
-
};
|
|
28
|
-
fontSize: {
|
|
29
|
-
(): number;
|
|
30
|
-
(_: number): TextBox;
|
|
31
|
-
};
|
|
32
|
-
shape_colorFill: {
|
|
33
|
-
(): string;
|
|
34
|
-
(_: string): TextBox;
|
|
35
|
-
};
|
|
36
|
-
shape_colorStroke: {
|
|
37
|
-
(): string;
|
|
38
|
-
(_: string): TextBox;
|
|
39
|
-
};
|
|
40
|
-
text_colorFill: {
|
|
41
|
-
(): string;
|
|
42
|
-
(_: string): TextBox;
|
|
43
|
-
};
|
|
44
|
-
text_fontFamily: {
|
|
45
|
-
(): string;
|
|
46
|
-
(_: string): TextBox;
|
|
47
|
-
};
|
|
48
|
-
paddingLeft: {
|
|
49
|
-
(): number;
|
|
50
|
-
(_: number): TextBox;
|
|
51
|
-
};
|
|
52
|
-
paddingRight: {
|
|
53
|
-
(): number;
|
|
54
|
-
(_: number): TextBox;
|
|
55
|
-
};
|
|
56
|
-
paddingTop: {
|
|
57
|
-
(): number;
|
|
58
|
-
(_: number): TextBox;
|
|
59
|
-
};
|
|
60
|
-
paddingBottom: {
|
|
61
|
-
(): number;
|
|
62
|
-
(_: number): TextBox;
|
|
63
|
-
};
|
|
64
|
-
anchor: {
|
|
65
|
-
(): "start" | "middle" | "end";
|
|
66
|
-
(_: "start" | "middle" | "end"): TextBox;
|
|
67
|
-
};
|
|
68
|
-
fixedSize: {
|
|
69
|
-
(): ISize;
|
|
70
|
-
(_: ISize): TextBox;
|
|
71
|
-
};
|
|
72
|
-
tooltip: {
|
|
73
|
-
(): string;
|
|
74
|
-
(_: string): TextBox;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
1
|
+
import { Shape } from "./Shape";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget";
|
|
3
|
+
import { Text } from "./Text";
|
|
4
|
+
import { ISize } from "./Widget";
|
|
5
|
+
import "../src/TextBox.css";
|
|
6
|
+
export declare class TextBox extends SVGWidget {
|
|
7
|
+
protected _shape: Shape;
|
|
8
|
+
protected _text: Text;
|
|
9
|
+
constructor();
|
|
10
|
+
padding(_: any): this;
|
|
11
|
+
getTextX(width: any): number;
|
|
12
|
+
getBBox(refresh?: boolean, round?: boolean): {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
enter(domNode: any, element: any): void;
|
|
19
|
+
_prevHash: any;
|
|
20
|
+
update(domNode: any, element: any): void;
|
|
21
|
+
exit(domNode: any, element: any): void;
|
|
22
|
+
click(): void;
|
|
23
|
+
dblclick(): void;
|
|
24
|
+
text: {
|
|
25
|
+
(): string;
|
|
26
|
+
(_: string): TextBox;
|
|
27
|
+
};
|
|
28
|
+
fontSize: {
|
|
29
|
+
(): number;
|
|
30
|
+
(_: number): TextBox;
|
|
31
|
+
};
|
|
32
|
+
shape_colorFill: {
|
|
33
|
+
(): string;
|
|
34
|
+
(_: string): TextBox;
|
|
35
|
+
};
|
|
36
|
+
shape_colorStroke: {
|
|
37
|
+
(): string;
|
|
38
|
+
(_: string): TextBox;
|
|
39
|
+
};
|
|
40
|
+
text_colorFill: {
|
|
41
|
+
(): string;
|
|
42
|
+
(_: string): TextBox;
|
|
43
|
+
};
|
|
44
|
+
text_fontFamily: {
|
|
45
|
+
(): string;
|
|
46
|
+
(_: string): TextBox;
|
|
47
|
+
};
|
|
48
|
+
paddingLeft: {
|
|
49
|
+
(): number;
|
|
50
|
+
(_: number): TextBox;
|
|
51
|
+
};
|
|
52
|
+
paddingRight: {
|
|
53
|
+
(): number;
|
|
54
|
+
(_: number): TextBox;
|
|
55
|
+
};
|
|
56
|
+
paddingTop: {
|
|
57
|
+
(): number;
|
|
58
|
+
(_: number): TextBox;
|
|
59
|
+
};
|
|
60
|
+
paddingBottom: {
|
|
61
|
+
(): number;
|
|
62
|
+
(_: number): TextBox;
|
|
63
|
+
};
|
|
64
|
+
anchor: {
|
|
65
|
+
(): "start" | "middle" | "end";
|
|
66
|
+
(_: "start" | "middle" | "end"): TextBox;
|
|
67
|
+
};
|
|
68
|
+
fixedSize: {
|
|
69
|
+
(): ISize;
|
|
70
|
+
(_: ISize): TextBox;
|
|
71
|
+
};
|
|
72
|
+
tooltip: {
|
|
73
|
+
(): string;
|
|
74
|
+
(_: string): TextBox;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
77
|
//# sourceMappingURL=TextBox.d.ts.map
|
package/types/TitleBar.d.ts
CHANGED
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
-
import { Widget } from "./Widget";
|
|
3
|
-
import "../src/TitleBar.css";
|
|
4
|
-
export declare class Button extends HTMLWidget {
|
|
5
|
-
private _enabled;
|
|
6
|
-
private _i;
|
|
7
|
-
constructor();
|
|
8
|
-
enter(domNode: HTMLElement, element: any): void;
|
|
9
|
-
update(domNode: HTMLElement, element: any): void;
|
|
10
|
-
click(): void;
|
|
11
|
-
mouseMove(d: any, idx: any, groups: any): void;
|
|
12
|
-
mouseOut(d: any, idx: any, groups: any): void;
|
|
13
|
-
enabled(): boolean;
|
|
14
|
-
enabled(_: boolean): this;
|
|
15
|
-
}
|
|
16
|
-
export interface Button {
|
|
17
|
-
faChar(): string;
|
|
18
|
-
faChar(_: string): this;
|
|
19
|
-
tooltip(): string;
|
|
20
|
-
tooltip(_: string): this;
|
|
21
|
-
}
|
|
22
|
-
export declare class StickyButton extends Button {
|
|
23
|
-
enter(domNode: HTMLElement, element: any): void;
|
|
24
|
-
update(domNode: HTMLElement, element: any): void;
|
|
25
|
-
}
|
|
26
|
-
export interface StickyButton {
|
|
27
|
-
selected(): boolean;
|
|
28
|
-
selected(_: boolean): this;
|
|
29
|
-
}
|
|
30
|
-
export declare class ToggleButton extends StickyButton {
|
|
31
|
-
enter(domNode: HTMLElement, element: any): void;
|
|
32
|
-
}
|
|
33
|
-
export declare class Spacer extends HTMLWidget {
|
|
34
|
-
enter(domNode: HTMLElement, element: any): void;
|
|
35
|
-
}
|
|
36
|
-
export interface Spacer {
|
|
37
|
-
vline(): boolean;
|
|
38
|
-
vline(_: boolean): this;
|
|
39
|
-
}
|
|
40
|
-
export declare class SelectDropDown extends HTMLWidget {
|
|
41
|
-
private _enabled;
|
|
42
|
-
constructor();
|
|
43
|
-
enabled(): boolean;
|
|
44
|
-
enabled(_: boolean): this;
|
|
45
|
-
enter(domNode: HTMLSelectElement, element: any): void;
|
|
46
|
-
update(domNode: HTMLElement, element: any): void;
|
|
47
|
-
click(value: any): void;
|
|
48
|
-
mouseMove(d: any, idx: any, groups: any): void;
|
|
49
|
-
mouseOut(d: any, idx: any, groups: any): void;
|
|
50
|
-
}
|
|
51
|
-
export interface SelectDropDown {
|
|
52
|
-
values(): {
|
|
53
|
-
[key: string]: string;
|
|
54
|
-
};
|
|
55
|
-
values(_: {
|
|
56
|
-
[key: string]: string;
|
|
57
|
-
}): this;
|
|
58
|
-
selected(): string;
|
|
59
|
-
selected(_: string): this;
|
|
60
|
-
tooltip(): string;
|
|
61
|
-
tooltip(_: string): this;
|
|
62
|
-
}
|
|
63
|
-
export declare class IconBar extends HTMLWidget {
|
|
64
|
-
_divIconBar: any;
|
|
65
|
-
_buttons: Widget[];
|
|
66
|
-
constructor();
|
|
67
|
-
enter(domNode: any, element: any): void;
|
|
68
|
-
update(domNode: any, element: any): void;
|
|
69
|
-
exit(domNode: any, element: any): void;
|
|
70
|
-
}
|
|
71
|
-
export interface IconBar {
|
|
72
|
-
buttons(): Widget[];
|
|
73
|
-
buttons(_: Widget[]): this;
|
|
74
|
-
hiddenButtons(): Widget[];
|
|
75
|
-
hiddenButtons(_: Widget[]): this;
|
|
76
|
-
}
|
|
77
|
-
export declare class SelectionButton extends StickyButton {
|
|
78
|
-
_owner: SelectionBar;
|
|
79
|
-
enter(domNode: HTMLElement, element: any): void;
|
|
80
|
-
selected(): boolean;
|
|
81
|
-
selected(_: boolean): this;
|
|
82
|
-
}
|
|
83
|
-
export declare class SelectionBar extends IconBar {
|
|
84
|
-
buttons(): Array<SelectionButton | Spacer>;
|
|
85
|
-
buttons(_: Array<SelectionButton | Spacer>): this;
|
|
86
|
-
selected(row: SelectionButton): void;
|
|
87
|
-
}
|
|
88
|
-
export declare class TitleBar extends IconBar {
|
|
89
|
-
_divTitle: any;
|
|
90
|
-
_divTitleIcon: any;
|
|
91
|
-
_divTitleText: any;
|
|
92
|
-
_divDescriptionText: any;
|
|
93
|
-
constructor();
|
|
94
|
-
enter(domNode: any, element: any): void;
|
|
95
|
-
update(domNode: any, element: any): void;
|
|
96
|
-
}
|
|
97
|
-
export interface TitleBar {
|
|
98
|
-
title(): string;
|
|
99
|
-
title(_: string): this;
|
|
100
|
-
titleIcon(): string;
|
|
101
|
-
titleIcon(_: string): this;
|
|
102
|
-
titleIconFont(): string;
|
|
103
|
-
titleIconFont(_: string): this;
|
|
104
|
-
titleFont(): string;
|
|
105
|
-
titleFont(_: string): this;
|
|
106
|
-
titleIconFontSize(): number;
|
|
107
|
-
titleIconFontSize(_: number): this;
|
|
108
|
-
titleFontSize(): number;
|
|
109
|
-
titleFontSize(_: number): this;
|
|
110
|
-
description(): string;
|
|
111
|
-
description(_: string): this;
|
|
112
|
-
description_exists(): boolean;
|
|
113
|
-
descriptionFont(): string;
|
|
114
|
-
descriptionFont(_: string): this;
|
|
115
|
-
descriptionFontSize(): number;
|
|
116
|
-
descriptionFontSize(_: number): this;
|
|
117
|
-
}
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
+
import { Widget } from "./Widget";
|
|
3
|
+
import "../src/TitleBar.css";
|
|
4
|
+
export declare class Button extends HTMLWidget {
|
|
5
|
+
private _enabled;
|
|
6
|
+
private _i;
|
|
7
|
+
constructor();
|
|
8
|
+
enter(domNode: HTMLElement, element: any): void;
|
|
9
|
+
update(domNode: HTMLElement, element: any): void;
|
|
10
|
+
click(): void;
|
|
11
|
+
mouseMove(d: any, idx: any, groups: any): void;
|
|
12
|
+
mouseOut(d: any, idx: any, groups: any): void;
|
|
13
|
+
enabled(): boolean;
|
|
14
|
+
enabled(_: boolean): this;
|
|
15
|
+
}
|
|
16
|
+
export interface Button {
|
|
17
|
+
faChar(): string;
|
|
18
|
+
faChar(_: string): this;
|
|
19
|
+
tooltip(): string;
|
|
20
|
+
tooltip(_: string): this;
|
|
21
|
+
}
|
|
22
|
+
export declare class StickyButton extends Button {
|
|
23
|
+
enter(domNode: HTMLElement, element: any): void;
|
|
24
|
+
update(domNode: HTMLElement, element: any): void;
|
|
25
|
+
}
|
|
26
|
+
export interface StickyButton {
|
|
27
|
+
selected(): boolean;
|
|
28
|
+
selected(_: boolean): this;
|
|
29
|
+
}
|
|
30
|
+
export declare class ToggleButton extends StickyButton {
|
|
31
|
+
enter(domNode: HTMLElement, element: any): void;
|
|
32
|
+
}
|
|
33
|
+
export declare class Spacer extends HTMLWidget {
|
|
34
|
+
enter(domNode: HTMLElement, element: any): void;
|
|
35
|
+
}
|
|
36
|
+
export interface Spacer {
|
|
37
|
+
vline(): boolean;
|
|
38
|
+
vline(_: boolean): this;
|
|
39
|
+
}
|
|
40
|
+
export declare class SelectDropDown extends HTMLWidget {
|
|
41
|
+
private _enabled;
|
|
42
|
+
constructor();
|
|
43
|
+
enabled(): boolean;
|
|
44
|
+
enabled(_: boolean): this;
|
|
45
|
+
enter(domNode: HTMLSelectElement, element: any): void;
|
|
46
|
+
update(domNode: HTMLElement, element: any): void;
|
|
47
|
+
click(value: any): void;
|
|
48
|
+
mouseMove(d: any, idx: any, groups: any): void;
|
|
49
|
+
mouseOut(d: any, idx: any, groups: any): void;
|
|
50
|
+
}
|
|
51
|
+
export interface SelectDropDown {
|
|
52
|
+
values(): {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
values(_: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
}): this;
|
|
58
|
+
selected(): string;
|
|
59
|
+
selected(_: string): this;
|
|
60
|
+
tooltip(): string;
|
|
61
|
+
tooltip(_: string): this;
|
|
62
|
+
}
|
|
63
|
+
export declare class IconBar extends HTMLWidget {
|
|
64
|
+
_divIconBar: any;
|
|
65
|
+
_buttons: Widget[];
|
|
66
|
+
constructor();
|
|
67
|
+
enter(domNode: any, element: any): void;
|
|
68
|
+
update(domNode: any, element: any): void;
|
|
69
|
+
exit(domNode: any, element: any): void;
|
|
70
|
+
}
|
|
71
|
+
export interface IconBar {
|
|
72
|
+
buttons(): Widget[];
|
|
73
|
+
buttons(_: Widget[]): this;
|
|
74
|
+
hiddenButtons(): Widget[];
|
|
75
|
+
hiddenButtons(_: Widget[]): this;
|
|
76
|
+
}
|
|
77
|
+
export declare class SelectionButton extends StickyButton {
|
|
78
|
+
_owner: SelectionBar;
|
|
79
|
+
enter(domNode: HTMLElement, element: any): void;
|
|
80
|
+
selected(): boolean;
|
|
81
|
+
selected(_: boolean): this;
|
|
82
|
+
}
|
|
83
|
+
export declare class SelectionBar extends IconBar {
|
|
84
|
+
buttons(): Array<SelectionButton | Spacer>;
|
|
85
|
+
buttons(_: Array<SelectionButton | Spacer>): this;
|
|
86
|
+
selected(row: SelectionButton): void;
|
|
87
|
+
}
|
|
88
|
+
export declare class TitleBar extends IconBar {
|
|
89
|
+
_divTitle: any;
|
|
90
|
+
_divTitleIcon: any;
|
|
91
|
+
_divTitleText: any;
|
|
92
|
+
_divDescriptionText: any;
|
|
93
|
+
constructor();
|
|
94
|
+
enter(domNode: any, element: any): void;
|
|
95
|
+
update(domNode: any, element: any): void;
|
|
96
|
+
}
|
|
97
|
+
export interface TitleBar {
|
|
98
|
+
title(): string;
|
|
99
|
+
title(_: string): this;
|
|
100
|
+
titleIcon(): string;
|
|
101
|
+
titleIcon(_: string): this;
|
|
102
|
+
titleIconFont(): string;
|
|
103
|
+
titleIconFont(_: string): this;
|
|
104
|
+
titleFont(): string;
|
|
105
|
+
titleFont(_: string): this;
|
|
106
|
+
titleIconFontSize(): number;
|
|
107
|
+
titleIconFontSize(_: number): this;
|
|
108
|
+
titleFontSize(): number;
|
|
109
|
+
titleFontSize(_: number): this;
|
|
110
|
+
description(): string;
|
|
111
|
+
description(_: string): this;
|
|
112
|
+
description_exists(): boolean;
|
|
113
|
+
descriptionFont(): string;
|
|
114
|
+
descriptionFont(_: string): this;
|
|
115
|
+
descriptionFontSize(): number;
|
|
116
|
+
descriptionFontSize(_: number): this;
|
|
117
|
+
}
|
|
118
118
|
//# sourceMappingURL=TitleBar.d.ts.map
|