@yamcs/opi 1.3.14 → 1.4.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.
Files changed (70) hide show
  1. package/README.md +0 -66
  2. package/dist/opi.js +20 -19
  3. package/dist/opi.js.map +4 -4
  4. package/dist/opi.standalone.js +19 -18
  5. package/dist/types/Bevel.d.ts +16 -0
  6. package/dist/types/DecimalFormat.d.ts +8 -0
  7. package/dist/types/Display.d.ts +84 -2
  8. package/dist/types/EventHandler.d.ts +10 -0
  9. package/dist/types/Font.d.ts +2 -0
  10. package/dist/types/Graphics.d.ts +69 -6
  11. package/dist/types/HitRegionSpecification.d.ts +1 -0
  12. package/dist/types/Widget.d.ts +11 -0
  13. package/dist/types/XMLNode.d.ts +12 -0
  14. package/dist/types/actions/Action.d.ts +2 -0
  15. package/dist/types/actions/ExecuteCommandAction.d.ts +1 -1
  16. package/dist/types/actions/ExecuteJavaScriptAction.d.ts +1 -1
  17. package/dist/types/actions/OpenDisplayAction.d.ts +1 -1
  18. package/dist/types/actions/OpenFileAction.d.ts +1 -1
  19. package/dist/types/actions/OpenWebpageAction.d.ts +1 -1
  20. package/dist/types/actions/PlaySoundAction.d.ts +1 -1
  21. package/dist/types/actions/RunCommandAction.d.ts +1 -1
  22. package/dist/types/actions/RunProcedureAction.d.ts +1 -1
  23. package/dist/types/actions/RunStackAction.d.ts +1 -1
  24. package/dist/types/actions/WritePVAction.d.ts +1 -1
  25. package/dist/types/actions.d.ts +1 -1
  26. package/dist/types/index.d.ts +1 -1
  27. package/dist/types/positioning.d.ts +14 -0
  28. package/dist/types/properties.d.ts +2 -0
  29. package/dist/types/pv/LocalPV.d.ts +2 -2
  30. package/dist/types/pv/PVEngine.d.ts +23 -1
  31. package/dist/types/pv/formulas/parser.d.ts +3 -3
  32. package/dist/types/scale.d.ts +22 -0
  33. package/dist/types/scripting/ArrayWrapper.d.ts +21 -0
  34. package/dist/types/scripting/Java.d.ts +1 -1
  35. package/dist/types/scripting/PVUtil.d.ts +1 -1
  36. package/dist/types/scripting/PVWrapper.d.ts +1 -0
  37. package/dist/types/scripting/WidgetWrapper.d.ts +2 -0
  38. package/dist/types/widgets/controls/ActionButton.d.ts +7 -0
  39. package/dist/types/widgets/controls/BooleanButton.d.ts +4 -0
  40. package/dist/types/widgets/controls/BooleanSwitch.d.ts +4 -0
  41. package/dist/types/widgets/controls/CheckBox.d.ts +2 -0
  42. package/dist/types/widgets/controls/ImageBooleanButton.d.ts +16 -0
  43. package/dist/types/widgets/controls/Knob.d.ts +64 -0
  44. package/dist/types/widgets/controls/ScaledSlider.d.ts +81 -0
  45. package/dist/types/widgets/controls/Spinner.d.ts +49 -0
  46. package/dist/types/widgets/controls/TextInput.d.ts +17 -2
  47. package/dist/types/widgets/controls/ThumbWheel.d.ts +42 -0
  48. package/dist/types/widgets/figures/Ramp.d.ts +1 -1
  49. package/dist/types/widgets/figures/Scale.d.ts +64 -0
  50. package/dist/types/widgets/graphics/ImageWidget.d.ts +56 -0
  51. package/dist/types/widgets/graphics/Label.d.ts +36 -0
  52. package/dist/types/widgets/graphics/Polygon.d.ts +30 -0
  53. package/dist/types/widgets/graphics/Polyline.d.ts +36 -0
  54. package/dist/types/widgets/monitors/Gauge.d.ts +6 -0
  55. package/dist/types/widgets/monitors/ImageBooleanIndicator.d.ts +18 -0
  56. package/dist/types/widgets/monitors/IntensityGraph.d.ts +46 -0
  57. package/dist/types/widgets/monitors/IntensityGraphRegion.d.ts +15 -0
  58. package/dist/types/widgets/monitors/Meter.d.ts +9 -0
  59. package/dist/types/widgets/monitors/TextUpdate.d.ts +10 -0
  60. package/dist/types/widgets/monitors/xygraph/Axis.d.ts +1 -1
  61. package/dist/types/widgets/others/AbstractContainerWidget.d.ts +8 -0
  62. package/dist/types/widgets/others/ArrayWidget.d.ts +97 -0
  63. package/dist/types/widgets/others/Connection.d.ts +58 -0
  64. package/dist/types/widgets/others/DisplayWidget.d.ts +3 -1
  65. package/dist/types/widgets/others/GridLayout.d.ts +25 -0
  66. package/dist/types/widgets/others/GroupingContainer.d.ts +60 -0
  67. package/dist/types/widgets/others/LinkingContainer.d.ts +25 -3
  68. package/dist/types/widgets/others/SashContainer.d.ts +29 -0
  69. package/package.json +2 -2
  70. package/dist/types/widgets/graphics/ImageHelper.d.ts +0 -3
package/README.md CHANGED
@@ -17,72 +17,6 @@ Compared to the Yamcs Studio desktop software, this library has these limitation
17
17
  - No access to Java code from within scripts
18
18
  - Scripts cannot access the local file system
19
19
 
20
- And as this library is in incubation phase, many widgets are not or not fully supported.
21
-
22
- ## Widget Support
23
-
24
- Ticked widgets are at least partially implemented.
25
-
26
- ### Controls
27
-
28
- * [x] Action Button
29
- * [x] Boolean Button
30
- * [x] Boolean Switch
31
- * [x] Check Box
32
- * [x] Choice Button
33
- * [x] Combo
34
- * [x] Image Boolean Button
35
- * [ ] Knob
36
- * [x] Menu Button
37
- * [x] Native Button
38
- * [x] Radio Box
39
- * [x] Scrollbar
40
- * [ ] Spinner
41
- * [ ] Scaled Slider
42
- * [x] Text Input
43
- * [ ] Thumb Wheel
44
-
45
-
46
- ### Graphics
47
-
48
- * [x] Arc
49
- * [x] Ellipse
50
- * [x] Image
51
- * [x] Label
52
- * [x] Polygon
53
- * [x] Polyline
54
- * [x] Rectangle
55
- * [x] Rounded Rectangle
56
-
57
-
58
- ### Monitors
59
-
60
- * [x] Byte Monitor
61
- * [x] Gauge
62
- * [x] Image Boolean Indicator
63
- * [x] Intensity Graph
64
- * [x] LED
65
- * [x] Meter
66
- * [x] Progress Bar
67
- * [x] Tank
68
- * [x] Text Update
69
- * [x] Thermometer
70
- * [x] XY Graph
71
-
72
-
73
- ### Others
74
-
75
- * [ ] Array
76
- * [x] Connection
77
- * [x] Display
78
- * [ ] Grid Layout
79
- * [x] Grouping Container
80
- * [x] Linking Container
81
- * [ ] Sash Container
82
- * [x] Tabbed Container
83
- * [x] Table
84
- * [x] Web Browser
85
-
86
20
 
87
21
  ## Usage
88
22