fcr-ui-scene-mobile 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/ground_glass_bg.png +0 -0
- package/lib/base.d.ts +11 -0
- package/lib/base.js +39 -0
- package/lib/common/device-store.d.ts +86 -0
- package/lib/common/device-store.js +642 -0
- package/lib/common/device-stream-store.d.ts +26 -0
- package/lib/common/device-stream-store.js +298 -0
- package/lib/common/event-store.d.ts +124 -0
- package/lib/common/event-store.js +249 -0
- package/lib/common/global-context.d.ts +11 -0
- package/lib/common/global-context.js +9 -0
- package/lib/common/member-list-data-source.d.ts +28 -0
- package/lib/common/member-list-data-source.js +305 -0
- package/lib/common/participant-store.d.ts +195 -0
- package/lib/common/participant-store.js +1577 -0
- package/lib/common/security-store.d.ts +119 -0
- package/lib/common/security-store.js +948 -0
- package/lib/common/setting-store.d.ts +181 -0
- package/lib/common/setting-store.js +797 -0
- package/lib/common/type.d.ts +73 -0
- package/lib/common/type.js +22 -0
- package/lib/config/default-config.d.ts +32 -0
- package/lib/config/default-config.js +39 -0
- package/lib/config/setting-config.d.ts +16 -0
- package/lib/config/setting-config.js +17 -0
- package/lib/creator.d.ts +10 -0
- package/lib/creator.js +49 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/hooks/useIsNodePresent.d.ts +4 -0
- package/lib/hooks/useIsNodePresent.js +53 -0
- package/lib/hooks/useOnRefMount.d.ts +2 -0
- package/lib/hooks/useOnRefMount.js +27 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +50 -0
- package/lib/mobile-global.css +28 -0
- package/lib/modules/action-bar/bottom-icons.d.ts +17 -0
- package/lib/modules/action-bar/bottom-icons.js +160 -0
- package/lib/modules/action-bar/context.d.ts +2 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/index.css +33 -0
- package/lib/modules/action-bar/index.d.ts +27 -0
- package/lib/modules/action-bar/index.js +46 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.css +130 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.d.ts +19 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.js +252 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.d.ts +1 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.js +82 -0
- package/lib/modules/action-bar/member-list-popup/index.css +35 -0
- package/lib/modules/action-bar/member-list-popup/index.d.ts +7 -0
- package/lib/modules/action-bar/member-list-popup/index.js +40 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.css +0 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.d.ts +12 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.js +58 -0
- package/lib/modules/action-bar/more-popup/index.css +71 -0
- package/lib/modules/action-bar/more-popup/index.d.ts +2 -0
- package/lib/modules/action-bar/more-popup/index.js +126 -0
- package/lib/modules/action-bar/store.d.ts +196 -0
- package/lib/modules/action-bar/store.js +1425 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +2 -0
- package/lib/modules/action-bar/view.js +75 -0
- package/lib/modules/audio-stream/ index.d.ts +19 -0
- package/lib/modules/audio-stream/ index.js +109 -0
- package/lib/modules/audio-stream/index.d.ts +25 -0
- package/lib/modules/audio-stream/index.js +135 -0
- package/lib/modules/chat/chat-bar/index.css +97 -0
- package/lib/modules/chat/chat-bar/index.d.ts +12 -0
- package/lib/modules/chat/chat-bar/index.js +129 -0
- package/lib/modules/chat/chat-notification/index.css +71 -0
- package/lib/modules/chat/chat-notification/index.d.ts +3 -0
- package/lib/modules/chat/chat-notification/index.js +75 -0
- package/lib/modules/chat/chat-select/index.css +183 -0
- package/lib/modules/chat/chat-select/index.d.ts +12 -0
- package/lib/modules/chat/chat-select/index.js +223 -0
- package/lib/modules/chat/contex.d.ts +2 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +1 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +108 -0
- package/lib/modules/chat/index.d.ts +28 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +208 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +617 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +183 -0
- package/lib/modules/chat/store.js +1101 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/chat/view.d.ts +11 -0
- package/lib/modules/chat/view.js +414 -0
- package/lib/modules/layout/bottom-drawer/index.css +34 -0
- package/lib/modules/layout/bottom-drawer/index.d.ts +3 -0
- package/lib/modules/layout/bottom-drawer/index.js +129 -0
- package/lib/modules/layout/components/Layout.d.ts +1 -0
- package/lib/modules/layout/components/Layout.js +98 -0
- package/lib/modules/layout/components/equip-request-popup/index.css +30 -0
- package/lib/modules/layout/components/equip-request-popup/index.d.ts +3 -0
- package/lib/modules/layout/components/equip-request-popup/index.js +78 -0
- package/lib/modules/layout/components/index.css +78 -0
- package/lib/modules/layout/components/index.d.ts +2 -0
- package/lib/modules/layout/components/index.js +25 -0
- package/lib/modules/layout/context.d.ts +2 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/drawer-header/index.css +27 -0
- package/lib/modules/layout/drawer-header/index.d.ts +10 -0
- package/lib/modules/layout/drawer-header/index.js +54 -0
- package/lib/modules/layout/index.css +22 -0
- package/lib/modules/layout/index.d.ts +8 -0
- package/lib/modules/layout/index.js +47 -0
- package/lib/modules/layout/store.d.ts +59 -0
- package/lib/modules/layout/store.js +379 -0
- package/lib/modules/layout/type.d.ts +65 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/member-layout/context.d.ts +2 -0
- package/lib/modules/member-layout/context.js +9 -0
- package/lib/modules/member-layout/data.d.ts +2 -0
- package/lib/modules/member-layout/data.js +304 -0
- package/lib/modules/member-layout/grid/index.css +98 -0
- package/lib/modules/member-layout/grid/index.d.ts +21 -0
- package/lib/modules/member-layout/grid/index.js +316 -0
- package/lib/modules/member-layout/index.css +88 -0
- package/lib/modules/member-layout/index.d.ts +8 -0
- package/lib/modules/member-layout/index.js +45 -0
- package/lib/modules/member-layout/share-toast/index.css +30 -0
- package/lib/modules/member-layout/share-toast/index.d.ts +5 -0
- package/lib/modules/member-layout/share-toast/index.js +43 -0
- package/lib/modules/member-layout/speaker/index.css +30 -0
- package/lib/modules/member-layout/speaker/index.d.ts +9 -0
- package/lib/modules/member-layout/speaker/index.js +28 -0
- package/lib/modules/member-layout/store.d.ts +70 -0
- package/lib/modules/member-layout/store.js +479 -0
- package/lib/modules/member-layout/user/index.css +121 -0
- package/lib/modules/member-layout/user/index.d.ts +34 -0
- package/lib/modules/member-layout/user/index.js +355 -0
- package/lib/modules/member-layout/user/types.d.ts +16 -0
- package/lib/modules/member-layout/user/types.js +6 -0
- package/lib/modules/member-layout/view.d.ts +2 -0
- package/lib/modules/member-layout/view.js +225 -0
- package/lib/modules/state-bar/context.d.ts +2 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +79 -0
- package/lib/modules/state-bar/index.d.ts +17 -0
- package/lib/modules/state-bar/index.js +55 -0
- package/lib/modules/state-bar/leaving-room/index.css +14 -0
- package/lib/modules/state-bar/leaving-room/index.d.ts +7 -0
- package/lib/modules/state-bar/leaving-room/index.js +38 -0
- package/lib/modules/state-bar/meeting-detail/index.css +72 -0
- package/lib/modules/state-bar/meeting-detail/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/index.js +59 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.d.ts +4 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.js +81 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.css +92 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.js +188 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.css +27 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.js +87 -0
- package/lib/modules/state-bar/store.d.ts +76 -0
- package/lib/modules/state-bar/store.js +561 -0
- package/lib/modules/state-bar/view.d.ts +7 -0
- package/lib/modules/state-bar/view.js +215 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +41 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +53 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +156 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +35 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +65 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +39 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +18 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +52 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +30 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +98 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +89 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +9 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +53 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +4 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +29 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +38 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +107 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +89 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +134 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +106 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +168 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +183 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +51 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +248 -0
- package/lib/modules/whiteboard/context.d.ts +69 -0
- package/lib/modules/whiteboard/context.js +36 -0
- package/lib/modules/whiteboard/index.d.ts +119 -0
- package/lib/modules/whiteboard/index.js +1134 -0
- package/lib/modules/whiteboard/style.css +143 -0
- package/lib/modules/whiteboard/type.d.ts +94 -0
- package/lib/modules/whiteboard/type.js +89 -0
- package/lib/modules/whiteboard/utils.d.ts +12 -0
- package/lib/modules/whiteboard/utils.js +36 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +29 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +183 -0
- package/lib/plugins/multi-lang-plugin.d.ts +1 -0
- package/lib/plugins/multi-lang-plugin.js +19 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/translations/enUS.d.ts +1855 -0
- package/lib/translations/enUS.js +1895 -0
- package/lib/translations/zhCN.d.ts +1852 -0
- package/lib/translations/zhCN.js +1892 -0
- package/lib/type.d.ts +121 -0
- package/lib/type.js +46 -0
- package/lib/ui-manager.d.ts +32 -0
- package/lib/ui-manager.js +426 -0
- package/lib/ui-scene.d.ts +14 -0
- package/lib/ui-scene.js +141 -0
- package/lib/utilities/board-context.d.ts +4 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +286 -0
- package/lib/utilities/constant.js +271 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +117 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +101 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/tools.d.ts +27 -0
- package/lib/utilities/tools.js +169 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/package.json +63 -0
|
@@ -0,0 +1,107 @@
|
|
|
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.ColorPickerPanel = void 0;
|
|
9
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
+
require("core-js/modules/es.array.includes.js");
|
|
11
|
+
require("core-js/modules/es.array.map.js");
|
|
12
|
+
require("core-js/modules/es.string.includes.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
14
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
15
|
+
var _mobxReact = require("mobx-react");
|
|
16
|
+
var _react = require("react");
|
|
17
|
+
var _store = require("../../../store");
|
|
18
|
+
var _button = require("agora-ui-foundation/lib/components/button");
|
|
19
|
+
var _popover = require("agora-ui-foundation/lib/components/popover");
|
|
20
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
21
|
+
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
22
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
23
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
24
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
+
var ColorPickerPanel = exports.ColorPickerPanel = (0, _mobxReact.observer)(function () {
|
|
26
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
27
|
+
_useContext$observabl = _useContext.observables,
|
|
28
|
+
colors = _useContext$observabl.colors,
|
|
29
|
+
currentColor = _useContext$observabl.currentColor;
|
|
30
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
32
|
+
className: "fcr-board-toolbar-panel fcr-board-toolbar-panel--color",
|
|
33
|
+
children: [colors === null || colors === void 0 ? void 0 : colors.map(function (color) {
|
|
34
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(CommonColorMenu, {
|
|
35
|
+
isActive: currentColor === color,
|
|
36
|
+
color: color
|
|
37
|
+
}, color);
|
|
38
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("footer", {
|
|
39
|
+
className: "fcr-board-toolbar-panel--footer",
|
|
40
|
+
children: transI18n('fmt_screenshare_whiteboard_tips_righclick')
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
var CommonColorMenu = (0, _mobxReact.observer)(function (_ref) {
|
|
45
|
+
var color = _ref.color,
|
|
46
|
+
isActive = _ref.isActive;
|
|
47
|
+
var _useState = (0, _react.useState)(false),
|
|
48
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
49
|
+
visibleMenu = _useState2[0],
|
|
50
|
+
setMenuVisible = _useState2[1];
|
|
51
|
+
var _useContext2 = (0, _react.useContext)(_store.ToolbarContext),
|
|
52
|
+
setStrokeColor = _useContext2.setStrokeColor,
|
|
53
|
+
setCommonColor = _useContext2.setCommonColor,
|
|
54
|
+
commonColors = _useContext2.observables.commonColors;
|
|
55
|
+
var cls = (0, _classnames["default"])({
|
|
56
|
+
'fcr-board-toolbar__picker-color--active': isActive,
|
|
57
|
+
'fcr-board-toolbar__picker-color--border': ['#E2E2E2', '#FFFFFF', '#EFEFEF'].includes(color)
|
|
58
|
+
});
|
|
59
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
60
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
61
|
+
visible: visibleMenu,
|
|
62
|
+
overlayInnerStyle: {
|
|
63
|
+
borderRadius: '4px',
|
|
64
|
+
padding: '5px',
|
|
65
|
+
boxShadow: 'var(--fcr_web_light_dropup)',
|
|
66
|
+
width: 'auto'
|
|
67
|
+
},
|
|
68
|
+
overlayClassName: "fcr-board-toolbar__set-common__overlay",
|
|
69
|
+
placement: "right",
|
|
70
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
71
|
+
onMouseLeave: function onMouseLeave() {
|
|
72
|
+
return setMenuVisible(false);
|
|
73
|
+
},
|
|
74
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
75
|
+
type: "gray",
|
|
76
|
+
block: true,
|
|
77
|
+
size: "XXS",
|
|
78
|
+
shape: "rounded",
|
|
79
|
+
onClick: function onClick() {
|
|
80
|
+
setMenuVisible(false);
|
|
81
|
+
setCommonColor(color);
|
|
82
|
+
},
|
|
83
|
+
children: transI18n('fmt_screenshare_whiteboard_button_setcolor')
|
|
84
|
+
})
|
|
85
|
+
}),
|
|
86
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
87
|
+
className: cls,
|
|
88
|
+
onClick: function onClick() {
|
|
89
|
+
return setStrokeColor(color);
|
|
90
|
+
},
|
|
91
|
+
onContextMenu: function onContextMenu(e) {
|
|
92
|
+
e.preventDefault();
|
|
93
|
+
setMenuVisible(true);
|
|
94
|
+
},
|
|
95
|
+
style: {
|
|
96
|
+
color: color,
|
|
97
|
+
background: color
|
|
98
|
+
},
|
|
99
|
+
children: commonColors.includes(color) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
100
|
+
type: _type.FcrIconType.FCR_CHOOSEIT,
|
|
101
|
+
colors: {
|
|
102
|
+
iconPrimary: '#fff'
|
|
103
|
+
}
|
|
104
|
+
})
|
|
105
|
+
}, color)
|
|
106
|
+
});
|
|
107
|
+
});
|
package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Picker: () => import("react/jsx-runtime").JSX.Element;
|
package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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.Picker = void 0;
|
|
9
|
+
require("core-js/modules/es.array.includes.js");
|
|
10
|
+
require("core-js/modules/es.string.includes.js");
|
|
11
|
+
var _mobxReact = require("mobx-react");
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
var _store = require("../../../store");
|
|
14
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
+
var _popover = require("agora-ui-foundation/lib/components/popover");
|
|
16
|
+
var _panel = require("./panel");
|
|
17
|
+
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
18
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
var Picker = exports.Picker = (0, _mobxReact.observer)(function () {
|
|
21
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
22
|
+
_useContext$observabl = _useContext.observables,
|
|
23
|
+
currentColor = _useContext$observabl.currentColor,
|
|
24
|
+
currentShape = _useContext$observabl.currentShape,
|
|
25
|
+
toolbarDockPosition = _useContext$observabl.toolbarDockPosition,
|
|
26
|
+
commonColors = _useContext$observabl.commonColors;
|
|
27
|
+
var isDisabled = !currentShape;
|
|
28
|
+
var cls = (0, _classnames["default"])('fcr-board-toolbar__color-item fcr-board-toolbar__color-item--picker', {
|
|
29
|
+
// 'fcr-board-toolbar__color-item--active': isOtherColorActive,
|
|
30
|
+
'fcr-board-toolbar__color-item--disabled': isDisabled
|
|
31
|
+
});
|
|
32
|
+
// const [currentPickVisible, setCurrentPickVisible] = useState(false);
|
|
33
|
+
|
|
34
|
+
return isDisabled ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
35
|
+
className: cls
|
|
36
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
37
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_panel.ColorPickerPanel, {}),
|
|
38
|
+
trigger: "click",
|
|
39
|
+
placement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
40
|
+
overlayClassName: "fcr-board-toolbar__picker__overlay",
|
|
41
|
+
overlayOffset: 18,
|
|
42
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
43
|
+
className: cls,
|
|
44
|
+
children: !commonColors.includes(currentColor) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
45
|
+
className: "fcr-board-toolbar__color-item-inner",
|
|
46
|
+
style: {
|
|
47
|
+
background: currentColor,
|
|
48
|
+
borderWidth: 0
|
|
49
|
+
},
|
|
50
|
+
children: currentColor && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
51
|
+
type: _type.FcrIconType.FCR_CHOOSEIT,
|
|
52
|
+
colors: {
|
|
53
|
+
iconPrimary: '#fff'
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
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.ColorPickerItem = void 0;
|
|
8
|
+
require("core-js/modules/es.array.map.js");
|
|
9
|
+
require("core-js/modules/es.array.push.js");
|
|
10
|
+
require("core-js/modules/es.array.slice.js");
|
|
11
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
12
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
13
|
+
var _mobxReact = require("mobx-react");
|
|
14
|
+
var _react = require("react");
|
|
15
|
+
var _store = require("../../store");
|
|
16
|
+
var _hooks = require("../../hooks");
|
|
17
|
+
var _picker = require("./components/picker");
|
|
18
|
+
var _color = require("./components/color");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
var ColorPickerItem = exports.ColorPickerItem = (0, _mobxReact.observer)(function () {
|
|
21
|
+
var _useVisibleTools = (0, _hooks.useVisibleTools)(),
|
|
22
|
+
showColorCount = _useVisibleTools.showColorCount,
|
|
23
|
+
isShinked = _useVisibleTools.isShinked;
|
|
24
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
25
|
+
commonColors = _useContext.observables.commonColors;
|
|
26
|
+
var list = [];
|
|
27
|
+
if (!isShinked) {
|
|
28
|
+
list = commonColors.map(function (color, idx) {
|
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_color.Color, {
|
|
30
|
+
value: color,
|
|
31
|
+
showCurrentColor: idx === 0
|
|
32
|
+
}, color);
|
|
33
|
+
}).slice(0, Math.min(showColorCount - commonColors.length + 1, commonColors.length));
|
|
34
|
+
if (showColorCount > 0) {
|
|
35
|
+
list.push(/*#__PURE__*/(0, _jsxRuntime.jsx)(_picker.Picker, {}, "picker"));
|
|
36
|
+
}
|
|
37
|
+
} else {
|
|
38
|
+
list = [/*#__PURE__*/(0, _jsxRuntime.jsx)(_picker.Picker, {}, "picker")];
|
|
39
|
+
}
|
|
40
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
41
|
+
className: "fcr-board-toolbar__color-items",
|
|
42
|
+
children: list
|
|
43
|
+
});
|
|
44
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
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.EraserPickerItem = void 0;
|
|
9
|
+
var _mobxReact = require("mobx-react");
|
|
10
|
+
var _react = require("react");
|
|
11
|
+
var _ = require("..");
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
14
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
15
|
+
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
16
|
+
var _store = require("../store");
|
|
17
|
+
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
18
|
+
var _enums = require("fcr-core/lib/room-control/whiteboard-control/enums");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
var EraserPickerItem = exports.EraserPickerItem = (0, _mobxReact.observer)(function (_ref) {
|
|
21
|
+
var offset = _ref.offset;
|
|
22
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
23
|
+
_useContext$observabl = _useContext.observables,
|
|
24
|
+
currentTool = _useContext$observabl.currentTool,
|
|
25
|
+
toolbarDockPosition = _useContext$observabl.toolbarDockPosition;
|
|
26
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
27
|
+
var isActive = currentTool === _enums.FcrBoardToolType.ERASER;
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.ExpansionToolbarItem, {
|
|
29
|
+
isActive: isActive,
|
|
30
|
+
tooltip: transI18n('fmt_screenshare_whiteboard_button_eraser'),
|
|
31
|
+
tooltipPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
32
|
+
popoverPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
33
|
+
icon: _type.FcrIconType.FCR_WHITEBOARD_ERASER,
|
|
34
|
+
popoverOverlayClassName: "fcr-board-toolbar__picker__overlay",
|
|
35
|
+
popoverContent: /*#__PURE__*/(0, _jsxRuntime.jsx)(EraserPickerPanel, {}),
|
|
36
|
+
popoverOffset: offset
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
var EraserPickerPanel = (0, _mobxReact.observer)(function () {
|
|
40
|
+
var _useContext2 = (0, _react.useContext)(_store.ToolbarContext),
|
|
41
|
+
_useContext2$observab = _useContext2.observables,
|
|
42
|
+
currentTool = _useContext2$observab.currentTool,
|
|
43
|
+
toolbarDockPosition = _useContext2$observab.toolbarDockPosition,
|
|
44
|
+
clean = _useContext2.clean,
|
|
45
|
+
setTool = _useContext2.setTool;
|
|
46
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
47
|
+
var eraserCls = (0, _classnames["default"])({
|
|
48
|
+
'fcr-board-toolbar-panel--active': currentTool === _enums.FcrBoardToolType.ERASER
|
|
49
|
+
});
|
|
50
|
+
var handleEraserClick = function handleEraserClick() {
|
|
51
|
+
setTool(_enums.FcrBoardToolType.ERASER);
|
|
52
|
+
};
|
|
53
|
+
var handleCleanClick = function handleCleanClick() {
|
|
54
|
+
clean();
|
|
55
|
+
};
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
57
|
+
className: "fcr-board-toolbar-panel fcr-board-toolbar-panel--eraser",
|
|
58
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
59
|
+
trigger: "hover",
|
|
60
|
+
content: transI18n('fmt_screenshare_whiteboard_button_eraser'),
|
|
61
|
+
placement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
62
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
63
|
+
className: eraserCls,
|
|
64
|
+
onClick: handleEraserClick,
|
|
65
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
66
|
+
type: _type.FcrIconType.FCR_WHITEBOARD_ERASER,
|
|
67
|
+
size: 28,
|
|
68
|
+
colors: {
|
|
69
|
+
iconPrimary: currentTool === _enums.FcrBoardToolType.ERASER ? 'var(--fcr_ui_scene_ramp_brand6)' : 'var(--fcr_ui_scene_black8)'
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
})
|
|
73
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
74
|
+
trigger: "hover",
|
|
75
|
+
content: transI18n('fmt_screenshare_whiteboard_button_empty'),
|
|
76
|
+
placement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
77
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
78
|
+
onClick: handleCleanClick,
|
|
79
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
80
|
+
type: _type.FcrIconType.FCR_WHITEBOARD_ELIMINATE,
|
|
81
|
+
size: 28,
|
|
82
|
+
colors: {
|
|
83
|
+
iconPrimary: 'var(--fcr_ui_scene_black8)'
|
|
84
|
+
}
|
|
85
|
+
})
|
|
86
|
+
})
|
|
87
|
+
})]
|
|
88
|
+
});
|
|
89
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AdditionToolPickerItem: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.array.iterator.js");
|
|
4
|
+
require("core-js/modules/es.object.define-property.js");
|
|
5
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
6
|
+
require("core-js/modules/es.string.iterator.js");
|
|
7
|
+
require("core-js/modules/es.weak-map.js");
|
|
8
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
9
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
10
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
11
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
12
|
+
Object.defineProperty(exports, "__esModule", {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
exports.AdditionToolPickerItem = void 0;
|
|
16
|
+
require("core-js/modules/es.error.to-string.js");
|
|
17
|
+
require("core-js/modules/es.array.map.js");
|
|
18
|
+
require("core-js/modules/es.date.to-string.js");
|
|
19
|
+
require("core-js/modules/es.object.to-string.js");
|
|
20
|
+
require("core-js/modules/es.regexp.to-string.js");
|
|
21
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
22
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
23
|
+
var _mobxReact = require("mobx-react");
|
|
24
|
+
var _ = require("..");
|
|
25
|
+
var _hooks = require("../hooks");
|
|
26
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
27
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
28
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
29
|
+
var _store = require("../store");
|
|
30
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
31
|
+
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); }
|
|
32
|
+
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; }
|
|
33
|
+
var AdditionToolPickerItem = exports.AdditionToolPickerItem = (0, _mobxReact.observer)(function () {
|
|
34
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
35
|
+
toolbarDockPosition = _useContext.observables.toolbarDockPosition;
|
|
36
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
37
|
+
var isActive = false;
|
|
38
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.ExpansionToolbarItem, {
|
|
39
|
+
isActive: isActive,
|
|
40
|
+
tooltip: transI18n('fmt_screenshare_whiteboard_button_additionaltools'),
|
|
41
|
+
icon: _type.FcrIconType.FCR_SUBTRACT,
|
|
42
|
+
tooltipPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
43
|
+
popoverPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
44
|
+
popoverOverlayClassName: "fcr-board-toolbar__picker__overlay",
|
|
45
|
+
popoverContent: /*#__PURE__*/(0, _jsxRuntime.jsx)(AdditionToolPickerPanel, {}),
|
|
46
|
+
extensionMark: false
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
var AdditionToolPickerPanel = (0, _mobxReact.observer)(function () {
|
|
50
|
+
var _useVisibleTools = (0, _hooks.useVisibleTools)(),
|
|
51
|
+
additionTools = _useVisibleTools.additionTools;
|
|
52
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
53
|
+
className: "fcr-board-toolbar-panel fcr-board-toolbar-panel--extra",
|
|
54
|
+
children: additionTools.map(function (_ref, index) {
|
|
55
|
+
var renderItem = _ref.renderItem;
|
|
56
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react["default"].Fragment, {
|
|
57
|
+
children: renderItem({
|
|
58
|
+
offset: 10
|
|
59
|
+
})
|
|
60
|
+
}, index.toString());
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
});
|
|
@@ -0,0 +1,46 @@
|
|
|
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.UndoItem = exports.RedoItem = void 0;
|
|
8
|
+
var _mobxReact = require("mobx-react");
|
|
9
|
+
var _ = require("..");
|
|
10
|
+
var _react = require("react");
|
|
11
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
12
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
13
|
+
var _store = require("../store");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
var UndoItem = exports.UndoItem = (0, _mobxReact.observer)(function () {
|
|
16
|
+
var _useContext = (0, _react.useContext)(_store.ToolbarContext),
|
|
17
|
+
_useContext$observabl = _useContext.observables,
|
|
18
|
+
undoSteps = _useContext$observabl.undoSteps,
|
|
19
|
+
toolbarDockPosition = _useContext$observabl.toolbarDockPosition,
|
|
20
|
+
undo = _useContext.undo;
|
|
21
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.ToolbarItem, {
|
|
23
|
+
tooltipPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
24
|
+
tooltip: transI18n('fmt_screenshare_whiteboard_button_withdrwa'),
|
|
25
|
+
icon: _type.FcrIconType.FCR_MOBILE_WHITEBOARD_UNDO,
|
|
26
|
+
onClick: undo,
|
|
27
|
+
isActive: false,
|
|
28
|
+
isDisabled: !undoSteps
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
var RedoItem = exports.RedoItem = (0, _mobxReact.observer)(function () {
|
|
32
|
+
var _useContext2 = (0, _react.useContext)(_store.ToolbarContext),
|
|
33
|
+
_useContext2$observab = _useContext2.observables,
|
|
34
|
+
redoSteps = _useContext2$observab.redoSteps,
|
|
35
|
+
toolbarDockPosition = _useContext2$observab.toolbarDockPosition,
|
|
36
|
+
redo = _useContext2.redo;
|
|
37
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
38
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_.ToolbarItem, {
|
|
39
|
+
tooltipPlacement: toolbarDockPosition.placement === 'left' ? 'right' : 'left',
|
|
40
|
+
tooltip: transI18n('fmt_screenshare_whiteboard_button_forward'),
|
|
41
|
+
icon: _type.FcrIconType.FCR_MOBILE_WHITEBOARD_REDO,
|
|
42
|
+
onClick: redo,
|
|
43
|
+
isActive: false,
|
|
44
|
+
isDisabled: !redoSteps
|
|
45
|
+
});
|
|
46
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
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["default"] = void 0;
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
var FoldIcon = function FoldIcon() {
|
|
10
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
11
|
+
width: "16",
|
|
12
|
+
height: "72",
|
|
13
|
+
viewBox: "0 0 16 72",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
17
|
+
clipPath: "url(#clip0_9209_166297)",
|
|
18
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
d: "M9.49744 11.6558C12.3854 14.6399 14 18.63 14 22.7827L14 49.2173C14 53.37 12.3854 57.3601 9.49744 60.3442L7 62.9248C4.68094 64.9898 2.69913 67.4048 1.12644 70.0823L-2.86197e-07 72L2.86102e-06 -6.11959e-07L1.12644 1.91773C2.69914 4.5952 4.68094 7.0102 7 9.07519L9.49744 11.6558Z",
|
|
20
|
+
fill: "#2F2F2F",
|
|
21
|
+
fillOpacity: "0.95"
|
|
22
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
23
|
+
d: "M6.56598 35.0095L8.13153 32.2698C8.6403 31.3795 10 31.7401 10 32.7656L10 39.2344C10 40.2599 8.64053 40.6209 8.13176 39.7306L6.56702 36.9923C6.21566 36.3774 6.21463 35.6244 6.56598 35.0095Z",
|
|
24
|
+
fill: "#4262FF"
|
|
25
|
+
})]
|
|
26
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
|
|
27
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
|
|
28
|
+
id: "clip0_9209_166297",
|
|
29
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
|
|
30
|
+
width: "72",
|
|
31
|
+
height: "16",
|
|
32
|
+
fill: "white",
|
|
33
|
+
transform: "translate(16) rotate(90)"
|
|
34
|
+
})
|
|
35
|
+
})
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var _default = exports["default"] = FoldIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function MoveIcon(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,66 @@
|
|
|
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["default"] = MoveIcon;
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
function MoveIcon() {
|
|
10
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
11
|
+
width: "40",
|
|
12
|
+
height: "16",
|
|
13
|
+
viewBox: "0 0 40 16",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
17
|
+
cx: "7.5",
|
|
18
|
+
cy: "4.5",
|
|
19
|
+
r: "1.5",
|
|
20
|
+
fill: "black",
|
|
21
|
+
fillOpacity: "0.1"
|
|
22
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
23
|
+
cx: "7.5",
|
|
24
|
+
cy: "10.5",
|
|
25
|
+
r: "1.5",
|
|
26
|
+
fill: "black",
|
|
27
|
+
fillOpacity: "0.1"
|
|
28
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
29
|
+
cx: "15.5",
|
|
30
|
+
cy: "4.5",
|
|
31
|
+
r: "1.5",
|
|
32
|
+
fill: "black",
|
|
33
|
+
fillOpacity: "0.1"
|
|
34
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
35
|
+
cx: "15.5",
|
|
36
|
+
cy: "10.5",
|
|
37
|
+
r: "1.5",
|
|
38
|
+
fill: "black",
|
|
39
|
+
fillOpacity: "0.1"
|
|
40
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
41
|
+
cx: "23.5",
|
|
42
|
+
cy: "4.5",
|
|
43
|
+
r: "1.5",
|
|
44
|
+
fill: "black",
|
|
45
|
+
fillOpacity: "0.1"
|
|
46
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
47
|
+
cx: "23.5",
|
|
48
|
+
cy: "10.5",
|
|
49
|
+
r: "1.5",
|
|
50
|
+
fill: "black",
|
|
51
|
+
fillOpacity: "0.1"
|
|
52
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
53
|
+
cx: "31.5",
|
|
54
|
+
cy: "4.5",
|
|
55
|
+
r: "1.5",
|
|
56
|
+
fill: "black",
|
|
57
|
+
fillOpacity: "0.1"
|
|
58
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
59
|
+
cx: "31.5",
|
|
60
|
+
cy: "10.5",
|
|
61
|
+
r: "1.5",
|
|
62
|
+
fill: "black",
|
|
63
|
+
fillOpacity: "0.1"
|
|
64
|
+
})]
|
|
65
|
+
});
|
|
66
|
+
}
|