agora-ui-foundation 3.10.2 → 3.11.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/button/index.css +10 -0
- package/lib/components/button/index.d.ts +1 -1
- package/lib/components/icon/paths/fcr_cloudrecord3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_cloudrecord3.js +25 -0
- package/lib/components/icon/paths/fcr_cloudrecord_pausenow.d.ts +3 -0
- package/lib/components/icon/paths/fcr_cloudrecord_pausenow.js +21 -0
- package/lib/components/icon/paths/fcr_record_circle_fill.d.ts +3 -0
- package/lib/components/icon/paths/fcr_record_circle_fill.js +30 -0
- package/lib/components/icon/paths/fcr_record_circle_fill_1.d.ts +3 -0
- package/lib/components/icon/paths/fcr_record_circle_fill_1.js +20 -0
- package/lib/components/icon/paths/fcr_recording_on.js +0 -2
- package/lib/components/icon/paths/fcr_stoprecord_circle_fill_3.d.ts +3 -0
- package/lib/components/icon/paths/fcr_stoprecord_circle_fill_3.js +24 -0
- package/lib/components/icon/svg-exports.d.ts +5 -0
- package/lib/components/icon/svg-exports.js +14 -4
- package/lib/components/icon/type.d.ts +5 -0
- package/lib/components/icon/type.js +5 -0
- package/lib/components/participants/attendee/index.css +1 -1
- package/lib/components/participants/attendee/index.d.ts +4 -1
- package/lib/components/participants/attendee/index.js +2 -1
- package/lib/components/participants/participants-more/index.js +9 -0
- package/lib/components/record-selector/index.css +193 -0
- package/lib/components/record-selector/index.d.ts +27 -0
- package/lib/components/record-selector/index.js +273 -0
- package/lib/theme/fcr-ui-config.d.ts +7 -2
- package/lib/theme/fcr-ui-config.js +9 -4
- package/lib-es/components/button/index.css +10 -0
- package/lib-es/components/icon/paths/fcr_cloudrecord3.js +17 -0
- package/lib-es/components/icon/paths/fcr_cloudrecord_pausenow.js +13 -0
- package/lib-es/components/icon/paths/fcr_record_circle_fill.js +22 -0
- package/lib-es/components/icon/paths/fcr_record_circle_fill_1.js +12 -0
- package/lib-es/components/icon/paths/fcr_recording_on.js +0 -1
- package/lib-es/components/icon/paths/fcr_stoprecord_circle_fill_3.js +16 -0
- package/lib-es/components/icon/svg-exports.js +10 -0
- package/lib-es/components/icon/type.js +5 -0
- package/lib-es/components/participants/attendee/index.css +1 -1
- package/lib-es/components/participants/attendee/index.js +2 -1
- package/lib-es/components/participants/participants-more/index.js +9 -0
- package/lib-es/components/record-selector/index.css +193 -0
- package/lib-es/components/record-selector/index.js +265 -0
- package/lib-es/theme/fcr-ui-config.js +9 -4
- package/package.json +4 -4
|
@@ -225,6 +225,16 @@
|
|
|
225
225
|
.fcr-button-text.fcr-button-gray:not(:disabled):hover {
|
|
226
226
|
color: var(--fcr_ui_scene_btn2);
|
|
227
227
|
}
|
|
228
|
+
/** text-brand button **/
|
|
229
|
+
.fcr-button-text-brand {
|
|
230
|
+
color: var(--fcr_ui_scene_ramp_brand6);
|
|
231
|
+
|
|
232
|
+
border: none;
|
|
233
|
+
}
|
|
234
|
+
.fcr-button-text-brand:not(:disabled):hover {
|
|
235
|
+
color: var(--fcr_ui_scene_white10);
|
|
236
|
+
background: var(--fcr_ui_scene_ramp_brand2);
|
|
237
|
+
}
|
|
228
238
|
/** link button **/
|
|
229
239
|
.fcr-button-link {
|
|
230
240
|
color: var(--fcr_ui_scene_ramp_brand6);
|
|
@@ -4,7 +4,7 @@ import { FcrIconProps } from '../icon';
|
|
|
4
4
|
import { FcrIconType } from '../icon/type';
|
|
5
5
|
import './index.css';
|
|
6
6
|
export type ButtonSize = 'XL' | 'L' | 'M' | 'S' | 'XS' | 'XXS';
|
|
7
|
-
export type ButtonType = 'primary' | 'secondary' | 'secondary-bordered' | 'gray' | 'text' | 'link';
|
|
7
|
+
export type ButtonType = 'primary' | 'secondary' | 'secondary-bordered' | 'gray' | 'text' | 'text-brand' | 'link';
|
|
8
8
|
export type ButtonShape = 'circle' | 'rounded';
|
|
9
9
|
export type ButtonStyleType = 'danger' | 'white' | 'normal' | 'success';
|
|
10
10
|
export interface ButtonProps {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.viewBox = exports.path = void 0;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var path = exports.path = function path(_ref) {
|
|
12
|
+
var iconPrimary = _ref.iconPrimary,
|
|
13
|
+
iconSecondary = _ref.iconSecondary;
|
|
14
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
d: "M7.50098 2.66699C9.27277 2.66713 10.7996 3.63599 11.5342 5.04102C12.1122 5.07357 12.6627 5.2041 13.167 5.41406C12.8972 5.36148 12.6182 5.33398 12.333 5.33398C9.93992 5.33416 8 7.27387 8 9.66699C8 11.9217 9.72221 13.7726 11.9229 13.9795C11.7839 13.9924 11.6433 14 11.501 14H4C1.76902 13.885 6.32585e-05 12.2333 0 10.2227C0 8.51806 1.27111 7.07739 3.0166 6.60742C3.18509 4.40569 5.12667 2.66699 7.50098 2.66699Z",
|
|
17
|
+
fill: iconPrimary,
|
|
18
|
+
"fill-opacity": "0.9"
|
|
19
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
20
|
+
d: "M12.3333 12.667C13.9901 12.667 15.3333 11.3238 15.3333 9.66699C15.3333 8.01014 13.9901 6.66699 12.3333 6.66699C10.6764 6.66699 9.33325 8.01014 9.33325 9.66699C9.33325 11.3238 10.6764 12.667 12.3333 12.667Z",
|
|
21
|
+
fill: iconSecondary
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
var viewBox = exports.viewBox = '0 0 16 16';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.viewBox = exports.path = void 0;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var path = exports.path = function path(_ref) {
|
|
12
|
+
var iconPrimary = _ref.iconPrimary;
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
14
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
d: "M7.50098 2.58398C9.27294 2.58412 10.7997 3.56726 11.5342 4.99316C12.5572 5.05163 13.4933 5.41933 14.2412 6H10C9.26362 6 8.66699 6.5976 8.66699 7.33398V13.334C8.66706 13.6123 8.75257 13.8703 8.89844 14.084H4C1.76897 13.9673 1.37811e-07 12.2903 0 10.25C0.000159484 8.52048 1.27122 7.05888 3.0166 6.58203C3.18509 4.34792 5.12667 2.58398 7.50098 2.58398ZM11 7.33398C11.5523 7.33398 12 7.7817 12 8.33398V13C12 13.5523 11.5523 14 11 14C10.4477 14 10 13.5523 10 13V8.33398C10 7.7817 10.4477 7.33398 11 7.33398ZM13.667 7.33398C14.2191 7.33416 14.667 7.78181 14.667 8.33398V13C14.667 13.5522 14.2191 13.9998 13.667 14C13.1147 14 12.667 13.5523 12.667 13V8.33398C12.667 7.7817 13.1147 7.33398 13.667 7.33398Z",
|
|
16
|
+
fill: "#484957",
|
|
17
|
+
"fill-opacity": "0.9"
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var viewBox = exports.viewBox = '0 0 16 16';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.viewBox = exports.path = void 0;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var path = exports.path = function path(_ref) {
|
|
12
|
+
var iconPrimary = _ref.iconPrimary,
|
|
13
|
+
iconSecondary = _ref.iconSecondary;
|
|
14
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
16
|
+
cx: "7.99992",
|
|
17
|
+
cy: "7.99967",
|
|
18
|
+
r: "6",
|
|
19
|
+
stroke: iconPrimary,
|
|
20
|
+
"stroke-width": "1.33333",
|
|
21
|
+
fill: "none"
|
|
22
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
23
|
+
cx: "8",
|
|
24
|
+
cy: "8",
|
|
25
|
+
r: "4",
|
|
26
|
+
fill: iconSecondary
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
var viewBox = exports.viewBox = '0 0 16 16';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.viewBox = exports.path = void 0;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var path = exports.path = function path(_ref) {
|
|
12
|
+
var iconPrimary = _ref.iconPrimary;
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
14
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
d: "M9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.5 13.1421 13.1421 16.5 9 16.5ZM9 11.25C10.2427 11.25 11.25 10.2427 11.25 9C11.25 7.75732 10.2427 6.75 9 6.75C7.75732 6.75 6.75 7.75732 6.75 9C6.75 10.2427 7.75732 11.25 9 11.25Z",
|
|
16
|
+
fill: "#373C42"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
var viewBox = exports.viewBox = '0 0 18 18';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.viewBox = exports.path = void 0;
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
9
|
var path = exports.path = function path(_ref) {
|
|
12
10
|
var iconPrimary = _ref.iconPrimary;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.viewBox = exports.path = void 0;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var path = exports.path = function path(_ref) {
|
|
12
|
+
var iconPrimary = _ref.iconPrimary;
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
14
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
d: "M6.19531 7.94141C6.07089 8.27089 6 8.62696 6 9C6 10.6569 7.34315 12 9 12C9.37284 12 9.72828 11.928 10.0576 11.8037L13.3564 15.1025C12.1282 15.981 10.6252 16.5 9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 7.37471 2.018 5.8709 2.89648 4.64258L6.19531 7.94141ZM9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.5 10.4313 16.0981 11.7684 15.4023 12.9062L11.9639 9.46777C11.9877 9.31536 12 9.15912 12 9C12 7.34315 10.6569 6 9 6C8.8406 6 8.68392 6.01121 8.53125 6.03516L5.09277 2.59668C6.23068 1.90086 7.56855 1.5 9 1.5Z",
|
|
16
|
+
fill: "#F5655C"
|
|
17
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
|
+
d: "M1.875 2.25L16.5 16.875",
|
|
19
|
+
stroke: "#F5655C",
|
|
20
|
+
"stroke-width": "1.5"
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var viewBox = exports.viewBox = '0 0 18 18';
|
|
@@ -35,6 +35,8 @@ export * as fcr_close from './paths/fcr_close';
|
|
|
35
35
|
export * as fcr_close2 from './paths/fcr_close2';
|
|
36
36
|
export * as fcr_closed from './paths/fcr_closed';
|
|
37
37
|
export * as fcr_cloudrecord from './paths/fcr_cloudrecord';
|
|
38
|
+
export * as fcr_cloudrecord3 from './paths/fcr_cloudrecord3';
|
|
39
|
+
export * as fcr_cloudrecord_pausenow from './paths/fcr_cloudrecord_pausenow';
|
|
38
40
|
export * as fcr_cohost1 from './paths/fcr_cohost1';
|
|
39
41
|
export * as fcr_cohost2 from './paths/fcr_cohost2';
|
|
40
42
|
export * as fcr_colon from './paths/fcr_colon';
|
|
@@ -172,6 +174,8 @@ export * as fcr_question2 from './paths/fcr_question2';
|
|
|
172
174
|
export * as fcr_quit2 from './paths/fcr_quit2';
|
|
173
175
|
export * as fcr_raisehand1_single from './paths/fcr_raisehand1_single';
|
|
174
176
|
export * as fcr_raisehands from './paths/fcr_raisehands';
|
|
177
|
+
export * as fcr_record_circle_fill from './paths/fcr_record_circle_fill';
|
|
178
|
+
export * as fcr_record_circle_fill_1 from './paths/fcr_record_circle_fill_1';
|
|
175
179
|
export * as fcr_recording_end from './paths/fcr_recording_end';
|
|
176
180
|
export * as fcr_recording_on from './paths/fcr_recording_on';
|
|
177
181
|
export * as fcr_recording_play from './paths/fcr_recording_play';
|
|
@@ -218,6 +222,7 @@ export * as fcr_star from './paths/fcr_star';
|
|
|
218
222
|
export * as fcr_stop from './paths/fcr_stop';
|
|
219
223
|
export * as fcr_stop3 from './paths/fcr_stop3';
|
|
220
224
|
export * as fcr_stoplive from './paths/fcr_stoplive';
|
|
225
|
+
export * as fcr_stoprecord_circle_fill_3 from './paths/fcr_stoprecord_circle_fill_3';
|
|
221
226
|
export * as fcr_stopscreensharing from './paths/fcr_stopscreensharing';
|
|
222
227
|
export * as fcr_student_rasiehand from './paths/fcr_student_rasiehand';
|
|
223
228
|
export * as fcr_subtitieshistory from './paths/fcr_subtitieshistory';
|
|
@@ -13,10 +13,10 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", {
|
|
14
14
|
value: true
|
|
15
15
|
});
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.zhipuai = exports.set_sale = exports.logo_openai = exports.logo_moonshot = exports.fcr_zoomout = exports.fcr_zoomin = exports.fcr_wrong = exports.fcr_wizard_arrow = exports.fcr_windowpage_smaller3 = exports.fcr_windowpage_smaller2 = exports.fcr_windowpage_smaller = exports.fcr_windowpage_lonely = exports.fcr_windowpage_bigger = exports.fcr_window_smaller = exports.fcr_window_bigger = exports.fcr_wihiteboard_slicewithoutclassroom = exports.fcr_wihiteboard_slice = exports.fcr_whitechoose = exports.fcr_whiteboard_toolbox = exports.fcr_whiteboard_text = exports.fcr_whiteboard_slice = exports.fcr_whiteboard_shap_triangle = exports.fcr_whiteboard_shap_star = exports.fcr_whiteboard_shap_square = exports.fcr_whiteboard_shap_rehumbus = exports.fcr_whiteboard_shap_line = exports.fcr_whiteboard_shap_circle_1 = exports.fcr_whiteboard_shap_circle = exports.fcr_whiteboard_shap_arrow = exports.fcr_whiteboard_save = exports.fcr_whiteboard_ped_straightline = exports.fcr_whiteboard_ped_curve = exports.fcr_whiteboard_ped5 = exports.fcr_whiteboard_ped4 = exports.fcr_whiteboard_ped3 = exports.fcr_whiteboard_ped2 = exports.fcr_whiteboard_ped = exports.fcr_whiteboard_page = exports.fcr_whiteboard_on = exports.fcr_whiteboard_movesubjects2 = exports.fcr_whiteboard_movesubjects = exports.fcr_whiteboard_move = exports.fcr_whiteboard_mouse = void 0;
|
|
16
|
+
exports.fcr_jbh = exports.fcr_interpretation2 = exports.fcr_host3 = exports.fcr_host2 = exports.fcr_host = exports.fcr_home_quickstart = exports.fcr_home_code2 = exports.fcr_hidevideo = exports.fcr_helpquestion = exports.fcr_head = exports.fcr_handsdown = exports.fcr_guest = exports.fcr_grid_big = exports.fcr_gototop = exports.fcr_gotostage_on = exports.fcr_gotostage_not = exports.fcr_gotostage = exports.fcr_fullcoverage = exports.fcr_fourwindows2 = exports.fcr_fourwindows = exports.fcr_focusonhim = exports.fcr_file_video = exports.fcr_file_ppt = exports.fcr_file_photo = exports.fcr_file_pdf = exports.fcr_file_noformat = exports.fcr_file_excel = exports.fcr_file_doc = exports.fcr_file_audio = exports.fcr_file_alf = exports.fcr_file_ah5 = exports.fcr_file = exports.fcr_exclamationmask = exports.fcr_equalratio = exports.fcr_endmeeting = exports.fcr_emo = exports.fcr_dropup4 = exports.fcr_dropdown4 = exports.fcr_dropdown2 = exports.fcr_dropdown = exports.fcr_download2 = exports.fcr_download = exports.fcr_down1 = exports.fcr_down = exports.fcr_dialog_more = exports.fcr_deviceaudioon = exports.fcr_deviceaudiooff = exports.fcr_delete5 = exports.fcr_delete4 = exports.fcr_delete3 = exports.fcr_defaultpage = exports.fcr_countdown_up = exports.fcr_countdown_down = exports.fcr_copy_icon = exports.fcr_copy2 = exports.fcr_copy = exports.fcr_computerdata = exports.fcr_color = exports.fcr_colon = exports.fcr_cohost2 = exports.fcr_cohost1 = exports.fcr_cloudrecord_pausenow = exports.fcr_cloudrecord3 = exports.fcr_cloudrecord = exports.fcr_closed = exports.fcr_close2 = exports.fcr_close = exports.fcr_clock = exports.fcr_chooseit = exports.fcr_chexbox_indeterminate = exports.fcr_checkbox_check = exports.fcr_chat_reddot = exports.fcr_chat_placeholder = exports.fcr_chat_on = exports.fcr_chat2 = exports.fcr_chat = exports.fcr_cameraoff = exports.fcr_cameracrash = exports.fcr_camera_window_notwork = exports.fcr_camera_window_not = exports.fcr_camera_window_loading = exports.fcr_camera3 = exports.fcr_camera = exports.fcr_btn_loading = exports.fcr_bell = exports.fcr_beauty_retouch = exports.fcr_beauty_blush = exports.fcr_beauty = exports.fcr_background2 = exports.fcr_audioset = exports.fcr_attach = exports.fcr_angle_tips = exports.fcr_allleave = exports.fcr_all_unmute = exports.fcr_all_mute = exports.fcr_aliyun = exports.fcr_alf2 = exports.chevron_right = exports.chat_private = exports.arrow_up_down = void 0;
|
|
17
|
+
exports.fcr_screensharing = exports.fcr_screenshare_change2 = exports.fcr_screenshare_change1 = exports.fcr_rotatingvideo = exports.fcr_rightwindows = exports.fcr_right5 = exports.fcr_right4 = exports.fcr_right3 = exports.fcr_right2 = exports.fcr_right = exports.fcr_rewardall = exports.fcr_reward = exports.fcr_reverseorder = exports.fcr_reset = exports.fcr_rename2 = exports.fcr_rename = exports.fcr_remove_pin = exports.fcr_recording_stop = exports.fcr_recording_play2 = exports.fcr_recording_play = exports.fcr_recording_on = exports.fcr_recording_end = exports.fcr_record_circle_fill_1 = exports.fcr_record_circle_fill = exports.fcr_raisehands = exports.fcr_raisehand1_single = exports.fcr_quit2 = exports.fcr_question2 = exports.fcr_question = exports.fcr_put_waiting_room = exports.fcr_ppt_broken = exports.fcr_platform = exports.fcr_pinpage2 = exports.fcr_pinpage = exports.fcr_pin = exports.fcr_picture = exports.fcr_phonecall_silence = exports.fcr_phonecall3 = exports.fcr_phonecall2 = exports.fcr_phonecall1 = exports.fcr_people_raise1 = exports.fcr_people = exports.fcr_pensize_straight = exports.fcr_pensize3_straight = exports.fcr_pensize = exports.fcr_pen_line_4size = exports.fcr_pen_line_3size = exports.fcr_pen_line_2size = exports.fcr_pen_line_1size = exports.fcr_pen_curve_4size = exports.fcr_pen_curve_3size = exports.fcr_pen_curve_2size = exports.fcr_pen_curve_1size = exports.fcr_pause2 = exports.fcr_order_up = exports.fcr_order_down = exports.fcr_openfile = exports.fcr_oneleave = exports.fcr_notice = exports.fcr_nomute = exports.fcr_mutedefault = exports.fcr_mutecrash = exports.fcr_mute = exports.fcr_moveto = exports.fcr_move = exports.fcr_moreapp = exports.fcr_more2 = exports.fcr_mobile_whiteboard_undo = exports.fcr_mobile_whiteboard_redo = exports.fcr_mobile_subtities_on = exports.fcr_mobile_subtities_off = exports.fcr_mobile_sharescreen = exports.fcr_mobile_more = exports.fcr_mobile_lowerhand = exports.fcr_mobile_duplicate = exports.fcr_mobile_chat3 = exports.fcr_mobile_chat2 = exports.fcr_mobile_cameraoff2 = exports.fcr_mobile_camera2 = exports.fcr_mobile_arrow_left = exports.fcr_mirrorimage_right = exports.fcr_mirrorimage_off = exports.fcr_mirrorimage_left = exports.fcr_minus = exports.fcr_microphone = exports.fcr_meetingrecord = exports.fcr_lower_hand = exports.fcr_loading = exports.fcr_liveicon = exports.fcr_live2 = exports.fcr_live = exports.fcr_list_on_top_big = exports.fcr_list_on_right_big = exports.fcr_list_delete = exports.fcr_link = exports.fcr_left4 = exports.fcr_left3 = exports.fcr_left1 = exports.fcr_left = exports.fcr_jbh_invite = void 0;
|
|
18
|
+
exports.fcr_whiteboard_forward = exports.fcr_whiteboard_expand2 = exports.fcr_whiteboard_eraser2 = exports.fcr_whiteboard_eraser = exports.fcr_whiteboard_eliminate = exports.fcr_whiteboard_cloud = exports.fcr_whiteboard_bg = exports.fcr_whiteboard_back = exports.fcr_whiteboard2 = exports.fcr_whiteboard = exports.fcr_web_smallest = exports.fcr_web_sharingview_small = exports.fcr_web_sharingview_mix = exports.fcr_web_sharingview_middle = exports.fcr_web_scale_right = exports.fcr_web_scale_left = exports.fcr_web_restoration = exports.fcr_web_move_page = exports.fcr_web_fullscream = exports.fcr_web_connectsound = exports.fcr_web_chat = exports.fcr_waiting_room = exports.fcr_volume_hear = exports.fcr_vioce = exports.fcr_videorotation2 = exports.fcr_videoback = exports.fcr_video_sharescreen = exports.fcr_v2_vote = exports.fcr_v2_tool_new = exports.fcr_v2_timer = exports.fcr_v2_tanhao_alart = exports.fcr_v2_subtitieshistory = exports.fcr_v2_signal_normal = exports.fcr_v2_signal_good = exports.fcr_v2_signal_bad = exports.fcr_v2_search = exports.fcr_v2_quite = exports.fcr_v2_poll_zoom = exports.fcr_v2_poll_minus = exports.fcr_v2_poll_add = exports.fcr_v2_phone_more1 = exports.fcr_v2_louder_min = exports.fcr_v2_louder = exports.fcr_v2_gou_alart = exports.fcr_v2_expansionscreen = exports.fcr_v2_chevron_right2 = exports.fcr_v2_chevron_left2 = exports.fcr_v2_chevron_down2 = exports.fcr_v2_breakroom = exports.fcr_v2_answer = exports.fcr_users = exports.fcr_user_settings_line = exports.fcr_uporder = exports.fcr_uploadlist = exports.fcr_up2 = exports.fcr_up = exports.fcr_untop = exports.fcr_unpin = exports.fcr_underline = exports.fcr_translate1 = exports.fcr_translanguage = exports.fcr_topwindows = exports.fcr_top = exports.fcr_tooltip_arrow_2 = exports.fcr_tooltip_arrow = exports.fcr_toggle_dialog = exports.fcr_to2 = exports.fcr_subtract = exports.fcr_subtitles = exports.fcr_subtitieshistory_on = exports.fcr_subtitieshistory_off = exports.fcr_subtitieshistory2 = exports.fcr_subtitieshistory = exports.fcr_student_rasiehand = exports.fcr_stopscreensharing = exports.fcr_stoprecord_circle_fill_3 = exports.fcr_stoplive = exports.fcr_stop3 = exports.fcr_stop = exports.fcr_star = exports.fcr_smooth = exports.fcr_sipdevice = exports.fcr_simultaneousinterpretation_on = exports.fcr_simultaneousinterpretation_off = exports.fcr_showvideo2 = exports.fcr_showvideo = exports.fcr_shield_keyhole = exports.fcr_sharingbar_up = exports.fcr_sharingbar_down = exports.fcr_share_sound = exports.fcr_share = exports.fcr_setting_teacher = exports.fcr_setting_none = exports.fcr_setting_meetingassistant = exports.fcr_setting2 = exports.fcr_setting = exports.fcr_send = exports.fcr_security = exports.fcr_screensharing_on = exports.fcr_screensharing_1 = void 0;
|
|
19
|
+
exports.zhipuai = exports.set_sale = exports.logo_openai = exports.logo_moonshot = exports.fcr_zoomout = exports.fcr_zoomin = exports.fcr_wrong = exports.fcr_wizard_arrow = exports.fcr_windowpage_smaller3 = exports.fcr_windowpage_smaller2 = exports.fcr_windowpage_smaller = exports.fcr_windowpage_lonely = exports.fcr_windowpage_bigger = exports.fcr_window_smaller = exports.fcr_window_bigger = exports.fcr_wihiteboard_slicewithoutclassroom = exports.fcr_wihiteboard_slice = exports.fcr_whitechoose = exports.fcr_whiteboard_toolbox = exports.fcr_whiteboard_text = exports.fcr_whiteboard_slice = exports.fcr_whiteboard_shap_triangle = exports.fcr_whiteboard_shap_star = exports.fcr_whiteboard_shap_square = exports.fcr_whiteboard_shap_rehumbus = exports.fcr_whiteboard_shap_line = exports.fcr_whiteboard_shap_circle_1 = exports.fcr_whiteboard_shap_circle = exports.fcr_whiteboard_shap_arrow = exports.fcr_whiteboard_save = exports.fcr_whiteboard_ped_straightline = exports.fcr_whiteboard_ped_curve = exports.fcr_whiteboard_ped5 = exports.fcr_whiteboard_ped4 = exports.fcr_whiteboard_ped3 = exports.fcr_whiteboard_ped2 = exports.fcr_whiteboard_ped = exports.fcr_whiteboard_page = exports.fcr_whiteboard_on = exports.fcr_whiteboard_movesubjects2 = exports.fcr_whiteboard_movesubjects = exports.fcr_whiteboard_move = exports.fcr_whiteboard_mouse = exports.fcr_whiteboard_lowerrightarrow = exports.fcr_whiteboard_laserpen3 = exports.fcr_whiteboard_laserpen2 = exports.fcr_whiteboard_laserpen1 = exports.fcr_whiteboard_laserpen = void 0;
|
|
20
20
|
var _arrow_up_down = _interopRequireWildcard(require("./paths/arrow_up_down"));
|
|
21
21
|
exports.arrow_up_down = _arrow_up_down;
|
|
22
22
|
var _chat_private = _interopRequireWildcard(require("./paths/chat_private"));
|
|
@@ -91,6 +91,10 @@ var _fcr_closed = _interopRequireWildcard(require("./paths/fcr_closed"));
|
|
|
91
91
|
exports.fcr_closed = _fcr_closed;
|
|
92
92
|
var _fcr_cloudrecord = _interopRequireWildcard(require("./paths/fcr_cloudrecord"));
|
|
93
93
|
exports.fcr_cloudrecord = _fcr_cloudrecord;
|
|
94
|
+
var _fcr_cloudrecord2 = _interopRequireWildcard(require("./paths/fcr_cloudrecord3"));
|
|
95
|
+
exports.fcr_cloudrecord3 = _fcr_cloudrecord2;
|
|
96
|
+
var _fcr_cloudrecord_pausenow = _interopRequireWildcard(require("./paths/fcr_cloudrecord_pausenow"));
|
|
97
|
+
exports.fcr_cloudrecord_pausenow = _fcr_cloudrecord_pausenow;
|
|
94
98
|
var _fcr_cohost = _interopRequireWildcard(require("./paths/fcr_cohost1"));
|
|
95
99
|
exports.fcr_cohost1 = _fcr_cohost;
|
|
96
100
|
var _fcr_cohost2 = _interopRequireWildcard(require("./paths/fcr_cohost2"));
|
|
@@ -365,6 +369,10 @@ var _fcr_raisehand1_single = _interopRequireWildcard(require("./paths/fcr_raiseh
|
|
|
365
369
|
exports.fcr_raisehand1_single = _fcr_raisehand1_single;
|
|
366
370
|
var _fcr_raisehands = _interopRequireWildcard(require("./paths/fcr_raisehands"));
|
|
367
371
|
exports.fcr_raisehands = _fcr_raisehands;
|
|
372
|
+
var _fcr_record_circle_fill = _interopRequireWildcard(require("./paths/fcr_record_circle_fill"));
|
|
373
|
+
exports.fcr_record_circle_fill = _fcr_record_circle_fill;
|
|
374
|
+
var _fcr_record_circle_fill_ = _interopRequireWildcard(require("./paths/fcr_record_circle_fill_1"));
|
|
375
|
+
exports.fcr_record_circle_fill_1 = _fcr_record_circle_fill_;
|
|
368
376
|
var _fcr_recording_end = _interopRequireWildcard(require("./paths/fcr_recording_end"));
|
|
369
377
|
exports.fcr_recording_end = _fcr_recording_end;
|
|
370
378
|
var _fcr_recording_on = _interopRequireWildcard(require("./paths/fcr_recording_on"));
|
|
@@ -457,6 +465,8 @@ var _fcr_stop2 = _interopRequireWildcard(require("./paths/fcr_stop3"));
|
|
|
457
465
|
exports.fcr_stop3 = _fcr_stop2;
|
|
458
466
|
var _fcr_stoplive = _interopRequireWildcard(require("./paths/fcr_stoplive"));
|
|
459
467
|
exports.fcr_stoplive = _fcr_stoplive;
|
|
468
|
+
var _fcr_stoprecord_circle_fill_ = _interopRequireWildcard(require("./paths/fcr_stoprecord_circle_fill_3"));
|
|
469
|
+
exports.fcr_stoprecord_circle_fill_3 = _fcr_stoprecord_circle_fill_;
|
|
460
470
|
var _fcr_stopscreensharing = _interopRequireWildcard(require("./paths/fcr_stopscreensharing"));
|
|
461
471
|
exports.fcr_stopscreensharing = _fcr_stopscreensharing;
|
|
462
472
|
var _fcr_student_rasiehand = _interopRequireWildcard(require("./paths/fcr_student_rasiehand"));
|
|
@@ -36,6 +36,8 @@ export declare enum FcrIconType {
|
|
|
36
36
|
FCR_CLOSE2 = "fcr_close2",
|
|
37
37
|
FCR_CLOSED = "fcr_closed",
|
|
38
38
|
FCR_CLOUDRECORD = "fcr_cloudrecord",
|
|
39
|
+
FCR_CLOUDRECORD3 = "fcr_cloudrecord3",
|
|
40
|
+
FCR_CLOUDRECORD_PAUSENOW = "fcr_cloudrecord_pausenow",
|
|
39
41
|
FCR_COHOST1 = "fcr_cohost1",
|
|
40
42
|
FCR_COHOST2 = "fcr_cohost2",
|
|
41
43
|
FCR_COLON = "fcr_colon",
|
|
@@ -173,6 +175,8 @@ export declare enum FcrIconType {
|
|
|
173
175
|
FCR_QUIT2 = "fcr_quit2",
|
|
174
176
|
FCR_RAISEHAND1_SINGLE = "fcr_raisehand1_single",
|
|
175
177
|
FCR_RAISEHANDS = "fcr_raisehands",
|
|
178
|
+
FCR_RECORD_CIRCLE_FILL = "fcr_record_circle_fill",
|
|
179
|
+
FCR_RECORD_CIRCLE_FILL_1 = "fcr_record_circle_fill_1",
|
|
176
180
|
FCR_RECORDING_END = "fcr_recording_end",
|
|
177
181
|
FCR_RECORDING_ON = "fcr_recording_on",
|
|
178
182
|
FCR_RECORDING_PLAY = "fcr_recording_play",
|
|
@@ -219,6 +223,7 @@ export declare enum FcrIconType {
|
|
|
219
223
|
FCR_STOP = "fcr_stop",
|
|
220
224
|
FCR_STOP3 = "fcr_stop3",
|
|
221
225
|
FCR_STOPLIVE = "fcr_stoplive",
|
|
226
|
+
FCR_STOPRECORD_CIRCLE_FILL_3 = "fcr_stoprecord_circle_fill_3",
|
|
222
227
|
FCR_STOPSCREENSHARING = "fcr_stopscreensharing",
|
|
223
228
|
FCR_STUDENT_RASIEHAND = "fcr_student_rasiehand",
|
|
224
229
|
FCR_SUBTITIESHISTORY = "fcr_subtitieshistory",
|
|
@@ -43,6 +43,8 @@ var FcrIconType = exports.FcrIconType = /*#__PURE__*/function (FcrIconType) {
|
|
|
43
43
|
FcrIconType["FCR_CLOSE2"] = "fcr_close2";
|
|
44
44
|
FcrIconType["FCR_CLOSED"] = "fcr_closed";
|
|
45
45
|
FcrIconType["FCR_CLOUDRECORD"] = "fcr_cloudrecord";
|
|
46
|
+
FcrIconType["FCR_CLOUDRECORD3"] = "fcr_cloudrecord3";
|
|
47
|
+
FcrIconType["FCR_CLOUDRECORD_PAUSENOW"] = "fcr_cloudrecord_pausenow";
|
|
46
48
|
FcrIconType["FCR_COHOST1"] = "fcr_cohost1";
|
|
47
49
|
FcrIconType["FCR_COHOST2"] = "fcr_cohost2";
|
|
48
50
|
FcrIconType["FCR_COLON"] = "fcr_colon";
|
|
@@ -180,6 +182,8 @@ var FcrIconType = exports.FcrIconType = /*#__PURE__*/function (FcrIconType) {
|
|
|
180
182
|
FcrIconType["FCR_QUIT2"] = "fcr_quit2";
|
|
181
183
|
FcrIconType["FCR_RAISEHAND1_SINGLE"] = "fcr_raisehand1_single";
|
|
182
184
|
FcrIconType["FCR_RAISEHANDS"] = "fcr_raisehands";
|
|
185
|
+
FcrIconType["FCR_RECORD_CIRCLE_FILL"] = "fcr_record_circle_fill";
|
|
186
|
+
FcrIconType["FCR_RECORD_CIRCLE_FILL_1"] = "fcr_record_circle_fill_1";
|
|
183
187
|
FcrIconType["FCR_RECORDING_END"] = "fcr_recording_end";
|
|
184
188
|
FcrIconType["FCR_RECORDING_ON"] = "fcr_recording_on";
|
|
185
189
|
FcrIconType["FCR_RECORDING_PLAY"] = "fcr_recording_play";
|
|
@@ -226,6 +230,7 @@ var FcrIconType = exports.FcrIconType = /*#__PURE__*/function (FcrIconType) {
|
|
|
226
230
|
FcrIconType["FCR_STOP"] = "fcr_stop";
|
|
227
231
|
FcrIconType["FCR_STOP3"] = "fcr_stop3";
|
|
228
232
|
FcrIconType["FCR_STOPLIVE"] = "fcr_stoplive";
|
|
233
|
+
FcrIconType["FCR_STOPRECORD_CIRCLE_FILL_3"] = "fcr_stoprecord_circle_fill_3";
|
|
229
234
|
FcrIconType["FCR_STOPSCREENSHARING"] = "fcr_stopscreensharing";
|
|
230
235
|
FcrIconType["FCR_STUDENT_RASIEHAND"] = "fcr_student_rasiehand";
|
|
231
236
|
FcrIconType["FCR_SUBTITIESHISTORY"] = "fcr_subtitieshistory";
|
|
@@ -19,6 +19,8 @@ export interface User {
|
|
|
19
19
|
isBoardActive?: boolean;
|
|
20
20
|
allowedOperations?: string[];
|
|
21
21
|
isPin?: boolean;
|
|
22
|
+
isClientRecording?: boolean;
|
|
23
|
+
hasClientRecordingPermission?: boolean;
|
|
22
24
|
/** When true, the user is forbidden from chat (show "allow chat"); when false/undefined, show "forbid chat" */
|
|
23
25
|
isChatForbidden?: boolean;
|
|
24
26
|
}
|
|
@@ -38,7 +40,8 @@ export declare enum ParticipantActionType {
|
|
|
38
40
|
SET_AS_ATTENDEE = "SET_AS_ATTENDEE",
|
|
39
41
|
SET_AS_AUDIENCE = "SET_AS_AUDIENCE",
|
|
40
42
|
RENAME = "RENAME",
|
|
41
|
-
|
|
43
|
+
ALLOW_RECORDING_CLIENT_VIDEO = "ALLOW_RECORDING_CLIENT_VIDEO",
|
|
44
|
+
DISALLOW_RECORDING_CLIENT_VIDEO = "DISALLOW_RECORDING_CLIENT_VIDEO",
|
|
42
45
|
PUT_IN_WAITING_ROOM = "PUT_IN_WAITING_ROOM",
|
|
43
46
|
STOP_RAISE_HAND = "STOP_RAISE_HAND",
|
|
44
47
|
/** 主持人/联席对指定成员拒绝举手(放下手) */
|
|
@@ -52,7 +52,8 @@ var ParticipantActionType = exports.ParticipantActionType = /*#__PURE__*/functio
|
|
|
52
52
|
ParticipantActionType["SET_AS_ATTENDEE"] = "SET_AS_ATTENDEE";
|
|
53
53
|
ParticipantActionType["SET_AS_AUDIENCE"] = "SET_AS_AUDIENCE";
|
|
54
54
|
ParticipantActionType["RENAME"] = "RENAME";
|
|
55
|
-
ParticipantActionType["
|
|
55
|
+
ParticipantActionType["ALLOW_RECORDING_CLIENT_VIDEO"] = "ALLOW_RECORDING_CLIENT_VIDEO";
|
|
56
|
+
ParticipantActionType["DISALLOW_RECORDING_CLIENT_VIDEO"] = "DISALLOW_RECORDING_CLIENT_VIDEO";
|
|
56
57
|
ParticipantActionType["PUT_IN_WAITING_ROOM"] = "PUT_IN_WAITING_ROOM";
|
|
57
58
|
ParticipantActionType["STOP_RAISE_HAND"] = "STOP_RAISE_HAND";
|
|
58
59
|
/** 主持人/联席对指定成员拒绝举手(放下手) */
|
|
@@ -62,6 +62,7 @@ var FcrParticipantsMoreActions = exports.FcrParticipantsMoreActions = function F
|
|
|
62
62
|
isPin = user.isPin,
|
|
63
63
|
userType = user.userType,
|
|
64
64
|
allowedOperations = user.allowedOperations,
|
|
65
|
+
hasClientRecordingPermission = user.hasClientRecordingPermission,
|
|
65
66
|
isChatForbidden = user.isChatForbidden;
|
|
66
67
|
var cameraStateType = !hasVideo ? 'primary' : 'danger';
|
|
67
68
|
|
|
@@ -166,6 +167,14 @@ var FcrParticipantsMoreActions = exports.FcrParticipantsMoreActions = function F
|
|
|
166
167
|
canOperation: userRole === _attendee.FcrUserRole.COHOST && userType === 'normal',
|
|
167
168
|
onButtonClick: handleButtonClick(_attendee.ParticipantActionType.SET_AS_ATTENDEE, userId, onParticipantsButtonClick),
|
|
168
169
|
group: 'permission'
|
|
170
|
+
}, {
|
|
171
|
+
title: hasClientRecordingPermission ? (0, _i18next.t)('fmt_localrecord_option_disable_localrecord') : (0, _i18next.t)('fmt_localrecord_option_enable_localrecord'),
|
|
172
|
+
icon: hasClientRecordingPermission ? createIcon(_type.FcrIconType.FCR_STOPRECORD_CIRCLE_FILL_3) : createIcon(_type.FcrIconType.FCR_RECORD_CIRCLE_FILL_1),
|
|
173
|
+
key: 'allow_record_local_video',
|
|
174
|
+
type: hasClientRecordingPermission ? 'danger' : 'primary',
|
|
175
|
+
canOperation: !isMe && userRole === _attendee.FcrUserRole.PARTICIPANT && userType === 'normal',
|
|
176
|
+
onButtonClick: handleButtonClick(hasClientRecordingPermission ? _attendee.ParticipantActionType.DISALLOW_RECORDING_CLIENT_VIDEO : _attendee.ParticipantActionType.ALLOW_RECORDING_CLIENT_VIDEO, userId, onParticipantsButtonClick),
|
|
177
|
+
group: 'permission'
|
|
169
178
|
}, {
|
|
170
179
|
title: (0, _i18next.t)('fmt_webinar_participant_list_more_promote_to_presenter'),
|
|
171
180
|
icon: createIcon(_type.FcrIconType.FCR_GUEST, ICON_SIZE_GUEST),
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* Recording type selector popover */
|
|
2
|
+
.fcr-record-type-popover {
|
|
3
|
+
max-width: none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.fcr-record-type-popover .fcr-tooltip-inner {
|
|
7
|
+
padding: 0 !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fcr-record-type-selector {
|
|
11
|
+
padding: 12px;
|
|
12
|
+
min-width: 330px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.fcr-record-type-selector__divider {
|
|
16
|
+
height: 1px;
|
|
17
|
+
background-color: var(--fcr_ui_scene_line1, rgba(255, 255, 255, 0.1));
|
|
18
|
+
margin: 8px 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fcr-record-type-selector__item {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 10px;
|
|
25
|
+
padding: 8px 4px;
|
|
26
|
+
border-radius: var(--fcr_cornerradius_xs, 4px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fcr-record-type-selector__item-icon {
|
|
30
|
+
width: 40px;
|
|
31
|
+
height: 40px;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
flex-shrink: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fcr-record-type-selector__item-icon--cloud {
|
|
40
|
+
background-color: var(--fcr_ui_scene_card4);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fcr-record-type-selector__item-icon--local {
|
|
44
|
+
background-color: var(--fcr_ui_scene_card5);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fcr-record-type-selector__item-info {
|
|
48
|
+
flex: 1;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
text-align: left;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fcr-record-type-selector__item-title {
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
color: var(--fcr_ui_scene_icontext1, rgba(255, 255, 255, 1));
|
|
57
|
+
line-height: 1.4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fcr-record-type-selector__item-desc {
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
color: var(--fcr_ui_scene_icontext2, rgba(255, 255, 255, 0.5));
|
|
63
|
+
line-height: 1.4;
|
|
64
|
+
margin-top: 2px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.fcr-record-type-selector__item-btn {
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
padding: 4px 16px;
|
|
70
|
+
border-radius: 4px;
|
|
71
|
+
background-color: var(--fcr_ui_scene_ramp_brand6, #357bf6);
|
|
72
|
+
color: #fff;
|
|
73
|
+
font-size: 13px;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
border: none;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
line-height: 22px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.fcr-record-type-selector__item-btn:hover {
|
|
81
|
+
opacity: 0.85;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Cloud recording active: pause + stop buttons */
|
|
85
|
+
.fcr-record-type-selector__item-actions {
|
|
86
|
+
display: flex;
|
|
87
|
+
gap: 8px;
|
|
88
|
+
flex-shrink: 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.fcr-record-type-selector__item-btn--pause.fcr-button {
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
gap: 6px;
|
|
96
|
+
padding: 8px 16px;
|
|
97
|
+
border-radius: var(--fcr_cornerradius_s, 4px);
|
|
98
|
+
background: var(--fcr_web_ui_scene_fill2, #fff);
|
|
99
|
+
color: var(--fcr_ui_scene_icontext1, #1d2129);
|
|
100
|
+
font-size: 14px;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
border: 1px solid var(--fcr_ui_scene_line1, #e5e6eb);
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
line-height: 1;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
flex-wrap: nowrap;
|
|
107
|
+
transition: all 0.2s ease;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.fcr-record-type-selector__item-btn--pause.fcr-button:hover {
|
|
111
|
+
background: var(--fcr_web_ui_scene_hover, #f2f3f5);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.fcr-record-type-selector__item-btn--stop.fcr-button {
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
gap: 6px;
|
|
119
|
+
padding: 8px 16px;
|
|
120
|
+
border-radius: var(--fcr_cornerradius_s, 4px);
|
|
121
|
+
background: var(--fcr_ui_scene_ramp_red6, #f53f3f);
|
|
122
|
+
color: #fff;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
border: none !important;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
line-height: 1;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
flex-wrap: nowrap;
|
|
130
|
+
transition: all 0.2s ease;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.fcr-record-type-selector__item-btn--stop.fcr-button:hover {
|
|
134
|
+
background: var(--fcr_ui_scene_ramp_red7, #e04848);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.fcr-record-type-selector__item-btn--stop > div,
|
|
138
|
+
.fcr-record-type-selector__item-btn--pause > div {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-wrap: nowrap;
|
|
141
|
+
flex-direction: row;
|
|
142
|
+
gap: 4px;
|
|
143
|
+
}
|
|
144
|
+
/* Local recording permission selector popover */
|
|
145
|
+
.fcr-record-permission-popover {
|
|
146
|
+
max-width: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.fcr-record-permission-popover .fcr-tooltip-inner {
|
|
150
|
+
padding: 0 !important;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.fcr-record-permission-selector {
|
|
154
|
+
min-width: 220px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.fcr-record-permission-selector__title {
|
|
158
|
+
padding: 14px 16px 12px;
|
|
159
|
+
font-size: 15px;
|
|
160
|
+
font-weight: 600;
|
|
161
|
+
color: var(--fcr_ui_scene_icontext1, #1d2129);
|
|
162
|
+
line-height: 1.4;
|
|
163
|
+
text-align: left;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.fcr-record-permission-selector__divider {
|
|
167
|
+
height: 1px;
|
|
168
|
+
background-color: var(--fcr_ui_scene_line1, rgba(0, 0, 0, 0.06));
|
|
169
|
+
margin: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.fcr-record-permission-selector__options {
|
|
173
|
+
padding: 8px 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.fcr-record-permission-selector__option {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
justify-content: space-between;
|
|
180
|
+
padding: 12px 16px;
|
|
181
|
+
cursor: pointer;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
color: var(--fcr_ui_scene_icontext1, #1d2129);
|
|
184
|
+
line-height: 1.4;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.fcr-record-permission-selector__option:hover {
|
|
188
|
+
background-color: var(--fcr_web_ui_scene_hover, rgba(0, 0, 0, 0.04));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.fcr-record-permission-selector__option-label {
|
|
192
|
+
flex: 1;
|
|
193
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
export interface RecordingTypeSelectorProps {
|
|
3
|
+
hasStartCloudRecordingPermission: boolean;
|
|
4
|
+
hasStartClientRecordingPermission?: boolean;
|
|
5
|
+
cloudRecordingState: number;
|
|
6
|
+
isLocalClientRecording: boolean;
|
|
7
|
+
isClientRecordingSupported?: boolean;
|
|
8
|
+
pauseCloudRecording: () => void;
|
|
9
|
+
resumeCloudRecording: () => void;
|
|
10
|
+
stopCloudRecording: () => void;
|
|
11
|
+
startCloudRecording: () => void;
|
|
12
|
+
startClientRecording: () => void;
|
|
13
|
+
stopClientRecording: () => void;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const RecordingTypeSelector: (props: RecordingTypeSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface ClientRecordingPermissionSelectorProps {
|
|
18
|
+
clientRecordingPermissionType: number;
|
|
19
|
+
setClientRecordingPermission: (type: number) => void;
|
|
20
|
+
onClose: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* 当权限范围变小时的确认回调
|
|
23
|
+
* 返回 Promise<boolean>,true 表示确认继续,false 表示取消
|
|
24
|
+
*/
|
|
25
|
+
onConfirmScopeReduction?: (newType: number) => Promise<boolean>;
|
|
26
|
+
}
|
|
27
|
+
export declare const ClientRecordingPermissionSelector: (props: ClientRecordingPermissionSelectorProps) => import("react/jsx-runtime").JSX.Element;
|