js-dos 7.4.1 → 7.4.4

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.
@@ -1,2 +1,4 @@
1
1
  import { Props } from "../player-app";
2
- export declare function ActionHide(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
2
+ export declare function ActionHide(props: Props & {
3
+ class: string;
4
+ }): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -1,2 +1,4 @@
1
1
  import { Props } from "../player-app";
2
- export declare function ActionSaveOrExit(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
2
+ export declare function ActionSaveOrExit(props: Props & {
3
+ class: string;
4
+ }): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,2 @@
1
+ import { Props } from "../player-app";
2
+ export declare function SideBarCpuControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,13 @@
1
+ import { JSX } from "preact";
2
+ export interface HorizontalSliderProps {
3
+ class?: string;
4
+ minValue: number;
5
+ maxValue: number;
6
+ maxLabel?: string;
7
+ initialValue: number;
8
+ onChange: (value: number) => void;
9
+ icon: JSX.Element;
10
+ registerListner: (fn: (value: number) => void) => void;
11
+ removeListener: (fn: (value: number) => void) => void;
12
+ }
13
+ export declare function HorizontalSlider(props: HorizontalSliderProps): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,3 @@
1
+ import { Props } from "../player-app";
2
+ export declare function ActionBarScaleControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
3
+ export declare function SideBarScaleControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,3 @@
1
+ import { Props } from "../player-app";
2
+ export declare function ActionBarSensitivityControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
3
+ export declare function SideBarSensitivityControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,2 @@
1
+ import { Props } from "../player-app";
2
+ export declare function SyncMouseControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,12 @@
1
+ import { JSX } from "preact";
2
+ export interface VerticalSliderProps {
3
+ class?: string;
4
+ minValue: number;
5
+ maxValue: number;
6
+ initialValue: number;
7
+ onChange: (value: number) => void;
8
+ icon: JSX.Element;
9
+ registerListner: (fn: (value: number) => void) => void;
10
+ removeListener: (fn: (value: number) => void) => void;
11
+ }
12
+ export declare function VerticalSlider(props: VerticalSliderProps): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -0,0 +1,3 @@
1
+ import { Props } from "../player-app";
2
+ export declare function ActionBarVolumeControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
3
+ export declare function SideBarVolumeControl(props: Props): import("preact").VNode<any> | import("preact").VNode<any>[];
@@ -83,4 +83,13 @@ export declare const Icons: {
83
83
  FloppyDisk: (props: {
84
84
  class: string;
85
85
  }) => import("preact").VNode<any> | import("preact").VNode<any>[];
86
+ Online: (props: {
87
+ class: string;
88
+ }) => import("preact").VNode<any> | import("preact").VNode<any>[];
89
+ Offline: (props: {
90
+ class: string;
91
+ }) => import("preact").VNode<any> | import("preact").VNode<any>[];
92
+ InformationCircle: (props: {
93
+ class: string;
94
+ }) => import("preact").VNode<any> | import("preact").VNode<any>[];
86
95
  };
@@ -17,6 +17,8 @@ export interface DosPlayerOptions extends DosOptions {
17
17
  noSideBar?: boolean;
18
18
  noFullscreen?: boolean;
19
19
  noSocialLinks?: boolean;
20
+ preventUnload?: boolean;
21
+ withNetworkingApi?: boolean;
20
22
  withExperimentalApi?: boolean;
21
23
  }
22
24
  export declare type DosPlayerFactoryType = (root: HTMLDivElement, options?: DosPlayerOptions) => DosPlayer;