@100mslive/roomkit-react 0.3.22-alpha.3 → 0.3.22-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Accordion/Accordion.d.ts +322 -134
- package/dist/Accordion/index.d.ts +322 -134
- package/dist/Avatar/Avatar.d.ts +141 -47
- package/dist/Button/Button.d.ts +141 -47
- package/dist/Checkbox/Checkbox.d.ts +322 -134
- package/dist/Collapsible/Collapsible.d.ts +483 -201
- package/dist/Divider/Divider.d.ts +322 -134
- package/dist/Dropdown/Dropdown.d.ts +1932 -804
- package/dist/Fieldset/Fieldset.d.ts +141 -47
- package/dist/Footer/Footer.d.ts +1288 -536
- package/dist/{PDFView-RMR33QH4.css → HLSView-CNAJ5SBZ.css} +3 -3
- package/dist/{LeaveScreen-ZAG5UJZL.css.map → HLSView-CNAJ5SBZ.css.map} +1 -1
- package/dist/{HLSView-EYGGK6BH.js → HLSView-YIWJTBCT.js} +24 -38
- package/dist/HLSView-YIWJTBCT.js.map +7 -0
- package/dist/IconButton/IconButton.d.ts +141 -47
- package/dist/Input/Input.d.ts +926 -362
- package/dist/Label/Label.d.ts +141 -47
- package/dist/Layout/Box.d.ts +141 -47
- package/dist/Layout/Flex.d.ts +141 -47
- package/dist/Link/Link.d.ts +141 -47
- package/dist/Modal/Dialog.d.ts +987 -329
- package/dist/Modal/DialogContent.d.ts +1127 -469
- package/dist/Pagination/StyledPagination.d.ts +644 -268
- package/dist/Popover/index.d.ts +483 -201
- package/dist/Prebuilt/IconButton.d.ts +322 -134
- package/dist/Prebuilt/components/Chat/ChatBody.d.ts +322 -134
- package/dist/Prebuilt/components/Leave/LeaveAtoms.d.ts +805 -335
- package/dist/Prebuilt/components/Settings/common.d.ts +322 -134
- package/dist/Progress/index.d.ts +322 -134
- package/dist/RadioGroup/RadioGroup.d.ts +483 -201
- package/dist/ReactSelect/ReactSelect.d.ts +1610 -670
- package/dist/Select/Select.d.ts +483 -201
- package/dist/Sheet/Sheet.d.ts +987 -329
- package/dist/Slider/Slider.d.ts +141 -47
- package/dist/Stats/StyledStats.d.ts +966 -402
- package/dist/Switch/Switch.d.ts +141 -47
- package/dist/Tabs/Tabs.d.ts +644 -268
- package/dist/Text/Text.d.ts +141 -47
- package/dist/TextArea/TextArea.d.ts +141 -47
- package/dist/Theme/base.config.d.ts +78 -26
- package/dist/Theme/stitches.config.d.ts +1514 -1067
- package/dist/TileMenu/StyledMenuTile.d.ts +1127 -469
- package/dist/Toast/Toast.d.ts +946 -382
- package/dist/Video/Video.d.ts +141 -47
- package/dist/VideoList/StyledVideoList.d.ts +483 -201
- package/dist/VideoTile/StyledVideoTile.d.ts +1610 -670
- package/dist/chunk-4UCH4XSJ.js +34759 -0
- package/dist/chunk-4UCH4XSJ.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +22367 -22558
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +15 -25
- package/dist/meta.cjs.json +5076 -5434
- package/dist/meta.esbuild.json +6290 -9146
- package/package.json +8 -8
- package/src/Avatar/Avatar.tsx +1 -1
- package/src/Popover/Popover.stories.tsx +1 -1
- package/src/Prebuilt/App.tsx +2 -6
- package/src/Prebuilt/components/Chat/Chat.tsx +8 -12
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +1 -1
- package/src/Prebuilt/components/Notifications/Notifications.tsx +171 -13
- package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +2 -9
- package/src/Prebuilt/components/Notifications/ReconnectNotifications.tsx +5 -1
- package/src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx +5 -7
- package/src/Prebuilt/components/Notifications/TrackNotifications.tsx +1 -23
- package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +5 -13
- package/src/Prebuilt/components/StatsForNerds.jsx +3 -32
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +31 -43
- package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +2 -2
- package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +1 -3
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +0 -6
- package/src/Prebuilt/layouts/HLSView.jsx +0 -1
- package/src/Prebuilt/layouts/PDFView.jsx +0 -1
- package/src/Prebuilt/layouts/SidePane.tsx +6 -12
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +34 -35
- package/dist/ConferenceScreen-CSVWECB5.js +0 -1778
- package/dist/ConferenceScreen-CSVWECB5.js.map +0 -7
- package/dist/ConferenceScreen-YRURU3RV.css +0 -2780
- package/dist/ConferenceScreen-YRURU3RV.css.map +0 -7
- package/dist/EmbedView-N2E4DZQA.js +0 -17
- package/dist/EmbedView-N2E4DZQA.js.map +0 -7
- package/dist/EmbedView-S54NTHF5.css +0 -2780
- package/dist/EmbedView-S54NTHF5.css.map +0 -7
- package/dist/EmojiReaction-3X4ST4AU.js +0 -11
- package/dist/EmojiReaction-3X4ST4AU.js.map +0 -7
- package/dist/HLSView-EYGGK6BH.js.map +0 -7
- package/dist/HLSView-LBTFLMI4.css +0 -2780
- package/dist/HLSView-LBTFLMI4.css.map +0 -7
- package/dist/LeaveScreen-D6XU64JL.js +0 -556
- package/dist/LeaveScreen-D6XU64JL.js.map +0 -7
- package/dist/LeaveScreen-ZAG5UJZL.css +0 -2780
- package/dist/MoreSettings-R7B4BSNT.css +0 -2780
- package/dist/MoreSettings-R7B4BSNT.css.map +0 -7
- package/dist/MoreSettings-TBJVM7OY.js +0 -16
- package/dist/MoreSettings-TBJVM7OY.js.map +0 -7
- package/dist/PDFView-JOIJDP65.js +0 -84
- package/dist/PDFView-JOIJDP65.js.map +0 -7
- package/dist/PDFView-RMR33QH4.css.map +0 -7
- package/dist/Polls-IN3V2HFI.js +0 -1584
- package/dist/Polls-IN3V2HFI.js.map +0 -7
- package/dist/Polls-JW7JWGTE.css +0 -2780
- package/dist/Polls-JW7JWGTE.css.map +0 -7
- package/dist/Prebuilt/components/Notifications/DeviceChangeNotifications.d.ts +0 -1
- package/dist/Prebuilt/components/Notifications/ErrorNotifications.d.ts +0 -1
- package/dist/Prebuilt/components/Notifications/MessageNotifications.d.ts +0 -1
- package/dist/Prebuilt/components/Notifications/PollNotificationModal.d.ts +0 -1
- package/dist/Prebuilt/components/Notifications/RoleChangeNotification.d.ts +0 -1
- package/dist/RaiseHand-WES4KKMD.js +0 -10
- package/dist/RaiseHand-WES4KKMD.js.map +0 -7
- package/dist/RoleProminence-4ZBDBCMU.css +0 -2780
- package/dist/RoleProminence-4ZBDBCMU.css.map +0 -7
- package/dist/RoleProminence-PB32DLIB.js +0 -116
- package/dist/RoleProminence-PB32DLIB.js.map +0 -7
- package/dist/RoomDetailsPane-CZH2SNLE.js +0 -53
- package/dist/RoomDetailsPane-CZH2SNLE.js.map +0 -7
- package/dist/RoomDetailsPane-XWH2KEFI.css +0 -2780
- package/dist/RoomDetailsPane-XWH2KEFI.css.map +0 -7
- package/dist/ScreenshareLayout-XVENPVK3.js +0 -358
- package/dist/ScreenshareLayout-XVENPVK3.js.map +0 -7
- package/dist/ScreenshareLayout-YUW3KHAB.css +0 -2780
- package/dist/ScreenshareLayout-YUW3KHAB.css.map +0 -7
- package/dist/SidePaneTabs-QXCDHOGG.js +0 -1354
- package/dist/SidePaneTabs-QXCDHOGG.js.map +0 -7
- package/dist/SidePaneTabs-WQGVOWRP.css +0 -2780
- package/dist/SidePaneTabs-WQGVOWRP.css.map +0 -7
- package/dist/VBPicker-XN74N67R.js +0 -322
- package/dist/VBPicker-XN74N67R.js.map +0 -7
- package/dist/VBPicker-YDM2YIOM.css +0 -2780
- package/dist/VBPicker-YDM2YIOM.css.map +0 -7
- package/dist/WaitingView-77PRTIBV.js +0 -10
- package/dist/WaitingView-77PRTIBV.js.map +0 -7
- package/dist/WhiteboardLayout-FZC7SOSG.js +0 -96
- package/dist/WhiteboardLayout-FZC7SOSG.js.map +0 -7
- package/dist/WhiteboardLayout-MNTUWEVK.css +0 -2780
- package/dist/WhiteboardLayout-MNTUWEVK.css.map +0 -7
- package/dist/android-perm-1.png +0 -0
- package/dist/audio-level.png +0 -0
- package/dist/chunk-26D5FDBW.js +0 -16812
- package/dist/chunk-26D5FDBW.js.map +0 -7
- package/dist/chunk-2J5WS52X.js +0 -2595
- package/dist/chunk-2J5WS52X.js.map +0 -7
- package/dist/chunk-2LWOQMYY.js +0 -30
- package/dist/chunk-2LWOQMYY.js.map +0 -7
- package/dist/chunk-3MRQJSIY.js +0 -171
- package/dist/chunk-3MRQJSIY.js.map +0 -7
- package/dist/chunk-4X4WB7X3.js +0 -98
- package/dist/chunk-4X4WB7X3.js.map +0 -7
- package/dist/chunk-7QZJMUHM.js +0 -90
- package/dist/chunk-7QZJMUHM.js.map +0 -7
- package/dist/chunk-ABCV7TX5.js +0 -71
- package/dist/chunk-ABCV7TX5.js.map +0 -7
- package/dist/chunk-BQOT4DK7.js +0 -418
- package/dist/chunk-BQOT4DK7.js.map +0 -7
- package/dist/chunk-ENHSO6YN.js +0 -6337
- package/dist/chunk-ENHSO6YN.js.map +0 -7
- package/dist/chunk-JKWX7W4K.js +0 -161
- package/dist/chunk-JKWX7W4K.js.map +0 -7
- package/dist/chunk-LO4BXA4G.js +0 -114
- package/dist/chunk-LO4BXA4G.js.map +0 -7
- package/dist/chunk-MRVWNFXC.js +0 -59
- package/dist/chunk-MRVWNFXC.js.map +0 -7
- package/dist/chunk-OA4HW7HW.js +0 -262
- package/dist/chunk-OA4HW7HW.js.map +0 -7
- package/dist/chunk-PJQSPAFZ.js +0 -178
- package/dist/chunk-PJQSPAFZ.js.map +0 -7
- package/dist/chunk-QHQKY35W.js +0 -830
- package/dist/chunk-QHQKY35W.js.map +0 -7
- package/dist/chunk-QKXHQ6DV.js +0 -254
- package/dist/chunk-QKXHQ6DV.js.map +0 -7
- package/dist/chunk-RTWNTT77.js +0 -62
- package/dist/chunk-RTWNTT77.js.map +0 -7
- package/dist/chunk-TBXRX6MK.js +0 -576
- package/dist/chunk-TBXRX6MK.js.map +0 -7
- package/dist/chunk-TCOPR3BK.js +0 -487
- package/dist/chunk-TCOPR3BK.js.map +0 -7
- package/dist/chunk-VKORP2LF.js +0 -41
- package/dist/chunk-VKORP2LF.js.map +0 -7
- package/dist/chunk-YYVDCP5Z.js +0 -136
- package/dist/chunk-YYVDCP5Z.js.map +0 -7
- package/dist/empty-chat.svg +0 -12
- package/dist/ios-perm-0.png +0 -0
- package/dist/pdf-share.png +0 -0
- package/dist/screen-share.png +0 -0
- package/dist/transaction_error.svg +0 -12
- package/src/Prebuilt/components/Notifications/DeviceChangeNotifications.tsx +0 -18
- package/src/Prebuilt/components/Notifications/ErrorNotifications.tsx +0 -56
- package/src/Prebuilt/components/Notifications/MessageNotifications.tsx +0 -24
- package/src/Prebuilt/components/Notifications/PollNotificationModal.tsx +0 -71
- package/src/Prebuilt/components/Notifications/RoleChangeNotification.tsx +0 -24
@@ -1,358 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
InsetTile
|
3
|
-
} from "./chunk-YYVDCP5Z.js";
|
4
|
-
import {
|
5
|
-
ProminenceLayout,
|
6
|
-
SecondaryTiles
|
7
|
-
} from "./chunk-3MRQJSIY.js";
|
8
|
-
import {
|
9
|
-
Pagination
|
10
|
-
} from "./chunk-PJQSPAFZ.js";
|
11
|
-
import {
|
12
|
-
Button,
|
13
|
-
LayoutMode,
|
14
|
-
LayoutModeIconMapping,
|
15
|
-
Popover,
|
16
|
-
StyledVideoTile,
|
17
|
-
TileMenu_default,
|
18
|
-
Video,
|
19
|
-
VideoTileStats,
|
20
|
-
getVideoTileLabel,
|
21
|
-
useTheme
|
22
|
-
} from "./chunk-26D5FDBW.js";
|
23
|
-
import {
|
24
|
-
Text
|
25
|
-
} from "./chunk-JKWX7W4K.js";
|
26
|
-
import "./chunk-BQOT4DK7.js";
|
27
|
-
import {
|
28
|
-
Box,
|
29
|
-
Flex
|
30
|
-
} from "./chunk-7QZJMUHM.js";
|
31
|
-
import {
|
32
|
-
useSetAppDataByKey,
|
33
|
-
useSetUiSettings,
|
34
|
-
useUISettings
|
35
|
-
} from "./chunk-ENHSO6YN.js";
|
36
|
-
import {
|
37
|
-
APP_DATA,
|
38
|
-
UI_SETTINGS,
|
39
|
-
__async,
|
40
|
-
config,
|
41
|
-
init_define_process_env
|
42
|
-
} from "./chunk-TBXRX6MK.js";
|
43
|
-
|
44
|
-
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
45
|
-
init_define_process_env();
|
46
|
-
import React4, { useEffect, useMemo, useState as useState3 } from "react";
|
47
|
-
import { useMedia as useMedia2 } from "react-use";
|
48
|
-
import { selectPeersScreenSharing, useHMSStore as useHMSStore2 } from "@100mslive/react-sdk";
|
49
|
-
|
50
|
-
// src/Prebuilt/components/ScreenshareTile.tsx
|
51
|
-
init_define_process_env();
|
52
|
-
import React3, { useRef, useState as useState2 } from "react";
|
53
|
-
import { useFullscreen, useMedia } from "react-use";
|
54
|
-
import screenfull from "screenfull";
|
55
|
-
import {
|
56
|
-
selectLocalPeerID,
|
57
|
-
selectPeerByID,
|
58
|
-
selectScreenShareAudioByPeerID,
|
59
|
-
selectScreenShareByPeerID,
|
60
|
-
useHMSStore
|
61
|
-
} from "@100mslive/react-sdk";
|
62
|
-
import { ExpandIcon, ShrinkIcon } from "@100mslive/react-icons";
|
63
|
-
|
64
|
-
// src/Prebuilt/components/LayoutModeSelector.tsx
|
65
|
-
init_define_process_env();
|
66
|
-
import React, { useCallback, useState } from "react";
|
67
|
-
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "@100mslive/react-icons";
|
68
|
-
var LayoutModeSelector = () => {
|
69
|
-
const [open, setOpen] = useState(false);
|
70
|
-
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
71
|
-
const updateLayoutMode = useCallback(
|
72
|
-
(value) => {
|
73
|
-
setLayoutMode(value);
|
74
|
-
setOpen(false);
|
75
|
-
},
|
76
|
-
[setLayoutMode, setOpen]
|
77
|
-
);
|
78
|
-
return /* @__PURE__ */ React.createElement(Popover.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React.createElement(Popover.Trigger, { asChild: true }, /* @__PURE__ */ React.createElement(
|
79
|
-
Flex,
|
80
|
-
{
|
81
|
-
align: "center",
|
82
|
-
css: {
|
83
|
-
gap: "$4",
|
84
|
-
color: open ? "$on_surface_low" : "$on_surface_medium",
|
85
|
-
r: "$1",
|
86
|
-
p: "$2 $4",
|
87
|
-
height: "100%"
|
88
|
-
}
|
89
|
-
},
|
90
|
-
/* @__PURE__ */ React.createElement(
|
91
|
-
Flex,
|
92
|
-
{
|
93
|
-
align: "center",
|
94
|
-
justify: "center",
|
95
|
-
css: {
|
96
|
-
color: "inherit",
|
97
|
-
"& > svg": {
|
98
|
-
w: "$9",
|
99
|
-
h: "$9"
|
100
|
-
}
|
101
|
-
}
|
102
|
-
},
|
103
|
-
LayoutModeIconMapping[layoutMode]
|
104
|
-
),
|
105
|
-
/* @__PURE__ */ React.createElement(Text, { variant: "caption", css: { color: "inherit", lineHeight: "$sm" } }, layoutMode),
|
106
|
-
open ? /* @__PURE__ */ React.createElement(ChevronUpIcon, { width: 16, height: 16 }) : /* @__PURE__ */ React.createElement(ChevronDownIcon, { width: 16, height: 16 })
|
107
|
-
)), /* @__PURE__ */ React.createElement(
|
108
|
-
Popover.Content,
|
109
|
-
{
|
110
|
-
css: {
|
111
|
-
w: "10.75rem",
|
112
|
-
r: "$1",
|
113
|
-
py: "$4",
|
114
|
-
px: 0,
|
115
|
-
backgroundColor: "$surface_default",
|
116
|
-
overflowY: "auto",
|
117
|
-
boxShadow: "0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)",
|
118
|
-
fontFamily: "$sans",
|
119
|
-
color: "$on_surface_high"
|
120
|
-
},
|
121
|
-
side: "bottom",
|
122
|
-
sideOffset: 8,
|
123
|
-
align: "end"
|
124
|
-
},
|
125
|
-
Object.keys(LayoutMode).map((key) => {
|
126
|
-
const value = LayoutMode[key];
|
127
|
-
return /* @__PURE__ */ React.createElement(
|
128
|
-
Flex,
|
129
|
-
{
|
130
|
-
key,
|
131
|
-
onClick: () => updateLayoutMode(value),
|
132
|
-
align: "center",
|
133
|
-
css: {
|
134
|
-
gap: "$4",
|
135
|
-
borderBottom: "1px solid $border_bright",
|
136
|
-
p: "$8",
|
137
|
-
"&:hover": {
|
138
|
-
cursor: "pointer",
|
139
|
-
bg: "$surface_bright"
|
140
|
-
},
|
141
|
-
"&:focus-visible": {
|
142
|
-
bg: "$surface_bright"
|
143
|
-
}
|
144
|
-
}
|
145
|
-
},
|
146
|
-
/* @__PURE__ */ React.createElement(
|
147
|
-
Flex,
|
148
|
-
{
|
149
|
-
align: "center",
|
150
|
-
justify: "center",
|
151
|
-
css: {
|
152
|
-
color: "$on_surface_medium",
|
153
|
-
"& > svg": {
|
154
|
-
w: "$9",
|
155
|
-
h: "$9"
|
156
|
-
}
|
157
|
-
}
|
158
|
-
},
|
159
|
-
LayoutModeIconMapping[value]
|
160
|
-
),
|
161
|
-
/* @__PURE__ */ React.createElement(Text, { variant: "caption", css: { lineHeight: "$sm" } }, value),
|
162
|
-
value === layoutMode ? /* @__PURE__ */ React.createElement(CheckIcon, { width: 20, height: 20, style: { marginLeft: "auto" } }) : null
|
163
|
-
);
|
164
|
-
})
|
165
|
-
));
|
166
|
-
};
|
167
|
-
|
168
|
-
// src/Prebuilt/components/ScreenshareDisplay.tsx
|
169
|
-
init_define_process_env();
|
170
|
-
import React2 from "react";
|
171
|
-
import { useHMSActions } from "@100mslive/react-sdk";
|
172
|
-
import { CrossIcon, ShareScreenIcon } from "@100mslive/react-icons";
|
173
|
-
var ScreenshareDisplay = () => {
|
174
|
-
const hmsActions = useHMSActions();
|
175
|
-
return /* @__PURE__ */ React2.createElement(
|
176
|
-
Flex,
|
177
|
-
{
|
178
|
-
direction: "column",
|
179
|
-
align: "center",
|
180
|
-
justify: "center",
|
181
|
-
css: {
|
182
|
-
size: "100%",
|
183
|
-
bg: "$background_default",
|
184
|
-
color: "$on_surface_high"
|
185
|
-
}
|
186
|
-
},
|
187
|
-
/* @__PURE__ */ React2.createElement(ShareScreenIcon, { width: 48, height: 48 }),
|
188
|
-
/* @__PURE__ */ React2.createElement(Text, { variant: "h5", css: { m: "$8 0" } }, "You are sharing your screen"),
|
189
|
-
/* @__PURE__ */ React2.createElement(
|
190
|
-
Button,
|
191
|
-
{
|
192
|
-
variant: "danger",
|
193
|
-
css: { fontWeight: "$semiBold" },
|
194
|
-
onClick: () => __async(void 0, null, function* () {
|
195
|
-
yield hmsActions.setScreenShareEnabled(false);
|
196
|
-
}),
|
197
|
-
"data-testid": "stop_screen_share_btn"
|
198
|
-
},
|
199
|
-
/* @__PURE__ */ React2.createElement(CrossIcon, { width: 18, height: 18 }),
|
200
|
-
"\xA0 Stop screen share"
|
201
|
-
)
|
202
|
-
);
|
203
|
-
};
|
204
|
-
|
205
|
-
// src/Prebuilt/components/ScreenshareTile.tsx
|
206
|
-
var labelStyles = {
|
207
|
-
position: "unset",
|
208
|
-
width: "100%",
|
209
|
-
textAlign: "center",
|
210
|
-
c: "$on_surface_high",
|
211
|
-
transform: "none",
|
212
|
-
flexShrink: 0
|
213
|
-
};
|
214
|
-
var Tile = ({ peerId, width = "100%", height = "100%" }) => {
|
215
|
-
const isLocal = useHMSStore(selectLocalPeerID) === peerId;
|
216
|
-
const track = useHMSStore(selectScreenShareByPeerID(peerId));
|
217
|
-
const { theme } = useTheme();
|
218
|
-
const peer = useHMSStore(selectPeerByID(peerId));
|
219
|
-
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
220
|
-
const [isMouseHovered, setIsMouseHovered] = useState2(false);
|
221
|
-
const isMobile = useMedia(config.media.md);
|
222
|
-
const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
|
223
|
-
const fullscreenRef = useRef(null);
|
224
|
-
const [fullscreen, setFullscreen] = useState2(false);
|
225
|
-
const isFullscreen = useFullscreen(fullscreenRef, fullscreen, {
|
226
|
-
onClose: () => setFullscreen(false)
|
227
|
-
});
|
228
|
-
const isFullScreenSupported = screenfull.isEnabled;
|
229
|
-
const audioTrack = useHMSStore(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
|
230
|
-
if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
|
231
|
-
return /* @__PURE__ */ React3.createElement(ScreenshareDisplay, null);
|
232
|
-
}
|
233
|
-
if (!peer) {
|
234
|
-
return null;
|
235
|
-
}
|
236
|
-
const label = getVideoTileLabel({
|
237
|
-
peerName: peer == null ? void 0 : peer.name,
|
238
|
-
isLocal: false,
|
239
|
-
videoTrack: track,
|
240
|
-
audioTrack
|
241
|
-
});
|
242
|
-
return /* @__PURE__ */ React3.createElement(
|
243
|
-
StyledVideoTile.Root,
|
244
|
-
{
|
245
|
-
css: {
|
246
|
-
width,
|
247
|
-
height,
|
248
|
-
p: 0,
|
249
|
-
minHeight: 0
|
250
|
-
},
|
251
|
-
"data-testid": "screenshare_tile"
|
252
|
-
},
|
253
|
-
/* @__PURE__ */ React3.createElement(
|
254
|
-
StyledVideoTile.Container,
|
255
|
-
{
|
256
|
-
transparentBg: true,
|
257
|
-
ref: fullscreenRef,
|
258
|
-
css: { flexDirection: "column", gap: "$2" },
|
259
|
-
onMouseEnter: () => setIsMouseHovered(true),
|
260
|
-
onMouseLeave: () => {
|
261
|
-
setIsMouseHovered(false);
|
262
|
-
}
|
263
|
-
},
|
264
|
-
showStatsOnTiles ? /* @__PURE__ */ React3.createElement(VideoTileStats, { audioTrackID: audioTrack == null ? void 0 : audioTrack.id, videoTrackID: track == null ? void 0 : track.id, peerID: peerId, isLocal }) : null,
|
265
|
-
isFullScreenSupported && isMouseHovered ? /* @__PURE__ */ React3.createElement(
|
266
|
-
StyledVideoTile.FullScreenButton,
|
267
|
-
{
|
268
|
-
css: { bg: `${theme.colors.background_dim.value}A3` },
|
269
|
-
onClick: () => setFullscreen(!fullscreen)
|
270
|
-
},
|
271
|
-
isFullscreen ? /* @__PURE__ */ React3.createElement(ShrinkIcon, null) : /* @__PURE__ */ React3.createElement(ExpandIcon, null)
|
272
|
-
) : null,
|
273
|
-
!isMobile && isMouseHovered && !isFullscreen && /* @__PURE__ */ React3.createElement(
|
274
|
-
Box,
|
275
|
-
{
|
276
|
-
css: {
|
277
|
-
position: "absolute",
|
278
|
-
top: "$2",
|
279
|
-
r: "$1",
|
280
|
-
h: "$14",
|
281
|
-
right: isFullScreenSupported ? "$17" : "$2",
|
282
|
-
zIndex: 5,
|
283
|
-
bg: `${theme.colors.background_dim.value}A3`
|
284
|
-
}
|
285
|
-
},
|
286
|
-
/* @__PURE__ */ React3.createElement(LayoutModeSelector, null)
|
287
|
-
),
|
288
|
-
track ? /* @__PURE__ */ React3.createElement(Video, { screenShare: true, mirror: false, attach: !isAudioOnly, trackId: track.id, css: { minHeight: 0 } }) : null,
|
289
|
-
/* @__PURE__ */ React3.createElement(StyledVideoTile.Info, { css: labelStyles }, label),
|
290
|
-
isMouseHovered && !peer.isLocal ? /* @__PURE__ */ React3.createElement(
|
291
|
-
TileMenu_default,
|
292
|
-
{
|
293
|
-
isScreenshare: true,
|
294
|
-
peerID: peer.id,
|
295
|
-
audioTrackID: audioTrack == null ? void 0 : audioTrack.id,
|
296
|
-
videoTrackID: track == null ? void 0 : track.id,
|
297
|
-
enableSpotlightingPeer: false
|
298
|
-
}
|
299
|
-
) : null
|
300
|
-
)
|
301
|
-
);
|
302
|
-
};
|
303
|
-
var ScreenshareTile = React3.memo(Tile);
|
304
|
-
var ScreenshareTile_default = ScreenshareTile;
|
305
|
-
|
306
|
-
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
307
|
-
var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
308
|
-
var _a;
|
309
|
-
const peersSharing = useHMSStore2(selectPeersScreenSharing);
|
310
|
-
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
311
|
-
const [page, setPage] = useState3(0);
|
312
|
-
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
313
|
-
const activeSharePeer = peersSharing[page];
|
314
|
-
const isMobile = useMedia2(config.media.md);
|
315
|
-
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
316
|
-
const secondaryPeers = useMemo(() => {
|
317
|
-
if (layoutMode === LayoutMode.SPOTLIGHT) {
|
318
|
-
return [];
|
319
|
-
}
|
320
|
-
if (isMobile || layoutMode === LayoutMode.SIDEBAR) {
|
321
|
-
return activeSharePeer ? [activeSharePeer, ...peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id))] : peers;
|
322
|
-
}
|
323
|
-
return peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id));
|
324
|
-
}, [activeSharePeer, peers, isMobile, layoutMode]);
|
325
|
-
useEffect(() => {
|
326
|
-
if (isMobile) {
|
327
|
-
setLayoutMode(LayoutMode.GALLERY);
|
328
|
-
return;
|
329
|
-
}
|
330
|
-
if (layoutMode === LayoutMode.SIDEBAR) {
|
331
|
-
return;
|
332
|
-
}
|
333
|
-
setLayoutMode(LayoutMode.SIDEBAR);
|
334
|
-
return () => {
|
335
|
-
setLayoutMode(LayoutMode.GALLERY);
|
336
|
-
};
|
337
|
-
}, [isMobile]);
|
338
|
-
useEffect(() => {
|
339
|
-
setActiveScreenSharePeer(activeSharePeer == null ? void 0 : activeSharePeer.id);
|
340
|
-
return () => {
|
341
|
-
setActiveScreenSharePeer("");
|
342
|
-
};
|
343
|
-
}, [activeSharePeer == null ? void 0 : activeSharePeer.id, setActiveScreenSharePeer]);
|
344
|
-
return /* @__PURE__ */ React4.createElement(ProminenceLayout.Root, { edgeToEdge, hasSidebar }, /* @__PURE__ */ React4.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React4.createElement(ScreenshareTile_default, { peerId: (_a = peersSharing[page]) == null ? void 0 : _a.id }), !edgeToEdge && /* @__PURE__ */ React4.createElement(Pagination, { page, onPageChange: setPage, numPages: peersSharing.length })), /* @__PURE__ */ React4.createElement(
|
345
|
-
SecondaryTiles,
|
346
|
-
{
|
347
|
-
peers: secondaryPeers,
|
348
|
-
onPageChange,
|
349
|
-
onPageSize,
|
350
|
-
edgeToEdge,
|
351
|
-
hasSidebar
|
352
|
-
}
|
353
|
-
), layoutMode === LayoutMode.SPOTLIGHT && activeSharePeer && /* @__PURE__ */ React4.createElement(InsetTile, { peerId: activeSharePeer == null ? void 0 : activeSharePeer.id }));
|
354
|
-
};
|
355
|
-
export {
|
356
|
-
ScreenshareLayout
|
357
|
-
};
|
358
|
-
//# sourceMappingURL=ScreenshareLayout-XVENPVK3.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx", "../src/Prebuilt/components/ScreenshareTile.tsx", "../src/Prebuilt/components/LayoutModeSelector.tsx", "../src/Prebuilt/components/ScreenshareDisplay.tsx"],
|
4
|
-
"sourcesContent": ["import React, { useEffect, useMemo, useState } from 'react';\nimport { useMedia } from 'react-use';\nimport { selectPeersScreenSharing, useHMSStore } from '@100mslive/react-sdk';\nimport { config as cssConfig } from '../../../Theme';\nimport { InsetTile } from '../InsetTile';\nimport { Pagination } from '../Pagination';\n// @ts-ignore: No implicit Any\nimport ScreenshareTile from '../ScreenshareTile';\nimport { SecondaryTiles } from '../SecondaryTiles';\nimport { LayoutMode } from '../Settings/LayoutSettings';\nimport { LayoutProps } from './interface';\nimport { ProminenceLayout } from './ProminenceLayout';\n// @ts-ignore: No implicit Any\nimport { useSetAppDataByKey, useSetUiSettings } from '../AppData/useUISettings';\nimport { APP_DATA, UI_SETTINGS } from '../../common/constants';\n\nexport const ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }: LayoutProps) => {\n const peersSharing = useHMSStore(selectPeersScreenSharing);\n const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);\n const [page, setPage] = useState(0);\n const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);\n const activeSharePeer = peersSharing[page];\n const isMobile = useMedia(cssConfig.media.md);\n const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;\n const secondaryPeers = useMemo(() => {\n if (layoutMode === LayoutMode.SPOTLIGHT) {\n return [];\n }\n if (isMobile || layoutMode === LayoutMode.SIDEBAR) {\n return activeSharePeer\n ? [activeSharePeer, ...peers.filter(p => p.id !== activeSharePeer?.id)] //keep active sharing peer as first tile\n : peers;\n }\n return peers.filter(p => p.id !== activeSharePeer?.id);\n }, [activeSharePeer, peers, isMobile, layoutMode]);\n\n useEffect(() => {\n if (isMobile) {\n setLayoutMode(LayoutMode.GALLERY);\n return;\n }\n if (layoutMode === LayoutMode.SIDEBAR) {\n return;\n }\n setLayoutMode(LayoutMode.SIDEBAR);\n return () => {\n // reset to gallery once screenshare is stopped\n setLayoutMode(LayoutMode.GALLERY);\n };\n }, [isMobile]); // eslint-disable-line react-hooks/exhaustive-deps\n useEffect(() => {\n setActiveScreenSharePeer(activeSharePeer?.id);\n return () => {\n setActiveScreenSharePeer('');\n };\n }, [activeSharePeer?.id, setActiveScreenSharePeer]);\n\n return (\n <ProminenceLayout.Root edgeToEdge={edgeToEdge} hasSidebar={hasSidebar}>\n <ProminenceLayout.ProminentSection>\n <ScreenshareTile peerId={peersSharing[page]?.id} />\n {!edgeToEdge && <Pagination page={page} onPageChange={setPage} numPages={peersSharing.length} />}\n </ProminenceLayout.ProminentSection>\n <SecondaryTiles\n peers={secondaryPeers}\n onPageChange={onPageChange}\n onPageSize={onPageSize}\n edgeToEdge={edgeToEdge}\n hasSidebar={hasSidebar}\n />\n {layoutMode === LayoutMode.SPOTLIGHT && activeSharePeer && <InsetTile peerId={activeSharePeer?.id} />}\n </ProminenceLayout.Root>\n );\n};\n", "import React, { useRef, useState } from 'react';\nimport { useFullscreen, useMedia } from 'react-use';\nimport screenfull from 'screenfull';\nimport {\n selectLocalPeerID,\n selectPeerByID,\n selectScreenShareAudioByPeerID,\n selectScreenShareByPeerID,\n useHMSStore,\n} from '@100mslive/react-sdk';\nimport { ExpandIcon, ShrinkIcon } from '@100mslive/react-icons';\nimport TileMenu from './TileMenu/TileMenu';\nimport { Box } from '../../Layout';\nimport { VideoTileStats } from '../../Stats';\nimport { config as cssConfig, useTheme } from '../../Theme';\nimport { Video } from '../../Video';\nimport { StyledVideoTile } from '../../VideoTile';\nimport { LayoutModeSelector } from './LayoutModeSelector';\nimport { getVideoTileLabel } from './peerTileUtils';\nimport { ScreenshareDisplay } from './ScreenshareDisplay';\n// @ts-ignore: No implicit Any\nimport { useUISettings } from './AppData/useUISettings';\nimport { UI_SETTINGS } from '../common/constants';\n\nconst labelStyles = {\n position: 'unset',\n width: '100%',\n textAlign: 'center',\n c: '$on_surface_high',\n transform: 'none',\n flexShrink: 0,\n};\n\nconst Tile = ({ peerId, width = '100%', height = '100%' }: { peerId: string; width?: string; height?: string }) => {\n const isLocal = useHMSStore(selectLocalPeerID) === peerId;\n const track = useHMSStore(selectScreenShareByPeerID(peerId));\n const { theme } = useTheme();\n const peer = useHMSStore(selectPeerByID(peerId));\n const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);\n const [isMouseHovered, setIsMouseHovered] = useState(false);\n const isMobile = useMedia(cssConfig.media.md);\n const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);\n const fullscreenRef = useRef<HTMLDivElement | null>(null);\n // fullscreen is for desired state\n const [fullscreen, setFullscreen] = useState(false);\n // isFullscreen is for true state\n const isFullscreen = useFullscreen(fullscreenRef, fullscreen, {\n onClose: () => setFullscreen(false),\n });\n const isFullScreenSupported = screenfull.isEnabled;\n const audioTrack = useHMSStore(selectScreenShareAudioByPeerID(peer?.id));\n\n if (isLocal && track?.displaySurface && !['browser', 'window', 'application'].includes(track.displaySurface)) {\n return <ScreenshareDisplay />;\n }\n\n if (!peer) {\n return null;\n }\n\n const label = getVideoTileLabel({\n peerName: peer?.name,\n isLocal: false,\n videoTrack: track,\n audioTrack,\n });\n\n return (\n <StyledVideoTile.Root\n css={{\n width,\n height,\n p: 0,\n minHeight: 0,\n }}\n data-testid=\"screenshare_tile\"\n >\n <StyledVideoTile.Container\n transparentBg\n ref={fullscreenRef}\n css={{ flexDirection: 'column', gap: '$2' }}\n onMouseEnter={() => setIsMouseHovered(true)}\n onMouseLeave={() => {\n setIsMouseHovered(false);\n }}\n >\n {showStatsOnTiles ? (\n <VideoTileStats audioTrackID={audioTrack?.id} videoTrackID={track?.id} peerID={peerId} isLocal={isLocal} />\n ) : null}\n {isFullScreenSupported && isMouseHovered ? (\n <StyledVideoTile.FullScreenButton\n css={{ bg: `${theme.colors.background_dim.value}A3` }}\n onClick={() => setFullscreen(!fullscreen)}\n >\n {isFullscreen ? <ShrinkIcon /> : <ExpandIcon />}\n </StyledVideoTile.FullScreenButton>\n ) : null}\n {!isMobile && isMouseHovered && !isFullscreen && (\n <Box\n css={{\n position: 'absolute',\n top: '$2',\n r: '$1',\n h: '$14',\n right: isFullScreenSupported ? '$17' : '$2',\n zIndex: 5,\n bg: `${theme.colors.background_dim.value}A3`,\n }}\n >\n <LayoutModeSelector />\n </Box>\n )}\n\n {track ? (\n <Video screenShare={true} mirror={false} attach={!isAudioOnly} trackId={track.id} css={{ minHeight: 0 }} />\n ) : null}\n <StyledVideoTile.Info css={labelStyles}>{label}</StyledVideoTile.Info>\n {isMouseHovered && !peer.isLocal ? (\n <TileMenu\n isScreenshare\n peerID={peer.id}\n audioTrackID={audioTrack?.id}\n videoTrackID={track?.id}\n enableSpotlightingPeer={false}\n />\n ) : null}\n </StyledVideoTile.Container>\n </StyledVideoTile.Root>\n );\n};\n\nconst ScreenshareTile = React.memo(Tile);\n\nexport default ScreenshareTile;\n", "import React, { useCallback, useState } from 'react';\nimport { CheckIcon, ChevronDownIcon, ChevronUpIcon } from '@100mslive/react-icons';\nimport { LayoutMode, LayoutModeIconMapping, LayoutModeKeys } from './Settings/LayoutSettings';\nimport { Flex } from '../../Layout';\nimport { Popover } from '../../Popover';\nimport { Text } from '../../Text';\n// @ts-ignore: No implicit Any\nimport { useSetUiSettings } from '../components/AppData/useUISettings';\nimport { UI_SETTINGS } from '../common/constants';\n\nexport const LayoutModeSelector = () => {\n const [open, setOpen] = useState(false);\n const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);\n const updateLayoutMode = useCallback(\n (value: string) => {\n setLayoutMode(value);\n setOpen(false);\n },\n [setLayoutMode, setOpen],\n );\n return (\n <Popover.Root open={open} onOpenChange={setOpen}>\n <Popover.Trigger asChild>\n <Flex\n align=\"center\"\n css={{\n gap: '$4',\n color: open ? '$on_surface_low' : '$on_surface_medium',\n r: '$1',\n p: '$2 $4',\n height: '100%',\n }}\n >\n <Flex\n align=\"center\"\n justify=\"center\"\n css={{\n color: 'inherit',\n '& > svg': {\n w: '$9',\n h: '$9',\n },\n }}\n >\n {LayoutModeIconMapping[layoutMode as LayoutModeKeys]}\n </Flex>\n <Text variant=\"caption\" css={{ color: 'inherit', lineHeight: '$sm' }}>\n {layoutMode}\n </Text>\n {open ? <ChevronUpIcon width={16} height={16} /> : <ChevronDownIcon width={16} height={16} />}\n </Flex>\n </Popover.Trigger>\n <Popover.Content\n css={{\n w: '10.75rem',\n r: '$1',\n py: '$4',\n px: 0,\n backgroundColor: '$surface_default',\n overflowY: 'auto',\n boxShadow: '0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)',\n fontFamily: '$sans',\n color: '$on_surface_high',\n }}\n side=\"bottom\"\n sideOffset={8}\n align=\"end\"\n >\n {Object.keys(LayoutMode).map(key => {\n const value = LayoutMode[key as LayoutModeKeys];\n return (\n <Flex\n key={key}\n onClick={() => updateLayoutMode(value)}\n align=\"center\"\n css={{\n gap: '$4',\n borderBottom: '1px solid $border_bright',\n p: '$8',\n '&:hover': {\n cursor: 'pointer',\n bg: '$surface_bright',\n },\n '&:focus-visible': {\n bg: '$surface_bright',\n },\n }}\n >\n <Flex\n align=\"center\"\n justify=\"center\"\n css={{\n color: '$on_surface_medium',\n '& > svg': {\n w: '$9',\n h: '$9',\n },\n }}\n >\n {LayoutModeIconMapping[value]}\n </Flex>\n <Text variant=\"caption\" css={{ lineHeight: '$sm' }}>\n {value}\n </Text>\n {value === layoutMode ? <CheckIcon width={20} height={20} style={{ marginLeft: 'auto' }} /> : null}\n </Flex>\n );\n })}\n </Popover.Content>\n </Popover.Root>\n );\n};\n", "import React from 'react';\nimport { useHMSActions } from '@100mslive/react-sdk';\nimport { CrossIcon, ShareScreenIcon } from '@100mslive/react-icons';\nimport { Button } from '../../Button';\nimport { Flex } from '../../Layout';\nimport { Text } from '../../Text';\n\nexport const ScreenshareDisplay = () => {\n const hmsActions = useHMSActions();\n\n return (\n <Flex\n direction=\"column\"\n align=\"center\"\n justify=\"center\"\n css={{\n size: '100%',\n bg: '$background_default',\n color: '$on_surface_high',\n }}\n >\n <ShareScreenIcon width={48} height={48} />\n <Text variant=\"h5\" css={{ m: '$8 0' }}>\n You are sharing your screen\n </Text>\n <Button\n variant=\"danger\"\n css={{ fontWeight: '$semiBold' }}\n onClick={async () => {\n await hmsActions.setScreenShareEnabled(false);\n }}\n data-testid=\"stop_screen_share_btn\"\n >\n <CrossIcon width={18} height={18} />\n Stop screen share\n </Button>\n </Flex>\n );\n};\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,OAAOA,UAAS,WAAW,SAAS,YAAAC,iBAAgB;AACpD,SAAS,YAAAC,iBAAgB;AACzB,SAAS,0BAA0B,eAAAC,oBAAmB;;;ACFtD;AAAA,OAAOC,UAAS,QAAQ,YAAAC,iBAAgB;AACxC,SAAS,eAAe,gBAAgB;AACxC,OAAO,gBAAgB;AACvB;AAAA,EACE;AAA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", "React", "useState", "React", "useHMSStore", "useState", "useMedia", "React"]
|
7
|
-
}
|