@hpcc-js/common 2.72.0 → 3.1.0
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/index.css +2 -0
- package/dist/index.css.map +7 -0
- package/dist/index.js +30 -15317
- package/dist/index.js.map +7 -1
- package/package.json +28 -34
- package/src/CanvasWidget.ts +1 -1
- package/src/Class.ts +5 -0
- package/src/Database.ts +10 -6
- package/src/Entity.ts +5 -5
- package/src/EntityCard.ts +1 -1
- package/src/EntityPin.ts +1 -1
- package/src/EntityRect.ts +54 -36
- package/src/EntityVertex.ts +2 -2
- package/src/FAChar.ts +14 -7
- package/src/HTMLWidget.ts +1 -1
- package/src/Icon.ts +27 -15
- package/src/Image.ts +16 -7
- package/src/List.ts +9 -4
- package/src/Menu.ts +11 -6
- package/src/ProgressBar.ts +28 -18
- package/src/PropertyExt.ts +1 -24
- package/src/ResizeSurface.ts +6 -2
- package/src/SVGWidget.ts +5 -7
- package/src/SVGZoomWidget.ts +3 -3
- package/src/Shape.ts +1 -1
- package/src/Surface.ts +32 -17
- package/src/Text.ts +1 -1
- package/src/TextBox.ts +34 -19
- package/src/TitleBar.ts +3 -3
- package/src/Widget.ts +7 -8
- package/src/WidgetArray.ts +7 -5
- package/src/__package__.ts +2 -2
- package/src/index.ts +32 -32
- package/types/CanvasWidget.d.ts +1 -2
- package/types/Class.d.ts +2 -1
- package/types/Database.d.ts +9 -18
- package/types/Entity.d.ts +5 -6
- package/types/EntityCard.d.ts +1 -2
- package/types/EntityPin.d.ts +1 -2
- package/types/EntityRect.d.ts +35 -20
- package/types/EntityVertex.d.ts +2 -3
- package/types/FAChar.d.ts +11 -18
- package/types/HTMLWidget.d.ts +1 -2
- package/types/IList.d.ts +0 -1
- package/types/IMenu.d.ts +0 -1
- package/types/Icon.d.ts +23 -40
- package/types/Image.d.ts +15 -26
- package/types/List.d.ts +6 -7
- package/types/Menu.d.ts +10 -13
- package/types/Palette.d.ts +0 -1
- package/types/Platform.d.ts +0 -1
- package/types/ProgressBar.d.ts +19 -10
- package/types/PropertyExt.d.ts +1 -13
- package/types/ResizeSurface.d.ts +5 -6
- package/types/SVGWidget.d.ts +1 -3
- package/types/SVGZoomWidget.d.ts +2 -3
- package/types/Shape.d.ts +1 -2
- package/types/Surface.d.ts +27 -50
- package/types/Text.d.ts +1 -2
- package/types/TextBox.d.ts +32 -57
- package/types/TitleBar.d.ts +2 -3
- package/types/Transition.d.ts +0 -1
- package/types/Utility.d.ts +0 -1
- package/types/Widget.d.ts +4 -5
- package/types/WidgetArray.d.ts +5 -4
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +32 -33
- package/dist/index.es6.js +0 -15071
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/font-awesome/css/font-awesome.css +0 -2337
- package/font-awesome/css/font-awesome.css.map +0 -7
- package/font-awesome/css/font-awesome.min.css +0 -4
- package/types/CanvasWidget.d.ts.map +0 -1
- package/types/Class.d.ts.map +0 -1
- package/types/Database.d.ts.map +0 -1
- package/types/Entity.d.ts.map +0 -1
- package/types/EntityCard.d.ts.map +0 -1
- package/types/EntityPin.d.ts.map +0 -1
- package/types/EntityRect.d.ts.map +0 -1
- package/types/EntityVertex.d.ts.map +0 -1
- package/types/FAChar.d.ts.map +0 -1
- package/types/HTMLWidget.d.ts.map +0 -1
- package/types/IList.d.ts.map +0 -1
- package/types/IMenu.d.ts.map +0 -1
- package/types/Icon.d.ts.map +0 -1
- package/types/Image.d.ts.map +0 -1
- package/types/List.d.ts.map +0 -1
- package/types/Menu.d.ts.map +0 -1
- package/types/Palette.d.ts.map +0 -1
- package/types/Platform.d.ts.map +0 -1
- package/types/ProgressBar.d.ts.map +0 -1
- package/types/PropertyExt.d.ts.map +0 -1
- package/types/ResizeSurface.d.ts.map +0 -1
- package/types/SVGWidget.d.ts.map +0 -1
- package/types/SVGZoomWidget.d.ts.map +0 -1
- package/types/Shape.d.ts.map +0 -1
- package/types/Surface.d.ts.map +0 -1
- package/types/Text.d.ts.map +0 -1
- package/types/TextBox.d.ts.map +0 -1
- package/types/TitleBar.d.ts.map +0 -1
- package/types/Transition.d.ts.map +0 -1
- package/types/Utility.d.ts.map +0 -1
- package/types/Widget.d.ts.map +0 -1
- package/types/WidgetArray.d.ts.map +0 -1
- package/types/__package__.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types-3.4/CanvasWidget.d.ts +0 -9
- package/types-3.4/Class.d.ts +0 -13
- package/types-3.4/Database.d.ts +0 -137
- package/types-3.4/Entity.d.ts +0 -89
- package/types-3.4/EntityCard.d.ts +0 -14
- package/types-3.4/EntityPin.d.ts +0 -23
- package/types-3.4/EntityRect.d.ts +0 -46
- package/types-3.4/EntityVertex.d.ts +0 -31
- package/types-3.4/FAChar.d.ts +0 -30
- package/types-3.4/HTMLWidget.d.ts +0 -28
- package/types-3.4/IList.d.ts +0 -5
- package/types-3.4/IMenu.d.ts +0 -6
- package/types-3.4/Icon.d.ts +0 -63
- package/types-3.4/Image.d.ts +0 -34
- package/types-3.4/List.d.ts +0 -16
- package/types-3.4/Menu.d.ts +0 -29
- package/types-3.4/Palette.d.ts +0 -20
- package/types-3.4/Platform.d.ts +0 -6
- package/types-3.4/ProgressBar.d.ts +0 -22
- package/types-3.4/PropertyExt.d.ts +0 -115
- package/types-3.4/ResizeSurface.d.ts +0 -24
- package/types-3.4/SVGWidget.d.ts +0 -78
- package/types-3.4/SVGZoomWidget.d.ts +0 -74
- package/types-3.4/Shape.d.ts +0 -35
- package/types-3.4/Surface.d.ts +0 -70
- package/types-3.4/Text.d.ts +0 -38
- package/types-3.4/TextBox.d.ts +0 -77
- package/types-3.4/TitleBar.d.ts +0 -118
- package/types-3.4/Transition.d.ts +0 -12
- package/types-3.4/Utility.d.ts +0 -103
- package/types-3.4/Widget.d.ts +0 -154
- package/types-3.4/WidgetArray.d.ts +0 -7
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -53
package/types/Icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
1
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
2
2
|
import "../src/Icon.css";
|
|
3
3
|
export declare class Icon extends SVGWidget {
|
|
4
4
|
protected _shapeWidget: any;
|
|
@@ -21,43 +21,26 @@ export declare class Icon extends SVGWidget {
|
|
|
21
21
|
_prevHash: any;
|
|
22
22
|
update(domNode: any, element: any): void;
|
|
23
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
24
|
}
|
|
63
|
-
|
|
25
|
+
export interface Icon {
|
|
26
|
+
shape(): string;
|
|
27
|
+
shape(_: string): this;
|
|
28
|
+
faChar(): string;
|
|
29
|
+
faChar(_: string): this;
|
|
30
|
+
imageUrl(): string;
|
|
31
|
+
imageUrl(_: string): this;
|
|
32
|
+
image_colorFill(): string;
|
|
33
|
+
image_colorFill(_: string): this;
|
|
34
|
+
image_colorFill_exists(): boolean;
|
|
35
|
+
tooltip(): string;
|
|
36
|
+
tooltip(_: string): this;
|
|
37
|
+
diameter(): number;
|
|
38
|
+
diameter(_: number): this;
|
|
39
|
+
paddingPercent(): number;
|
|
40
|
+
paddingPercent(_: number): this;
|
|
41
|
+
shape_colorFill(): string;
|
|
42
|
+
shape_colorFill(_: string): this;
|
|
43
|
+
shape_colorFill_exists(): boolean;
|
|
44
|
+
shape_colorStroke(): string;
|
|
45
|
+
shape_colorStroke(_: string): this;
|
|
46
|
+
}
|
package/types/Image.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget.ts";
|
|
2
2
|
export declare class Image extends HTMLWidget {
|
|
3
3
|
private _imgElement;
|
|
4
4
|
constructor();
|
|
@@ -6,29 +6,18 @@ export declare class Image extends HTMLWidget {
|
|
|
6
6
|
update(domNode: any, element: any): void;
|
|
7
7
|
styleImageElement(): void;
|
|
8
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
9
|
}
|
|
34
|
-
|
|
10
|
+
export interface Image {
|
|
11
|
+
source(): string;
|
|
12
|
+
source(_: string): this;
|
|
13
|
+
sizing(): "actual" | "fit" | "custom";
|
|
14
|
+
sizing(_: "actual" | "fit" | "custom"): this;
|
|
15
|
+
customWidth(): string;
|
|
16
|
+
customWidth(_: string): this;
|
|
17
|
+
customHeight(): string;
|
|
18
|
+
customHeight(_: string): this;
|
|
19
|
+
lockAspectRatio(): boolean;
|
|
20
|
+
lockAspectRatio(_: boolean): this;
|
|
21
|
+
alignment(): "center" | "origin";
|
|
22
|
+
alignment(_: "center" | "origin"): this;
|
|
23
|
+
}
|
package/types/List.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IList } from "./IList";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
1
|
+
import { IList } from "./IList.ts";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
3
3
|
import "../src/List.css";
|
|
4
4
|
export declare class List extends SVGWidget implements IList {
|
|
5
5
|
protected _listWidgets: any;
|
|
@@ -8,9 +8,8 @@ export declare class List extends SVGWidget implements IList {
|
|
|
8
8
|
exit(domNode: any, element: any): void;
|
|
9
9
|
click(d: any): void;
|
|
10
10
|
dblclick(d: any): void;
|
|
11
|
-
anchor: {
|
|
12
|
-
(): string;
|
|
13
|
-
(_: string): List;
|
|
14
|
-
};
|
|
15
11
|
}
|
|
16
|
-
|
|
12
|
+
export interface List {
|
|
13
|
+
anchor(): "" | "start" | "middle" | "end";
|
|
14
|
+
anchor(_: "" | "start" | "middle" | "end"): this;
|
|
15
|
+
}
|
package/types/Menu.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Icon } from "./Icon";
|
|
2
|
-
import { IMenu } from "./IMenu";
|
|
3
|
-
import { List } from "./List";
|
|
4
|
-
import { SVGWidget } from "./SVGWidget";
|
|
1
|
+
import { Icon } from "./Icon.ts";
|
|
2
|
+
import { IMenu } from "./IMenu.ts";
|
|
3
|
+
import { List } from "./List.ts";
|
|
4
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
5
5
|
import "../src/Menu.css";
|
|
6
6
|
export declare class Menu extends SVGWidget implements IMenu {
|
|
7
7
|
protected _icon: Icon;
|
|
@@ -17,13 +17,10 @@ export declare class Menu extends SVGWidget implements IMenu {
|
|
|
17
17
|
click(d: any): void;
|
|
18
18
|
preShowMenu(): void;
|
|
19
19
|
postHideMenu(): void;
|
|
20
|
-
faChar: {
|
|
21
|
-
(): string;
|
|
22
|
-
(_: string): Menu;
|
|
23
|
-
};
|
|
24
|
-
paddingPercent: {
|
|
25
|
-
(): number;
|
|
26
|
-
(_: number): Menu;
|
|
27
|
-
};
|
|
28
20
|
}
|
|
29
|
-
|
|
21
|
+
export interface Menu {
|
|
22
|
+
faChar(): string;
|
|
23
|
+
faChar(_: string): this;
|
|
24
|
+
paddingPercent(): number;
|
|
25
|
+
paddingPercent(_: number): this;
|
|
26
|
+
}
|
package/types/Palette.d.ts
CHANGED
|
@@ -17,4 +17,3 @@ export declare function test(ordinalDivID: any, brewerDivID: any, customDivID: a
|
|
|
17
17
|
export declare const ordinal: typeof fetchOrdinalItem;
|
|
18
18
|
export declare const rainbow: typeof fetchRainbowItem;
|
|
19
19
|
export declare function textColor(backgroundColor: string): string;
|
|
20
|
-
//# sourceMappingURL=Palette.d.ts.map
|
package/types/Platform.d.ts
CHANGED
package/types/ProgressBar.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import { PropertyExt
|
|
1
|
+
import { PropertyExt } from "./PropertyExt.ts";
|
|
2
2
|
export declare class ProgressBar extends PropertyExt {
|
|
3
|
-
halfLife: publish<this, number>;
|
|
4
|
-
decay: publish<this, number>;
|
|
5
|
-
size: publish<this, number>;
|
|
6
|
-
color: publish<this, string>;
|
|
7
|
-
blurBar: publish<this, boolean>;
|
|
8
|
-
blurSize: publish<this, number>;
|
|
9
|
-
blurColor: publish<this, string>;
|
|
10
|
-
blurOpacity: publish<this, number>;
|
|
11
3
|
protected _elementID: string;
|
|
12
4
|
protected _running: boolean;
|
|
13
5
|
protected _style: any;
|
|
@@ -19,4 +11,21 @@ export declare class ProgressBar extends PropertyExt {
|
|
|
19
11
|
exit(_domNode: any, _element: any): void;
|
|
20
12
|
protected updateProgress(halflife: number, perc: number): void;
|
|
21
13
|
}
|
|
22
|
-
|
|
14
|
+
export interface ProgressBar {
|
|
15
|
+
halfLife(): number;
|
|
16
|
+
halfLife(_: number): this;
|
|
17
|
+
decay(): number;
|
|
18
|
+
decay(_: number): this;
|
|
19
|
+
size(): number;
|
|
20
|
+
size(_: number): this;
|
|
21
|
+
color(): string;
|
|
22
|
+
color(_: string): this;
|
|
23
|
+
blurBar(): boolean;
|
|
24
|
+
blurBar(_: boolean): this;
|
|
25
|
+
blurSize(): number;
|
|
26
|
+
blurSize(_: number): this;
|
|
27
|
+
blurColor(): string;
|
|
28
|
+
blurColor(_: string): this;
|
|
29
|
+
blurOpacity(): number;
|
|
30
|
+
blurOpacity(_: number): this;
|
|
31
|
+
}
|
package/types/PropertyExt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Class } from "./Class";
|
|
1
|
+
import { Class } from "./Class.ts";
|
|
2
2
|
export interface IAutoExpand extends PropertyExt {
|
|
3
3
|
owner(): PropertyExt;
|
|
4
4
|
owner(_: PropertyExt): this;
|
|
@@ -100,16 +100,4 @@ export declare class PropertyExt extends Class {
|
|
|
100
100
|
hashSum(ignore?: string[], more?: {}): string;
|
|
101
101
|
on(eventID: any, func: any, stopPropagation?: boolean): this;
|
|
102
102
|
}
|
|
103
|
-
export declare function publish(defaultValue: any, type?: PublishTypes, description?: string, set?: string[] | (() => string[] | Array<{
|
|
104
|
-
value: string;
|
|
105
|
-
text: string;
|
|
106
|
-
}>) | IPublishExt, ext?: IPublishExt): (target: any, key: string) => void;
|
|
107
|
-
export type publish<T, U> = {
|
|
108
|
-
(_: U): T;
|
|
109
|
-
(): U;
|
|
110
|
-
};
|
|
111
|
-
export declare function publishProxy(proxy: string, method?: string, defaultValue?: any, ext?: {
|
|
112
|
-
reset?: boolean;
|
|
113
|
-
}): (target: any, key: string) => void;
|
|
114
103
|
export {};
|
|
115
|
-
//# sourceMappingURL=PropertyExt.d.ts.map
|
package/types/ResizeSurface.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Surface } from "./Surface";
|
|
1
|
+
import { Surface } from "./Surface.ts";
|
|
2
2
|
import "../src/ResizeSurface.css";
|
|
3
3
|
export declare class ResizeSurface extends Surface {
|
|
4
4
|
protected handleWidth: any;
|
|
@@ -16,9 +16,8 @@ export declare class ResizeSurface extends Surface {
|
|
|
16
16
|
move(_: any): any;
|
|
17
17
|
update(domNode: any, element: any): void;
|
|
18
18
|
updateHandles(_domNode: any, _element: any): void;
|
|
19
|
-
allowResize: {
|
|
20
|
-
(): boolean;
|
|
21
|
-
(_: boolean): ResizeSurface;
|
|
22
|
-
};
|
|
23
19
|
}
|
|
24
|
-
|
|
20
|
+
export interface ResizeSurface {
|
|
21
|
+
allowResize(): boolean;
|
|
22
|
+
allowResize(_: boolean): this;
|
|
23
|
+
}
|
package/types/SVGWidget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISize, Widget } from "./Widget";
|
|
1
|
+
import { ISize, Widget } from "./Widget.ts";
|
|
2
2
|
type Point = {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
@@ -21,7 +21,6 @@ export declare class SVGGlowFilter {
|
|
|
21
21
|
}
|
|
22
22
|
export declare class SVGWidget extends Widget {
|
|
23
23
|
static _class: string;
|
|
24
|
-
_tag: any;
|
|
25
24
|
protected _boundingBox: any;
|
|
26
25
|
protected transition: any;
|
|
27
26
|
protected _drawStartPos: "center" | "origin";
|
|
@@ -75,4 +74,3 @@ export interface SVGWidget {
|
|
|
75
74
|
selectionGlowColor(_: string): this;
|
|
76
75
|
}
|
|
77
76
|
export {};
|
|
78
|
-
//# sourceMappingURL=SVGWidget.d.ts.map
|
package/types/SVGZoomWidget.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
-
import { IconBar, ToggleButton } from "./TitleBar";
|
|
1
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
2
|
+
import { IconBar, ToggleButton } from "./TitleBar.ts";
|
|
3
3
|
import "../src/SVGZoomWidget.css";
|
|
4
4
|
export type MouseMode = "zoom" | "marqueeSelection";
|
|
5
5
|
export declare class SVGZoomWidget extends SVGWidget {
|
|
@@ -71,4 +71,3 @@ export interface SVGZoomWidget {
|
|
|
71
71
|
mouseMode(_: MouseMode): this;
|
|
72
72
|
mouseMode(): MouseMode;
|
|
73
73
|
}
|
|
74
|
-
//# sourceMappingURL=SVGZoomWidget.d.ts.map
|
package/types/Shape.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
1
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
2
2
|
import "../src/Shape.css";
|
|
3
3
|
export declare class Shape extends SVGWidget {
|
|
4
4
|
protected _tooltipElement: any;
|
|
@@ -32,4 +32,3 @@ export interface Shape {
|
|
|
32
32
|
tooltip(): string;
|
|
33
33
|
tooltip(_: string): this;
|
|
34
34
|
}
|
|
35
|
-
//# sourceMappingURL=Shape.d.ts.map
|
package/types/Surface.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "d3-transition";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
3
3
|
import "../src/Surface.css";
|
|
4
4
|
export declare class Surface extends SVGWidget {
|
|
5
5
|
_origMenuParam: any;
|
|
@@ -18,53 +18,30 @@ export declare class Surface extends SVGWidget {
|
|
|
18
18
|
exit(domNode: any, element: any): void;
|
|
19
19
|
intersection(pointA: any, pointB: any): any;
|
|
20
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
21
|
}
|
|
70
|
-
|
|
22
|
+
export interface Surface {
|
|
23
|
+
showTitle(): boolean;
|
|
24
|
+
showTitle(_: boolean): this;
|
|
25
|
+
title(): string;
|
|
26
|
+
title(_: string): this;
|
|
27
|
+
titleFontSize(): string;
|
|
28
|
+
titleFontSize(_: string): this;
|
|
29
|
+
showIcon(): boolean;
|
|
30
|
+
showIcon(_: boolean): this;
|
|
31
|
+
icon_faChar(): string;
|
|
32
|
+
icon_faChar(_: string): this;
|
|
33
|
+
icon_shape(): string;
|
|
34
|
+
icon_shape(_: string): this;
|
|
35
|
+
content(): any;
|
|
36
|
+
content(_: any): this;
|
|
37
|
+
buttonAnnotations(): any[];
|
|
38
|
+
buttonAnnotations(_: any[]): this;
|
|
39
|
+
buttonGutter(): number;
|
|
40
|
+
buttonGutter(_: number): this;
|
|
41
|
+
showContent(): boolean;
|
|
42
|
+
showContent(_: boolean): this;
|
|
43
|
+
menu(): any[];
|
|
44
|
+
menu(_: any[]): this;
|
|
45
|
+
menuPadding(): number;
|
|
46
|
+
menuPadding(_: number): this;
|
|
47
|
+
}
|
package/types/Text.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SVGWidget } from "./SVGWidget";
|
|
1
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
2
2
|
import "../src/Text.css";
|
|
3
3
|
export declare class Text extends SVGWidget {
|
|
4
4
|
private _textElement;
|
|
@@ -35,4 +35,3 @@ export interface Text {
|
|
|
35
35
|
rotation(): number;
|
|
36
36
|
rotation(_: number): Text;
|
|
37
37
|
}
|
|
38
|
-
//# sourceMappingURL=Text.d.ts.map
|
package/types/TextBox.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Shape } from "./Shape";
|
|
2
|
-
import { SVGWidget } from "./SVGWidget";
|
|
3
|
-
import { Text } from "./Text";
|
|
4
|
-
import { ISize } from "./Widget";
|
|
1
|
+
import { Shape } from "./Shape.ts";
|
|
2
|
+
import { SVGWidget } from "./SVGWidget.ts";
|
|
3
|
+
import { Text } from "./Text.ts";
|
|
4
|
+
import { ISize } from "./Widget.ts";
|
|
5
5
|
import "../src/TextBox.css";
|
|
6
6
|
export declare class TextBox extends SVGWidget {
|
|
7
7
|
protected _shape: Shape;
|
|
@@ -21,57 +21,32 @@ export declare class TextBox extends SVGWidget {
|
|
|
21
21
|
exit(domNode: any, element: any): void;
|
|
22
22
|
click(): void;
|
|
23
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
24
|
}
|
|
77
|
-
|
|
25
|
+
export interface TextBox {
|
|
26
|
+
text(): string;
|
|
27
|
+
text(_: string): this;
|
|
28
|
+
fontSize(): number;
|
|
29
|
+
fontSize(_: number): this;
|
|
30
|
+
shape_colorFill(): string;
|
|
31
|
+
shape_colorFill(_: string): this;
|
|
32
|
+
shape_colorStroke(): string;
|
|
33
|
+
shape_colorStroke(_: string): this;
|
|
34
|
+
text_colorFill(): string;
|
|
35
|
+
text_colorFill(_: string): this;
|
|
36
|
+
text_fontFamily(): string;
|
|
37
|
+
text_fontFamily(_: string): this;
|
|
38
|
+
paddingLeft(): number;
|
|
39
|
+
paddingLeft(_: number): this;
|
|
40
|
+
paddingRight(): number;
|
|
41
|
+
paddingRight(_: number): this;
|
|
42
|
+
paddingTop(): number;
|
|
43
|
+
paddingTop(_: number): this;
|
|
44
|
+
paddingBottom(): number;
|
|
45
|
+
paddingBottom(_: number): this;
|
|
46
|
+
anchor(): "start" | "middle" | "end";
|
|
47
|
+
anchor(_: "start" | "middle" | "end"): this;
|
|
48
|
+
fixedSize(): ISize;
|
|
49
|
+
fixedSize(_: ISize): this;
|
|
50
|
+
tooltip(): string;
|
|
51
|
+
tooltip(_: string): this;
|
|
52
|
+
}
|
package/types/TitleBar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTMLWidget } from "./HTMLWidget";
|
|
2
|
-
import { Widget } from "./Widget";
|
|
1
|
+
import { HTMLWidget } from "./HTMLWidget.ts";
|
|
2
|
+
import { Widget } from "./Widget.ts";
|
|
3
3
|
import "../src/TitleBar.css";
|
|
4
4
|
export declare class Button extends HTMLWidget {
|
|
5
5
|
private _enabled;
|
|
@@ -115,4 +115,3 @@ export interface TitleBar {
|
|
|
115
115
|
descriptionFontSize(): number;
|
|
116
116
|
descriptionFontSize(_: number): this;
|
|
117
117
|
}
|
|
118
|
-
//# sourceMappingURL=TitleBar.d.ts.map
|
package/types/Transition.d.ts
CHANGED
package/types/Utility.d.ts
CHANGED
package/types/Widget.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "d3-transition";
|
|
2
|
-
import { Field, Grid } from "./Database";
|
|
3
|
-
import { PropertyExt } from "./PropertyExt";
|
|
4
|
-
import { TextRect, TextSize } from "./Utility";
|
|
2
|
+
import { Field, Grid } from "./Database.ts";
|
|
3
|
+
import { PropertyExt } from "./PropertyExt.ts";
|
|
4
|
+
import { TextRect, TextSize } from "./Utility.ts";
|
|
5
5
|
import "../src/Widget.css";
|
|
6
6
|
export type IPrimative = boolean | number | string | object;
|
|
7
7
|
export type IFieldType = "boolean" | "number" | "string" | "dataset" | "object" | "any";
|
|
@@ -34,7 +34,7 @@ export interface DataMetaT {
|
|
|
34
34
|
sum?: number;
|
|
35
35
|
}
|
|
36
36
|
export declare abstract class Widget extends PropertyExt {
|
|
37
|
-
_idSeed: string;
|
|
37
|
+
static _idSeed: string;
|
|
38
38
|
protected _tag: string;
|
|
39
39
|
protected _isRootNode: boolean;
|
|
40
40
|
protected _db: Grid;
|
|
@@ -151,4 +151,3 @@ export interface Widget {
|
|
|
151
151
|
[classID: string]: boolean;
|
|
152
152
|
}): this;
|
|
153
153
|
}
|
|
154
|
-
//# sourceMappingURL=Widget.d.ts.map
|
package/types/WidgetArray.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Widget } from "./Widget";
|
|
1
|
+
import { Widget } from "./Widget.ts";
|
|
3
2
|
export declare class WidgetArray extends Widget {
|
|
4
|
-
content: publish<this, Widget[]>;
|
|
5
3
|
constructor();
|
|
6
4
|
}
|
|
7
|
-
|
|
5
|
+
export interface WidgetArray {
|
|
6
|
+
content(): Widget[];
|
|
7
|
+
content(_: Widget[]): this;
|
|
8
|
+
}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/common";
|
|
2
|
-
export declare const PKG_VERSION = "
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
4
|
-
//# sourceMappingURL=__package__.d.ts.map
|
|
2
|
+
export declare const PKG_VERSION = "3.1.0";
|
|
3
|
+
export declare const BUILD_VERSION = "2.107.0";
|
package/types/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./CanvasWidget";
|
|
3
|
-
export * from "./Class";
|
|
4
|
-
import * as Database from "./Database";
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./CanvasWidget.ts";
|
|
3
|
+
export * from "./Class.ts";
|
|
4
|
+
import * as Database from "./Database.ts";
|
|
5
5
|
export { Database };
|
|
6
|
-
export * from "./Entity";
|
|
7
|
-
export * from "./EntityCard";
|
|
8
|
-
export * from "./EntityPin";
|
|
9
|
-
export * from "./EntityRect";
|
|
10
|
-
export * from "./EntityVertex";
|
|
11
|
-
export * from "./FAChar";
|
|
12
|
-
export * from "./HTMLWidget";
|
|
13
|
-
export * from "./Icon";
|
|
14
|
-
export * from "./IList";
|
|
15
|
-
export * from "./Image";
|
|
16
|
-
export * from "./IMenu";
|
|
17
|
-
export * from "./List";
|
|
18
|
-
export * from "./Menu";
|
|
19
|
-
import * as Palette from "./Palette";
|
|
6
|
+
export * from "./Entity.ts";
|
|
7
|
+
export * from "./EntityCard.ts";
|
|
8
|
+
export * from "./EntityPin.ts";
|
|
9
|
+
export * from "./EntityRect.ts";
|
|
10
|
+
export * from "./EntityVertex.ts";
|
|
11
|
+
export * from "./FAChar.ts";
|
|
12
|
+
export * from "./HTMLWidget.ts";
|
|
13
|
+
export * from "./Icon.ts";
|
|
14
|
+
export * from "./IList.ts";
|
|
15
|
+
export * from "./Image.ts";
|
|
16
|
+
export * from "./IMenu.ts";
|
|
17
|
+
export * from "./List.ts";
|
|
18
|
+
export * from "./Menu.ts";
|
|
19
|
+
import * as Palette from "./Palette.ts";
|
|
20
20
|
export { Palette };
|
|
21
|
-
import * as Platform from "./Platform";
|
|
21
|
+
import * as Platform from "./Platform.ts";
|
|
22
22
|
export { Platform };
|
|
23
|
-
export * from "./ProgressBar";
|
|
24
|
-
export * from "./PropertyExt";
|
|
25
|
-
export * from "./ResizeSurface";
|
|
26
|
-
export * from "./Shape";
|
|
27
|
-
export * from "./Surface";
|
|
28
|
-
export * from "./SVGWidget";
|
|
29
|
-
export * from "./SVGZoomWidget";
|
|
30
|
-
export * from "./Text";
|
|
31
|
-
export * from "./TextBox";
|
|
32
|
-
export * from "./TitleBar";
|
|
33
|
-
import * as Utility from "./Utility";
|
|
23
|
+
export * from "./ProgressBar.ts";
|
|
24
|
+
export * from "./PropertyExt.ts";
|
|
25
|
+
export * from "./ResizeSurface.ts";
|
|
26
|
+
export * from "./Shape.ts";
|
|
27
|
+
export * from "./Surface.ts";
|
|
28
|
+
export * from "./SVGWidget.ts";
|
|
29
|
+
export * from "./SVGZoomWidget.ts";
|
|
30
|
+
export * from "./Text.ts";
|
|
31
|
+
export * from "./TextBox.ts";
|
|
32
|
+
export * from "./TitleBar.ts";
|
|
33
|
+
import * as Utility from "./Utility.ts";
|
|
34
34
|
export { Utility };
|
|
35
|
-
export * from "./Widget";
|
|
36
|
-
export * from "./WidgetArray";
|
|
35
|
+
export * from "./Widget.ts";
|
|
36
|
+
export * from "./WidgetArray.ts";
|
|
37
37
|
export * from "d3-array";
|
|
38
38
|
export * from "d3-brush";
|
|
39
39
|
export * from "d3-collection";
|
|
@@ -50,4 +50,3 @@ export * from "d3-time-format";
|
|
|
50
50
|
export * from "d3-transition";
|
|
51
51
|
export * from "d3-zoom";
|
|
52
52
|
export declare const d3Event: () => any;
|
|
53
|
-
//# sourceMappingURL=index.d.ts.map
|