@yamcs/opi 1.3.9 → 1.3.11
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/opi.js +9 -9
- package/dist/opi.js.map +3 -3
- package/dist/types/Widget.d.ts +4 -1
- package/dist/types/scripting/PVUtil.d.ts +2 -0
- package/dist/types/widgets/monitors/ProgressBar.d.ts +2 -0
- package/dist/types/widgets/monitors/Tank.d.ts +2 -0
- package/dist/types/widgets/monitors/Thermometer.d.ts +2 -0
- package/package.json +5 -5
package/dist/types/Widget.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Action } from "./actions/Action";
|
|
|
3
3
|
import { Color } from "./Color";
|
|
4
4
|
import { Display } from "./Display";
|
|
5
5
|
import { Graphics } from "./Graphics";
|
|
6
|
-
import { Bounds } from "./positioning";
|
|
6
|
+
import { Bounds, Dimension } from "./positioning";
|
|
7
7
|
import { PropertyListener, PropertySet } from "./properties";
|
|
8
8
|
import { PV } from "./pv/PV";
|
|
9
9
|
import { RuleSet } from "./rules";
|
|
@@ -20,6 +20,9 @@ export declare abstract class Widget {
|
|
|
20
20
|
height: number;
|
|
21
21
|
private _value;
|
|
22
22
|
protected fillRoundRectangleBackgroundBorder: boolean;
|
|
23
|
+
protected customSize?: Dimension;
|
|
24
|
+
private customHolderWidth?;
|
|
25
|
+
private customHolderHeight?;
|
|
23
26
|
private holderRegion?;
|
|
24
27
|
properties: PropertySet;
|
|
25
28
|
readonly vars: Map<string, any>;
|
|
@@ -9,7 +9,9 @@ export declare class PVUtil {
|
|
|
9
9
|
createPV(pvName: string, widget: WidgetWrapper): PVWrapper;
|
|
10
10
|
writePV(pvName: string, value: any, timeout?: number): void;
|
|
11
11
|
getDouble(pv: PVWrapper): number;
|
|
12
|
+
getDoubleArray(pv: PVWrapper): number[];
|
|
12
13
|
getLong(pv: PVWrapper): number;
|
|
14
|
+
getLongArray(pv: PVWrapper): number[];
|
|
13
15
|
getString(pv: PVWrapper): string;
|
|
14
16
|
getStringArray(pv: PVWrapper): string[];
|
|
15
17
|
getTimeInMilliseconds(pv: PVWrapper): number;
|
|
@@ -5,7 +5,9 @@ import { Graphics } from "../../Graphics";
|
|
|
5
5
|
import { Widget } from "../../Widget";
|
|
6
6
|
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class ProgressBar extends Widget {
|
|
8
|
+
private tooltipRegion?;
|
|
8
9
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
10
|
+
init(): void;
|
|
9
11
|
draw(g: Graphics): void;
|
|
10
12
|
private drawVertical;
|
|
11
13
|
private drawVerticalMarkers;
|
|
@@ -5,7 +5,9 @@ import { Graphics } from "../../Graphics";
|
|
|
5
5
|
import { Widget } from "../../Widget";
|
|
6
6
|
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Tank extends Widget {
|
|
8
|
+
private tooltipRegion?;
|
|
8
9
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
10
|
+
init(): void;
|
|
9
11
|
draw(g: Graphics): void;
|
|
10
12
|
private drawMarkers;
|
|
11
13
|
private drawTank;
|
|
@@ -5,7 +5,9 @@ import { Graphics } from "../../Graphics";
|
|
|
5
5
|
import { Widget } from "../../Widget";
|
|
6
6
|
import { AbstractContainerWidget } from "../others/AbstractContainerWidget";
|
|
7
7
|
export declare class Thermometer extends Widget {
|
|
8
|
+
private tooltipRegion?;
|
|
8
9
|
constructor(display: Display, parent: AbstractContainerWidget);
|
|
10
|
+
init(): void;
|
|
9
11
|
draw(g: Graphics): void;
|
|
10
12
|
private drawPipe;
|
|
11
13
|
private drawMarkers;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamcs/opi",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "OPI Display Renderer",
|
|
5
5
|
"author": "Yamcs Team <yamcs@spaceapplications.com>",
|
|
6
6
|
"repository": {
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"dist/"
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^
|
|
30
|
-
"esbuild": "^0.
|
|
29
|
+
"@types/node": "^24.1.0",
|
|
30
|
+
"esbuild": "^0.28.0",
|
|
31
31
|
"esbuild-plugin-copy": "^2.1.1",
|
|
32
32
|
"express": "^5.2.1",
|
|
33
33
|
"morgan": "^1.10.0",
|
|
34
34
|
"nunjucks": "^3.2.2",
|
|
35
|
-
"peggy": "5.0
|
|
35
|
+
"peggy": "5.1.0",
|
|
36
36
|
"prettier": "^3.5.3",
|
|
37
37
|
"tslib": "^2.6.3",
|
|
38
|
-
"typescript": "^
|
|
38
|
+
"typescript": "^6.0.3"
|
|
39
39
|
}
|
|
40
40
|
}
|