@yamcs/opi 1.3.8 → 1.3.10-patch.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/dist/opi.js +16 -16
- package/dist/opi.js.map +3 -3
- package/dist/types/Font.d.ts +10 -0
- package/dist/types/Widget.d.ts +4 -1
- package/dist/types/pv/formulas/parser.d.ts +5 -5
- package/package.json +4 -4
package/dist/types/Font.d.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export declare class Font {
|
|
2
2
|
name: string;
|
|
3
3
|
style: number;
|
|
4
|
+
/**
|
|
5
|
+
* If true, use legacy font-sizing when converting points to pixels.
|
|
6
|
+
* This is less compatible with Yamcs Studio, but is preserved for
|
|
7
|
+
* older displays that may have been designed for how to look on web
|
|
8
|
+
* rather than on studio.
|
|
9
|
+
*
|
|
10
|
+
* Set this static property to true prior to creating a Display
|
|
11
|
+
* instance.
|
|
12
|
+
*/
|
|
13
|
+
static LEGACY_FONT_SIZING: boolean;
|
|
4
14
|
static ARIAL_9: Font;
|
|
5
15
|
static ARIAL_10: Font;
|
|
6
16
|
static ARIAL_11: Font;
|
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>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const peg$allowedStartRules: string[];
|
|
2
|
-
declare
|
|
3
|
-
|
|
2
|
+
declare class peg$SyntaxError extends SyntaxError {
|
|
3
|
+
static buildMessage(expected: any, found: any): string;
|
|
4
4
|
constructor(message: any, expected: any, found: any, location: any);
|
|
5
|
+
expected: any;
|
|
6
|
+
found: any;
|
|
7
|
+
location: any;
|
|
5
8
|
format(sources: any): string;
|
|
6
9
|
}
|
|
7
|
-
declare namespace peg$SyntaxError {
|
|
8
|
-
function buildMessage(expected: any, found: any): string;
|
|
9
|
-
}
|
|
10
10
|
declare function peg$parse(input: any, options: any): any;
|
|
11
11
|
export { peg$allowedStartRules as StartRules, peg$SyntaxError as SyntaxError, peg$parse as parse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamcs/opi",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10-patch.1",
|
|
4
4
|
"description": "OPI Display Renderer",
|
|
5
5
|
"author": "Yamcs Team <yamcs@spaceapplications.com>",
|
|
6
6
|
"repository": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.11.15",
|
|
30
|
-
"esbuild": "^0.
|
|
30
|
+
"esbuild": "^0.27.3",
|
|
31
31
|
"esbuild-plugin-copy": "^2.1.1",
|
|
32
|
-
"express": "^
|
|
32
|
+
"express": "^5.2.1",
|
|
33
33
|
"morgan": "^1.10.0",
|
|
34
34
|
"nunjucks": "^3.2.2",
|
|
35
|
-
"peggy": "
|
|
35
|
+
"peggy": "5.0.6",
|
|
36
36
|
"prettier": "^3.5.3",
|
|
37
37
|
"tslib": "^2.6.3",
|
|
38
38
|
"typescript": "^5.4.5"
|