livevoice-sdk-react-native 1.0.3 → 2.0.0
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/LICENSE +1 -1
- package/README.md +5 -5
- package/android/{generated/java/io/livevoice/react → app/build/generated/source/codegen/java/com/facebook/fbreact/specs}/NativeLiveVoiceSdkSpec.java +2 -2
- package/android/{generated → app/build/generated/source/codegen}/jni/CMakeLists.txt +1 -9
- package/android/{generated → app/build/generated/source/codegen}/jni/RNLiveVoiceSpec-generated.cpp +3 -3
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNLiveVoiceSpec/RNLiveVoiceSpecJSI.h +341 -0
- package/android/build.gradle +41 -84
- package/android/gradle.properties +10 -6
- package/android/src/main/java/io/livevoice/react/LiveVoiceModule.kt +17 -16
- package/android/src/main/java/io/livevoice/react/LiveVoiceSdkReactNativePackage.kt +12 -13
- package/android/src/main/java/io/livevoice/react/Mappings.kt +36 -5
- package/android/src/main/java/io/livevoice/react/NativeModels.kt +2 -0
- package/android/src/main/java/io/livevoice/react/__SDK.kt +1 -1
- package/ios/LiveVoiceSdkReactNative.h +5 -5
- package/ios/{LivevoiceSdkReactNative.mm → LiveVoiceSdkReactNative.mm} +59 -74
- package/ios/__SDK.h +1 -1
- package/lib/module/components/ChannelView.js +14 -38
- package/lib/module/components/ChannelView.js.map +1 -1
- package/lib/module/components/LiveVoiceView.js +46 -23
- package/lib/module/components/LiveVoiceView.js.map +1 -1
- package/lib/module/components/PlayButtonView.js +243 -84
- package/lib/module/components/PlayButtonView.js.map +1 -1
- package/lib/module/icons/captions@1x.png +0 -0
- package/lib/module/icons/captions@2x.png +0 -0
- package/lib/module/icons/pause@1x.png +0 -0
- package/lib/module/icons/pause@2x.png +0 -0
- package/lib/module/icons/play@1x.png +0 -0
- package/lib/module/icons/play@2x.png +0 -0
- package/lib/module/index.js +19 -21
- package/lib/module/index.js.map +1 -1
- package/lib/module/specs/NativeLiveVoiceSdk.js +4 -0
- package/lib/module/specs/NativeLiveVoiceSdk.js.map +1 -1
- package/lib/module/util/Colors.js +2 -1
- package/lib/module/util/Colors.js.map +1 -1
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/AudioOutputSwitchView.d.ts.map +1 -0
- package/lib/typescript/src/components/BrandingView.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/components/ChannelView.d.ts +4 -2
- package/lib/typescript/src/components/ChannelView.d.ts.map +1 -0
- package/lib/typescript/src/components/ErrorView.d.ts.map +1 -0
- package/lib/typescript/src/components/LiveVoiceView.d.ts.map +1 -0
- package/lib/typescript/src/components/PlayButtonView.d.ts +341 -0
- package/lib/typescript/src/components/PlayButtonView.d.ts.map +1 -0
- package/lib/typescript/src/components/ReconnectingView.d.ts.map +1 -0
- package/lib/typescript/src/components/WarningView.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/index.d.ts +11 -15
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/specs/NativeLiveVoiceSdk.d.ts +3 -3
- package/lib/typescript/src/specs/NativeLiveVoiceSdk.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/util/Colors.d.ts +2 -1
- package/lib/typescript/src/util/Colors.d.ts.map +1 -0
- package/lib/typescript/src/util/ForegroundServiceConfig.d.ts.map +1 -0
- package/lib/typescript/src/util/PlayingState.d.ts.map +1 -0
- package/lib/typescript/src/util/Translations.d.ts.map +1 -0
- package/lib/typescript/{module/src → src}/util/UIState.d.ts +22 -1
- package/lib/typescript/src/util/UIState.d.ts.map +1 -0
- package/livevoice-sdk-react-native.podspec +6 -27
- package/package.json +33 -123
- package/src/components/ChannelView.tsx +18 -25
- package/src/components/LiveVoiceView.tsx +110 -59
- package/src/components/PlayButtonView.tsx +280 -87
- package/src/icons/captions@1x.png +0 -0
- package/src/icons/captions@2x.png +0 -0
- package/src/icons/pause@1x.png +0 -0
- package/src/icons/pause@2x.png +0 -0
- package/src/icons/play@1x.png +0 -0
- package/src/icons/play@2x.png +0 -0
- package/src/index.tsx +95 -79
- package/src/specs/NativeLiveVoiceSdk.ts +7 -5
- package/src/util/Colors.ts +3 -1
- package/src/util/UIState.ts +25 -1
- package/android/generated/jni/react/renderer/components/RNLiveVoiceSpec/RNLiveVoiceSpecJSI-generated.cpp +0 -245
- package/android/generated/jni/react/renderer/components/RNLiveVoiceSpec/RNLiveVoiceSpecJSI.h +0 -398
- package/android/src/main/AndroidManifest.xml +0 -3
- package/ios/generated/RNLiveVoiceSpec/RNLiveVoiceSpec-generated.mm +0 -292
- package/ios/generated/RNLiveVoiceSpec/RNLiveVoiceSpec.h +0 -101
- package/ios/generated/RNLiveVoiceSpecJSI-generated.cpp +0 -245
- package/ios/generated/RNLiveVoiceSpecJSI.h +0 -398
- package/lib/commonjs/components/AudioOutputSwitchView.js +0 -144
- package/lib/commonjs/components/AudioOutputSwitchView.js.map +0 -1
- package/lib/commonjs/components/BrandingView.js +0 -78
- package/lib/commonjs/components/BrandingView.js.map +0 -1
- package/lib/commonjs/components/ChannelView.js +0 -117
- package/lib/commonjs/components/ChannelView.js.map +0 -1
- package/lib/commonjs/components/ErrorView.js +0 -88
- package/lib/commonjs/components/ErrorView.js.map +0 -1
- package/lib/commonjs/components/LiveVoiceView.js +0 -107
- package/lib/commonjs/components/LiveVoiceView.js.map +0 -1
- package/lib/commonjs/components/PlayButtonView.js +0 -161
- package/lib/commonjs/components/PlayButtonView.js.map +0 -1
- package/lib/commonjs/components/ReconnectingView.js +0 -109
- package/lib/commonjs/components/ReconnectingView.js.map +0 -1
- package/lib/commonjs/components/WarningView.js +0 -58
- package/lib/commonjs/components/WarningView.js.map +0 -1
- package/lib/commonjs/components/index.js +0 -94
- package/lib/commonjs/components/index.js.map +0 -1
- package/lib/commonjs/icons/branding.png +0 -0
- package/lib/commonjs/icons/cpu.png +0 -0
- package/lib/commonjs/icons/headphones.png +0 -0
- package/lib/commonjs/icons/mic.png +0 -0
- package/lib/commonjs/icons/pause.png +0 -0
- package/lib/commonjs/icons/play.png +0 -0
- package/lib/commonjs/icons/speaker.png +0 -0
- package/lib/commonjs/index.js +0 -327
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/specs/NativeLiveVoiceSdk.js +0 -19
- package/lib/commonjs/specs/NativeLiveVoiceSdk.js.map +0 -1
- package/lib/commonjs/util/Colors.js +0 -30
- package/lib/commonjs/util/Colors.js.map +0 -1
- package/lib/commonjs/util/ForegroundServiceConfig.js +0 -33
- package/lib/commonjs/util/ForegroundServiceConfig.js.map +0 -1
- package/lib/commonjs/util/PlayingState.js +0 -24
- package/lib/commonjs/util/PlayingState.js.map +0 -1
- package/lib/commonjs/util/Translations.js +0 -47
- package/lib/commonjs/util/Translations.js.map +0 -1
- package/lib/commonjs/util/UIState.js +0 -6
- package/lib/commonjs/util/UIState.js.map +0 -1
- package/lib/module/icons/pause.png +0 -0
- package/lib/module/icons/play.png +0 -0
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/components/AudioOutputSwitchView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/BrandingView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ChannelView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ErrorView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/LiveVoiceView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/PlayButtonView.d.ts +0 -146
- package/lib/typescript/commonjs/src/components/PlayButtonView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/ReconnectingView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/WarningView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/specs/NativeLiveVoiceSdk.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/util/Colors.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/util/ForegroundServiceConfig.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/util/PlayingState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/util/Translations.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/util/UIState.d.ts +0 -45
- package/lib/typescript/commonjs/src/util/UIState.d.ts.map +0 -1
- package/lib/typescript/module/src/components/AudioOutputSwitchView.d.ts +0 -6
- package/lib/typescript/module/src/components/AudioOutputSwitchView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/BrandingView.d.ts +0 -6
- package/lib/typescript/module/src/components/BrandingView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ChannelView.d.ts +0 -13
- package/lib/typescript/module/src/components/ChannelView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ErrorView.d.ts +0 -9
- package/lib/typescript/module/src/components/ErrorView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/LiveVoiceView.d.ts +0 -6
- package/lib/typescript/module/src/components/LiveVoiceView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/PlayButtonView.d.ts +0 -146
- package/lib/typescript/module/src/components/PlayButtonView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/ReconnectingView.d.ts +0 -9
- package/lib/typescript/module/src/components/ReconnectingView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/WarningView.d.ts +0 -8
- package/lib/typescript/module/src/components/WarningView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/index.d.ts +0 -9
- package/lib/typescript/module/src/components/index.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -149
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/specs/NativeLiveVoiceSdk.d.ts +0 -48
- package/lib/typescript/module/src/specs/NativeLiveVoiceSdk.d.ts.map +0 -1
- package/lib/typescript/module/src/util/Colors.d.ts +0 -13
- package/lib/typescript/module/src/util/Colors.d.ts.map +0 -1
- package/lib/typescript/module/src/util/ForegroundServiceConfig.d.ts +0 -12
- package/lib/typescript/module/src/util/ForegroundServiceConfig.d.ts.map +0 -1
- package/lib/typescript/module/src/util/PlayingState.d.ts +0 -7
- package/lib/typescript/module/src/util/PlayingState.d.ts.map +0 -1
- package/lib/typescript/module/src/util/Translations.d.ts +0 -22
- package/lib/typescript/module/src/util/Translations.d.ts.map +0 -1
- package/lib/typescript/module/src/util/UIState.d.ts.map +0 -1
- package/react-native.config.js +0 -12
- package/src/icons/pause.png +0 -0
- package/src/icons/play.png +0 -0
- /package/android/{generated → app/build/generated/source/codegen}/jni/RNLiveVoiceSpec.h +0 -0
- /package/lib/{typescript/module → module}/package.json +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/AudioOutputSwitchView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/BrandingView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/ErrorView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/LiveVoiceView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/ReconnectingView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/WarningView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/util/ForegroundServiceConfig.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/util/PlayingState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/util/Translations.d.ts +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Translations = void 0;
|
|
7
|
-
var _NativeLiveVoiceSdk = _interopRequireDefault(require("../specs/NativeLiveVoiceSdk.js"));
|
|
8
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
/*
|
|
10
|
-
* This source file is part of the LiveVoice SDK project
|
|
11
|
-
*
|
|
12
|
-
* Copyright (c) LiveVoice GmbH
|
|
13
|
-
* Licensed under the MIT license
|
|
14
|
-
*
|
|
15
|
-
* See LICENSE for license information
|
|
16
|
-
*
|
|
17
|
-
* SPDX-License-Identifier: MIT
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @fileoverview Translated strings for the React Native SDK.
|
|
22
|
-
* These methods will return a translated string for the current locale.
|
|
23
|
-
* German, English, and Spanish are supported at this time.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
const Translations = exports.Translations = {
|
|
27
|
-
channelStatusOffline: () => _NativeLiveVoiceSdk.default.channelStatusOffline(),
|
|
28
|
-
noChannels: () => _NativeLiveVoiceSdk.default.noChannels(),
|
|
29
|
-
isAiChannelStatusMessage: () => _NativeLiveVoiceSdk.default.isAiChannelStatusMessage(),
|
|
30
|
-
sdkNoMatchingChannels: () => _NativeLiveVoiceSdk.default.sdkNoMatchingChannels(),
|
|
31
|
-
errorScreenRetrying: () => _NativeLiveVoiceSdk.default.errorScreenRetrying(),
|
|
32
|
-
errorScreenRetryingIn: seconds => _NativeLiveVoiceSdk.default.errorScreenRetryingIn(seconds),
|
|
33
|
-
sdkErrorGeneric: () => _NativeLiveVoiceSdk.default.sdkErrorGeneric(),
|
|
34
|
-
sdkErrorInactive: () => _NativeLiveVoiceSdk.default.sdkErrorInactive(),
|
|
35
|
-
sdkErrorInvalidApiKey: () => _NativeLiveVoiceSdk.default.sdkErrorInvalidApiKey(),
|
|
36
|
-
sdkErrorListenerLimitReached: () => _NativeLiveVoiceSdk.default.sdkErrorListenerLimitReached(),
|
|
37
|
-
sdkErrorNoNetwork: () => _NativeLiveVoiceSdk.default.sdkErrorNoNetwork(),
|
|
38
|
-
sdkErrorNotFound: () => _NativeLiveVoiceSdk.default.sdkErrorNotFound(),
|
|
39
|
-
sdkErrorRequestFailed: errorCode => _NativeLiveVoiceSdk.default.sdkErrorRequestFailed(errorCode),
|
|
40
|
-
sdkErrorWrongPassword: () => _NativeLiveVoiceSdk.default.sdkErrorWrongPassword(),
|
|
41
|
-
errorRetryNowButton: () => _NativeLiveVoiceSdk.default.errorRetryNowButton(),
|
|
42
|
-
streamingByTitle: () => _NativeLiveVoiceSdk.default.streamingByTitle(),
|
|
43
|
-
accessibilityChannelPlay: () => _NativeLiveVoiceSdk.default.accessibilityChannelPlay(),
|
|
44
|
-
accessibilityChannelStatusMuted: () => _NativeLiveVoiceSdk.default.accessibilityChannelStatusMuted(),
|
|
45
|
-
accessibilityChannelStop: () => _NativeLiveVoiceSdk.default.accessibilityChannelStop()
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=Translations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_NativeLiveVoiceSdk","_interopRequireDefault","require","e","__esModule","default","Translations","exports","channelStatusOffline","LiveVoiceSdkReactNative","noChannels","isAiChannelStatusMessage","sdkNoMatchingChannels","errorScreenRetrying","errorScreenRetryingIn","seconds","sdkErrorGeneric","sdkErrorInactive","sdkErrorInvalidApiKey","sdkErrorListenerLimitReached","sdkErrorNoNetwork","sdkErrorNotFound","sdkErrorRequestFailed","errorCode","sdkErrorWrongPassword","errorRetryNowButton","streamingByTitle","accessibilityChannelPlay","accessibilityChannelStatusMuted","accessibilityChannelStop"],"sourceRoot":"../../../src","sources":["util/Translations.ts"],"mappings":";;;;;;AAgBA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAkE,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAhBlE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAGO,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG;EAC1BE,oBAAoB,EAAEA,CAAA,KAAcC,2BAAuB,CAACD,oBAAoB,CAAC,CAAC;EAClFE,UAAU,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,EAAEA,CAAA,KAAcpB,2BAAuB,CAACoB,wBAAwB,CAAC;AAC3F,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["util/UIState.ts"],"mappings":"","ignoreList":[]}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioOutputSwitchView.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioOutputSwitchView.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6ElE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrandingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/BrandingView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyBhD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAIzD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiD9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,UAAU,CAAA;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA6B1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveVoiceView.d.ts","sourceRoot":"","sources":["../../../../../src/components/LiveVoiceView.tsx"],"names":[],"mappings":"AAkCA,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwFtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { PlayingState } from '../util/PlayingState';
|
|
2
|
-
export interface PlayButtonProps {
|
|
3
|
-
playingState: PlayingState;
|
|
4
|
-
isChannelOnline: boolean;
|
|
5
|
-
isDarkMode?: boolean;
|
|
6
|
-
onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PlayButtonView: React.FC<PlayButtonProps>;
|
|
9
|
-
type ButtonStyleType = 'paused' | 'playing' | 'offline';
|
|
10
|
-
export declare const getButtonStyle: (type: ButtonStyleType, isDarkMode: boolean) => {
|
|
11
|
-
backgroundColor: string;
|
|
12
|
-
borderColor: string;
|
|
13
|
-
outlineColor: string;
|
|
14
|
-
paddingVertical: number;
|
|
15
|
-
paddingHorizontal: number;
|
|
16
|
-
borderRadius: number;
|
|
17
|
-
borderWidth: number;
|
|
18
|
-
outlineStyle: "solid";
|
|
19
|
-
outlineWidth: number;
|
|
20
|
-
} | {
|
|
21
|
-
backgroundColor: string;
|
|
22
|
-
borderColor: string;
|
|
23
|
-
outlineColor: string;
|
|
24
|
-
paddingVertical: number;
|
|
25
|
-
paddingHorizontal: number;
|
|
26
|
-
borderRadius: number;
|
|
27
|
-
borderWidth: number;
|
|
28
|
-
outlineStyle: "solid";
|
|
29
|
-
outlineWidth: number;
|
|
30
|
-
} | {
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
borderColor: string;
|
|
33
|
-
outlineColor: string;
|
|
34
|
-
paddingVertical: number;
|
|
35
|
-
paddingHorizontal: number;
|
|
36
|
-
borderRadius: number;
|
|
37
|
-
borderWidth: number;
|
|
38
|
-
outlineStyle: "solid";
|
|
39
|
-
outlineWidth: number;
|
|
40
|
-
} | {
|
|
41
|
-
backgroundColor: string;
|
|
42
|
-
borderColor: string;
|
|
43
|
-
outlineColor: string;
|
|
44
|
-
paddingVertical: number;
|
|
45
|
-
paddingHorizontal: number;
|
|
46
|
-
borderRadius: number;
|
|
47
|
-
borderWidth: number;
|
|
48
|
-
outlineStyle: "solid";
|
|
49
|
-
outlineWidth: number;
|
|
50
|
-
} | {
|
|
51
|
-
backgroundColor: string;
|
|
52
|
-
borderColor: string;
|
|
53
|
-
outlineColor: string;
|
|
54
|
-
paddingVertical: number;
|
|
55
|
-
paddingHorizontal: number;
|
|
56
|
-
borderRadius: number;
|
|
57
|
-
borderWidth: number;
|
|
58
|
-
outlineStyle: "solid";
|
|
59
|
-
outlineWidth: number;
|
|
60
|
-
} | {
|
|
61
|
-
backgroundColor: string;
|
|
62
|
-
borderColor: string;
|
|
63
|
-
outlineColor: string;
|
|
64
|
-
paddingVertical: number;
|
|
65
|
-
paddingHorizontal: number;
|
|
66
|
-
borderRadius: number;
|
|
67
|
-
borderWidth: number;
|
|
68
|
-
outlineStyle: "solid";
|
|
69
|
-
outlineWidth: number;
|
|
70
|
-
};
|
|
71
|
-
export declare const ButtonStyles: {
|
|
72
|
-
paused: {
|
|
73
|
-
light: {
|
|
74
|
-
backgroundColor: string;
|
|
75
|
-
borderColor: string;
|
|
76
|
-
outlineColor: string;
|
|
77
|
-
paddingVertical: number;
|
|
78
|
-
paddingHorizontal: number;
|
|
79
|
-
borderRadius: number;
|
|
80
|
-
borderWidth: number;
|
|
81
|
-
outlineStyle: "solid";
|
|
82
|
-
outlineWidth: number;
|
|
83
|
-
};
|
|
84
|
-
dark: {
|
|
85
|
-
backgroundColor: string;
|
|
86
|
-
borderColor: string;
|
|
87
|
-
outlineColor: string;
|
|
88
|
-
paddingVertical: number;
|
|
89
|
-
paddingHorizontal: number;
|
|
90
|
-
borderRadius: number;
|
|
91
|
-
borderWidth: number;
|
|
92
|
-
outlineStyle: "solid";
|
|
93
|
-
outlineWidth: number;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
playing: {
|
|
97
|
-
light: {
|
|
98
|
-
backgroundColor: string;
|
|
99
|
-
borderColor: string;
|
|
100
|
-
outlineColor: string;
|
|
101
|
-
paddingVertical: number;
|
|
102
|
-
paddingHorizontal: number;
|
|
103
|
-
borderRadius: number;
|
|
104
|
-
borderWidth: number;
|
|
105
|
-
outlineStyle: "solid";
|
|
106
|
-
outlineWidth: number;
|
|
107
|
-
};
|
|
108
|
-
dark: {
|
|
109
|
-
backgroundColor: string;
|
|
110
|
-
borderColor: string;
|
|
111
|
-
outlineColor: string;
|
|
112
|
-
paddingVertical: number;
|
|
113
|
-
paddingHorizontal: number;
|
|
114
|
-
borderRadius: number;
|
|
115
|
-
borderWidth: number;
|
|
116
|
-
outlineStyle: "solid";
|
|
117
|
-
outlineWidth: number;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
offline: {
|
|
121
|
-
light: {
|
|
122
|
-
backgroundColor: string;
|
|
123
|
-
borderColor: string;
|
|
124
|
-
outlineColor: string;
|
|
125
|
-
paddingVertical: number;
|
|
126
|
-
paddingHorizontal: number;
|
|
127
|
-
borderRadius: number;
|
|
128
|
-
borderWidth: number;
|
|
129
|
-
outlineStyle: "solid";
|
|
130
|
-
outlineWidth: number;
|
|
131
|
-
};
|
|
132
|
-
dark: {
|
|
133
|
-
backgroundColor: string;
|
|
134
|
-
borderColor: string;
|
|
135
|
-
outlineColor: string;
|
|
136
|
-
paddingVertical: number;
|
|
137
|
-
paddingHorizontal: number;
|
|
138
|
-
borderRadius: number;
|
|
139
|
-
borderWidth: number;
|
|
140
|
-
outlineStyle: "solid";
|
|
141
|
-
outlineWidth: number;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
export default PlayButtonView;
|
|
146
|
-
//# sourceMappingURL=PlayButtonView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlayButtonView.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlayButtonView.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiD7C,CAAC;AAEF,KAAK,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,eAAO,MAAM,cAAc,GACzB,MAAM,eAAe,EACrB,YAAY,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAC;AAqDF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CxB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReconnectingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReconnectingView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmExD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WarningView.d.ts","sourceRoot":"","sources":["../../../../../src/components/WarningView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiB9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAWA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,o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AM,CAAA;IAE/B,mBAAmB,IAAI,MAAM,CAAA;IAC7B,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;IAE9C,eAAe,IAAI,MAAM,CAAA;IACzB,gBAAgB,IAAI,MAAM,CAAA;IAC1B,qBAAqB,IAAI,MAAM,CAAA;IAC/B,4BAA4B,IAAI,MAAM,CAAA;IACtC,iBAAiB,IAAI,MAAM,CAAA;IAC3B,gBAAgB,IAAI,MAAM,CAAA;IAC1B,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;IAChD,qBAAqB,IAAI,MAAM,CAAA;IAC/B,gBAAgB,IAAI,MAAM,CAAA;IAC1B,mBAAmB,IAAI,MAAM,CAAA;IAE7B,wBAAwB,IAAI,MAAM,CAAA;IAClC,+BAA+B,IAAI,MAAM,CAAA;IACzC,wBAAwB,IAAI,MAAM,CAAA;CACnC;;AAED,wBAAyE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Colors.d.ts","sourceRoot":"","sources":["../../../../../src/util/Colors.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,MAAM;;;;;;;;;;;CAelB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ForegroundServiceConfig.d.ts","sourceRoot":"","sources":["../../../../../src/util/ForegroundServiceConfig.tsx"],"names":[],"mappings":"AAYA,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAGD,eAAO,MAAM,eAAe,EAAE,QAA+B,CAAC;AAE9D,eAAO,MAAM,gCAAgC,EAAE,OAAyE,CAAC;AAEzH,eAAO,MAAM,yBAAyB,GAAI,SAAS,MAAM,GAAG,IAAI,KAAG,OAGjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlayingState.d.ts","sourceRoot":"","sources":["../../../../../src/util/PlayingState.ts"],"names":[],"mappings":"AAWA,oBAAY,YAAY;IACpB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;CACtB;AAED,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Translations.d.ts","sourceRoot":"","sources":["../../../../../src/util/Translations.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,YAAY;gCACG,MAAM;sBAChB,MAAM;oCACQ,MAAM;iCACT,MAAM;+BACR,MAAM;qCACE,MAAM,KAAG,MAAM;2BAC3B,MAAM;4BACL,MAAM;iCACD,MAAM;wCACC,MAAM;6BACjB,MAAM;4BACP,MAAM;uCACO,MAAM,KAAG,MAAM;iCACvB,MAAM;+BACR,MAAM;4BACT,MAAM;oCACE,MAAM;2CACC,MAAM;oCACb,MAAM;CACrC,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { type PlayingState } from './PlayingState';
|
|
2
|
-
export type UiState = Ready | ErrorState | Loading | Reconnecting;
|
|
3
|
-
/**
|
|
4
|
-
* UI state top-level types
|
|
5
|
-
*/
|
|
6
|
-
export interface Ready {
|
|
7
|
-
type: 'ready';
|
|
8
|
-
channels: Channel[];
|
|
9
|
-
isHeadphonesOnly: boolean;
|
|
10
|
-
outputMode: string;
|
|
11
|
-
}
|
|
12
|
-
export interface Loading {
|
|
13
|
-
type: 'loading';
|
|
14
|
-
}
|
|
15
|
-
export interface ErrorState {
|
|
16
|
-
type: 'error';
|
|
17
|
-
message: string;
|
|
18
|
-
canBeRetried: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface RetryInProgress {
|
|
21
|
-
type: 'inProgress';
|
|
22
|
-
}
|
|
23
|
-
export interface AwaitingRetry {
|
|
24
|
-
type: 'awaitingRetry';
|
|
25
|
-
atTimestamp: number;
|
|
26
|
-
}
|
|
27
|
-
export type RetryState = RetryInProgress | AwaitingRetry;
|
|
28
|
-
export interface Reconnecting {
|
|
29
|
-
type: 'reconnecting';
|
|
30
|
-
state: RetryState;
|
|
31
|
-
}
|
|
32
|
-
export type ErrorOrReconnecting = ErrorState | Reconnecting;
|
|
33
|
-
/**
|
|
34
|
-
* Other types
|
|
35
|
-
*/
|
|
36
|
-
export interface Channel {
|
|
37
|
-
type: 'channel';
|
|
38
|
-
id: number;
|
|
39
|
-
name: string;
|
|
40
|
-
isOnline: boolean;
|
|
41
|
-
isAudioMuted: boolean;
|
|
42
|
-
isAiSpeaker: boolean;
|
|
43
|
-
playingState: PlayingState;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=UIState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UIState.d.ts","sourceRoot":"","sources":["../../../../../src/util/UIState.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAA;AAEjE;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,eAAe,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG,aAAa,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,YAAY,CAAC;CAC5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AudioOutputSwitchView.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioOutputSwitchView.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6ElE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrandingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/BrandingView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyBhD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type PlayingState } from '../util/PlayingState';
|
|
3
|
-
export interface ChannelProps {
|
|
4
|
-
channelName: string;
|
|
5
|
-
playingState: PlayingState;
|
|
6
|
-
muted: boolean;
|
|
7
|
-
isOnline: boolean;
|
|
8
|
-
aiSpeaker: boolean;
|
|
9
|
-
isDarkMode?: boolean;
|
|
10
|
-
onPress: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const ChannelView: React.FC<ChannelProps>;
|
|
13
|
-
//# sourceMappingURL=ChannelView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAIzD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiD9C,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ErrorState } from '../util/UIState';
|
|
3
|
-
export interface ErrorProps {
|
|
4
|
-
isDarkMode?: boolean;
|
|
5
|
-
state: ErrorState;
|
|
6
|
-
onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const ErrorView: React.FC<ErrorProps>;
|
|
9
|
-
//# sourceMappingURL=ErrorView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,UAAU,CAAA;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA6B1C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveVoiceView.d.ts","sourceRoot":"","sources":["../../../../../src/components/LiveVoiceView.tsx"],"names":[],"mappings":"AAkCA,MAAM,WAAW,kBAAkB;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwFtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { PlayingState } from '../util/PlayingState';
|
|
2
|
-
export interface PlayButtonProps {
|
|
3
|
-
playingState: PlayingState;
|
|
4
|
-
isChannelOnline: boolean;
|
|
5
|
-
isDarkMode?: boolean;
|
|
6
|
-
onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PlayButtonView: React.FC<PlayButtonProps>;
|
|
9
|
-
type ButtonStyleType = 'paused' | 'playing' | 'offline';
|
|
10
|
-
export declare const getButtonStyle: (type: ButtonStyleType, isDarkMode: boolean) => {
|
|
11
|
-
backgroundColor: string;
|
|
12
|
-
borderColor: string;
|
|
13
|
-
outlineColor: string;
|
|
14
|
-
paddingVertical: number;
|
|
15
|
-
paddingHorizontal: number;
|
|
16
|
-
borderRadius: number;
|
|
17
|
-
borderWidth: number;
|
|
18
|
-
outlineStyle: "solid";
|
|
19
|
-
outlineWidth: number;
|
|
20
|
-
} | {
|
|
21
|
-
backgroundColor: string;
|
|
22
|
-
borderColor: string;
|
|
23
|
-
outlineColor: string;
|
|
24
|
-
paddingVertical: number;
|
|
25
|
-
paddingHorizontal: number;
|
|
26
|
-
borderRadius: number;
|
|
27
|
-
borderWidth: number;
|
|
28
|
-
outlineStyle: "solid";
|
|
29
|
-
outlineWidth: number;
|
|
30
|
-
} | {
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
borderColor: string;
|
|
33
|
-
outlineColor: string;
|
|
34
|
-
paddingVertical: number;
|
|
35
|
-
paddingHorizontal: number;
|
|
36
|
-
borderRadius: number;
|
|
37
|
-
borderWidth: number;
|
|
38
|
-
outlineStyle: "solid";
|
|
39
|
-
outlineWidth: number;
|
|
40
|
-
} | {
|
|
41
|
-
backgroundColor: string;
|
|
42
|
-
borderColor: string;
|
|
43
|
-
outlineColor: string;
|
|
44
|
-
paddingVertical: number;
|
|
45
|
-
paddingHorizontal: number;
|
|
46
|
-
borderRadius: number;
|
|
47
|
-
borderWidth: number;
|
|
48
|
-
outlineStyle: "solid";
|
|
49
|
-
outlineWidth: number;
|
|
50
|
-
} | {
|
|
51
|
-
backgroundColor: string;
|
|
52
|
-
borderColor: string;
|
|
53
|
-
outlineColor: string;
|
|
54
|
-
paddingVertical: number;
|
|
55
|
-
paddingHorizontal: number;
|
|
56
|
-
borderRadius: number;
|
|
57
|
-
borderWidth: number;
|
|
58
|
-
outlineStyle: "solid";
|
|
59
|
-
outlineWidth: number;
|
|
60
|
-
} | {
|
|
61
|
-
backgroundColor: string;
|
|
62
|
-
borderColor: string;
|
|
63
|
-
outlineColor: string;
|
|
64
|
-
paddingVertical: number;
|
|
65
|
-
paddingHorizontal: number;
|
|
66
|
-
borderRadius: number;
|
|
67
|
-
borderWidth: number;
|
|
68
|
-
outlineStyle: "solid";
|
|
69
|
-
outlineWidth: number;
|
|
70
|
-
};
|
|
71
|
-
export declare const ButtonStyles: {
|
|
72
|
-
paused: {
|
|
73
|
-
light: {
|
|
74
|
-
backgroundColor: string;
|
|
75
|
-
borderColor: string;
|
|
76
|
-
outlineColor: string;
|
|
77
|
-
paddingVertical: number;
|
|
78
|
-
paddingHorizontal: number;
|
|
79
|
-
borderRadius: number;
|
|
80
|
-
borderWidth: number;
|
|
81
|
-
outlineStyle: "solid";
|
|
82
|
-
outlineWidth: number;
|
|
83
|
-
};
|
|
84
|
-
dark: {
|
|
85
|
-
backgroundColor: string;
|
|
86
|
-
borderColor: string;
|
|
87
|
-
outlineColor: string;
|
|
88
|
-
paddingVertical: number;
|
|
89
|
-
paddingHorizontal: number;
|
|
90
|
-
borderRadius: number;
|
|
91
|
-
borderWidth: number;
|
|
92
|
-
outlineStyle: "solid";
|
|
93
|
-
outlineWidth: number;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
playing: {
|
|
97
|
-
light: {
|
|
98
|
-
backgroundColor: string;
|
|
99
|
-
borderColor: string;
|
|
100
|
-
outlineColor: string;
|
|
101
|
-
paddingVertical: number;
|
|
102
|
-
paddingHorizontal: number;
|
|
103
|
-
borderRadius: number;
|
|
104
|
-
borderWidth: number;
|
|
105
|
-
outlineStyle: "solid";
|
|
106
|
-
outlineWidth: number;
|
|
107
|
-
};
|
|
108
|
-
dark: {
|
|
109
|
-
backgroundColor: string;
|
|
110
|
-
borderColor: string;
|
|
111
|
-
outlineColor: string;
|
|
112
|
-
paddingVertical: number;
|
|
113
|
-
paddingHorizontal: number;
|
|
114
|
-
borderRadius: number;
|
|
115
|
-
borderWidth: number;
|
|
116
|
-
outlineStyle: "solid";
|
|
117
|
-
outlineWidth: number;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
offline: {
|
|
121
|
-
light: {
|
|
122
|
-
backgroundColor: string;
|
|
123
|
-
borderColor: string;
|
|
124
|
-
outlineColor: string;
|
|
125
|
-
paddingVertical: number;
|
|
126
|
-
paddingHorizontal: number;
|
|
127
|
-
borderRadius: number;
|
|
128
|
-
borderWidth: number;
|
|
129
|
-
outlineStyle: "solid";
|
|
130
|
-
outlineWidth: number;
|
|
131
|
-
};
|
|
132
|
-
dark: {
|
|
133
|
-
backgroundColor: string;
|
|
134
|
-
borderColor: string;
|
|
135
|
-
outlineColor: string;
|
|
136
|
-
paddingVertical: number;
|
|
137
|
-
paddingHorizontal: number;
|
|
138
|
-
borderRadius: number;
|
|
139
|
-
borderWidth: number;
|
|
140
|
-
outlineStyle: "solid";
|
|
141
|
-
outlineWidth: number;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
export default PlayButtonView;
|
|
146
|
-
//# sourceMappingURL=PlayButtonView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlayButtonView.d.ts","sourceRoot":"","sources":["../../../../../src/components/PlayButtonView.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAiD7C,CAAC;AAEF,KAAK,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,eAAO,MAAM,cAAc,GACzB,MAAM,eAAe,EACrB,YAAY,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAC;AAqDF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CxB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Reconnecting } from '../util/UIState';
|
|
3
|
-
export interface ReconnectingProps {
|
|
4
|
-
isDarkMode?: boolean;
|
|
5
|
-
state: Reconnecting;
|
|
6
|
-
onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const ReconnectingView: React.FC<ReconnectingProps>;
|
|
9
|
-
//# sourceMappingURL=ReconnectingView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReconnectingView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ReconnectingView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGpD,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmExD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WarningView.d.ts","sourceRoot":"","sources":["../../../../../src/components/WarningView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiB9C,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './AudioOutputSwitchView';
|
|
2
|
-
export * from './BrandingView';
|
|
3
|
-
export * from './ChannelView';
|
|
4
|
-
export * from './ErrorView';
|
|
5
|
-
export * from './LiveVoiceView';
|
|
6
|
-
export * from './PlayButtonView';
|
|
7
|
-
export * from './ReconnectingView';
|
|
8
|
-
export * from './WarningView';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/index.tsx"],"names":[],"mappings":"AAWA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|