@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-3.4/Entity.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Icon } from "./Icon";
|
|
2
|
-
import { Shape } from "./Shape";
|
|
3
|
-
import { SVGWidget } from "./SVGWidget";
|
|
4
|
-
import { Text } from "./Text";
|
|
5
|
-
import { BBox, Widget } from "./Widget";
|
|
6
|
-
export interface IAnnotation {
|
|
7
|
-
faChar: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
shape_colorFill?: string;
|
|
10
|
-
shape_colorStroke?: string;
|
|
11
|
-
image_colorFill?: string;
|
|
12
|
-
shape?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare class Entity extends SVGWidget {
|
|
15
|
-
protected _icon_widget: Icon;
|
|
16
|
-
protected _background_widget: Shape;
|
|
17
|
-
protected _title_widget: Text;
|
|
18
|
-
protected _desc_widget: Text;
|
|
19
|
-
protected _annotation_widgets: {
|
|
20
|
-
[idx: number]: {
|
|
21
|
-
widget: SVGWidget;
|
|
22
|
-
bbox: BBox;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
protected _element_anno: any;
|
|
26
|
-
protected _element_background: any;
|
|
27
|
-
protected _element_desc: any;
|
|
28
|
-
protected _element_icon: any;
|
|
29
|
-
protected _element_title: any;
|
|
30
|
-
private _annotationLocal;
|
|
31
|
-
constructor();
|
|
32
|
-
getAnnotationsBBox(): BBox;
|
|
33
|
-
enter(domNode: any, element: any): void;
|
|
34
|
-
update(domNode: any, element: any): void;
|
|
35
|
-
exit(domNode: any, element: any): void;
|
|
36
|
-
moveAnnotations(x_offset: number, y_offset: number): void;
|
|
37
|
-
render(callback?: (w: Widget) => void): this;
|
|
38
|
-
}
|
|
39
|
-
export interface Entity {
|
|
40
|
-
arrowHeight(): number;
|
|
41
|
-
arrowHeight(_: number): this;
|
|
42
|
-
arrowWidth(): number;
|
|
43
|
-
arrowWidth(_: number): this;
|
|
44
|
-
cornerRadius(): number;
|
|
45
|
-
cornerRadius(_: number): this;
|
|
46
|
-
padding(): number;
|
|
47
|
-
padding(_: number): this;
|
|
48
|
-
paddingPercent(): number;
|
|
49
|
-
paddingPercent(_: number): this;
|
|
50
|
-
annotationIcons(): IAnnotation[];
|
|
51
|
-
annotationIcons(_: IAnnotation[]): this;
|
|
52
|
-
annotationDiameter(): number;
|
|
53
|
-
annotationDiameter(_: number): this;
|
|
54
|
-
annotationSpacing(): number;
|
|
55
|
-
annotationSpacing(_: number): this;
|
|
56
|
-
annotationPaddingPercent(): number;
|
|
57
|
-
annotationPaddingPercent(_: number): this;
|
|
58
|
-
icon(): string;
|
|
59
|
-
icon(_: string): this;
|
|
60
|
-
iconColor(): string;
|
|
61
|
-
iconColor(_: string): this;
|
|
62
|
-
iconDiameter(): number;
|
|
63
|
-
iconDiameter(_: number): this;
|
|
64
|
-
iconPaddingPercent(): number;
|
|
65
|
-
iconPaddingPercent(_: number): this;
|
|
66
|
-
description(): string;
|
|
67
|
-
description(_: string): this;
|
|
68
|
-
descriptionColor(): string;
|
|
69
|
-
descriptionColor(_: string): this;
|
|
70
|
-
descriptionFontFamily(): string;
|
|
71
|
-
descriptionFontFamily(_: string): this;
|
|
72
|
-
descriptionFontSize(): number;
|
|
73
|
-
descriptionFontSize(_: number): this;
|
|
74
|
-
title(): string;
|
|
75
|
-
title(_: string): this;
|
|
76
|
-
titleColor(): string;
|
|
77
|
-
titleColor(_: string): this;
|
|
78
|
-
titleFontFamily(): string;
|
|
79
|
-
titleFontFamily(_: string): this;
|
|
80
|
-
titleFontSize(): number;
|
|
81
|
-
titleFontSize(_: number): this;
|
|
82
|
-
backgroundShape(): string;
|
|
83
|
-
backgroundShape(_: string): this;
|
|
84
|
-
backgroundColorFill(): string;
|
|
85
|
-
backgroundColorFill(_: string): this;
|
|
86
|
-
backgroundColorStroke(): string;
|
|
87
|
-
backgroundColorStroke(_: string): this;
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=Entity.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Entity } from "./Entity";
|
|
2
|
-
export declare class EntityCard extends Entity {
|
|
3
|
-
protected _element_textbox: any;
|
|
4
|
-
constructor();
|
|
5
|
-
enter(domNode: any, element: any): void;
|
|
6
|
-
update(): void;
|
|
7
|
-
}
|
|
8
|
-
export interface EntityCard {
|
|
9
|
-
fixedWidth(): number;
|
|
10
|
-
fixedWidth(_: number): this;
|
|
11
|
-
fixedHeight(): number;
|
|
12
|
-
fixedHeight(_: number): this;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=EntityCard.d.ts.map
|
package/types-3.4/EntityPin.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=EntityPin.d.ts.map
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=EntityRect.d.ts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=EntityVertex.d.ts.map
|