agora-ui-foundation 3.4.0 → 3.4.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.
Files changed (52) hide show
  1. package/lib/components/action-bar/security/index.js +3 -11
  2. package/lib/components/badge/index.css +23 -0
  3. package/lib/components/badge/index.d.ts +22 -0
  4. package/lib/components/badge/index.js +27 -0
  5. package/lib/components/chat-manager/index.css +14 -2
  6. package/lib/components/chat-manager/index.js +4 -4
  7. package/lib/components/checkbox/index.d.ts +0 -1
  8. package/lib/components/checkbox/index.js +4 -5
  9. package/lib/components/confirm-content/index.css +1 -0
  10. package/lib/components/crash-fallback/assets/full-screen-error-boundary-img.png +0 -0
  11. package/lib/components/crash-fallback/index.css +62 -0
  12. package/lib/components/crash-fallback/index.d.ts +5 -0
  13. package/lib/components/crash-fallback/index.js +50 -0
  14. package/lib/components/icon/paths/fcr_people.d.ts +1 -1
  15. package/lib/components/icon/paths/fcr_people.js +4 -3
  16. package/lib/components/icon/paths/fcr_screensharing.d.ts +1 -1
  17. package/lib/components/icon/paths/fcr_screensharing.js +2 -2
  18. package/lib/components/icon/paths/fcr_share_sound.d.ts +3 -0
  19. package/lib/components/icon/paths/fcr_share_sound.js +21 -0
  20. package/lib/components/icon/svg-dict.d.ts +1 -1
  21. package/lib/components/icon/svg-exports.d.ts +1 -0
  22. package/lib/components/icon/svg-exports.js +5 -3
  23. package/lib/components/icon/type.d.ts +2 -1
  24. package/lib/components/icon/type.js +1 -0
  25. package/lib/components/icon-text/index.js +3 -2
  26. package/lib/components/live-streaming/container.css +6 -1
  27. package/lib/components/live-streaming/container.d.ts +1 -1
  28. package/lib/components/live-streaming/container.js +5 -5
  29. package/lib/components/live-streaming/index.stories.js +1 -1
  30. package/lib/components/loading/index.css +12 -0
  31. package/lib/components/loading/index.d.ts +3 -0
  32. package/lib/components/loading/index.js +20 -0
  33. package/lib/components/loading/loading.gif +0 -0
  34. package/lib/components/main-ui-crash-error-fallback/assets/full-screen-error-boundary-img.png +0 -0
  35. package/lib/components/main-ui-crash-error-fallback/index.css +62 -0
  36. package/lib/components/main-ui-crash-error-fallback/index.d.ts +3 -0
  37. package/lib/components/main-ui-crash-error-fallback/index.js +50 -0
  38. package/lib/components/message-bubble/emoji-msg.js +8 -1
  39. package/lib/components/message-label-mobile/index.js +6 -0
  40. package/lib/components/message-textarea/index.js +4 -7
  41. package/lib/components/participants/footer/index.js +3 -11
  42. package/lib/components/participants/index.css +4 -2
  43. package/lib/components/participants/index.js +5 -1
  44. package/lib/components/room-screen-share-state-bar/camera-state/index.d.ts +1 -0
  45. package/lib/components/room-screen-share-state-bar/camera-state/index.js +4 -3
  46. package/lib/components/tabs/index.css +3 -2
  47. package/lib/components/tabs/index.js +1 -1
  48. package/lib/components/text-bubble/index.css +1 -1
  49. package/lib/components/watermark/index.js +35 -6
  50. package/lib/components/window-header/index.d.ts +2 -2
  51. package/lib/components/window-header/index.js +7 -5
  52. package/package.json +8 -8
@@ -70,16 +70,6 @@ var Security = exports.Security = function Security(_ref) {
70
70
  type: 'primary',
71
71
  onButtonClick: function onButtonClick() {},
72
72
  classNames: 'room-control-drop-with-under-line'
73
- }, {
74
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
75
- checked: false,
76
- label: t('fmt_security_options_removemultiple'),
77
- styleType: "white"
78
- }),
79
- key: 'remove_fcr-participants',
80
- type: 'danger',
81
- onButtonClick: function onButtonClick() {},
82
- classNames: 'room-control-drop-disable'
83
73
  }];
84
74
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_dropMenu.FcrDropMenu, {
85
75
  options: allActions
@@ -94,7 +84,9 @@ var Security = exports.Security = function Security(_ref) {
94
84
  overlayInnerStyle: {
95
85
  boxShadow: 'none',
96
86
  border: 'none',
97
- width: '256px'
87
+ minWidth: '256px',
88
+ width: 'auto',
89
+ maxWidth: '300px'
98
90
  }
99
91
  },
100
92
  id: id,
@@ -0,0 +1,23 @@
1
+ .fcr-badge {
2
+ position: relative;
3
+ width: fit-content;
4
+ height: fit-content;
5
+ }
6
+
7
+ .fcr-badge .fcr-badge-value {
8
+ border-radius: var(--fcr_cornerradius_xs);
9
+ border: 2px solid var(--fcr_web_ui_scene_fill2);
10
+ height: 14px;
11
+ min-width: 18px;
12
+ background: var(--fcr_ui_scene_ramp_red6);
13
+ color: var(--fcr_ui_scene_white10);
14
+ position: absolute;
15
+ top: -5px;
16
+ right: -8px;
17
+ font-size: 10px;
18
+ box-sizing: content-box;
19
+ z-index: 1;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ }
@@ -0,0 +1,22 @@
1
+ import { FC } from 'react';
2
+ import './index.css';
3
+ interface BadgeProps {
4
+ /**
5
+ * @param count - The count of the badge
6
+ */
7
+ count: number;
8
+ /**
9
+ * @param maxShowCount - The max count of the badge,when the count value than maxShowCount, show maxShowCount+unit
10
+ */
11
+ maxShowCount?: number;
12
+ /**
13
+ * @param unit - The unit of the badge, default value '+'
14
+ */
15
+ unit?: string;
16
+ /**
17
+ * @param minShowCount - The min count of the badge, when the count value less than minShowCount, not show badge
18
+ */
19
+ minShowCount?: number;
20
+ }
21
+ export declare const FcrBadge: FC<React.PropsWithChildren<BadgeProps>>;
22
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.FcrBadge = void 0;
8
+ require("core-js/modules/es.array.concat.js");
9
+ require("./index.css");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ var FcrBadge = exports.FcrBadge = function FcrBadge(props) {
12
+ var count = props.count,
13
+ children = props.children,
14
+ _props$maxShowCount = props.maxShowCount,
15
+ maxShowCount = _props$maxShowCount === void 0 ? 99 : _props$maxShowCount,
16
+ _props$unit = props.unit,
17
+ unit = _props$unit === void 0 ? '+' : _props$unit,
18
+ _props$minShowCount = props.minShowCount,
19
+ minShowCount = _props$minShowCount === void 0 ? 0 : _props$minShowCount;
20
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
21
+ className: "fcr-badge",
22
+ children: [count > minShowCount && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
23
+ className: "fcr-badge-value",
24
+ children: count <= 0 ? 0 : count > maxShowCount ? "".concat(maxShowCount).concat(unit) : count
25
+ }), children]
26
+ });
27
+ };
@@ -3,6 +3,10 @@
3
3
  cursor: pointer;
4
4
  }
5
5
 
6
+ .fcr_chat_manager_popover_overlay {
7
+ max-width: unset !important;
8
+ }
9
+
6
10
  .fcr_chat_drop_menu .fcr-drop-menu-title {
7
11
  display: flex;
8
12
  }
@@ -38,10 +42,18 @@
38
42
  color: var(--fcr_web_ui_scene_mainicon2);
39
43
  }
40
44
 
45
+ .fcr_chat_manager_popover_overlay .fcr-drop-menu-option-primary path {
46
+ fill-opacity: 0;
47
+ }
48
+
49
+ .fcr_chat_manager_popover_overlay .fcr-drop-menu-option-primary .fcr-icon-text--selected path {
50
+ fill-opacity: 1;
51
+ }
52
+
41
53
  .fcr-drop-menu-option-primary:hover path {
42
54
  fill: var(--fcr_ui_scene_ramp_brand6);
43
55
  }
44
56
 
45
- .fcr-drop-menu-option-primary-selected:hover svg g path {
46
- fill: var(--fcr_web_ui_scene_mainicon2);
57
+ .fcr-drop-menu-option-primary svg {
58
+ flex-shrink: 0;
47
59
  }
@@ -153,12 +153,12 @@ var ChatManager = exports.ChatManager = function ChatManager(_ref2) {
153
153
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
154
154
  visible: managerVisible,
155
155
  trigger: "click",
156
- placement: "bottom"
157
- // overlayClassName={'fcr_chat_manager_popover_overlay'}
158
- ,
156
+ placement: "bottom",
157
+ overlayClassName: 'fcr_chat_manager_popover_overlay',
159
158
  overlayInnerStyle: {
160
159
  boxShadow: 'none',
161
- border: 'none'
160
+ border: 'none',
161
+ width: 312
162
162
  },
163
163
  content: popoverContent,
164
164
  onVisibleChange: function onVisibleChange(visible) {
@@ -3,7 +3,6 @@ import './index.css';
3
3
  export interface CheckboxProps {
4
4
  label?: ReactNode;
5
5
  checked?: boolean;
6
- defaultChecked?: boolean;
7
6
  indeterminate?: boolean;
8
7
  onChange?: (checked: boolean) => void;
9
8
  styleType?: 'brand' | 'white';
@@ -25,13 +25,12 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
25
25
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
26
26
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
27
27
  var _react = require("react");
28
- var _lodash = require("lodash");
29
28
  require("./index.css");
30
29
  var _classnames = _interopRequireDefault(require("classnames"));
31
30
  var _icon = require("../icon");
32
31
  var _type = require("../icon/type");
33
32
  var _jsxRuntime = require("react/jsx-runtime");
34
- var _excluded = ["label", "onChange", "styleType", "size", "indeterminate", "style", "defaultChecked"];
33
+ var _excluded = ["label", "onChange", "styleType", "size", "indeterminate", "style"];
35
34
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
36
35
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37
36
  var FcrCheckbox = exports.FcrCheckbox = function FcrCheckbox(props) {
@@ -43,7 +42,6 @@ var FcrCheckbox = exports.FcrCheckbox = function FcrCheckbox(props) {
43
42
  size = _props$size === void 0 ? 'medium' : _props$size,
44
43
  indeterminate = props.indeterminate,
45
44
  style = props.style,
46
- defaultChecked = props.defaultChecked,
47
45
  inputProps = (0, _objectWithoutProperties2["default"])(props, _excluded);
48
46
  var cls = (0, _classnames["default"])('fcr-checkbox', "fcr-checkbox-".concat(styleType), {
49
47
  'fcr-checkbox-s': size === 'small'
@@ -69,10 +67,10 @@ var FcrCheckbox = exports.FcrCheckbox = function FcrCheckbox(props) {
69
67
  }
70
68
  },
71
69
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", _objectSpread(_objectSpread({}, inputProps), {}, {
72
- checked: (0, _lodash.isBoolean)(defaultChecked) ? void 0 : inputProps.checked,
73
- defaultChecked: defaultChecked,
70
+ checked: inputProps.checked,
74
71
  ref: checkboxRef,
75
72
  type: "checkbox",
73
+ onChange: function onChange(e) {},
76
74
  onClick: function onClick(e) {
77
75
  // prevent the second event from firing
78
76
  e.stopPropagation();
@@ -99,6 +97,7 @@ var FcrCheckbox = exports.FcrCheckbox = function FcrCheckbox(props) {
99
97
  }), label && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
100
98
  className: "fcr-checkbox-label",
101
99
  onClick: function onClick(e) {
100
+ onChange === null || onChange === void 0 || onChange(!checked);
102
101
  setChecked(!checked);
103
102
  },
104
103
  children: label
@@ -73,6 +73,7 @@
73
73
  display: flex;
74
74
  justify-items: center;
75
75
  justify-content: center;
76
+ text-align: center;
76
77
  }
77
78
 
78
79
  .fcr-confirm-container.align-center .fcr-confirm-content-content {
@@ -0,0 +1,62 @@
1
+ .fcr-pc-full-screen-error {
2
+ width: 100%;
3
+ height: 100vh;
4
+ background-color: var(--fcr_ui_scene_inverse);
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ }
9
+
10
+ .fcr-pc-full-screen-error-content {
11
+ width: 272px;
12
+ height: 415px;
13
+ display: flex;
14
+ flex-direction: column;
15
+ }
16
+
17
+ .fcr-pc-full-screen-error-content-img {
18
+ width: 200px;
19
+ height: 200px;
20
+ align-self: center;
21
+ }
22
+
23
+ .fcr-pc-full-screen-close-btn {
24
+ width: 140px;
25
+ height: 50px;
26
+ display: flex;
27
+ justify-content: center;
28
+ align-items: center;
29
+ }
30
+
31
+ .fcr-pc-full-screen-error-content-title {
32
+ color: var(--fcr_ui_scene_inverse2);
33
+ font-size: 28px;
34
+ font-weight: 800;
35
+ align-self: center;
36
+ margin-top: 26px;
37
+ }
38
+
39
+ .fcr-pc-full-screen-error-content-desc {
40
+ color: var(--fcr_ui_scene_inverse2);
41
+ font-size: 16px;
42
+ font-weight: 400;
43
+ align-self: center;
44
+ margin-top: 24px;
45
+ margin-bottom: 46px;
46
+ }
47
+
48
+ .fcr-pc-full-screen-close-btn {
49
+ min-width: 56px;
50
+ height: 50px;
51
+ border-radius: var(--fcr_cornerradius_round);
52
+ background-color: var(--fcr_ui_scene_inverse2);
53
+ color: var(--fcr_ui_scene_inverse);
54
+ text-align: center;
55
+ line-height: 50px;
56
+ align-self: center;
57
+ cursor: pointer;
58
+ }
59
+
60
+ .fcr-pc-full-screen-close-btn:active {
61
+ transform: scale(0.94);
62
+ }
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ export type FcrCrashFallbackProps = {
3
+ handleFallback: () => void;
4
+ };
5
+ export declare const FcrCrashFallback: ({ handleFallback }: FcrCrashFallbackProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,50 @@
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.FcrCrashFallback = void 0;
9
+ var _fullScreenErrorBoundaryImg = _interopRequireDefault(require("./assets/full-screen-error-boundary-img.png"));
10
+ var _i18n = require("../../i18n");
11
+ var _icon = require("../icon");
12
+ var _type = require("../icon/type");
13
+ var _env = require("agora-foundation/lib/utilities/env");
14
+ require("./index.css");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ var FcrCrashFallback = exports.FcrCrashFallback = function FcrCrashFallback(_ref) {
17
+ var handleFallback = _ref.handleFallback;
18
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
19
+ className: "fcr-pc-full-screen-error",
20
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
21
+ className: "fcr-pc-full-screen-error-content",
22
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
23
+ src: _fullScreenErrorBoundaryImg["default"],
24
+ className: "fcr-pc-full-screen-error-content-img"
25
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
26
+ className: "fcr-pc-full-screen-error-content-title",
27
+ children: (0, _i18n.transI18n)('fmt_failure_popup_label_crash')
28
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
29
+ className: "fcr-pc-full-screen-error-content-desc",
30
+ children: (0, _i18n.transI18n)('fmt_failure_popup_label_crash_tips')
31
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
32
+ className: "fcr-pc-full-screen-close-btn",
33
+ onClick: handleFallback,
34
+ children: (0, _env.isElectron)() ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
35
+ children: (0, _i18n.transI18n)('fmt_failure_popup_button_close_app')
36
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
37
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
38
+ type: _type.FcrIconType.FCR_RESET,
39
+ size: 30,
40
+ colors: {
41
+ iconPrimary: 'var(--fcr_ui_scene_inverse)'
42
+ }
43
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
44
+ children: (0, _i18n.transI18n)('fmt_failure_popup_button_refresh')
45
+ })]
46
+ })
47
+ })]
48
+ })
49
+ });
50
+ };
@@ -1,3 +1,3 @@
1
1
  import { PathOptions } from '../svg-dict';
2
2
  export declare const path: ({ iconPrimary }: PathOptions) => import("react/jsx-runtime").JSX.Element;
3
- export declare const viewBox = "0 0 48 48";
3
+ export declare const viewBox = "0 0 32 32";
@@ -14,9 +14,10 @@ var path = exports.path = function path(_ref) {
14
14
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
15
15
  fillRule: "evenodd",
16
16
  clipRule: "evenodd",
17
- d: "M28.9999 22.9999C32.3136 22.9999 34.9999 20.3136 34.9999 16.9999C34.9999 13.6862 32.3136 10.9999 28.9999 10.9999C25.6862 10.9999 22.9999 13.6862 22.9999 16.9999C22.9999 20.3136 25.6862 22.9999 28.9999 22.9999ZM17.5 23C19.9853 23 22 20.9853 22 18.5C22 16.0147 19.9853 14 17.5 14C15.0147 14 13 16.0147 13 18.5C13 20.9853 15.0147 23 17.5 23ZM16.2712 23.9088C12.2554 23.9088 9 27.1642 9 31.1799C9 32.2168 9.58991 33.162 10.5714 33.4963C12.091 34.0139 14.6013 34.6659 17.6057 34.6659C17.7384 34.6659 17.8701 34.6646 18.0008 34.6621C18.0003 34.7014 18 34.7408 18 34.7802C18 36.0368 18.7173 37.1812 19.9078 37.5834C21.7609 38.2094 24.828 39 28.5 39C32.172 39 35.2391 38.2094 37.0922 37.5834C38.2827 37.1812 39 36.0368 39 34.7802C39 29.931 35.069 26 30.2198 26H26.7802C25.9421 26 25.1314 26.1174 24.3637 26.3367C23.0322 24.8467 21.0957 23.9088 18.9402 23.9088H16.2712Z",
18
- fill: iconPrimary
17
+ d: "M19.3333 15.332C21.5425 15.332 23.3333 13.5412 23.3333 11.332C23.3333 9.12289 21.5425 7.33203 19.3333 7.33203C17.1242 7.33203 15.3333 9.12289 15.3333 11.332C15.3333 13.5412 17.1242 15.332 19.3333 15.332ZM11.6667 15.332C13.3235 15.332 14.6667 13.9889 14.6667 12.332C14.6667 10.6752 13.3235 9.33203 11.6667 9.33203C10.0098 9.33203 8.66667 10.6752 8.66667 12.332C8.66667 13.9889 10.0098 15.332 11.6667 15.332ZM6 20.7843C6 18.1071 8.17028 15.9368 10.8475 15.9368H12.6268C13.4351 15.9368 14.1973 16.1347 14.8674 16.4846C12.4044 17.4798 10.6667 19.8935 10.6667 22.7131C10.6667 22.8335 10.6753 22.9525 10.6921 23.0693C9.15457 22.9551 7.8788 22.6117 7.04762 22.3286C6.39327 22.1057 6 21.4756 6 20.7843ZM12 23.1855C12 19.9527 14.6207 17.332 17.8535 17.332H20.1465C23.3793 17.332 26 19.9527 26 23.1855C26 24.0232 25.5218 24.7861 24.7281 25.0543C23.4927 25.4716 21.448 25.9987 19 25.9987C16.552 25.9987 14.5073 25.4716 13.2719 25.0543C12.4782 24.7861 12 24.0232 12 23.1855Z",
18
+ fill: iconPrimary,
19
+ fillOpacity: "0.9"
19
20
  })
20
21
  });
21
22
  };
22
- var viewBox = exports.viewBox = '0 0 48 48';
23
+ var viewBox = exports.viewBox = '0 0 32 32';
@@ -1,3 +1,3 @@
1
1
  import { PathOptions } from '../svg-dict';
2
2
  export declare const path: ({ iconPrimary }: PathOptions) => import("react/jsx-runtime").JSX.Element;
3
- export declare const viewBox = "0 0 48 48";
3
+ export declare const viewBox = "0 0 32 32";
@@ -14,9 +14,9 @@ var path = exports.path = function path(_ref) {
14
14
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
15
15
  fillRule: "evenodd",
16
16
  clipRule: "evenodd",
17
- d: "M9 17C9 13.6863 11.6863 11 15 11H33C36.3137 11 39 13.6863 39 17V25C39 28.3137 36.3137 31 33 31H15C11.6863 31 9 28.3137 9 25V17ZM9 34.5C9 33.6716 9.67157 33 10.5 33H37.5C38.3284 33 39 33.6716 39 34.5C39 35.3284 38.3284 36 37.5 36H10.5C9.67157 36 9 35.3284 9 34.5ZM29.063 16.0887C28.5598 15.5016 27.676 15.4337 27.0889 15.9368C26.5019 16.44 26.4339 17.3239 26.9371 17.9109L27.9561 19.0998H22C18.4654 19.0998 15.6 21.9652 15.6 25.4998C15.6 26.273 16.2268 26.8998 17 26.8998C17.7732 26.8998 18.4 26.273 18.4 25.4998C18.4 23.5116 20.0118 21.8998 22 21.8998H31C31.5468 21.8998 32.0435 21.5815 32.2719 21.0848C32.5004 20.5881 32.4188 20.0038 32.063 19.5887L29.063 16.0887Z",
17
+ d: "M6 11.332C6 9.12289 7.79086 7.33203 10 7.33203H22C24.2091 7.33203 26 9.12289 26 11.332V16.6654C26 18.8745 24.2091 20.6654 22 20.6654H10C7.79086 20.6654 6 18.8745 6 16.6654V11.332ZM6 22.9987C6 22.4464 6.44772 21.9987 7 21.9987H25C25.5523 21.9987 26 22.4464 26 22.9987C26 23.551 25.5523 23.9987 25 23.9987H7C6.44772 23.9987 6 23.551 6 22.9987ZM16.6139 10.5433C16.2528 10.2625 15.7472 10.2625 15.3861 10.5433L12.3861 12.8767C11.9501 13.2157 11.8716 13.844 12.2106 14.28C12.5497 14.7159 13.178 14.7944 13.6139 14.4554L15 13.3773V16.9993C15 17.5516 15.4477 17.9993 16 17.9993C16.5523 17.9993 17 17.5516 17 16.9993V13.3773L18.3861 14.4554C18.822 14.7944 19.4503 14.7159 19.7894 14.28C20.1284 13.844 20.0499 13.2157 19.6139 12.8767L16.6139 10.5433Z",
18
18
  fill: iconPrimary
19
19
  })
20
20
  });
21
21
  };
22
- var viewBox = exports.viewBox = '0 0 48 48';
22
+ var viewBox = exports.viewBox = '0 0 32 32';
@@ -0,0 +1,3 @@
1
+ import { PathOptions } from '../svg-dict';
2
+ export declare const path: ({ iconPrimary }: PathOptions) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const viewBox = "0 0 1024 1024";
@@ -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)(_jsxRuntime.Fragment, {
14
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
15
+ d: "M844.743872 64.641229l-483.775168 80.814584c-1.567705 0.25071-3.031033 0.710175-4.453429 1.254573l-17.475 0c-11.915377 0-21.38403 9.532097-21.38403 21.280676l0 553.029462c-18.875906-10.912537-40.825824-17.140379-64.216557-17.140379-70.927399 0-128.433114 57.359382-128.433114 128.139425S182.512289 960.15695 253.439688 960.15695c70.926376 0 128.433114-57.359382 128.433114-128.139425 0-5.184069-0.314155-10.285251-0.899486-15.259542 0.585331-1.964748 0.899486-4.013407 0.899486-6.187933l0-449.764564 449.513854-79.267345 0 311.298955c-18.875906-10.870582-40.825824-17.142425-64.216557-17.142425-70.927399 0-128.433114 57.401338-128.433114 128.183428 0 70.738088 57.505715 128.139425 128.433114 128.139425 70.926376 0 128.432091-57.401338 128.432091-128.139425 0-5.184069-0.313132-10.285251-0.898463-15.301498 0.585331-1.966795 0.898463-4.015454 0.898463-6.187933l0-597.97307c0-10.45205-7.587815-19.190061-17.579377-20.946055-3.491521-2.173502-7.881504-3.051499-12.710486-2.257413l-11.370978 1.922792-1.170662 0C849.927941 63.135946 847.21004 63.679321 844.743872 64.641229z",
16
+ fill: iconPrimary,
17
+ "p-id": "2779"
18
+ })
19
+ });
20
+ };
21
+ var viewBox = exports.viewBox = '0 0 1024 1024';
@@ -9,4 +9,4 @@ export type SvgPath = {
9
9
  viewBox?: string;
10
10
  };
11
11
  export declare const getPath: (name: string, props: PathOptions) => import("react/jsx-runtime").JSX.Element;
12
- export declare const getViewBox: (name: string) => "0 0 12 12" | "0 0 16 16" | "0 0 48 48" | "0 0 20 8" | "0 0 20 20" | "0 0 32 32" | "0 0 50 50" | "0 0 20 21" | "0 0 30 30" | "0 0 48 49" | "0 0 49 49" | "0 0 200 120" | "0 0 10 10" | "0 0 22 22" | "0 0 5 19" | "0 0 29 29" | "0 0 32 20" | "0 0 138 100" | "0 0 48 30" | "0 0 48 20" | "0 0 24 24" | "0 0 30 48" | "0 0 49 48" | "0 0 100 56" | "0 0 28 28" | "0 0 32 33" | "0 0 20 48" | "0 0 36 36" | "0 0 21 20" | "0 0 39 10" | "0 0 17 16" | "0 0 18 18" | "0 0 40 40" | "0 0 9 9" | "0 0 26 26" | "0 0 14 30" | "0 4 16 8" | "0 0 40 11" | "0 0 16 13" | "0 0 15 13.5" | "0 0 8 32" | "0 0 31 30" | "0 0 4 4" | "0 0 45 7" | "0 0 0 0";
12
+ export declare const getViewBox: (name: string) => "0 0 12 12" | "0 0 16 16" | "0 0 48 48" | "0 0 20 8" | "0 0 20 20" | "0 0 32 32" | "0 0 50 50" | "0 0 20 21" | "0 0 30 30" | "0 0 48 49" | "0 0 49 49" | "0 0 200 120" | "0 0 10 10" | "0 0 22 22" | "0 0 5 19" | "0 0 29 29" | "0 0 32 20" | "0 0 138 100" | "0 0 48 30" | "0 0 48 20" | "0 0 24 24" | "0 0 30 48" | "0 0 49 48" | "0 0 100 56" | "0 0 28 28" | "0 0 32 33" | "0 0 20 48" | "0 0 36 36" | "0 0 21 20" | "0 0 39 10" | "0 0 17 16" | "0 0 18 18" | "0 0 40 40" | "0 0 9 9" | "0 0 26 26" | "0 0 14 30" | "0 4 16 8" | "0 0 40 11" | "0 0 16 13" | "0 0 15 13.5" | "0 0 8 32" | "0 0 31 30" | "0 0 4 4" | "0 0 45 7" | "0 0 1024 1024" | "0 0 0 0";
@@ -301,3 +301,4 @@ export * as logo_openai from './paths/logo_openai';
301
301
  export * as set_sale from './paths/set_sale';
302
302
  export * as zhipuai from './paths/zhipuai';
303
303
  export * as fcr_mobile_cameraoff2 from './paths/fcr_mobile_cameraoff2';
304
+ export * as fcr_share_sound from './paths/fcr_share_sound';
@@ -14,9 +14,9 @@ Object.defineProperty(exports, "__esModule", {
14
14
  value: true
15
15
  });
16
16
  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_interpretation2 = exports.fcr_host2 = exports.fcr_host = exports.fcr_home_code2 = exports.fcr_hidevideo = exports.fcr_helpquestion = exports.fcr_head = 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_download = exports.fcr_down1 = exports.fcr_down = exports.fcr_deviceaudioon = exports.fcr_deviceaudiooff = 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_colon = exports.fcr_cohost2 = exports.fcr_cohost1 = 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_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 = void 0;
17
- exports.fcr_stopscreensharing = 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_showvideo = exports.fcr_sharingbar_up = exports.fcr_sharingbar_down = 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 = 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_raisehands = 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 = exports.fcr_pensize_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_sharescreen = exports.fcr_mobile_more = 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_meetingrecord = void 0;
18
- 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_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_laserpen2 = exports.fcr_whiteboard_laserpen = exports.fcr_whiteboard_forward = exports.fcr_whiteboard_expand2 = 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_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_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_uporder = exports.fcr_uploadlist = exports.fcr_up2 = exports.fcr_up = exports.fcr_unpin = exports.fcr_underline = exports.fcr_translanguage = exports.fcr_topwindows = exports.fcr_tooltip_arrow_2 = exports.fcr_tooltip_arrow = exports.fcr_subtract = exports.fcr_student_rasiehand = void 0;
19
- exports.zhipuai = exports.set_sale = exports.logo_openai = void 0;
17
+ 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_showvideo = 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 = 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_raisehands = 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 = exports.fcr_pensize_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_sharescreen = exports.fcr_mobile_more = 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_meetingrecord = void 0;
18
+ 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_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_laserpen2 = exports.fcr_whiteboard_laserpen = exports.fcr_whiteboard_forward = exports.fcr_whiteboard_expand2 = 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_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_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_uporder = exports.fcr_uploadlist = exports.fcr_up2 = exports.fcr_up = exports.fcr_unpin = exports.fcr_underline = exports.fcr_translanguage = exports.fcr_topwindows = exports.fcr_tooltip_arrow_2 = exports.fcr_tooltip_arrow = exports.fcr_subtract = exports.fcr_student_rasiehand = exports.fcr_stopscreensharing = void 0;
19
+ exports.zhipuai = exports.set_sale = exports.logo_openai = exports.logo_moonshot = void 0;
20
20
  var _chat_private = _interopRequireWildcard(require("./paths/chat_private"));
21
21
  exports.chat_private = _chat_private;
22
22
  var _chevron_right = _interopRequireWildcard(require("./paths/chevron_right"));
@@ -623,5 +623,7 @@ var _zhipuai = _interopRequireWildcard(require("./paths/zhipuai"));
623
623
  exports.zhipuai = _zhipuai;
624
624
  var _fcr_mobile_cameraoff = _interopRequireWildcard(require("./paths/fcr_mobile_cameraoff2"));
625
625
  exports.fcr_mobile_cameraoff2 = _fcr_mobile_cameraoff;
626
+ var _fcr_share_sound = _interopRequireWildcard(require("./paths/fcr_share_sound"));
627
+ exports.fcr_share_sound = _fcr_share_sound;
626
628
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
627
629
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -301,5 +301,6 @@ export declare enum FcrIconType {
301
301
  LOGO_OPENAI = "logo_openai",
302
302
  SET_SALE = "set_sale",
303
303
  ZHIPUAI = "zhipuai",
304
- FCR_MOBILE_CAMERAOFF2 = "fcr_mobile_cameraoff2"
304
+ FCR_MOBILE_CAMERAOFF2 = "fcr_mobile_cameraoff2",
305
+ FCR_SHARE_SOUND = "fcr_share_sound"
305
306
  }
@@ -309,5 +309,6 @@ var FcrIconType = exports.FcrIconType = /*#__PURE__*/function (FcrIconType) {
309
309
  FcrIconType["SET_SALE"] = "set_sale";
310
310
  FcrIconType["ZHIPUAI"] = "zhipuai";
311
311
  FcrIconType["FCR_MOBILE_CAMERAOFF2"] = "fcr_mobile_cameraoff2";
312
+ FcrIconType["FCR_SHARE_SOUND"] = "fcr_share_sound";
312
313
  return FcrIconType;
313
314
  }({});
@@ -53,12 +53,12 @@ var IconText = exports.IconText = function IconText(_ref) {
53
53
  _ref$isHideIcon = _ref.isHideIcon,
54
54
  isHideIcon = _ref$isHideIcon === void 0 ? false : _ref$isHideIcon;
55
55
  var cls = (0, _classnames["default"])('fcr-icon-text');
56
- var spanCls = (0, _classnames["default"])('fcr-icon-text__text', _objectSpread({
56
+ var spanCls = (0, _classnames["default"])('fcr-icon-text__text', {
57
57
  'fcr-icon-text__text--small': fontSize === 'small',
58
58
  'fcr-icon-text__text--medium': fontSize === 'medium',
59
59
  'fcr-icon-text__text--large': fontSize === 'large',
60
60
  'fcr-icon-text__text--hide-icon': isHideIcon
61
- }, classnames));
61
+ });
62
62
  var text = (0, _react.useMemo)(function () {
63
63
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
64
64
  className: spanCls,
@@ -71,6 +71,7 @@ var IconText = exports.IconText = function IconText(_ref) {
71
71
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
72
72
  className: 'fcr-icon-text-wrapper',
73
73
  children: [iconReverse && text, !isHideIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
74
+ className: (0, _classnames["default"])(classnames),
74
75
  style: _objectSpread({}, transform && {
75
76
  transform: 'rotate(180deg)'
76
77
  }),
@@ -4,6 +4,10 @@
4
4
  gap: 20px;
5
5
  padding-top: 10px;
6
6
  }
7
+ .fcr-live-streaming-container .fcr-input-label {
8
+ font-size: 12px;
9
+ margin-bottom: 10px;
10
+ }
7
11
 
8
12
  .fcr-live-streaming-container-title {
9
13
  display: flex;
@@ -16,6 +20,7 @@
16
20
  display: inline-block;
17
21
  margin-bottom: 8px;
18
22
  margin-left: 5px;
23
+ font-size: 12px;
19
24
  }
20
25
 
21
26
  .fcr-live-streaming-container-secondary-title {
@@ -27,7 +32,7 @@
27
32
 
28
33
  .fcr-live-streaming-container__start-live {
29
34
  width: 100%;
30
- margin-top: 30px;
35
+ margin-top: 26px;
31
36
  -webkit-app-region: no-drag;
32
37
  }
33
38
 
@@ -1,6 +1,6 @@
1
1
  import './container.css';
2
2
  export interface FcrLiveStreamingContainerProps {
3
- defaultVideoSteamingUrl: string;
3
+ defaultVideoStreamingUrl: string;
4
4
  defaultVideoStreamingKey: string;
5
5
  defaultPlayUrl: string;
6
6
  isStarted: boolean;
@@ -19,13 +19,13 @@ var _i18n = require("../../i18n");
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  var FcrLiveStreamingContainer = exports.FcrLiveStreamingContainer = function FcrLiveStreamingContainer(props) {
21
21
  var defaultPlayUrl = props.defaultPlayUrl,
22
- defaultVideoSteamingUrl = props.defaultVideoSteamingUrl,
22
+ defaultVideoStreamingUrl = props.defaultVideoStreamingUrl,
23
23
  defaultVideoStreamingKey = props.defaultVideoStreamingKey,
24
24
  isStarted = props.isStarted,
25
25
  loading = props.loading,
26
26
  onLiveButtonClick = props.onLiveButtonClick,
27
27
  isStartError = props.isStartError;
28
- var _useState = (0, _react.useState)(defaultVideoSteamingUrl),
28
+ var _useState = (0, _react.useState)(defaultVideoStreamingUrl),
29
29
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
30
30
  videoSteamingUrl = _useState2[0],
31
31
  setVideoSteamingUrl = _useState2[1];
@@ -55,10 +55,10 @@ var FcrLiveStreamingContainer = exports.FcrLiveStreamingContainer = function Fcr
55
55
  isPlayUrlError = _useState14[0],
56
56
  setIsPlayUrlError = _useState14[1];
57
57
  (0, _react.useEffect)(function () {
58
- setVideoSteamingUrl(defaultVideoSteamingUrl);
58
+ setVideoSteamingUrl(defaultVideoStreamingUrl);
59
59
  setVideoStreamingKey(defaultVideoStreamingKey);
60
60
  setPlayUrl(defaultPlayUrl);
61
- }, [defaultVideoStreamingKey, defaultVideoSteamingUrl, defaultPlayUrl]);
61
+ }, [defaultVideoStreamingKey, defaultVideoStreamingUrl, defaultPlayUrl]);
62
62
  var isValidUrl = function isValidUrl(url) {
63
63
  var urlRegex = /^(|http|https|rtmps|rtmp):\/\/[^ "]+$/;
64
64
  return urlRegex.test(url);
@@ -137,7 +137,7 @@ var FcrLiveStreamingContainer = exports.FcrLiveStreamingContainer = function Fcr
137
137
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_input.FcrInput, {
138
138
  placeholder: t('fmt_broadcast_tips_streamingwebpage'),
139
139
  shape: "rounded",
140
- size: "medium",
140
+ size: "small",
141
141
  value: playUrl,
142
142
  onChange: function onChange(value) {
143
143
  return setPlayUrl(value);
@@ -60,7 +60,7 @@ var meta = {
60
60
  var Basic = exports.Basic = {
61
61
  args: {
62
62
  defaultPlayUrl: 'https://www.baidu.com',
63
- defaultVideoSteamingUrl: 'https://www.baidu.com',
63
+ defaultVideoStreamingUrl: 'https://www.baidu.com',
64
64
  defaultVideoStreamingKey: 'https://www.baidu.com',
65
65
  isStarted: false,
66
66
  isStartError: false
@@ -0,0 +1,12 @@
1
+ .fcr-loading-container {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ }
8
+
9
+ .fcr-loading-container img {
10
+ width: 200px;
11
+ height: 200px;
12
+ }
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ declare const _default: () => import("react/jsx-runtime").JSX.Element;
3
+ export default _default;
@@ -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["default"] = void 0;
9
+ var _loading = _interopRequireDefault(require("./loading.gif"));
10
+ require("./index.css");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ var _default = exports["default"] = function _default() {
13
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
14
+ className: "fcr-loading-container",
15
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
16
+ src: _loading["default"],
17
+ alt: ""
18
+ })
19
+ });
20
+ };
@@ -0,0 +1,62 @@
1
+ .fcr-pc-full-screen-error {
2
+ width: 100%;
3
+ height: 100vh;
4
+ background-color: var(--fcr_ui_scene_inverse);
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ }
9
+
10
+ .fcr-pc-full-screen-error-content {
11
+ width: 272px;
12
+ height: 415px;
13
+ display: flex;
14
+ flex-direction: column;
15
+ }
16
+
17
+ .fcr-pc-full-screen-error-content-img {
18
+ width: 200px;
19
+ height: 200px;
20
+ align-self: center;
21
+ }
22
+
23
+ .fcr-pc-full-screen-close-btn {
24
+ width: 140px;
25
+ height: 50px;
26
+ display: flex;
27
+ justify-content: center;
28
+ align-items: center;
29
+ }
30
+
31
+ .fcr-pc-full-screen-error-content-title {
32
+ color: var(--fcr_ui_scene_inverse2);
33
+ font-size: 28px;
34
+ font-weight: 800;
35
+ align-self: center;
36
+ margin-top: 26px;
37
+ }
38
+
39
+ .fcr-pc-full-screen-error-content-desc {
40
+ color: var(--fcr_ui_scene_inverse2);
41
+ font-size: 16px;
42
+ font-weight: 400;
43
+ align-self: center;
44
+ margin-top: 24px;
45
+ margin-bottom: 46px;
46
+ }
47
+
48
+ .fcr-pc-full-screen-close-btn {
49
+ min-width: 56px;
50
+ height: 50px;
51
+ border-radius: var(--fcr_cornerradius_round);
52
+ background-color: var(--fcr_ui_scene_inverse2);
53
+ color: var(--fcr_ui_scene_inverse);
54
+ text-align: center;
55
+ line-height: 50px;
56
+ align-self: center;
57
+ cursor: pointer;
58
+ }
59
+
60
+ .fcr-pc-full-screen-close-btn:active {
61
+ transform: scale(0.94);
62
+ }
@@ -0,0 +1,3 @@
1
+ import './index.css';
2
+ declare const FcrCrashErrorFallback: (handleFallback: () => void) => import("react/jsx-runtime").JSX.Element;
3
+ export default FcrCrashErrorFallback;
@@ -0,0 +1,50 @@
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["default"] = void 0;
9
+ var _fullScreenErrorBoundaryImg = _interopRequireDefault(require("./assets/full-screen-error-boundary-img.png"));
10
+ var _i18n = require("../../i18n");
11
+ var _icon = require("../icon");
12
+ var _type = require("../icon/type");
13
+ var _env = require("agora-foundation/lib/utilities/env");
14
+ require("./index.css");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ var FcrCrashErrorFallback = function FcrCrashErrorFallback(handleFallback) {
17
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
18
+ className: "fcr-pc-full-screen-error",
19
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
20
+ className: "fcr-pc-full-screen-error-content",
21
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
22
+ src: _fullScreenErrorBoundaryImg["default"],
23
+ className: "fcr-pc-full-screen-error-content-img"
24
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
25
+ className: "fcr-pc-full-screen-error-content-title",
26
+ children: (0, _i18n.transI18n)('fmt_failure_popup_label_crash')
27
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
+ className: "fcr-pc-full-screen-error-content-desc",
29
+ children: (0, _i18n.transI18n)('fmt_failure_popup_label_crash_tips')
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
31
+ className: "fcr-pc-full-screen-close-btn",
32
+ onClick: handleFallback,
33
+ children: (0, _env.isElectron)() ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
34
+ children: (0, _i18n.transI18n)('fmt_failure_popup_button_close_app')
35
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
36
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
37
+ type: _type.FcrIconType.FCR_RESET,
38
+ size: 30,
39
+ colors: {
40
+ iconPrimary: 'var(--fcr_ui_scene_inverse)'
41
+ }
42
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
43
+ children: (0, _i18n.transI18n)('fmt_failure_popup_button_refresh')
44
+ })]
45
+ })
46
+ })]
47
+ })
48
+ });
49
+ };
50
+ var _default = exports["default"] = FcrCrashErrorFallback;
@@ -9,6 +9,7 @@ require("core-js/modules/es.weak-map.js");
9
9
  require("core-js/modules/esnext.weak-map.delete-all.js");
10
10
  require("core-js/modules/esnext.weak-map.emplace.js");
11
11
  require("core-js/modules/web.dom-collections.iterator.js");
12
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
12
13
  var _typeof = require("@babel/runtime/helpers/typeof");
13
14
  Object.defineProperty(exports, "__esModule", {
14
15
  value: true
@@ -16,12 +17,14 @@ Object.defineProperty(exports, "__esModule", {
16
17
  exports.processEmojiTextMsg = processEmojiTextMsg;
17
18
  require("core-js/modules/es.array.includes.js");
18
19
  require("core-js/modules/es.array.index-of.js");
20
+ require("core-js/modules/es.array.map.js");
19
21
  require("core-js/modules/es.array.push.js");
20
22
  require("core-js/modules/es.array.slice.js");
21
23
  require("core-js/modules/es.object.keys.js");
22
24
  require("core-js/modules/es.regexp.exec.js");
23
25
  require("core-js/modules/es.string.includes.js");
24
26
  require("core-js/modules/esnext.array.last-index.js");
27
+ var _react = _interopRequireDefault(require("react"));
25
28
  var svgExports = _interopRequireWildcard(require("../icon/svg-exports"));
26
29
  var _jsxRuntime = require("react/jsx-runtime");
27
30
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -96,6 +99,10 @@ function processEmojiTextMsg(msg, className) {
96
99
  // console.log({ result: msgElements }, ' processEmojiTextMsg function');
97
100
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
98
101
  className: className,
99
- children: msgElements
102
+ children: msgElements.map(function (el, i) {
103
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react["default"].Fragment, {
104
+ children: el
105
+ }, i);
106
+ })
100
107
  });
101
108
  }
@@ -54,6 +54,12 @@ var MessageLabel = exports.MessageLabel = function MessageLabel(_ref) {
54
54
  }), tag && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
55
55
  className: "fcr-message-label__tag",
56
56
  children: tag
57
+ }), !publisherIsSelf && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
58
+ className: "fcr-message-label__publisher fcr-message-label__nickname fcr-break-one-line fcr-word-break",
59
+ style: {
60
+ color: color
61
+ },
62
+ children: publisher
57
63
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
58
64
  className: "fcr-message-label__marginR",
59
65
  children: t('to')
@@ -107,11 +107,6 @@ var MessageTextArea = exports.MessageTextArea = /*#__PURE__*/(0, _react.forwardR
107
107
  updateErrVisible && updateErrVisible(false);
108
108
  }
109
109
  }, [textMsg]);
110
- (0, _react.useEffect)(function () {
111
- return function () {
112
- updateChatTextMsg === null || updateChatTextMsg === void 0 || updateChatTextMsg(textMsg);
113
- };
114
- }, [textMsg]);
115
110
  var msgSendHandler = function msgSendHandler() {
116
111
  if (textMsg.length === 0) return;
117
112
  if (textMsg.length > limitation) {
@@ -119,6 +114,7 @@ var MessageTextArea = exports.MessageTextArea = /*#__PURE__*/(0, _react.forwardR
119
114
  } else {
120
115
  onSendMsg && onSendMsg(textMsg);
121
116
  setTextMsg('');
117
+ updateChatTextMsg === null || updateChatTextMsg === void 0 || updateChatTextMsg('');
122
118
  }
123
119
  };
124
120
  var _useState7 = (0, _react.useState)(false),
@@ -137,8 +133,9 @@ var MessageTextArea = exports.MessageTextArea = /*#__PURE__*/(0, _react.forwardR
137
133
  }),
138
134
  placeholder: placeholder,
139
135
  value: textMsg,
140
- onChange: function onChange(target) {
141
- setTextMsg(target.target.value);
136
+ onChange: function onChange(event) {
137
+ setTextMsg(event.target.value);
138
+ updateChatTextMsg === null || updateChatTextMsg === void 0 || updateChatTextMsg(event.target.value);
142
139
  },
143
140
  onFocus: function onFocus() {
144
141
  setFocus(true);
@@ -130,16 +130,6 @@ var FcrParticipantsFooter = exports.FcrParticipantsFooter = function FcrParticip
130
130
  onRoomControlClick('ALLOW_ATTENDEE_TO_OPEN_CAMERA');
131
131
  },
132
132
  classNames: 'room-control-drop-with-under-line'
133
- }, {
134
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
135
- checked: false,
136
- label: t('fmt_security_options_removemultiple'),
137
- styleType: "white"
138
- }),
139
- key: 'remove_fcr-participants',
140
- type: 'danger',
141
- onButtonClick: function onButtonClick() {},
142
- classNames: 'room-control-drop-disable'
143
133
  }];
144
134
  if (props.hasRevokeHostPermission) {
145
135
  allActions.unshift({
@@ -193,7 +183,9 @@ var FcrParticipantsFooter = exports.FcrParticipantsFooter = function FcrParticip
193
183
  overlayInnerStyle: {
194
184
  boxShadow: 'none',
195
185
  border: 'none',
196
- width: '256px'
186
+ minWidth: '256px',
187
+ width: 'auto',
188
+ maxWidth: '300px'
197
189
  },
198
190
  content: moreDropMenu ? moreDropMenu : /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantsFooterMore, {}),
199
191
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
@@ -38,8 +38,6 @@
38
38
  justify-content: space-between;
39
39
  padding: 4px 15px 10px 15px;
40
40
  gap: 8px;
41
- position: absolute;
42
- bottom: 0;
43
41
  width: 100%;
44
42
  background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
45
43
  }
@@ -100,3 +98,7 @@
100
98
  .attendee__footer-more-actions .fcr-drop-menu-option {
101
99
  width: auto;
102
100
  }
101
+
102
+ .fcr_participants_button_invite {
103
+ min-width: 70px !important;
104
+ }
@@ -98,7 +98,10 @@ var FcrParticipants = exports.FcrParticipants = function FcrParticipants(props)
98
98
  value: value,
99
99
  shape: "rounded",
100
100
  onChange: handleChange,
101
- maxLength: 21
101
+ maxLength: 21,
102
+ style: {
103
+ background: 'var(--fcr_ui_scene_input2)'
104
+ }
102
105
  // autoFocus
103
106
  ,
104
107
  iconPrefix: {
@@ -108,6 +111,7 @@ var FcrParticipants = exports.FcrParticipants = function FcrParticipants(props)
108
111
  }
109
112
  }
110
113
  }), isShowInvite && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
114
+ className: "fcr_participants_button_invite",
111
115
  type: "secondary-bordered",
112
116
  shape: "rounded",
113
117
  size: "XS",
@@ -3,6 +3,7 @@ interface CameraStateProps {
3
3
  size?: number;
4
4
  ignoreColor?: boolean;
5
5
  renderMode?: 'current-state' | 'forward-state';
6
+ renderIconType?: 'surface' | 'line';
6
7
  }
7
8
  export declare const CameraState: (props: CameraStateProps) => import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -13,12 +13,13 @@ var CameraState = exports.CameraState = function CameraState(props) {
13
13
  _props$size = props.size,
14
14
  size = _props$size === void 0 ? 20 : _props$size,
15
15
  ignoreColor = props.ignoreColor,
16
- renderMode = props.renderMode;
16
+ renderMode = props.renderMode,
17
+ renderIconType = props.renderIconType;
17
18
  var getComputIconType = function getComputIconType() {
18
19
  if (renderMode === 'forward-state') {
19
- return isCameraMuted ? _type.FcrIconType.FCR_MOBILE_CAMERA2 : _type.FcrIconType.FCR_MOBILE_CAMERAOFF2;
20
+ return isCameraMuted ? renderIconType === 'surface' ? _type.FcrIconType.FCR_CAMERA : _type.FcrIconType.FCR_MOBILE_CAMERA2 : renderIconType === 'surface' ? _type.FcrIconType.FCR_CAMERAOFF : _type.FcrIconType.FCR_MOBILE_CAMERAOFF2;
20
21
  } else {
21
- return isCameraMuted ? _type.FcrIconType.FCR_MOBILE_CAMERAOFF2 : _type.FcrIconType.FCR_MOBILE_CAMERA2;
22
+ return isCameraMuted ? renderIconType === 'surface' ? _type.FcrIconType.FCR_CAMERAOFF : _type.FcrIconType.FCR_MOBILE_CAMERAOFF2 : renderIconType === 'surface' ? _type.FcrIconType.FCR_CAMERA : _type.FcrIconType.FCR_MOBILE_CAMERA2;
22
23
  }
23
24
  };
24
25
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  .fcr-tabs__nav-item {
24
- padding: 4px 0;
24
+ padding: 7px 0;
25
25
  width: var(--fcr-tabs__nav-item__width);
26
26
  text-align: center;
27
27
  position: relative;
@@ -29,6 +29,7 @@
29
29
  transition: 0.3s all;
30
30
  font-weight: 400;
31
31
  font-size: 14px;
32
+ flex: 1;
32
33
  }
33
34
 
34
35
  .fcr-tabs__nav-item.fcr-tabs__nav-item--active {
@@ -42,7 +43,7 @@
42
43
  .fcr-tabs__nav-indicator {
43
44
  background-color: var(--fcr_ui_scene_ramp_brand6);
44
45
  color: var(--fcr_ui_scene_icontext1);
45
- border-radius: var(--fcr_cornerradius_s);
46
+ border-radius: var(--fcr_cornerradius_xs);
46
47
  position: absolute;
47
48
  height: 100%;
48
49
  transition: 0.3s all;
@@ -120,7 +120,7 @@ var FcrFashionTabs = exports.FcrFashionTabs = function FcrFashionTabs(_ref4) {
120
120
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
121
121
  type: _type.FcrIconType.FCR_UNDERLINE,
122
122
  colors: {
123
- iconPrimary: 'var(--fcr_ui_scene_icontext2)'
123
+ iconPrimary: 'var(--fcr_ui_scene_icontext1)'
124
124
  },
125
125
  size: 40
126
126
  })
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  .fcr-text-bubble--weight-normal {
68
- font-weight: 300;
68
+ font-weight: 400;
69
69
  }
70
70
 
71
71
  .fcr-text-bubble--line-height-large {
@@ -55,9 +55,11 @@ var getPixelRatio = function getPixelRatio(context) {
55
55
  return (window.devicePixelRatio || 1) / backingStore;
56
56
  };
57
57
  var getSingleFontSize = function getSingleFontSize(width) {
58
- var fontSize = 50;
59
- if (width > 1500) {
60
- fontSize = 80;
58
+ var fontSize = 36;
59
+ if (width >= 1920) {
60
+ fontSize = 50;
61
+ } else if (width > 1200 && width < 1920) {
62
+ fontSize = 40;
61
63
  } else if (width >= 400 && width < 600) {
62
64
  fontSize = 24;
63
65
  } else if (width >= 220 && width < 400) {
@@ -95,7 +97,7 @@ var WaterMark = exports.WaterMark = function WaterMark(props) {
95
97
  _props$height = props.height,
96
98
  height = _props$height === void 0 ? 64 : _props$height,
97
99
  _props$rotate = props.rotate,
98
- rotate = _props$rotate === void 0 ? -22 : _props$rotate,
100
+ rotate = _props$rotate === void 0 ? -18 : _props$rotate,
99
101
  image = props.image,
100
102
  content = props.content,
101
103
  offsetLeft = props.offsetLeft,
@@ -161,7 +163,34 @@ var WaterMark = exports.WaterMark = function WaterMark(props) {
161
163
  ctx.fillText(item, 0, index * Number(fontSize) * 2);
162
164
  } else {
163
165
  var textMe = ctx.measureText(item);
164
- ctx.fillText(item, -textMe.width / 2, index * Number(fontSize) * 2);
166
+ var drawWidth = textMe.width;
167
+ var count = Math.floor(widthNum / drawWidth);
168
+ var gap = (widthNum - drawWidth * count) / 2;
169
+ var oneLineGap = 4 * ratio;
170
+ if (gap < oneLineGap) {
171
+ gap = 6;
172
+ count = count--;
173
+ }
174
+ if (count === 1) {
175
+ ctx.fillText(item, -textMe.width / 2, index * Number(fontSize) * 2);
176
+ } else {
177
+ var mostLeft = -widthNum / 2 - 10;
178
+ var mostBottom = 0;
179
+ var prevHeight = -mostBottom / 2 + 0 * ratio;
180
+ var prevWidth = mostLeft;
181
+ for (var i = 0; i < count; i++) {
182
+ var _x = mostLeft;
183
+ var _y = prevHeight;
184
+ if (i === 0) {
185
+ _x = mostLeft;
186
+ } else {
187
+ _x = prevWidth + drawWidth + gap;
188
+ prevHeight = _y;
189
+ prevWidth = _x;
190
+ }
191
+ ctx.fillText(item, _x, _y);
192
+ }
193
+ }
165
194
  }
166
195
  });
167
196
  } else {
@@ -187,7 +216,7 @@ var WaterMark = exports.WaterMark = function WaterMark(props) {
187
216
  height: '100%',
188
217
  backgroundSize: "".concat(gapX + width, "px"),
189
218
  pointerEvents: 'none',
190
- backgroundRepeat: 'repeat',
219
+ backgroundRepeat: "".concat(multiLine ? 'repeat' : 'no-repeat'),
191
220
  backgroundImage: "url('".concat(base64Url, "')")
192
221
  }, markStyle)
193
222
  })]
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  import { WindowControlProps } from '../windows-control';
3
3
  import './index.css';
4
4
  export declare enum WindowType {
@@ -6,7 +6,7 @@ export declare enum WindowType {
6
6
  MODAL = "modal"
7
7
  }
8
8
  export interface WindowHeaderProps extends WindowControlProps {
9
- title?: string;
9
+ title?: string | ReactElement;
10
10
  type: WindowType;
11
11
  onTypeChange?: (type: WindowType) => void;
12
12
  onClose?: () => void;
@@ -81,11 +81,13 @@ var FcrWindowHeader = exports.FcrWindowHeader = function FcrWindowHeader(props)
81
81
  content: type === WindowType.MODAL ? t('fmt_uimanager_option_popwindow') : t('fmt_uimanager_option_mergeview'),
82
82
  mouseEnterDelay: 0,
83
83
  trigger: "hover",
84
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
85
- icon: type === WindowType.MODAL ? _type.FcrIconType.FCR_WINDOWPAGE_LONELY : _type.FcrIconType.FCR_WINDOWPAGE_BIGGER,
86
- onClick: handlerTypeChange,
87
- className: "frc-window-header__icon fcr-no-drag",
88
- iconColors: iconColors
84
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
85
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconButton.FcrIconButton, {
86
+ icon: type === WindowType.MODAL ? _type.FcrIconType.FCR_WINDOWPAGE_LONELY : _type.FcrIconType.FCR_WINDOWPAGE_BIGGER,
87
+ onClick: handlerTypeChange,
88
+ className: "frc-window-header__icon fcr-no-drag",
89
+ iconColors: iconColors
90
+ })
89
91
  })
90
92
  }), otherActionsAfter]
91
93
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-ui-foundation",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "lib",
@@ -10,13 +10,16 @@
10
10
  "jackspeak": "2.1.1"
11
11
  },
12
12
  "dependencies": {
13
+ "@react-spring/web": "^9.7.3",
14
+ "@use-gesture/react": "^10.3.1",
15
+ "agora-foundation": "^3.4.2",
13
16
  "classnames": "^2.5.1",
14
17
  "i18next": "^23.10.1",
15
18
  "normalize.css": "^8.0.1",
16
19
  "patch-package": "^8.0.0",
17
20
  "rc-dialog": "^8",
18
- "rc-tooltip": "5.1.1",
19
21
  "rc-notification": "5.6.2",
22
+ "rc-tooltip": "5.1.1",
20
23
  "react": "^17.0.2",
21
24
  "react-dom": "^17.0.2",
22
25
  "react-i18next": "^15.0.1",
@@ -24,10 +27,7 @@
24
27
  "react-select": "5.8.0",
25
28
  "react-transition-group": "^4.4.2",
26
29
  "react-virtualized": "^9.22.5",
27
- "tinycolor2": "^1.6.0",
28
- "@react-spring/web": "^9.7.3",
29
- "@use-gesture/react": "^10.3.1",
30
- "agora-foundation": "^3.4.0"
30
+ "tinycolor2": "^1.6.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@babel/core": "^7.23.5",
@@ -51,6 +51,7 @@
51
51
  "@types/react-virtualized": "^9.21.30",
52
52
  "@types/tinycolor2": "^1.4.6",
53
53
  "@types/webpack-env": "^1.18.4",
54
+ "agora-toolchain": "^3.4.2",
54
55
  "core-js": "^3.33.3",
55
56
  "eslint": "^9.0.0",
56
57
  "node-html-parser": "^6.1.13",
@@ -58,8 +59,7 @@
58
59
  "ts-node": "^10.9.2",
59
60
  "tslib": "^2.6.2",
60
61
  "typescript": "^5.4.3",
61
- "vite": "^5.2.7",
62
- "agora-toolchain": "^3.4.0"
62
+ "vite": "^5.2.7"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "agora-tc-transpile",