tuikit-atomicx-vue3 3.4.2 → 3.5.0-beta.7
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/.eslintrc.cjs +1 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D1G-LitO.js → MessageInput.vue_vue_type_script_setup_true_lang-jPzZ5INK.js} +38 -36
- package/dist/baseComp/Modal/Modal.js +431 -23
- package/dist/chat/index.d.ts +68 -53
- package/dist/chat/server.js +15 -15
- package/dist/components/AudioSetting/AudioMediaControl.js +39 -41
- package/dist/components/AudioSetting/AudioSettingTab.js +10 -10
- package/dist/components/AudioSetting/MicrophoneSelect.js +8 -8
- package/dist/components/AudioSetting/SpeakerSelect.js +9 -9
- package/dist/components/AudioSettingPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/en-US/index.js +2 -1
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.js +2 -1
- package/dist/components/AudioSettingPanel/index.js +81 -73
- package/dist/components/BarrageInput/BarrageInputH5.js +9 -9
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +3 -3
- package/dist/components/BarrageInput/MessageInputState.d.ts +28 -0
- package/dist/components/BarrageInput/MessageInputState.js +82 -0
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +5 -4
- package/dist/components/BarrageInput/TextEditor/index.js +7 -7
- package/dist/components/BarrageInput/type.d.ts +17 -0
- package/dist/components/BarrageInput/type.js +4 -0
- package/dist/components/BarrageInput/utils.d.ts +30 -0
- package/dist/components/BarrageInput/utils.js +41 -0
- package/dist/components/BarrageList/BarrageList.js +80 -110
- package/dist/components/BarrageList/BarrageList.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListH5.js +95 -122
- package/dist/components/BarrageList/BarrageListH5.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListState.d.ts +58 -0
- package/dist/components/BarrageList/BarrageListState.js +106 -0
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +16 -24
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue.d.ts +5 -5
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +48 -73
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.vue.d.ts +5 -7
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +70 -76
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.vue.d.ts +6 -6
- package/dist/components/BarrageList/Message/TextMessage/emoji.d.ts +5 -0
- package/dist/components/BarrageList/Message/TextMessage/emoji.js +134 -0
- package/dist/components/BarrageList/index.d.ts +0 -36
- package/dist/components/CameraButton/index.js +18 -19
- package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +2 -1
- package/dist/components/CoGuestPanel/CoGuestPanel.js +60 -60
- package/dist/components/CoHostPanel/BattlePanel.js +11 -11
- package/dist/components/CoHostPanel/CoHostPanel.js +10 -10
- package/dist/components/CoHostPanel/ConfigSettingPanel.js +49 -55
- package/dist/components/CoHostPanel/ConnectionPanel.js +132 -123
- package/dist/components/CoHostPanel/RecommendHostList.js +39 -36
- package/dist/components/CoHostPanel/constants.d.ts +3 -0
- package/dist/components/CoHostPanel/constants.js +6 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.js +2 -1
- package/dist/components/CoHostPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/zh-CN/index.js +3 -2
- package/dist/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.js +6 -6
- package/dist/components/ContactList/ContactInfo/ContactInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/FriendInfo/FriendInfo.js +9 -9
- package/dist/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.js +1 -1
- package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +4 -4
- package/dist/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.js +8 -8
- package/dist/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.js +7 -7
- package/dist/components/ContactList/ContactList.js +7 -7
- package/dist/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.js +8 -8
- package/dist/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/FriendItem/FriendItem.js +5 -5
- package/dist/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.js +1 -1
- package/dist/components/ContactList/ContactListItem/GroupItem/GroupItem.js +1 -1
- package/dist/components/ContactList/ContactSearch/ContactSearch.js +6 -6
- package/dist/components/ConversationList/ConversationActions/ConversationActions.js +49 -51
- package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +9 -9
- package/dist/components/ConversationList/ConversationList.js +4 -4
- package/dist/components/ConversationList/ConversationList.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +10 -10
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +31 -29
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +20 -20
- package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +2 -2
- package/dist/components/ConversationList/ConversationPreview/index.js +1 -1
- package/dist/components/ConversationList/index.d.ts +30 -30
- package/dist/components/LiveAudienceList/LiveAudienceList.js +44 -45
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +7 -7
- package/dist/components/LiveAudienceList/UserActionMenu.js +57 -64
- package/dist/components/LiveList/LiveList.js +23 -23
- package/dist/components/LiveList/LiveListH5.js +38 -38
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +10 -10
- package/dist/components/LiveScenePanel/MaterialItem.js +15 -15
- package/dist/components/LiveScenePanel/index.js +4 -4
- package/dist/components/LiveView/CoreViewDecorate/BattleDecorate.js +58 -58
- package/dist/components/LiveView/CoreViewDecorate/BattleUserDecorate.js +6 -6
- package/dist/components/LiveView/CoreViewDecorate/CoHostDecorate.js +5 -5
- package/dist/components/LiveView/DefaultStreamViewUI.js +44 -41
- package/dist/components/LiveView/PlayerControl/AudioControl.js +97 -93
- package/dist/components/LiveView/PlayerControl/AudioControl.vue.d.ts +10 -6
- package/dist/components/LiveView/PlayerControl/MultiResolution.js +57 -62
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +79 -79
- package/dist/components/LiveView/PlayerControl/PlayerControlState.d.ts +2 -2
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +164 -209
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +8 -1
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +57 -24
- package/dist/components/LiveView/i18n/en-US/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/en-US/index.js +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveView/index.js +17 -17
- package/dist/components/MessageInput/AudioCallPicker/AudioCallPicker.js +63 -65
- package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +88 -84
- package/dist/components/MessageInput/MessageInput.js +1 -1
- package/dist/components/MessageInput/MessageInput.vue.d.ts +5 -2
- package/dist/components/MessageInput/TextEditor/EditorCore.d.ts +3 -1
- package/dist/components/MessageInput/TextEditor/EditorCore.js +51 -63
- package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +6 -2
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.d.ts +19 -0
- package/dist/components/MessageInput/TextEditor/extensions/characterCountExtension.js +74 -0
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.d.ts +2 -0
- package/dist/components/MessageInput/TextEditor/extensions/imageExtension.js +62 -0
- package/dist/components/MessageInput/TextEditor/index.js +45 -35
- package/dist/components/MessageInput/VideoCallPicker/VideoCallPicker.js +67 -69
- package/dist/components/MessageInput/i18n/index.d.ts +4 -0
- package/dist/components/MessageInput/i18n/zh-CN.d.ts +4 -0
- package/dist/components/MessageInput/i18n/zh-CN.js +5 -1
- package/dist/components/MessageInput/index.d.ts +36 -6
- package/dist/components/MessageInput/index.js +1 -1
- package/dist/components/MessageList/Message/AudioMessage/WaveForm.js +24 -34
- package/dist/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.js +29 -28
- package/dist/components/MessageList/Message/GroupTipMessage/index.js +13 -13
- package/dist/components/MessageList/Message/Message.vue.d.ts +1 -1
- package/dist/components/MessageList/Message/MessageLayout/MessageLayout.js +63 -69
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.js +48 -53
- package/dist/components/MessageList/Message/VideoMessage/VideoMessage.vue.d.ts +8 -8
- package/dist/components/MessageList/MessageList.js +8 -6
- package/dist/components/MessageList/MessageList.vue.d.ts +2 -2
- package/dist/components/MessageList/i18n/en-US.d.ts +65 -1
- package/dist/components/MessageList/i18n/en-US.js +66 -2
- package/dist/components/MessageList/i18n/index.d.ts +128 -0
- package/dist/components/MessageList/i18n/index.js +6 -6
- package/dist/components/MessageList/i18n/zh-CN.d.ts +65 -1
- package/dist/components/MessageList/i18n/zh-CN.js +64 -0
- package/dist/components/MessageList/index.d.ts +20 -20
- package/dist/components/MicButton/index.js +11 -11
- package/dist/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.js +172 -174
- package/dist/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.js +58 -60
- package/dist/components/Search/SearchAdvanced/SearchAdvanced.js +28 -30
- package/dist/components/Search/SearchAdvanced/SearchTab/SearchTab.js +22 -24
- package/dist/components/Search/SearchAdvanced/Slider/Slider.js +26 -28
- package/dist/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.js +133 -135
- package/dist/components/Search/SearchBar/SearchBar.js +56 -58
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +12 -12
- package/dist/components/StreamMixer/LocalMixer/index.js +66 -63
- package/dist/components/StreamView/Layout/CustomLayout.js +8 -8
- package/dist/components/StreamView/Layout/FloatLayout.js +124 -127
- package/dist/components/StreamView/Layout/GridLayout.js +5 -5
- package/dist/components/StreamView/index.js +25 -33
- package/dist/components/StreamView/manager/mediaManager.js +54 -60
- package/dist/components/UIKitModal/UIKitModal.d.ts +7 -0
- package/dist/components/UIKitModal/UIKitModal.js +156 -0
- package/dist/components/UIKitModal/index.d.ts +1 -0
- package/dist/components/UIKitModal/index.js +4 -0
- package/dist/components/{BarrageList/Message/RecalledMessage/RecalledMessage.vue.d.ts → UIKitModal/index.vue.d.ts} +24 -14
- package/dist/components/UIKitModal/type.d.ts +21 -0
- package/dist/components/UIKitModal/type.js +1 -0
- package/dist/components/UserPicker/UserPicker.js +1 -2
- package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.js +19 -18
- package/dist/components/UserPicker/hooks/useSearchFilter.d.ts +2 -2
- package/dist/components/UserPicker/hooks/useSearchFilter.js +39 -31
- package/dist/components/UserPicker/i18n/en-US.d.ts +1 -0
- package/dist/components/UserPicker/i18n/en-US.js +2 -1
- package/dist/components/UserPicker/i18n/index.d.ts +2 -0
- package/dist/components/UserPicker/i18n/zh-CN.d.ts +1 -0
- package/dist/components/UserPicker/i18n/zh-CN.js +2 -1
- package/dist/components/UserPicker/index.d.ts +2 -2
- package/dist/components/UserPicker/type.d.ts +1 -1
- package/dist/components/VideoSetting/CameraSelect.js +8 -8
- package/dist/components/VideoSetting/VideoMediaControl.js +10 -10
- package/dist/components/VideoSetting/VideoPreview.js +9 -9
- package/dist/components/VideoSetting/VideoProfile.js +6 -6
- package/dist/components/VideoSetting/VideoSettingTab.js +40 -39
- package/dist/components/VideoSettingPanel/CameraSelect.js +8 -8
- package/dist/components/VideoSettingPanel/VideoPreview.js +1 -1
- package/dist/components/VideoSettingPanel/VideoProfile.js +18 -18
- package/dist/hooks/useAudioControl.d.ts +3 -3
- package/dist/hooks/useAudioControl.js +32 -30
- package/dist/hooks/useRoomEngine.js +6 -6
- package/dist/index-B_-9wgM4.js +64 -0
- package/dist/{index-Bm-QfV5o.js → index-DMfTuy0v.js} +574 -631
- package/dist/{index-D2OVtqc8.js → index-DV6o6s43.js} +946 -915
- package/dist/index.d.ts +3 -1
- package/dist/index.js +164 -142
- package/dist/report/MetricsKey.d.ts +16 -0
- package/dist/report/MetricsKey.js +4 -0
- package/dist/report/dataReport.d.ts +12 -0
- package/dist/report/dataReport.js +45 -0
- package/dist/report/index.d.ts +4 -0
- package/dist/report/index.js +6 -0
- package/dist/rtc/index.d.ts +5 -43
- package/dist/rtc/index.js +48 -48
- package/dist/rtc/server.js +45 -40
- package/dist/states/BarrageState/BarrageState.d.ts +74 -0
- package/dist/states/BarrageState/BarrageState.js +80 -0
- package/dist/states/BarrageState/index.d.ts +1 -0
- package/dist/states/BarrageState/index.js +5 -0
- package/dist/states/{BattleState.d.ts → BattleState/BattleState.d.ts} +10 -11
- package/dist/states/BattleState/BattleState.js +203 -0
- package/dist/states/BattleState/index.d.ts +1 -0
- package/dist/states/BattleState/index.js +4 -0
- package/dist/states/CoGuestState.d.ts +24 -94
- package/dist/states/CoGuestState.js +297 -189
- package/dist/states/CoHostState/CoHostState.d.ts +2 -2
- package/dist/states/CoHostState/CoHostState.js +135 -131
- package/dist/states/{DeviceState.d.ts → DeviceState/DeviceState.d.ts} +25 -13
- package/dist/states/DeviceState/DeviceState.js +314 -0
- package/dist/states/DeviceState/index.d.ts +1 -0
- package/dist/states/DeviceState/index.js +4 -0
- package/dist/states/LiveAudienceState.d.ts +3 -1
- package/dist/states/LiveAudienceState.js +106 -63
- package/dist/states/{LiveState/index.d.ts → LiveListState/LiveListState.d.ts} +13 -8
- package/dist/states/LiveListState/LiveListState.js +285 -0
- package/dist/states/LiveListState/index.d.ts +1 -0
- package/dist/states/LiveListState/index.js +4 -0
- package/dist/states/LiveMonitorState/api/http.js +147 -129
- package/dist/states/LiveMonitorState/index.js +67 -62
- package/dist/states/LiveMonitorState/player/adapters/trtc.js +6 -6
- package/dist/states/LiveSeatState/index.d.ts +46 -11
- package/dist/states/LiveSeatState/index.js +34 -15
- package/dist/states/LiveSeatState/seatEventManager.d.ts +2 -0
- package/dist/states/LiveSeatState/seatEventManager.js +63 -42
- package/dist/states/LiveSeatState/seatManager.d.ts +34 -5
- package/dist/states/LiveSeatState/seatManager.js +131 -29
- package/dist/states/LiveSeatState/store.d.ts +5 -5
- package/dist/states/LiveSeatState/store.js +12 -10
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/index.js +30 -28
- package/dist/states/LoginState.d.ts +23 -0
- package/dist/states/MessageInputState/MessageInputState.d.ts +41 -7
- package/dist/states/MessageInputState/MessageInputState.js +60 -59
- package/dist/states/MessageInputState/utils.d.ts +8 -1
- package/dist/states/MessageInputState/utils.js +30 -10
- package/dist/states/SeatStore.js +82 -83
- package/dist/states/UIKitModalState/UIKitModalState.d.ts +17 -0
- package/dist/states/UIKitModalState/UIKitModalState.js +63 -0
- package/dist/states/UIKitModalState/index.d.ts +1 -0
- package/dist/states/UIKitModalState/index.js +4 -0
- package/dist/states/{VideoMixerState.d.ts → VideoMixerState/VideoMixerState.d.ts} +1 -1
- package/dist/states/VideoMixerState/VideoMixerState.js +269 -0
- package/dist/states/VideoMixerState/index.d.ts +1 -0
- package/dist/states/VideoMixerState/index.js +4 -0
- package/dist/styles/index.css +1 -1
- package/dist/types/audience.d.ts +21 -0
- package/dist/types/audience.js +4 -1
- package/dist/types/battle.d.ts +75 -3
- package/dist/types/battle.js +5 -1
- package/dist/types/coGuest.d.ts +72 -5
- package/dist/types/coGuest.js +4 -2
- package/dist/types/device.d.ts +38 -17
- package/dist/types/device.js +10 -8
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +96 -80
- package/dist/types/live.d.ts +36 -21
- package/dist/types/live.js +6 -4
- package/dist/types/seat.d.ts +23 -4
- package/dist/types/seat.js +7 -1
- package/dist/utils/call.d.ts +1 -1
- package/dist/utils/call.js +78 -79
- package/dist/utils/eventCenter.d.ts +88 -0
- package/dist/utils/eventCenter.js +161 -0
- package/package.json +4 -3
- package/src/chat/server.ts +0 -1
- package/src/components/AudioSetting/AudioMediaControl.vue +1 -3
- package/src/components/AudioSetting/AudioSettingTab.vue +1 -2
- package/src/components/AudioSetting/MicrophoneSelect.vue +1 -2
- package/src/components/AudioSetting/SpeakerSelect.vue +1 -2
- package/src/components/AudioSettingPanel/i18n/en-US/index.ts +1 -0
- package/src/components/AudioSettingPanel/i18n/zh-CN/index.ts +1 -0
- package/src/components/AudioSettingPanel/index.vue +4 -2
- package/src/components/BarrageInput/BarrageInputH5.vue +1 -1
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
- package/src/components/BarrageInput/MessageInputState.ts +160 -0
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +1 -1
- package/src/components/BarrageInput/type.ts +26 -0
- package/src/components/BarrageInput/utils.ts +45 -0
- package/src/components/BarrageList/BarrageList.vue +61 -117
- package/src/components/BarrageList/BarrageListH5.vue +75 -159
- package/src/components/BarrageList/BarrageListState.ts +223 -0
- package/src/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue +8 -55
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +19 -44
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +69 -96
- package/src/components/BarrageList/Message/TextMessage/emoji.ts +132 -0
- package/src/components/CameraButton/index.vue +0 -1
- package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +5 -0
- package/src/components/CoGuestPanel/CoGuestPanel.vue +16 -91
- package/src/components/CoHostPanel/BattlePanel.vue +1 -4
- package/src/components/CoHostPanel/ConfigSettingPanel.vue +2 -8
- package/src/components/CoHostPanel/ConnectionPanel.vue +37 -33
- package/src/components/CoHostPanel/RecommendHostList.vue +12 -13
- package/src/components/CoHostPanel/constants.ts +3 -0
- package/src/components/CoHostPanel/i18n/en-US/index.ts +1 -0
- package/src/components/CoHostPanel/i18n/zh-CN/index.ts +2 -1
- package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/ContactInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.vue +1 -1
- package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.vue +1 -1
- package/src/components/ContactList/ContactList.vue +1 -1
- package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.vue +1 -1
- package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.vue +1 -1
- package/src/components/ContactList/ContactSearch/ContactSearch.vue +1 -1
- package/src/components/ConversationList/ConversationActions/ConversationActions.vue +2 -8
- package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +2 -2
- package/src/components/ConversationList/ConversationCreate/ConversationCreateButton/ConversationCreateButton.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +1 -1
- package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.vue +1 -1
- package/src/components/ConversationList/ConversationList.vue +2 -2
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +1 -1
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.vue +1 -1
- package/src/components/ConversationList/ConversationPlaceHolder/ConversationPlaceHolder.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.vue +4 -4
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +1 -1
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue +3 -3
- package/src/components/ConversationList/ConversationPreview/ConversationPreviewUnread.vue +1 -1
- package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -1
- package/src/components/LiveAudienceList/LiveAudienceList.vue +4 -5
- package/src/components/LiveAudienceList/LiveAudienceListH5.vue +2 -2
- package/src/components/LiveAudienceList/UserActionMenu.vue +7 -48
- package/src/components/LiveList/LiveList.vue +5 -5
- package/src/components/LiveList/LiveListH5.vue +6 -6
- package/src/components/LiveScenePanel/index.vue +2 -2
- package/src/components/LiveView/CoreViewDecorate/BattleDecorate.vue +10 -15
- package/src/components/LiveView/CoreViewDecorate/BattleUserDecorate.vue +2 -2
- package/src/components/LiveView/DefaultStreamViewUI.vue +5 -3
- package/src/components/LiveView/PlayerControl/AudioControl.vue +72 -80
- package/src/components/LiveView/PlayerControl/MultiResolution.vue +30 -21
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +26 -42
- package/src/components/LiveView/PlayerControl/PlayerControlState.ts +253 -455
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +68 -4
- package/src/components/LiveView/i18n/en-US/index.ts +2 -2
- package/src/components/LiveView/i18n/zh-CN/index.ts +2 -2
- package/src/components/LiveView/index.vue +3 -2
- package/src/components/MessageInput/AudioCallPicker/AudioCallPicker.vue +8 -6
- package/src/components/MessageInput/EmojiPicker/EmojiPicker.vue +7 -3
- package/src/components/MessageInput/MessageInput.module.scss +1 -0
- package/src/components/MessageInput/MessageInput.vue +3 -1
- package/src/components/MessageInput/TextEditor/EditorCore.ts +17 -28
- package/src/components/MessageInput/TextEditor/TextEditor.vue +24 -4
- package/src/components/MessageInput/TextEditor/extensions/characterCountExtension.ts +159 -0
- package/src/components/MessageInput/TextEditor/extensions/imageExtension.ts +79 -0
- package/src/components/MessageInput/VideoCallPicker/VideoCallPicker.vue +8 -6
- package/src/components/MessageInput/i18n/zh-CN.ts +4 -0
- package/src/components/MessageInput/types.d.ts +1 -0
- package/src/components/MessageList/Message/AudioMessage/WaveForm.vue +20 -37
- package/src/components/MessageList/Message/CustomMessage/CallMessage/CallMessage.vue +5 -3
- package/src/components/MessageList/Message/GroupTipMessage/GroupTipMessage.vue +5 -4
- package/src/components/MessageList/Message/Message.vue +1 -1
- package/src/components/MessageList/Message/MessageLayout/MessageLayout.vue +8 -8
- package/src/components/MessageList/Message/VideoMessage/VideoMessage.vue +46 -43
- package/src/components/MessageList/Message/VideoMessage/index.ts +1 -1
- package/src/components/MessageList/MessageList.vue +2 -0
- package/src/components/MessageList/i18n/en-US.ts +66 -0
- package/src/components/MessageList/i18n/index.ts +4 -4
- package/src/components/MessageList/i18n/zh-CN.ts +66 -0
- package/src/components/MicButton/index.vue +3 -3
- package/src/components/Search/Search.vue +1 -1
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.scss +1 -4
- package/src/components/Search/SearchAdvanced/DateRangePicker/DateRangePicker.vue +1 -1
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/MessageAdvanced/MessageAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/SearchAdvanced.vue +1 -1
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.scss +1 -4
- package/src/components/Search/SearchAdvanced/SearchTab/SearchTab.vue +1 -1
- package/src/components/Search/SearchAdvanced/Slider/Slider.scss +1 -4
- package/src/components/Search/SearchAdvanced/Slider/Slider.vue +1 -1
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.scss +1 -4
- package/src/components/Search/SearchAdvanced/UserAdvanced/UserAdvanced.vue +1 -1
- package/src/components/Search/SearchBar/SearchBar.scss +3 -6
- package/src/components/Search/SearchBar/SearchBar.vue +1 -1
- package/src/components/Search/SearchResults/EmptyResult/EmptyResult.vue +1 -1
- package/src/components/Search/SearchResults/Loading/Loading.vue +1 -1
- package/src/components/Search/SearchResults/SearchResults.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.vue +1 -1
- package/src/components/Search/SearchResults/SearchResultsItem/User/User.vue +1 -1
- package/src/components/StreamMixer/LocalMixer/index.vue +6 -8
- package/src/components/StreamView/Layout/CustomLayout.vue +2 -2
- package/src/components/StreamView/Layout/FloatLayout.vue +88 -83
- package/src/components/StreamView/index.vue +28 -14
- package/src/components/StreamView/manager/mediaManager.ts +38 -42
- package/src/components/UIKitModal/UIKitModal.ts +71 -0
- package/src/components/UIKitModal/index.scss +134 -0
- package/src/components/UIKitModal/index.ts +1 -0
- package/src/components/UIKitModal/index.vue +160 -0
- package/src/components/UIKitModal/type.ts +24 -0
- package/src/components/UserPicker/UserPicker.vue +1 -1
- package/src/components/UserPicker/components/SelectedPanel/SelectedPanel.vue +1 -0
- package/src/components/UserPicker/hooks/useSearchFilter.ts +27 -18
- package/src/components/UserPicker/i18n/en-US.ts +1 -0
- package/src/components/UserPicker/i18n/zh-CN.ts +1 -0
- package/src/components/UserPicker/type.ts +1 -1
- package/src/components/VideoSetting/CameraSelect.vue +1 -2
- package/src/components/VideoSetting/VideoMediaControl.vue +1 -1
- package/src/components/VideoSetting/VideoPreview.vue +1 -2
- package/src/components/VideoSetting/VideoProfile.vue +1 -1
- package/src/components/VideoSetting/VideoSettingTab.vue +9 -5
- package/src/components/VideoSettingPanel/CameraSelect.vue +1 -2
- package/src/components/VideoSettingPanel/VideoProfile.vue +7 -7
- package/src/hooks/useAudioControl.ts +17 -4
- package/src/hooks/useRoomEngine.ts +1 -1
- package/src/index.ts +3 -0
- package/src/report/MetricsKey.ts +16 -0
- package/src/report/dataReport.ts +55 -0
- package/src/report/index.ts +7 -0
- package/src/rtc/index.ts +7 -9
- package/src/rtc/server.ts +4 -0
- package/src/types/audience.ts +27 -1
- package/src/types/battle.ts +87 -4
- package/src/types/coGuest.ts +87 -5
- package/src/types/device.ts +41 -16
- package/src/types/index.ts +2 -2
- package/src/types/live.ts +41 -22
- package/src/types/seat.ts +28 -4
- package/src/utils/call.ts +26 -27
- package/src/utils/eventCenter.ts +249 -0
- package/dist/DialogPortal-CvJcEAsn.js +0 -417
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.js +0 -23
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.vue.d.ts +0 -30
- package/dist/components/BarrageList/Message/FaceMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/FaceMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +0 -16
- package/dist/components/BarrageList/Message/GroupTipMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/GroupTipMessage/index.js +0 -25
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.js +0 -71
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.vue.d.ts +0 -34
- package/dist/components/BarrageList/Message/ImageMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/ImageMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.js +0 -9
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.vue.d.ts +0 -2
- package/dist/components/BarrageList/Message/MergerMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MergerMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +0 -40
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +0 -54
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +0 -26
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue.d.ts +0 -15
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.js +0 -4
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.js +0 -41
- package/dist/components/BarrageList/Message/RecalledMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/RecalledMessage/index.js +0 -4
- package/dist/components/BarrageList/MessageForward/ForwardListItem.js +0 -45
- package/dist/components/BarrageList/MessageForward/ForwardListItem.vue.d.ts +0 -17
- package/dist/components/BarrageList/MessageForward/MessageForward.js +0 -203
- package/dist/components/BarrageList/MessageForward/MessageForward.vue.d.ts +0 -2
- package/dist/components/BarrageList/MessageForward/index.d.ts +0 -3
- package/dist/components/BarrageList/MessageForward/index.js +0 -4
- package/dist/components/StreamView/Layout/MixLayout.js +0 -89
- package/dist/components/StreamView/Layout/MixLayout.vue.d.ts +0 -31
- package/dist/states/BarrageListState/BarrageListState.d.ts +0 -26
- package/dist/states/BarrageListState/BarrageListState.js +0 -122
- package/dist/states/BarrageListState/index.d.ts +0 -1
- package/dist/states/BarrageListState/index.js +0 -4
- package/dist/states/BattleState.js +0 -117
- package/dist/states/DeviceState.js +0 -296
- package/dist/states/LiveState/index.js +0 -254
- package/dist/states/VideoMixerState.js +0 -260
- package/src/components/BarrageList/Message/FaceMessage/FaceMessage.vue +0 -43
- package/src/components/BarrageList/Message/FaceMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue +0 -55
- package/src/components/BarrageList/Message/GroupTipMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/ImageMessage/ImageMessage.vue +0 -181
- package/src/components/BarrageList/Message/ImageMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MergerMessage/MergerMessage.vue +0 -6
- package/src/components/BarrageList/Message/MergerMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +0 -70
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +0 -40
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/index.ts +0 -3
- package/src/components/BarrageList/Message/RecalledMessage/RecalledMessage.vue +0 -82
- package/src/components/BarrageList/Message/RecalledMessage/index.ts +0 -3
- package/src/components/BarrageList/MessageForward/ForwardListItem.vue +0 -67
- package/src/components/BarrageList/MessageForward/MessageForward.vue +0 -388
- package/src/components/BarrageList/MessageForward/index.ts +0 -3
- package/src/components/StreamView/Layout/MixLayout.vue +0 -144
|
@@ -3,23 +3,23 @@ function We(e, t) {
|
|
|
3
3
|
return e.apply(t, arguments);
|
|
4
4
|
};
|
|
5
5
|
}
|
|
6
|
-
const { toString: yt } = Object.prototype, { getPrototypeOf:
|
|
6
|
+
const { toString: yt } = Object.prototype, { getPrototypeOf: be } = Object, { iterator: re, toStringTag: ve } = Symbol, se = /* @__PURE__ */ ((e) => (t) => {
|
|
7
7
|
const n = yt.call(t);
|
|
8
8
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
9
9
|
})(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => se(t) === e), oe = (e) => (t) => typeof t === e, { isArray: M } = Array, H = oe("undefined");
|
|
10
10
|
function V(e) {
|
|
11
11
|
return e !== null && !H(e) && e.constructor !== null && !H(e.constructor) && T(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Ke = P("ArrayBuffer");
|
|
14
14
|
function bt(e) {
|
|
15
15
|
let t;
|
|
16
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
16
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ke(e.buffer), t;
|
|
17
17
|
}
|
|
18
18
|
const wt = oe("string"), T = oe("function"), Xe = oe("number"), W = (e) => e !== null && typeof e == "object", Et = (e) => e === !0 || e === !1, Y = (e) => {
|
|
19
19
|
if (se(e) !== "object")
|
|
20
20
|
return !1;
|
|
21
|
-
const t =
|
|
22
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
21
|
+
const t = be(e);
|
|
22
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ve in e) && !(re in e);
|
|
23
23
|
}, gt = (e) => {
|
|
24
24
|
if (!W(e) || V(e))
|
|
25
25
|
return !1;
|
|
@@ -32,8 +32,8 @@ const wt = oe("string"), T = oe("function"), Xe = oe("number"), W = (e) => e !==
|
|
|
32
32
|
let t;
|
|
33
33
|
return e && (typeof FormData == "function" && e instanceof FormData || T(e.append) && ((t = se(e)) === "formdata" || // detect form-data instance
|
|
34
34
|
t === "object" && T(e.toString) && e.toString() === "[object FormData]"));
|
|
35
|
-
}, Ct = P("URLSearchParams"), [Nt, Pt,
|
|
36
|
-
function
|
|
35
|
+
}, Ct = P("URLSearchParams"), [Nt, Pt, Ft, _t] = ["ReadableStream", "Request", "Response", "Headers"].map(P), Lt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
36
|
+
function v(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
37
37
|
if (e === null || typeof e > "u")
|
|
38
38
|
return;
|
|
39
39
|
let r, s;
|
|
@@ -67,10 +67,10 @@ function pe() {
|
|
|
67
67
|
Y(n[o]) && Y(s) ? n[o] = pe(n[o], s) : Y(s) ? n[o] = pe({}, s) : M(s) ? n[o] = s.slice() : (!t || !H(s)) && (n[o] = s);
|
|
68
68
|
};
|
|
69
69
|
for (let s = 0, i = arguments.length; s < i; s++)
|
|
70
|
-
arguments[s] &&
|
|
70
|
+
arguments[s] && v(arguments[s], r);
|
|
71
71
|
return n;
|
|
72
72
|
}
|
|
73
|
-
const Ut = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
73
|
+
const Ut = (e, t, n, { allOwnKeys: r } = {}) => (v(t, (s, i) => {
|
|
74
74
|
n && T(s) ? e[i] = We(s, n) : e[i] = s;
|
|
75
75
|
}, { allOwnKeys: r }), e), Bt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Dt = (e, t, n, r) => {
|
|
76
76
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -83,7 +83,7 @@ const Ut = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
83
83
|
do {
|
|
84
84
|
for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
|
|
85
85
|
o = s[i], (!r || r(o, e, t)) && !c[o] && (t[o] = e[o], c[o] = !0);
|
|
86
|
-
e = n !== !1 &&
|
|
86
|
+
e = n !== !1 && be(e);
|
|
87
87
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
88
88
|
return t;
|
|
89
89
|
}, jt = (e, t, n) => {
|
|
@@ -99,7 +99,7 @@ const Ut = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
99
99
|
for (; t-- > 0; )
|
|
100
100
|
n[t] = e[t];
|
|
101
101
|
return n;
|
|
102
|
-
}, It = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
102
|
+
}, It = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && be(Uint8Array)), Ht = (e, t) => {
|
|
103
103
|
const r = (e && e[re]).call(e);
|
|
104
104
|
let s;
|
|
105
105
|
for (; (s = r.next()) && !s.done; ) {
|
|
@@ -112,14 +112,14 @@ const Ut = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
112
112
|
for (; (n = e.exec(t)) !== null; )
|
|
113
113
|
r.push(n);
|
|
114
114
|
return r;
|
|
115
|
-
}, zt = P("HTMLFormElement"),
|
|
115
|
+
}, zt = P("HTMLFormElement"), $t = (e) => e.toLowerCase().replace(
|
|
116
116
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
117
117
|
function(n, r, s) {
|
|
118
118
|
return r.toUpperCase() + s;
|
|
119
119
|
}
|
|
120
|
-
),
|
|
120
|
+
), Fe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Jt = P("RegExp"), Ze = (e, t) => {
|
|
121
121
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
122
|
-
|
|
122
|
+
v(n, (s, i) => {
|
|
123
123
|
let o;
|
|
124
124
|
(o = t(s, i, e)) !== !1 && (r[i] = o || s);
|
|
125
125
|
}), Object.defineProperties(e, r);
|
|
@@ -145,10 +145,10 @@ const Ut = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
145
145
|
});
|
|
146
146
|
};
|
|
147
147
|
return M(e) ? r(e) : r(String(e).split(t)), n;
|
|
148
|
-
},
|
|
149
|
-
},
|
|
148
|
+
}, vt = () => {
|
|
149
|
+
}, Kt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
150
150
|
function Xt(e) {
|
|
151
|
-
return !!(e && T(e.append) && e[
|
|
151
|
+
return !!(e && T(e.append) && e[ve] === "FormData" && e[re]);
|
|
152
152
|
}
|
|
153
153
|
const Gt = (e) => {
|
|
154
154
|
const t = new Array(10), n = (r, s) => {
|
|
@@ -160,7 +160,7 @@ const Gt = (e) => {
|
|
|
160
160
|
if (!("toJSON" in r)) {
|
|
161
161
|
t[s] = r;
|
|
162
162
|
const i = M(r) ? [] : {};
|
|
163
|
-
return
|
|
163
|
+
return v(r, (o, c) => {
|
|
164
164
|
const d = n(o, s + 1);
|
|
165
165
|
!H(d) && (i[c] = d);
|
|
166
166
|
}), t[s] = void 0, i;
|
|
@@ -178,7 +178,7 @@ const Gt = (e) => {
|
|
|
178
178
|
T(k.postMessage)
|
|
179
179
|
), Yt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k) : typeof process < "u" && process.nextTick || Ye, en = (e) => e != null && T(e[re]), a = {
|
|
180
180
|
isArray: M,
|
|
181
|
-
isArrayBuffer:
|
|
181
|
+
isArrayBuffer: Ke,
|
|
182
182
|
isBuffer: V,
|
|
183
183
|
isFormData: xt,
|
|
184
184
|
isArrayBufferView: bt,
|
|
@@ -190,19 +190,19 @@ const Gt = (e) => {
|
|
|
190
190
|
isEmptyObject: gt,
|
|
191
191
|
isReadableStream: Nt,
|
|
192
192
|
isRequest: Pt,
|
|
193
|
-
isResponse:
|
|
194
|
-
isHeaders:
|
|
193
|
+
isResponse: Ft,
|
|
194
|
+
isHeaders: _t,
|
|
195
195
|
isUndefined: H,
|
|
196
196
|
isDate: Rt,
|
|
197
197
|
isFile: St,
|
|
198
198
|
isBlob: Ot,
|
|
199
|
-
isRegExp:
|
|
199
|
+
isRegExp: Jt,
|
|
200
200
|
isFunction: T,
|
|
201
201
|
isStream: At,
|
|
202
202
|
isURLSearchParams: Ct,
|
|
203
203
|
isTypedArray: It,
|
|
204
204
|
isFileList: Tt,
|
|
205
|
-
forEach:
|
|
205
|
+
forEach: v,
|
|
206
206
|
merge: pe,
|
|
207
207
|
extend: Ut,
|
|
208
208
|
trim: Lt,
|
|
@@ -216,15 +216,15 @@ const Gt = (e) => {
|
|
|
216
216
|
forEachEntry: Ht,
|
|
217
217
|
matchAll: Mt,
|
|
218
218
|
isHTMLForm: zt,
|
|
219
|
-
hasOwnProperty:
|
|
220
|
-
hasOwnProp:
|
|
219
|
+
hasOwnProperty: Fe,
|
|
220
|
+
hasOwnProp: Fe,
|
|
221
221
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
222
222
|
reduceDescriptors: Ze,
|
|
223
223
|
freezeMethods: Vt,
|
|
224
224
|
toObjectSet: Wt,
|
|
225
|
-
toCamelCase:
|
|
226
|
-
noop:
|
|
227
|
-
toFiniteNumber:
|
|
225
|
+
toCamelCase: $t,
|
|
226
|
+
noop: vt,
|
|
227
|
+
toFiniteNumber: Kt,
|
|
228
228
|
findKey: Ge,
|
|
229
229
|
global: k,
|
|
230
230
|
isContextDefined: Qe,
|
|
@@ -295,7 +295,7 @@ function he(e) {
|
|
|
295
295
|
function nt(e) {
|
|
296
296
|
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function _e(e, t, n) {
|
|
299
299
|
return e ? e.concat(t).map(function(s, i) {
|
|
300
300
|
return s = nt(s), !n && i ? "[" + s + "]" : s;
|
|
301
301
|
}).join(n ? "." : "") : t;
|
|
@@ -338,12 +338,12 @@ function ie(e, t, n) {
|
|
|
338
338
|
return m = nt(m), E.forEach(function(g, O) {
|
|
339
339
|
!(a.isUndefined(g) || g === null) && t.append(
|
|
340
340
|
// eslint-disable-next-line no-nested-ternary
|
|
341
|
-
o === !0 ?
|
|
341
|
+
o === !0 ? _e([m], O, i) : o === null ? m : m + "[]",
|
|
342
342
|
f(g)
|
|
343
343
|
);
|
|
344
344
|
}), !1;
|
|
345
345
|
}
|
|
346
|
-
return he(u) ? !0 : (t.append(
|
|
346
|
+
return he(u) ? !0 : (t.append(_e(p, m, i), f(u)), !1);
|
|
347
347
|
}
|
|
348
348
|
const h = [], b = Object.assign(rn, {
|
|
349
349
|
defaultVisitor: l,
|
|
@@ -383,10 +383,10 @@ function Le(e) {
|
|
|
383
383
|
return t[r];
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function we(e, t) {
|
|
387
387
|
this._pairs = [], e && ie(e, this, t);
|
|
388
388
|
}
|
|
389
|
-
const rt =
|
|
389
|
+
const rt = we.prototype;
|
|
390
390
|
rt.append = function(t, n) {
|
|
391
391
|
this._pairs.push([t, n]);
|
|
392
392
|
};
|
|
@@ -410,7 +410,7 @@ function st(e, t, n) {
|
|
|
410
410
|
});
|
|
411
411
|
const s = n && n.serialize;
|
|
412
412
|
let i;
|
|
413
|
-
if (s ? i = s(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new
|
|
413
|
+
if (s ? i = s(t, n) : i = a.isURLSearchParams(t) ? t.toString() : new we(t, n).toString(r), i) {
|
|
414
414
|
const o = e.indexOf("#");
|
|
415
415
|
o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
|
|
416
416
|
}
|
|
@@ -441,7 +441,7 @@ class Ue {
|
|
|
441
441
|
*
|
|
442
442
|
* @param {Number} id The ID that was returned by `use`
|
|
443
443
|
*
|
|
444
|
-
* @returns {
|
|
444
|
+
* @returns {void}
|
|
445
445
|
*/
|
|
446
446
|
eject(t) {
|
|
447
447
|
this.handlers[t] && (this.handlers[t] = null);
|
|
@@ -474,7 +474,7 @@ const ot = {
|
|
|
474
474
|
silentJSONParsing: !0,
|
|
475
475
|
forcedJSONParsing: !0,
|
|
476
476
|
clarifyTimeoutError: !1
|
|
477
|
-
}, on = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
477
|
+
}, on = typeof URLSearchParams < "u" ? URLSearchParams : we, an = typeof FormData < "u" ? FormData : null, cn = typeof Blob < "u" ? Blob : null, ln = {
|
|
478
478
|
isBrowser: !0,
|
|
479
479
|
classes: {
|
|
480
480
|
URLSearchParams: on,
|
|
@@ -482,10 +482,10 @@ const ot = {
|
|
|
482
482
|
Blob: cn
|
|
483
483
|
},
|
|
484
484
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
485
|
-
},
|
|
486
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", dn =
|
|
485
|
+
}, Ee = typeof window < "u" && typeof document < "u", me = typeof navigator == "object" && navigator || void 0, un = Ee && (!me || ["ReactNative", "NativeScript", "NS"].indexOf(me.product) < 0), fn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
486
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", dn = Ee && window.location.href || "http://localhost", pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
487
487
|
__proto__: null,
|
|
488
|
-
hasBrowserEnv:
|
|
488
|
+
hasBrowserEnv: Ee,
|
|
489
489
|
hasStandardBrowserEnv: un,
|
|
490
490
|
hasStandardBrowserWebWorkerEnv: fn,
|
|
491
491
|
navigator: me,
|
|
@@ -539,7 +539,7 @@ function bn(e, t, n) {
|
|
|
539
539
|
}
|
|
540
540
|
return (n || JSON.stringify)(e);
|
|
541
541
|
}
|
|
542
|
-
const
|
|
542
|
+
const K = {
|
|
543
543
|
transitional: ot,
|
|
544
544
|
adapter: ["xhr", "http", "fetch"],
|
|
545
545
|
transformRequest: [function(t, n) {
|
|
@@ -568,7 +568,7 @@ const v = {
|
|
|
568
568
|
return i || s ? (n.setContentType("application/json", !1), bn(t)) : t;
|
|
569
569
|
}],
|
|
570
570
|
transformResponse: [function(t) {
|
|
571
|
-
const n = this.transitional ||
|
|
571
|
+
const n = this.transitional || K.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
|
|
572
572
|
if (a.isResponse(t) || a.isReadableStream(t))
|
|
573
573
|
return t;
|
|
574
574
|
if (t && a.isString(t) && (r && !this.responseType || s)) {
|
|
@@ -606,7 +606,7 @@ const v = {
|
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
609
|
-
|
|
609
|
+
K.headers[e] = {};
|
|
610
610
|
});
|
|
611
611
|
const wn = a.toObjectSet([
|
|
612
612
|
"age",
|
|
@@ -634,7 +634,7 @@ const wn = a.toObjectSet([
|
|
|
634
634
|
s = o.indexOf(":"), n = o.substring(0, s).trim().toLowerCase(), r = o.substring(s + 1).trim(), !(!n || t[n] && wn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
635
635
|
}), t;
|
|
636
636
|
}, Be = Symbol("internals");
|
|
637
|
-
function
|
|
637
|
+
function J(e) {
|
|
638
638
|
return e && String(e).trim().toLowerCase();
|
|
639
639
|
}
|
|
640
640
|
function ee(e) {
|
|
@@ -679,7 +679,7 @@ class A {
|
|
|
679
679
|
set(t, n, r) {
|
|
680
680
|
const s = this;
|
|
681
681
|
function i(c, d, f) {
|
|
682
|
-
const l =
|
|
682
|
+
const l = J(d);
|
|
683
683
|
if (!l)
|
|
684
684
|
throw new Error("header name must be a non-empty string");
|
|
685
685
|
const h = a.findKey(s, l);
|
|
@@ -703,7 +703,7 @@ class A {
|
|
|
703
703
|
return this;
|
|
704
704
|
}
|
|
705
705
|
get(t, n) {
|
|
706
|
-
if (t =
|
|
706
|
+
if (t = J(t), t) {
|
|
707
707
|
const r = a.findKey(this, t);
|
|
708
708
|
if (r) {
|
|
709
709
|
const s = this[r];
|
|
@@ -720,7 +720,7 @@ class A {
|
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
has(t, n) {
|
|
723
|
-
if (t =
|
|
723
|
+
if (t = J(t), t) {
|
|
724
724
|
const r = a.findKey(this, t);
|
|
725
725
|
return !!(r && this[r] !== void 0 && (!n || ue(this, this[r], r, n)));
|
|
726
726
|
}
|
|
@@ -730,7 +730,7 @@ class A {
|
|
|
730
730
|
const r = this;
|
|
731
731
|
let s = !1;
|
|
732
732
|
function i(o) {
|
|
733
|
-
if (o =
|
|
733
|
+
if (o = J(o), o) {
|
|
734
734
|
const c = a.findKey(r, o);
|
|
735
735
|
c && (!n || ue(r, r[c], c, n)) && (delete r[c], s = !0);
|
|
736
736
|
}
|
|
@@ -792,7 +792,7 @@ class A {
|
|
|
792
792
|
accessors: {}
|
|
793
793
|
}).accessors, s = this.prototype;
|
|
794
794
|
function i(o) {
|
|
795
|
-
const c =
|
|
795
|
+
const c = J(o);
|
|
796
796
|
r[c] || (On(s, o), r[c] = !0);
|
|
797
797
|
}
|
|
798
798
|
return a.isArray(t) ? t.forEach(i) : i(t), this;
|
|
@@ -810,7 +810,7 @@ a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
|
|
|
810
810
|
});
|
|
811
811
|
a.freezeMethods(A);
|
|
812
812
|
function fe(e, t) {
|
|
813
|
-
const n = this ||
|
|
813
|
+
const n = this || K, r = t || n, s = A.from(r.headers);
|
|
814
814
|
let i = r.data;
|
|
815
815
|
return a.forEach(e, function(c) {
|
|
816
816
|
i = c.call(n, i, s.normalize(), t ? t.status : void 0);
|
|
@@ -899,16 +899,18 @@ const ne = (e, t, n = 3) => {
|
|
|
899
899
|
) : () => !0, Nn = S.hasStandardBrowserEnv ? (
|
|
900
900
|
// Standard browser envs support document.cookie
|
|
901
901
|
{
|
|
902
|
-
write(e, t, n, r, s, i) {
|
|
903
|
-
|
|
904
|
-
|
|
902
|
+
write(e, t, n, r, s, i, o) {
|
|
903
|
+
if (typeof document > "u") return;
|
|
904
|
+
const c = [`${e}=${encodeURIComponent(t)}`];
|
|
905
|
+
a.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), a.isString(r) && c.push(`path=${r}`), a.isString(s) && c.push(`domain=${s}`), i === !0 && c.push("secure"), a.isString(o) && c.push(`SameSite=${o}`), document.cookie = c.join("; ");
|
|
905
906
|
},
|
|
906
907
|
read(e) {
|
|
907
|
-
|
|
908
|
-
|
|
908
|
+
if (typeof document > "u") return null;
|
|
909
|
+
const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
|
|
910
|
+
return t ? decodeURIComponent(t[1]) : null;
|
|
909
911
|
},
|
|
910
912
|
remove(e) {
|
|
911
|
-
this.write(e, "", Date.now() - 864e5);
|
|
913
|
+
this.write(e, "", Date.now() - 864e5, "/");
|
|
912
914
|
}
|
|
913
915
|
}
|
|
914
916
|
) : (
|
|
@@ -926,12 +928,12 @@ const ne = (e, t, n = 3) => {
|
|
|
926
928
|
function Pn(e) {
|
|
927
929
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
928
930
|
}
|
|
929
|
-
function
|
|
931
|
+
function Fn(e, t) {
|
|
930
932
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
931
933
|
}
|
|
932
934
|
function lt(e, t, n) {
|
|
933
935
|
let r = !Pn(t);
|
|
934
|
-
return e && (r || n == !1) ?
|
|
936
|
+
return e && (r || n == !1) ? Fn(e, t) : t;
|
|
935
937
|
}
|
|
936
938
|
const je = (e) => e instanceof A ? { ...e } : e;
|
|
937
939
|
function q(e, t) {
|
|
@@ -1019,7 +1021,7 @@ const ut = (e) => {
|
|
|
1019
1021
|
d && o.set(s, d);
|
|
1020
1022
|
}
|
|
1021
1023
|
return t;
|
|
1022
|
-
},
|
|
1024
|
+
}, _n = typeof XMLHttpRequest < "u", Ln = _n && function(e) {
|
|
1023
1025
|
return new Promise(function(n, r) {
|
|
1024
1026
|
const s = ut(e);
|
|
1025
1027
|
let i = s.data;
|
|
@@ -1231,7 +1233,7 @@ const ut = (e) => {
|
|
|
1231
1233
|
fetchOptions: Te
|
|
1232
1234
|
} = ut(u), Ae = t || fetch;
|
|
1233
1235
|
C = C ? (C + "").toLowerCase() : "text";
|
|
1234
|
-
let G = Un([x, g && g.toAbortSignal()], O),
|
|
1236
|
+
let G = Un([x, g && g.toAbortSignal()], O), $ = null;
|
|
1235
1237
|
const D = G && G.unsubscribe && (() => {
|
|
1236
1238
|
G.unsubscribe();
|
|
1237
1239
|
});
|
|
@@ -1252,17 +1254,17 @@ const ut = (e) => {
|
|
|
1252
1254
|
}
|
|
1253
1255
|
}
|
|
1254
1256
|
a.isString(X) || (X = X ? "include" : "omit");
|
|
1255
|
-
const
|
|
1257
|
+
const F = i && "credentials" in n.prototype, Ce = {
|
|
1256
1258
|
...Te,
|
|
1257
1259
|
signal: G,
|
|
1258
1260
|
method: p.toUpperCase(),
|
|
1259
1261
|
headers: ce.normalize().toJSON(),
|
|
1260
1262
|
body: E,
|
|
1261
1263
|
duplex: "half",
|
|
1262
|
-
credentials:
|
|
1264
|
+
credentials: F ? X : void 0
|
|
1263
1265
|
};
|
|
1264
|
-
|
|
1265
|
-
let L = await (i ? Ae(
|
|
1266
|
+
$ = i && new n(m, Ce);
|
|
1267
|
+
let L = await (i ? Ae($, Te) : Ae(m, Ce));
|
|
1266
1268
|
const Ne = l && (C === "stream" || C === "response");
|
|
1267
1269
|
if (l && (N || Ne && D)) {
|
|
1268
1270
|
const U = {};
|
|
@@ -1289,20 +1291,20 @@ const ut = (e) => {
|
|
|
1289
1291
|
status: L.status,
|
|
1290
1292
|
statusText: L.statusText,
|
|
1291
1293
|
config: u,
|
|
1292
|
-
request:
|
|
1294
|
+
request: $
|
|
1293
1295
|
});
|
|
1294
1296
|
});
|
|
1295
|
-
} catch (
|
|
1296
|
-
throw D && D(),
|
|
1297
|
-
new y("Network Error", y.ERR_NETWORK, u,
|
|
1297
|
+
} catch (F) {
|
|
1298
|
+
throw D && D(), F && F.name === "TypeError" && /Load failed|fetch/i.test(F.message) ? Object.assign(
|
|
1299
|
+
new y("Network Error", y.ERR_NETWORK, u, $),
|
|
1298
1300
|
{
|
|
1299
|
-
cause:
|
|
1301
|
+
cause: F.cause || F
|
|
1300
1302
|
}
|
|
1301
|
-
) : y.from(
|
|
1303
|
+
) : y.from(F, F && F.code, u, $);
|
|
1302
1304
|
}
|
|
1303
1305
|
};
|
|
1304
1306
|
}, In = /* @__PURE__ */ new Map(), ft = (e) => {
|
|
1305
|
-
let t = e
|
|
1307
|
+
let t = e && e.env || {};
|
|
1306
1308
|
const { fetch: n, Request: r, Response: s } = t, i = [
|
|
1307
1309
|
r,
|
|
1308
1310
|
s,
|
|
@@ -1314,14 +1316,14 @@ const ut = (e) => {
|
|
|
1314
1316
|
return f;
|
|
1315
1317
|
};
|
|
1316
1318
|
ft();
|
|
1317
|
-
const
|
|
1319
|
+
const ge = {
|
|
1318
1320
|
http: tn,
|
|
1319
1321
|
xhr: Ln,
|
|
1320
1322
|
fetch: {
|
|
1321
1323
|
get: ft
|
|
1322
1324
|
}
|
|
1323
1325
|
};
|
|
1324
|
-
a.forEach(
|
|
1326
|
+
a.forEach(ge, (e, t) => {
|
|
1325
1327
|
if (e) {
|
|
1326
1328
|
try {
|
|
1327
1329
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1330,46 +1332,56 @@ a.forEach(ye, (e, t) => {
|
|
|
1330
1332
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1331
1333
|
}
|
|
1332
1334
|
});
|
|
1333
|
-
const
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
` + o.map(
|
|
1354
|
-
`) : " " +
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1335
|
+
const $e = (e) => `- ${e}`, Hn = (e) => a.isFunction(e) || e === null || e === !1;
|
|
1336
|
+
function Mn(e, t) {
|
|
1337
|
+
e = a.isArray(e) ? e : [e];
|
|
1338
|
+
const { length: n } = e;
|
|
1339
|
+
let r, s;
|
|
1340
|
+
const i = {};
|
|
1341
|
+
for (let o = 0; o < n; o++) {
|
|
1342
|
+
r = e[o];
|
|
1343
|
+
let c;
|
|
1344
|
+
if (s = r, !Hn(r) && (s = ge[(c = String(r)).toLowerCase()], s === void 0))
|
|
1345
|
+
throw new y(`Unknown adapter '${c}'`);
|
|
1346
|
+
if (s && (a.isFunction(s) || (s = s.get(t))))
|
|
1347
|
+
break;
|
|
1348
|
+
i[c || "#" + o] = s;
|
|
1349
|
+
}
|
|
1350
|
+
if (!s) {
|
|
1351
|
+
const o = Object.entries(i).map(
|
|
1352
|
+
([d, f]) => `adapter ${d} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1353
|
+
);
|
|
1354
|
+
let c = n ? o.length > 1 ? `since :
|
|
1355
|
+
` + o.map($e).join(`
|
|
1356
|
+
`) : " " + $e(o[0]) : "as no adapter specified";
|
|
1357
|
+
throw new y(
|
|
1358
|
+
"There is no suitable adapter to dispatch the request " + c,
|
|
1359
|
+
"ERR_NOT_SUPPORT"
|
|
1360
|
+
);
|
|
1361
|
+
}
|
|
1362
|
+
return s;
|
|
1363
|
+
}
|
|
1364
|
+
const dt = {
|
|
1365
|
+
/**
|
|
1366
|
+
* Resolve an adapter from a list of adapter names or functions.
|
|
1367
|
+
* @type {Function}
|
|
1368
|
+
*/
|
|
1369
|
+
getAdapter: Mn,
|
|
1370
|
+
/**
|
|
1371
|
+
* Exposes all known adapters
|
|
1372
|
+
* @type {Object<string, Function|Object>}
|
|
1373
|
+
*/
|
|
1374
|
+
adapters: ge
|
|
1363
1375
|
};
|
|
1364
1376
|
function de(e) {
|
|
1365
1377
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1366
1378
|
throw new z(null, e);
|
|
1367
1379
|
}
|
|
1368
|
-
function
|
|
1380
|
+
function Je(e) {
|
|
1369
1381
|
return de(e), e.headers = A.from(e.headers), e.data = fe.call(
|
|
1370
1382
|
e,
|
|
1371
1383
|
e.transformRequest
|
|
1372
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), dt.getAdapter(e.adapter ||
|
|
1384
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), dt.getAdapter(e.adapter || K.adapter, e)(e).then(function(r) {
|
|
1373
1385
|
return de(e), r.data = fe.call(
|
|
1374
1386
|
e,
|
|
1375
1387
|
e.transformResponse,
|
|
@@ -1383,7 +1395,7 @@ function $e(e) {
|
|
|
1383
1395
|
), r.response.headers = A.from(r.response.headers))), Promise.reject(r);
|
|
1384
1396
|
});
|
|
1385
1397
|
}
|
|
1386
|
-
const pt = "1.
|
|
1398
|
+
const pt = "1.13.2", ae = {};
|
|
1387
1399
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1388
1400
|
ae[e] = function(r) {
|
|
1389
1401
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -1411,7 +1423,7 @@ ae.transitional = function(t, n, r) {
|
|
|
1411
1423
|
ae.spelling = function(t) {
|
|
1412
1424
|
return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
|
|
1413
1425
|
};
|
|
1414
|
-
function
|
|
1426
|
+
function zn(e, t, n) {
|
|
1415
1427
|
if (typeof e != "object")
|
|
1416
1428
|
throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
|
|
1417
1429
|
const r = Object.keys(e);
|
|
@@ -1429,9 +1441,9 @@ function Mn(e, t, n) {
|
|
|
1429
1441
|
}
|
|
1430
1442
|
}
|
|
1431
1443
|
const te = {
|
|
1432
|
-
assertOptions:
|
|
1444
|
+
assertOptions: zn,
|
|
1433
1445
|
validators: ae
|
|
1434
|
-
},
|
|
1446
|
+
}, _ = te.validators;
|
|
1435
1447
|
class j {
|
|
1436
1448
|
constructor(t) {
|
|
1437
1449
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -1468,17 +1480,17 @@ class j {
|
|
|
1468
1480
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = q(this.defaults, n);
|
|
1469
1481
|
const { transitional: r, paramsSerializer: s, headers: i } = n;
|
|
1470
1482
|
r !== void 0 && te.assertOptions(r, {
|
|
1471
|
-
silentJSONParsing:
|
|
1472
|
-
forcedJSONParsing:
|
|
1473
|
-
clarifyTimeoutError:
|
|
1483
|
+
silentJSONParsing: _.transitional(_.boolean),
|
|
1484
|
+
forcedJSONParsing: _.transitional(_.boolean),
|
|
1485
|
+
clarifyTimeoutError: _.transitional(_.boolean)
|
|
1474
1486
|
}, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
|
|
1475
1487
|
serialize: s
|
|
1476
1488
|
} : te.assertOptions(s, {
|
|
1477
|
-
encode:
|
|
1478
|
-
serialize:
|
|
1489
|
+
encode: _.function,
|
|
1490
|
+
serialize: _.function
|
|
1479
1491
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), te.assertOptions(n, {
|
|
1480
|
-
baseUrl:
|
|
1481
|
-
withXsrfToken:
|
|
1492
|
+
baseUrl: _.spelling("baseURL"),
|
|
1493
|
+
withXsrfToken: _.spelling("withXSRFToken")
|
|
1482
1494
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1483
1495
|
let o = i && a.merge(
|
|
1484
1496
|
i.common,
|
|
@@ -1501,7 +1513,7 @@ class j {
|
|
|
1501
1513
|
});
|
|
1502
1514
|
let l, h = 0, b;
|
|
1503
1515
|
if (!d) {
|
|
1504
|
-
const u = [
|
|
1516
|
+
const u = [Je.bind(this), void 0];
|
|
1505
1517
|
for (u.unshift(...c), u.push(...f), b = u.length, l = Promise.resolve(n); h < b; )
|
|
1506
1518
|
l = l.then(u[h++], u[h++]);
|
|
1507
1519
|
return l;
|
|
@@ -1518,7 +1530,7 @@ class j {
|
|
|
1518
1530
|
}
|
|
1519
1531
|
}
|
|
1520
1532
|
try {
|
|
1521
|
-
l =
|
|
1533
|
+
l = Je.call(this, R);
|
|
1522
1534
|
} catch (u) {
|
|
1523
1535
|
return Promise.reject(u);
|
|
1524
1536
|
}
|
|
@@ -1629,7 +1641,7 @@ class Re {
|
|
|
1629
1641
|
};
|
|
1630
1642
|
}
|
|
1631
1643
|
}
|
|
1632
|
-
function
|
|
1644
|
+
function $n(e) {
|
|
1633
1645
|
return function(n) {
|
|
1634
1646
|
return e.apply(null, n);
|
|
1635
1647
|
};
|
|
@@ -1637,7 +1649,7 @@ function zn(e) {
|
|
|
1637
1649
|
function Jn(e) {
|
|
1638
1650
|
return a.isObject(e) && e.isAxiosError === !0;
|
|
1639
1651
|
}
|
|
1640
|
-
const
|
|
1652
|
+
const ye = {
|
|
1641
1653
|
Continue: 100,
|
|
1642
1654
|
SwitchingProtocols: 101,
|
|
1643
1655
|
Processing: 102,
|
|
@@ -1700,10 +1712,16 @@ const be = {
|
|
|
1700
1712
|
InsufficientStorage: 507,
|
|
1701
1713
|
LoopDetected: 508,
|
|
1702
1714
|
NotExtended: 510,
|
|
1703
|
-
NetworkAuthenticationRequired: 511
|
|
1715
|
+
NetworkAuthenticationRequired: 511,
|
|
1716
|
+
WebServerIsDown: 521,
|
|
1717
|
+
ConnectionTimedOut: 522,
|
|
1718
|
+
OriginIsUnreachable: 523,
|
|
1719
|
+
TimeoutOccurred: 524,
|
|
1720
|
+
SslHandshakeFailed: 525,
|
|
1721
|
+
InvalidSslCertificate: 526
|
|
1704
1722
|
};
|
|
1705
|
-
Object.entries(
|
|
1706
|
-
|
|
1723
|
+
Object.entries(ye).forEach(([e, t]) => {
|
|
1724
|
+
ye[t] = e;
|
|
1707
1725
|
});
|
|
1708
1726
|
function ht(e) {
|
|
1709
1727
|
const t = new j(e), n = We(j.prototype.request, t);
|
|
@@ -1711,7 +1729,7 @@ function ht(e) {
|
|
|
1711
1729
|
return ht(q(e, s));
|
|
1712
1730
|
}, n;
|
|
1713
1731
|
}
|
|
1714
|
-
const w = ht(
|
|
1732
|
+
const w = ht(K);
|
|
1715
1733
|
w.Axios = j;
|
|
1716
1734
|
w.CanceledError = z;
|
|
1717
1735
|
w.CancelToken = Re;
|
|
@@ -1723,19 +1741,19 @@ w.Cancel = w.CanceledError;
|
|
|
1723
1741
|
w.all = function(t) {
|
|
1724
1742
|
return Promise.all(t);
|
|
1725
1743
|
};
|
|
1726
|
-
w.spread =
|
|
1744
|
+
w.spread = $n;
|
|
1727
1745
|
w.isAxiosError = Jn;
|
|
1728
1746
|
w.mergeConfig = q;
|
|
1729
1747
|
w.AxiosHeaders = A;
|
|
1730
1748
|
w.formToJSON = (e) => it(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1731
1749
|
w.getAdapter = dt.getAdapter;
|
|
1732
|
-
w.HttpStatusCode =
|
|
1750
|
+
w.HttpStatusCode = ye;
|
|
1733
1751
|
w.default = w;
|
|
1734
1752
|
const Se = {
|
|
1735
1753
|
fetchLiveList: "get_live_list",
|
|
1736
1754
|
destroyRoom: "destroy_room",
|
|
1737
1755
|
getRoomInfo: "get_room_info"
|
|
1738
|
-
},
|
|
1756
|
+
}, Vn = async (e, t) => await Oe(e, Se.fetchLiveList, t), Wn = async (e, t) => await Oe(e, Se.destroyRoom, t), vn = async (e, t) => await Oe(e, Se.getRoomInfo, t), Oe = async (e, t, n) => {
|
|
1739
1757
|
const r = await w.post(`${e}/${t}`, n);
|
|
1740
1758
|
return {
|
|
1741
1759
|
code: r.data.ErrorCode,
|
|
@@ -1743,7 +1761,7 @@ const Se = {
|
|
|
1743
1761
|
};
|
|
1744
1762
|
};
|
|
1745
1763
|
export {
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1764
|
+
Wn as destroyRoom,
|
|
1765
|
+
Vn as fetchLiveList,
|
|
1766
|
+
vn as getRoomInfo
|
|
1749
1767
|
};
|