@yamcs/opi 1.2.11 → 1.2.12
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 +1 -1
- package/dist/opi.js.map +1 -1
- package/dist/types/Display.d.ts +3 -1
- package/dist/types/pv/Sample.d.ts +4 -0
- package/dist/types/widgets/controls/TextInput.d.ts +1 -0
- package/dist/types/widgets/monitors/TextUpdate.d.ts +1 -0
- package/dist/types/widgets/others/DisplayWidget.d.ts +4 -1
- package/package.json +2 -2
package/dist/types/Display.d.ts
CHANGED
|
@@ -99,7 +99,9 @@ export declare class Display {
|
|
|
99
99
|
createWidget(kind: string, parent: AbstractContainerWidget): LinkingContainer | ActionButton | Arc | BooleanButton | BooleanSwitch | ByteMonitor | CheckBox | ChoiceButton | Combo | Ellipse | Gauge | GroupingContainer | ImageWidget | ImageBooleanButton | ImageBooleanIndicator | IntensityGraph | Label | LED | MenuButton | Meter | Polygon | Polyline | ProgressBar | RadioBox | Rectangle | RoundedRectangle | Scrollbar | TabbedContainer | Table | Tank | TextInput | TextUpdate | Thermometer | WebBrowser | XYGraph | undefined;
|
|
100
100
|
destroy(): void;
|
|
101
101
|
resolvePath(path: string, widget?: Widget): string;
|
|
102
|
-
setSource(href: string
|
|
102
|
+
setSource(href: string, args?: {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
}): Promise<void>;
|
|
103
105
|
private setSourceString;
|
|
104
106
|
getRefreshCycle(): number;
|
|
105
107
|
setRefreshCycle(refreshCycle: number): void;
|
|
@@ -5,7 +5,10 @@ import { AutoScaleWidgets } from "../../scale";
|
|
|
5
5
|
import { XMLNode } from "../../XMLNode";
|
|
6
6
|
import { AbstractContainerWidget } from "./AbstractContainerWidget";
|
|
7
7
|
export declare class DisplayWidget extends AbstractContainerWidget {
|
|
8
|
-
|
|
8
|
+
private displayArgs;
|
|
9
|
+
constructor(display: Display, parent?: AbstractContainerWidget, args?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
});
|
|
9
12
|
parseNode(node: XMLNode): void;
|
|
10
13
|
draw(g: Graphics): void;
|
|
11
14
|
measureContentBounds(scaled: boolean): Bounds;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamcs/opi",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"description": "OPI Display Renderer",
|
|
5
5
|
"author": "Yamcs Team <yamcs@spaceapplications.com>",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"morgan": "^1.10.0",
|
|
30
30
|
"nunjucks": "^3.2.2",
|
|
31
31
|
"peggy": "3.0.2",
|
|
32
|
-
"rollup": "^
|
|
32
|
+
"rollup": "^4.12.0",
|
|
33
33
|
"rollup-plugin-copy": "^3.3.0",
|
|
34
34
|
"rollup-plugin-typescript2": "^0.35.0",
|
|
35
35
|
"typescript": "^5.1.3"
|