@tencentcloud/roomkit-electron-vue3 2.6.7 → 2.7.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/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +2 -2
- package/es/components/Chat/index/index.vue.mjs +1 -1
- package/es/components/Chat/index/index.vue2.mjs +1 -0
- package/es/components/ManageMember/MemberControl/index.vue.mjs +1 -1
- package/es/components/ManageMember/MemberControl/index.vue2.mjs +4 -4
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +3 -2
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +20 -15
- package/es/components/ManageMember/MemberInvite/MemberInvite.vue.mjs +1 -1
- package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +5 -15
- package/es/components/ManageMember/MemberItem/index.vue.d.ts +0 -2
- package/es/components/ManageMember/MemberItem/index.vue.mjs +1 -1
- package/es/components/ManageMember/MemberItem/index.vue2.mjs +6 -19
- package/es/components/ManageMember/MemberItemCommon/MemberInfo.vue.mjs +1 -1
- package/es/components/ManageMember/MemberItemCommon/MemberInfo.vue2.mjs +9 -2
- package/es/components/ManageMember/index.vue.mjs +1 -1
- package/es/components/ManageMember/index.vue2.mjs +2 -3
- package/es/components/ManageMember/useIndexHooks.mjs +0 -18
- package/es/components/PreRoom/PasswordDialog.vue.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue2.mjs +14 -15
- package/es/components/RoomContent/StreamList/index.vue.mjs +1 -1
- package/es/components/RoomContent/StreamList/index.vue2.mjs +23 -9
- package/es/components/RoomContent/StreamRegion/StreamCover/index.vue.mjs +1 -1
- package/es/components/RoomContent/StreamRegion/index.vue.d.ts +1 -0
- package/es/components/RoomContent/StreamRegion/index.vue.mjs +1 -1
- package/es/components/RoomContent/StreamRegion/index.vue2.mjs +9 -5
- package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue.mjs +1 -1
- package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.mjs +3 -4
- package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue2.mjs +13 -5
- package/es/components/RoomFooter/InviteControl.vue.d.ts +5 -1
- package/es/components/RoomFooter/InviteControl.vue.mjs +1 -1
- package/es/components/RoomFooter/InviteControl.vue2.mjs +13 -11
- package/es/components/RoomFooter/ScreenShareControl/Index.vue.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +1 -3
- package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +2 -1
- package/es/components/RoomHeader/UserInfo/index.vue.d.ts +6 -12
- package/es/components/RoomHeader/UserInfo/index.vue.mjs +1 -1
- package/es/components/RoomHeader/UserInfo/index.vue2.mjs +94 -9
- package/es/components/RoomHeader/UserInfo/useUserInfoHooks.d.ts +8 -2
- package/es/components/RoomHeader/UserInfo/useUserInfoHooks.mjs +18 -1
- package/es/components/RoomHeader/index/NetworkInfo.vue.mjs +1 -1
- package/es/components/RoomHeader/index/NetworkInfo.vue2.mjs +8 -3
- package/es/components/RoomInvite/InvitationNotification.vue.mjs +1 -1
- package/es/components/RoomInvite/InvitationNotification.vue2.mjs +13 -5
- package/es/components/RoomInvite/index.vue.mjs +2 -2
- package/es/components/RoomInvite/index.vue2.mjs +5 -5
- package/es/components/RoomInvite/useRoomInviteHooks.d.ts +10 -13
- package/es/components/RoomInvite/useRoomInviteHooks.mjs +26 -42
- package/es/components/ScheduleConference/InvitePanel.vue.d.ts +2 -0
- package/es/components/ScheduleConference/InvitePanel.vue.mjs +1 -1
- package/es/components/ScheduleConference/InvitePanel.vue2.mjs +7 -2
- package/es/components/ScheduleConference/PanelContainer.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +21 -3
- package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +1 -1
- package/es/components/ScheduleConference/TimezonePicker.vue.mjs +1 -2
- package/es/components/Whiteboard/ToolBox/Arrow/index.vue.d.ts +12 -0
- package/es/components/Whiteboard/ToolBox/Arrow/index.vue.mjs +163 -0
- package/es/components/Whiteboard/ToolBox/Arrow/index.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/ClearButton.vue.d.ts +6 -0
- package/es/components/Whiteboard/ToolBox/ClearButton.vue.mjs +26 -0
- package/es/components/Whiteboard/ToolBox/ClearButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/DownloadButton.vue.d.ts +6 -0
- package/es/components/Whiteboard/ToolBox/DownloadButton.vue.mjs +26 -0
- package/es/components/Whiteboard/ToolBox/DownloadButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/EraserButton.vue.d.ts +10 -0
- package/es/components/Whiteboard/ToolBox/EraserButton.vue.mjs +39 -0
- package/es/components/Whiteboard/ToolBox/EraserButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Icon/ArrowIcon.vue.mjs +24 -0
- package/es/components/Whiteboard/ToolBox/Icon/ClearIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/DownloadIcon.vue.mjs +28 -0
- package/es/components/Whiteboard/ToolBox/Icon/EraserIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/ImageIcon.vue.mjs +30 -0
- package/es/components/Whiteboard/ToolBox/Icon/LaserIcon.vue.mjs +30 -0
- package/es/components/Whiteboard/ToolBox/Icon/PencilIcon.vue.mjs +35 -0
- package/es/components/Whiteboard/ToolBox/Icon/RedoIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/RetractIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/SelectIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/SeparatorLine.vue.d.ts +2 -0
- package/es/components/Whiteboard/ToolBox/Icon/SeparatorLine.vue.mjs +24 -0
- package/es/components/Whiteboard/ToolBox/Icon/ShapeIcon.vue.d.ts +2 -0
- package/es/components/Whiteboard/ToolBox/Icon/ShapeIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Icon/TextIcon.vue.d.ts +2 -0
- package/es/components/Whiteboard/ToolBox/Icon/TextIcon.vue.mjs +23 -0
- package/es/components/Whiteboard/ToolBox/Icon/TopLine.vue.d.ts +2 -0
- package/es/components/Whiteboard/ToolBox/Icon/TopLine.vue.mjs +21 -0
- package/es/components/Whiteboard/ToolBox/Icon/UndoIcon.vue.d.ts +2 -0
- package/es/components/Whiteboard/ToolBox/Icon/UndoIcon.vue.mjs +25 -0
- package/es/components/Whiteboard/ToolBox/Image/BlackIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/BlueIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/DarkGrayIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/DeepBlueIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/GrayIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/GreenIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/H1.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/H2.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/H3.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/H4.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/LightGrayIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/OrangeIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/PurpleIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/RedIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/ShapeCircle.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/ShapeLine.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/ShapeRectangle.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/ShapeTriangle.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/SizeBig.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/SizeLarge.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/SizeMid.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/SizeSmall.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/StyleDashed.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/StyleSolid.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/WhiteIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Image/YellowIcon.svg.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/ImageButton.vue.d.ts +6 -0
- package/es/components/Whiteboard/ToolBox/ImageButton.vue.mjs +26 -0
- package/es/components/Whiteboard/ToolBox/ImageButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/LaserButton.vue.d.ts +10 -0
- package/es/components/Whiteboard/ToolBox/LaserButton.vue.mjs +39 -0
- package/es/components/Whiteboard/ToolBox/LaserButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Pencil/index.vue.d.ts +14 -0
- package/es/components/Whiteboard/ToolBox/Pencil/index.vue.mjs +165 -0
- package/es/components/Whiteboard/ToolBox/Pencil/index.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/RedoButton.vue.d.ts +12 -0
- package/es/components/Whiteboard/ToolBox/RedoButton.vue.mjs +40 -0
- package/es/components/Whiteboard/ToolBox/RedoButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/RetractButton.vue.d.ts +6 -0
- package/es/components/Whiteboard/ToolBox/RetractButton.vue.mjs +26 -0
- package/es/components/Whiteboard/ToolBox/RetractButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/SelectButton.vue.d.ts +12 -0
- package/es/components/Whiteboard/ToolBox/SelectButton.vue.mjs +54 -0
- package/es/components/Whiteboard/ToolBox/SelectButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Shape/index.vue.d.ts +12 -0
- package/es/components/Whiteboard/ToolBox/Shape/index.vue.mjs +233 -0
- package/es/components/Whiteboard/ToolBox/Shape/index.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/Text/index.vue.d.ts +12 -0
- package/es/components/Whiteboard/ToolBox/Text/index.vue.mjs +152 -0
- package/es/components/Whiteboard/ToolBox/Text/index.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/UndoButton.vue.d.ts +10 -0
- package/es/components/Whiteboard/ToolBox/UndoButton.vue.mjs +36 -0
- package/es/components/Whiteboard/ToolBox/UndoButton.vue2.mjs +4 -0
- package/es/components/Whiteboard/ToolBox/index.vue.d.ts +16 -0
- package/es/components/Whiteboard/ToolBox/index.vue.mjs +174 -0
- package/es/components/Whiteboard/ToolBox/index.vue3.mjs +5 -0
- package/es/components/Whiteboard/core/arrow.mjs +9 -4
- package/es/components/Whiteboard/core/historyManager.d.ts +27 -0
- package/es/components/Whiteboard/core/historyManager.mjs +96 -0
- package/es/components/Whiteboard/core/index.d.ts +8 -10
- package/es/components/Whiteboard/core/index.mjs +103 -51
- package/es/components/Whiteboard/index.vue.mjs +246 -5
- package/es/components/Whiteboard/index.vue3.mjs +5 -0
- package/es/components/Whiteboard/type.d.ts +50 -0
- package/es/components/Whiteboard/type.mjs +92 -0
- package/es/components/common/base/Badge.vue.d.ts +1 -1
- package/es/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/es/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/es/components/common/base/IconButton.vue.d.ts +2 -2
- package/es/components/common/base/Input/index.vue.d.ts +8 -4
- package/es/components/common/base/Input/index.vue.mjs +1 -1
- package/es/components/common/base/Input/index.vue2.mjs +16 -3
- package/es/components/common/base/Message/Message.vue.d.ts +3 -3
- package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/es/components/common/base/Notification/index.vue.d.ts +1 -1
- package/es/components/common/base/Select/index.vue.d.ts +1 -1
- package/es/components/common/base/Slider.vue.d.ts +2 -2
- package/es/conference.d.ts +0 -2
- package/es/conference.mjs +0 -3
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +5 -2
- package/es/directives/vTap.d.ts +4 -3
- package/es/directives/vTap.mjs +14 -3
- package/es/directives/vTouchScale.d.ts +9 -0
- package/es/directives/vTouchScale.mjs +200 -0
- package/es/extension/utils/setLanguage.mjs +9 -6
- package/es/index.mjs +732 -839
- package/es/locales/en-US.d.ts +17 -3
- package/es/locales/en-US.mjs +17 -3
- package/es/locales/zh-CN.d.ts +17 -3
- package/es/locales/zh-CN.mjs +17 -3
- package/es/preConference.vue.mjs +1 -1
- package/es/services/function/errorHandler.mjs +1 -1
- package/es/services/manager/conferenceInvitationManager.mjs +1 -0
- package/es/services/manager/userManager.mjs +3 -1
- package/es/services/roomService.d.ts +2 -2
- package/es/services/roomService.mjs +2 -2
- package/es/stores/room.mjs +3 -0
- package/es/utils/common.d.ts +2 -0
- package/es/utils/common.mjs +5 -1
- package/es/utils/utils.d.ts +0 -6
- package/es/utils/utils.mjs +0 -5
- package/lib/components/Chat/ChatEditor/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/chat-header/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-at/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-quote/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/evaluate/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/file-upload/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/image-upload/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/toolbar-item-container/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/video-upload/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/words/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-convert/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-quote/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-record/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-translate/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/read-status/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/simple-message-list/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-group-application/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/scroll-button/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/mulitple-select-panel/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Avatar/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Dialog/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Drawer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/FetchMore/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Overlay/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/ProgressMessage/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/RadioSelect/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +2 -2
- package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue.js +1 -1
- package/lib/components/Chat/EditorTools/index.vue.js +1 -1
- package/lib/components/Chat/MessageList/index.vue.js +1 -1
- package/lib/components/Chat/index/index.vue.js +2 -2
- package/lib/components/Chat/index/index.vue2.js +1 -0
- package/lib/components/ManageMember/MemberControl/index.vue.js +2 -2
- package/lib/components/ManageMember/MemberControl/index.vue2.js +4 -4
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +3 -2
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.js +19 -14
- package/lib/components/ManageMember/MemberInvite/MemberInvite.vue.js +1 -1
- package/lib/components/ManageMember/MemberInvite/MemberInvite.vue2.js +4 -14
- package/lib/components/ManageMember/MemberItem/index.vue.d.ts +0 -2
- package/lib/components/ManageMember/MemberItem/index.vue.js +2 -2
- package/lib/components/ManageMember/MemberItem/index.vue2.js +5 -18
- package/lib/components/ManageMember/MemberItemCommon/MemberInfo.vue.js +1 -1
- package/lib/components/ManageMember/MemberItemCommon/MemberInfo.vue2.js +8 -1
- package/lib/components/ManageMember/index.vue.js +2 -2
- package/lib/components/ManageMember/index.vue2.js +2 -3
- package/lib/components/ManageMember/useIndexHooks.js +0 -18
- package/lib/components/PreRoom/PasswordDialog.vue.js +1 -1
- package/lib/components/PreRoom/PasswordDialog.vue2.js +13 -14
- package/lib/components/RoomContent/StreamContainer/index.vue.js +1 -1
- package/lib/components/RoomContent/StreamList/index.vue.js +2 -2
- package/lib/components/RoomContent/StreamList/index.vue2.js +23 -9
- package/lib/components/RoomContent/StreamRegion/LocalScreenView/index.vue.js +1 -1
- package/lib/components/RoomContent/StreamRegion/StreamCover/index.vue.js +2 -2
- package/lib/components/RoomContent/StreamRegion/StreamPlay/index.vue.js +1 -1
- package/lib/components/RoomContent/StreamRegion/index.vue.d.ts +1 -0
- package/lib/components/RoomContent/StreamRegion/index.vue.js +2 -2
- package/lib/components/RoomContent/StreamRegion/index.vue2.js +7 -3
- package/lib/components/RoomContent/index.vue.js +1 -1
- package/lib/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/ApplyControl/MemberApplyControl.vue.js +1 -1
- package/lib/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.js +3 -4
- package/lib/components/RoomFooter/BasicBeauty.vue.js +1 -1
- package/lib/components/RoomFooter/BasicBeauty.vue2.js +13 -5
- package/lib/components/RoomFooter/EndControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue.d.ts +5 -1
- package/lib/components/RoomFooter/InviteControl.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue2.js +13 -11
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue.js +1 -1
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +1 -3
- package/lib/components/RoomFooter/VirtualBackground.vue.js +1 -1
- package/lib/components/RoomFooter/VirtualBackground.vue2.js +2 -1
- package/lib/components/RoomFooter/index/index.vue.js +1 -1
- package/lib/components/RoomHeader/RoomInfo/index.vue.js +1 -1
- package/lib/components/RoomHeader/UserInfo/index.vue.d.ts +6 -12
- package/lib/components/RoomHeader/UserInfo/index.vue.js +2 -2
- package/lib/components/RoomHeader/UserInfo/index.vue2.js +93 -8
- package/lib/components/RoomHeader/UserInfo/useUserInfoHooks.d.ts +8 -2
- package/lib/components/RoomHeader/UserInfo/useUserInfoHooks.js +18 -1
- package/lib/components/RoomHeader/index/NetworkInfo.vue.js +1 -1
- package/lib/components/RoomHeader/index/NetworkInfo.vue2.js +8 -3
- package/lib/components/RoomHeader/index/index.vue.js +1 -1
- package/lib/components/RoomHome/RoomControl/index.vue.js +1 -1
- package/lib/components/RoomInvite/InvitationNotification.vue.js +1 -1
- package/lib/components/RoomInvite/InvitationNotification.vue2.js +13 -5
- package/lib/components/RoomInvite/index.vue.js +3 -3
- package/lib/components/RoomInvite/index.vue2.js +5 -5
- package/lib/components/RoomInvite/useRoomInviteHooks.d.ts +10 -13
- package/lib/components/RoomInvite/useRoomInviteHooks.js +25 -41
- package/lib/components/RoomMore/index.vue.js +1 -1
- package/lib/components/RoomSetting/index.vue.js +1 -1
- package/lib/components/ScheduleConference/InvitePanel.vue.d.ts +2 -0
- package/lib/components/ScheduleConference/InvitePanel.vue.js +1 -1
- package/lib/components/ScheduleConference/InvitePanel.vue2.js +7 -2
- package/lib/components/ScheduleConference/PanelContainer.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue.js +2 -2
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +20 -2
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +1 -1
- package/lib/components/ScheduleConference/TimezonePicker.vue.js +1 -2
- package/lib/components/Whiteboard/ToolBox/Arrow/index.vue.d.ts +12 -0
- package/lib/components/Whiteboard/ToolBox/Arrow/index.vue.js +163 -0
- package/lib/components/Whiteboard/ToolBox/Arrow/index.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/ClearButton.vue.d.ts +6 -0
- package/lib/components/Whiteboard/ToolBox/ClearButton.vue.js +26 -0
- package/lib/components/Whiteboard/ToolBox/ClearButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/DownloadButton.vue.d.ts +6 -0
- package/lib/components/Whiteboard/ToolBox/DownloadButton.vue.js +26 -0
- package/lib/components/Whiteboard/ToolBox/DownloadButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/EraserButton.vue.d.ts +10 -0
- package/lib/components/Whiteboard/ToolBox/EraserButton.vue.js +39 -0
- package/lib/components/Whiteboard/ToolBox/EraserButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ArrowIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ArrowIcon.vue.js +24 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ClearIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ClearIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/DownloadIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/DownloadIcon.vue.js +28 -0
- package/lib/components/Whiteboard/ToolBox/Icon/EraserIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/EraserIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ImageIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ImageIcon.vue.js +30 -0
- package/lib/components/Whiteboard/ToolBox/Icon/LaserIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/LaserIcon.vue.js +30 -0
- package/lib/components/Whiteboard/ToolBox/Icon/PencilIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/PencilIcon.vue.js +35 -0
- package/lib/components/Whiteboard/ToolBox/Icon/RedoIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/RedoIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/RetractIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/RetractIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/SelectIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/SelectIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/SeparatorLine.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/SeparatorLine.vue.js +24 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ShapeIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/ShapeIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Icon/TextIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/TextIcon.vue.js +23 -0
- package/lib/components/Whiteboard/ToolBox/Icon/TopLine.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/TopLine.vue.js +21 -0
- package/lib/components/Whiteboard/ToolBox/Icon/UndoIcon.vue.d.ts +2 -0
- package/lib/components/Whiteboard/ToolBox/Icon/UndoIcon.vue.js +25 -0
- package/lib/components/Whiteboard/ToolBox/Image/BlackIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/BlueIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/DarkGrayIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/DeepBlueIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/GrayIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/GreenIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/H1.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/H2.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/H3.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/H4.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/LightGrayIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/OrangeIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/PurpleIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/RedIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/ShapeCircle.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/ShapeLine.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/ShapeRectangle.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/ShapeTriangle.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/SizeBig.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/SizeLarge.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/SizeMid.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/SizeSmall.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/StyleDashed.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/StyleSolid.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/WhiteIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Image/YellowIcon.svg.js +4 -0
- package/lib/components/Whiteboard/ToolBox/ImageButton.vue.d.ts +6 -0
- package/lib/components/Whiteboard/ToolBox/ImageButton.vue.js +26 -0
- package/lib/components/Whiteboard/ToolBox/ImageButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/LaserButton.vue.d.ts +10 -0
- package/lib/components/Whiteboard/ToolBox/LaserButton.vue.js +39 -0
- package/lib/components/Whiteboard/ToolBox/LaserButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Pencil/index.vue.d.ts +14 -0
- package/lib/components/Whiteboard/ToolBox/Pencil/index.vue.js +165 -0
- package/lib/components/Whiteboard/ToolBox/Pencil/index.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/RedoButton.vue.d.ts +12 -0
- package/lib/components/Whiteboard/ToolBox/RedoButton.vue.js +40 -0
- package/lib/components/Whiteboard/ToolBox/RedoButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/RetractButton.vue.d.ts +6 -0
- package/lib/components/Whiteboard/ToolBox/RetractButton.vue.js +26 -0
- package/lib/components/Whiteboard/ToolBox/RetractButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/SelectButton.vue.d.ts +12 -0
- package/lib/components/Whiteboard/ToolBox/SelectButton.vue.js +54 -0
- package/lib/components/Whiteboard/ToolBox/SelectButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Shape/index.vue.d.ts +12 -0
- package/lib/components/Whiteboard/ToolBox/Shape/index.vue.js +233 -0
- package/lib/components/Whiteboard/ToolBox/Shape/index.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/Text/index.vue.d.ts +12 -0
- package/lib/components/Whiteboard/ToolBox/Text/index.vue.js +152 -0
- package/lib/components/Whiteboard/ToolBox/Text/index.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/UndoButton.vue.d.ts +10 -0
- package/lib/components/Whiteboard/ToolBox/UndoButton.vue.js +36 -0
- package/lib/components/Whiteboard/ToolBox/UndoButton.vue2.js +4 -0
- package/lib/components/Whiteboard/ToolBox/index.vue.d.ts +16 -0
- package/lib/components/Whiteboard/ToolBox/index.vue.js +174 -0
- package/lib/components/Whiteboard/ToolBox/index.vue3.js +5 -0
- package/lib/components/Whiteboard/core/arrow.js +9 -4
- package/lib/components/Whiteboard/core/historyManager.d.ts +27 -0
- package/lib/components/Whiteboard/core/historyManager.js +96 -0
- package/lib/components/Whiteboard/core/index.d.ts +8 -10
- package/lib/components/Whiteboard/core/index.js +103 -51
- package/lib/components/Whiteboard/index.vue.js +246 -5
- package/lib/components/Whiteboard/index.vue3.js +5 -0
- package/lib/components/Whiteboard/type.d.ts +50 -0
- package/lib/components/Whiteboard/type.js +92 -0
- package/lib/components/common/base/Badge.vue.d.ts +1 -1
- package/lib/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/lib/components/common/base/Checkbox/index.vue.js +1 -1
- package/lib/components/common/base/Datepicker/index.vue.js +1 -1
- package/lib/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/lib/components/common/base/Dialog/index.vue.js +1 -1
- package/lib/components/common/base/IconButton.vue.d.ts +2 -2
- package/lib/components/common/base/Input/index.vue.d.ts +8 -4
- package/lib/components/common/base/Input/index.vue.js +2 -2
- package/lib/components/common/base/Input/index.vue2.js +16 -3
- package/lib/components/common/base/Message/Message.vue.d.ts +3 -3
- package/lib/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/lib/components/common/base/MessageBox/index.vue.js +1 -1
- package/lib/components/common/base/Notification/index.vue.d.ts +1 -1
- package/lib/components/common/base/Notification/index.vue.js +1 -1
- package/lib/components/common/base/Option/index.vue.js +1 -1
- package/lib/components/common/base/Select/index.vue.d.ts +1 -1
- package/lib/components/common/base/Select/index.vue.js +1 -1
- package/lib/components/common/base/Slider.vue.d.ts +2 -2
- package/lib/conference.d.ts +0 -2
- package/lib/conference.js +0 -3
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +7 -4
- package/lib/directives/vTap.d.ts +4 -3
- package/lib/directives/vTap.js +14 -3
- package/lib/directives/vTouchScale.d.ts +9 -0
- package/lib/directives/vTouchScale.js +200 -0
- package/lib/extension/utils/setLanguage.js +9 -6
- package/lib/index.js +748 -855
- package/lib/locales/en-US.d.ts +17 -3
- package/lib/locales/en-US.js +17 -3
- package/lib/locales/zh-CN.d.ts +17 -3
- package/lib/locales/zh-CN.js +17 -3
- package/lib/preConference.vue.js +1 -1
- package/lib/services/function/errorHandler.js +1 -1
- package/lib/services/manager/conferenceInvitationManager.js +1 -0
- package/lib/services/manager/userManager.js +3 -1
- package/lib/services/roomService.d.ts +2 -2
- package/lib/services/roomService.js +2 -2
- package/lib/stores/room.js +3 -0
- package/lib/utils/common.d.ts +2 -0
- package/lib/utils/common.js +5 -1
- package/lib/utils/utils.d.ts +0 -6
- package/lib/utils/utils.js +0 -5
- package/package.json +3 -3
- package/src/TUIRoom/components/Chat/index/index.vue +1 -0
- package/src/TUIRoom/components/ManageMember/MemberControl/index.vue +5 -3
- package/src/TUIRoom/components/ManageMember/MemberControl/useMemberControlHooks.ts +19 -12
- package/src/TUIRoom/components/ManageMember/MemberInvite/MemberInvite.vue +1 -30
- package/src/TUIRoom/components/ManageMember/MemberItem/index.vue +2 -12
- package/src/TUIRoom/components/ManageMember/MemberItemCommon/MemberInfo.vue +14 -2
- package/src/TUIRoom/components/ManageMember/index.vue +0 -1
- package/src/TUIRoom/components/ManageMember/useIndexHooks.ts +0 -21
- package/src/TUIRoom/components/PreRoom/PasswordDialog.vue +15 -18
- package/src/TUIRoom/components/RoomContent/StreamList/index.vue +34 -8
- package/src/TUIRoom/components/RoomContent/StreamRegion/StreamCover/index.vue +5 -1
- package/src/TUIRoom/components/RoomContent/StreamRegion/index.vue +3 -0
- package/src/TUIRoom/components/RoomFooter/ApplyControl/MemberApplyControl.vue +3 -4
- package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +33 -15
- package/src/TUIRoom/components/RoomFooter/InviteControl.vue +11 -14
- package/src/TUIRoom/components/RoomFooter/ScreenShareControl/Index.vue +1 -3
- package/src/TUIRoom/components/RoomFooter/VirtualBackground.vue +2 -1
- package/src/TUIRoom/components/RoomHeader/UserInfo/index.vue +77 -32
- package/src/TUIRoom/components/RoomHeader/UserInfo/useUserInfoHooks.ts +20 -9
- package/src/TUIRoom/components/RoomHeader/index/NetworkInfo.vue +7 -1
- package/src/TUIRoom/components/RoomInvite/InvitationNotification.vue +15 -4
- package/src/TUIRoom/components/RoomInvite/index.vue +4 -4
- package/src/TUIRoom/components/RoomInvite/useRoomInviteHooks.ts +25 -42
- package/src/TUIRoom/components/ScheduleConference/InvitePanel.vue +8 -2
- package/src/TUIRoom/components/ScheduleConference/PanelContainer.vue +1 -1
- package/src/TUIRoom/components/ScheduleConference/ScheduleConferencePanel/index.vue +23 -12
- package/src/TUIRoom/components/ScheduleConference/ScheduleRoomControl.vue +3 -0
- package/src/TUIRoom/components/ScheduleConference/TimezonePicker.vue +1 -2
- package/src/TUIRoom/components/Whiteboard/ToolBox/Arrow/index.vue +155 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/ClearButton.vue +18 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/DownloadButton.vue +17 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/EraserButton.vue +26 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/ArrowIcon.vue +14 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/ClearIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/DownloadIcon.vue +17 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/EraserIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/ImageIcon.vue +19 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/LaserIcon.vue +19 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/PencilIcon.vue +23 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/RedoIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/RetractIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/SaveIcon.vue +17 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/SelectIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/SeparatorLine.vue +10 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/ShapeIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/TextIcon.vue +13 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/TopLine.vue +76 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Icon/UndoIcon.vue +15 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/BlackIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/BlueIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/DarkGrayIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/DeepBlueIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/GrayIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/GreenIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/H1.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/H2.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/H3.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/H4.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/LightGrayIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/OrangeIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/PurpleIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/RedIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/ShapeCircle.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/ShapeLine.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/ShapeRectangle.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/ShapeTriangle.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/SizeBig.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/SizeLarge.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/SizeMid.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/SizeSmall.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/StyleDashed.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/StyleSolid.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/WhiteIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Image/YellowIcon.svg +3 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/ImageButton.vue +17 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/LaserButton.vue +27 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Pencil/index.vue +157 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/RedoButton.vue +25 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/RetractButton.vue +17 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/SelectButton.vue +42 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Shape/index.vue +218 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/Text/index.vue +147 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/UndoButton.vue +22 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/index.vue +289 -0
- package/src/TUIRoom/components/Whiteboard/ToolBox/whiteboard-tool.scss +52 -0
- package/src/TUIRoom/components/Whiteboard/core/arrow.ts +9 -4
- package/src/TUIRoom/components/Whiteboard/core/historyManager.ts +115 -0
- package/src/TUIRoom/components/Whiteboard/core/index.ts +112 -74
- package/src/TUIRoom/components/Whiteboard/index.vue +184 -59
- package/src/TUIRoom/components/Whiteboard/resources/editor/eraser-cursor.svg +18 -0
- package/src/TUIRoom/components/Whiteboard/resources/editor/laser-cursor.svg +28 -0
- package/src/TUIRoom/components/Whiteboard/type.ts +53 -0
- package/src/TUIRoom/components/common/base/ActionSheep.vue +17 -5
- package/src/TUIRoom/components/common/base/Input/index.vue +25 -2
- package/src/TUIRoom/components/common/base/Swiper.vue +15 -0
- package/src/TUIRoom/components/common/icons/EarpieceIcon.vue +22 -0
- package/src/TUIRoom/components/common/icons/SpeakerPhoneIcon.vue +30 -0
- package/src/TUIRoom/conference.ts +0 -6
- package/src/TUIRoom/conference.vue +4 -0
- package/src/TUIRoom/directives/vTap.ts +16 -5
- package/src/TUIRoom/directives/vTouchScale.ts +230 -0
- package/src/TUIRoom/extension/utils/setLanguage.ts +3 -7
- package/src/TUIRoom/locales/en-US.ts +19 -4
- package/src/TUIRoom/locales/zh-CN.ts +19 -4
- package/src/TUIRoom/preConference.vue +2 -2
- package/src/TUIRoom/services/function/aiTask.ts +0 -1
- package/src/TUIRoom/services/function/errorHandler.ts +1 -1
- package/src/TUIRoom/services/manager/conferenceInvitationManager.ts +1 -0
- package/src/TUIRoom/services/manager/userManager.ts +3 -1
- package/src/TUIRoom/services/roomService.ts +2 -3
- package/src/TUIRoom/stores/room.ts +3 -0
- package/src/TUIRoom/utils/common.ts +6 -1
- package/src/TUIRoom/utils/utils.ts +0 -10
- package/es/components/Whiteboard/controller/CloseController/image/close.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/CloseController/index.vue.mjs +0 -7
- package/es/components/Whiteboard/controller/CloseController/index.vue2.mjs +0 -36
- package/es/components/Whiteboard/controller/ImageController/image/folder.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ImageController/index.vue.mjs +0 -7
- package/es/components/Whiteboard/controller/ImageController/index.vue2.mjs +0 -70
- package/es/components/Whiteboard/controller/RedoUndo/image/redo-disabled.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/RedoUndo/image/redo.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/RedoUndo/image/undo-disabled.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/RedoUndo/image/undo.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/RedoUndo/index.vue.mjs +0 -7
- package/es/components/Whiteboard/controller/RedoUndo/index.vue2.mjs +0 -100
- package/es/components/Whiteboard/controller/SaveController/image/download.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/SaveController/index.vue.mjs +0 -7
- package/es/components/Whiteboard/controller/SaveController/index.vue2.mjs +0 -58
- package/es/components/Whiteboard/controller/ToolBox/image/arrow-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/arrow.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/clear.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/ellipse-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/ellipse.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/eraser-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/eraser.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/pencil-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/pencil.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/rectangle-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/rectangle.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/selector-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/selector.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/straight-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/straight.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/text-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/text.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/triangle-active.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/image/triangle.svg.mjs +0 -4
- package/es/components/Whiteboard/controller/ToolBox/index.vue.mjs +0 -7
- package/es/components/Whiteboard/controller/ToolBox/index.vue2.mjs +0 -136
- package/es/components/Whiteboard/index.vue2.mjs +0 -118
- package/lib/components/Whiteboard/controller/CloseController/image/close.svg.js +0 -4
- package/lib/components/Whiteboard/controller/CloseController/index.vue.js +0 -7
- package/lib/components/Whiteboard/controller/CloseController/index.vue2.js +0 -36
- package/lib/components/Whiteboard/controller/ImageController/image/folder.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ImageController/index.vue.js +0 -7
- package/lib/components/Whiteboard/controller/ImageController/index.vue2.js +0 -70
- package/lib/components/Whiteboard/controller/RedoUndo/image/redo-disabled.svg.js +0 -4
- package/lib/components/Whiteboard/controller/RedoUndo/image/redo.svg.js +0 -4
- package/lib/components/Whiteboard/controller/RedoUndo/image/undo-disabled.svg.js +0 -4
- package/lib/components/Whiteboard/controller/RedoUndo/image/undo.svg.js +0 -4
- package/lib/components/Whiteboard/controller/RedoUndo/index.vue.js +0 -7
- package/lib/components/Whiteboard/controller/RedoUndo/index.vue2.js +0 -100
- package/lib/components/Whiteboard/controller/SaveController/image/download.svg.js +0 -4
- package/lib/components/Whiteboard/controller/SaveController/index.vue.js +0 -7
- package/lib/components/Whiteboard/controller/SaveController/index.vue2.js +0 -58
- package/lib/components/Whiteboard/controller/ToolBox/image/arrow-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/arrow.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/clear.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/ellipse-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/ellipse.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/eraser-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/eraser.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/pencil-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/pencil.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/rectangle-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/rectangle.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/selector-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/selector.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/straight-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/straight.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/text-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/text.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/triangle-active.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/image/triangle.svg.js +0 -4
- package/lib/components/Whiteboard/controller/ToolBox/index.vue.js +0 -7
- package/lib/components/Whiteboard/controller/ToolBox/index.vue2.js +0 -136
- package/lib/components/Whiteboard/index.vue2.js +0 -118
- /package/es/components/Whiteboard/{controller/CloseController/index.vue.d.ts → ToolBox/Icon/ArrowIcon.vue.d.ts} +0 -0
- /package/es/components/Whiteboard/{controller/ImageController/index.vue.d.ts → ToolBox/Icon/ClearIcon.vue.d.ts} +0 -0
- /package/es/components/Whiteboard/{controller/RedoUndo/index.vue.d.ts → ToolBox/Icon/DownloadIcon.vue.d.ts} +0 -0
- /package/es/components/Whiteboard/{controller/SaveController/index.vue.d.ts → ToolBox/Icon/EraserIcon.vue.d.ts} +0 -0
- /package/es/components/Whiteboard/{controller/ToolBox/index.vue.d.ts → ToolBox/Icon/ImageIcon.vue.d.ts} +0 -0
- /package/{lib/components/Whiteboard/controller/CloseController/index.vue.d.ts → es/components/Whiteboard/ToolBox/Icon/LaserIcon.vue.d.ts} +0 -0
- /package/{lib/components/Whiteboard/controller/ImageController/index.vue.d.ts → es/components/Whiteboard/ToolBox/Icon/PencilIcon.vue.d.ts} +0 -0
- /package/{lib/components/Whiteboard/controller/RedoUndo/index.vue.d.ts → es/components/Whiteboard/ToolBox/Icon/RedoIcon.vue.d.ts} +0 -0
- /package/{lib/components/Whiteboard/controller/SaveController/index.vue.d.ts → es/components/Whiteboard/ToolBox/Icon/RetractIcon.vue.d.ts} +0 -0
- /package/{lib/components/Whiteboard/controller/ToolBox/index.vue.d.ts → es/components/Whiteboard/ToolBox/Icon/SelectIcon.vue.d.ts} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="1.25" y="1.25" width="11.5" height="11.5" rx="5.75" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1.34623 12.8789L12.3476 1.35693" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5" stroke-linecap="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="1.25" y="1.25" width="11.5" height="11.5" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.67082 3.66459L7 2.32295L6.32918 3.66459L1.82918 12.6646L1.28647 13.75H2.5H11.5H12.7135L12.1708 12.6646L7.67082 3.66459Z" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="18" height="2" viewBox="0 0 18 2" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1 1.00006L17 1.00006" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="3 3"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="18" height="2" viewBox="0 0 18 2" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1 1.00006L17 1.00006" stroke="#1D2029" style="stroke:#1D2029;stroke:color(display-p3 0.1137 0.1255 0.1608);stroke-opacity:1;" stroke-width="1.5" stroke-linecap="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="7" cy="7" r="6.25" fill="white" stroke="#EAEEF3" style="fill:white;fill-opacity:1;stroke:#EAEEF3;stroke:color(display-p3 0.9184 0.9321 0.9542);stroke-opacity:1;" stroke-width="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="7" cy="7" r="6.25" fill="#FFD260" stroke="#F5C342" style="fill:#FFD260;fill:color(display-p3 1.0000 0.8250 0.3750);fill-opacity:1;stroke:#F5C342;stroke:color(display-p3 0.9625 0.7639 0.2607);stroke-opacity:1;" stroke-width="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton class="tool-button" @click-icon="onClick" :icon="ImageIcon" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import { defineEmits } from 'vue';
|
|
7
|
+
import { DrawingTool } from '../type';
|
|
8
|
+
import IconButton from '../../common/base/IconButton.vue';
|
|
9
|
+
import ImageIcon from './Icon/ImageIcon.vue';
|
|
10
|
+
const emit = defineEmits(['click']);
|
|
11
|
+
|
|
12
|
+
const onClick = () => {
|
|
13
|
+
emit('click', {
|
|
14
|
+
drawingTool: DrawingTool.Image,
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton class="tool-button" @click-icon="onClick">
|
|
3
|
+
<LaserIcon
|
|
4
|
+
:class="{ 'whiteboard-icon-active': activeTool === DrawingTool.Laser }"
|
|
5
|
+
/>
|
|
6
|
+
</IconButton>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script setup lang="ts">
|
|
10
|
+
import { defineEmits, defineProps } from 'vue';
|
|
11
|
+
import { DrawingTool } from '../type';
|
|
12
|
+
import IconButton from '../../common/base/IconButton.vue';
|
|
13
|
+
import LaserIcon from './Icon/LaserIcon.vue';
|
|
14
|
+
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
activeTool: String,
|
|
17
|
+
});
|
|
18
|
+
const emit = defineEmits(['click']);
|
|
19
|
+
const onClick = () => {
|
|
20
|
+
if (props.activeTool === DrawingTool.Laser) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
emit('click', {
|
|
24
|
+
drawingTool: DrawingTool.Laser,
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton
|
|
3
|
+
class="tool-button"
|
|
4
|
+
@click-icon="onClick"
|
|
5
|
+
v-click-outside="handleHideButtonSetting"
|
|
6
|
+
>
|
|
7
|
+
<PencilIcon
|
|
8
|
+
:class="{ 'whiteboard-icon-active': activeTool === DrawingTool.Pencil }"
|
|
9
|
+
/>
|
|
10
|
+
<div
|
|
11
|
+
v-if="showSettings && activeTool === DrawingTool.Pencil"
|
|
12
|
+
class="pen-tool-setting whiteboard-tool-setting"
|
|
13
|
+
>
|
|
14
|
+
<div class="size-setting-title setting-title">{{ t('Line Size') }}</div>
|
|
15
|
+
<div class="size-setting-section setting-section">
|
|
16
|
+
<button
|
|
17
|
+
v-for="lineSize in lineSizes"
|
|
18
|
+
:key="lineSize.size"
|
|
19
|
+
class="size-button setting-option-button"
|
|
20
|
+
@click.stop="handleSizeClick(lineSize.size)"
|
|
21
|
+
:class="{
|
|
22
|
+
'button-active':
|
|
23
|
+
lineSize.size === toolSetting.shapeOptions!.strokeWidth,
|
|
24
|
+
}"
|
|
25
|
+
>
|
|
26
|
+
<img :src="lineSize.icon" />
|
|
27
|
+
</button>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="color-setting-title setting-title">{{ t('Line Color') }}</div>
|
|
30
|
+
<div class="color-setting-section setting-section">
|
|
31
|
+
<button
|
|
32
|
+
v-for="lineColor in lineColors"
|
|
33
|
+
:key="lineColor.color"
|
|
34
|
+
class="color-button setting-option-button"
|
|
35
|
+
@click.stop="handleColorClick(lineColor.color)"
|
|
36
|
+
:class="{
|
|
37
|
+
'button-active':
|
|
38
|
+
lineColor.color === toolSetting.shapeOptions!.stroke,
|
|
39
|
+
}"
|
|
40
|
+
>
|
|
41
|
+
<img :src="lineColor.icon" />
|
|
42
|
+
</button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</IconButton>
|
|
46
|
+
</template>
|
|
47
|
+
|
|
48
|
+
<script setup lang="ts">
|
|
49
|
+
import { defineProps, defineEmits, ref, watch, reactive } from 'vue';
|
|
50
|
+
import { useI18n } from '../../../../locales';
|
|
51
|
+
import { ToolSettings, DrawingTool } from './../../type';
|
|
52
|
+
import IconButton from '../../../common/base/IconButton.vue';
|
|
53
|
+
import vClickOutside from '../../../../directives/vClickOutside';
|
|
54
|
+
import '../whiteboard-tool.scss';
|
|
55
|
+
|
|
56
|
+
import PencilIcon from '../Icon/PencilIcon.vue';
|
|
57
|
+
import SizeSmall from '../Image/SizeSmall.svg';
|
|
58
|
+
import SizeMid from '../Image/SizeMid.svg';
|
|
59
|
+
import SizeBig from '../Image/SizeBig.svg';
|
|
60
|
+
import SizeLarge from '../Image/SizeLarge.svg';
|
|
61
|
+
import BlueIcon from '../Image/BlueIcon.svg';
|
|
62
|
+
import PurpleIcon from '../Image/PurpleIcon.svg';
|
|
63
|
+
import YellowIcon from '../Image/YellowIcon.svg';
|
|
64
|
+
import OrangeIcon from '../Image/OrangeIcon.svg';
|
|
65
|
+
import RedIcon from '../Image/RedIcon.svg';
|
|
66
|
+
import GreenIcon from '../Image/GreenIcon.svg';
|
|
67
|
+
import DeepBlueIcon from '../Image/DeepBlueIcon.svg';
|
|
68
|
+
import BlackIcon from '../Image/BlackIcon.svg';
|
|
69
|
+
import DarkGrayIcon from '../Image/DarkGrayIcon.svg';
|
|
70
|
+
import GrayIcon from '../Image/GrayIcon.svg';
|
|
71
|
+
import LightGrayIcon from '../Image/LightGrayIcon.svg';
|
|
72
|
+
import WhiteIcon from '../Image/WhiteIcon.svg';
|
|
73
|
+
|
|
74
|
+
const { t } = useI18n();
|
|
75
|
+
|
|
76
|
+
const lineSizes = [
|
|
77
|
+
{ icon: SizeSmall, size: 1 },
|
|
78
|
+
{ icon: SizeMid, size: 2 },
|
|
79
|
+
{ icon: SizeBig, size: 5 },
|
|
80
|
+
{ icon: SizeLarge, size: 10 },
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
const lineColors = [
|
|
84
|
+
{ color: '#4791FF', icon: BlueIcon },
|
|
85
|
+
{ color: '#5940D7', icon: PurpleIcon },
|
|
86
|
+
{ color: '#F5C342', icon: YellowIcon },
|
|
87
|
+
{ color: '#E05734', icon: OrangeIcon },
|
|
88
|
+
{ color: '#DC3859', icon: RedIcon },
|
|
89
|
+
{ color: '#1AD32C', icon: GreenIcon },
|
|
90
|
+
{ color: '#104683', icon: DeepBlueIcon },
|
|
91
|
+
{ color: '#22262E', icon: BlackIcon },
|
|
92
|
+
{ color: '#86909A', icon: DarkGrayIcon },
|
|
93
|
+
{ color: '#B5BBC3', icon: GrayIcon },
|
|
94
|
+
{ color: '#DBDDE2', icon: LightGrayIcon },
|
|
95
|
+
{ color: '#EAEEF3', icon: WhiteIcon },
|
|
96
|
+
];
|
|
97
|
+
|
|
98
|
+
function handleHideButtonSetting() {
|
|
99
|
+
if (props.activeTool === DrawingTool.Pencil) {
|
|
100
|
+
showSettings.value = false;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const showSettings = ref(false);
|
|
105
|
+
const props = defineProps({
|
|
106
|
+
activeTool: String,
|
|
107
|
+
changeTool: String,
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
const toolSetting = reactive<ToolSettings>({
|
|
111
|
+
drawingTool: DrawingTool.Pencil,
|
|
112
|
+
shapeOptions: {
|
|
113
|
+
strokeWidth: 5,
|
|
114
|
+
stroke: '#22262E',
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
const emit = defineEmits<{
|
|
119
|
+
(e: 'click', toolSetting: ToolSettings): void;
|
|
120
|
+
}>();
|
|
121
|
+
|
|
122
|
+
watch(
|
|
123
|
+
() => props.activeTool,
|
|
124
|
+
() => {
|
|
125
|
+
showSettings.value = false;
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
watch(
|
|
130
|
+
() => props.changeTool,
|
|
131
|
+
() => {
|
|
132
|
+
if (props.changeTool === DrawingTool.Pencil) {
|
|
133
|
+
emit('click', toolSetting);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
const onClick = () => {
|
|
139
|
+
showSettings.value = !showSettings.value;
|
|
140
|
+
emit('click', toolSetting);
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const handleSizeClick = (size: number) => {
|
|
144
|
+
if (size === toolSetting.shapeOptions?.strokeWidth) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
toolSetting.shapeOptions!.strokeWidth = size;
|
|
148
|
+
emit('click', toolSetting);
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const handleColorClick = (color: string) => {
|
|
152
|
+
if (toolSetting.shapeOptions!.stroke !== color) {
|
|
153
|
+
toolSetting.shapeOptions!.stroke = color;
|
|
154
|
+
emit('click', toolSetting);
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton class="tool-button" @click-icon="onClick">
|
|
3
|
+
<RedoIcon :class="{ 'tool-disabled': isRedoDisabled }" />
|
|
4
|
+
</IconButton>
|
|
5
|
+
</template>
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { defineEmits, computed, defineProps } from 'vue';
|
|
8
|
+
import { DrawingTool } from '../type';
|
|
9
|
+
import IconButton from '../../common/base/IconButton.vue';
|
|
10
|
+
import RedoIcon from './Icon/RedoIcon.vue';
|
|
11
|
+
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
step: Number,
|
|
14
|
+
historyListLength: Number,
|
|
15
|
+
});
|
|
16
|
+
const isRedoDisabled = computed(() => {
|
|
17
|
+
return (props.step as number) >= (props.historyListLength as number);
|
|
18
|
+
});
|
|
19
|
+
const emit = defineEmits(['click']);
|
|
20
|
+
const onClick = () => {
|
|
21
|
+
emit('click', {
|
|
22
|
+
drawingTool: DrawingTool.Redo,
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton class="tool-button" @click-icon="onClick" :icon="RetractIcon" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import { defineEmits } from 'vue';
|
|
7
|
+
import { DrawingTool } from '../type';
|
|
8
|
+
import IconButton from '../../common/base/IconButton.vue';
|
|
9
|
+
import RetractIcon from './Icon/RetractIcon.vue';
|
|
10
|
+
|
|
11
|
+
const emit = defineEmits(['click']);
|
|
12
|
+
const onClick = () => {
|
|
13
|
+
emit('click', {
|
|
14
|
+
drawingTool: DrawingTool.Retract,
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
</script>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton class="tool-button" @click-icon="onClick">
|
|
3
|
+
<SelectIcon
|
|
4
|
+
:class="{ 'whiteboard-icon-active': activeTool === DrawingTool.Select }"
|
|
5
|
+
/>
|
|
6
|
+
</IconButton>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script setup lang="ts">
|
|
10
|
+
import { defineEmits, defineProps, watch } from 'vue';
|
|
11
|
+
import { DrawingTool } from '../type';
|
|
12
|
+
import IconButton from '../../common/base/IconButton.vue';
|
|
13
|
+
import SelectIcon from './Icon/SelectIcon.vue';
|
|
14
|
+
import logger from '../../../utils/common/logger';
|
|
15
|
+
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
activeTool: String,
|
|
18
|
+
changeTool: String,
|
|
19
|
+
});
|
|
20
|
+
const emit = defineEmits(['click']);
|
|
21
|
+
watch(
|
|
22
|
+
() => props.changeTool,
|
|
23
|
+
() => {
|
|
24
|
+
if (props.changeTool === DrawingTool.Select) {
|
|
25
|
+
logger.error(
|
|
26
|
+
'changeToochangeToolchangeToolchangeToolchangeToolchangeToolchangeToolchangeToolchangeTooll'
|
|
27
|
+
);
|
|
28
|
+
emit('click', {
|
|
29
|
+
drawingTool: DrawingTool.Select,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
const onClick = () => {
|
|
35
|
+
if (props.activeTool === DrawingTool.Select) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
emit('click', {
|
|
39
|
+
drawingTool: DrawingTool.Select,
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
</script>
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<IconButton
|
|
3
|
+
class="tool-button"
|
|
4
|
+
@click-icon="onClick"
|
|
5
|
+
v-click-outside="handleHideButtonSetting"
|
|
6
|
+
>
|
|
7
|
+
<ShapeIcon :class="{ 'whiteboard-icon-active': activeTool === 'Shape' }" />
|
|
8
|
+
<div
|
|
9
|
+
v-if="showSettings && activeTool === 'Shape'"
|
|
10
|
+
class="shape-tool-setting whiteboard-tool-setting"
|
|
11
|
+
>
|
|
12
|
+
<div class="type-setting-title setting-title">{{ t('Shape Type') }}</div>
|
|
13
|
+
<div class="type-setting-section setting-section">
|
|
14
|
+
<button
|
|
15
|
+
v-for="shapeType in shapeTypes"
|
|
16
|
+
:key="shapeType.shape"
|
|
17
|
+
class="type-button setting-option-button"
|
|
18
|
+
@click.stop="handleTypeClick(shapeType.shape)"
|
|
19
|
+
:class="{
|
|
20
|
+
'button-active': shapeType.shape === toolSetting.drawingTool,
|
|
21
|
+
}"
|
|
22
|
+
>
|
|
23
|
+
<img :src="shapeType.icon" />
|
|
24
|
+
</button>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="style-setting-title setting-title">
|
|
27
|
+
{{ t('Shape Style') }}
|
|
28
|
+
</div>
|
|
29
|
+
<div class="style-setting-section setting-section">
|
|
30
|
+
<button
|
|
31
|
+
v-for="shapeStyle in shapeStyles"
|
|
32
|
+
:key="shapeStyle.style"
|
|
33
|
+
class="style-button setting-option-button"
|
|
34
|
+
@click.stop="handleStyleClick(shapeStyle.style)"
|
|
35
|
+
:class="{
|
|
36
|
+
'button-active':
|
|
37
|
+
toolSetting.shapeOptions!.lineDash![1] === 5
|
|
38
|
+
? shapeStyle.style === 'dashed'
|
|
39
|
+
: shapeStyle.style === 'solid',
|
|
40
|
+
}"
|
|
41
|
+
>
|
|
42
|
+
<img :src="shapeStyle.icon" />
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="size-setting-title setting-title">{{ t('Shape Size') }}</div>
|
|
46
|
+
<div class="size-setting-section setting-section">
|
|
47
|
+
<button
|
|
48
|
+
v-for="shapeSize in shapeSizes"
|
|
49
|
+
:key="shapeSize.size"
|
|
50
|
+
class="size-button setting-option-button"
|
|
51
|
+
@click.stop="handleSizeClick(shapeSize.size)"
|
|
52
|
+
:class="{
|
|
53
|
+
'button-active':
|
|
54
|
+
shapeSize.size === toolSetting.shapeOptions?.strokeWidth,
|
|
55
|
+
}"
|
|
56
|
+
>
|
|
57
|
+
<img :src="shapeSize.icon" />
|
|
58
|
+
</button>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="color-setting-title setting-title">
|
|
61
|
+
{{ t('Shape Color') }}
|
|
62
|
+
</div>
|
|
63
|
+
<div class="color-setting-section setting-section">
|
|
64
|
+
<button
|
|
65
|
+
v-for="shapeColor in shapeColors"
|
|
66
|
+
:key="shapeColor.color"
|
|
67
|
+
class="color-button setting-option-button"
|
|
68
|
+
@click.stop="handleColorClick(shapeColor.color)"
|
|
69
|
+
:class="{
|
|
70
|
+
'button-active':
|
|
71
|
+
shapeColor.color === toolSetting.shapeOptions?.stroke,
|
|
72
|
+
}"
|
|
73
|
+
>
|
|
74
|
+
<img :src="shapeColor.icon" alt="Color Icon" />
|
|
75
|
+
</button>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</IconButton>
|
|
79
|
+
</template>
|
|
80
|
+
|
|
81
|
+
<script setup lang="ts">
|
|
82
|
+
import { defineProps, defineEmits, ref, watch, reactive } from 'vue';
|
|
83
|
+
import { ToolSettings, DrawingTool } from '../../type';
|
|
84
|
+
import { useI18n } from '../../../../locales';
|
|
85
|
+
import vClickOutside from '../../../../directives/vClickOutside';
|
|
86
|
+
import IconButton from '../../../common/base/IconButton.vue';
|
|
87
|
+
import '../whiteboard-tool.scss';
|
|
88
|
+
|
|
89
|
+
import ShapeIcon from '../Icon/ShapeIcon.vue';
|
|
90
|
+
import SizeSmall from '../Image/SizeSmall.svg';
|
|
91
|
+
import SizeMid from '../Image/SizeMid.svg';
|
|
92
|
+
import SizeBig from '../Image/SizeBig.svg';
|
|
93
|
+
import SizeLarge from './../Image/SizeLarge.svg';
|
|
94
|
+
import BlueIcon from '../Image/BlueIcon.svg';
|
|
95
|
+
import PurpleIcon from '../Image/PurpleIcon.svg';
|
|
96
|
+
import YellowIcon from '../Image/YellowIcon.svg';
|
|
97
|
+
import OrangeIcon from '../Image/OrangeIcon.svg';
|
|
98
|
+
import RedIcon from '../Image/RedIcon.svg';
|
|
99
|
+
import GreenIcon from '../Image/GreenIcon.svg';
|
|
100
|
+
import DeepBlueIcon from '../Image/DeepBlueIcon.svg';
|
|
101
|
+
import BlackIcon from '../Image/BlackIcon.svg';
|
|
102
|
+
import DarkGrayIcon from '../Image/DarkGrayIcon.svg';
|
|
103
|
+
import GrayIcon from '../Image/GrayIcon.svg';
|
|
104
|
+
import LightGrayIcon from '../Image/LightGrayIcon.svg';
|
|
105
|
+
import WhiteIcon from '../Image/WhiteIcon.svg';
|
|
106
|
+
import Rectangle from '../Image/ShapeRectangle.svg';
|
|
107
|
+
import Circle from '../Image/ShapeCircle.svg';
|
|
108
|
+
import Dashed from '../Image/StyleDashed.svg';
|
|
109
|
+
import Line from '../Image/ShapeLine.svg';
|
|
110
|
+
import Solid from '../Image/StyleSolid.svg';
|
|
111
|
+
import Triangle from '../Image/ShapeTriangle.svg';
|
|
112
|
+
|
|
113
|
+
const { t } = useI18n();
|
|
114
|
+
|
|
115
|
+
const shapeTypes = [
|
|
116
|
+
{ icon: Line, shape: DrawingTool.Line },
|
|
117
|
+
{ icon: Circle, shape: DrawingTool.Circle },
|
|
118
|
+
{ icon: Rectangle, shape: DrawingTool.Rectangle },
|
|
119
|
+
{ icon: Triangle, shape: DrawingTool.Triangle },
|
|
120
|
+
];
|
|
121
|
+
|
|
122
|
+
const shapeStyles = [
|
|
123
|
+
{ icon: Solid, style: 'solid' },
|
|
124
|
+
{ icon: Dashed, style: 'dashed' },
|
|
125
|
+
];
|
|
126
|
+
|
|
127
|
+
const shapeSizes = [
|
|
128
|
+
{ icon: SizeSmall, size: 1 },
|
|
129
|
+
{ icon: SizeMid, size: 2 },
|
|
130
|
+
{ icon: SizeBig, size: 5 },
|
|
131
|
+
{ icon: SizeLarge, size: 10 },
|
|
132
|
+
];
|
|
133
|
+
|
|
134
|
+
const shapeColors = [
|
|
135
|
+
{ color: '#4791FF', icon: BlueIcon },
|
|
136
|
+
{ color: '#5940D7', icon: PurpleIcon },
|
|
137
|
+
{ color: '#F5C342', icon: YellowIcon },
|
|
138
|
+
{ color: '#E05734', icon: OrangeIcon },
|
|
139
|
+
{ color: '#DC3859', icon: RedIcon },
|
|
140
|
+
{ color: '#1AD32C', icon: GreenIcon },
|
|
141
|
+
{ color: '#104683', icon: DeepBlueIcon },
|
|
142
|
+
{ color: '#22262E', icon: BlackIcon },
|
|
143
|
+
{ color: '#86909A', icon: DarkGrayIcon },
|
|
144
|
+
{ color: '#B5BBC3', icon: GrayIcon },
|
|
145
|
+
{ color: '#DBDDE2', icon: LightGrayIcon },
|
|
146
|
+
{ color: '#EAEEF3', icon: WhiteIcon },
|
|
147
|
+
];
|
|
148
|
+
|
|
149
|
+
const showSettings = ref(false);
|
|
150
|
+
const props = defineProps({
|
|
151
|
+
activeTool: String,
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
function handleHideButtonSetting() {
|
|
155
|
+
if (props.activeTool === 'Shape') {
|
|
156
|
+
showSettings.value = false;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const toolSetting = reactive<ToolSettings>({
|
|
161
|
+
drawingTool: DrawingTool.Rectangle,
|
|
162
|
+
shapeOptions: {
|
|
163
|
+
strokeWidth: 5,
|
|
164
|
+
stroke: '#22262E',
|
|
165
|
+
fill: 'transparent',
|
|
166
|
+
opacity: 1,
|
|
167
|
+
lineDash: [0, 0],
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
const emit = defineEmits<{
|
|
172
|
+
(e: 'click', toolSetting: ToolSettings): void;
|
|
173
|
+
}>();
|
|
174
|
+
|
|
175
|
+
watch(
|
|
176
|
+
() => props.activeTool,
|
|
177
|
+
() => {
|
|
178
|
+
showSettings.value = false;
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
const onClick = () => {
|
|
183
|
+
showSettings.value = !showSettings.value;
|
|
184
|
+
emit('click', toolSetting);
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
const handleTypeClick = (type: DrawingTool) => {
|
|
188
|
+
if (toolSetting.drawingTool === type) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
toolSetting.drawingTool = type;
|
|
192
|
+
emit('click', toolSetting);
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
const handleStyleClick = (style: string) => {
|
|
196
|
+
if ('solid' === style) {
|
|
197
|
+
toolSetting.shapeOptions!.lineDash = [0, 0];
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
toolSetting.shapeOptions!.lineDash = [5, 5];
|
|
201
|
+
emit('click', toolSetting);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
const handleSizeClick = (size: number) => {
|
|
205
|
+
if (size === toolSetting.shapeOptions?.strokeWidth) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
toolSetting.shapeOptions!.strokeWidth = size;
|
|
209
|
+
emit('click', toolSetting);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
const handleColorClick = (color: string) => {
|
|
213
|
+
if (toolSetting.shapeOptions!.stroke !== color) {
|
|
214
|
+
toolSetting.shapeOptions!.stroke = color;
|
|
215
|
+
emit('click', toolSetting);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
</script>
|