@stream-io/video-react-native-sdk 0.1.9 → 0.1.11

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 (230) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +5 -4
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js +1 -1
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  5. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +71 -0
  6. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -0
  7. package/dist/commonjs/components/Livestream/HostLivestream/index.js +17 -0
  8. package/dist/commonjs/components/Livestream/HostLivestream/index.js.map +1 -0
  9. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +69 -0
  10. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -0
  11. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +113 -0
  12. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -0
  13. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +70 -0
  14. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -0
  15. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +38 -0
  16. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -0
  17. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +70 -0
  18. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -0
  19. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +83 -0
  20. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -0
  21. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +64 -0
  22. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -0
  23. package/dist/commonjs/components/Livestream/LivestreamControls/index.js +61 -0
  24. package/dist/commonjs/components/Livestream/LivestreamControls/index.js.map +1 -0
  25. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +65 -0
  26. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -0
  27. package/dist/commonjs/components/Livestream/LivestreamLayout/index.js +17 -0
  28. package/dist/commonjs/components/Livestream/LivestreamLayout/index.js.map +1 -0
  29. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +144 -0
  30. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -0
  31. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +71 -0
  32. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -0
  33. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +87 -0
  34. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -0
  35. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +55 -0
  36. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -0
  37. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +80 -0
  38. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -0
  39. package/dist/commonjs/components/Livestream/LivestreamTopView/index.js +50 -0
  40. package/dist/commonjs/components/Livestream/LivestreamTopView/index.js.map +1 -0
  41. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +88 -0
  42. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -0
  43. package/dist/commonjs/components/Livestream/ViewerLivestream/index.js +17 -0
  44. package/dist/commonjs/components/Livestream/ViewerLivestream/index.js.map +1 -0
  45. package/dist/commonjs/components/Livestream/index.js +61 -0
  46. package/dist/commonjs/components/Livestream/index.js.map +1 -0
  47. package/dist/commonjs/components/index.js +11 -0
  48. package/dist/commonjs/components/index.js.map +1 -1
  49. package/dist/commonjs/hooks/usePaginatedLayoutSortPreset.js +26 -0
  50. package/dist/commonjs/hooks/usePaginatedLayoutSortPreset.js.map +1 -0
  51. package/dist/commonjs/icons/EndStreamIcon.js +20 -0
  52. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -0
  53. package/dist/commonjs/icons/Eye.js +20 -0
  54. package/dist/commonjs/icons/Eye.js.map +1 -0
  55. package/dist/commonjs/icons/LeaveStreamIcon.js +20 -0
  56. package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -0
  57. package/dist/commonjs/icons/ShieldBadge.js +20 -0
  58. package/dist/commonjs/icons/ShieldBadge.js.map +1 -0
  59. package/dist/commonjs/icons/StartStreamIcon.js +20 -0
  60. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -0
  61. package/dist/commonjs/icons/index.js +55 -0
  62. package/dist/commonjs/icons/index.js.map +1 -1
  63. package/dist/commonjs/theme/theme.js +70 -0
  64. package/dist/commonjs/theme/theme.js.map +1 -1
  65. package/dist/commonjs/translations/en.json +6 -1
  66. package/dist/commonjs/version.js +1 -1
  67. package/dist/commonjs/version.js.map +1 -1
  68. package/dist/module/components/Call/CallContent/CallContent.js +1 -1
  69. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  70. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +64 -0
  71. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -0
  72. package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
  73. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -0
  74. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +62 -0
  75. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -0
  76. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +105 -0
  77. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -0
  78. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +63 -0
  79. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -0
  80. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +31 -0
  81. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -0
  82. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +63 -0
  83. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -0
  84. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +75 -0
  85. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -0
  86. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +57 -0
  87. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -0
  88. package/dist/module/components/Livestream/LivestreamControls/index.js +6 -0
  89. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -0
  90. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +58 -0
  91. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -0
  92. package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
  93. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -0
  94. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +136 -0
  95. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -0
  96. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +64 -0
  97. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -0
  98. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +80 -0
  99. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -0
  100. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +48 -0
  101. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -0
  102. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +73 -0
  103. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -0
  104. package/dist/module/components/Livestream/LivestreamTopView/index.js +5 -0
  105. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -0
  106. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +81 -0
  107. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -0
  108. package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
  109. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -0
  110. package/dist/module/components/Livestream/index.js +6 -0
  111. package/dist/module/components/Livestream/index.js.map +1 -0
  112. package/dist/module/components/index.js +1 -0
  113. package/dist/module/components/index.js.map +1 -1
  114. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +19 -0
  115. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -0
  116. package/dist/module/icons/EndStreamIcon.js +12 -0
  117. package/dist/module/icons/EndStreamIcon.js.map +1 -0
  118. package/dist/module/icons/Eye.js +12 -0
  119. package/dist/module/icons/Eye.js.map +1 -0
  120. package/dist/module/icons/LeaveStreamIcon.js +12 -0
  121. package/dist/module/icons/LeaveStreamIcon.js.map +1 -0
  122. package/dist/module/icons/ShieldBadge.js +12 -0
  123. package/dist/module/icons/ShieldBadge.js.map +1 -0
  124. package/dist/module/icons/StartStreamIcon.js +12 -0
  125. package/dist/module/icons/StartStreamIcon.js.map +1 -0
  126. package/dist/module/icons/index.js +5 -0
  127. package/dist/module/icons/index.js.map +1 -1
  128. package/dist/module/theme/theme.js +70 -0
  129. package/dist/module/theme/theme.js.map +1 -1
  130. package/dist/module/translations/en.json +6 -1
  131. package/dist/module/version.js +1 -1
  132. package/dist/module/version.js.map +1 -1
  133. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +30 -0
  134. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -0
  135. package/dist/typescript/components/Livestream/HostLivestream/index.d.ts +2 -0
  136. package/dist/typescript/components/Livestream/HostLivestream/index.d.ts.map +1 -0
  137. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +25 -0
  138. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -0
  139. package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts +25 -0
  140. package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts.map +1 -0
  141. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts +6 -0
  142. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -0
  143. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamMediaControls.d.ts +10 -0
  144. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamMediaControls.d.ts.map +1 -0
  145. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts +6 -0
  146. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -0
  147. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts +16 -0
  148. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -0
  149. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +16 -0
  150. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -0
  151. package/dist/typescript/components/Livestream/LivestreamControls/index.d.ts +6 -0
  152. package/dist/typescript/components/Livestream/LivestreamControls/index.d.ts.map +1 -0
  153. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +17 -0
  154. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -0
  155. package/dist/typescript/components/Livestream/LivestreamLayout/index.d.ts +2 -0
  156. package/dist/typescript/components/Livestream/LivestreamLayout/index.d.ts.map +1 -0
  157. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts +12 -0
  158. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -0
  159. package/dist/typescript/components/Livestream/LivestreamTopView/FollowerCount.d.ts +10 -0
  160. package/dist/typescript/components/Livestream/LivestreamTopView/FollowerCount.d.ts.map +1 -0
  161. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +26 -0
  162. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -0
  163. package/dist/typescript/components/Livestream/LivestreamTopView/LiveIndicator.d.ts +10 -0
  164. package/dist/typescript/components/Livestream/LivestreamTopView/LiveIndicator.d.ts.map +1 -0
  165. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +26 -0
  166. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -0
  167. package/dist/typescript/components/Livestream/LivestreamTopView/index.d.ts +5 -0
  168. package/dist/typescript/components/Livestream/LivestreamTopView/index.d.ts.map +1 -0
  169. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +32 -0
  170. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -0
  171. package/dist/typescript/components/Livestream/ViewerLivestream/index.d.ts +2 -0
  172. package/dist/typescript/components/Livestream/ViewerLivestream/index.d.ts.map +1 -0
  173. package/dist/typescript/components/Livestream/index.d.ts +6 -0
  174. package/dist/typescript/components/Livestream/index.d.ts.map +1 -0
  175. package/dist/typescript/components/index.d.ts +1 -0
  176. package/dist/typescript/components/index.d.ts.map +1 -1
  177. package/dist/typescript/hooks/usePaginatedLayoutSortPreset.d.ts +3 -0
  178. package/dist/typescript/hooks/usePaginatedLayoutSortPreset.d.ts.map +1 -0
  179. package/dist/typescript/icons/EndStreamIcon.d.ts +3 -0
  180. package/dist/typescript/icons/EndStreamIcon.d.ts.map +1 -0
  181. package/dist/typescript/icons/Eye.d.ts +3 -0
  182. package/dist/typescript/icons/Eye.d.ts.map +1 -0
  183. package/dist/typescript/icons/LeaveStreamIcon.d.ts +3 -0
  184. package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +1 -0
  185. package/dist/typescript/icons/ShieldBadge.d.ts +3 -0
  186. package/dist/typescript/icons/ShieldBadge.d.ts.map +1 -0
  187. package/dist/typescript/icons/StartStreamIcon.d.ts +3 -0
  188. package/dist/typescript/icons/StartStreamIcon.d.ts.map +1 -0
  189. package/dist/typescript/icons/index.d.ts +5 -0
  190. package/dist/typescript/icons/index.d.ts.map +1 -1
  191. package/dist/typescript/theme/theme.d.ts +70 -0
  192. package/dist/typescript/theme/theme.d.ts.map +1 -1
  193. package/dist/typescript/translations/index.d.ts +6 -1
  194. package/dist/typescript/translations/index.d.ts.map +1 -1
  195. package/dist/typescript/version.d.ts +1 -1
  196. package/dist/typescript/version.d.ts.map +1 -1
  197. package/package.json +3 -3
  198. package/src/components/Call/CallContent/CallContent.tsx +1 -1
  199. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +99 -0
  200. package/src/components/Livestream/HostLivestream/index.ts +1 -0
  201. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +87 -0
  202. package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +163 -0
  203. package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +78 -0
  204. package/src/components/Livestream/LivestreamControls/LivestreamMediaControls.tsx +32 -0
  205. package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +78 -0
  206. package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +102 -0
  207. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +75 -0
  208. package/src/components/Livestream/LivestreamControls/index.ts +5 -0
  209. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +77 -0
  210. package/src/components/Livestream/LivestreamLayout/index.ts +1 -0
  211. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +170 -0
  212. package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +74 -0
  213. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +105 -0
  214. package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +53 -0
  215. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +102 -0
  216. package/src/components/Livestream/LivestreamTopView/index.ts +4 -0
  217. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +126 -0
  218. package/src/components/Livestream/ViewerLivestream/index.ts +1 -0
  219. package/src/components/Livestream/index.ts +5 -0
  220. package/src/components/index.ts +1 -0
  221. package/src/hooks/usePaginatedLayoutSortPreset.ts +27 -0
  222. package/src/icons/EndStreamIcon.tsx +13 -0
  223. package/src/icons/Eye.tsx +13 -0
  224. package/src/icons/LeaveStreamIcon.tsx +13 -0
  225. package/src/icons/ShieldBadge.tsx +13 -0
  226. package/src/icons/StartStreamIcon.tsx +13 -0
  227. package/src/icons/index.tsx +5 -0
  228. package/src/theme/theme.ts +140 -0
  229. package/src/translations/en.json +6 -1
  230. package/src/version.ts +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_DurationBadge","_LiveIndicator","_FollowerCount","_contexts","_videoReactBindings","_constants","obj","__esModule","default","HostLivestreamTopView","_ref","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useIsCallLive","useIsCallBroadcastingInProgress","useCallStateHooks","isCallLive","isBroadcasting","liveOrBroadcasting","theme","colors","hostLivestreamTopView","useTheme","createElement","View","style","styles","container","backgroundColor","static_overlay","leftElement","mode","centerElement","rightElement","liveInfo","exports","StyleSheet","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","Z_INDEX","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream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aAAa,EAAE;EACjB,CAAC;EACDV,WAAW,EAAE;IACXmB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd,CAAC;EACDT,aAAa,EAAE;IACbiB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd,CAAC;EACDR,YAAY,EAAE;IACZgB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.LiveIndicator = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _contexts = require("../../../contexts");
10
+ var _videoReactBindings = require("@stream-io/video-react-bindings");
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ /**
13
+ * Props for the LiveIndicator component.
14
+ */
15
+
16
+ /**
17
+ * The LiveIndicator component displays whether the live stream is live or not.
18
+ */
19
+ const LiveIndicator = _ref => {
20
+ let {} = _ref;
21
+ const {
22
+ theme: {
23
+ colors,
24
+ typefaces,
25
+ liveIndicator
26
+ }
27
+ } = (0, _contexts.useTheme)();
28
+ const {
29
+ t
30
+ } = (0, _videoReactBindings.useI18n)();
31
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
32
+ style: [styles.container, {
33
+ backgroundColor: colors.primary
34
+ }, liveIndicator.container]
35
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
36
+ style: [styles.label, {
37
+ color: colors.static_white
38
+ }, typefaces.subtitleBold, liveIndicator.label]
39
+ }, t('Live')));
40
+ };
41
+ exports.LiveIndicator = LiveIndicator;
42
+ const styles = _reactNative.StyleSheet.create({
43
+ container: {
44
+ paddingHorizontal: 8,
45
+ paddingVertical: 4,
46
+ borderTopLeftRadius: 4,
47
+ borderBottomLeftRadius: 4,
48
+ justifyContent: 'center'
49
+ },
50
+ label: {
51
+ textAlign: 'center',
52
+ includeFontPadding: false
53
+ }
54
+ });
55
+ //# sourceMappingURL=LiveIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_videoReactBindings","obj","__esModule","default","LiveIndicator","_ref","theme","colors","typefaces","liveIndicator","useTheme","t","useI18n","createElement","View","style","styles","container","backgroundColor","primary","Text","label","color","static_white","subtitleBold","exports","StyleSheet","create","paddingHorizontal","paddingVertical","borderTopLeftRadius","borderBottomLeftRadius","justifyContent","textAlign","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/LiveIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAA0D,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAE1D;AACA;AACA;;AAGA;AACA;AACA;AACO,MAAMG,aAAa,GAAGC,IAAA,IAA4B;EAAA,IAA3B,CAAqB,CAAC,GAAAA,IAAA;EAClD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAc;EAC5C,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACEjB,MAAA,CAAAQ,OAAA,CAAAU,aAAA,CAACf,YAAA,CAAAgB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEX,MAAM,CAACY;IAAQ,CAAC,EACnCV,aAAa,CAACQ,SAAS;EACvB,gBAEFtB,MAAA,CAAAQ,OAAA,CAAAU,aAAA,CAACf,YAAA,CAAAsB,IAAI;IACHL,KAAK,EAAE,CACLC,MAAM,CAACK,KAAK,EACZ;MAAEC,KAAK,EAAEf,MAAM,CAACgB;IAAa,CAAC,EAC9Bf,SAAS,CAACgB,YAAY,EACtBf,aAAa,CAACY,KAAK;EACnB,GAEDV,CAAC,CAAC,MAAM,CACL,CACF,CAAC;AAEX,CAAC;AAACc,OAAA,CAAArB,aAAA,GAAAA,aAAA;AAEF,MAAMY,MAAM,GAAGU,uBAAU,CAACC,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,mBAAmB,EAAE,CAAC;IACtBC,sBAAsB,EAAE,CAAC;IACzBC,cAAc,EAAE;EAClB,CAAC;EACDX,KAAK,EAAE;IACLY,SAAS,EAAE,QAAQ;IACnBC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC"}
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ViewerLivestreamTopView = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _DurationBadge = require("./DurationBadge");
10
+ var _LiveIndicator = require("./LiveIndicator");
11
+ var _FollowerCount = require("./FollowerCount");
12
+ var _contexts = require("../../../contexts");
13
+ var _constants = require("../../../constants");
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+ /**
16
+ * Props for the ViewerLivestreamTopView component.
17
+ */
18
+
19
+ /**
20
+ * The ViewerLivestreamTopView component displays the top view component of the viewer's live stream.
21
+ */
22
+ const ViewerLivestreamTopView = _ref => {
23
+ let {
24
+ DurationBadge = _DurationBadge.DurationBadge,
25
+ LiveIndicator = _LiveIndicator.LiveIndicator,
26
+ FollowerCount = _FollowerCount.FollowerCount
27
+ } = _ref;
28
+ const {
29
+ theme: {
30
+ colors,
31
+ viewerLivestreamTopView
32
+ }
33
+ } = (0, _contexts.useTheme)();
34
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
35
+ style: [styles.container, {
36
+ backgroundColor: colors.static_overlay
37
+ }, viewerLivestreamTopView.container]
38
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
39
+ style: [styles.leftElement, viewerLivestreamTopView.leftElement]
40
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
41
+ style: [styles.liveInfo, viewerLivestreamTopView.liveInfo]
42
+ }, LiveIndicator && /*#__PURE__*/_react.default.createElement(LiveIndicator, null), FollowerCount && /*#__PURE__*/_react.default.createElement(FollowerCount, null))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
43
+ style: [styles.centerElement, viewerLivestreamTopView.centerElement]
44
+ }, DurationBadge && /*#__PURE__*/_react.default.createElement(DurationBadge, {
45
+ mode: "viewer"
46
+ })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
47
+ style: [styles.rightElement, viewerLivestreamTopView.rightElement]
48
+ }));
49
+ };
50
+ exports.ViewerLivestreamTopView = ViewerLivestreamTopView;
51
+ const styles = _reactNative.StyleSheet.create({
52
+ container: {
53
+ position: 'absolute',
54
+ top: 0,
55
+ flexDirection: 'row',
56
+ alignItems: 'center',
57
+ paddingVertical: 16,
58
+ paddingHorizontal: 8,
59
+ borderBottomEndRadius: 8,
60
+ borderBottomStartRadius: 8,
61
+ zIndex: _constants.Z_INDEX.IN_FRONT
62
+ },
63
+ liveInfo: {
64
+ flexDirection: 'row'
65
+ },
66
+ leftElement: {
67
+ flex: 1,
68
+ alignItems: 'flex-start'
69
+ },
70
+ centerElement: {
71
+ flex: 1,
72
+ alignItems: 'center',
73
+ flexGrow: 3
74
+ },
75
+ rightElement: {
76
+ flex: 1,
77
+ alignItems: 'flex-end'
78
+ }
79
+ });
80
+ //# sourceMappingURL=ViewerLivestreamTopView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_DurationBadge","_LiveIndicator","_FollowerCount","_contexts","_constants","obj","__esModule","default","ViewerLivestreamTopView","_ref","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","theme","colors","viewerLivestreamTopView","useTheme","createElement","View","style","styles","container","backgroundColor","static_overlay","leftElement","liveInfo","centerElement","mode","rightElement","exports","StyleSheet","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","Z_INDEX","IN_FRONT","flex","flexGrow"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAIA,IAAAG,cAAA,GAAAH,OAAA;AAIA,IAAAI,cAAA,GAAAJ,OAAA;AAIA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAA6C,SAAAD,uBAAAQ,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAE7C;AACA;AACA;;AAgBA;AACA;AACA;AACO,MAAMG,uBAAuB,GAAGC,IAAA,IAIH;EAAA,IAJI;IACtCC,aAAa,GAAGC,4BAAoB;IACpCC,aAAa,GAAGC,4BAAoB;IACpCC,aAAa,GAAGC;EACY,CAAC,GAAAN,IAAA;EAC7B,MAAM;IACJO,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAwB;EAC3C,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEd,oBACEvB,MAAA,CAAAW,OAAA,CAAAa,aAAA,CAACrB,YAAA,CAAAsB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAER,MAAM,CAACS;IAAe,CAAC,EAC1CR,uBAAuB,CAACM,SAAS;EACjC,gBAEF5B,MAAA,CAAAW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EAClB,CAAC;EACDjB,QAAQ,EAAE;IACRS,aAAa,EAAE;EACjB,CAAC;EACDV,WAAW,EAAE;IACXmB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd,CAAC;EACDT,aAAa,EAAE;IACbiB,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE,QAAQ;IACpBS,QAAQ,EAAE;EACZ,CAAC;EACDhB,YAAY,EAAE;IACZe,IAAI,EAAE,CAAC;IACPR,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _DurationBadge = require("./DurationBadge");
7
+ Object.keys(_DurationBadge).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _DurationBadge[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _DurationBadge[key];
14
+ }
15
+ });
16
+ });
17
+ var _FollowerCount = require("./FollowerCount");
18
+ Object.keys(_FollowerCount).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _FollowerCount[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _FollowerCount[key];
25
+ }
26
+ });
27
+ });
28
+ var _LiveIndicator = require("./LiveIndicator");
29
+ Object.keys(_LiveIndicator).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _LiveIndicator[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _LiveIndicator[key];
36
+ }
37
+ });
38
+ });
39
+ var _HostLivestreamTopView = require("./HostLivestreamTopView");
40
+ Object.keys(_HostLivestreamTopView).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _HostLivestreamTopView[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _HostLivestreamTopView[key];
47
+ }
48
+ });
49
+ });
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_DurationBadge","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_FollowerCount","_LiveIndicator","_HostLivestreamTopView"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/index.ts"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,cAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,cAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,cAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,cAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,cAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,cAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,cAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,cAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,sBAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,sBAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,sBAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,sBAAA,CAAAP,GAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ViewerLivestream = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _hooks = require("../../../hooks");
10
+ var _contexts = require("../../../contexts");
11
+ var _ViewerLivestreamTopView = require("../LivestreamTopView/ViewerLivestreamTopView");
12
+ var _ViewerLivestreamControls = require("../LivestreamControls/ViewerLivestreamControls");
13
+ var _LivestreamLayout = require("../LivestreamLayout");
14
+ var _videoReactBindings = require("@stream-io/video-react-bindings");
15
+ var _Participant = require("../../Participant");
16
+ var _constants = require("../../../constants");
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
+ /**
19
+ * Props for the ViewerLivestream component.
20
+ */
21
+
22
+ /**
23
+ * The ViewerLivestream component renders the UI for the Viewer's live stream.
24
+ */
25
+ const ViewerLivestream = _ref => {
26
+ let {
27
+ ViewerLivestreamTopView = _ViewerLivestreamTopView.ViewerLivestreamTopView,
28
+ ViewerLivestreamControls = _ViewerLivestreamControls.ViewerLivestreamControls,
29
+ LivestreamLayout = _LivestreamLayout.LivestreamLayout,
30
+ FloatingParticipantView = _Participant.FloatingParticipantView,
31
+ LiveIndicator,
32
+ FollowerCount,
33
+ DurationBadge,
34
+ ViewerLeaveStreamButton,
35
+ onLeaveStreamHandler
36
+ } = _ref;
37
+ const {
38
+ theme: {
39
+ colors,
40
+ viewerLivestream
41
+ }
42
+ } = (0, _contexts.useTheme)();
43
+ const {
44
+ useHasOngoingScreenShare,
45
+ useParticipants
46
+ } = (0, _videoReactBindings.useCallStateHooks)();
47
+ const hasOngoingScreenShare = useHasOngoingScreenShare();
48
+ const [currentSpeaker] = useParticipants();
49
+
50
+ // Automatically route audio to speaker devices as relevant for watching videos.
51
+ (0, _hooks.useIncallManager)({
52
+ media: 'video',
53
+ auto: true
54
+ });
55
+ const topViewProps = {
56
+ LiveIndicator,
57
+ FollowerCount,
58
+ DurationBadge
59
+ };
60
+ return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
61
+ style: [styles.container, {
62
+ backgroundColor: colors.static_grey
63
+ }, viewerLivestream.container]
64
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
65
+ style: [styles.view, viewerLivestream.view]
66
+ }, ViewerLivestreamTopView && /*#__PURE__*/_react.default.createElement(ViewerLivestreamTopView, topViewProps), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
67
+ style: [styles.floatingParticipantView, viewerLivestream.floatingParticipantView]
68
+ }, hasOngoingScreenShare && FloatingParticipantView && /*#__PURE__*/_react.default.createElement(FloatingParticipantView, {
69
+ participant: currentSpeaker
70
+ })), ViewerLivestreamControls && /*#__PURE__*/_react.default.createElement(ViewerLivestreamControls, {
71
+ ViewerLeaveStreamButton: ViewerLeaveStreamButton,
72
+ onLeaveStreamHandler: onLeaveStreamHandler
73
+ })), LivestreamLayout && /*#__PURE__*/_react.default.createElement(LivestreamLayout, null));
74
+ };
75
+ exports.ViewerLivestream = ViewerLivestream;
76
+ const styles = _reactNative.StyleSheet.create({
77
+ container: {
78
+ flex: 1
79
+ },
80
+ floatingParticipantView: {
81
+ flex: 1
82
+ },
83
+ view: {
84
+ ..._reactNative.StyleSheet.absoluteFillObject,
85
+ zIndex: _constants.Z_INDEX.IN_FRONT
86
+ }
87
+ });
88
+ //# sourceMappingURL=ViewerLivestream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_hooks","_contexts","_ViewerLivestreamTopView","_ViewerLivestreamControls","_LivestreamLayout","_videoReactBindings","_Participant","_constants","obj","__esModule","default","ViewerLivestream","_ref","ViewerLivestreamTopView","DefaultViewerLivestreamTopView","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","FloatingParticipantView","DefaultFloatingParticipantView","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","theme","colors","viewerLivestream","useTheme","useHasOngoingScreenShare","useParticipants","useCallStateHooks","hasOngoingScreenShare","currentSpeaker","useIncallManager","media","auto","topViewProps","createElement","SafeAreaView","style","styles","container","backgroundColor","static_grey","View","view","floatingParticipantView","participant","exports","StyleSheet","create","flex","absoluteFillObject","zIndex","Z_INDEX","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/ViewerLivestream.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,wBAAA,GAAAJ,OAAA;AAIA,IAAAK,yBAAA,GAAAL,OAAA;AAKA,IAAAM,iBAAA,GAAAN,OAAA;AAIA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AAIA,IAAAS,UAAA,GAAAT,OAAA;AAA6C,SAAAD,uBAAAW,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,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ACD1C,MAAA,CAAAc,OAAA,CAAA6B,aAAA,CAACxC,YAAA,CAAA+C,IAAI;IACHL,KAAK,EAAE,CACLC,MAAM,CAACM,uBAAuB,EAC9BpB,gBAAgB,CAACoB,uBAAuB;EACxC,GAEDf,qBAAqB,IAAId,uBAAuB,iBAC/CvB,MAAA,CAAAc,OAAA,CAAA6B,aAAA,CAACpB,uBAAuB;IAAC8B,WAAW,EAAEf;EAAe,CAAE,CAErD,CAAC,EAENnB,wBAAwB,iBACvBnB,MAAA,CAAAc,OAAA,CAAA6B,aAAA,CAACxB,wBAAwB;IACvBS,uBAAuB,EAAEA,uBAAwB;IACjDC,oBAAoB,EAAEA;EAAqB,CAC5C,CAEC,CAAC,EACNR,gBAAgB,iBAAIrB,MAAA,CAAAc,OAAA,CAAA6B,aAAA,CAACtB,gBAAgB,MAAE,CAC5B,CAAC;AAEnB,CAAC;AAACiC,OAAA,CAAAvC,gBAAA,GAAAA,gBAAA;AAEF,MAAM+B,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,IAAI,EAAE;EACR,CAAC;EACDL,uBAAuB,EAAE;IACvBK,IAAI,EAAE;EACR,CAAC;EACDN,IAAI,EAAE;IACJ,GAAGI,uBAAU,CAACG,kBAAkB;IAChCC,MAAM,EAAEC,kBAAO,CAACC;EAClB;AACF,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _ViewerLivestream = require("./ViewerLivestream");
7
+ Object.keys(_ViewerLivestream).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _ViewerLivestream[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _ViewerLivestream[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_ViewerLivestream","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/index.ts"],"mappings":";;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,iBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,iBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,iBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _HostLivestream = require("./HostLivestream");
7
+ Object.keys(_HostLivestream).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _HostLivestream[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _HostLivestream[key];
14
+ }
15
+ });
16
+ });
17
+ var _LivestreamControls = require("./LivestreamControls");
18
+ Object.keys(_LivestreamControls).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _LivestreamControls[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _LivestreamControls[key];
25
+ }
26
+ });
27
+ });
28
+ var _LivestreamTopView = require("./LivestreamTopView");
29
+ Object.keys(_LivestreamTopView).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _LivestreamTopView[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _LivestreamTopView[key];
36
+ }
37
+ });
38
+ });
39
+ var _ViewerLivestream = require("./ViewerLivestream");
40
+ Object.keys(_ViewerLivestream).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _ViewerLivestream[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _ViewerLivestream[key];
47
+ }
48
+ });
49
+ });
50
+ var _LivestreamLayout = require("./LivestreamLayout");
51
+ Object.keys(_LivestreamLayout).forEach(function (key) {
52
+ if (key === "default" || key === "__esModule") return;
53
+ if (key in exports && exports[key] === _LivestreamLayout[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _LivestreamLayout[key];
58
+ }
59
+ });
60
+ });
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_HostLivestream","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_LivestreamControls","_LivestreamTopView","_ViewerLivestream","_LivestreamLayout"],"sourceRoot":"../../../../src","sources":["components/Livestream/index.ts"],"mappings":";;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,eAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,eAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,eAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,mBAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,mBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,mBAA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R,GAAA;IAAA;EAAA;AAAA"}
@@ -36,4 +36,15 @@ Object.keys(_Participant).forEach(function (key) {
36
36
  }
37
37
  });
38
38
  });
39
+ var _Livestream = require("./Livestream");
40
+ Object.keys(_Livestream).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _Livestream[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _Livestream[key];
47
+ }
48
+ });
49
+ });
39
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_Call","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_utility","_Participant"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,KAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,KAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,KAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,QAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,QAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,QAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,QAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,YAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,YAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,YAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,YAAA,CAAAN,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["_Call","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_utility","_Participant","_Livestream"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,KAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,KAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,KAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,QAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,QAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,QAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,QAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,YAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,YAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,YAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,YAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,WAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,WAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,WAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,WAAA,CAAAP,GAAA;IAAA;EAAA;AAAA"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePaginatedLayoutSortPreset = void 0;
7
+ var _videoClient = require("@stream-io/video-client");
8
+ var _react = require("react");
9
+ const resetSortPreset = call => {
10
+ // reset the sorting to the default for the call type
11
+ const callConfig = _videoClient.CallTypes.get(call.type);
12
+ call.setSortParticipantsBy(callConfig.options.sortParticipantsBy || _videoClient.defaultSortPreset);
13
+ };
14
+ const usePaginatedLayoutSortPreset = call => {
15
+ (0, _react.useEffect)(() => {
16
+ if (!call) {
17
+ return;
18
+ }
19
+ call.setSortParticipantsBy(_videoClient.paginatedLayoutSortPreset);
20
+ return () => {
21
+ resetSortPreset(call);
22
+ };
23
+ }, [call]);
24
+ };
25
+ exports.usePaginatedLayoutSortPreset = usePaginatedLayoutSortPreset;
26
+ //# sourceMappingURL=usePaginatedLayoutSortPreset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_videoClient","require","_react","resetSortPreset","call","callConfig","CallTypes","get","type","setSortParticipantsBy","options","sortParticipantsBy","defaultSortPreset","usePaginatedLayoutSortPreset","useEffect","paginatedLayoutSortPreset","exports"],"sourceRoot":"../../../src","sources":["hooks/usePaginatedLayoutSortPreset.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,eAAe,GAAIC,IAAU,IAAK;EACtC;EACA,MAAMC,UAAU,GAAGC,sBAAS,CAACC,GAAG,CAACH,IAAI,CAACI,IAAI,CAAC;EAC3CJ,IAAI,CAACK,qBAAqB,CACxBJ,UAAU,CAACK,OAAO,CAACC,kBAAkB,IAAIC,8BAC3C,CAAC;AACH,CAAC;AAEM,MAAMC,4BAA4B,GAAIT,IAAsB,IAAK;EACtE,IAAAU,gBAAS,EAAC,MAAM;IACd,IAAI,CAACV,IAAI,EAAE;MACT;IACF;IACAA,IAAI,CAACK,qBAAqB,CAACM,sCAAyB,CAAC;IACrD,OAAO,MAAM;MACXZ,eAAe,CAACC,IAAI,CAAC;IACvB,CAAC;EACH,CAAC,EAAE,CAACA,IAAI,CAAC,CAAC;AACZ,CAAC;AAACY,OAAA,CAAAH,4BAAA,GAAAA,4BAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.EndBroadcastIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const EndBroadcastIcon = () => {
11
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
12
+ viewBox: "0 0 26 26",
13
+ fill: "none"
14
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
15
+ d: "M8.55615 10.8184C8.44365 11.2309 8.38115 11.6684 8.38115 12.1184C8.38115 13.4934 8.94365 14.7434 9.84365 15.6559L8.06865 17.4309C6.71865 16.0684 5.88115 14.1934 5.88115 12.1184C5.88115 10.9559 6.14365 9.86836 6.60615 8.88086L4.76865 7.04336C3.88115 8.53086 3.38115 10.2684 3.38115 12.1184C3.38115 14.8809 4.50615 17.3809 6.31865 19.1809L4.54365 20.9559C2.28115 18.6934 0.881152 15.5684 0.881152 12.1184C0.881152 9.56836 1.64365 7.20586 2.95615 5.23086L0.118652 2.39336L1.88115 0.630859L24.8562 23.6059L23.0937 25.3684L8.55615 10.8184ZM20.1562 15.3559C20.6187 14.3684 20.8812 13.2809 20.8812 12.1184C20.8812 10.0434 20.0437 8.16836 18.6812 6.81836L16.9062 8.59336C17.8187 9.49336 18.3812 10.7434 18.3812 12.1184C18.3812 12.5684 18.3187 13.0059 18.2062 13.4184L20.1562 15.3559ZM23.3812 12.1184C23.3812 13.9684 22.8812 15.7059 21.9937 17.1934L23.8062 19.0059C25.1187 17.0309 25.8812 14.6684 25.8812 12.1184C25.8812 8.66836 24.4812 5.54336 22.2187 3.28086L20.4437 5.05586C22.2562 6.85586 23.3812 9.35586 23.3812 12.1184Z",
16
+ fill: "#FCFCFC"
17
+ }));
18
+ };
19
+ exports.EndBroadcastIcon = EndBroadcastIcon;
20
+ //# sourceMappingURL=EndStreamIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","EndBroadcastIcon","createElement","Svg","viewBox","fill","Path","d","exports"],"sourceRoot":"../../../src","sources":["icons/EndStreamIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEtC,MAAMG,gBAAgB,GAAGA,CAAA,KAAM;EACpC,oBACEP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAM,GAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,gBAClCX,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAS,IAAI;IACHC,CAAC,EAAC,0/BAA0/B;IAC5/BF,IAAI,EAAC;EAAS,CACf,CACE,CAAC;AAEV,CAAC;AAACG,OAAA,CAAAP,gBAAA,GAAAA,gBAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Eye = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const Eye = () => {
11
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
12
+ viewBox: "0 0 15 10",
13
+ fill: "none"
14
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
15
+ d: "M7.25488 1.5625C9.62363 1.5625 11.7361 2.89375 12.7674 5C11.7361 7.10625 9.62363 8.4375 7.25488 8.4375C4.88613 8.4375 2.77363 7.10625 1.74238 5C2.77363 2.89375 4.88613 1.5625 7.25488 1.5625ZM7.25488 0.3125C4.12988 0.3125 1.46113 2.25625 0.379883 5C1.46113 7.74375 4.12988 9.6875 7.25488 9.6875C10.3799 9.6875 13.0486 7.74375 14.1299 5C13.0486 2.25625 10.3799 0.3125 7.25488 0.3125ZM7.25488 3.4375C8.11738 3.4375 8.81738 4.1375 8.81738 5C8.81738 5.8625 8.11738 6.5625 7.25488 6.5625C6.39238 6.5625 5.69238 5.8625 5.69238 5C5.69238 4.1375 6.39238 3.4375 7.25488 3.4375ZM7.25488 2.1875C5.70488 2.1875 4.44238 3.45 4.44238 5C4.44238 6.55 5.70488 7.8125 7.25488 7.8125C8.80488 7.8125 10.0674 6.55 10.0674 5C10.0674 3.45 8.80488 2.1875 7.25488 2.1875Z",
16
+ fill: "#FCFCFC"
17
+ }));
18
+ };
19
+ exports.Eye = Eye;
20
+ //# sourceMappingURL=Eye.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","Eye","createElement","Svg","viewBox","fill","Path","d","exports"],"sourceRoot":"../../../src","sources":["icons/Eye.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEtC,MAAMG,GAAG,GAAGA,CAAA,KAAM;EACvB,oBACEP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAM,GAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,gBAClCX,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAS,IAAI;IACHC,CAAC,EAAC,2uBAA2uB;IAC7uBF,IAAI,EAAC;EAAS,CACf,CACE,CAAC;AAEV,CAAC;AAACG,OAAA,CAAAP,GAAA,GAAAA,GAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.LeaveStreamIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const LeaveStreamIcon = () => {
11
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
12
+ viewBox: "0 0 25 24",
13
+ fill: "none"
14
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
15
+ d: "M18.75 5.75L16.9875 7.5125L20.2125 10.75H7.5V13.25H20.2125L16.9875 16.475L18.75 18.25L25 12L18.75 5.75ZM2.5 3.25H12.5V0.75H2.5C1.125 0.75 0 1.875 0 3.25V20.75C0 22.125 1.125 23.25 2.5 23.25H12.5V20.75H2.5V3.25Z",
16
+ fill: "#FCFCFC"
17
+ }));
18
+ };
19
+ exports.LeaveStreamIcon = LeaveStreamIcon;
20
+ //# sourceMappingURL=LeaveStreamIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","LeaveStreamIcon","createElement","Svg","viewBox","fill","Path","d","exports"],"sourceRoot":"../../../src","sources":["icons/LeaveStreamIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEtC,MAAMG,eAAe,GAAGA,CAAA,KAAM;EACnC,oBACEP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAM,GAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,gBAClCX,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAS,IAAI;IACHC,CAAC,EAAC,oNAAoN;IACtNF,IAAI,EAAC;EAAS,CACf,CACE,CAAC;AAEV,CAAC;AAACG,OAAA,CAAAP,eAAA,GAAAA,eAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ShieldBadge = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const ShieldBadge = () => {
11
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
12
+ viewBox: "0 0 9 10",
13
+ fill: "none"
14
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
15
+ d: "M2.79919 8.79157L4.02014 9.63654C4.22869 9.7774 4.49664 9.7774 4.70498 9.63654L5.92594 8.79157C7.6828 7.5523 8.75481 5.60898 8.75481 3.52489V1.60984C8.75481 1.35641 8.57617 1.13107 8.30822 1.07467L4.3774 0.257812L0.446587 1.07447C0.178632 1.13085 0 1.35619 0 1.60964V3.52469C0 5.60888 1.04233 7.58057 2.79919 8.79157ZM2.56093 4.05991L3.69256 5.13019L6.16414 2.79258L7.05753 3.63755L3.72223 6.82014L1.69742 4.90488L2.56093 4.05991Z",
16
+ fill: "#00E2A1"
17
+ }));
18
+ };
19
+ exports.ShieldBadge = ShieldBadge;
20
+ //# sourceMappingURL=ShieldBadge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","ShieldBadge","createElement","Svg","viewBox","fill","Path","d","exports"],"sourceRoot":"../../../src","sources":["icons/ShieldBadge.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEtC,MAAMG,WAAW,GAAGA,CAAA,KAAM;EAC/B,oBACEP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAM,GAAG;IAACC,OAAO,EAAC,UAAU;IAACC,IAAI,EAAC;EAAM,gBACjCX,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAS,IAAI;IACHC,CAAC,EAAC,gbAAgb;IAClbF,IAAI,EAAC;EAAS,CACf,CACE,CAAC;AAEV,CAAC;AAACG,OAAA,CAAAP,WAAA,GAAAA,WAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StartStreamIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = require("react-native-svg");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const StartStreamIcon = () => {
11
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
12
+ viewBox: "0 0 25 18",
13
+ fill: "none"
14
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
15
+ d: "M7.2 14.2996C5.8375 12.9496 5 11.0746 5 8.99961C5 6.92461 5.8375 5.04961 7.2 3.69961L8.975 5.47461C8.0625 6.37461 7.5 7.62461 7.5 8.99961C7.5 10.3746 8.0625 11.6246 8.9625 12.5371L7.2 14.2996ZM17.8 14.2996C19.1625 12.9496 20 11.0746 20 8.99961C20 6.92461 19.1625 5.04961 17.8 3.69961L16.025 5.47461C16.9375 6.37461 17.5 7.62461 17.5 8.99961C17.5 10.3746 16.9375 11.6246 16.0375 12.5371L17.8 14.2996ZM12.5 6.49961C11.125 6.49961 10 7.62461 10 8.99961C10 10.3746 11.125 11.4996 12.5 11.4996C13.875 11.4996 15 10.3746 15 8.99961C15 7.62461 13.875 6.49961 12.5 6.49961ZM22.5 8.99961C22.5 11.7621 21.375 14.2621 19.5625 16.0621L21.3375 17.8371C23.6 15.5746 25 12.4496 25 8.99961C25 5.54961 23.6 2.42461 21.3375 0.162109L19.5625 1.93711C21.375 3.73711 22.5 6.23711 22.5 8.99961ZM5.4375 1.93711L3.6625 0.162109C1.4 2.42461 0 5.54961 0 8.99961C0 12.4496 1.4 15.5746 3.6625 17.8371L5.4375 16.0621C3.625 14.2621 2.5 11.7621 2.5 8.99961C2.5 6.23711 3.625 3.73711 5.4375 1.93711Z",
16
+ fill: "#FCFCFC"
17
+ }));
18
+ };
19
+ exports.StartStreamIcon = StartStreamIcon;
20
+ //# sourceMappingURL=StartStreamIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","obj","__esModule","default","StartStreamIcon","createElement","Svg","viewBox","fill","Path","d","exports"],"sourceRoot":"../../../src","sources":["icons/StartStreamIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEtC,MAAMG,eAAe,GAAGA,CAAA,KAAM;EACnC,oBACEP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAM,GAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,gBAClCX,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,eAAA,CAAAS,IAAI;IACHC,CAAC,EAAC,y8BAAy8B;IAC38BF,IAAI,EAAC;EAAS,CACf,CACE,CAAC;AAEV,CAAC;AAACG,OAAA,CAAAP,eAAA,GAAAA,eAAA"}