component-sanzhizhou 1.0.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/LICENSE +21 -0
- package/README.md +7 -0
- package/dist/Ad/index.d.ts +11 -0
- package/dist/Ad/index.js +143 -0
- package/dist/Ad/index.less +12 -0
- package/dist/Auth/index.d.ts +16 -0
- package/dist/Auth/index.js +374 -0
- package/dist/AuthClient/index.js +30 -0
- package/dist/AuthClient/login-reg.css.js +6 -0
- package/dist/AuthClient/login-reg.js +78 -0
- package/dist/AuthClient/login.css.js +6 -0
- package/dist/AuthClient/login.d.ts +14 -0
- package/dist/AuthClient/login.js +198 -0
- package/dist/AuthClient/qr/h5-we-public-login.d.ts +2 -0
- package/dist/AuthClient/qr/h5-we-public-login.js +22 -0
- package/dist/AuthClient/qr/index.css.js +9 -0
- package/dist/AuthClient/qr/index.d.ts +15 -0
- package/dist/AuthClient/qr/index.js +348 -0
- package/dist/AuthClient/qr/typings.d.ts +22 -0
- package/dist/AuthClient/qr/ws.js +253 -0
- package/dist/AuthClient/reg.js +185 -0
- package/dist/AuthClient/user-offline.js +41 -0
- package/dist/Buy/index.css.js +6 -0
- package/dist/Buy/index.d.ts +14 -0
- package/dist/Buy/index.js +121 -0
- package/dist/Buy/qr.css.js +6 -0
- package/dist/Buy/qr.d.ts +11 -0
- package/dist/Buy/qr.js +354 -0
- package/dist/Buy/trial-member.css.js +6 -0
- package/dist/Buy/trial-member.d.ts +8 -0
- package/dist/Buy/trial-member.js +45 -0
- package/dist/Client/ClientUpdate/index.js +92 -0
- package/dist/Client/ClientUpdate/index.less +23 -0
- package/dist/Login/index.js +5 -0
- package/dist/Notice/index.js +36 -0
- package/dist/PhonePublish/account-manage/home.d.ts +11 -0
- package/dist/PhonePublish/account-manage/home.js +242 -0
- package/dist/PhonePublish/account-manage/home.less +28 -0
- package/dist/PhonePublish/account-manage/index.d.ts +3 -0
- package/dist/PhonePublish/account-manage/index.js +56 -0
- package/dist/PhonePublish/account-manage/index.less +59 -0
- package/dist/PhonePublish/account-manage/list.d.ts +17 -0
- package/dist/PhonePublish/account-manage/list.js +443 -0
- package/dist/PhonePublish/account-manage/list.less +95 -0
- package/dist/PhonePublish/account-manage/setting/index.d.ts +6 -0
- package/dist/PhonePublish/account-manage/setting/index.js +199 -0
- package/dist/PhonePublish/account-manage/setting/index.less +11 -0
- package/dist/PhonePublish/create-task/base/index.d.ts +10 -0
- package/dist/PhonePublish/create-task/base/index.js +386 -0
- package/dist/PhonePublish/create-task/base/index.less +64 -0
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.d.ts +2 -0
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.js +136 -0
- package/dist/PhonePublish/create-task/hour-enabled.js +42 -0
- package/dist/PhonePublish/create-task/hour-enabled.less +24 -0
- package/dist/PhonePublish/create-task/index.d.ts +11 -0
- package/dist/PhonePublish/create-task/index.js +449 -0
- package/dist/PhonePublish/create-task/index.less +75 -0
- package/dist/PhonePublish/create-task/select-list.css.js +6 -0
- package/dist/PhonePublish/create-task/select-list.d.ts +8 -0
- package/dist/PhonePublish/create-task/select-list.js +304 -0
- package/dist/PhonePublish/create-task/task-list.css.js +6 -0
- package/dist/PhonePublish/create-task/task-list.d.ts +9 -0
- package/dist/PhonePublish/create-task/task-list.js +323 -0
- package/dist/PhonePublish/index.css.js +35 -0
- package/dist/PhonePublish/index.d.ts +15 -0
- package/dist/PhonePublish/index.js +192 -0
- package/dist/PhonePublish/index.less +55 -0
- package/dist/PhonePublish/lib/chrome-quit.js +20 -0
- package/dist/PhonePublish/log/index.d.ts +8 -0
- package/dist/PhonePublish/log/index.js +186 -0
- package/dist/PhonePublish/log/index.less +81 -0
- package/dist/PhonePublish/publish-task-plan/index.d.ts +9 -0
- package/dist/PhonePublish/publish-task-plan/index.js +32 -0
- package/dist/PhonePublish/publish-task-plan/index.less +4 -0
- package/dist/PhonePublish/publish-task-plan/tool-bak.txt +219 -0
- package/dist/PhonePublish/publish-task-plan/tool.d.ts +29 -0
- package/dist/PhonePublish/publish-task-plan/tool.js +720 -0
- package/dist/PhonePublish/task-list/index.d.ts +8 -0
- package/dist/PhonePublish/task-list/index.js +224 -0
- package/dist/PhonePublish/task-list/index.less +8 -0
- package/dist/PhonePublish/task-list/plan/list.d.ts +12 -0
- package/dist/PhonePublish/task-list/plan/list.js +290 -0
- package/dist/PhonePublish/task-list/plan/list.less +87 -0
- package/dist/PhonePublish/task-list/plan/operate.d.ts +8 -0
- package/dist/PhonePublish/task-list/plan/operate.js +145 -0
- package/dist/PhonePublish/task-list/plan/query.d.ts +8 -0
- package/dist/PhonePublish/task-list/plan/query.js +89 -0
- package/dist/PhonePublish/task-list/plan/query.less +9 -0
- package/dist/PhonePublish/task-list/plan/status.js +53 -0
- package/dist/PhonePublish/task-list/query.js +76 -0
- package/dist/PhonePublish/task-list/query.less +19 -0
- package/dist/PhonePublish/task-list/who-can-view.js +37 -0
- package/dist/PhonePublish/video-account/ban/index.d.ts +10 -0
- package/dist/PhonePublish/video-account/ban/index.js +94 -0
- package/dist/PhonePublish/video-account/ban/index.less +4 -0
- package/dist/PhonePublish/video-account/base-info.d.ts +13 -0
- package/dist/PhonePublish/video-account/base-info.js +75 -0
- package/dist/PhonePublish/video-account/base-info.less +92 -0
- package/dist/PhonePublish/video-account/create.d.ts +8 -0
- package/dist/PhonePublish/video-account/create.js +174 -0
- package/dist/PhonePublish/video-account/group.d.ts +9 -0
- package/dist/PhonePublish/video-account/group.js +255 -0
- package/dist/PhonePublish/video-account/group.less +10 -0
- package/dist/PhonePublish/video-account/index.d.ts +8 -0
- package/dist/PhonePublish/video-account/index.js +403 -0
- package/dist/PhonePublish/video-account/index.less +92 -0
- package/dist/PhonePublish/video-account/query.d.ts +8 -0
- package/dist/PhonePublish/video-account/query.js +115 -0
- package/dist/PhonePublish/video-account/query.less +18 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.d.ts +8 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.js +173 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/kind-list.js +22 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.js +54 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/index.d.ts +2 -0
- package/dist/PhonePublish/video-publish-statistic/index.js +37 -0
- package/dist/PhonePublish/video-publish-statistic/kind.js +57 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.d.ts +7 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.js +242 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.less +10 -0
- package/dist/PhonePublish/video-publish-statistic/operation/query.js +56 -0
- package/dist/PhonePublish/video-publish-statistic/operation/query.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.d.ts +8 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.js +257 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.less +105 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.js +79 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.less +3 -0
- package/dist/Product/dict.d.ts +16 -0
- package/dist/Product/dict.js +93 -0
- package/dist/Product/index.js +36 -0
- package/dist/UI/DialogDrawer.css.js +6 -0
- package/dist/UI/DialogDrawer.js +74 -0
- package/dist/UI/DialogDrawerFooter.css.js +6 -0
- package/dist/UI/DialogDrawerFooter.js +22 -0
- package/dist/UI/FileSize.css.js +6 -0
- package/dist/UI/FileSize.js +63 -0
- package/dist/UI/LayoutContent.js +73 -0
- package/dist/UI/LayoutContent.less +64 -0
- package/dist/UI/LoadError.css.js +6 -0
- package/dist/UI/LoadError.js +36 -0
- package/dist/UI/Money/index.css.js +6 -0
- package/dist/UI/Money/index.js +40 -0
- package/dist/UI/PageContentWarp.js +80 -0
- package/dist/UI/PageContentWarp.less +56 -0
- package/dist/UI/PageLoading.js +11 -0
- package/dist/UI/PageLoading.less +7 -0
- package/dist/UI/Time.js +21 -0
- package/dist/UI/duration.css.js +6 -0
- package/dist/UI/duration.js +49 -0
- package/dist/UI/enabled.js +28 -0
- package/dist/UI/text-input.js +110 -0
- package/dist/UI/text-input.less +22 -0
- package/dist/VideoPublish/account-manage/home.d.ts +11 -0
- package/dist/VideoPublish/account-manage/home.js +232 -0
- package/dist/VideoPublish/account-manage/home.less +58 -0
- package/dist/VideoPublish/account-manage/index.d.ts +3 -0
- package/dist/VideoPublish/account-manage/index.js +56 -0
- package/dist/VideoPublish/account-manage/index.less +59 -0
- package/dist/VideoPublish/account-manage/list.d.ts +17 -0
- package/dist/VideoPublish/account-manage/list.js +501 -0
- package/dist/VideoPublish/account-manage/list.less +95 -0
- package/dist/VideoPublish/account-manage/setting/index.d.ts +6 -0
- package/dist/VideoPublish/account-manage/setting/index.js +199 -0
- package/dist/VideoPublish/account-manage/setting/index.less +11 -0
- package/dist/VideoPublish/create-task/base/index.d.ts +10 -0
- package/dist/VideoPublish/create-task/base/index.js +386 -0
- package/dist/VideoPublish/create-task/base/index.less +64 -0
- package/dist/VideoPublish/create-task/getVideoGoodsUrl.d.ts +2 -0
- package/dist/VideoPublish/create-task/getVideoGoodsUrl.js +136 -0
- package/dist/VideoPublish/create-task/hour-enabled.js +42 -0
- package/dist/VideoPublish/create-task/hour-enabled.less +24 -0
- package/dist/VideoPublish/create-task/index.d.ts +11 -0
- package/dist/VideoPublish/create-task/index.js +449 -0
- package/dist/VideoPublish/create-task/index.less +75 -0
- package/dist/VideoPublish/create-task/select-list.css.js +6 -0
- package/dist/VideoPublish/create-task/select-list.d.ts +8 -0
- package/dist/VideoPublish/create-task/select-list.js +304 -0
- package/dist/VideoPublish/create-task/task-list.css.js +6 -0
- package/dist/VideoPublish/create-task/task-list.d.ts +9 -0
- package/dist/VideoPublish/create-task/task-list.js +323 -0
- package/dist/VideoPublish/index.css.js +35 -0
- package/dist/VideoPublish/index.d.ts +15 -0
- package/dist/VideoPublish/index.js +235 -0
- package/dist/VideoPublish/index.less +55 -0
- package/dist/VideoPublish/lib/chrome-quit.js +20 -0
- package/dist/VideoPublish/log/index.d.ts +8 -0
- package/dist/VideoPublish/log/index.js +186 -0
- package/dist/VideoPublish/log/index.less +81 -0
- package/dist/VideoPublish/proxy/create.d.ts +8 -0
- package/dist/VideoPublish/proxy/create.js +176 -0
- package/dist/VideoPublish/proxy/list.d.ts +9 -0
- package/dist/VideoPublish/proxy/list.js +276 -0
- package/dist/VideoPublish/proxy/list.less +10 -0
- package/dist/VideoPublish/proxy/query.d.ts +9 -0
- package/dist/VideoPublish/proxy/query.js +75 -0
- package/dist/VideoPublish/proxy/query.less +10 -0
- package/dist/VideoPublish/proxy/select.d.ts +10 -0
- package/dist/VideoPublish/proxy/select.js +110 -0
- package/dist/VideoPublish/proxy/select.less +17 -0
- package/dist/VideoPublish/publish-task-plan/index.d.ts +9 -0
- package/dist/VideoPublish/publish-task-plan/index.js +32 -0
- package/dist/VideoPublish/publish-task-plan/index.less +4 -0
- package/dist/VideoPublish/publish-task-plan/tool-bak.txt +219 -0
- package/dist/VideoPublish/publish-task-plan/tool.d.ts +29 -0
- package/dist/VideoPublish/publish-task-plan/tool.js +720 -0
- package/dist/VideoPublish/task-list/index.d.ts +8 -0
- package/dist/VideoPublish/task-list/index.js +224 -0
- package/dist/VideoPublish/task-list/index.less +8 -0
- package/dist/VideoPublish/task-list/plan/list.d.ts +12 -0
- package/dist/VideoPublish/task-list/plan/list.js +290 -0
- package/dist/VideoPublish/task-list/plan/list.less +87 -0
- package/dist/VideoPublish/task-list/plan/operate.d.ts +8 -0
- package/dist/VideoPublish/task-list/plan/operate.js +145 -0
- package/dist/VideoPublish/task-list/plan/query.d.ts +8 -0
- package/dist/VideoPublish/task-list/plan/query.js +89 -0
- package/dist/VideoPublish/task-list/plan/query.less +9 -0
- package/dist/VideoPublish/task-list/plan/status.js +53 -0
- package/dist/VideoPublish/task-list/query.js +76 -0
- package/dist/VideoPublish/task-list/query.less +19 -0
- package/dist/VideoPublish/task-list/who-can-view.js +37 -0
- package/dist/VideoPublish/video-account/ban/index.d.ts +10 -0
- package/dist/VideoPublish/video-account/ban/index.js +94 -0
- package/dist/VideoPublish/video-account/ban/index.less +4 -0
- package/dist/VideoPublish/video-account/base-info.d.ts +13 -0
- package/dist/VideoPublish/video-account/base-info.js +75 -0
- package/dist/VideoPublish/video-account/base-info.less +92 -0
- package/dist/VideoPublish/video-account/create.d.ts +8 -0
- package/dist/VideoPublish/video-account/create.js +174 -0
- package/dist/VideoPublish/video-account/group.d.ts +9 -0
- package/dist/VideoPublish/video-account/group.js +255 -0
- package/dist/VideoPublish/video-account/group.less +10 -0
- package/dist/VideoPublish/video-account/index.d.ts +8 -0
- package/dist/VideoPublish/video-account/index.js +403 -0
- package/dist/VideoPublish/video-account/index.less +92 -0
- package/dist/VideoPublish/video-account/query.d.ts +8 -0
- package/dist/VideoPublish/video-account/query.js +115 -0
- package/dist/VideoPublish/video-account/query.less +18 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.d.ts +8 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.js +173 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.less +3 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/kind-list.js +22 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/query.js +54 -0
- package/dist/VideoPublish/video-publish-statistic/account-trend/query.less +3 -0
- package/dist/VideoPublish/video-publish-statistic/index.d.ts +2 -0
- package/dist/VideoPublish/video-publish-statistic/index.js +37 -0
- package/dist/VideoPublish/video-publish-statistic/kind.js +57 -0
- package/dist/VideoPublish/video-publish-statistic/operation/list.d.ts +7 -0
- package/dist/VideoPublish/video-publish-statistic/operation/list.js +242 -0
- package/dist/VideoPublish/video-publish-statistic/operation/list.less +10 -0
- package/dist/VideoPublish/video-publish-statistic/operation/query.js +56 -0
- package/dist/VideoPublish/video-publish-statistic/operation/query.less +3 -0
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.d.ts +8 -0
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.js +257 -0
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.less +105 -0
- package/dist/VideoPublish/video-publish-statistic/publish-plan/query.js +79 -0
- package/dist/VideoPublish/video-publish-statistic/publish-plan/query.less +3 -0
- package/dist/VideoPublish/video-topic/add.d.ts +9 -0
- package/dist/VideoPublish/video-topic/add.js +89 -0
- package/dist/VideoPublish/video-topic/add.less +3 -0
- package/dist/VideoPublish/video-topic/index.d.ts +8 -0
- package/dist/VideoPublish/video-topic/index.js +301 -0
- package/dist/VideoPublish/video-topic/index.less +37 -0
- package/dist/VideoPublish/video-topic/select.d.ts +11 -0
- package/dist/VideoPublish/video-topic/select.js +172 -0
- package/dist/VideoPublish/video-topic/select.less +3 -0
- package/dist/VipCompare/commend.css.js +6 -0
- package/dist/VipCompare/commend.js +28 -0
- package/dist/VipCompare/index.css.js +6 -0
- package/dist/VipCompare/index.d.ts +8 -0
- package/dist/VipCompare/index.js +325 -0
- package/dist/VipList/index.css.js +6 -0
- package/dist/VipList/index.d.ts +15 -0
- package/dist/VipList/index.js +397 -0
- package/dist/active-code/index.d.ts +7 -0
- package/dist/active-code/index.js +78 -0
- package/dist/active-code/user-vip.d.ts +3 -0
- package/dist/active-code/user-vip.js +84 -0
- package/dist/active-code/user-vip.less +3 -0
- package/dist/asset/image/platform/bilibili.png +0 -0
- package/dist/asset/image/platform/buyin.png +0 -0
- package/dist/asset/image/platform/douyin.png +0 -0
- package/dist/asset/image/platform/douyu.png +0 -0
- package/dist/asset/image/platform/huya.png +0 -0
- package/dist/asset/image/platform/kuaishou.png +0 -0
- package/dist/asset/image/platform/tiktok.png +0 -0
- package/dist/asset/image/platform/youtube.png +0 -0
- package/dist/base/DealerUrlDict.js +7 -0
- package/dist/base/fileList.d.ts +2 -0
- package/dist/base/fileList.js +61 -0
- package/dist/base/fileListContent.d.ts +2 -0
- package/dist/base/fileListContent.js +61 -0
- package/dist/base/fileSelect.d.ts +2 -0
- package/dist/base/fileSelect.js +54 -0
- package/dist/base/folderCreate.d.ts +2 -0
- package/dist/base/folderCreate.js +56 -0
- package/dist/base/folderOpen.d.ts +2 -0
- package/dist/base/folderOpen.js +54 -0
- package/dist/base/folderSelect.d.ts +2 -0
- package/dist/base/folderSelect.js +54 -0
- package/dist/base/index.js +57 -0
- package/dist/base/openInFolder.d.ts +2 -0
- package/dist/base/openInFolder.js +54 -0
- package/dist/base/soundInfo.d.ts +8 -0
- package/dist/base/soundInfo.js +55 -0
- package/dist/component/AccountBan/index.js +10 -0
- package/dist/component/AccountBan/index.less +12 -0
- package/dist/component/file-select.d.ts +18 -0
- package/dist/component/file-select.js +163 -0
- package/dist/component/file-select.less +24 -0
- package/dist/component/folder-select.d.ts +19 -0
- package/dist/component/folder-select.js +224 -0
- package/dist/component/folder-select.less +22 -0
- package/dist/component/is-installed-chrome.d.ts +2 -0
- package/dist/component/is-installed-chrome.js +7 -0
- package/dist/component/isFileExist.js +50 -0
- package/dist/component/markdown/github-markdown-light.less +1102 -0
- package/dist/component/markdown/index.d.ts +8 -0
- package/dist/component/markdown/index.js +69 -0
- package/dist/component/markdown/index.less +55 -0
- package/dist/component/media-kind.js +24 -0
- package/dist/component/media-show/index.js +59 -0
- package/dist/component/media-show/index.less +0 -0
- package/dist/component/media-show/render.js +112 -0
- package/dist/component/media-show/render.less +54 -0
- package/dist/component/param.js +9 -0
- package/dist/component/product-dict.js +11 -0
- package/dist/component/product-type.js +20 -0
- package/dist/component/sse.js +66 -0
- package/dist/component/video-platform/logo.js +61 -0
- package/dist/component/video-platform/logo.less +49 -0
- package/dist/component/videoKindTag/index.js +44 -0
- package/dist/component/websocket/index.js +139 -0
- package/dist/config/apiUrls.js +25 -0
- package/dist/global.less +34 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +35 -0
- package/dist/lib/Tool.js +1175 -0
- package/dist/lib/accountManageSettingConfig.js +24 -0
- package/dist/lib/allow-mine-type.js +19 -0
- package/dist/lib/call-mini-url.js +8 -0
- package/dist/lib/component/getImageUrl.js +9 -0
- package/dist/lib/component/getSoundUrl.js +9 -0
- package/dist/lib/component/getVideoUrl.js +9 -0
- package/dist/lib/event.js +59 -0
- package/dist/lib/file-type.js +156 -0
- package/dist/lib/fs.d.ts +14 -0
- package/dist/lib/fs.js +480 -0
- package/dist/lib/getApiUrl.js +80 -0
- package/dist/lib/getFileExt.js +6 -0
- package/dist/lib/getLocalUserInfo.js +19 -0
- package/dist/lib/getPublishExtensionDir.d.ts +2 -0
- package/dist/lib/getPublishExtensionDir.js +55 -0
- package/dist/lib/getWorkServerUploadToken.d.ts +8 -0
- package/dist/lib/getWorkServerUploadToken.js +12 -0
- package/dist/lib/goAuth.js +28 -0
- package/dist/lib/isInClient.js +5 -0
- package/dist/lib/js-error.js +30 -0
- package/dist/lib/math.js +146 -0
- package/dist/lib/moneySimple.js +27 -0
- package/dist/lib/notification.js +43 -0
- package/dist/lib/openChrome.d.ts +2 -0
- package/dist/lib/openChrome.js +257 -0
- package/dist/lib/platform.js +57 -0
- package/dist/lib/postMessage.js +8 -0
- package/dist/lib/request.js +145 -0
- package/dist/lib/save-path.d.ts +17 -0
- package/dist/lib/save-path.js +177 -0
- package/dist/lib/save-path.less +21 -0
- package/dist/lib/saveSid.d.ts +2 -0
- package/dist/lib/saveSid.js +64 -0
- package/dist/lib/sleep.js +23 -0
- package/dist/lib/store.js +36 -0
- package/dist/lib/toast.js +8 -0
- package/dist/lib/toastError.js +8 -0
- package/dist/lib/updateUserInfo.js +40 -0
- package/dist/lib/user-agent.d.ts +2 -0
- package/dist/lib/user-agent.js +10 -0
- package/dist/lib/video-api/open-chrome.js +51 -0
- package/dist/lib/video-api/quit-chrome.d.ts +2 -0
- package/dist/lib/video-api/quit-chrome.js +51 -0
- package/dist/renewal-vip/index.d.ts +2 -0
- package/dist/renewal-vip/index.js +77 -0
- package/dist/service/api/ActiveAccountModeSettingController.d.ts +2 -0
- package/dist/service/api/ActiveAccountModeSettingController.js +53 -0
- package/dist/service/api/AdController.d.ts +6 -0
- package/dist/service/api/AdController.js +27 -0
- package/dist/service/api/AuthController.js +77 -0
- package/dist/service/api/ClientVersionController.js +27 -0
- package/dist/service/api/JsErrorController.js +27 -0
- package/dist/service/api/ProductController.js +77 -0
- package/dist/service/api/PublishTaskPlanStatisticController.d.ts +1 -0
- package/dist/service/api/PublishTaskPlanStatisticController.js +28 -0
- package/dist/service/api/SubClientController.d.ts +7 -0
- package/dist/service/api/SubClientController.js +48 -0
- package/dist/service/api/TradeController.js +52 -0
- package/dist/service/api/UserController.js +52 -0
- package/dist/service/api/UserVipController.js +27 -0
- package/dist/service/api/VideoPublishController.js +110 -0
- package/dist/service/api/VideoPublishCrawlerTaskController.d.ts +2 -0
- package/dist/service/api/VideoPublishCrawlerTaskController.js +51 -0
- package/dist/service/api/VideoPublishStatisticOperationController.d.ts +12 -0
- package/dist/service/api/VideoPublishStatisticOperationController.js +51 -0
- package/dist/service/api/VideoPublishStatisticPublishController.js +28 -0
- package/dist/service/api/VideoPublishTaskController.js +29 -0
- package/dist/service/api/VideoPublishTaskPlanController.d.ts +13 -0
- package/dist/service/api/VideoPublishTaskPlanController.js +74 -0
- package/dist/service/api/VideoPublishVideoAccountController.d.ts +17 -0
- package/dist/service/api/VideoPublishVideoAccountController.js +237 -0
- package/dist/service/api/VideoPublishVideoAccountGroupController.d.ts +8 -0
- package/dist/service/api/VideoPublishVideoAccountGroupController.js +105 -0
- package/dist/service/api/VideoPublishVideoAccountProxyController.d.ts +11 -0
- package/dist/service/api/VideoPublishVideoAccountProxyController.js +105 -0
- package/dist/service/api/VideoPublishVideoTopicController.d.ts +5 -0
- package/dist/service/api/VideoPublishVideoTopicController.js +80 -0
- package/dist/service/api/VideoPublishVideoTopicGroupController.d.ts +5 -0
- package/dist/service/api/VideoPublishVideoTopicGroupController.js +80 -0
- package/dist/service/api/VideoStudyController.d.ts +1 -0
- package/dist/service/api/VideoStudyController.js +29 -0
- package/dist/service/api/VipCardController.js +115 -0
- package/dist/service/api/VipController.js +50 -0
- package/dist/service/api/VipPowerController.js +27 -0
- package/dist/service/api/WechatController.js +50 -0
- package/dist/service/api/WorkServerController.js +27 -0
- package/dist/service/local/FileController.d.ts +35 -0
- package/dist/service/local/FileController.js +249 -0
- package/dist/service/local/LocalServerController.d.ts +1 -0
- package/dist/service/local/LocalServerController.js +32 -0
- package/dist/service/local/VideoPublishTaskController.d.ts +1 -0
- package/dist/service/local/VideoPublishTaskController.js +32 -0
- package/dist/service/typing.d.ts +14 -0
- package/dist/service/video-api/BaseController.js +27 -0
- package/dist/service/video-api/FileController.js +50 -0
- package/dist/service/video-api/SidController.js +27 -0
- package/dist/service/video-api/VideoApiOpenChromeController.js +50 -0
- package/dist/types/ApiLocal.js +0 -0
- package/dist/types/AutoMakeTaskSetting.js +0 -0
- package/dist/types/ChromeOperate.js +0 -0
- package/dist/types/ClientUpdate.js +0 -0
- package/dist/types/ClientVersion.js +0 -0
- package/dist/types/File.js +0 -0
- package/dist/types/LocalServer.js +0 -0
- package/dist/types/PublishNpm.js +0 -0
- package/dist/types/PublishTaskPlan.js +0 -0
- package/dist/types/PublishTaskPlanStatistic.js +0 -0
- package/dist/types/PublishVideo.js +0 -0
- package/dist/types/Site.js +0 -0
- package/dist/types/User.d.ts +84 -0
- package/dist/types/VideoPublish.js +0 -0
- package/dist/types/VideoPublishLog.js +0 -0
- package/dist/types/VideoPublishStatistic.js +0 -0
- package/dist/types/VideoPublishStatisticOperation.js +0 -0
- package/dist/types/VideoPublishTaskPlan.js +0 -0
- package/dist/types/VideoPublishVideoAccount.js +0 -0
- package/dist/types/VideoPublishVideoAccountGroup.js +0 -0
- package/dist/types/VideoPublishVideoAccountProxy.js +0 -0
- package/dist/types/VideoPublishVideoTopic.js +0 -0
- package/dist/types/VideoPublishVideoTopicGroup.js +0 -0
- package/dist/types/VideoStudy.js +0 -0
- package/dist/types/VidepApiBase.js +0 -0
- package/dist/types/VipCard.js +0 -0
- package/dist/types/VipList.js +0 -0
- package/dist/types/VipPower.js +0 -0
- package/dist/types/WorkServer.js +0 -0
- package/dist/typings/Ad.js +0 -0
- package/dist/typings/LocalFile.js +0 -0
- package/dist/typings/Product.js +0 -0
- package/dist/typings/SubClient.js +0 -0
- package/dist/typings/Trade.js +0 -0
- package/dist/typings/User.js +0 -0
- package/dist/typings/VideoPublishAccountManageSetting.js +0 -0
- package/dist/typings/VideoPublishVideoAccount.js +0 -0
- package/dist/typings/Vip.js +0 -0
- package/dist/typings/Wechat.js +0 -0
- package/dist/typings.d.ts +86 -0
- package/dist/video-study/index.d.ts +11 -0
- package/dist/video-study/index.js +71 -0
- package/dist/video-study/index.less +16 -0
- package/dist/window.d.ts +33 -0
- package/package.json +92 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var fileListContent = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(fileDir) {
|
|
6
|
+
var extName,
|
|
7
|
+
maxCount,
|
|
8
|
+
_args2 = arguments;
|
|
9
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
10
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
11
|
+
case 0:
|
|
12
|
+
extName = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : [];
|
|
13
|
+
maxCount = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : 100;
|
|
14
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
15
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
16
|
+
var openResult;
|
|
17
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18
|
+
while (1) switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
_context.next = 2;
|
|
21
|
+
return LocalFileController.fileListContent({
|
|
22
|
+
fileDir: fileDir,
|
|
23
|
+
extName: extName,
|
|
24
|
+
maxCount: maxCount
|
|
25
|
+
}, {
|
|
26
|
+
silent: true
|
|
27
|
+
}).catch(function (err) {
|
|
28
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
29
|
+
return reject(err);
|
|
30
|
+
}
|
|
31
|
+
console.log('open In Folder err:', err);
|
|
32
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
33
|
+
err.message = "\u9009\u53D6\u6587\u4EF6\u5185\u5BB9\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message, "\uFF01 \u6587\u4EF6\u5939\u5730\u5740\uFF1A ").concat(fileDir);
|
|
34
|
+
reject(err);
|
|
35
|
+
});
|
|
36
|
+
case 2:
|
|
37
|
+
openResult = _context.sent;
|
|
38
|
+
if (openResult) {
|
|
39
|
+
resolve(openResult || []);
|
|
40
|
+
}
|
|
41
|
+
case 4:
|
|
42
|
+
case "end":
|
|
43
|
+
return _context.stop();
|
|
44
|
+
}
|
|
45
|
+
}, _callee);
|
|
46
|
+
}));
|
|
47
|
+
return function (_x2, _x3) {
|
|
48
|
+
return _ref2.apply(this, arguments);
|
|
49
|
+
};
|
|
50
|
+
}()));
|
|
51
|
+
case 3:
|
|
52
|
+
case "end":
|
|
53
|
+
return _context2.stop();
|
|
54
|
+
}
|
|
55
|
+
}, _callee2);
|
|
56
|
+
}));
|
|
57
|
+
return function fileListContent(_x) {
|
|
58
|
+
return _ref.apply(this, arguments);
|
|
59
|
+
};
|
|
60
|
+
}();
|
|
61
|
+
export default fileListContent;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var fileSelect = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(fileType) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.fileSelect({
|
|
17
|
+
fileType: fileType
|
|
18
|
+
}, {
|
|
19
|
+
silent: true
|
|
20
|
+
}).catch(function (err) {
|
|
21
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
22
|
+
return reject(err);
|
|
23
|
+
}
|
|
24
|
+
console.log('open In Folder err:', err);
|
|
25
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
26
|
+
err.message = "\u9009\u53D6\u6587\u4EF6\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message);
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
case 2:
|
|
30
|
+
openResult = _context.sent;
|
|
31
|
+
if (openResult) {
|
|
32
|
+
resolve(openResult);
|
|
33
|
+
}
|
|
34
|
+
case 4:
|
|
35
|
+
case "end":
|
|
36
|
+
return _context.stop();
|
|
37
|
+
}
|
|
38
|
+
}, _callee);
|
|
39
|
+
}));
|
|
40
|
+
return function (_x2, _x3) {
|
|
41
|
+
return _ref2.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
}()));
|
|
44
|
+
case 1:
|
|
45
|
+
case "end":
|
|
46
|
+
return _context2.stop();
|
|
47
|
+
}
|
|
48
|
+
}, _callee2);
|
|
49
|
+
}));
|
|
50
|
+
return function fileSelect(_x) {
|
|
51
|
+
return _ref.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
}();
|
|
54
|
+
export default fileSelect;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var folderCreate = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(folderPath) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.folderCreate({
|
|
17
|
+
folderPath: folderPath
|
|
18
|
+
}, {
|
|
19
|
+
silent: true
|
|
20
|
+
}).catch(function (err) {
|
|
21
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
22
|
+
return reject(err);
|
|
23
|
+
}
|
|
24
|
+
console.log('create In Folder err:', err);
|
|
25
|
+
console.log('create In Folder err 2:', JSON.stringify(err));
|
|
26
|
+
err.message = "\u521B\u5EFA\u6587\u4EF6\u5939\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message);
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
case 2:
|
|
30
|
+
openResult = _context.sent;
|
|
31
|
+
if (openResult) {
|
|
32
|
+
resolve({
|
|
33
|
+
folderPath: folderPath
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
case 4:
|
|
37
|
+
case "end":
|
|
38
|
+
return _context.stop();
|
|
39
|
+
}
|
|
40
|
+
}, _callee);
|
|
41
|
+
}));
|
|
42
|
+
return function (_x2, _x3) {
|
|
43
|
+
return _ref2.apply(this, arguments);
|
|
44
|
+
};
|
|
45
|
+
}()));
|
|
46
|
+
case 1:
|
|
47
|
+
case "end":
|
|
48
|
+
return _context2.stop();
|
|
49
|
+
}
|
|
50
|
+
}, _callee2);
|
|
51
|
+
}));
|
|
52
|
+
return function folderCreate(_x) {
|
|
53
|
+
return _ref.apply(this, arguments);
|
|
54
|
+
};
|
|
55
|
+
}();
|
|
56
|
+
export default folderCreate;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var folderOpen = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(folderPath) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.folderOpen({
|
|
17
|
+
folderPath: folderPath
|
|
18
|
+
}, {
|
|
19
|
+
silent: true
|
|
20
|
+
}).catch(function (err) {
|
|
21
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
22
|
+
return reject(err);
|
|
23
|
+
}
|
|
24
|
+
console.log('open In Folder err:', err);
|
|
25
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
26
|
+
err.message = "\u9009\u53D6\u6587\u4EF6\u5939\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message, "\uFF01 \u6587\u4EF6\u5939\u5730\u5740\uFF1A ").concat(folderPath);
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
case 2:
|
|
30
|
+
openResult = _context.sent;
|
|
31
|
+
if (openResult) {
|
|
32
|
+
resolve(openResult);
|
|
33
|
+
}
|
|
34
|
+
case 4:
|
|
35
|
+
case "end":
|
|
36
|
+
return _context.stop();
|
|
37
|
+
}
|
|
38
|
+
}, _callee);
|
|
39
|
+
}));
|
|
40
|
+
return function (_x2, _x3) {
|
|
41
|
+
return _ref2.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
}()));
|
|
44
|
+
case 1:
|
|
45
|
+
case "end":
|
|
46
|
+
return _context2.stop();
|
|
47
|
+
}
|
|
48
|
+
}, _callee2);
|
|
49
|
+
}));
|
|
50
|
+
return function folderOpen(_x) {
|
|
51
|
+
return _ref.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
}();
|
|
54
|
+
export default folderOpen;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var folderSelect = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(defaultPath) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.folderSelect({
|
|
17
|
+
defaultPath: defaultPath
|
|
18
|
+
}, {
|
|
19
|
+
silent: true
|
|
20
|
+
}).catch(function (err) {
|
|
21
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
22
|
+
return reject(err);
|
|
23
|
+
}
|
|
24
|
+
console.log('open In Folder err:', err);
|
|
25
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
26
|
+
err.message = "\u9009\u53D6\u6587\u4EF6\u5939\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message);
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
case 2:
|
|
30
|
+
openResult = _context.sent;
|
|
31
|
+
if (openResult) {
|
|
32
|
+
resolve(openResult);
|
|
33
|
+
}
|
|
34
|
+
case 4:
|
|
35
|
+
case "end":
|
|
36
|
+
return _context.stop();
|
|
37
|
+
}
|
|
38
|
+
}, _callee);
|
|
39
|
+
}));
|
|
40
|
+
return function (_x2, _x3) {
|
|
41
|
+
return _ref2.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
}()));
|
|
44
|
+
case 1:
|
|
45
|
+
case "end":
|
|
46
|
+
return _context2.stop();
|
|
47
|
+
}
|
|
48
|
+
}, _callee2);
|
|
49
|
+
}));
|
|
50
|
+
return function folderSelect(_x) {
|
|
51
|
+
return _ref.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
}();
|
|
54
|
+
export default folderSelect;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import fileSelect from "./fileSelect";
|
|
2
|
+
import folderOpen from "./folderOpen";
|
|
3
|
+
import folderSelect from "./folderSelect";
|
|
4
|
+
import openInFolder from "./openInFolder";
|
|
5
|
+
import { Button, Space } from "antd";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
var Base = function Base() {
|
|
9
|
+
var onFileSelect = function onFileSelect() {
|
|
10
|
+
fileSelect('').catch(function (err) {
|
|
11
|
+
console.log('onFileSelect:', err.name, err.message);
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var onFolderOpen = function onFolderOpen() {
|
|
15
|
+
folderOpen('').catch(function (err) {
|
|
16
|
+
console.log('on folderOpen:', err.name, err.message);
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var onFolderSelect = function onFolderSelect() {
|
|
20
|
+
folderSelect('').catch(function (err) {
|
|
21
|
+
console.log('on folderSelect:', err.name, err.message);
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var onOpenInFolder = function onOpenInFolder() {
|
|
25
|
+
openInFolder('').catch(function (err) {
|
|
26
|
+
console.log('on openInFolder:', err.name, err.message);
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
return /*#__PURE__*/_jsxs(Space, {
|
|
30
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
31
|
+
type: "primary",
|
|
32
|
+
onClick: function onClick() {
|
|
33
|
+
return onFileSelect();
|
|
34
|
+
},
|
|
35
|
+
children: "fileSelect"
|
|
36
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
37
|
+
type: "primary",
|
|
38
|
+
onClick: function onClick() {
|
|
39
|
+
return onFolderOpen();
|
|
40
|
+
},
|
|
41
|
+
children: "folderOpen"
|
|
42
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
43
|
+
type: "primary",
|
|
44
|
+
onClick: function onClick() {
|
|
45
|
+
return onFolderSelect();
|
|
46
|
+
},
|
|
47
|
+
children: "folderSelect"
|
|
48
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
49
|
+
type: "primary",
|
|
50
|
+
onClick: function onClick() {
|
|
51
|
+
return onOpenInFolder();
|
|
52
|
+
},
|
|
53
|
+
children: "openInFolder"
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
export default Base;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var openInFolder = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(filePath) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.openInFolder({
|
|
17
|
+
filePath: filePath
|
|
18
|
+
}, {
|
|
19
|
+
silent: true
|
|
20
|
+
}).catch(function (err) {
|
|
21
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
22
|
+
return reject(err);
|
|
23
|
+
}
|
|
24
|
+
console.log('open In Folder err:', err);
|
|
25
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
26
|
+
err.message = "\u6253\u5F00\u6587\u4EF6\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message, "\uFF01 \u6587\u4EF6\u5730\u5740\uFF1A ").concat(filePath);
|
|
27
|
+
reject(err);
|
|
28
|
+
});
|
|
29
|
+
case 2:
|
|
30
|
+
openResult = _context.sent;
|
|
31
|
+
if (openResult) {
|
|
32
|
+
resolve(openResult);
|
|
33
|
+
}
|
|
34
|
+
case 4:
|
|
35
|
+
case "end":
|
|
36
|
+
return _context.stop();
|
|
37
|
+
}
|
|
38
|
+
}, _callee);
|
|
39
|
+
}));
|
|
40
|
+
return function (_x2, _x3) {
|
|
41
|
+
return _ref2.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
}()));
|
|
44
|
+
case 1:
|
|
45
|
+
case "end":
|
|
46
|
+
return _context2.stop();
|
|
47
|
+
}
|
|
48
|
+
}, _callee2);
|
|
49
|
+
}));
|
|
50
|
+
return function openInFolder(_x) {
|
|
51
|
+
return _ref.apply(this, arguments);
|
|
52
|
+
};
|
|
53
|
+
}();
|
|
54
|
+
export default openInFolder;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
+
import * as LocalFileController from "../service/local/FileController";
|
|
4
|
+
var soundInfo = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(filePath, isShowCover) {
|
|
6
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
8
|
+
case 0:
|
|
9
|
+
return _context2.abrupt("return", new Promise( /*#__PURE__*/function () {
|
|
10
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
11
|
+
var openResult;
|
|
12
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14
|
+
case 0:
|
|
15
|
+
_context.next = 2;
|
|
16
|
+
return LocalFileController.soundInfo({
|
|
17
|
+
filePath: filePath,
|
|
18
|
+
isShowCover: isShowCover
|
|
19
|
+
}, {
|
|
20
|
+
silent: true
|
|
21
|
+
}).catch(function (err) {
|
|
22
|
+
if ((err === null || err === void 0 ? void 0 : err.name) === "shipinlv-client-not-run") {
|
|
23
|
+
return reject(err);
|
|
24
|
+
}
|
|
25
|
+
console.log('open In Folder err:', err);
|
|
26
|
+
console.log('open In Folder err 2:', JSON.stringify(err));
|
|
27
|
+
err.message = "\u83B7\u53D6\u58F0\u97F3\u6587\u4EF6\u5931\u8D25\uFF1A".concat(err === null || err === void 0 ? void 0 : err.message, "\uFF01 \u6587\u4EF6\u5939\u5730\u5740\uFF1A ").concat(filePath);
|
|
28
|
+
reject(err);
|
|
29
|
+
});
|
|
30
|
+
case 2:
|
|
31
|
+
openResult = _context.sent;
|
|
32
|
+
if (openResult) {
|
|
33
|
+
resolve(openResult);
|
|
34
|
+
}
|
|
35
|
+
case 4:
|
|
36
|
+
case "end":
|
|
37
|
+
return _context.stop();
|
|
38
|
+
}
|
|
39
|
+
}, _callee);
|
|
40
|
+
}));
|
|
41
|
+
return function (_x3, _x4) {
|
|
42
|
+
return _ref2.apply(this, arguments);
|
|
43
|
+
};
|
|
44
|
+
}()));
|
|
45
|
+
case 1:
|
|
46
|
+
case "end":
|
|
47
|
+
return _context2.stop();
|
|
48
|
+
}
|
|
49
|
+
}, _callee2);
|
|
50
|
+
}));
|
|
51
|
+
return function soundInfo(_x, _x2) {
|
|
52
|
+
return _ref.apply(this, arguments);
|
|
53
|
+
};
|
|
54
|
+
}();
|
|
55
|
+
export default soundInfo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
var AccountBan = function AccountBan(_ref) {
|
|
4
|
+
var isBan = _ref.isBan;
|
|
5
|
+
return isBan ? /*#__PURE__*/_jsx("span", {
|
|
6
|
+
className: "account-ban",
|
|
7
|
+
children: "\u88AB\u7981"
|
|
8
|
+
}) : null;
|
|
9
|
+
};
|
|
10
|
+
export default AccountBan;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./file-select.less";
|
|
3
|
+
import { SizeType } from "antd/es/config-provider/SizeContext";
|
|
4
|
+
interface Props {
|
|
5
|
+
defaultPath?: string;
|
|
6
|
+
path?: string;
|
|
7
|
+
allowClear?: boolean;
|
|
8
|
+
size?: SizeType;
|
|
9
|
+
extName: string;
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
onBeforeSelect?: () => Promise<boolean>;
|
|
14
|
+
disabledChangeFile?: boolean;
|
|
15
|
+
onFinish: (dir: string) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const FileSelect: React.FC<Props>;
|
|
18
|
+
export default FileSelect;
|