@viasoftbr/shared-ui 0.0.4 → 0.0.6
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/components/encoder/DvB.d.ts +5 -2
- package/dist/components/encoder/Livecast.d.ts +4 -2
- package/dist/components/index.d.ts +2 -3
- package/dist/components/network/index.d.ts +5 -4
- package/dist/components.cjs +318 -384
- package/dist/components.js +329 -395
- package/dist/context/AuthContext.d.ts +10 -2
- package/dist/context/ThemeContext.d.ts +3 -1
- package/dist/context/index.d.ts +3 -3
- package/dist/context.cjs +52 -91
- package/dist/context.js +54 -93
- package/dist/hooks.cjs +0 -73
- package/dist/hooks.js +0 -63
- package/dist/index.cjs +380 -425
- package/dist/index.js +386 -431
- package/dist/services/api.d.ts +2 -1
- package/dist/services/index.d.ts +0 -2
- package/dist/services.cjs +51 -149
- package/dist/services.js +51 -139
- package/dist/types/index.d.ts +6 -6
- package/dist/types/websocket.d.ts +7 -0
- package/package.json +18 -38
|
@@ -43,11 +43,14 @@ export interface EncoderDvBSettings extends AudioSettings {
|
|
|
43
43
|
protocol: ProtocolSettings;
|
|
44
44
|
}
|
|
45
45
|
export declare const defaultDvBSettings: EncoderDvBSettings;
|
|
46
|
-
|
|
46
|
+
type DvBProps = {
|
|
47
47
|
settings?: EncoderDvBSettings;
|
|
48
48
|
setSettings?: (s: EncoderDvBSettings) => void;
|
|
49
49
|
encoderId?: number;
|
|
50
50
|
isLoading?: boolean;
|
|
51
51
|
setIsLoading?: (loading: boolean) => void;
|
|
52
|
-
|
|
52
|
+
/** ref should be passed as a prop in React 19 (singleton/shared libs) */
|
|
53
|
+
ref?: any;
|
|
54
|
+
};
|
|
55
|
+
declare const DvB: (props: DvBProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
56
|
export default DvB;
|
|
@@ -27,11 +27,13 @@ export interface EncoderLivecastSettings extends AudioSettings {
|
|
|
27
27
|
protocol: ProtocolSettings;
|
|
28
28
|
}
|
|
29
29
|
export declare const defaultLivecastSettings: EncoderLivecastSettings;
|
|
30
|
-
|
|
30
|
+
type LivecastProps = {
|
|
31
31
|
settings?: EncoderLivecastSettings;
|
|
32
32
|
setSettings?: (s: EncoderLivecastSettings) => void;
|
|
33
33
|
encoderId?: number;
|
|
34
34
|
isLoading?: boolean;
|
|
35
35
|
setIsLoading?: (loading: boolean) => void;
|
|
36
|
-
|
|
36
|
+
ref?: any;
|
|
37
|
+
};
|
|
38
|
+
declare const Livecast: (props: LivecastProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
39
|
export default Livecast;
|
|
@@ -4,8 +4,7 @@ import { AudioGroup, FilterGroup, MiddlewareAuthGroup, MiddlewareChannelsGroup,
|
|
|
4
4
|
import { DvB, Livecast, ViewLog } from './encoder';
|
|
5
5
|
import { CheckboxField, ColorField, DatePicker, EditInPlaceField, InputField, Protocol, RangeField, SelectField, SliderField, SwitchField } from './input';
|
|
6
6
|
import { Footer, Header, PageHeader, SaveDiscard, Sidebar } from './main';
|
|
7
|
-
import { AddNetwork, InterfacesTable, InterfacesTimeseries } from './network';
|
|
7
|
+
import { AddNetwork, InterfacesTable, InterfacesTimeseries, isValidIPv4, isValidIPv6 } from './network';
|
|
8
8
|
import { ConfigWizard, RequireAuth } from './system';
|
|
9
|
-
import { RemoteModule } from './RemoteModule';
|
|
10
9
|
import { Fflog, MetricBar, Panel, Preview, StreamControl, VideoPlayer, VUBar } from './xcoder';
|
|
11
|
-
export { Accordion, AddNetwork, AudioGroup, CheckboxField, ConfigWizard, Copy2Clipboard, ColorField, getGridLabel, GridSelectionModal, DatePicker, DvB, EditInPlaceField, Fflog, FilterGroup, Footer, Header, InputField, InterfacesTable, InterfacesTimeseries, SwitchField, Livecast, MetricBar, MiddlewareAuthGroup, MiddlewareChannelsGroup, MiddlewareMOSGroup, MiddlewareServiceGroup, Modal, PageHeader, Panel, Preview, PreviewGroup, ProtocolGroup, Protocol, RangeField,
|
|
10
|
+
export { Accordion, AddNetwork, AudioGroup, CheckboxField, ConfigWizard, Copy2Clipboard, ColorField, getGridLabel, GridSelectionModal, DatePicker, DvB, EditInPlaceField, Fflog, FilterGroup, Footer, Header, InputField, InterfacesTable, InterfacesTimeseries, isValidIPv4, isValidIPv6, SwitchField, Livecast, MetricBar, MiddlewareAuthGroup, MiddlewareChannelsGroup, MiddlewareMOSGroup, MiddlewareServiceGroup, Modal, PageHeader, Panel, Preview, PreviewGroup, ProtocolGroup, Protocol, RangeField, RequireAuth, SaveDiscard, Section, SelectField, Sidebar, SliderField, StreamControl, ValidationItem, VideoGroup, VideoPlayer, ViewLog, VUBar };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import AddNetwork from "./AddNetwork
|
|
2
|
-
import InterfacesTable from "./InterfacesTable
|
|
3
|
-
import InterfacesTimeseries from "./InterfacesTimeseries
|
|
4
|
-
|
|
1
|
+
import AddNetwork from "./AddNetwork";
|
|
2
|
+
import InterfacesTable from "./InterfacesTable";
|
|
3
|
+
import InterfacesTimeseries from "./InterfacesTimeseries";
|
|
4
|
+
import { isValidIPv4, isValidIPv6 } from "./validators";
|
|
5
|
+
export { AddNetwork, InterfacesTable, InterfacesTimeseries, isValidIPv4, isValidIPv6, };
|